/* ============================================================================
   GRAN CANARIA BLOG - TURISMO
   Hoja de estilos unificada (extraida y limpiada desde WordPress + Elementor)
   ============================================================================ */

/* Tipografias (Google Fonts, sin dependencia de WordPress) */
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

/* ----------------------------------------------------------------------------
   RESET BASE (sustituye al reset.css de hello-elementor / Elementor frontend)
   ---------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; pointer-events: none; user-select: none; }
a { text-decoration: none; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; background: none; border: none; }
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: #1967af;
    color: #fff;
    padding: 10px 16px;
    z-index: 1000010;
}
.skip-link:focus { left: 0; }


/* ==============================================================================
   1. CABECERA / NAVEGACION (compartida entre paginas)
   ============================================================================== */

/* ==========================================================================
   1. CABECERA NATIVA (ESTADO INICIAL DE ESCRITORIO)
   ========================================================================== */
.gcblog-nav {
    width: 100%;
    height: 180px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000001;
    background-color: #ffffff !important;
    border-top: 6px solid #1967af !important; 
    box-sizing: border-box;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.gcblog-nav-wrapper {
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 44px 10px 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    transition: all 0.4s ease;
}

.gcblog-nav-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
    transition: all 0.4s ease;
}

.gcblog-nav-logo .gcblog-nav-logo-img {
    content: initial !important;
    width: 380px;
    height: auto !important;
    display: block;
    opacity: 0.95;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.gcblog-nav-list {
    list-style: none !important;
    padding: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    margin: 0 0 0 0 !important;
}

.gcblog-nav-list a {
    font-family: var(--gcblog-font-main) !important;
    font-size: 0.8rem !important; 
    font-weight: 300 !important;
    color: #1d1d1f !important;
    text-decoration: none !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase; 
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease; 
    padding-bottom: 4px;
    display: inline-block;
    border-bottom: 1px solid transparent;
    will-change: transform;
}

.gcblog-nav-list a:hover {
    color: #1967af !important;
    border-bottom-color: #1967af;
    transform: scale(1.05);
}

.gcblog-nav-search-item { display: flex; align-items: center; }

.gcblog-search-toggle {
    background: none !important;
    border: none !important;
    padding: 0 0 4px 0 !important;
    color: #1d1d1f !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: color 0.2s ease, transform 0.2s ease;
}
.gcblog-search-toggle:hover { color: #1967af !important; transform: scale(1.1); }
.gcblog-search-icon { width: 17px; height: 17px; }

/* Redes Sociales y Selector Idiomas Desktop */
.gcblog-nav-socials {
    display: flex;
    align-items: center;
    gap: 16px;
    position: absolute;
    right: 44px;
    transform: translateY(-4px);
    box-sizing: border-box;
    transition: all 0.4s ease;
}

.social-icon-link { 
    color: #515154 !important; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center;
    transition: color 0.2s ease; 
}

.social-icon-link svg { 
    width: 15px; 
    height: 15px; 
    display: block; 
    overflow: visible !important; 
    transform: scale(0.96); 
    transform-origin: center center;
}

.social-icon-link:hover { color: #1967af !important; }

.gcblog-lang-.elementor-9448 .elementor-element.elementor-element-ddf220e { position: relative; margin-left: 20px; display: flex; align-items: center; }
.gcblog-lang-current {
    background: none !important;
    border: none !important;
    color: #515154 !important; 
    font-family: var(--gcblog-font-main), sans-serif !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 0 0 4px 0 !important;
    line-height: 1;
}
.gcblog-lang-text { display: inline-block; padding: 6px 2px 0px 10px; letter-spacing: 0.02em; }

.gcblog-lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0; 
    background-color: #ffffff !important;
    border: 1px solid #e8e8ed !important;
    border-radius: 6px !important;
    padding: 4px 0 !important;
    list-style: none !important;
    min-width: 60px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
    z-index: 10000;
}
.gcblog-lang-option { display: block !important; padding: 4px 10px !important; color: #515154 !important; font-size: 0.75rem !important; text-align: center; text-decoration: none !important; }
.gcblog-lang-option:hover { background-color: #f5f5f7 !important; color: #1d1d1f !important; }
.gcblog-lang-.elementor-9448 .elementor-element.elementor-element-ddf220e:hover .gcblog-lang-dropdown { display: block !important; opacity: 1 !important; visibility: visible !important; transform: translateY(0) !important; }


/* ==========================================================================
   2. ELEMENTOR STICKY EFFECT (COMPORTAMIENTO ESCRITORIO CONTRÁCTIL)
   ========================================================================== */
.gcblog-nav.gcblog-nav--scrolled {
    height: 54px !important; 
    background-color: #1967afd6 !important;
    border-top: 0px solid transparent !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.gcblog-nav--scrolled .gcblog-nav-wrapper { flex-direction: row !important; padding: 0 44px; align-items: center !important; justify-content: space-between !important; }
.gcblog-nav--scrolled .gcblog-nav-logo { margin-bottom: 0 !important; justify-content: flex-start !important; }
.gcblog-nav--scrolled .gcblog-nav-logo-img { content: url("assets/img/logo-gran-canaria-blog-blanco-1.png") !important; width: 220px !important; animation: simularCaidaGcb 0.4s cubic-bezier(0.23, 1, 0.32, 1) forwards; }
.gcblog-nav--scrolled .gcblog-nav-list { gap: 24px !important; margin: 0 !important; }
.gcblog-nav--scrolled .gcblog-nav-list a { color: rgba(255, 255, 255, 0.9) !important; font-size: 0.7rem !important; }
.gcblog-nav--scrolled .gcblog-nav-list a:hover { color: #ffffff !important; border-bottom: 1px solid #ffffff; transform: scale(1.05); }
.gcblog-nav--scrolled .gcblog-search-toggle { color: rgba(255, 255, 255, 0.9) !important; }
.gcblog-nav--scrolled .gcblog-search-toggle:hover { color: #ffffff !important; }
.gcblog-nav--scrolled .gcblog-nav-socials { position: static !important; bottom: auto !important; right: auto !important; transform: none !important; color: #ffffff !important; }
.gcblog-nav--scrolled .social-icon-link, .gcblog-nav--scrolled .gcblog-lang-current { color: #ffffff !important; }

@keyframes simularCaidaGcb { 0% { opacity: 0; transform: translateY(-4px); } 100% { opacity: 1; transform: translateY(0); } }


/* ==========================================================================
   3. CONTROL ESTRICTO DE VISIBILIDAD DE LA CAJA DE BUSQUEDA
   ========================================================================== */
.gcblog-search-dropdown-bar { 
    position: absolute; 
    top: 100%; 
    left: 0; 
    width: 100%; 
    height: 80px; 
    background-color: #ffffff; 
    border-bottom: 1px solid #e8e8ed; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04); 
    display: flex !important; 
    align-items: center; 
    padding: 0 44px; 
    box-sizing: border-box; 
    z-index: -1; 
    opacity: 0 !important; 
    visibility: hidden !important; 
    pointer-events: none !important;
    transform: translateY(-20px); 
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important; 
}

.gcblog-search-dropdown-bar.is-open { 
    opacity: 1 !important; 
    visibility: visible !important; 
    pointer-events: auto !important;
    transform: translateY(0) !important; 
    z-index: 99999 !important;
}

.gcblog-search-container-inner { width: 100%; max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 20px; }
.gcblog-search-form { flex-grow: 1; }
.gcblog-search-input-wrapper { display: flex; align-items: center; gap: 12px; }
.gcblog-search-input-icon { width: 20px; height: 20px; color: #86868b; }
.gcblog-search-field { width: 100%; border: none !important; background: transparent !important; font-family: var(--gcblog-font-main) !important; font-size: 1.2rem !important; color: #1d1d1f !important; outline: none !important; }
.gcblog-search-close { background: none !important; border: none !important; color: #86868b !important; cursor: pointer; }
.gcblog-search-close svg { width: 18px; height: 18px; }


/* ==========================================================================
   4. SECCIONES OCULTAS EN ESCRITORIO
   ========================================================================== */
.gcblog-mobile-actions, 
.gcblog-mobile-search-btn, 
.gcblog-menu-toggle, 
.gcblog-mobile-overlay { 
    display: none !important; 
}


/* ==========================================================================
   📱 5. AISLAMIENTO EXCLUSIVO DE ESTILOS MÓVIL (MAX-WIDTH: 1024PX)
   ========================================================================== */
@media (max-width: 1024px) {
    .gcblog-mobile-actions { 
        display: flex !important; 
        align-items: center; 
        gap: 0px; 
        z-index: 1000002 !important; /* 🔥 CRUCIAL: Por encima del panel del pop-up siempre */
    }
    .gcblog-mobile-search-btn { display: flex !important; }
    .gcblog-menu-toggle { display: block !important; z-index: 1000003 !important; }
    .gcblog-mobile-overlay { display: flex !important; }

    .gcblog-nav-list, .gcblog-nav-socials { display: none !important; }

    /* Estructura Base Barra Móvil */
    .gcblog-nav {
        height: 70px !important;
        padding: 0 24px !important;
        border-top: 4px solid #1967af !important;
        z-index: 1000001 !important;
    }
    .gcblog-nav-wrapper {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0px 0px !important;
        height: 100% !important;
    }

    /* Redimensionado del logo azul original */
    .gcblog-nav-logo { margin-bottom: 0 !important; justify-content: flex-start !important; z-index: 1000002 !important; }
    .gcblog-nav-logo .gcblog-nav-logo-img { 
        width: 250px !important; 
        content: url("https://oscarrodrigo.com/wp-content/uploads/2026/06/logo-gran-canaria-blog-azul.png") !important; 
    }
    
    /* Cuando se abre el menú, obligamos a que el logo principal sea azul si estaba en modo sticky */
    .gcblog-menu-toggle.is-active ~ .gcblog-nav-logo .gcblog-nav-logo-img,
    .gcblog-nav-wrapper:has(.gcblog-menu-toggle.is-active) .gcblog-nav-logo-img {
        content: url("https://oscarrodrigo.com/wp-content/uploads/2026/06/logo-gran-canaria-blog-azul.png") !important;
    }

    /* Sticky Móvil (Fondo azul de Elementor) */
    .gcblog-nav--scrolled .gcblog-nav-logo-img { 
        content: url("assets/img/logo-gran-canaria-blog-blanco-1.png") !important; 
        width: 220px !important; 
    }
    .gcblog-nav--scrolled .gcblog-mobile-search-btn { color: #ffffff !important; }
    
    /* Lupa Header Móvil */
    .gcblog-mobile-search-btn {
        background: transparent !important;
        border: none !important;
        color: #1d1d1f !important;
        padding: 8px !important;
        cursor: pointer;
        align-items: center;
    }
    .gcblog-mobile-search-btn .gcblog-search-icon { width: 20px; height: 20px; }

    /* Hamburguesa Estilos */
    .gcblog-menu-toggle { background: transparent !important; border: none !important; cursor: pointer; padding: 8px !important; }
    .hamburger-box { width: 18px; height: 18px; display: inline-block; position: relative; }
    .hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
        width: 18px; height: 2px; background-color: #1d1d1f; position: absolute; border-radius: 4px;
        transition: transform 0.25s ease, background-color 0.2s ease;
    }
    .hamburger-inner { top: 65%; transform: translateY(-50%); }
    .hamburger-inner::before { content: ""; top: -7px; left: 0; }
    .hamburger-inner::after { content: ""; bottom: -7px; left: 0; }

    /* Hamburguesa reactiva a Sticky */
    .gcblog-nav--scrolled .hamburger-inner,
    .gcblog-nav--scrolled .hamburger-inner::before,
    .gcblog-nav--scrolled .hamburger-inner::after {
        background-color: #ffffff !important;
    }

    /* 🔥 Transición a Cruz (Fuerza color oscuro sobre el pop-up blanco) */
    .gcblog-menu-toggle.is-active .hamburger-inner { background-color: transparent !important; }
    .gcblog-menu-toggle.is-active .hamburger-inner::before { transform: translateY(7px) rotate(45deg); background-color: #1d1d1f !important; }
    .gcblog-menu-toggle.is-active .hamburger-inner::after { transform: translateY(-7px) rotate(-45deg); background-color: #1d1d1f !important; }
    .gcblog-menu-toggle.is-active .gcblog-mobile-search-btn { color: #1d1d1f !important; }

    /* Ajuste Posición de Caja del Buscador en Móvil */
    .gcblog-search-dropdown-bar { top: 70px !important; height: 65px !important; padding: 0 24px !important; }
    .gcblog-nav--scrolled .gcblog-search-dropdown-bar { top: 54px !important; }

    /* Panel Pop-up Móvil */
    .gcblog-mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: #ffffff;
        z-index: 1000000 !important; /* Justo debajo de los botones de control */
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 48px; 
        padding: 130px 40px 60px 40px;
        box-sizing: border-box;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-15px);
        transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    }
    .gcblog-mobile-overlay.is-open { opacity: 1; visibility: visible; transform: translateY(0); }

    /* Maqueta decorativa superior para simular la continuidad de la barra */
    .gcblog-popup-header-mock {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 70px;
        border-top: 4px solid #1967af;
        background-color: #ffffff;
        pointer-events: none !important;
        z-index: -1;
    }

    /* Enlaces internos del pop-up */
    .gcblog-mobile-nav-list { list-style: none !important; padding: 0 !important; margin: 0 !important; display: flex; flex-direction: column; align-items: center; gap: 24px; }
    .gcblog-mobile-nav-list a { font-family: var(--gcblog-font-main) !important; font-size: 1.05rem !important; font-weight: 400 !important; color: #1d1d1f !important; text-decoration: none !important; text-transform: uppercase; letter-spacing: 0.1em; }

    /* Selector de Idiomas Pop-up */
    .gcblog-mobile-lang-wrapper { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; border-top: 1px solid #e8e8ed; padding-top: 18px; border-bottom: 1px solid #e8e8ed; padding-bottom: 18px; }
    .gcblog-mobile-lang-list { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
    .gcblog-mobile-lang-item { font-family: var(--gcblog-font-main) !important; font-size: 0.8rem !important; font-weight: 500 !important; color: #86868b !important; text-decoration: none !important; padding: 6px 10px; border-radius: 4px; }
    .gcblog-mobile-lang-item.active, .gcblog-mobile-lang-item:hover { color: #1967af !important; background-color: #f5f5f7; }
    
    /* Redes sociales Pop-up */
    .gcblog-mobile-socials { display: flex !important; justify-content: center; align-items: center; gap: 12px; width: 100%; margin-top: -24px; }
    .mobile-social-icon-link { color: #515154 !important; display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; }
    .mobile-social-icon-link svg { width: 16px; height: 16px; display: block; }
    .mobile-social-icon-link:active { color: #1967af !important; }
}

/* ==========================================================================
   🔄 FIJADO GLOBAL DE SEGURIDAD PARA ICONOS SOCIALES
   ========================================================================== */
.social-icon-link {
    color: #515154 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.social-icon-link svg { display: block !important; overflow: visible !important; transform: scale(0.96) !important; transform-origin: center center !important; }

@media (max-width: 768px) {
    .social-icon-link svg { width: 18px !important; height: 18px !important; }
    .gcblog-nav-socials, [class*="popup"] .social-icon-link, [class*="mobile"] .social-icon-link { gap: 20px !important; }
}


/* ==============================================================================
   2. VARIABLES GLOBALES, TIPOGRAFIA Y HERO/GRID BASE (compartido)
   ============================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

/* ==========================================================================
   1. VARIABLES GLOBALES Y PILAS TIPOGRÁFICAS
   ========================================================================== */
:root {
    /* Fuente para textos base, párrafos y metadatos */
    --gcblog-font-main: 'Nunito Sans', sans-serif;
    
    /* Nueva fuente para titulares (Estilo editorial, estilizado y premium) */
    --gcblog-font-stack: 'Raleway', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ==========================================================================
   2. REGLAS GLOBALES PARA TEXTOS NO-TITULARES
   ========================================================================== */
p, a, li, span, small, label, input, button {
    font-family: var(--gcblog-font-main) !important;
    font-weight: 300 !important; /* Variante Light */
}



/* ==========================================================================
   4. ARQUITECTURA DE LA HOME (HERO Y CONTENEDOR)
   ========================================================================== */
.gcblog-home-container {
    width: 100%;
    background-color: #ffffff;
    box-sizing: border-box;
}

/* ==========================================================================
   SECCIONES DE IMPACTO (HERO CON EFECTO KEN BURNS)
   ========================================================================== */
.gcblog-hero {
    width: 100%;
    height: calc(90vh - 180px);
    min-height: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end; /* Alinea el contenido abajo */
    position: relative;
    box-sizing: border-box;
    margin-bottom: 12px;
    /* EMPUJAMOS EL HERO hacia abajo para que el menú fixed no lo tape (Escritorio) */
    margin-top: 180px !important;

    /* REQUISITO KEN BURNS: Escondemos el desborde de la imagen al crecer */
    overflow: hidden; 
}

/* PSEUDO-ELEMENTO: Capa exclusiva para la imagen en movimiento */
.gcblog-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: inherit; /* Hereda automáticamente la imagen de fondo asignada en Elementor */
    background-size: cover;
    background-position: center;
    z-index: 0;
    
    /* DISPARADOR DE LA ANIMACIÓN: 
       20 segundos de duración para que sea MUY sutil, lineal e infinita */
    animation: gcblogKenBurns 20s linear infinite alternate;
    will-change: transform; /* Avisa al navegador para optimizar la GPU */
}

/* CAPA EXTRA PARA EL DEGRADADO OSCURO (HERO) */
.gcblog-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0) 100%);
    z-index: 1; /* Por encima de la imagen (::before) y por debajo del texto */
}

.hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    margin-bottom: 60px; 
    z-index: 2; /* Por encima de todo para mantener la legibilidad intacta */
}


/* ==========================================================================
   KEYFRAMES: ANIMACIÓN KEN BURNS EDITORIAL
   ========================================================================== */
@keyframes gcblogKenBurns {
    0% {
        /* Estado inicial: tamaño normal y centrado */
        transform: scale(1) translate(0, 0);
    }
    100% {
        /* Estado final: un zoom muy ligero del 6% con un levísimo desplazamiento 
           horizontal y vertical para dar dinamismo orgánico */
        transform: scale(1.06) translate(1%, -0.5%);
    }
}

.hero-title {
    font-family: var(--gcblog-font-stack) !important;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: -0.022em;
    line-height: 1.07;
}

.hero-subtitle {
    font-family: var(--gcblog-font-main) !important;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 18px;
    letter-spacing: -0.015em;
    line-height: 1.25;
}

/* Modificadores cromáticos globales */
.hero-dark, .item-dark { color: #f5f5f7; }
.hero-dark .hero-title, .item-dark .grid-title { color: #ffffff; }

.hero-light, .item-light { color: #1d1d1f; }
.hero-light .hero-title, .item-light .grid-title { color: #000000; }

/* REPOSITORIO DE BOTONES Y ACCIONES */
.hero-actions, .grid-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 22px;
    z-index: 2;
}

.btn-gcblog-primary, .btn-gcblog-secondary {
    font-family: var(--gcblog-font-main) !important;
    font-size: 0.85rem;
    font-weight: 400;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.btn-gcblog-primary {
    color: #0066cc !important;
}
.btn-gcblog-primary:hover {
    text-decoration: underline !important;
}

.btn-gcblog-secondary {
    color: #fff !important;
    border: 1px solid #fff;
    padding: 4px 18px;
    border-radius: 20px;
}
.btn-gcblog-secondary:hover {
    background-color: #fff;
    color: #000 !important;
}

/* REGLA PRO DE LECTURA: Botón secundario blanco sobre fondos oscuros oscurecidos por el scrim */
.item-dark .btn-gcblog-secondary {
    color: #ffffff !important;
    border-color: #ffffff;
}
.item-dark .btn-gcblog-secondary:hover {
    background-color: #ffffff;
    color: #000000 !important;
}

/* ==========================================================================
   5. LA REJILLA DE PRODUCTO (GRID ACTUALIZADO ESTILO HERO)
   ========================================================================== */
.gcblog-grid {
    margin: 0 auto;
    width: 100%;
    max-width: 1080px;
    padding: 60px 0 30px 0;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.grid-box {
    height: 400px;
    position: relative;        /* Obligatorio para anclar el overlay dentro */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end; /* NUEVO: Empuja el contenido al fondo */
    box-sizing: border-box;
    border-radius: 18px;
    
    /* MODIFICACIONES PARA EL ZOOM PERFECTO */
    overflow: hidden;          /* Recorta la imagen para que no se salga de las esquinas redondeadas */
    cursor: pointer;
}

/* NUEVO PSEUDO-ELEMENTO: Maneja la imagen de fondo de forma aislada */
.grid-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: inherit; /* Hereda automáticamente la imagen que le pongas al .grid-box */
    background-size: cover;
    background-position: center;
    z-index: 0;                /* Se queda abajo del todo */
    
    /* Transición suave para la vuelta al estado original (cuando quitas el ratón) */
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); 
}

/* EFECTO HOVER: Hace zoom únicamente a la capa de la imagen */
.grid-box:hover::before {
    transform: scale(1.08);    /* Un 8% de zoom. Ajusta a 1.1 si quieres que se note más */
}

/* NUEVA CAPA EN EL GRID: Degradado oscuro ascendente de lectura */
.gcblog-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;                /* Por encima de la imagen (::before) */
    border-radius: 18px;
    pointer-events: none;      /* Evita que interfiera con los clics */
}

.grid-content {
    text-align: center;
    max-width: 450px;
    padding: 0 20px;
    margin-bottom: 20px; /* NUEVO: El colchón de separación inferior de los textos */
    z-index: 2;          /* Fuerza la superposición sobre el degradado */
}

.grid-title {
    font-family: var(--gcblog-font-stack) !important;
    font-size: 1.85rem;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
    line-height: 1.85rem;
}

.grid-subtitle {
    font-family: var(--gcblog-font-main) !important;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 15px;
    letter-spacing: -0.01em;
    line-height: 1.25rem;
}

/* ==========================================================================
   METADATOS DE CONTENIDO (FECHA, TAGS, LECTURA)
   ========================================================================== */
.gcblog-meta-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 0px; /* Separación sutil antes del titular */
    z-index: 2;          /* Garantiza estar sobre el overlay oscuro */
}

.gcblog-meta-item {
    font-family: var(--gcblog-font-main) !important;
    font-size: 0.65rem !important;
    font-weight: 400 !important;
    color: rgba(245, 245, 247, 0.75) !important; /* Blanco/gris translúcido estilo Apple */
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.02em;
    text-transform: uppercase; /* Le da el toque editorial de revista */
}

.gcblog-meta-item svg {
    width: 14px;
    height: 14px;
    display: block;
    color: rgba(245, 245, 247, 0.6) !important;
}

/* Ajuste responsive para pantallas pequeñas */
@media (max-width: 768px) {
    .gcblog-meta-wrapper {
        gap: 12px;
        margin-bottom: 6px;
    }
    .gcblog-meta-item {
        font-size: 0.75rem !important;
    }
    .gcblog-meta-item svg {
        width: 12px;
        height: 12px;
    }
}



/* ==========================================================================
   6. COMPORTAMIENTO RESPONSIVE (MÓVIL ACTUALIZADO)
   ========================================================================== */
@media (max-width: 768px) {
    .gcblog-nav-list {
        display: none;
    }
    .gcblog-nav-socials {
        gap: 12px;
    }
    .social-icon-link svg {
        width: 14px;
        height: 14px;
    }
    
    /* 🌟 AJUSTE QUIRÚRGICO DE POSICIÓN Y ALTURA MÓVIL DEL HERO */
    .gcblog-hero {
        margin-top: 30px !important;       /* Coloca el hero justo al ras del header móvil */
        height: calc(85vh - 30px) !important; /* Altura óptima para pantallas táctiles */
        min-height: 440px !important;       /* Previene colapso en móviles muy compactos */
    }

    .hero-content {
        margin-bottom: 40px;                /* Reduce sutilmente el margen inferior en móvil */
    }

    .hero-title { font-size: 2.2rem; }      /* Calibrado editorial para legibilidad en 1 col */
    .hero-subtitle { font-size: 1.1rem; }
    
    .gcblog-grid {
        grid-template-columns: 1fr;
        padding: 12px;
    }
    
    .grid-box { height: 400px; }
    .grid-title { font-size: 1.8rem; }
    .grid-subtitle { font-size: 1rem; }
}


/* ==============================================================================
   3. HOME - SECCION DESTACADOS (slider 2 columnas)
   ============================================================================== */

/* ==========================================================================
   SECCIÓN EN FORMATO SLIDER SIMÉTRICO (MASCARA DE RECORRIDO)
   ========================================================================== */
body.page-home .gcblog-grid2c-section.gcblog-clear-style {
    position: relative;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 60px 0 30px 0;
    background-color: #ffffff;
    box-sizing: border-box;
}

body.page-home .gcblog-grid2c-header {
    margin-bottom: 32px;
}

body.page-home .gcblog-grid2c-section-title {
    font-family: var(--gcblog-font-stack) !important;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: -0.015em;
    margin: 0;
}

/* --- MÁSCARA DEL SLIDER (REEMPLAZA AL ANTIGUO GRID) --- */
body.page-home .gcblog-grid2c-wrapper {
    width: 100%;
    overflow: hidden; /* Corta las tarjetas que quedan fuera del área visible */
    box-sizing: border-box;
}

/* El canal horizontal que moverá JavaScript */
body.page-home .gcblog-slider-track {
    display: flex;
    gap: 36px; /* Mantenemos tus 36px exactos de separación */
    width: 100%;
    scroll-behavior: smooth; /* Deslizamiento elástico nativo */
    overflow-x: auto;
    scrollbar-width: none; /* Oculta barra en Firefox */
}

body.page-home .gcblog-slider-track::-webkit-scrollbar {
    display: none; /* Oculta barra en Chrome/Safari */
}

/* --- TARJETA OPTIMIZADA (MUTACIÓN A ANCHO DINÁMICO) --- */
body.page-home .gcblog-event-card-clear.gcblog-grid2c-item {
    display: flex;
    flex-direction: column;
    /* Divide el contenedor en dos restando la mitad de la separación */
    width: calc((100% - 36px) / 2); 
    flex-shrink: 0; /* Escudo para que las tarjetas mantengan su ancho real */
    text-decoration: none !important;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 18px;
    background-color: #f5f5f7; 
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

body.page-home .gcblog-event-card-clear.gcblog-grid2c-item:hover {
    transform: scale(0.985);
}

/* Miniatura: Restaurada con tus 360px fijos */
body.page-home .gcblog-grid2c-thumb {
    width: 100%;
    height: 360px; 
    background-size: cover;
    background-position: center;
    display: block;
    flex-shrink: 0; 
}

/* Área de contenido de texto interna */
body.page-home .gcblog-grid2c-text-area {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    box-sizing: border-box;
}

/* --- ESTILOS TIPOGRÁFICOS ÍNTEGROS --- */
body.page-home .gcblog-grid2c-title-clear {
    font-family: var(--gcblog-font-stack) !important;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0 0 8px 0;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

body.page-home .gcblog-grid2c-excerpt {
    font-family: var(--gcblog-font-main) !important;
    font-size: 0.85rem !important;
    font-weight: 300;
    color: #515154 !important;
    line-height: 1.45 !important;
    margin: 0 0 16px 0;
}

body.page-home .gcblog-grid2c-link-btn-clear {
    font-family: var(--gcblog-font-main) !important;
    font-size: 0.85rem;
    color: #0066cc;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-weight: 400;
    margin-top: auto; /* Alineación perfecta al fondo de la caja */
}

/* --- ENTORNO DE METADATOS INTEGRADO --- */
body.page-home .gcblog-grid2c-meta.gcblog-meta-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-bottom: 12px;
    gap: 12px;
}

body.page-home .gcblog-grid2c-meta .gcblog-meta-item {
    font-family: var(--gcblog-font-main) !important;
    color: #515154 !important; 
    font-size: 0.6rem !important;
    font-weight: 500 !important;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

body.page-home .gcblog-grid2c-meta .gcblog-meta-item svg {
    color: #86868b !important;
    width: 13px;
    height: 13px;
    display: block;
}

/* --- PUNTOS DE NAVEGACIÓN COHESIONADOS (CENTRADOS AL 100%) --- */
body.page-home .gcblog-slider-dots {
    display: flex;
    justify-content: center; /* Centrado absoluto horizontal */
    gap: 8px;
    margin-top: 20px;
    width: 100%;
}

body.page-home .gcblog-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #d2d2d7;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

body.page-home .gcblog-slider-dot:hover {
    background-color: #0a69b3;
    transform: scale(1.2);
}

body.page-home .gcblog-slider-dot.active {
    background-color: #0a69b3;
    transform: scale(1.2);
}

/* --- BOTÓN CARGAR MÁS (POR SI SE CONSERVA EN EL FUTURO) --- */
body.page-home .gcblog-grid2c-loadmore-container {
    display: flex;
    justify-content: center;
    align-items: center;     
    width: 100%;
    padding: 40px 0 10px 0;  
    box-sizing: border-box;
}

body.page-home .gcblog-grid2c-loadmore-btn {
    font-family: var(--gcblog-font-main), sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1d1d1f;
    background-color: #f5f5f7;
    border: none;
    padding: 14px 32px;
    border-radius: 28px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

body.page-home .gcblog-grid2c-loadmore-btn:hover {
    background-color: #e8e8ed;
    transform: translateY(-1px);
    color: #1d1d1f;
}

body.page-home .gcblog-grid2c-loadmore-btn:active {
    transform: translateY(1px);
}

body.page-home .gcblog-grid2c-loadmore-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease;
}

body.page-home .gcblog-grid2c-loadmore-btn:hover .gcblog-grid2c-loadmore-icon {
    transform: translateY(2px);
}

/* Añade efecto imán al contenedor */
body.page-home .gcblog-slider-track {
    scroll-snap-type: x mandatory;
}

/* Dile a las tarjetas dónde deben encajar al frenar */
body.page-home .gcblog-event-card-clear.gcblog-grid2c-item {
    scroll-snap-align: start;
}

/* ==========================================================================
   RESPONSIVE (BAJADA AUTOMATICA A 1 COLUMNA EN MÓVILES)
   ========================================================================== */
@media (max-width: 768px) {
    body.page-home .gcblog-slider-track {
        gap: 20px; /* Reducción de separación en pantallas táctiles */
    }
    body.page-home .gcblog-event-card-clear.gcblog-grid2c-item {
        width: 100%; /* Una sola caja visible por pantalla en móvil */
    }
    body.page-home .gcblog-grid2c-section-title {
        font-size: 1.8rem;
    }
    body.page-home .gcblog-grid2c-text-area {
        padding: 20px;
    }
    body.page-home .gcblog-grid2c-thumb {
        height: 320px; /* Miniatura más compacta en smartphone */
    }
    body.page-home .gcblog-grid2c-section.gcblog-clear-style {
    padding: 60px 20px 30px 20px;
    }
}


/* ==============================================================================
   4. HOME - SECCION MASONRY (grid de posts)
   ============================================================================== */

/* ==========================================================================
   SECCIÓN EN FORMATO MURO
   ========================================================================== */
.gcblog-masonry-section.gcblog-clear-style {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 30px 0 60px 0;
    background-color: #ffffff;
    box-sizing: border-box;
}

.gcblog-masonry-header {
    margin-bottom: 32px;
}

.gcblog-masonry-section-title {
    font-family: var(--gcblog-font-stack) !important;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: -0.015em;
    margin: 0;
}

/* El contenedor del muro distribuye los elementos en columnas fluidas */
.gcblog-masonry-wrapper {
    column-count: 3; /* Número de columnas en escritorio */
    column-gap: 36px; /* Separación horizontal entre columnas */
    width: 100%;
}

/* Tarjeta optimizada para comportamiento de flujo vertical */
.gcblog-event-card-clear.gcblog-masonry-item {
    display: inline-block; /* OBLIGATORIO: Cambiar flex/block por inline-block para Masonry */
    width: 100%;
    margin-bottom: 24px; /* Separación vertical entre cajas del muro */
    break-inside: avoid; /* CRÍTICAL: Impide que la tarjeta se fracture entre columnas */
    text-decoration: none !important;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 18px;
    background-color: #f5f5f7; 
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.gcblog-event-card-clear.gcblog-masonry-item:hover {
    transform: scale(0.985);
}

/* El alto ahora se define de manera maleable mediante estilos en línea en el HTML */
.gcblog-event-card-thumb {
    width: 100%;
    background-size: cover;
    background-position: center;
    display: block;
}

.gcblog-event-card-text-area {
    padding: 24px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}


/* Tipografías del Post */
.gcblog-event-title-clear {
    font-family: var(--gcblog-font-stack) !important;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0 0 8px 0;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.gcblog-event-excerpt {
    font-family: var(--gcblog-font-main) !important;
    font-size: 0.85rem !important;
    font-weight: 300;
    color: #515154 !important;
    line-height: 1.45 !important;
    margin: 0 0 16px 0; /* Un poco menos de margen inferior ya que no fuerza el push del flex */
}

.gcblog-event-link-btn-clear {
    font-family: var(--gcblog-font-main) !important;
    font-size: 0.85rem;
    color: #0066cc;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-weight: 400;
}

/* ENTORNO OSCURO DE METADATOS (Alineado a la izquierda) */
.gcblog-dark-meta.gcblog-meta-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-bottom: 12px;
    gap: 12px;
}

.gcblog-dark-meta .gcblog-meta-item {
    font-family: var(--gcblog-font-main) !important;
    color: #515154 !important; 
    font-size: 0.6rem !important;
    font-weight: 500 !important;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.gcblog-dark-meta .gcblog-meta-item svg {
    color: #86868b !important;
    width: 13px;
    height: 13px;
    display: block;
}

/* Estilo del botón (Sutil, limpio y moderno) */
/* Contenedor del botón (Forzamos centrado absoluto con Flexbox) */
.gcblog-loadmore-container {
    display: flex;
    justify-content: center; /* Centrado horizontal */
    align-items: center;     /* Centrado vertical */
    width: 100%;
    padding: 30px 0 10px 0;  /* Aumentamos un poco el espacio superior para que respire respecto al bloque masonry */
    box-sizing: border-box;
}

/* Estilo del botón (Mantenemos tu diseño limpio) */
.gcblog-loadmore-btn {
    font-family: var(--gcblog-font-main), sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1d1d1f;
    background-color: #f5f5f7;
    border: none;
    padding: 14px 32px;
    border-radius: 28px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.gcblog-loadmore-btn:hover {
    background-color: #e8e8ed;
    transform: translateY(-1px);
    color: #1d1d1f;
}

.gcblog-loadmore-btn:active {
    transform: translateY(1px);
}

/* Icono de flecha hacia abajo */
.gcblog-loadmore-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease;
}

.gcblog-loadmore-btn:hover .gcblog-loadmore-icon {
    transform: translateY(2px);
}

/* ==========================================================================
   RESPONSIVE (BAJADA DE COLUMNAS SEGÚN DISPOSITIVO)
   ========================================================================== */
@media (max-width: 992px) {
    .gcblog-masonry-wrapper {
        column-count: 2; /* 2 columnas en pantallas medianas y tabletas */
        column-gap: 20px;
    }
    .gcblog-event-card-clear.gcblog-masonry-item {
        margin-bottom: 20px;
    }
    
    .gcblog-masonry-section.gcblog-clear-style {
    padding: 30px 20px 60px 20px;
    }
}

@media (max-width: 600px) {
    .gcblog-masonry-wrapper {
        column-count: 1; /* 1 sola columna vertical en teléfonos */
    }
    .gcblog-grid-section-title {
        font-size: 1.8rem;
    }
    .gcblog-event-card-text-area {
        padding: 20px;
    }
}


/* ==============================================================================
   5. HOME - SECCION TAGS / CATEGORIAS - NUBE DE TAGS 
   ============================================================================== */

.gcblog-tags-section.gcblog-clear-style {
    width: 100%;
    padding: 60px 22px;
    box-sizing: border-box;
    background-color: #f5f5f7;

}

.gcblog-tags-section-wrapper{
    max-width: 1080px;
    margin: 0 auto;
}

/* ==========================================================================
   CABECERA DE ETIQUETAS
   ========================================================================== */
.gcblog-tags-header {
    width: 100%;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
}

.gcblog-tags-profile {
    display: flex;
    align-items: center;
    gap: 14px; 
}

/* Icono de etiquetas */
.gcblog-tags-icon {
    width: 36px; 
    height: 36px;
    color: #1d1d1f; 
    display: block;
}

.gcblog-tags-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gcblog-tags-section-title {
    font-family: var(--gcblog-font-stack) !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #1d1d1f !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.01em;
}

.gcblog-tags-subtitle {
    font-family: var(--gcblog-font-main), sans-serif !important;
    font-size: 0.85rem !important;
    font-weight: 400 !important;
    color: #86868b !important; 
    margin-top: 2px !important;
    letter-spacing: 0.01em;
}

/* Contenedor Flex */
.gcblog-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px; /* Espaciado uniforme horizontal y vertical entre botones */
    align-items: center; 
    width: 100%;
}

/* Estilo Base del Botón Tag */
.gcblog-tag-btn {
    font-family: var(--gcblog-font-main) !important;
    text-decoration: none !important;
    color: #1d1d1f !important;
    background-color: #f5f5f7; /* Fondo gris claro */
    border-radius: 20px; /
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: -0.01em;
    box-sizing: border-box;
    transition: 
        background-color 0.2s cubic-bezier(0.25, 1, 0.5, 1), 
        transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Efecto hover interactivo */
.gcblog-tag-btn:hover {
    background-color: #e8e8ed;
    transform: translateY(-1px);
}

/* ==========================================================================
   ESCALAS DE IMPORTANCIA (PROPORCIÓN DE TAMAÑOS)
   ========================================================================== */

/* Nivel 1: Importancia Máxima */
.gcblog-tag-btn.gc-tag-max {
    font-size: 1.05rem !important;
    font-weight: 500 !important;
    padding: 10px 20px;
    border-radius: 24px;
}

/* Nivel 2: Importancia Media */
.gcblog-tag-btn.gc-tag-med {
    font-size: 0.95rem !important;
    font-weight: 400 !important;
    padding: 8px 16px;
}

/* Nivel 3: Importancia Mínima */
.gcblog-tag-btn.gc-tag-min {
    font-size: 0.85rem !important;
    font-weight: 300 !important;
    padding: 6px 12px;
    color: #515154 !important; /* Texto ligeramente más suave para menor peso visual */
}

/* ==========================================================================
   NUBE DE TAGS: PALETA DE COLORES CORPORATIVOS (DOBLE ESTADO)
   ========================================================================== */

/* --- 1. AZUL (#1967af) --- */
.gcblog-tag-btn.tag-azul {
    background-color: rgba(25, 103, 175, 0.25);
    color: #1967af !important;
}
.gcblog-tag-btn.tag-azul:hover {
    background-color: #1967af !important;
    color: #ffffff !important;
}

/* --- 2. CELESTE (#1892d1) --- */
.gcblog-tag-btn.tag-celeste {
    background-color: rgba(24, 146, 209, 0.25);
    color: #1892d1 !important;
}
.gcblog-tag-btn.tag-celeste:hover {
    background-color: #1892d1 !important;
    color: #ffffff !important;
}

/* --- 3. AMARILLO (#feda00) --- */
.gcblog-tag-btn.tag-amarillo {
    /* El amarillo necesita un poco más de presencia de fondo */
    background-color: rgba(254, 218, 0, 0.25); 
    color: #c4a800 !important; /* Tono de texto sutilmente más oscuro para legibilidad */
}
.gcblog-tag-btn.tag-amarillo:hover {
    background-color: #feda00 !important;
    color: #1d1d1f !important; /* Letras oscuras en hover para que se lea perfectamente */
}

/* --- 4. VERDE (#1aa238) --- */
.gcblog-tag-btn.tag-verde {
    background-color: rgba(26, 162, 56, 0.25);
    color: #1aa238 !important;
}
.gcblog-tag-btn.tag-verde:hover {
    background-color: #1aa238 !important;
    color: #ffffff !important;
}

/* --- 5. LIMA (#bccb15) --- */
.gcblog-tag-btn.tag-lima {
    background-color: rgba(188, 203, 21, 0.25);
    color: #8b9605 !important; /* Contraste ajustado para lectura */
}
.gcblog-tag-btn.tag-lima:hover {
    background-color: #bccb15 !important;
    color: #1d1d1f !important; /* Letras oscuras para mantener legibilidad */
}

/* --- 6. GRIS (#333333) --- */
.gcblog-tag-btn.tag-gris {
    background-color: rgba(51, 51, 51, 0.15);
    color: #333333 !important;
}
.gcblog-tag-btn.tag-gris:hover {
    background-color: #333333 !important;
    color: #ffffff !important;
}

.gcblog-tag-btn {
    transition: 
        background-color 0.25s cubic-bezier(0.25, 1, 0.5, 1), 
        color 0.25s cubic-bezier(0.25, 1, 0.5, 1),
        transform 0.25s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

/* ==========================================================================
   RESPONSIVE (Ajustes para pantallas pequeñas)
   ========================================================================== */
@media (max-width: 600px) {
    .gcblog-tags-cloud {
        gap: 8px; /* Reducimos la separación en móviles */
    }
    
    .gcblog-tag-btn.gc-tag-max {
        font-size: 0.95rem !important;
        padding: 8px 16px;
    }
    .gcblog-tag-btn.gc-tag-med {
        font-size: 0.88rem !important;
        padding: 7px 14px;
    }
    .gcblog-tag-btn.gc-tag-min {
        font-size: 0.82rem !important;
        padding: 5px 10px;
    }
}


/* ==============================================================================
   6. HOME - SECCION INSTAGRAM (slider infinito)
   ============================================================================== */

/* ==========================================================================
   COMPONENTE: INSTAGRAM SLIDER AUTOMÁTICO (INFINITE LOOP 4:5)
   ========================================================================== */
.gcblog-instagram-section.gcblog-clear-style {
    width: 100%;
    margin: 0 auto;
    padding: 60px 0 80px 0;
    background-color: #ffffff;
    box-sizing: border-box;
    overflow: hidden; 
}

/* Cabecera */
.gcblog-instagram-header {
    margin-bottom: 28px;
}

.gcblog-insta-profile {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 1040px;
    margin: 0 auto;
}

.gcblog-insta-icon {
    width: 48px;
    height: 48px;
    color: #1d1d1f;
}

.gcblog-insta-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.gcblog-instagram-title {
    font-family: var(--gcblog-font-stack) !important;
    font-size: 1.6rem;
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: -0.02em;
    margin: 0;
}

.gcblog-instagram-handle {
    font-family: var(--gcblog-font-main) !important;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1892d1 !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.gcblog-instagram-handle:hover {
    color: #1967af;
}

/* --- SLIDER IG --- */
.gcblog-instagram-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 15px 0; 
}

/* Se desplaza de forma infinita */
.gcblog-insta-track {
    display: flex;
    width: max-content; /* Se expande dinámicamente según el número de fotos */
    gap: 16px;
    /* Ajusta los '35s' (35 segundos) para que vaya más rápido o más lento */
    animation: gcblogPanScroll 35s linear infinite; 
}

/* Forzar que el carrusel se detenga al poner el ratón encima */
.gcblog-insta-track:hover {
    animation-play-state: paused;
}

/* Cada celda individual del slider */
.gcblog-insta-slide {
    flex-shrink: 0; 
    width: 220px;   
}

/* El elemento link con la foto de fondo */
.gcblog-insta-item {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5; 
    border-radius: 12px; 
    background-size: cover;
    background-position: center;
    box-sizing: border-box;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
}

/* Efecto hover individual sobre la tarjeta */
.gcblog-insta-item:hover {
    transform: scale(1.025) translateY(-5px);
    box-shadow: 0 12px 24px rgba(25, 103, 175, 0.12); /* Sombra con un toque azul corporativo */
}

/* ==========================================================================
   ANIMACIÓN EN BUCLE (CSS KEYFRAMES)
   ========================================================================== */
@keyframes gcblogPanScroll {
    0% {
        /* Usamos translate3d para activar la aceleración por tarjeta gráfica (GPU) */
        transform: translate3d(0, 0, 0); 
    }
    100% {
        /* Desplazamos exactamente la mitad del riel (el bloque original). */
        /* Al ser el gap de 16px, la mitad exacta de la separación que compensar es 8px */
        transform: translate3d(calc(-50% - 8px), 0, 0); 
    }
}

/* Responsive para pantallas medianas y móviles */
@media (max-width: 1080px) {
    .gcblog-insta-profile {
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }
}

@media (max-width: 500px) {
    .gcblog-insta-slide {
        width: 160px; /* Fotos más proporcionadas en vertical para smartphones (da unos ~200px de alto) */
    }
    .gcblog-instagram-title {
        font-size: 1.35rem;
    }
}


/* ==============================================================================
   7. ARTICULO - HERO DE PORTADA (solo imagen)
   ============================================================================== */

/* ==========================================================================
   SECCIÓN HERO PARA DETALLE DE POST (SÓLO IMAGEN + KEN BURNS)
   ========================================================================== */
.gcblog-post-container {
    width: 100%;
    background-color: #ffffff;
    box-sizing: border-box;
}

.gcblog-hero-post {
    width: 100%;
    height: 60vh; /* Altura ideal reducida tipo cabecera de artículo */
    min-height: 400px;
    position: relative;
    box-sizing: border-box;
    margin-bottom: 40px; /* Colchón de aire antes de que empiece el texto del post */
    
    /* Mismo empuje de la home para salvar el menú fixed (Escritorio) */
    margin-top: 180px !important;
    overflow: hidden; 
}

/* Reutilización del efecto Ken Burns en el post */
.gcblog-hero-post::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    z-index: 0;
    animation: gcblogKenBurns 20s linear infinite alternate;
    will-change: transform;
}

/* ==========================================================================
   AJUSTES RESPONSIVE PARA EL HERO DEL POST
   ========================================================================== */
@media (max-width: 1024px) {
    .gcblog-hero-post {
        margin-top: 110px !important; /* Ajuste para el header intermedio */
        height: 45vh !important;
        min-height: 300px !important;
    }
}

@media (max-width: 768px) {
    .gcblog-hero-post {
        margin-top: 30px !important;  /* Al ras del header móvil */
        height: 40vh !important;       /* Proporción estilizada en teléfonos */
        min-height: 250px !important;
        margin-bottom: 24px;
    }
}


/* ==============================================================================
   8. ARTICULO - CUERPO DEL POST
   ============================================================================== */

/* ==========================================================================
   SECCIÓN TEXTO DEL POST (DETALLE DE ARTÍCULO)
   ========================================================================== */
.gcblog-post-content {
    width: 100%;
    max-width: 848px; /* Ancho idóneo de lectura */
    margin: 0 auto;
    padding: 0 24px 80px 24px;
    box-sizing: border-box;
    background-color: #ffffff;
}

/* Cabecera del Post */
.gcblog-post-header {
    margin-bottom: 28px;
    text-align: left;
}

/* Adaptación de tus metadatos para fondo claro */
.gcblog-post-header .gcblog-post-meta {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
}

.gcblog-post-header .gcblog-meta-item {
    font-family: var(--gcblog-font-main) !important;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #86868b !important;
}

.gcblog-post-header .gcblog-meta-item svg {
    color: #a1a1a6 !important;
    width: 14px;
    height: 14px;
}

/* Titular Principal del Post */
.gcblog-post-title {
    font-family: var(--gcblog-font-stack) !important;
    font-size: 2.85rem;
    font-weight: 700;
    color: #1d1d1f;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 20px 0;
}

/* Extracto / Lead del Post */
.gcblog-post-excerpt {
    font-family: var(--gcblog-font-main) !important;
    font-size: 1.15rem;
    font-weight: 400;
    color: #515154;
    line-height: 1.45;
    letter-spacing: -0.01em;
    margin: 0;
    border-left: 3px solid #1967af; /* Este color puede cambiar en relacion a las tematicas del artículo */
    padding-left: 18px;
}

/* Bloque de Contenido / Párrafos */
.gcblog-post-body {
    font-family: var(--gcblog-font-main) !important;
}

.gcblog-post-body p {
    font-size: 1rem;
    line-height: 1.65;
    color: #1d1d1f;
    font-weight: 300 !important;
    margin: 0 0 24px 0;
}

.gcblog-post-body p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   ANCLAJE CENTRADO DE LAS IMÁGENES
   ========================================================================== */
.gcblog-post-gallery {
    display: grid;
    gap: 16px;
    
    /* Forzamos el ancho de escritorio */
    width: 800px !important;
    
    /* Centrado matemático absoluto respecto al texto */
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    
    margin-top: 60px !important;
    margin-bottom: 60px !important; 
    margin-left: 0px !important;
    padding: 0;
    box-sizing: border-box;
}

.gcblog-gallery-item {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    background-color: #f5f5f7;
}

.gcblog-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gcblog-gallery-item:hover img {
    transform: scale(1.015);
}

/* Pie de foto */
.gcblog-post-gallery figcaption {
    grid-column: 1 / -1;
    font-family: var(--gcblog-font-main) !important;
    font-size: 0.85rem;
    color: #86868b;
    line-height: 1.4;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 0px;
    font-weight: 300;
}

/* Rejillas específicas para cada variante en Escritorio */
.gcblog-gallery-single { grid-template-columns: 1fr; }
.gcblog-gallery-single .gcblog-gallery-item { aspect-ratio: 16 / 9; }

/* 50/50 con aspect ratio 4/3 para imágenes horizontales*/
.gcblog-gallery-50-50 { grid-template-columns: repeat(2, 1fr); }
.gcblog-gallery-50-50 .gcblog-gallery-item { aspect-ratio: 4 / 3; }

/* 50/50 con alto en pixeles para imágenes verticales o cuadradas */
.gcblog-gallery-50-50 { grid-template-columns: repeat(2, 1fr); }
.gcblog-gallery-50-50 .gcblog-gallery-item { height: 380px; }

.gcblog-gallery-30-70 { grid-template-columns: 3fr 7fr; }
.gcblog-gallery-30-70 .gcblog-gallery-item { height: 380px; }

.gcblog-gallery-70-30 { grid-template-columns: 7fr 3fr; }
.gcblog-gallery-70-30 .gcblog-gallery-item { height: 380px; }

.gcblog-gallery-triptych { grid-template-columns: repeat(3, 1fr); }
.gcblog-gallery-triptych .gcblog-gallery-item { aspect-ratio: 4 / 5; }

/* ==========================================================================
   💻 RESPONSIVE PASO INTERMEDIO (TABLETS/PANTALLAS MEDIANAS)
   ========================================================================== */
@media (max-width: 1024px) {
    .gcblog-post-gallery {
        width: 100% !important;
        left: 0;
        transform: none;
        margin-top: 40px !important;
        margin-bottom: 40px !important;
    }
}

/* ==========================================================================
   📱 RESPONSIVE GLOBAL OPTIMIZADO (MÓVILES < 768px)
   ========================================================================== */
@media (max-width: 768px) {
    /* 1. Tipografía y Estructura del Post */
    .gcblog-post-content {
        padding-bottom: 50px;
    }
    .gcblog-post-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    .gcblog-post-excerpt {
        font-size: 1.05rem;
        padding-left: 12px;
    }
    .gcblog-post-body p {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* 2. Transformación de las Galerías Múltiples a Carrusel Táctil Horizontal */
    .gcblog-post-gallery {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 12px;
        
        /* Control total de scroll: deslizable en X, bloqueado a muerte en Y */
        overflow-x: auto;
        overflow-y: hidden; 
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        scroll-snap-type: x mandatory;

        /* EFECTO POP-OUT MÓVIL SUTIL: Sobresale exactamente 8px hacia cada lado */
        width: calc(100% + 16px) !important;
        left: 50%;
        transform: translateX(-50%);
        margin: 36px 0 48px 0 !important; 
        
        /* Zona reservada: colchón de espacio inferior para que el figcaption no empuje la caja */
        padding: 0 8px 35px 8px; 
        box-sizing: border-box;
    }

    .gcblog-post-gallery::-webkit-scrollbar {
        display: none; /* Oculta barra en Chrome/Safari móvil */
    }

    /* 3. Dimensiones de las celdas en el Carrusel (Asoma la siguiente imagen un 15%) */
    .gcblog-gallery-item {
        scroll-snap-align: center;
        height: 240px !important;
        aspect-ratio: auto !important;
        width: 85% !important;
        flex-shrink: 0 !important;
    }

    /* Excepción obligatoria: si es una sola imagen, se abre al 100% de la pantalla */
    .gcblog-gallery-single .gcblog-gallery-item {
        width: 100% !important;
        scroll-snap-align: start;
    }

    /* 4. Reparación definitiva del Pie de Foto Flotante dentro de la zona segura */
    .gcblog-post-gallery figcaption {
        position: absolute;
        bottom: 8px; /* Anclado sin salirse ni generar brincos verticales */
        left: 8px;
        right: 8px;
        width: calc(100% - 16px);
        font-size: 0.8rem;
        margin: 0;
        padding: 0 16px;
        box-sizing: border-box;
        text-align: center;
        white-space: normal; 
    }
}


/* ==============================================================================
   9. ARTICULO - BOTONES COMPARTIR
   ============================================================================== */

/* ==========================================================================
   📢 BLOQUE DE BOTONES DE COMPARTIR (EDITORIAL & MINIMALISTA)
   ========================================================================== */
.gcblog-share-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 60px auto 40px auto;
    padding: 24px 0;
    border-top: 1px solid #f5f5f7;
    border-bottom: 1px solid #f5f5f7;
    width: 100%;
    max-width: 800px; /* Alineado con el ancho de lectura del post */
    box-sizing: border-box;
}

.gcblog-share-title {
    font-family: var(--gcblog-font-main), sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #86868b;
    font-weight: 400;
}

.gcblog-share-buttons {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Botón base neutro estilo Apple/Editorial */
.gcblog-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #f5f5f7;
    color: #515154;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.gcblog-share-btn svg {
    width: 18px;
    height: 18px;
}

/* Efectos Hover personalizados con colores suaves de marca */
.gcblog-share-btn:hover {
    transform: translateY(-2px);
    color: #ffffff;
}

.gcblog-share-whatsapp:hover { background-color: #25D366 !important; }
.gcblog-share-x:hover { background-color: #000000 !important; }
.gcblog-share-facebook:hover { background-color: #1877F2 !important; }
.gcblog-share-link:hover { background-color: #1967af !important; }

/* 📱 Optimización para móviles */
@media (max-width: 768px) {
    .gcblog-share-container {
        margin: 40px auto 30px auto;
        padding: 20px 0;
    }
    
    .gcblog-share-btn {
        width: 46px; /* Ligeramente más grande en móvil para facilitar el clic táctil */
        height: 46px;
    }
}


/* ==============================================================================
   10. ARTICULO - RELACIONADOS (slider 3 columnas)
   ============================================================================== */

/* ==========================================================================
   🔄 SECCIÓN DE ARTÍCULOS RELACIONADOS (SLIDER DE 3 COLUMNAS COMPACTAS)
   ========================================================================== */
body.page-article .gcblog-grid2c-section.gcblog-clear-style {
    position: relative;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 60px 24px 30px 24px;
    background-color: #ffffff;
    box-sizing: border-box;
}

/* Cabecera y Título Centrados */
body.page-article .gcblog-grid2c-header {
    margin-bottom: 40px;
    text-align: center;
}

body.page-article .gcblog-grid2c-section-title {
    font-family: var(--gcblog-font-stack) !important;
    font-size: 2.2rem;
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: -0.015em;
    margin: 0;
}

/* Máscara del Slider */
body.page-article .gcblog-grid2c-wrapper {
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

/* Track de desplazamiento elástico */
body.page-article .gcblog-slider-track {
    display: flex;
    gap: 24px; /* Separación optimizada para 3 columnas */
    width: 100%;
    scroll-behavior: smooth;
    overflow-x: auto;
    scrollbar-width: none; /* Oculta barra en Firefox */
    scroll-snap-type: x mandatory;
}

body.page-article .gcblog-slider-track::-webkit-scrollbar {
    display: none; /* Oculta barra en Chrome/Safari */
}

/* ==========================================================================
   TARJETA COMPACTA (MUTACIÓN A 3 COLUMNAS)
   ========================================================================== */
body.page-article .gcblog-event-card-clear.gcblog-grid2c-item {
    display: flex;
    flex-direction: column;
    /* Divide el contenedor en 3 restando los gaps correspondientes */
    width: calc((100% - 48px) / 3); 
    flex-shrink: 0;
    scroll-snap-align: start;
    text-decoration: none !important;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 14px;
    background-color: #f5f5f7; 
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

body.page-article .gcblog-event-card-clear.gcblog-grid2c-item:hover {
    transform: scale(0.985);
}

/* Miniatura Compacta */
body.page-article .gcblog-grid2c-thumb {
    width: 100%;
    height: 220px; 
    background-size: cover;
    background-position: center;
    display: block;
    flex-shrink: 0; 
}

/* Área de contenido de texto */
body.page-article .gcblog-grid2c-text-area {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    box-sizing: border-box;
}

/* Estilos Tipográficos de la Tarjeta */
body.page-article .gcblog-grid2c-title-clear {
    font-family: var(--gcblog-font-stack) !important;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0 0 8px 0;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

body.page-article .gcblog-grid2c-excerpt {
    font-family: var(--gcblog-font-main) !important;
    font-size: 0.8rem !important;
    font-weight: 300;
    color: #515154 !important;
    line-height: 1.4 !important;
    margin: 0 0 16px 0;
}

body.page-article .gcblog-grid2c-link-btn-clear {
    font-family: var(--gcblog-font-main) !important;
    font-size: 0.85rem;
    color: #0066cc;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-weight: 400;
    margin-top: auto; /* Empuja el botón al fondo de la caja */
}

/* ==========================================================================
   ENTORNO DE METADATOS (DENTRO DE LA TARJETA)
   ========================================================================== */
body.page-article .gcblog-grid2c-meta.gcblog-meta-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-bottom: 12px;
    gap: 12px;
}

body.page-article .gcblog-grid2c-meta .gcblog-meta-item {
    font-family: var(--gcblog-font-main) !important;
    color: #515154 !important; 
    font-size: 0.6rem !important;
    font-weight: 500 !important;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

body.page-article .gcblog-grid2c-meta .gcblog-meta-item svg {
    color: #86868b !important;
    width: 13px;
    height: 13px;
    display: block;
}

/* ==========================================================================
   🔘 RECOPERACIÓN DE LOS PUNTOS DE NAVEGACIÓN (DOTS)
   ========================================================================== */
body.page-article .gcblog-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
    width: 100%;
}

/* Esta es la clase clave que inyecta tu JS y que faltaba */
body.page-article .gcblog-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #d2d2d7;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

body.page-article .gcblog-slider-dot:hover, body.page-article .gcblog-slider-dot.active {
    background-color: #0a69b3;
    transform: scale(1.2);
}

/* ==========================================================================
   📱 RESPONSIVE PROGRESSIVO (MÓVIL Y TABLET)
   ========================================================================== */
@media (max-width: 1024px) {
    body.page-article .gcblog-event-card-clear.gcblog-grid2c-item {
        /* Pasa a 2 columnas en iPads/Tablets */
        width: calc((100% - 24px) / 2);
    }
}

@media (max-width: 768px) {
    body.page-article .gcblog-slider-track {
        gap: 16px;
    }
    body.page-article .gcblog-event-card-clear.gcblog-grid2c-item {
        /* En móviles se muestra una tarjeta casi completa y asoma la siguiente */
        width: 85%;
    }
    body.page-article .gcblog-grid2c-section-title {
        font-size: 1.8rem;
    }
    body.page-article .gcblog-grid2c-thumb {
        height: 200px;
    }
}


/* ==============================================================================
   11. PIE DE PAGINA / FOOTER (compartido entre paginas)
   ============================================================================== */

/* ==========================================================================
   COMPONENT: FOOTER EDITORIAL PREMIUM (ESTRUCTURA DE CONTENEDOR ÚNICO)
   ========================================================================== */

.gcblog-footer-container {
    position: relative !important; /* Sujeta el botón flotante si se añade después */
    background-color: #f5f5f7 !important; /* Gris claro premium de fondo */
    width: 100% !important;
    padding: 80px 22px 50px 22px !important; /* Recuperamos tus paddings originales */
    border-top: 1px solid #e8e8ed !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box !important;
}

/* ==========================================================================
   FILA SUPERIOR (LOGOTIPO + DESCRIPCIÓN + ENLACE EN UNA LÍNEA)
   ========================================================================== */
/* ==========================================================================
   FILA SUPERIOR (LOGOTIPO + DESCRIPCIÓN + ENLACE EN UNA LÍNEA)
   ========================================================================== */
.gcblog-footer-top-row {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto 40px auto;
    display: flex;
    justify-content: space-between;
    
    /* 🌟 CAMBIO CLAVE: Alinea los elementos con la base de la fila en escritorio */
    align-items: flex-end; 
    
    gap: 40px; 
    box-sizing: border-box;
}

/* Columna 1: Logo */
.gcblog-footer-logo-area {
    flex: 0 0 auto;
    text-align: left;
}
.gcblog-footer-logo {
    width: 130px;
    height: auto;
}

/* Columna 2: Texto Central */
.gcblog-footer-text-block {
    flex: 1 1 auto;
    text-align: left;
    max-width: 900px; 
}
.gcblog-footer-subtitle {
    font-family: var(--gcblog-font-stack) !important;
    font-size: 1rem;
    font-weight: 700;
    color: #515154;
    margin: 0 0 10px 0;
    letter-spacing: -0.01em;
}
.gcblog-footer-description {
    font-family: var(--gcblog-font-main) !important;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #515154;
    margin: 0;
}
.gcblog-footer-hashtags {
    color: #1967af;
    font-weight: 500;
}

/* Columna 3: Enlace Oficial */
.gcblog-footer-official-link {
    flex: 0 0 auto;
    text-align: right; 
    margin-top;
    display: none;
}
    
.gcblog-footer-link-title {
    font-family: var(--gcblog-font-stack) !important;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1d1d1f;
    margin: 20px 0 0 0;
}
.gcblog-footer-url {
    font-family: var(--gcblog-font-main) !important;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1892d1 !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}
.gcblog-footer-url:hover {
    color: #1967af !important;
}


/* ==========================================================================
   FILA INFERIOR DE CIERRE (CON LÍNEA SEPARADORA DE 1PX)
   ========================================================================== */
.gcblog-footer-bottom-row {
    width: 100%;
    max-width: 1300px; /* Limitamos el ancho en sintonía con la fila superior */
    margin: 0 auto;
    border-top: 1px solid #e8e8ed; 
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

/* Legales (Derecha) */
.gcblog-footer-legal-links {
    font-family: var(--gcblog-font-main) !important;
    font-size: 0.75rem;
    margin: 0;
}
.gcblog-footer-legal-links a {
    color: #86868b !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}
.gcblog-footer-legal-links a:hover {
    color: #1d1d1f !important;
}
.gcblog-legal-separator {
    color: #d2d2d7;
    margin: 0 10px;
}

/* Redes (Izquierda) */
.gcblog-footer-socials {
    display: flex;
    gap: 20px;
}
.gcblog-footer-socials a {
    color: #86868b;
    display: flex;
    align-items: center;
    transition: color 0.25s ease, transform 0.2s ease;
}
.gcblog-footer-socials a svg {
    width: 16px;
    height: 16px;
}
.gcblog-footer-socials a:hover {
    color: #1d1d1f;
    transform: scale(1.08);
}


/* ==========================================================================
   RESPONSIVE LAYOUT (Ajustes para Tablets y Móviles)
   ========================================================================== */
@media (max-width: 850px) {
    .gcblog-footer-top-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 24px;
    }
    
    .gcblog-footer-logo-area,
    .gcblog-footer-text-block,
    .gcblog-footer-official-link {
        text-align: center;
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .gcblog-footer-bottom-row {
        flex-direction: column-reverse;
        gap: 20px;
        text-align: center;
    }
}
