/* ==========================================================================
   ENACEFIO - THEME: CYBER-LIGHT (Futurista, Limpio, Hexágonos & Circuitos)
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Paleta Cyber-Light */
    --bg-page: #f8fafc;
    --bg-surface: #ffffff;
    --bg-surface-elevated: #f1f5f9;
    --bg-navy: #091322;
    --bg-navy-surface: #0f1e36;
    
    /* Azules y Neones */
    --navy-deep: #0f172a;
    --navy-blue: #1e3a8a;
    --cyan-primary: #0284c7;
    --cyan-electric: #0ea5e9;
    --cyan-glow: #38bdf8;
    --cyan-light: #e0f2fe;
    --cyan-border: rgba(14, 165, 233, 0.25);
    
    /* Textos */
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-subtle: #64748b;
    --text-inverse: #f8fafc;
    
    /* Bordes y Líneas de Circuito */
    --border-light: #e2e8f0;
    --border-tech: rgba(14, 165, 233, 0.3);
    
    /* Tipografía */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-page);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.65;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    /* Patrón de hexágonos geométricos nítidos (TICKET-01 resuelto con SVG pattern) */
    background-image: 
        radial-gradient(circle at 100% 0%, rgba(14, 165, 233, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 0% 100%, rgba(30, 58, 138, 0.06) 0%, transparent 50%),
        url('/img/hex-pattern.svg?v=2');
    background-size: 100% 100%, 100% 100%, auto;
    background-position: 0 0, 0 0, 0 0;
    background-attachment: fixed;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ==========================================================================
   Header y Navegación Principal
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--navy-deep);
    letter-spacing: -0.02em;
}

.brand-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-blue) 50%, var(--cyan-primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
    position: relative;
    overflow: hidden;
}

.brand-icon::after {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    pointer-events: none;
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.2s ease;
    position: relative;
    padding: 0.25rem 0;
}

.nav-link:hover {
    color: var(--cyan-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cyan-electric);
    transition: width 0.2s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Botón Iniciar Sesión en Cabecera */
.nav-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 1.1rem;
    border-radius: 8px;
    background: var(--navy-deep);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none !important;
    border: none;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.12);
    transition: all 0.2s ease;
    position: relative;
}

.nav-login-btn::after {
    display: none !important;
}

.nav-login-btn:hover {
    background: var(--cyan-primary);
    color: #ffffff !important;
    text-decoration: none !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(2, 132, 199, 0.25);
}

/* Menú Desplegable de Usuario (Pastilla en Header) */
.user-dropdown-container {
    position: relative;
    display: inline-block;
    margin-left: 0.5rem;
}

.user-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 9999px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--navy-deep);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

.user-pill-btn:hover,
.user-dropdown-container:hover .user-pill-btn {
    background: #f8fafc;
    border-color: var(--cyan-primary);
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.15);
}

.user-pill-arrow {
    transition: transform 0.2s ease;
    color: #64748b;
}

.user-dropdown-container:hover .user-pill-arrow {
    transform: rotate(180deg);
    color: var(--cyan-primary);
}

.user-dropdown-popover {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 230px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
}

.user-dropdown-container:hover .user-dropdown-popover,
.user-dropdown-container:focus-within .user-dropdown-popover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-popover-info {
    padding: 0.6rem 1rem;
    display: flex;
    flex-direction: column;
}

.user-popover-nick {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--navy-deep);
}

.user-popover-email {
    font-size: 0.78rem;
    color: #64748b;
    word-break: break-all;
}

.user-popover-divider {
    height: 1px;
    background: #f1f5f9;
    margin: 0.4rem 0;
}

.user-popover-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 1rem;
    color: #334155;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none !important;
    transition: background 0.15s ease, color 0.15s ease;
}

.user-popover-link:hover {
    background: #f8fafc;
    color: var(--cyan-primary);
    text-decoration: none !important;
}

.user-popover-logout {
    color: #ef4444 !important;
}

.user-popover-logout:hover {
    background: #fef2f2 !important;
    color: #dc2626 !important;
}

.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    background: var(--cyan-light);
    color: var(--cyan-primary);
    border: 1px solid var(--border-tech);
    transition: all 0.2s ease;
    font-family: var(--font-mono);
}

.pill-badge:hover {
    background: var(--cyan-primary);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--navy-deep);
}

.mobile-menu-drawer {
    display: none;
    background: #ffffff;
    border-bottom: 1px solid var(--border-light);
    padding: 1.25rem 1.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.mobile-menu-drawer.open {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ==========================================================================
   Contenedores y Espaciados Generosos
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.section {
    padding: 6.5rem 0;
    position: relative;
}

.section-alt {
    background-color: #ffffff;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

/* ==========================================================================
   Hero Section Cyber-Futurista
   ========================================================================== */
.hero-wrapper {
    padding: 7rem 0 5rem;
    text-align: center;
    position: relative;
}

.tech-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    border: 1px solid var(--border-tech);
    padding: 0.4rem 1.1rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--cyan-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.1);
    margin-bottom: 1.75rem;
}

.tech-chip-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--cyan-electric);
    box-shadow: 0 0 8px var(--cyan-electric);
    animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-main-title {
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.035em;
    color: var(--navy-deep);
    max-width: 950px;
    margin: 0 auto 1.5rem;
}

.gradient-tech {
    background: linear-gradient(135deg, var(--navy-blue) 0%, var(--cyan-primary) 60%, var(--cyan-electric) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead {
    font-size: clamp(1.1rem, 2.2vw, 1.32rem);
    color: var(--text-muted);
    max-width: 760px;
    margin: 0 auto 2.75rem;
    line-height: 1.7;
}

.hero-cta-group {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   Botones con Estilo Cyber / Neomórfico Limpio
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.85rem;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-cyber-primary {
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-blue) 60%, var(--cyan-primary) 100%);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(2, 132, 199, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-cyber-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(2, 132, 199, 0.45);
    color: #ffffff;
}

.btn-cyber-outline {
    background: #ffffff;
    color: var(--navy-deep);
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.btn-cyber-outline:hover {
    border-color: var(--cyan-primary);
    color: var(--cyan-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.12);
}

/* ==========================================================================
   Encabezados de Sección
   ========================================================================== */
.section-header-block {
    margin-bottom: 3.5rem;
    position: relative;
}

.section-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--cyan-primary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    display: block;
    margin-bottom: 0.6rem;
}

.section-heading {
    font-size: clamp(1.85rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--navy-deep);
    letter-spacing: -0.025em;
    margin-bottom: 0.75rem;
}

.section-subtext {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 650px;
    line-height: 1.6;
}

/* ==========================================================================
   Tarjetas con Estilo Circuito / Cyber-Light & Scroll Horizontal
   ========================================================================== */
.cyber-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

/* Pista de Scroll Horizontal / Carrusel Táctil */
.scroll-track-container {
    position: relative;
}

.horizontal-scroll-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0.5rem 0.25rem 1.75rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--cyan-border) transparent;
}

.horizontal-scroll-track::-webkit-scrollbar {
    height: 6px;
}

.horizontal-scroll-track::-webkit-scrollbar-thumb {
    background-color: var(--cyan-border);
    border-radius: 9999px;
}

.horizontal-scroll-track .cyber-card {
    flex: 0 0 340px;
    scroll-snap-align: start;
    min-height: 380px;
}

.card-load-more {
    flex: 0 0 280px;
    scroll-snap-align: start;
    background: linear-gradient(135deg, rgba(255,255,255,0.7) 0%, rgba(241,245,249,0.9) 100%);
    border: 2px dashed var(--border-tech);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1.5rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.card-load-more:hover {
    border-color: var(--cyan-primary);
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(14, 165, 233, 0.12);
    transform: translateY(-3px);
}

.cyber-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

/* Franja superior con imagen de portada o color pastel */
.card-header-banner {
    height: 140px;
    width: calc(100% + 4.5rem);
    margin: -2.25rem -2.25rem 1.25rem -2.25rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 1px solid var(--border-light);
}

.card-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cyber-card:hover .card-banner-img {
    transform: scale(1.06);
}

.card-body-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Borde tecnológico superior sutil */
.cyber-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--cyan-electric), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.cyber-card:hover {
    transform: translateY(-5px);
    border-color: var(--cyan-border);
    box-shadow: 0 16px 36px rgba(14, 165, 233, 0.12);
}

.cyber-card:hover::before {
    opacity: 1;
}

/* Título limitado estrictamente a 2 líneas */
.card-headline {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--navy-deep);
    margin-bottom: 0.65rem;
    line-height: 1.35;
    letter-spacing: -0.015em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.7em;
}

/* Resumen limitado a 3 líneas */
.card-summary {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Tags como lista pequeña y discreta */
.card-tags-mini {
    font-size: 0.78rem;
    color: var(--text-subtle);
    font-family: var(--font-mono);
    margin-top: auto;
    padding-bottom: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-action-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--cyan-primary);
    border-top: 1px solid var(--border-light);
    padding-top: 1.15rem;
    transition: color 0.2s ease;
}

.cyber-card:hover .card-action-link {
    color: var(--navy-blue);
}

/* ==========================================================================
   Estilos Tipográficos de Artículos / Detalle (.article-body)
   ========================================================================== */
.article-body {
    font-size: 1.08rem;
    line-height: 1.8;
    color: #334155;
}

.article-body h2 {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--navy-deep);
    margin: 2.5rem 0 1rem;
    letter-spacing: -0.02em;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 0.5rem;
}

.article-body h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--navy-deep);
    margin: 2rem 0 0.85rem;
    letter-spacing: -0.015em;
}

.article-body h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy-deep);
    margin: 1.5rem 0 0.6rem;
}

.article-body p {
    margin-bottom: 1.35rem;
}

.article-body strong {
    color: var(--navy-deep);
    font-weight: 700;
}

.article-body ul, .article-body ol {
    margin: 0.5rem 0 1.5rem 1.75rem;
    padding-left: 0;
}

.article-body li {
    margin-bottom: 0.6rem;
    line-height: 1.65;
}

.article-body blockquote {
    border-left: 4px solid var(--cyan-primary);
    background: #f8fafc;
    padding: 1rem 1.35rem;
    border-radius: 0 10px 10px 0;
    color: #475569;
    font-style: italic;
    margin: 1.75rem 0;
}

.article-body code {
    background: #f1f5f9;
    color: #0284c7;
    font-family: var(--font-mono);
    font-size: 0.88em;
    padding: 0.2rem 0.45rem;
    border-radius: 6px;
    border: 1px solid var(--border-light);
}

.article-body pre {
    background: var(--navy-deep);
    color: #f8fafc;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    overflow-x: auto;
    margin: 1.75rem 0;
}

.article-body pre code {
    background: transparent;
    color: inherit;
    border: none;
    padding: 0;
}

.article-body a {
    color: var(--cyan-primary);
    text-decoration: underline;
    font-weight: 600;
}

.article-body a:hover {
    color: var(--navy-blue);
}

.article-body hr {
    border: none;
    border-top: 1px solid var(--border-light);
    margin: 2.5rem 0;
}

.article-figure {
    margin: 2.25rem 0;
    text-align: center;
}

.article-inline-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    display: inline-block;
}

.article-figure figcaption {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.65rem;
    font-style: italic;
}

.aio-banner {
    background: linear-gradient(135deg, var(--navy-deep) 0%, #172554 100%);
    border-radius: 20px;
    padding: 3rem;
    color: #ffffff;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
    position: relative;
    overflow: hidden;
}

.aio-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.aio-title {
    font-size: 1.85rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.aio-text {
    color: #94a3b8;
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 720px;
    margin-bottom: 1.75rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: #ffffff;
    border-top: 1px solid var(--border-light);
    padding: 3rem 0 2.5rem;
    margin-top: auto;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer-credits {
    font-size: 0.92rem;
    color: var(--text-muted);
}

.footer-nav {
    display: flex;
    gap: 1.75rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-muted);
    flex-wrap: wrap;
    align-items: center;
}

.footer-nav a:hover {
    color: var(--cyan-primary);
}

.footer-llms-link {
    color: var(--cyan-primary) !important;
    background: rgba(14, 165, 233, 0.08);
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    border: 1px solid rgba(14, 165, 233, 0.2);
    transition: all 0.2s ease;
}

.footer-llms-link:hover {
    background: rgba(14, 165, 233, 0.16);
    color: var(--cyan-hover) !important;
    border-color: var(--cyan-primary);
}

/* ==========================================================================
   Cabecera de Detalle: Portada con Crop Apaisado
   ========================================================================== */
.detail-cover-wrapper {
    width: 100%;
    height: clamp(200px, 34vw, 300px);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 3rem;
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    background: #f8fafc;
}

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

/* ==========================================================================
   Responsive Queries (Tablets, iPads, Móviles)
   ========================================================================== */
@media (max-width: 900px) {
    .nav-desktop {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .section {
        padding: 4.5rem 0;
    }
    
    .hero-wrapper {
        padding: 5rem 0 3.5rem;
    }
}

@media (max-width: 640px) {
    .cyber-grid {
        grid-template-columns: 1fr;
    }
    
    .aio-banner {
        padding: 2rem 1.5rem;
    }
}

/* ==========================================================================
   Hero Featured Slider (Full-Width Responsive)
   ========================================================================== */
.container-full {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

@media (max-width: 640px) {
    .container-full {
        padding: 0 0.5rem;
    }
}

.featured-slider-section {
    padding: 1.5rem 0 2.5rem 0;
    position: relative;
    z-index: 5;
}

.featured-slider-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.14);
    border: 1px solid var(--border-light);
    background: #0f172a;
}

.featured-slider {
    position: relative;
    width: 100%;
    height: clamp(380px, 48vw, 520px);
}

.featured-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.75s ease-in-out, transform 0.75s ease-in-out;
    transform: scale(1.03);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.featured-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
}

.featured-slide-content {
    padding: clamp(2rem, 4vw, 3.5rem) clamp(4rem, 7vw, 5.5rem);
    max-width: 950px;
    width: 100%;
    box-sizing: border-box;
    color: #ffffff;
    z-index: 3;
    position: relative;
}

.featured-slide-meta {
    display: flex;
    gap: 0.65rem;
    align-items: center;
    margin-bottom: 0.85rem;
    flex-wrap: wrap;
}

.featured-badge {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 800;
    padding: 0.25rem 0.7rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.4);
}

.featured-category {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.25rem 0.7rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.featured-date {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.82rem;
    font-weight: 500;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.featured-slide-title {
    font-size: clamp(1.5rem, 3.2vw, 2.5rem);
    font-weight: 900;
    line-height: 1.18;
    margin-bottom: 0.85rem;
    color: #ffffff;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.7);
    letter-spacing: -0.02em;
    max-width: 820px;
}

.featured-slide-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s;
}

.featured-slide-title a:hover {
    color: var(--cyan-electric);
}

.featured-slide-summary {
    font-size: clamp(0.92rem, 1.35vw, 1.12rem);
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
    max-width: 760px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 1.45rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s ease;
    padding: 0;
    line-height: 1;
    user-select: none;
}

.slider-arrow:hover {
    background: var(--cyan-primary);
    border-color: var(--cyan-primary);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.4);
}

.slider-arrow-prev {
    left: 1.25rem;
}

.slider-arrow-next {
    right: 1.25rem;
}

.slider-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.55rem;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    padding: 0;
    transition: all 0.35s ease;
}

.slider-dot.active {
    width: 32px;
    background: var(--cyan-electric);
    border-color: var(--cyan-electric);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
}

@media (max-width: 640px) {
    .featured-slider {
        height: 420px;
    }

    .featured-slide-content {
        padding: 1.5rem 3.25rem 2.5rem;
    }
    
    .slider-arrow {
        width: 32px;
        height: 32px;
        font-size: 1.25rem;
    }

    .slider-arrow-prev {
        left: 0.5rem;
    }

    .slider-arrow-next {
        right: 0.5rem;
    }
    
    .featured-slider-container {
        border-radius: 14px;
    }
}

