/**
 * FCE UNAJMA Main CSS Stylesheet
 */

/* 1. Global Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-family: var(--fce-font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--fce-text);
    background-color: var(--fce-light);
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--fce-font-heading);
    color: var(--fce-dark);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }
a { color: var(--fce-primary); text-decoration: none; transition: var(--fce-transition); }
a:hover { color: var(--fce-secondary); }
img { max-width: 100%; height: auto; display: block; object-fit: cover; }

/* Skip Link Accessibility */
.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    background: var(--fce-gold);
    color: #fff;
    padding: 0.75rem 1.25rem;
    font-weight: 600;
    z-index: 9999;
    border-radius: var(--fce-radius-sm);
    transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }

/* Layout Containers */
.fce-container {
    width: 100%;
    max-width: var(--fce-container-max);
    margin: 0 auto;
    padding-left: var(--fce-container-pad);
    padding-right: var(--fce-container-pad);
}

.fce-section {
    padding: 4.5rem 0;
    position: relative;
}

.fce-section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3.5rem auto;
}

.fce-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--fce-radius-full);
    background: rgba(153, 27, 27, 0.1);
    color: var(--fce-primary);
    margin-bottom: 0.75rem;
}

/* Buttons */
.fce-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.75rem;
    font-family: var(--fce-font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--fce-radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--fce-transition);
    box-shadow: var(--fce-shadow-sm);
}

.fce-btn-primary {
    background: var(--fce-primary);
    color: #FFFFFF !important;
}
.fce-btn-primary:hover {
    background: var(--fce-primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--fce-shadow-md);
}

.fce-btn-gold {
    background: var(--fce-gold);
    color: #FFFFFF !important;
}
.fce-btn-gold:hover {
    background: var(--fce-gold-hover);
    transform: translateY(-2px);
    box-shadow: var(--fce-shadow-md);
}

.fce-btn-outline {
    background: transparent;
    border-color: var(--fce-primary);
    color: var(--fce-primary);
}
.fce-btn-outline:hover {
    background: var(--fce-primary);
    color: #FFFFFF;
}

.fce-btn-outline-white {
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid #FFFFFF;
    color: #FFFFFF !important;
    backdrop-filter: blur(4px);
    transition: var(--fce-transition);
}
.fce-btn-outline-white:hover {
    background: #FFFFFF;
    color: var(--fce-primary) !important;
    border-color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* 2. Topbar Header */
.fce-topbar {
    background: var(--fce-primary);
    color: #FFFFFF;
    font-size: 0.85rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.fce-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.fce-topbar-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: 0.8rem;
}

.fce-topbar-info-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: rgba(255, 255, 255, 0.9);
}

.fce-topbar-info-item svg {
    flex-shrink: 0;
    opacity: 0.85;
}

.fce-topbar-info-item a {
    color: rgba(255, 255, 255, 0.9);
    transition: var(--fce-transition);
}

.fce-topbar-info-item a:hover {
    color: var(--fce-gold);
}

.fce-topbar-divider {
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
}

.fce-topbar-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    list-style: none;
}

.fce-topbar-links a {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}
.fce-topbar-links a:hover {
    color: var(--fce-gold);
}

/* Main Header */
.fce-header {
    background: var(--fce-surface);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--fce-shadow-sm);
    transition: var(--fce-transition);
}

.fce-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0;
}

.fce-branding {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.fce-branding img {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.fce-branding-titles {
    border-left: 2px solid var(--fce-border);
    padding-left: 1rem;
}

.fce-univ-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--fce-muted);
    font-weight: 600;
}

.fce-facultad-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--fce-primary);
    line-height: 1.1;
}

/* Nav Menu Base */
.fce-nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
}

.fce-nav-menu li {
    position: relative;
}

.fce-nav-menu a {
    display: block;
    padding: 0.6rem 1.1rem;
    font-family: var(--fce-font-heading);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--fce-dark);
    border-radius: var(--fce-radius-md);
    transition: var(--fce-transition);
}

.fce-nav-menu a:hover {
    color: var(--fce-primary);
    background: rgba(0, 69, 154, 0.06);
}

.fce-nav-menu li.current-menu-item > a,
.fce-nav-menu li.current_page_item > a {
    color: var(--fce-primary) !important;
    background: rgba(0, 69, 154, 0.12) !important;
    font-weight: 700;
}

/* Dropdowns */
.fce-nav-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 230px;
    background: var(--fce-surface);
    border-radius: var(--fce-radius-md);
    box-shadow: var(--fce-shadow-lg);
    border: 1px solid var(--fce-border);
    list-style: none;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--fce-transition);
    z-index: 100;
}

.sub-menu a {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Explicit Desktop Layout Rules (> 992px) */
@media (min-width: 993px) {
    .fce-mobile-toggle {
        display: none !important;
    }

    .fce-mobile-overlay {
        display: none !important;
    }

    .fce-mobile-drawer {
        position: static !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        box-shadow: none !important;
        display: flex !important;
        align-items: center !important;
        flex-direction: row !important;
        overflow: visible !important;
        z-index: auto !important;
    }

    .fce-mobile-drawer-header {
        display: none !important;
    }

    .fce-mobile-drawer-footer {
        display: none !important;
    }

    .fce-nav-menu {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 0.5rem !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: visible !important;
        background: transparent !important;
    }

    .fce-nav-menu a {
        border-bottom: none !important;
    }
}

.fce-mobile-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--fce-dark);
}

/* 3. 100VH Fullscreen Multimedia Hero Section */
.fce-hero-viewport {
    position: relative;
    min-height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #00459A;
    color: #FFFFFF;
    overflow: hidden;
}

@media (min-width: 993px) {
    .fce-hero-viewport {
        height: calc(100vh - 110px);
    }
}

.fce-hero-media {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.fce-hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.98) contrast(1.04);
}

.fce-hero-slider {
    position: absolute;
    inset: 0;
}

.fce-hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: fceHeroSliderAnim 18s infinite ease-in-out;
}

.fce-slide-1 {
    background-image: linear-gradient(rgba(0, 69, 154, 0.35), rgba(0, 37, 85, 0.60));
    animation-delay: 0s;
}
.fce-slide-2 {
    background-image: linear-gradient(rgba(0, 69, 154, 0.40), rgba(0, 37, 85, 0.65));
    animation-delay: 6s;
}
.fce-slide-3 {
    background-image: linear-gradient(rgba(0, 69, 154, 0.30), rgba(0, 37, 85, 0.50));
    animation-delay: 12s;
}

@keyframes fceHeroSliderAnim {
    0% { opacity: 0; transform: scale(1); }
    10% { opacity: 1; transform: scale(1.03); }
    33% { opacity: 1; transform: scale(1.06); }
    43% { opacity: 0; transform: scale(1.08); }
    100% { opacity: 0; }
}

.fce-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 32, 78, 0.72) 0%, rgba(0, 45, 100, 0.38) 55%, rgba(0, 20, 50, 0.48) 100%);
    z-index: 2;
}

.fce-hero-container {
    position: relative;
    z-index: 5;
    padding-top: 3.5rem;
    padding-bottom: 2rem;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.fce-hero-content {
    max-width: 860px;
}

.fce-hero-subtitle {
    display: inline-block;
    color: #EF7D00;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.fce-hero-title {
    color: #FFFFFF;
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -0.5px;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.55);
}

.fce-hero-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.25rem;
    max-width: 720px;
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.fce-hero-actions {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

/* 4. Quick Access Cards Overlap */
.fce-quick-access-wrapper {
    position: relative;
    z-index: 10;
    padding-bottom: 1.75rem;
}

.fce-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.fce-quick-card {
    background: #FFFFFF;
    padding: 1.35rem 1.25rem;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--fce-transition);
}

.fce-quick-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 69, 154, 0.2);
    border-color: #EF7D00;
}

.fce-quick-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(239, 125, 0, 0.1);
    color: #EF7D00;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.fce-quick-title {
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 0.25rem 0;
    color: #1E1E1E;
}

.fce-quick-sub {
    font-size: 0.8rem;
    color: #64748B;
}

/* 5. Escuelas Profesionales Cards */
.fce-schools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

/* Base 6-column container on desktop */
@media (min-width: 992px) {
    .fce-schools-grid {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 2rem;
    }

    /* SI HAY 5 ESCUELAS: 2 ARRIBA (span 3), 3 ABAJO (span 2) */
    .fce-schools-count-5 > .fce-school-card:nth-child(1),
    .fce-schools-count-5 > .fce-school-card:nth-child(2),
    .fce-schools-grid[data-count="5"] > .fce-school-card:nth-child(1),
    .fce-schools-grid[data-count="5"] > .fce-school-card:nth-child(2),
    .fce-schools-grid:has(> .fce-school-card:nth-child(5)):not(:has(> .fce-school-card:nth-child(6))) > .fce-school-card:nth-child(1),
    .fce-schools-grid:has(> .fce-school-card:nth-child(5)):not(:has(> .fce-school-card:nth-child(6))) > .fce-school-card:nth-child(2) {
        grid-column: span 3;
    }

    .fce-schools-count-5 > .fce-school-card:nth-child(3),
    .fce-schools-count-5 > .fce-school-card:nth-child(4),
    .fce-schools-count-5 > .fce-school-card:nth-child(5),
    .fce-schools-grid[data-count="5"] > .fce-school-card:nth-child(3),
    .fce-schools-grid[data-count="5"] > .fce-school-card:nth-child(4),
    .fce-schools-grid[data-count="5"] > .fce-school-card:nth-child(5),
    .fce-schools-grid:has(> .fce-school-card:nth-child(5)):not(:has(> .fce-school-card:nth-child(6))) > .fce-school-card:nth-child(3),
    .fce-schools-grid:has(> .fce-school-card:nth-child(5)):not(:has(> .fce-school-card:nth-child(6))) > .fce-school-card:nth-child(4),
    .fce-schools-grid:has(> .fce-school-card:nth-child(5)):not(:has(> .fce-school-card:nth-child(6))) > .fce-school-card:nth-child(5) {
        grid-column: span 2;
    }

    /* SI HAY 6 ESCUELAS: 3 ARRIBA (span 2), 3 ABAJO (span 2) */
    .fce-schools-count-6 > .fce-school-card,
    .fce-schools-grid[data-count="6"] > .fce-school-card,
    .fce-schools-grid:has(> .fce-school-card:nth-child(6)):not(:has(> .fce-school-card:nth-child(7))) > .fce-school-card {
        grid-column: span 2;
    }

    /* SI HAY 7 ESCUELAS: 1 ARRIBA (span 4 centrado), 3 AL MEDIO (span 2), 3 ABAJO (span 2) */
    .fce-schools-count-7 > .fce-school-card:nth-child(1),
    .fce-schools-grid[data-count="7"] > .fce-school-card:nth-child(1),
    .fce-schools-grid:has(> .fce-school-card:nth-child(7)):not(:has(> .fce-school-card:nth-child(8))) > .fce-school-card:nth-child(1) {
        grid-column: 2 / span 4;
    }

    .fce-schools-count-7 > .fce-school-card:nth-child(n+2),
    .fce-schools-grid[data-count="7"] > .fce-school-card:nth-child(n+2),
    .fce-schools-grid:has(> .fce-school-card:nth-child(7)):not(:has(> .fce-school-card:nth-child(8))) > .fce-school-card:nth-child(n+2) {
        grid-column: span 2;
    }
}

.fce-school-card {
    background: var(--fce-surface);
    border-radius: var(--fce-radius-lg);
    overflow: hidden;
    box-shadow: var(--fce-shadow-md);
    border: 1px solid var(--fce-border);
    transition: var(--fce-transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.fce-school-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--fce-shadow-lg);
}

.fce-school-thumb {
    height: 195px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.fce-school-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.fce-school-card:hover .fce-school-thumb img {
    transform: scale(1.06);
}

.fce-school-body {
    padding: 1.5rem;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.fce-school-sigla {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--fce-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.35rem;
}

.fce-school-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.75rem;
}

.fce-school-desc {
    color: var(--fce-muted);
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.2em;
}

.fce-school-tags {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
    font-size: 0.78rem;
    margin-top: auto;
}

.fce-school-tags span {
    background: rgba(0, 69, 154, 0.08);
    color: var(--fce-primary);
    padding: 0.25rem 0.55rem;
    border-radius: 4px;
    font-weight: 600;
}

.fce-school-btn {
    margin-top: auto;
}

/* 6. Counters Section */
.fce-stats-section {
    background: var(--fce-primary);
    color: #FFFFFF;
    padding: 4rem 0;
}

.fce-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    text-align: center;
}

.fce-stat-number {
    font-family: var(--fce-font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--fce-gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.fce-stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

/* 7. News & Events Module (Portal Style) */
.fce-news-events-section {
    background: #FFFFFF;
    padding: 5rem 0;
}

.fce-news-events-grid {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 3.5rem;
    align-items: start;
}

/* Headers de bloques */
.fce-block-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1.5px solid #E2E8F0;
    gap: 1rem;
}

.fce-block-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--fce-primary);
    background: rgba(0, 69, 154, 0.08);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 0.4rem;
}

.fce-badge-orange {
    color: #D97706;
    background: rgba(217, 119, 6, 0.1);
}

.fce-block-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: #002D62;
    margin: 0;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.fce-view-all-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--fce-primary);
    text-decoration: none;
    white-space: nowrap;
    padding: 0.45rem 1rem;
    border-radius: 8px;
    border: 1.5px solid var(--fce-primary);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.fce-view-all-link:hover {
    background: var(--fce-primary);
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 69, 154, 0.2);
}

/* Noticia Principal Destacada */
.fce-news-featured-card {
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 45, 98, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fce-news-featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 45, 98, 0.12);
}

.fce-news-featured-media {
    height: 280px;
    position: relative;
    overflow: hidden;
    background: #0F172A;
}

.fce-news-featured-media a {
    display: block;
    width: 100%;
    height: 100%;
}

.fce-news-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fce-news-featured-card:hover .fce-news-featured-img {
    transform: scale(1.05);
}

.fce-news-tag {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: linear-gradient(135deg, #EF7D00 0%, #D96B00 100%);
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.fce-news-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #002D62 0%, #00459A 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 1.25rem;
    font-weight: 700;
}

.fce-news-featured-body {
    padding: 2rem 2.25rem;
}

.fce-news-meta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-size: 0.82rem;
    color: #64748B;
    margin-bottom: 0.85rem;
}

.fce-news-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.fce-news-featured-title {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 0.85rem;
}

.fce-news-featured-title a {
    color: #0F172A;
    text-decoration: none;
    transition: color 0.2s ease;
}

.fce-news-featured-title a:hover {
    color: #00459A;
}

.fce-news-featured-excerpt {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.35rem;
}

.fce-read-more {
    font-size: 0.88rem;
    font-weight: 700;
    color: #00459A;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

.fce-read-more:hover {
    color: #EF7D00;
    transform: translateX(4px);
}

/* Sub-grid de Noticias Secundarias */
.fce-news-subgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.75rem;
}

.fce-news-subcard {
    background: #FFFFFF;
    border-radius: 14px;
    border: 1px solid #E2E8F0;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.fce-news-subcard:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 45, 98, 0.08);
}

.fce-news-subcard-media {
    height: 140px;
    position: relative;
    overflow: hidden;
    background: #1E293B;
}

.fce-news-subcard-media a {
    display: block;
    width: 100%;
    height: 100%;
}

.fce-news-sub-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.fce-news-subcard:hover .fce-news-sub-img {
    transform: scale(1.06);
}

.fce-news-subtag {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    color: #FFFFFF;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
}

.fce-news-sub-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0F172A, #1E293B);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 1rem;
}

.fce-news-subcard-body {
    padding: 1.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.fce-news-submeta {
    font-size: 0.75rem;
    color: #64748B;
    margin-bottom: 0.4rem;
}

.fce-news-subcard-title {
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.5rem;
}

.fce-news-subcard-title a {
    color: #0F172A;
    text-decoration: none;
    transition: color 0.2s ease;
}

.fce-news-subcard-title a:hover {
    color: #00459A;
}

.fce-news-subcard-excerpt {
    font-size: 0.82rem;
    color: #64748B;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Columna de Eventos */
.fce-events-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.fce-event-item {
    background: #FFFFFF;
    border-radius: 14px;
    border: 1px solid #E2E8F0;
    padding: 1.25rem 1.4rem;
    display: flex;
    gap: 1.25rem;
    align-items: center;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.fce-event-item:hover {
    border-color: #EF7D00;
    transform: translateX(4px);
    box-shadow: 0 8px 22px rgba(239, 125, 0, 0.12);
}

.fce-event-date-box {
    width: 64px;
    height: 70px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    border: 1px solid #E2E8F0;
}

.fce-event-month {
    background: linear-gradient(135deg, #EF7D00 0%, #D96B00 100%);
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 800;
    text-align: center;
    padding: 3px 0;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.fce-event-day {
    background: #FFFFFF;
    color: #002D62;
    font-size: 1.55rem;
    font-weight: 800;
    text-align: center;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.fce-event-info {
    flex-grow: 1;
}

.fce-event-top-meta {
    margin-bottom: 0.35rem;
}

.fce-event-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    color: #00459A;
    background: rgba(0, 69, 154, 0.08);
    padding: 0.15rem 0.55rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fce-event-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 0.4rem;
    line-height: 1.35;
}

.fce-event-title a {
    color: #0F172A;
    text-decoration: none;
    transition: color 0.2s ease;
}

.fce-event-title a:hover {
    color: #EF7D00;
}

.fce-event-details {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-size: 0.8rem;
    color: #64748B;
}

/* Banner de Agenda / Calendario CTA */
.fce-agenda-cta {
    background: linear-gradient(135deg, rgba(0, 69, 154, 0.04) 0%, rgba(239, 125, 0, 0.08) 100%);
    border: 1.5px dashed rgba(0, 69, 154, 0.25);
    border-radius: 14px;
    padding: 1.5rem;
    display: flex;
    gap: 1.25rem;
    align-items: center;
    margin-top: 1.25rem;
}

.fce-agenda-cta-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #00459A;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 69, 154, 0.25);
}

.fce-agenda-cta-content h4 {
    font-size: 1rem;
    font-weight: 800;
    color: #002D62;
    margin-bottom: 0.25rem;
}

.fce-agenda-cta-content p {
    font-size: 0.82rem;
    color: #64748B;
    margin-bottom: 0.6rem;
    line-height: 1.4;
}

.fce-agenda-cta-link {
    font-size: 0.82rem;
    font-weight: 700;
    color: #EF7D00;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: transform 0.2s ease;
}

.fce-agenda-cta-link:hover {
    transform: translateX(4px);
    text-decoration: underline;
}

@media (max-width: 992px) {
    .fce-news-events-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .fce-news-subgrid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .fce-news-subgrid {
        grid-template-columns: 1fr;
    }
    .fce-news-featured-media {
        height: 220px;
    }
    .fce-news-featured-body {
        padding: 1.5rem 1.25rem;
    }
    .fce-block-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    .fce-event-item {
        flex-direction: row;
        align-items: flex-start;
    }
    .fce-agenda-cta {
        flex-direction: column;
        text-align: center;
    }
}

/* 8. Footer Official UNAJMA Style */
.fce-footer {
    background: #00459A;
    color: #FFFFFF;
    padding-top: 4.5rem;
    margin-top: auto;
}

.fce-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

@media (max-width: 992px) {
    .fce-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 576px) {
    .fce-footer-grid {
        grid-template-columns: 1fr;
    }
}

.fce-footer-brand p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 1rem;
}

.fce-footer-title {
    color: #EF7D00;
    font-size: 1.15rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.25rem;
    position: relative;
}

.fce-footer-title::after {
    content: '';
    display: block;
    width: 36px;
    height: 3px;
    background: #EF7D00;
    margin-top: 0.4rem;
    border-radius: 2px;
}

.fce-footer-links {
    list-style: none;
}

.fce-footer-links li {
    margin-bottom: 0.75rem;
}

.fce-footer-links a {
    color: #FFFFFF;
    font-size: 0.92rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.fce-footer-links a:hover {
    color: #EF7D00;
}

.fce-footer-bottom {
    background: #1E1E1E;
    padding: 1.25rem 0;
    font-size: 0.85rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
}

/* 9. Authorities Cards & Tiered Leadership Layout */
.fce-decano-wrapper {
    margin-bottom: 4.5rem;
}

.fce-decano-card {
    background: #FFFFFF;
    border-radius: var(--fce-radius-xl, 20px);
    border: 1px solid #E2E8F0;
    box-shadow: 0 16px 40px -12px rgba(0, 45, 98, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    display: grid;
    grid-template-columns: 390px 1fr;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fce-decano-card:hover {
    box-shadow: 0 22px 50px -10px rgba(0, 45, 98, 0.16), 0 4px 10px rgba(0, 0, 0, 0.05);
}

.fce-decano-col-photo {
    background: linear-gradient(180deg, #F8FAFC 0%, #EEF2F6 100%);
    padding: 3rem 2.25rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    border-right: 1px solid #E2E8F0;
    position: relative;
}

/* Portrait Frame for Official Studio Portrait */
.fce-decano-portrait-frame {
    width: 100%;
    max-width: 290px;
    height: 380px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border: 4px solid #FFFFFF;
    box-shadow: 0 16px 36px -8px rgba(0, 45, 98, 0.22), 0 0 0 1px rgba(239, 125, 0, 0.3);
    margin-bottom: 1.5rem;
}

.fce-decano-portrait-frame img,
.fce-decano-portrait-frame .fce-decano-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 8%;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fce-decano-card:hover .fce-decano-portrait-frame img {
    transform: scale(1.04);
}

.fce-decano-portrait-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(15, 23, 42, 0.35) 100%);
    pointer-events: none;
}

.fce-decano-fallback-initials {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--fce-primary), #002D62);
    color: #FFFFFF;
}

.fce-decano-fallback-initials span {
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1;
}

.fce-decano-fallback-initials small {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.85;
}

/* Decano Profile Info */
.fce-decano-profile-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fce-decano-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #EF7D00 0%, #D96B00 100%);
    color: #FFFFFF;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.4rem 1.1rem;
    border-radius: 50px;
    margin-bottom: 0.85rem;
    box-shadow: 0 4px 12px rgba(239, 125, 0, 0.3);
}

.fce-decano-name {
    font-size: 1.38rem;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 0.35rem;
    line-height: 1.25;
}

.fce-decano-degree {
    font-size: 0.88rem;
    color: #64748B;
    line-height: 1.45;
    margin-bottom: 1.15rem;
    max-width: 320px;
}

.fce-decano-email {
    display: inline-flex;
    align-items: center;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--fce-primary);
    text-decoration: none;
    background: #FFFFFF;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid #CBD5E1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
}

.fce-decano-email:hover {
    background: var(--fce-primary);
    color: #FFFFFF;
    border-color: var(--fce-primary);
    box-shadow: 0 6px 16px rgba(0, 69, 154, 0.25);
    transform: translateY(-1px);
}

/* Decano Speech Column */
.fce-decano-col-speech {
    padding: 4rem 3.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    background: #FFFFFF;
}

.fce-decano-quote-icon {
    position: absolute;
    top: 1.5rem;
    right: 3rem;
    font-size: 6.5rem;
    line-height: 1;
    font-family: Georgia, 'Times New Roman', serif;
    color: rgba(239, 125, 0, 0.12);
    user-select: none;
    pointer-events: none;
}

.fce-decano-speech-header {
    margin-bottom: 1.75rem;
}

.fce-decano-speech-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #EF7D00;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.65rem;
}

.fce-speech-dot {
    width: 7px;
    height: 7px;
    background: #EF7D00;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px rgba(239, 125, 0, 0.6);
}

.fce-decano-speech-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: #002D62;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.fce-decano-title-accent {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #00459A, #EF7D00);
    border-radius: 2px;
}

.fce-decano-speech-text {
    color: #334155;
    font-size: 1.08rem;
    line-height: 1.85;
    margin-bottom: 2.25rem;
    position: relative;
}

.fce-decano-speech-text p {
    margin-bottom: 1rem;
}

.fce-decano-speech-text p:last-child {
    margin-bottom: 0;
}

/* Signature Block */
.fce-decano-signature {
    border-top: 1px solid #E2E8F0;
    padding-top: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.fce-decano-signature-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.fce-decano-signature-name {
    font-weight: 800;
    color: #0F172A;
    font-size: 1.15rem;
    letter-spacing: -0.2px;
}

.fce-decano-signature-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #00459A;
}

.fce-decano-signature-inst {
    font-size: 0.82rem;
    color: #64748B;
}

.fce-decano-seal-badge {
    background: rgba(0, 69, 154, 0.04);
    border: 1px dashed rgba(0, 69, 154, 0.25);
    border-radius: 8px;
    padding: 0.5rem 1rem;
}

.fce-decano-seal-inner {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #00459A;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

@media (max-width: 1100px) {
    .fce-decano-card {
        grid-template-columns: 340px 1fr;
    }
    .fce-decano-col-photo {
        padding: 2.5rem 1.75rem;
    }
    .fce-decano-portrait-frame {
        height: 350px;
    }
    .fce-decano-col-speech {
        padding: 3rem 2.5rem;
    }
    .fce-decano-speech-title {
        font-size: 1.85rem;
    }
}

@media (max-width: 991px) {
    .fce-decano-card {
        grid-template-columns: 1fr;
    }
    .fce-decano-col-photo {
        border-right: none;
        border-bottom: 1px solid #E2E8F0;
        padding: 3rem 2rem;
    }
    .fce-decano-portrait-frame {
        max-width: 270px;
        height: 360px;
        margin-bottom: 1.5rem;
    }
    .fce-decano-col-speech {
        padding: 2.75rem 2rem;
    }
    .fce-decano-speech-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 600px) {
    .fce-decano-col-photo {
        padding: 2rem 1.25rem;
    }
    .fce-decano-portrait-frame {
        max-width: 240px;
        height: 320px;
    }
    .fce-decano-col-speech {
        padding: 2rem 1.25rem;
    }
    .fce-decano-speech-title {
        font-size: 1.5rem;
    }
    .fce-decano-quote-icon {
        display: none;
    }
    .fce-decano-signature {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Subtítulos de Nivel Jerárquico */
.fce-hierarchy-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.fce-hierarchy-badge {
    display: inline-block;
    padding: 0.25rem 0.85rem;
    background: rgba(0, 69, 154, 0.08);
    color: var(--fce-primary);
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.fce-hierarchy-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--fce-dark);
    margin-bottom: 0.5rem;
}

.fce-hierarchy-desc {
    color: var(--fce-muted);
    font-size: 0.95rem;
    max-width: 650px;
    margin: 0 auto;
}

/* Grillas de Departamentos y Escuelas */
.fce-dept-grid {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    max-width: 920px;
    margin: 0 auto 4.5rem auto;
    flex-wrap: wrap;
}

.fce-dept-grid .fce-authority-card {
    flex: 1 1 360px;
    max-width: 440px;
    min-width: 290px;
    padding: 2.75rem 2.25rem;
    border-top: 4px solid var(--fce-primary);
    box-shadow: 0 8px 24px rgba(0, 45, 98, 0.07);
}

.fce-dept-grid .fce-authority-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 45, 98, 0.14);
    border-top-color: var(--fce-gold);
}

.fce-dept-grid .fce-authority-avatar {
    width: 120px;
    height: 120px;
    font-size: 2.4rem;
}

.fce-dept-grid .fce-authority-name {
    font-size: 1.25rem;
}

.fce-authorities-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.75rem;
}

.fce-authorities-grid .fce-authority-card {
    flex: 1 1 230px;
    max-width: 275px;
    min-width: 220px;
    padding: 2.25rem 1.6rem;
}

.fce-authority-card {
    background: #FFFFFF;
    border-radius: var(--fce-radius-lg, 14px);
    border: 1px solid var(--fce-border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--fce-transition);
    position: relative;
    box-sizing: border-box;
    width: 100%;
}

.fce-authority-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 69, 154, 0.1);
    border-color: rgba(0, 69, 154, 0.3);
}

.fce-authority-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.25rem auto;
    background: linear-gradient(135deg, var(--fce-primary), #002D62);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(0, 69, 154, 0.15);
    border: 3px solid #FFFFFF;
    flex-shrink: 0;
}

.fce-authority-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fce-authority-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--fce-dark);
    margin-bottom: 0.4rem;
    line-height: 1.35;
}

.fce-authority-cargo {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--fce-gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.fce-authority-degree {
    font-size: 0.82rem;
    color: #64748B;
    margin-bottom: 0.85rem;
    line-height: 1.35;
}

.fce-authority-desc {
    font-size: 0.86rem;
    color: var(--fce-muted);
    line-height: 1.55;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.fce-authority-contact {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    width: 100%;
}

.fce-authority-contact a {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--fce-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.fce-authority-contact a:hover {
    text-decoration: underline;
}

/* 10. Comprehensive Responsive Layout & Mobile Breakpoints */
.fce-presentation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.fce-single-layout {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 3rem;
}

.fce-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--fce-transition);
}

.fce-mobile-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.fce-mobile-drawer-header {
    display: none;
}

/* Tablet & Mobile Breakpoints (< 992px) */
@media (max-width: 992px) {
    .fce-presentation-grid,
    .fce-single-layout,
    .fce-news-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .fce-schools-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 1.5rem;
    }

    .fce-dept-grid {
        gap: 1.75rem;
    }

    .fce-dept-grid .fce-authority-card {
        flex: 1 1 300px;
        max-width: 420px;
    }

    .fce-authorities-grid .fce-authority-card {
        flex: 1 1 260px;
        max-width: 320px;
    }

    .fce-quick-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .fce-hero {
        padding: 4rem 0;
        min-height: auto;
        text-align: center;
    }

    .fce-hero-content {
        margin: 0 auto;
    }

    .fce-header-inner {
        padding: 0.75rem 1.25rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .fce-mobile-toggle {
        display: inline-flex !important;
        align-items: center;
        gap: 0.4rem;
        padding: 0.5rem 0.85rem;
        background: rgba(0, 69, 154, 0.08);
        border: 1.5px solid var(--fce-primary);
        color: var(--fce-primary);
        border-radius: var(--fce-radius-md);
        font-family: var(--fce-font-heading);
        font-weight: 700;
        font-size: 0.82rem;
        cursor: pointer;
        transition: var(--fce-transition);
        white-space: nowrap;
    }

    .fce-mobile-toggle:hover {
        background: var(--fce-primary);
        color: #FFFFFF;
    }

    /* Left Sliding Mobile Drawer */
    .fce-mobile-drawer {
        position: fixed;
        top: 0;
        left: -100%;
        width: 320px;
        max-width: 85vw;
        height: 100vh;
        background: var(--fce-surface);
        box-shadow: 6px 0 25px rgba(0, 0, 0, 0.25);
        transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .fce-mobile-drawer.is-active {
        left: 0;
    }

    .fce-mobile-drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.1rem 1.25rem;
        background: var(--fce-primary);
        color: #FFFFFF;
        border-bottom: 3px solid #EF7D00;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        flex-shrink: 0;
    }

    .fce-mobile-drawer-brand {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .fce-mobile-drawer-brand img {
        height: 42px;
        width: auto;
        object-fit: contain;
        background: #FFFFFF;
        padding: 5px 10px;
        border-radius: var(--fce-radius-md);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    }

    .fce-drawer-branding-text {
        display: flex;
        flex-direction: column;
    }

    .fce-drawer-univ {
        font-size: 0.7rem;
        font-weight: 700;
        color: #EF7D00;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

    .fce-drawer-facultad {
        font-size: 0.95rem;
        font-weight: 800;
        color: #FFFFFF;
        line-height: 1.1;
    }

    .fce-mobile-close {
        background: rgba(255, 255, 255, 0.18);
        border: none;
        color: #FFFFFF;
        border-radius: 50%;
        width: 36px;
        height: 36px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--fce-transition);
    }

    .fce-mobile-close:hover {
        background: #EF7D00;
        color: #FFFFFF;
    }

    .fce-nav-menu {
        flex-direction: column;
        align-items: stretch;
        padding: 1.5rem 1.25rem;
        gap: 0.4rem;
        overflow-y: auto;
        flex-grow: 1;
    }

    .fce-nav-menu a {
        padding: 0.85rem 1rem;
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--fce-dark);
        border-radius: var(--fce-radius-md);
        border-bottom: 1px solid var(--fce-border);
        transition: var(--fce-transition);
    }

    .fce-nav-menu a:hover {
        background: rgba(0, 69, 154, 0.06);
        color: var(--fce-primary);
    }

    .fce-nav-menu li.current-menu-item > a,
    .fce-nav-menu li.current_page_item > a {
        background: rgba(0, 69, 154, 0.12) !important;
        color: var(--fce-primary) !important;
        font-weight: 700;
        padding-left: 1.25rem;
    }

    .sub-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding-left: 1rem;
        background: rgba(0, 69, 154, 0.04);
        border-radius: var(--fce-radius-sm);
        margin-top: 0.25rem;
    }

    /* Ocultar Topbar por completo en móvil */
    .fce-topbar {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
    }

    /* Footer del Menú Hamburguesa en Móvil (Tarjeta Estructurada) */
    .fce-mobile-drawer-footer {
        display: block !important;
        padding: 1rem 0.85rem;
        background: #F8FAFC;
        border-top: 3px solid #EF7D00;
        flex-shrink: 0;
        margin-top: auto;
    }

    .fce-mobile-contact-card {
        background: #FFFFFF;
        border: 1px solid #E2E8F0;
        border-radius: 14px;
        padding: 1rem 0.85rem;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    }

    .fce-mobile-contact-badge {
        display: block;
        font-size: 0.65rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        color: #EF7D00;
        margin-bottom: 0.15rem;
        text-align: left;
    }

    .fce-mobile-contact-title {
        font-size: 0.95rem;
        font-weight: 800;
        color: #00459A;
        margin: 0 0 0.75rem 0;
        line-height: 1.2;
        text-align: left;
    }

    .fce-mobile-contact-list {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .fce-mobile-contact-item {
        display: flex;
        align-items: flex-start;
        gap: 0.75rem;
        text-align: left;
    }

    .fce-contact-icon-badge {
        width: 30px;
        height: 30px;
        border-radius: 8px;
        background: rgba(0, 69, 154, 0.08);
        color: #00459A;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        margin-top: 2px;
    }

    .fce-contact-icon-badge svg {
        color: #00459A;
    }

    .fce-contact-text {
        display: flex;
        flex-direction: column;
        font-size: 0.82rem;
        color: #334155;
        line-height: 1.35;
    }

    .fce-contact-label {
        font-size: 0.68rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.4px;
        color: #94A3B8;
        margin-bottom: 0.1rem;
    }

    .fce-contact-text a {
        color: #00459A;
        font-weight: 700;
        text-decoration: none;
        transition: var(--fce-transition);
    }

    .fce-contact-text a:hover {
        color: #EF7D00;
    }
}

/* Small Mobile Phones (< 576px) */
@media (max-width: 576px) {
    .fce-topbar {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
    }

    .fce-topbar-links {
        display: none !important;
    }

    .fce-topbar-inner {
        display: none !important;
    }

    .fce-header-inner {
        padding: 0.6rem 1rem;
    }

    .fce-branding img {
        height: 40px;
    }

    .fce-facultad-title {
        font-size: 0.95rem;
    }

    .fce-univ-title {
        font-size: 0.65rem;
    }

    .fce-quick-grid {
        grid-template-columns: 1fr;
    }

    .fce-hero {
        padding: 3rem 0;
    }

    .fce-hero-title {
        font-size: 1.75rem;
    }

    .fce-hero-desc {
        font-size: 0.95rem;
    }

    .fce-hero-actions .fce-btn {
        width: 100%;
    }

    .fce-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .fce-stat-number {
        font-size: 2.25rem;
    }

    .fce-section {
        padding: 3rem 0;
    }

    .fce-event-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .fce-dept-grid .fce-authority-card {
        flex: 1 1 100%;
        max-width: 100%;
        padding: 2.25rem 1.5rem;
    }
}

/* ==========================================================================
   PAGE BANNER & HERO HEADERS FOR INNER / ARCHIVE PAGES
   ========================================================================== */
.fce-page-banner {
    background: linear-gradient(135deg, #001A3D 0%, #002D62 45%, #00459A 100%);
    padding: 3.5rem 0 3.75rem;
    position: relative;
    overflow: hidden;
    color: #FFFFFF;
    border-bottom: 4px solid var(--fce-gold, #EF7D00);
}

.fce-page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 15% 20%, rgba(239, 125, 0, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 45%);
    pointer-events: none;
}

.fce-page-banner-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.fce-page-banner-subtitle {
    display: inline-block;
    color: #EF7D00;
    background: rgba(239, 125, 0, 0.15);
    border: 1px solid rgba(239, 125, 0, 0.35);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.3rem 0.85rem;
    border-radius: 9999px;
    margin-bottom: 0.85rem;
}

.fce-page-banner-title {
    color: #FFFFFF !important;
    font-size: 2.35rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 0.85rem;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.fce-page-banner-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */
.fce-breadcrumbs {
    background: #F8FAFC;
    border-bottom: 1px solid #E2E8F0;
    padding: 0.85rem 0;
    font-size: 0.88rem;
    color: #64748B;
}

.fce-breadcrumbs a {
    color: #00459A;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.fce-breadcrumbs a:hover {
    color: #EF7D00;
}

.fce-breadcrumbs .fce-sep {
    margin: 0 0.5rem;
    color: #CBD5E1;
}

.fce-breadcrumbs .fce-current {
    color: #1E293B;
    font-weight: 600;
}

/* ==========================================================================
   CATEGORY FILTER PILLS (NOTICIAS ARCHIVE)
   ========================================================================== */
.fce-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #E2E8F0;
}

.fce-filter-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.15rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #475569;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.fce-filter-pill:hover {
    color: #00459A;
    background: #EFF6FF;
    border-color: #BFDBFE;
    transform: translateY(-1px);
}

.fce-filter-pill.is-active {
    color: #FFFFFF;
    background: #00459A;
    border-color: #00459A;
    box-shadow: 0 4px 12px rgba(0, 69, 154, 0.25);
}

/* ==========================================================================
   NOTICIAS ARCHIVE GRID & CARDS
   ========================================================================== */
.fce-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (max-width: 1024px) {
    .fce-archive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .fce-archive-grid {
        grid-template-columns: 1fr;
    }
}

.fce-archive-card {
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fce-archive-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 45, 98, 0.12);
    border-color: #CBD5E1;
}

.fce-archive-card-media {
    position: relative;
    width: 100%;
    height: 220px;
    background: #F1F5F9;
    overflow: hidden;
}

.fce-archive-card-media a {
    display: block;
    width: 100%;
    height: 100%;
}

.fce-archive-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.fce-archive-card:hover .fce-archive-card-img {
    transform: scale(1.05);
}

.fce-archive-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #002D62 0%, #00459A 100%);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.fce-archive-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: #EF7D00;
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.fce-archive-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.fce-archive-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.82rem;
    color: #64748B;
    margin-bottom: 0.65rem;
}

.fce-archive-title {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 0.75rem;
}

.fce-archive-title a {
    color: #002D62;
    text-decoration: none;
    transition: color 0.2s ease;
}

.fce-archive-title a:hover {
    color: #EF7D00;
}

.fce-archive-excerpt {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #475569;
    margin: 0 0 1.25rem;
    flex: 1;
}

.fce-archive-footer {
    padding-top: 1rem;
    border-top: 1px solid #F1F5F9;
}

.fce-read-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: #00459A;
    text-decoration: none;
    transition: all 0.2s ease;
}

.fce-read-btn:hover {
    color: #EF7D00;
    transform: translateX(3px);
}

/* ==========================================================================
   EVENTOS ARCHIVE GRID & CARDS
   ========================================================================== */
.fce-events-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (max-width: 1024px) {
    .fce-events-archive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .fce-events-archive-grid {
        grid-template-columns: 1fr;
    }
}

.fce-event-archive-card {
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fce-event-archive-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 45, 98, 0.12);
    border-color: #CBD5E1;
}

.fce-event-card-header {
    background: linear-gradient(135deg, #F8FAFC 0%, #EDF2F7 100%);
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fce-event-card-header .fce-event-date-box {
    width: 64px;
    height: 70px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    border: 1px solid #CBD5E1;
}

.fce-event-card-header .fce-event-month {
    background: linear-gradient(135deg, #EF7D00 0%, #D96B00 100%);
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 800;
    text-align: center;
    padding: 4px 0;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.fce-event-card-header .fce-event-day {
    background: #FFFFFF;
    color: #002D62;
    font-size: 1.55rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.fce-event-mod-badge {
    background: rgba(0, 69, 154, 0.08);
    color: #00459A;
    border: 1px solid rgba(0, 69, 154, 0.2);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.35rem 0.8rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fce-event-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.fce-event-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 1rem;
}

.fce-event-card-title a {
    color: #002D62;
    text-decoration: none;
    transition: color 0.2s ease;
}

.fce-event-card-title a:hover {
    color: #EF7D00;
}

.fce-event-card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    background: #F8FAFC;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    border-left: 3px solid #00459A;
}

.fce-event-meta-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: #475569;
}

.fce-event-meta-row svg {
    color: #EF7D00;
    flex-shrink: 0;
}

.fce-event-card-excerpt {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #475569;
    margin: 0 0 1.25rem;
    flex: 1;
}

.fce-event-card-footer {
    padding-top: 1rem;
    border-top: 1px solid #F1F5F9;
}

.fce-event-details-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: #00459A;
    text-decoration: none;
    transition: all 0.2s ease;
}

.fce-event-details-btn:hover {
    color: #EF7D00;
    transform: translateX(3px);
}

/* ==========================================================================
   SINGLE EVENT & ARTICLE LAYOUT
   ========================================================================== */
.fce-single-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 900px) {
    .fce-single-layout {
        grid-template-columns: 1fr;
    }
}

.fce-single-content {
    min-width: 0;
}

.fce-single-sidebar {
    position: sticky;
    top: 2rem;
}

.fce-event-info-box {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-top: 4px solid #EF7D00;
    border-radius: 14px;
    padding: 1.75rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* ==========================================================================
   PAGINATION STYLING
   ========================================================================== */
.fce-pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

.fce-pagination-wrapper .pagination,
.fce-pagination-wrapper .nav-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.fce-pagination-wrapper .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 0.85rem;
    border-radius: 8px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    color: #002D62;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.fce-pagination-wrapper .page-numbers:hover {
    background: #EFF6FF;
    border-color: #00459A;
    color: #00459A;
}

.fce-pagination-wrapper .page-numbers.current {
    background: #00459A;
    border-color: #00459A;
    color: #FFFFFF;
    box-shadow: 0 4px 10px rgba(0, 69, 154, 0.25);
}

.fce-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: #F8FAFC;
    border: 2px dashed #CBD5E1;
    border-radius: 16px;
    color: #64748B;
    font-size: 1.05rem;
}
/* Smooth Scroll Margin for Sticky Header Navigation */
section[id], div[id], footer[id] {
    scroll-margin-top: 85px;
}