:root {
    --bg: #f6f8fb;
    --ink: #19324d;
    --brand: #0d6efd;
    --muted: #5c6b7a;
    --card: #fff;
    --border: #d9e2ec;
    --ok: #e8fff0;
    --bad: #fff1f1
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.5
}

a {
    color: var(--brand);
    text-decoration: none
}

.container {
    width: min(1120px, 92%);
    margin: 0 auto
}

.site-header,
.site-footer {
    background: #fff;
    border-bottom: 1px solid var(--border)
}

.site-footer {
    border-top: 1px solid var(--border);
    border-bottom: 0;
    margin-top: 40px
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    gap: 16px
}

.nav nav {
    display: flex;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap
}

.brand {
    font-weight: 700;
    color: var(--ink);
    font-size: 1.15rem
}

.hero {
    padding: 64px 0;
    background: linear-gradient(135deg, #fff, #eef5ff)
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 32px;
    align-items: center
}

.hero-card,
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 12px 30px rgba(13, 35, 67, .06)
}

.grid {
    display: grid;
    gap: 20px
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr)
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr)
}

.section {
    padding: 40px 0
}

.badge {
    display: inline-block;
    background: #eaf2ff;
    color: #124f9c;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 700
}

.btn {
    display: inline-block;
    background: var(--brand);
    color: #fff;
    padding: 12px 18px;
    border-radius: 10px;
    border: 0;
    cursor: pointer
}

.btn-secondary {
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--border)
}

.btn-sm {
    padding: 8px 12px
}

.muted {
    color: var(--muted)
}

.card h3 {
    margin-top: 0
}

.card-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

.price {
    font-size: 1.6rem;
    font-weight: 700
}

.alert {
    padding: 14px 16px;
    border-radius: 12px;
    margin: 16px 0
}

.success {
    background: var(--ok);
    border: 1px solid #b6ebc7
}

.error {
    background: var(--bad);
    border: 1px solid #f1b4b4
}

.form-group {
    margin-bottom: 16px
}

.label {
    display: block;
    font-weight: 700;
    margin-bottom: 6px
}

.input,
.textarea,
.select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff
}

.textarea {
    min-height: 120px;
    resize: vertical
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 16px;
    overflow: hidden
}

.table th,
.table td {
    padding: 12px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top
}

.stat {
    font-size: 2rem;
    font-weight: 700
}

.hero h1,
.section h2 {
    margin: .2em 0
}

.panel-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.split {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px
}

.pill {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 999px;
    background: #edf2f7;
    font-size: .85rem
}

.status-paid {
    background: #e7fff2
}

.status-draft {
    background: #fff4dc
}

.status-published {
    background: #eaf2ff
}

.status-closed {
    background: #f5e9ff
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    padding: 24px 0
}

.committee {
    margin: 0;
    padding-left: 18px
}

.inline {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center
}

.kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px
}

.kpi {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px
}

.small {
    font-size: .9rem
}

.cover {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
    background: #dde7f0
}

.nav-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10
}

.user-email {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: #eef3f8;
    border: 1px solid var(--border);
    color: var(--ink);
    font-size: .92rem
}

.employee-mode {
    background: #eef1f4
}

.employee-mode .site-header,
.employee-mode .site-footer {
    background: #f7f8fa
}

.employee-mode .hero {
    background: linear-gradient(135deg, #f5f6f8, #e9edf1)
}

.help {
    margin: .45rem 0 0;
    color: var(--muted);
    font-size: .92rem
}

.help code {
    background: #f2f5f8;
    padding: 2px 6px;
    border-radius: 6px
}

@media (max-width:900px) {

    .hero-grid,
    .grid-3,
    .grid-2,
    .card-list,
    .split,
    .footer-grid,
    .kpis {
        grid-template-columns: 1fr
    }
}

.help {
    color: var(--muted);
    font-size: .92rem;
    margin: .35rem 0 0
}

.committee li {
    margin-bottom: 12px
}

.committee-detail {
    margin-top: 4px;
    color: var(--muted);
    white-space: pre-line
}

.committee-form-card {
    padding: 18px;
    margin-bottom: 16px
}

.textarea-compact {
    min-height: 90px
}

.congress-hero {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 24px;
    align-items: center;
    margin-bottom: 24px
}

.cover-lg {
    height: 280px
}

.congress-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    align-items: start
}

.congress-sidebar {
    position: sticky;
    top: 90px
}

.tab-link {
    display: block;
    width: 100%;
    text-align: left;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 10px;
    cursor: pointer;
    color: var(--ink);
    font-size: 1rem
}

.tab-link.active {
    background: #eaf2ff;
    border-color: #b8d1f6;
    color: #124f9c;
    font-weight: 700
}

.tab-panels .tab-panel {
    display: none
}

.tab-panels .tab-panel.active {
    display: block
}

@media (max-width:900px) {

    .congress-hero,
    .congress-layout {
        grid-template-columns: 1fr
    }

    .congress-sidebar {
        position: static
    }

    .cover-lg {
        height: 220px
    }
}



/* Mejoras visuales menú lateral con iconos */
.congreso-layout,
.congreso-tabs-layout,
.congreso-content-layout {
    align-items: start;
}

.tabs-menu,
.congreso-sidebar,
.section-menu,
.side-tabs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tabs-menu button,
.congreso-sidebar button,
.section-menu button,
.side-tabs button,
.tabs-menu a,
.congreso-sidebar a,
.section-menu a,
.side-tabs a,
.tab-link,
.sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    text-align: left;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #d7dee7;
    background: #fff;
    color: #233142;
    font-weight: 600;
    transition: all .18s ease;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .03);
}

.tabs-menu button:hover,
.congreso-sidebar button:hover,
.section-menu button:hover,
.side-tabs button:hover,
.tabs-menu a:hover,
.congreso-sidebar a:hover,
.section-menu a:hover,
.side-tabs a:hover,
.tab-link:hover,
.sidebar-link:hover {
    transform: translateX(2px);
    border-color: #b7c7db;
    background: #f7fafc;
}

.tabs-menu .active,
.congreso-sidebar .active,
.section-menu .active,
.side-tabs .active,
.tabs-menu button.active,
.congreso-sidebar button.active,
.section-menu button.active,
.side-tabs button.active,
.tab-link.active,
.sidebar-link.active {
    background: linear-gradient(180deg, #e9f3ff 0%, #dceeff 100%);
    border-color: #7cb0e0;
    color: #0f4f8a;
    box-shadow: 0 6px 18px rgba(41, 98, 153, 0.10);
    position: relative;
}

.tabs-menu .active::before,
.congreso-sidebar .active::before,
.section-menu .active::before,
.side-tabs .active::before,
.tab-link.active::before,
.sidebar-link.active::before {
    content: "";
    width: 4px;
    height: 60%;
    border-radius: 999px;
    background: #0f6fc6;
    position: absolute;
    left: 8px;
    top: 20%;
}

.tab-panel,
.section-panel,
.congreso-panel,
.content-panel {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

@media (max-width: 900px) {

    .tabs-menu,
    .congreso-sidebar,
    .section-menu,
    .side-tabs {
        gap: 8px;
    }

    .tabs-menu button,
    .congreso-sidebar button,
    .section-menu button,
    .side-tabs button,
    .tabs-menu a,
    .congreso-sidebar a,
    .section-menu a,
    .side-tabs a,
    .tab-link,
    .sidebar-link {
        padding: 11px 12px;
    }
}



.nav-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
    flex: 0 0 20px;
}

.nav-icon svg {
    width: 20px;
    height: 20px;
    display: block
}

.tabs-menu button span:last-child,
.congreso-sidebar button span:last-child,
.section-menu button span:last-child,
.side-tabs button span:last-child,
.tabs-menu a span:last-child,
.congreso-sidebar a span:last-child,
.section-menu a span:last-child,
.side-tabs a span:last-child,
.tab-link span:last-child,
.sidebar-link span:last-child {
    line-height: 1.2
}

.fnn-footer {
    background: #000000;
    color: #fff;
    font-size: 14px;
}

/* línea superior roja tipo marca */
.footer-top-line {
    height: 6px;
    background: linear-gradient(90deg, #a10d2b, #d61f3c);
}

/* contenedor */
.footer-container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;

    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-col {
    width: 23%;
    min-width: 220px;
}

/* columnas */
.footer-col h3 {
    font-size: 16px;
    margin-bottom: 15px;
}

.footer-col p,
.footer-col a {
    color: #dbe6f2;
    text-decoration: none;
    line-height: 1.6;
}

.footer-col a:hover {
    color: #fff;
}

/* botón */
.btn-footer {
    display: inline-block;
    border: 1px solid #fff;
    padding: 10px 15px;
    margin-top: 10px;
    color: #fff;
}

.btn-footer:hover {
    background: #fff;
    color: #1f4e79;
}

/* lista */
.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

/* logo */
.footer-logo img {
    max-width: 120px;
    margin-bottom: 10px;
}

/* subfooter negro */
.footer-bottom {
    background: #000;
    text-align: center;
    padding: 12px;
    font-size: 12px;
}

.footer-bottom a {
    color: #ccc;
    margin: 0 8px;
}

.footer-bottom a:hover {
    color: #fff;
}

/* responsive */
@media (max-width: 900px) {
    .footer-col {
        width: 48%;
    }
}

@media (max-width: 600px) {
    .footer-col {
        width: 100%;
    }
}

/* ── Redes sociales footer ── */
.footer-social {
    display: flex;
    gap: 8px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.footer-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #fff;
    transition: transform 0.2s, opacity 0.2s;
    flex-shrink: 0;
}

.footer-social-btn:hover {
    transform: scale(1.12);
    opacity: 0.9;
    color: #fff;
}

.footer-social-fb { background: #1877f2; }
.footer-social-tw { background: #111; }
.footer-social-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.footer-social-yt { background: #ff0000; }

/* ── Métodos de pago footer ── */
.footer-payments {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
}

.footer-payment-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    overflow: hidden;
    line-height: 0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.4);
}




@media (max-width: 640px){
    .site-logo img{height:42px !important;}
    .header-actions{width:100%;justify-content:flex-end;}
    .nav-menu{gap:8px 16px;}
    .dropdown-menu{position:static;display:block;box-shadow:none;border:none;padding:0 0 0 14px;margin:0;min-width:0;background:transparent;}
    .has-dropdown > a::after{display:none;}
}


/* ===== Cabecera y navegación refinada ===== */
.site-header{
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e6edf5;
    box-shadow: 0 8px 24px rgba(14, 35, 62, 0.05);
}
.nav-shell{
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px;
    min-height: 82px;
    flex-wrap: nowrap !important;
}
.site-main{min-height:40vh;}
.site-logo{
    display:flex !important;
    align-items:center !important;
    flex:0 0 auto !important;
    text-decoration:none;
    margin-right: 8px;
}
.site-logo img{
    display:block !important;
    height: 52px !important;
    width:auto !important;
    max-width:none !important;
}
.main-nav{
    flex: 1 1 auto !important;
    min-width: 0;
}
.nav-menu{
    list-style:none !important;
    margin:0 !important;
    padding:0 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center;
    gap: 28px !important;
    flex-wrap: nowrap !important;
}
.nav-menu > li{
    position:relative !important;
    margin:0 !important;
    padding:0 !important;
    display:block !important;
}
.nav-menu > li > a{
    display:inline-flex !important;
    align-items:center;
    min-height:44px;
    padding: 0 2px !important;
    color:#1b3550 !important;
    text-decoration:none !important;
    font-weight:600 !important;
    border-bottom: 2px solid transparent;
    transition: color .18s ease, border-color .18s ease;
    white-space: nowrap;
}
.nav-menu > li > a:hover{
    color:#2f6fa5 !important;
    border-bottom-color:#c8ddf0;
}
.nav-menu > li > a.active{
    color:#1d5f95 !important;
    border-bottom-color:#2f6fa5 !important;
}
.has-dropdown > a::after{
    content:"";
    width: 8px;
    height: 8px;
    margin-left: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
}
.dropdown-menu{
    position:absolute !important;
    left:50%;
    top: 100%;
    transform: translateX(-50%) translateY(8px);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    min-width: 230px;
    list-style:none !important;
    margin:0 !important;
    padding: 10px !important;
    border-radius: 16px;
    background:#ffffff;
    border:1px solid #dfebf4;
    box-shadow: 0 20px 40px rgba(20,39,67,.12);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.dropdown-menu::before{
    content:"";
    position:absolute;
    top:-7px;
    left:50%;
    width:14px;
    height:14px;
    background:#ffffff;
    border-left:1px solid #dfebf4;
    border-top:1px solid #dfebf4;
    transform: translateX(-50%) rotate(45deg);
}
.dropdown-menu li{
    margin:0 !important;
}
.dropdown-menu li a{
    display:block !important;
    padding: 11px 14px !important;
    border-radius: 12px;
    color:#274764 !important;
    text-decoration:none !important;
    white-space: nowrap;
    font-weight: 500;
}
.dropdown-menu li a:hover{
    background:#f4f8fc;
    color:#1d5f95 !important;
}
.dropdown-menu li a.active{
    background:#e9f3fb;
    color:#1d5f95 !important;
    font-weight:700;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform: translateX(-50%) translateY(0);
}
.header-actions{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end;
    gap:10px !important;
    flex:0 0 auto !important;
    white-space: nowrap;
}
.user-email{
    color:#5b7188;
    font-size: .95rem;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.btn-sm{
    min-height:38px;
    padding: 0 14px;
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    border-radius: 10px;
}
.page-hero{
    padding:56px 0 24px;
}
.page-hero h1{margin-bottom:12px;}
.page-card{
    background:#fff;
    border:1px solid #e4ebf2;
    border-radius:18px;
    padding:28px;
    box-shadow:0 8px 24px rgba(17,24,39,.04);
}
.page-card p + p{margin-top:12px;}
.page-list{margin:16px 0 0;padding-left:18px;}

@media (max-width: 1080px){
    .nav-shell{
        flex-wrap: wrap !important;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .main-nav{
        order: 3;
        width: 100%;
    }
    .nav-menu{
        justify-content: flex-start;
        flex-wrap: wrap !important;
        gap: 14px 22px !important;
    }
}
@media (max-width: 680px){
    .site-logo img{
        height: 42px !important;
    }
    .header-actions{
        width:100%;
    }
    .user-email{
        max-width: none;
    }
    .nav-menu{
        gap: 8px 16px !important;
    }
    .dropdown-menu{
        position: static !important;
        transform:none !important;
        opacity:1 !important;
        visibility:visible !important;
        pointer-events:auto !important;
        min-width:0;
        margin-top: 4px !important;
        padding: 8px 0 0 14px !important;
        border:none;
        box-shadow:none;
        background:transparent;
    }
    .dropdown-menu::before{
        display:none;
    }
    .dropdown-menu li a{
        padding:8px 0 !important;
        border-radius:0;
    }
    .has-dropdown > a::after{
        display:none;
    }
}


/* ===== Trabajos ===== */
.works-form-card h2,
.works-list-card h2{margin-bottom:14px;}
.works-rules{margin-bottom:18px;}
.works-form .form-group{margin-bottom:16px;}
.works-form input[type="text"],
.works-form input[type="email"],
.works-form input[type="file"],
.works-form textarea,
.works-form select,
.works-filter-form select{
    width:100%;
    padding:12px 14px;
    border:1px solid #d7e3ee;
    border-radius:12px;
    background:#fff;
}
.works-form textarea{min-height:120px;}
.authors-grid{
    display:grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap:16px 20px;
    margin:6px 0 18px;
}
.author-block{
    padding:16px;
    border:1px solid #e4ecf4;
    border-radius:16px;
    background:#f9fbfd;
}
.table-responsive{overflow-x:auto;}
@media (max-width: 860px){
    .authors-grid{grid-template-columns: 1fr;}
}

/* ===== NUEVA PAGINA DE INICIO ===== */

.fnn-hero {
    padding: 60px 0;
    background: #fff;
    overflow: hidden;
    position: relative;
}

.fnn-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.fnn-hero-content {
    display: flex;
    flex-direction: column;
}

.fnn-hero-badge {
    display: inline-block;
    color: #4a90e2;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.fnn-hero-badge::after {
    content: " ———";
    color: #ccc;
    font-weight: 300;
}

.fnn-hero-title {
    font-size: 2.8rem;
    color: #102a43;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 20px;
}

.fnn-hero-desc {
    font-size: 1.1rem;
    color: #486581;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 580px;
}

.fnn-hero-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.fnn-btn-primary {
    background: #4a90e2;
    color: #fff;
    padding: 14px 28px;
    font-weight: 600;
    border-radius: 8px;
    transition: background 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.fnn-btn-primary:hover {
    background: #357abd;
}

.fnn-btn-outline-play {
    background: #fff;
    color: #102a43;
    border: 1px solid #d9e2ec;
    padding: 14px 28px;
    font-weight: 600;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s, border-color 0.2s;
}

.fnn-btn-outline-play:hover {
    background: #f0f4f8;
    border-color: #bcccdc;
}

.play-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #fff;
    border: 1px solid #d9e2ec;
    border-radius: 50%;
    color: #102a43;
}

.fnn-hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.feature-icon.font-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #edf5ff;
    color: #4a90e2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-item strong {
    display: block;
    color: #102a43;
    font-size: 0.95rem;
}

.feature-sub {
    font-size: 0.8rem;
    color: #627d98;
}

.fnn-hero-image-container {
    display: flex;
    justify-content: flex-end;
}

.fnn-hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 550px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-bg-circle {
    display: none;
}

.hero-image-dots {
    display: none;
}

.fnn-hero-img {
    width: 100%;
    max-width: 550px;
    height: auto;
    position: relative;
    z-index: 10;
    display: block;
}

/* Stats Section */
.fnn-stats-section {
    padding: 20px 0 40px;
    background: #fff;
}

.fnn-stats-strip {
    background: #000;
    color: #fff;
    border-radius: 20px;
    padding: 24px 40px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    gap: 15px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a90e2;
    flex-shrink: 0;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-info h3 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}

.stat-info p {
    margin: 0;
    font-size: 0.85rem;
    color: #bcccdc;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

/* Upcoming Congresses */
.fnn-congresses-section {
    padding: 60px 0;
    background: #f0f4f8;
}

.fnn-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.fnn-section-header h2 {
    font-size: 2rem;
    color: #102a43;
    font-weight: 700;
    margin: 0;
}

.view-all-link {
    color: #4a90e2;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.view-all-link:hover {
    color: #357abd;
}

.fnn-congresses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px;
}

.fnn-congress-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e4ebf2;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-image-wrapper {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-size: 1.15rem;
    color: #102a43;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.3;
    min-height: 46px;
}

.card-subtitle {
    font-weight: 400;
    font-size: 0.95rem;
    color: #486581;
}

.card-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #627d98;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.card-description {
    font-size: 0.9rem;
    color: #486581;
    line-height: 1.4;
    margin: 0 0 20px;
    flex-grow: 1;
}

.card-actions {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 10px;
}

.card-btn-primary {
    background: #4a90e2;
    color: #fff;
    padding: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 6px;
    text-align: center;
    display: block;
}

.card-btn-primary:hover {
    background: #357abd;
}

.card-btn-secondary {
    background: #fff;
    color: #4a90e2;
    border: 1px solid #d9e2ec;
    padding: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 6px;
    text-align: center;
    display: block;
}

.card-btn-secondary:hover {
    background: #f0f4f8;
}

/* Featured Section */
.fnn-featured-section {
    padding: 60px 0;
    background: #fff;
}

.fnn-featured-grid {
    background: #5d9cec;
    border-radius: 20px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    color: #fff;
}

.fnn-featured-image-wrapper {
    height: 100%;
    min-height: 350px;
}

.featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fnn-featured-content {
    padding: 40px;
}

.featured-badge {
    display: inline-block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.featured-badge::after {
    content: " ———";
    opacity: 0.7;
}

.featured-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 15px;
    line-height: 1.2;
}

.featured-description {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin-bottom: 25px;
}

.featured-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.featured-btn-black {
    background: #000;
    color: #fff;
    padding: 14px 28px;
    font-weight: 600;
    border-radius: 8px;
    display: inline-block;
    transition: background 0.2s;
}

.featured-btn-black:hover {
    background: #222;
}

/* Responsiveness */
@media (max-width: 991px) {
    .fnn-hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .fnn-hero-content {
        align-items: center;
    }

    .fnn-hero-actions {
        justify-content: center;
    }

    .fnn-hero-features {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 15px;
    }

    .fnn-featured-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
    
    .fnn-congresses-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .fnn-stats-strip {
        flex-direction: column;
        gap: 30px;
        padding: 30px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .fnn-featured-image-wrapper {
        min-height: 250px;
        height: 250px;
    }
    
    .fnn-hero-image-container {
        order: -1;
        justify-content: center;
    }
    
    .fnn-hero-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 600px) {
    .fnn-congresses-grid {
        grid-template-columns: 1fr !important;
    }
}

