﻿/* ============================================================
   IEmagazine2 — site.css  v5 · Executive Edition
   Matched to: _Layout.cshtml + Portada.cshtml
   Navy #0a1628 · Gold #c9a84c · Cream #faf7f0
   Cormorant Garamond + DM Sans
   ASP.NET Core 3.0 · Bootstrap 4.5.2 · FA 6.5.1
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

:root {
    --navy: #0a1628;
    --navy-light: #0f1b30;
    --navy-mid: #162541;
    --navy-soft: #1e3054;
    --gold: #c9a84c;
    --gold-light: #d4b96a;
    --gold-dark: #b08f3a;
    --gold-muted: #a89060;
    --gold-glow: rgba(201,168,76,.10);
    --cream: #faf7f0;
    --cream-dark: #f2efe6;
    --cream-mid: #e8e4db;
    --white: #ffffff;
    --text-body: #3a3a4a;
    --text-muted: #6b6b80;
    --text-light: #9a9aad;
    --danger: #b83230;
    --success: #1f8c4e;
    --info: #2474a8;
    --live-red: #d64040;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --fs-xs: .7rem;
    --fs-sm: .8rem;
    --fs-base: .875rem;
    --fs-md: 1rem;
    --fs-lg: 1.15rem;
    --fs-xl: 1.35rem;
    --fs-2xl: 1.75rem;
    --fs-3xl: 2.35rem;
    --fs-4xl: 3rem;
    --shadow-sm: 0 1px 2px rgba(10,22,40,.05);
    --shadow-md: 0 2px 8px rgba(10,22,40,.07);
    --shadow-lg: 0 4px 20px rgba(10,22,40,.09);
    --shadow-gold: 0 2px 14px rgba(201,168,76,.15);
    --ease-out: cubic-bezier(.25,.46,.45,.94);
    --dur-fast: .18s;
    --dur-med: .3s;
    --dur-slow: .45s;
}


/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    min-height: 100%;
    font-size: 15px;
}

@media(min-width:768px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    line-height: 1.7;
    color: var(--text-body);
    background: var(--cream);
    margin: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
    color: var(--navy);
    margin-bottom: .4em;
}

h1 {
    font-size: var(--fs-4xl);
    font-weight: 700;
    letter-spacing: -.025em;
}

h2 {
    font-size: var(--fs-3xl);
    letter-spacing: -.015em;
}

h3 {
    font-size: var(--fs-2xl);
}

h4 {
    font-size: var(--fs-xl);
}

a {
    color: var(--gold-dark);
    text-decoration: none;
    transition: color var(--dur-fast);
}

    a:hover {
        color: var(--gold);
        text-decoration: none;
    }

img {
    max-width: 100%;
    height: auto;
}

::selection {
    background: var(--gold);
    color: var(--navy);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}


/* ================================================================
   1. TOP BAR  (.top-bar > .top-bar-inner > .top-bar-left + .top-bar-right)
   ================================================================ */
.top-bar {
    background: var(--navy);
    border-bottom: 1px solid rgba(201,168,76,.08);
    z-index: 1050;
    position: relative;
}

.top-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 34px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: var(--fs-xs);
    color: rgba(255,255,255,.4);
}

    .top-bar-left span:nth-child(2) {
        color: rgba(255,255,255,.15);
    }

    .top-bar-left span:nth-child(3) {
        font-family: var(--font-display);
        font-style: italic;
        color: var(--gold-muted);
        font-size: var(--fs-sm);
    }

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

    .top-bar-right a {
        font-size: 10px;
        font-weight: 600;
        letter-spacing: .12em;
        text-transform: uppercase;
        color: rgba(255,255,255,.38);
        transition: color var(--dur-fast);
    }

        .top-bar-right a:hover {
            color: var(--gold-light);
        }


/* ================================================================
   2. BREAKING BAR  (.breaking-bar > .breaking-inner >
                     .breaking-label > .breaking-dot + .breaking-text)
   ================================================================ */
.breaking-bar {
    background: var(--navy-light);
    border-bottom: 1px solid var(--gold-dark);
    height: 36px;
    z-index: 1040;
    position: relative;
}

.breaking-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    height: 100%;
    gap: .85rem;
}

.breaking-label {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--live-red);
    padding: 2px 10px;
    border-radius: 2px;
}

.breaking-dot {
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    animation: pulse 1.4s ease-in-out infinite;
}

@keyframes pulse {
    0%,100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .3;
        transform: scale(.6);
    }
}

.breaking-text {
    font-size: var(--fs-sm);
    color: rgba(255,255,255,.55);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* ================================================================
   3. NAVBAR  (nav.navbar.navbar-expand-md.navbar-light)
   ================================================================ */
nav.navbar {
    background: var(--white);
    height: 60px;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
    transition: box-shadow var(--dur-med);
    position: sticky;
    top: 0;
    z-index: 1030;
    padding-top: 0;
    padding-bottom: 0;
}

    nav.navbar.scrolled {
        box-shadow: var(--shadow-lg);
    }

    nav.navbar .navbar-brand {
        font-family: var(--font-display);
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--navy);
        letter-spacing: -.015em;
        padding: 0;
    }

        nav.navbar .navbar-brand img {
            height: 38px;
            width: auto;
        }

    nav.navbar .nav-link {
        font-family: var(--font-body) !important;
        font-size: 11px !important;
        font-weight: 600;
        color: var(--text-muted) !important;
        letter-spacing: .1em;
        text-transform: uppercase;
        padding: .5rem .7rem !important;
        transition: color var(--dur-fast);
    }

        nav.navbar .nav-link:hover,
        nav.navbar .nav-link.active {
            color: var(--navy) !important;
        }

    nav.navbar .dropdown-menu {
        border: 1px solid var(--cream-mid);
        border-radius: 6px;
        box-shadow: var(--shadow-lg);
        padding: 6px 0;
        margin-top: 2px;
        animation: dropIn .15s var(--ease-out);
    }

@keyframes dropIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

nav.navbar .dropdown-item {
    font-size: var(--fs-sm);
    color: var(--text-body);
    padding: 6px 18px;
    transition: background var(--dur-fast);
}

    nav.navbar .dropdown-item:hover {
        background: var(--cream);
        color: var(--navy);
    }

nav.navbar .dropdown-toggle::after {
    border-top: .25em solid;
    border-right: .25em solid transparent;
    border-left: .25em solid transparent;
    vertical-align: .12em;
    margin-left: .3em;
    opacity: .4;
}

nav.navbar .form-inline .form-control,
nav.navbar input[type="search"] {
    font-size: var(--fs-sm);
    background: var(--cream);
    border: 1px solid var(--cream-mid);
    border-radius: 50px;
    padding: 5px 16px;
    width: 150px;
    transition: width var(--dur-med), border-color var(--dur-fast), box-shadow var(--dur-fast);
}

    nav.navbar .form-inline .form-control:focus {
        width: 210px;
        border-color: var(--gold);
        box-shadow: 0 0 0 2px var(--gold-glow);
        outline: none;
        background: var(--white);
    }

nav.navbar .nav-link[href*="Login"] {
    color: var(--gold-dark) !important;
    font-weight: 700;
}

nav.navbar .nav-link.text-danger {
    color: var(--danger) !important;
    font-weight: 600;
}

nav.navbar .navbar-toggler {
    border: 1px solid var(--cream-mid);
    padding: 4px 8px;
}

nav.navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30'%3e%3cpath stroke='%230a1628' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


/* ================================================================
   4. HERO FEATURED  (.hero-featured >
       .hero-featured-image(img + .hero-featured-tag) +
       .hero-featured-content(.hero-featured-category +
       h1.hero-featured-title + p.hero-featured-excerpt +
       .hero-featured-meta + a.hero-read-more > .arrow-line))
   ================================================================ */
.hero-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,.04);
    min-height: 420px;
}

.hero-featured-image {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
}

    .hero-featured-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 8s var(--ease-out);
    }

.hero-featured:hover .hero-featured-image img {
    transform: scale(1.03);
}

.hero-featured-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--white);
    background: rgba(10,22,40,.7);
    backdrop-filter: blur(6px);
    padding: 4px 14px;
    border-radius: 2px;
}

.hero-featured-content {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-featured-category {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 1rem;
}

.hero-featured-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2.8vw, 2.4rem);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.1;
    letter-spacing: -.02em;
    margin-bottom: .75rem;
}

.hero-featured-excerpt {
    font-size: var(--fs-base);
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-featured-meta {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: var(--fs-xs);
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

    .hero-featured-meta .author {
        font-weight: 600;
        color: var(--text-body);
    }

    .hero-featured-meta .sep {
        color: var(--cream-mid);
    }

/* "Leer artículo" with animated line */
a.hero-read-more {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gold-dark);
    transition: color var(--dur-fast), gap var(--dur-med);
}

    a.hero-read-more:hover {
        color: var(--gold);
        gap: 1rem;
    }

    a.hero-read-more .arrow-line {
        display: inline-block;
        width: 32px;
        height: 1px;
        background: var(--gold);
        position: relative;
        transition: width var(--dur-med);
    }

        a.hero-read-more .arrow-line::after {
            content: '';
            position: absolute;
            right: 0;
            top: -3px;
            border: solid var(--gold);
            border-width: 0 1px 1px 0;
            padding: 3px;
            transform: rotate(-45deg);
        }

    a.hero-read-more:hover .arrow-line {
        width: 48px;
    }


/* ================================================================
   5. STATS BAR  (.stats-bar > .stats-inner > .stat-item*4)
   ================================================================ */
.stats-bar {
    background: var(--navy);
    padding: 3rem 0;
    position: relative;
}

    .stats-bar::before {
        content: '';
        position: absolute;
        top: 0;
        left: 10%;
        right: 10%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(201,168,76,.15), transparent);
    }

.stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.stat-item {
    text-align: center;
    padding: .75rem 2.5rem;
}

.stat-number {
    font-family: var(--font-display);
    font-size: var(--fs-3xl);
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-family: var(--font-body);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(255,255,255,.3);
}


/* ================================================================
   6. SECTION DIVIDERS
   Markup: .section-divider > .accent-line + h2 + .line
   ================================================================ */
.section-divider {
    text-align: center;
    margin: 4rem 0 2rem;
    position: relative;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity var(--dur-slow), transform var(--dur-slow);
}

    .section-divider.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .section-divider .accent-line {
        width: 36px;
        height: 2px;
        background: var(--gold);
        margin: 0 auto 12px;
        border-radius: 1px;
    }

    .section-divider h2 {
        font-family: var(--font-display);
        font-size: var(--fs-2xl);
        font-weight: 600;
        color: var(--navy);
        letter-spacing: -.01em;
        margin-bottom: 0;
    }

    .section-divider .line {
        /* No visible line — clean executive look */
        display: none;
    }


/* ================================================================
   7. ARTICLES GRID + ARTICULO-CARD
   Markup: .articles-grid > .articulo-card >
       .card-image-wrapper(img + .card-category-strip(span) + .card-tag) +
       .articulo-body(.articulo-title + .articulo-excerpt +
       .articulo-meta(.meta-author + .meta-date) + a.leer-mas)
   ================================================================ */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.75rem;
    padding-bottom: 1rem;
}

.articulo-card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,.04);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med), border-color var(--dur-med);
    /* scroll reveal */
    opacity: 0;
    transform: translateY(12px);
    transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-med), border-color var(--dur-med);
}

    .articulo-card.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .articulo-card:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-lg);
        border-color: rgba(201,168,76,.12);
    }

/* Card image */
.card-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
}

    .card-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform var(--dur-slow) var(--ease-out);
    }

.articulo-card:hover .card-image-wrapper img {
    transform: scale(1.04);
}

/* Category strip (bottom-left of image) */
.card-category-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 6px 14px;
    background: linear-gradient(to top, rgba(10,22,40,.65), transparent);
}

    .card-category-strip span {
        font-size: 10px;
        font-weight: 700;
        letter-spacing: .1em;
        text-transform: uppercase;
        color: var(--white);
    }

/* "Popular" tag (top-left of image) */
.card-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--navy);
    background: var(--gold);
    padding: 3px 10px;
    border-radius: 2px;
    z-index: 2;
}

/* Card body */
.articulo-body {
    padding: 1.25rem 1.25rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.articulo-title {
    font-family: var(--font-display);
    font-size: var(--fs-xl);
    font-weight: 600;
    color: var(--navy);
    line-height: 1.2;
    letter-spacing: -.01em;
    margin-bottom: .4rem;
}

.articulo-excerpt {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    line-height: 1.6;
    flex: 1;
    margin-bottom: .6rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.articulo-meta {
    font-size: var(--fs-xs);
    color: var(--text-light);
    margin-bottom: 0;
}

.meta-author {
    font-weight: 600;
    color: var(--text-body);
}

.meta-date {
    color: var(--text-light);
}

/* "Leer más →" */
a.leer-mas {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--gold-dark);
    display: inline-block;
    transition: color var(--dur-fast), letter-spacing var(--dur-med);
}

    a.leer-mas:hover {
        color: var(--gold);
        letter-spacing: .14em;
    }


/* ================================================================
   8. PUBLICIDAD
   (.publicidad-container > a > img + span.ad-label)
   ================================================================ */
.publicidad-container {
    background: var(--cream-dark);
    border: 1px solid var(--cream-mid);
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .publicidad-container img {
        border-radius: 4px;
        max-width: 100%;
    }

.ad-label {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--text-light);
    background: var(--cream-mid);
    padding: 1px 8px;
    border-radius: 0 0 4px 0;
}


/* ================================================================
   9. NEWSLETTER
   (.newsletter-section > .newsletter-inner >
    .newsletter-label + h2.newsletter-title +
    p.newsletter-desc + .newsletter-form(input + button))
   ================================================================ */
.newsletter-section {
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 5rem 20px;
    position: relative;
    overflow: hidden;
}

    .newsletter-section::before {
        content: '';
        position: absolute;
        top: -30%;
        right: -10%;
        width: 400px;
        height: 400px;
        background: radial-gradient(circle, rgba(201,168,76,.05) 0%, transparent 70%);
        pointer-events: none;
    }

.newsletter-inner {
    max-width: 540px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.newsletter-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: .75rem;
    display: block;
}

.newsletter-title {
    font-family: var(--font-display);
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--white);
    margin-bottom: .5rem;
    letter-spacing: -.01em;
}

.newsletter-desc {
    font-size: var(--fs-sm);
    color: rgba(255,255,255,.4);
    line-height: 1.65;
    margin-bottom: 1.75rem;
}

.newsletter-form {
    display: flex;
    gap: .5rem;
    max-width: 420px;
    margin: 0 auto;
}

    .newsletter-form input[type="email"] {
        flex: 1;
        font-size: var(--fs-sm);
        padding: 11px 20px;
        border: 1px solid rgba(201,168,76,.18);
        border-radius: 50px;
        background: rgba(255,255,255,.05);
        color: var(--white);
        transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
    }

        .newsletter-form input[type="email"]::placeholder {
            color: rgba(255,255,255,.25);
        }

        .newsletter-form input[type="email"]:focus {
            outline: none;
            border-color: var(--gold);
            box-shadow: 0 0 0 2px var(--gold-glow);
        }

    .newsletter-form button {
        font-size: var(--fs-sm);
        font-weight: 600;
        background: var(--gold);
        color: var(--navy);
        border: none;
        border-radius: 50px;
        padding: 10px 24px;
        cursor: pointer;
        transition: background var(--dur-fast), transform var(--dur-fast);
        white-space: nowrap;
    }

        .newsletter-form button:hover {
            background: var(--gold-light);
            transform: translateY(-1px);
        }


/* ================================================================
   10. FOOTER
   (footer.footer > .container > .row + .footer-bottom)
   Title classes: .footer-title  |  .footer-brand-text  |  .footer-quote
   Social: .social-icons > a > i
   ================================================================ */
footer.footer {
    background: var(--navy);
    color: rgba(255,255,255,.45);
    padding: 5rem 0 0;
    font-size: var(--fs-sm);
    line-height: 1.7;
}

    footer.footer .footer-title {
        font-family: var(--font-display) !important;
        font-size: var(--fs-lg) !important;
        font-weight: 600 !important;
        color: var(--white) !important;
        margin-bottom: 1.25rem;
        position: relative;
        padding-bottom: .5rem;
        letter-spacing: normal !important;
        text-transform: none !important;
    }

        footer.footer .footer-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 22px;
            height: 2px;
            background: var(--gold);
        }

    footer.footer h5.footer-title {
        font-size: 24px !important;
        letter-spacing: -.5px !important;
    }

    footer.footer .footer-brand-text {
        color: rgba(255,255,255,.38);
        margin-bottom: .75rem;
    }

    footer.footer .footer-quote {
        font-family: var(--font-display);
        font-style: italic;
        font-size: var(--fs-sm);
        color: rgba(255,255,255,.25);
        border-left: 2px solid rgba(201,168,76,.25);
        padding-left: 1rem;
        margin-top: 1rem;
    }

    footer.footer a {
        color: rgba(255,255,255,.45);
        transition: color var(--dur-fast);
    }

        footer.footer a:hover {
            color: var(--gold);
        }

    footer.footer .list-unstyled li {
        margin-bottom: 5px;
    }

        footer.footer .list-unstyled li a::before {
            content: '\203A';
            color: rgba(201,168,76,.35);
            font-weight: 700;
            margin-right: 6px;
        }

    footer.footer .social-icons {
        display: flex;
        flex-wrap: wrap;
        gap: 7px;
    }

        footer.footer .social-icons a {
            width: 34px;
            height: 34px;
            border-radius: 50%;
            border: 1px solid rgba(255,255,255,.08);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: var(--fs-sm);
            color: rgba(255,255,255,.4);
            transition: all var(--dur-fast);
        }

            footer.footer .social-icons a::before {
                content: none !important;
            }

            footer.footer .social-icons a:hover {
                background: var(--gold);
                border-color: var(--gold);
                color: var(--navy);
                transform: translateY(-2px);
            }

    footer.footer .footer-bottom {
        border-top: 1px solid rgba(255,255,255,.05);
        margin-top: 3rem;
        padding: 1.25rem 0;
        font-size: var(--fs-xs);
        color: rgba(255,255,255,.2);
        text-align: center;
    }


/* ================================================================
   11. SCROLL REVEAL
   ================================================================ */
.scroll-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity var(--dur-slow), transform var(--dur-slow);
}

    .scroll-reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }


/* ================================================================
   12. EQUIPO CARDS
   ================================================================ */
.equipo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
}

.equipo-card {
    text-align: center;
    padding: 2rem 1.25rem;
    background: var(--white);
    border: 1px solid rgba(0,0,0,.04);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--dur-med), box-shadow var(--dur-med);
}

    .equipo-card:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-md);
    }

    .equipo-card .equipo-foto {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        object-fit: cover;
        border: 3px solid var(--cream-mid);
        margin: 0 auto .75rem;
        transition: border-color var(--dur-fast);
        cursor: pointer;
    }

    .equipo-card:hover .equipo-foto {
        border-color: var(--gold);
    }

    .equipo-card .equipo-nombre {
        font-family: var(--font-display);
        font-size: var(--fs-lg);
        font-weight: 600;
        color: var(--navy);
    }

    .equipo-card .equipo-cargo {
        font-size: 10px;
        font-weight: 600;
        letter-spacing: .08em;
        text-transform: uppercase;
        color: var(--gold-dark);
    }

.ekko-lightbox .modal-dialog {
    max-width: 700px;
}

.ekko-lightbox .modal-body {
    padding: 0;
}


/* ================================================================
   13. ADMIN TABLES
   ================================================================ */
.table-admin {
    width: 100%;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border-collapse: separate;
    border-spacing: 0;
}

    .table-admin thead th {
        font-size: 10px;
        font-weight: 700;
        letter-spacing: .1em;
        text-transform: uppercase;
        color: var(--white);
        background: var(--navy);
        padding: 12px 16px;
        border: none;
    }

        .table-admin thead th:first-child {
            border-radius: 10px 0 0 0;
        }

        .table-admin thead th:last-child {
            border-radius: 0 10px 0 0;
        }

    .table-admin tbody td {
        padding: 10px 16px;
        border-bottom: 1px solid var(--cream-dark);
        font-size: var(--fs-sm);
        vertical-align: middle;
    }

    .table-admin tbody tr:last-child td {
        border-bottom: none;
    }

    .table-admin tbody tr:hover {
        background: var(--gold-glow);
    }

    .table-admin .rank-number {
        font-family: var(--font-display);
        font-size: var(--fs-lg);
        font-weight: 700;
        color: var(--gold);
    }

    .table-admin .btn-action {
        padding: 3px 8px;
        font-size: var(--fs-xs);
        border-radius: 3px;
        border: none;
        cursor: pointer;
        font-weight: 600;
        transition: all var(--dur-fast);
    }

        .table-admin .btn-action.btn-edit {
            background: var(--gold-glow);
            color: var(--gold-dark);
        }

            .table-admin .btn-action.btn-edit:hover {
                background: var(--gold);
                color: var(--navy);
            }

        .table-admin .btn-action.btn-delete {
            background: rgba(184,50,48,.06);
            color: var(--danger);
        }

            .table-admin .btn-action.btn-delete:hover {
                background: var(--danger);
                color: var(--white);
            }


/* ================================================================
   14. FORMS
   ================================================================ */
.form-magazine {
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    padding: 2rem;
}

    .form-magazine label {
        font-size: var(--fs-sm);
        font-weight: 600;
        color: var(--navy);
    }

    .form-magazine .form-control {
        font-family: var(--font-body);
        font-size: var(--fs-base);
        background: var(--cream);
        border: 1px solid var(--cream-mid);
        border-radius: 6px;
        padding: 9px 14px;
        transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
    }

        .form-magazine .form-control:focus {
            background: var(--white);
            border-color: var(--gold);
            box-shadow: 0 0 0 2px var(--gold-glow);
            outline: none;
        }

    /* CKEditor */
    .form-magazine .ck.ck-toolbar {
        background: var(--cream) !important;
    }

    .form-magazine .ck.ck-editor__main > .ck-editor__editable {
        background: var(--cream) !important;
        min-height: 240px;
        font-family: var(--font-body) !important;
    }

    .form-magazine .ck.ck-editor__editable:focus {
        border-color: var(--gold) !important;
        box-shadow: 0 0 0 2px var(--gold-glow) !important;
    }

.btn-magazine {
    font-weight: 600;
    font-size: var(--fs-sm);
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 9px 24px;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--dur-fast);
}

    .btn-magazine.btn-primary-mag {
        background: var(--gold);
        color: var(--navy);
        border-color: var(--gold);
    }

        .btn-magazine.btn-primary-mag:hover {
            background: var(--gold-dark);
            border-color: var(--gold-dark);
            box-shadow: var(--shadow-gold);
        }


/* ================================================================
   15. BOOTSTRAP OVERRIDES
   ================================================================ */
.btn-primary {
    background-color: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
    font-weight: 600;
}

    .btn-primary:hover, .btn-primary:focus {
        background-color: var(--gold-dark);
        border-color: var(--gold-dark);
        color: var(--navy);
    }

.nav-pills .nav-link.active {
    background-color: var(--gold);
    color: var(--navy);
}

.badge-primary {
    background-color: var(--gold);
    color: var(--navy);
}

.badge-dark {
    background-color: var(--navy);
}

.card {
    border: none;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.modal-content {
    border: none;
    border-radius: 10px;
    box-shadow: var(--shadow-xl);
}

.modal-header {
    border-bottom-color: var(--cream-dark);
}

    .modal-header .modal-title {
        font-family: var(--font-display);
        font-weight: 600;
        color: var(--navy);
    }


/* ================================================================
   16. RESPONSIVE
   ================================================================ */
@media(max-width:991.98px) {
    h1 {
        font-size: var(--fs-3xl);
    }

    h2 {
        font-size: var(--fs-2xl);
    }

    .hero-featured {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-featured-image {
        aspect-ratio: 16/9;
    }

    .hero-featured-content {
        padding: 2rem 1.5rem;
    }

    .articles-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.25rem;
    }
}

@media(max-width:767.98px) {
    .top-bar-inner {
        flex-direction: column;
        height: auto;
        padding: 6px 15px;
        gap: 2px;
    }

    .top-bar-left {
        justify-content: center;
        flex-wrap: wrap;
    }

    .top-bar-right {
        justify-content: center;
        gap: .75rem;
    }

    nav.navbar {
        height: auto;
        min-height: 52px;
    }

        nav.navbar .navbar-brand {
            font-size: 1.3rem;
        }

        nav.navbar .form-inline .form-control {
            width: 130px;
        }

            nav.navbar .form-inline .form-control:focus {
                width: 160px;
            }

    .hero-featured-title {
        font-size: 1.4rem;
    }

    .hero-featured-excerpt {
        -webkit-line-clamp: 2;
    }

    .stats-inner {
        gap: 0;
    }

    .stat-item {
        padding: .5rem 1.5rem;
    }

    .stat-number {
        font-size: var(--fs-2xl);
    }

    .section-divider {
        margin: 3rem 0 1.5rem;
    }

        .section-divider h2 {
            font-size: var(--fs-xl);
        }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

        .newsletter-form button {
            width: 100%;
        }

    .equipo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    footer.footer .social-icons {
        justify-content: center;
    }
}

@media(max-width:480px) {
    h1 {
        font-size: var(--fs-2xl);
    }

    h2 {
        font-size: var(--fs-xl);
    }

    .hero-featured-content {
        padding: 1.5rem 1rem;
    }

    .hero-featured-title {
        font-size: 1.2rem;
    }

    .stat-item {
        padding: .4rem 1rem;
    }

    .equipo-grid {
        grid-template-columns: 1fr;
    }
}


/* ================================================================
   UTILITIES
   ================================================================ */
.text-gold {
    color: var(--gold) !important;
}

.text-navy {
    color: var(--navy) !important;
}

.bg-navy {
    background-color: var(--navy) !important;
}

.bg-cream {
    background-color: var(--cream) !important;
}

.divider-gold {
    height: 1px;
    background: linear-gradient(90deg, var(--gold), transparent);
    border: none;
    margin: 1.5rem 0;
}

.btn-scroll-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--gold);
    border: 1px solid rgba(201,168,76,.15);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-md);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--dur-med);
    z-index: 999;
}

    .btn-scroll-top.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .btn-scroll-top:hover {
        background: var(--gold);
        color: var(--navy);
    }

.alert-magazine {
    border-radius: 6px;
    border: none;
    padding: 1rem 1.5rem;
    font-size: var(--fs-sm);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: .5rem;
}

    .alert-magazine.alert-success-mag {
        background: rgba(31,140,78,.06);
        color: #166534;
        border-left: 3px solid var(--success);
    }

    .alert-magazine.alert-danger-mag {
        background: rgba(184,50,48,.06);
        color: #7f1d1d;
        border-left: 3px solid var(--danger);
    }

.skeleton {
    background: linear-gradient(90deg, var(--cream-dark) 25%, var(--cream) 50%, var(--cream-dark) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}


/* ================================================================
   PRINT
   ================================================================ */
@media print {
    .top-bar, .breaking-bar, nav.navbar, footer.footer,
    .newsletter-section, .publicidad-container, .btn-scroll-top {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }

    .articulo-card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
        break-inside: avoid;
    }
}
