/* Montserrat (variable font, weights 400-900), self-hosted. Latin covers Spanish;
   latin-ext is only downloaded by the browser when a page uses those characters.
   Source: Google Fonts, SIL Open Font License 1.1. */

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url('../fonts/montserrat-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url('../fonts/montserrat-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --gg-topbar-bg: #2a5747;
    --gg-navbar-bg: #ffe82c;
    --gg-prefooter-bg: #23493C;
    --gg-footer-main-bg: #1A382D;
    --gg-copyright-bg: #132B22;

    --gg-yellow: #ffe82c;
    --gg-yellow-hover: #e5cf1b;
    --gg-green-dark: #2A5747;
    --gg-green-darker: #1A382D;

    --gg-text-dark: #1F2937;
    --gg-text-muted: #6B7280;
    --gg-text-light: #F9FAFB;
    --gg-border-color: #E5E7EB;

    --gg-font: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

@media (min-width: 992px) {
    html {
        font-size: 17px;
    }
}

body {
    font-family: var(--gg-font);
    color: var(--gg-text-dark);
    background-color: #F3F4F6;
    line-height: 1.6;
    overflow-x: hidden;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link.screen-reader-text:focus {
    position: fixed;
    top: 8px;
    left: 8px;
    width: auto;
    height: auto;
    clip: auto;
    z-index: 100000;
    padding: 12px 20px;
    background-color: var(--gg-green-dark);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.gg-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.alignleft {
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
}

.alignright {
    float: right;
    margin-left: 20px;
    margin-bottom: 20px;
}

.aligncenter {
    display: block;
    margin: 0 auto 20px;
}

.gg-site-header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 12px;
    z-index: 9999;
    background: var(--gg-green-darker);
    color: var(--gg-yellow);
    font-family: var(--gg-font);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 0 0 8px 8px;
    text-decoration: none;
    transition: top 0.15s ease;
}

.skip-link:focus {
    top: 0;
    outline: 2px solid var(--gg-yellow);
    outline-offset: 2px;
}

.gg-topbar {
    background-color: var(--gg-topbar-bg);
    color: #ffffff;
    padding: 7px 0;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.gg-topbar-inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.gg-topbar-right {
    display: flex;
    align-items: center;
    gap: 22px;
}

.gg-topbar-link {
    color: #E2E8F0;
    text-transform: uppercase;
    position: relative;
    padding: 2px 0;
}

.gg-topbar-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gg-yellow);
    transition: width 0.25s ease;
}

.gg-topbar-link:hover {
    color: var(--gg-yellow);
}

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

.gg-navbar {
    background-color: var(--gg-navbar-bg);
    padding: 10px 0 8px 0;
    position: relative;
}

.gg-navbar-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 15px;
    position: relative;
}

.gg-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-bottom: 10px;
}

.gg-logo img {
    max-height: 52px;
    width: auto;
    display: block;
    transition: transform 0.2s ease;
}

.gg-logo a:hover img {
    transform: scale(1.02);
}

.gg-nav-container {
    display: flex;
    align-items: flex-end;
    flex-grow: 1;
    justify-content: center;
    align-self: stretch;
}

.nav-menu {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-self: stretch;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: flex-end;
}

.nav-item>a,
.nav-item>.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 12px 18px;
    font-size: 0.84rem;
    font-weight: 800;
    color: var(--gg-green-darker);
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 10px 10px 0 0;
    position: relative;
    z-index: 2;
    margin-bottom: 0;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-item>span.nav-link {
    cursor: pointer;
}

.nav-item:hover>a,
.nav-item:hover>.nav-link,
.nav-item:focus-within>a,
.nav-item:focus-within>.nav-link,
.nav-item.is-open>a,
.nav-item.is-open>.nav-link {
    background-color: var(--gg-green-dark);
    color: #ffffff !important;
}

.nav-item.current-menu-item>a,
.nav-item.current-menu-item>.nav-link,
.nav-item.current-menu-ancestor>a,
.nav-item.current-menu-ancestor>.nav-link {
    color: var(--gg-green-darker);
    font-weight: 800;
}

.nav-item:hover.current-menu-item>a,
.nav-item:hover.current-menu-item>.nav-link,
.nav-item:hover.current-menu-ancestor>a,
.nav-item:hover.current-menu-ancestor>.nav-link {
    color: #ffffff !important;
}

.nav-item:hover>a::before,
.nav-item:hover>.nav-link::before,
.nav-item:focus-within>a::before,
.nav-item:focus-within>.nav-link::before,
.nav-item.is-open>a::before,
.nav-item.is-open>.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -10px;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle at 0 0, transparent 10px, var(--gg-green-dark) 10.5px);
    pointer-events: none;
}

.nav-item:hover>a::after,
.nav-item:hover>.nav-link::after,
.nav-item:focus-within>a::after,
.nav-item:focus-within>.nav-link::after,
.nav-item.is-open>a::after,
.nav-item.is-open>.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -10px;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle at 100% 0, transparent 10px, var(--gg-green-dark) 10.5px);
    pointer-events: none;
}

.dropdown-arrow {
    font-size: 20px;
    font-weight: bold;
    margin-left: 6px;
    opacity: 0.9;
    display: inline-block;
    transition: transform 0.2s ease;
    vertical-align: middle;
}

.nav-item:hover>a .dropdown-arrow,
.nav-item:hover>.nav-link .dropdown-arrow,
.nav-item:focus-within>a .dropdown-arrow,
.nav-item:focus-within>.nav-link .dropdown-arrow,
.nav-item.is-open>a .dropdown-arrow,
.nav-item.is-open>.nav-link .dropdown-arrow {
    color: #ffffff !important;
    transform: rotate(180deg);
    opacity: 1;
}

.megamenu-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    width: max-content;
    max-width: min(700px, calc(100vw - 40px));
    background: #ffffff;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-top: 4px solid var(--gg-green-dark);
    padding: 30px 40px;
    z-index: 1001;
    animation: megamenuFadeIn 0.25s ease forwards;
}

@keyframes megamenuFadeIn {
    from {
        opacity: 0;
        transform: translate(calc(-50% + var(--gg-dropdown-shift, 0px)), 8px);
    }

    to {
        opacity: 1;
        transform: translate(calc(-50% + var(--gg-dropdown-shift, 0px)), 0);
    }
}

.nav-item:hover>.megamenu-dropdown,
.nav-item.is-open>.megamenu-dropdown {
    display: block;
}

.megamenu-sections {
    /* --gg-megamenu-columns is set inline per dropdown (see
       inc/walkers.php) to the actual number of sections it has, capped at
       4, so a dropdown with fewer sections doesn't reserve width for the
       full 4-column cap and end up with wasted blank space. */
    column-width: 200px;
    column-count: var(--gg-megamenu-columns, 4);
    column-gap: 40px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.megamenu-section {
    width: 200px;
    break-inside: avoid-column;
    page-break-inside: avoid;
    margin-bottom: 24px;
}

.section-title {
    color: var(--gg-green-dark);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    display: block;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--gg-yellow);
    margin-bottom: 14px;
    letter-spacing: 0.3px;
}

.megamenu-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.megamenu-link-item a {
    color: #555;
    font-size: 0.84rem;
    font-weight: 600;
    padding: 7px 0;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.megamenu-link-item:last-child a {
    border-bottom: none;
}

.megamenu-link-item a:hover {
    color: var(--gg-green-dark);
    padding-left: 6px;
}

.menu-badge {
    font-size: 0.6rem;
    padding: 2px 7px;
    border-radius: 3px;
    font-weight: 800;
    text-transform: uppercase;
    margin-left: 10px;
    vertical-align: middle;
    letter-spacing: 0.5px;
    line-height: 1.4;
    display: inline-block;
    white-space: nowrap;
}

.badge-new {
    background-color: #e74c3c;
    color: #ffffff;
}

.badge-recarga {
    background-color: var(--gg-yellow);
    color: var(--gg-green-dark);
}

.badge-promo {
    background-color: #3498db;
    color: #ffffff;
}

.gg-navbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.gg-search-wrapper {
    position: relative;
}

.gg-search-form {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border: 2px solid transparent;
    border-radius: 25px;
    padding: 3px 6px 3px 14px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gg-search-form:focus-within {
    border-color: var(--gg-green-dark);
    box-shadow: 0 4px 12px rgba(42, 87, 71, 0.15);
}

.gg-search-input {
    border: none;
    outline: none;
    background: transparent;
    font-family: var(--gg-font);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gg-text-dark);
    width: 190px;
    transition: width 0.3s ease;
}

.gg-search-input:focus {
    width: 240px;
}

.gg-search-submit {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gg-green-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.gg-search-submit:hover {
    transform: scale(1.1);
}

.gg-search-suggestions {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    list-style: none;
    margin: 0;
    padding: 6px;
    z-index: 1100;
}

.gg-search-suggestion-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--gg-text-dark);
    text-decoration: none;
}

.gg-search-suggestion-link:hover,
.gg-search-suggestion-link:focus {
    background-color: #F3F3F3;
}

.gg-search-suggestion-title {
    font-size: 0.85rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gg-search-suggestion-type {
    font-size: 0.7rem;
    color: #718096;
    white-space: nowrap;
    flex-shrink: 0;
}

.gg-btn-promociones {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--gg-green-dark);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 9px 20px;
    border-radius: 25px;
    box-shadow: 0 4px 10px rgba(42, 87, 71, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.gg-btn-promociones:hover {
    background-color: var(--gg-green-darker);
    color: var(--gg-yellow);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(26, 56, 45, 0.35);
}

.gg-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 38px;
    height: 38px;
    background-color: var(--gg-green-dark);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    padding: 8px;
    flex-shrink: 0;
    z-index: 1002;
    transition: background-color 0.2s ease, transform 0.15s ease;
    box-shadow: 0 2px 6px rgba(42, 87, 71, 0.2);
}

.gg-mobile-toggle:hover,
.gg-mobile-toggle:focus {
    background-color: var(--gg-green-darker);
}

.gg-mobile-toggle:focus-visible {
    outline: 2px solid var(--gg-yellow);
    outline-offset: 2px;
}

.gg-hamburger-bar {
    display: block;
    width: 20px;
    height: 2.5px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.gg-mobile-toggle.is-active .gg-hamburger-bar:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.gg-mobile-toggle.is-active .gg-hamburger-bar:nth-child(2) {
    opacity: 0;
}

.gg-mobile-toggle.is-active .gg-hamburger-bar:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

.gg-main-content {
    min-height: 60vh;
    padding: 40px 0;
}

/* Cuando la página tiene un carrusel (carruseles-ganagana), este se inyecta
   antes de <main> — sin este ajuste queda el mismo padding superior de 40px
   que separa el header del contenido en páginas normales, dejando un hueco
   entre el carrusel y el contenedor principal. */
.gg-main-content.gg-main-content--pegado-carrusel {
    padding-top: 0;
}

.gg-site-footer {
    width: 100%;
    margin-top: auto;
}

.gg-prefooter {
    background-color: var(--gg-prefooter-bg);
    color: #ffffff;
    padding: 22px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gg-prefooter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.gg-prefooter-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background-color: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    color: var(--gg-yellow);
    flex-shrink: 0;
}

.gg-prefooter-text {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    flex-grow: 1;
}

.gg-prefooter-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.gg-btn-yellow {
    display: inline-block;
    background-color: var(--gg-yellow);
    color: var(--gg-green-darker);
    font-size: 0.82rem;
    font-weight: 800;
    padding: 10px 22px;
    border-radius: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    border: 2px solid transparent;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.gg-btn-yellow:hover {
    background-color: var(--gg-yellow-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.25);
}

.gg-btn-yellow--secondary {
    background-color: transparent;
    border-color: var(--gg-yellow);
    color: var(--gg-yellow);
    box-shadow: none;
}

.gg-btn-yellow--secondary:hover {
    background-color: var(--gg-yellow);
    color: var(--gg-green-darker);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.gg-footer-main {
    background-color: var(--gg-footer-main-bg);
    color: #ffffff;
    padding: 60px 0 45px;
}

.gg-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
}

.gg-footer-col {
    display: flex;
    flex-direction: column;
}

.gg-footer-title {
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--gg-yellow);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    position: relative;
}

.gg-footer-desc {
    font-size: 0.85rem;
    color: #D1D5DB;
    margin-bottom: 20px;
    line-height: 1.6;
}

.gg-footer-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-bottom: 24px;
}

.gg-footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #E5E7EB;
    margin-bottom: 10px;
}

.gg-footer-contact-list svg {
    color: var(--gg-yellow);
    flex-shrink: 0;
}

.gg-footer-socials {
    display: flex;
    gap: 10px;
}

.gg-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 800;
    transition: all 0.25s ease;
}

.gg-social-icon:hover {
    background-color: var(--gg-yellow);
    color: var(--gg-green-darker);
    transform: translateY(-3px);
}

.gg-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.gg-footer-links li {
    margin-bottom: 12px;
}

.gg-footer-links a {
    font-size: 0.85rem;
    color: #D1D5DB;
    font-weight: 500;
    transition: all 0.2s ease;
}

.gg-footer-links a:hover {
    color: var(--gg-yellow);
    padding-left: 6px;
}

.gg-footer-logos {
    background: var(--gg-logos-bg, #ffffff);
    width: 100%;
}

.gg-footer-logos__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 24px 40px;
    margin: 0 auto;
    padding: 32px 20px;
    max-width: 1200px;
    list-style: none;
}

.gg-footer-logos__item {
    flex: 0 0 calc((100% - 4 * 40px) / 5);
    max-width: calc((100% - 4 * 40px) / 5);
    height: var(--gg-logos-altura, 70px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gg-footer-logos__link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    max-width: 100%;
}

.gg-footer-logos__item img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transform: scale(var(--gg-logo-escala, 1));
    transition: opacity .2s ease;
}

.gg-footer-logos__link:hover img {
    opacity: .8;
}

@media (max-width: 1199px) {
    .gg-footer-logos__item {
        flex-basis: calc((100% - 3 * 40px) / 4);
        max-width: calc((100% - 3 * 40px) / 4);
    }
}

@media (max-width: 991px) {
    .gg-footer-logos__list {
        gap: 20px 28px;
        padding: 28px 20px;
    }

    .gg-footer-logos__item {
        flex-basis: calc((100% - 2 * 28px) / 3);
        max-width: calc((100% - 2 * 28px) / 3);
        height: calc(var(--gg-logos-altura, 70px) * 0.8);
    }
}

@media (max-width: 767px) {
    .gg-footer-logos__list {
        gap: 16px 18px;
        padding: 24px 16px;
    }

    .gg-footer-logos__item {
        flex-basis: calc((100% - 2 * 18px) / 3);
        max-width: calc((100% - 2 * 18px) / 3);
        height: calc(var(--gg-logos-altura, 70px) * 0.62);
    }
}

@media (max-width: 480px) {
    .gg-footer-logos__list {
        gap: 14px 16px;
        padding: 20px 14px;
    }

    .gg-footer-logos__item {
        flex-basis: calc((100% - 16px) / 2);
        max-width: calc((100% - 16px) / 2);
        height: calc(var(--gg-logos-altura, 70px) * 0.7);
    }
}

@media (prefers-reduced-motion: reduce) {
    .gg-footer-logos__item img {
        transition: none;
    }
}

.gg-copyright-bar {
    background-color: var(--gg-copyright-bg);
    color: #9CA3AF;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8rem;
}

.gg-copyright-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.gg-copyright-text strong {
    color: #ffffff;
}

.gg-copyright-links {
    display: flex;
    gap: 20px;
}

.gg-copyright-links a {
    color: #9CA3AF;
}

.gg-copyright-links a:hover {
    color: var(--gg-yellow);
}

.gg-layout-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
}

.gg-layout-full {
    width: 100%;
}

.gg-page-header {
    background: linear-gradient(135deg, var(--gg-green-dark) 0%, var(--gg-green-darker) 100%);
    color: #ffffff;
    padding: 40px 0;
    border-radius: 12px;
    margin-bottom: 35px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.gg-page-header .gg-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gg-page-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
}

.gg-page-subtitle {
    font-size: 1rem;
    color: var(--gg-yellow);
    font-weight: 500;
}

.gg-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.gg-post-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gg-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.gg-post-card-thumb {
    height: 200px;
    overflow: hidden;
    position: relative;
    background-color: #E5E7EB;
}

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

.gg-post-card:hover .gg-post-card-thumb img {
    transform: scale(1.08);
}

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

.gg-post-meta {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gg-green-dark);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.gg-post-card-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--gg-text-dark);
    margin-bottom: 12px;
    line-height: 1.35;
}

.gg-post-card-title a:hover {
    color: var(--gg-green-dark);
}

.gg-post-card-excerpt {
    font-size: 0.88rem;
    color: var(--gg-text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.gg-post-card-btn {
    align-self: flex-start;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--gg-green-dark);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.gg-post-card-btn:hover {
    color: var(--gg-green-darker);
    letter-spacing: 0.5px;
}

.gg-article {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.gg-single-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--gg-text-muted);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gg-border-color);
}

.gg-single-thumb {
    width: 100%;
    max-height: 450px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
}

.gg-single-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gg-entry-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #374151;
}

.gg-entry-content p {
    margin-bottom: 20px;
}

.gg-entry-content h2,
.gg-entry-content h3,
.gg-entry-content h4 {
    color: var(--gg-green-darker);
    font-weight: 800;
    margin: 30px 0 15px;
}

.gg-entry-content ul,
.elementor-widget-text-editor ul,
.elementor-widget-theme-post-content ul {
    list-style: disc;
    padding-left: 1.4em;
    margin-bottom: 20px;
}

.gg-entry-content ol,
.elementor-widget-text-editor ol,
.elementor-widget-theme-post-content ol {
    list-style: decimal;
    padding-left: 1.4em;
    margin-bottom: 20px;
}

.gg-entry-content ul ul,
.gg-entry-content ol ol,
.gg-entry-content ul ol,
.gg-entry-content ol ul,
.elementor-widget-text-editor ul ul,
.elementor-widget-text-editor ol ol,
.elementor-widget-text-editor ul ol,
.elementor-widget-text-editor ol ul {
    margin-bottom: 0;
}

.gg-entry-content li,
.elementor-widget-text-editor li,
.elementor-widget-theme-post-content li {
    margin-bottom: 8px;
}

.gg-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.widget {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.widget-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--gg-green-darker);
    text-transform: uppercase;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--gg-yellow);
}

.widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--gg-border-color);
    font-size: 0.88rem;
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget a {
    color: var(--gg-text-dark);
    font-weight: 600;
}

.widget a:hover {
    color: var(--gg-green-dark);
}

.gg-404-container {
    text-align: center;
    padding: 60px 20px;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    max-width: 700px;
    margin: 0 auto;
}

.gg-404-code {
    font-size: 6rem;
    font-weight: 900;
    color: var(--gg-green-dark);
    line-height: 1;
    margin-bottom: 10px;
}

.gg-404-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.gg-404-desc {
    font-size: 1rem;
    color: var(--gg-text-muted);
    margin-bottom: 30px;
}

.gg-404-search {
    max-width: 450px;
    margin: 0 auto 30px;
}

.gg-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.gg-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    background-color: #ffffff;
    color: var(--gg-text-dark);
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.elementor-widget-tabs .elementor-tabs-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.elementor-widget-tabs .elementor-tab-title {
    flex-basis: calc(50% - 5px);
    box-sizing: border-box;
}

.elementor-widget-tabs .elementor-tab-content {
    width: 100%;
}

.gg-pagination .page-numbers.current,
.gg-pagination .page-numbers:hover {
    background-color: var(--gg-green-dark);
    color: #ffffff;
}

@media (max-width: 1024px) {
    .gg-footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .gg-layout-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .gg-topbar-inner {
        justify-content: center;
    }

    .gg-topbar-right {
        gap: 8px 12px;
        flex-wrap: wrap;
        justify-content: center;
        font-size: 0.61rem;
    }

    .gg-navbar {
        padding: 10px 0;
    }

    .gg-navbar-inner {
        position: relative;
        justify-content: space-between;
        align-items: center;
    }

    .gg-logo,
    .gg-navbar-actions {
        margin-bottom: 0;
    }

    .gg-mobile-toggle {
        display: flex !important;
    }

    .gg-nav-container {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        border-top: 3px solid var(--gg-green-dark);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        display: none;
        padding: 0;
        max-height: 80vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 1000;
    }

    .gg-nav-container.is-active {
        display: block !important;
    }

    .nav-menu {
        display: block !important;
        width: 100%;
        gap: 0;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .nav-item {
        display: block !important;
        width: 100%;
        margin: 0;
        padding: 0;
        position: relative;
        list-style: none;
    }

    .nav-item>.nav-link {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 14px 20px;
        border-bottom: 1px solid #f0f0f0;
        border-radius: 0;
        font-size: 0.9rem;
        font-weight: 800;
        margin-bottom: 0;
        width: 100%;
        box-sizing: border-box;
        background-color: #ffffff;
        color: var(--gg-green-darker);
        transition: background-color 0.2s ease, color 0.2s ease;
    }

    .nav-item>.nav-link::before,
    .nav-item>.nav-link::after {
        display: none !important;
    }

    .nav-item:hover>.nav-link {
        background-color: #ffffff;
        color: var(--gg-green-darker) !important;
    }

    .nav-item.is-open>.nav-link {
        background-color: var(--gg-green-dark) !important;
        color: #ffffff !important;
        border-bottom: 2px solid var(--gg-yellow);
    }

    .nav-item.is-open>.nav-link .dropdown-arrow {
        color: #ffffff !important;
        transform: rotate(180deg);
    }

    .nav-item:hover>.megamenu-dropdown {
        display: none;
    }

    .megamenu-dropdown {
        position: static;
        width: 100%;
        box-sizing: border-box;
        min-width: unset;
        transform: none;
        box-shadow: none;
        border-top: none;
        border-radius: 0;
        padding: 15px 20px 20px;
        background-color: #fafafa;
        border-left: 4px solid var(--gg-yellow);
        margin-left: 0;
        animation: none;
        display: none;
    }

    .nav-item.is-open>.megamenu-dropdown {
        display: block !important;
    }

    .megamenu-sections {
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .megamenu-section {
        min-width: unset;
        width: 100%;
    }

    .gg-prefooter-inner {
        flex-direction: column;
        text-align: center;
    }

    .gg-prefooter-text {
        margin: 10px 0;
    }
}

@media (max-width: 768px) {
    .gg-container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .gg-article {
        padding: 24px 16px;
        border-radius: 10px;
    }

    .gg-page-header {
        padding: 20px 14px;
        margin-bottom: 24px;
        border-radius: 10px;
    }

    .gg-page-title {
        font-size: 1.5rem;
        word-break: break-word;
    }

    .gg-entry-content {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .elementor-section-wrap,
    .elementor-section,
    .elementor-column,
    .elementor-widget-wrap {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 600px) {
    .gg-navbar-inner {
        gap: 8px;
    }

    .gg-logo img {
        max-height: 42px;
    }

    .gg-search-wrapper {
        flex-shrink: 1;
    }

    .gg-search-form {
        padding: 2px 4px 2px 10px;
    }

    .gg-search-input {
        width: 110px;
        font-size: 0.78rem;
    }

    .gg-search-input:focus {
        width: 150px;
    }

    .gg-btn-promociones span {
        display: none;
    }

    .gg-btn-promociones {
        padding: 8px 10px;
        border-radius: 50%;
        box-shadow: none;
    }

    .gg-btn-promociones svg {
        margin: 0;
    }

    .gg-footer-grid {
        grid-template-columns: 1fr;
    }

    .gg-copyright-inner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .gg-copyright-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .gg-container {
        padding-left: 8px;
        padding-right: 8px;
    }

    .gg-article {
        padding: 16px 12px;
        border-radius: 8px;
    }

    .gg-page-header {
        padding: 16px 10px;
        margin-bottom: 16px;
        border-radius: 8px;
    }

    .gg-page-title {
        font-size: 1.3rem;
    }

    .gg-topbar {
        padding: 4px 0;
    }

    .gg-topbar-link {
        font-size: 0.59rem;
        padding: 4px 6px;
    }
}

.gg-page-header {
    background-color: var(--gg-green-dark);
    padding: 30px 0;
    margin-bottom: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(26, 56, 45, 0.15);
}

.gg-page-title {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.gg-page-hero {
    position: relative;
    width: 100%;
    height: var(--gg-hero-height, 400px);
    margin-top: 0;
    margin-bottom: 35px;
    background-image: var(--gg-hero-image, none);
    background-position: var(--gg-hero-position, center center);
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.gg-page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.50) 0%, rgba(0, 0, 0, 0.70) 100%);
    z-index: 1;
    pointer-events: none;
}

.gg-page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.gg-page-hero-title {
    color: var(--gg-hero-title-color, #ffffff);
    font-size: 2.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0;
    text-align: center;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
    line-height: 1.25;
}

.gg-main-content:has(> .gg-page-hero) {
    padding-top: 0;
}

@media (max-width: 768px) {
    .gg-page-title {
        font-size: 1.5rem;
    }

    .gg-page-hero-title {
        font-size: 1.7rem;
    }
}

.gg-floating-socials-widget {
    position: fixed;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999999;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Collapsed: the hidden icon list must not block clicks on the page; only the toggle stays clickable. */
.gg-floating-socials-widget:not(.is-open) {
    pointer-events: none;
}

.gg-floating-socials-widget:not(.is-open) .gg-floating-socials-toggle {
    pointer-events: auto;
}

.gg-floating-socials-toggle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #1A382D;
    border: none;
    color: #FBD000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s ease, border-color 0.3s ease;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 2;
}

.gg-floating-socials-toggle:hover {
    transform: scale(1.08);
    background-color: #132b22;
}

.gg-floating-socials-toggle:focus-visible {
    outline: 2px solid #FBD000;
    outline-offset: 3px;
}

.gg-floating-socials-toggle .gg-icon-toggle {
    transition: transform 0.35s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.gg-floating-socials-widget.is-open .gg-floating-socials-toggle {
    background-color: #FBD000;
    border: none;
    color: #1A382D;
}

.gg-floating-socials-widget.is-open .gg-floating-socials-toggle .gg-icon-toggle {
    transform: rotate(45deg);
}

.gg-floating-socials-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
    margin-bottom: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px) scale(0.9);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), visibility 0.3s ease;
    pointer-events: none;
}

.gg-floating-socials-widget.is-open .gg-floating-socials-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.gg-floating-social-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    background-color: #1A382D;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}

/* El ícono escala en proporción al botón (no en px fijos) para que crecer
   la esfera en desktop no la deje con un ícono chico "perdido" adentro. */
.gg-floating-social-btn svg,
.gg-floating-socials-toggle .gg-icon-toggle {
    width: 45%;
    height: 45%;
}

.gg-floating-social-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    color: #FFFFFF;
}

.gg-floating-social-btn.gg-social-facebook {
    background: #1877F2;
}

.gg-floating-social-btn.gg-social-instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.gg-floating-social-btn.gg-social-youtube {
    background: #FF0000;
}

.gg-floating-social-btn.gg-social-twitter,
.gg-floating-social-btn.gg-social-x {
    background: #000000;
}

.gg-floating-social-btn.gg-social-threads {
    background: #000000;
}

.gg-floating-social-btn.gg-social-tiktok {
    background: #000000;
}

.gg-floating-social-btn.gg-social-linkedin {
    background: #0A66C2;
}

.gg-floating-social-btn.gg-social-whatsapp {
    background: #25D366;
}

.gg-floating-social-btn.gg-social-otro {
    background: #1A382D;
    border: 2px solid #FBD000;
    color: #FBD000;
}

@media (max-width: 900px) {
    .gg-floating-socials-widget {
        left: 15px !important;
        bottom: 20px !important;
        top: auto !important;
        transform: none !important;
        flex-direction: column-reverse !important;
    }

    .gg-floating-socials-list {
        margin-top: 0 !important;
        margin-bottom: 12px !important;
        transform: translateY(15px) scale(0.9) !important;
    }

    .gg-floating-socials-widget.is-open .gg-floating-socials-list {
        transform: translateY(0) scale(1) !important;
    }
}

.gg-floating-right-widget {
    position: fixed;
    right: 20px;
    bottom: 25px;
    top: auto;
    transform: none;
    z-index: 999998;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    pointer-events: none;
}

.gg-right-pill-btn {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    height: 96px;
    border-radius: 48px;
    text-decoration: none;
    pointer-events: auto;
    position: relative;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background-color: var(--btn-circle-bg, #1A382D);
    overflow: hidden;
    max-width: 96px;
}

.gg-right-pill-btn:hover {
    max-width: 400px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
    background-color: var(--btn-exp-bg, #ffe82c);
}

.icon-centered {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
}

.gg-right-pill-circle {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background-color: var(--btn-circle-bg, #1A382D);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
    border: none;
    overflow: hidden;
}

.gg-right-pill-circle svg {
    width: 42px;
    height: 42px;
}

.gg-right-pill-btn:hover .gg-right-pill-circle {
    transform: scale(1.06);
}

.gg-right-pill-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.gg-right-pill-label {
    background-color: var(--btn-exp-bg, #ffe82c);
    color: var(--btn-exp-color, #1A382D);
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 0 24px 0 26px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 32px 0 0 32px;
    opacity: 0;
    transform: translateX(18px);
    transition: opacity 0.25s ease, transform 0.3s ease;
}

.gg-right-pill-btn:hover .gg-right-pill-label {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .gg-floating-right-widget {
        right: 15px;
        bottom: 20px;
        top: auto;
        transform: none;
        gap: 12px;
    }

    .gg-right-pill-btn {
        height: 54px;
        border-radius: 27px;
        max-width: 54px;
    }

    .gg-right-pill-circle {
        width: 54px;
        height: 54px;
    }

    .gg-right-pill-img {
        width: 100%;
        height: 100%;
    }

    .gg-right-pill-label {
        font-size: 0.8rem;
        padding: 0 18px 0 20px;
    }
}

.gg-back-to-top {
    position: fixed;
    right: 132px;
    bottom: 25px;
    z-index: 999997;
    width: 60px;
    height: 60px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(31, 41, 55, 0.7);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.85);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background 0.2s ease;
}

.gg-back-to-top:hover {
    background: rgba(31, 41, 55, 0.85);
}

.gg-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.gg-btt-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.gg-btt-ring-track,
.gg-btt-ring-bar {
    fill: none;
    stroke-width: 3;
}

.gg-btt-ring-track {
    stroke: transparent;
}

.gg-btt-ring-bar {
    stroke: var(--gg-yellow);
    stroke-linecap: round;
    stroke-dasharray: 169.65;
    stroke-dashoffset: 169.65;
    transition: stroke-dashoffset 0.1s linear;
}

.gg-btt-icon-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    transform: translate(-50%, -50%);
}

.gg-btt-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.gg-btt-icon-fill {
    clip-path: inset(100% -10px -10px -10px);
    transition: clip-path 0.1s linear;
}

@media (max-width: 768px) {
    .gg-back-to-top {
        right: 81px;
        bottom: 20px;
        width: 46px;
        height: 46px;
    }

    .gg-btt-icon-wrap {
        width: 19px;
        height: 19px;
    }
}

.politicas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.politica-card {
    background: #fff;
    border-left: 5px solid;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.politica-card.descripcion {
    border-left-color: #2196F3;
    background: #E3F2FD;
}

.politica-card.compromisos {
    border-left-color: #4CAF50;
    background: #E8F5E9;
}

.politica-card.valores {
    border-left-color: #FF9800;
    background: #FFF3E0;
}

.politica-card.donaciones {
    border-left-color: #9C27B0;
    background: #F3E5F5;
}

.politica-card.denuncia {
    border-left-color: #D32F2F;
    background: #FFEBEE;
}

.politica-card.gestion {
    border-left-color: #6C63FF;
    background: #EEE7FF;
}

.politica-card h3 {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.politica-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #555;
}

.gg-spinner {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 3px solid rgba(26, 56, 45, 0.15);
    border-top-color: var(--gg-green-dark);
    border-radius: 50%;
    animation: gg-spin 0.7s linear infinite;
}

.gg-spinner--sm {
    width: 18px;
    height: 18px;
    border-width: 2px;
}

.gg-spinner--light {
    border-color: rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
}

.gg-loading-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.7);
    z-index: 5;
}

@keyframes gg-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .gg-spinner {
        animation-duration: 1.4s;
    }
}

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

@media (min-width: 992px) {
    .gg-topbar {
        padding: 6px 0;
        font-size: 13px;
    }

    /* Widget de redes sociales flotantes, 30% más grande en desktop para
       mayor visibilidad (antes eran ~10% más compactas que en móvil). */
    /* --gg-left-socials-size is set inline from the admin size slider (theme
       option tamano_escritorio); the toggle is always 7px bigger than the icons. */
    .gg-floating-socials-toggle {
        width: calc(var(--gg-left-socials-size, 52px) + 7px);
        height: calc(var(--gg-left-socials-size, 52px) + 7px);
    }

    .gg-floating-social-btn {
        width: var(--gg-left-socials-size, 52px);
        height: var(--gg-left-socials-size, 52px);
    }

    .gg-floating-socials-list {
        gap: 12px;
    }

    .gg-floating-right-widget {
        right: 18px;
        gap: 14px;
    }

    /* --gg-right-pill-size-base is set inline from the admin size slider
       (theme option botones_derechos_tamano), only read here: mobile
       (≤768px) and the 769–991px tier above always use their own fixed
       hardcoded sizes and never look at this variable — only this ≥992px
       "large desktop" tier is adjustable via the slider. */
    :root {
        --gg-right-pill-size: var(--gg-right-pill-size-base, 96px);
    }

    .gg-right-pill-btn {
        height: var(--gg-right-pill-size);
        border-radius: 999px;
        max-width: var(--gg-right-pill-size);
    }

    .gg-right-pill-circle {
        width: var(--gg-right-pill-size);
        height: var(--gg-right-pill-size);
    }

    .gg-right-pill-circle svg {
        /* Same ratio as the original fixed 42px icon in a 96px circle (0.4375). */
        width: calc(var(--gg-right-pill-size) * 0.4375);
        height: calc(var(--gg-right-pill-size) * 0.4375);
    }

    .gg-back-to-top {
        /* 18px widget offset + pill width + 14px gap at this breakpoint. */
        right: calc(var(--gg-right-pill-size) + 32px);
        width: 54px;
        height: 54px;
    }

    .gg-btt-icon-wrap {
        width: 22px;
        height: 22px;
    }
}

/* Elementor image widget: the link wrapping the image must not take part in its
   sizing. As an inline-block, the <a> shrinks to the image (a fixed height and the
   aspect ratio give it a width) and a percentage width then resolved against that
   instead of the column, so the same settings rendered narrower once a link was
   added. With display: contents the <a> has no box: the image is sized as if it
   were not there, and only the image itself stays clickable. The .elementor prefix
   beats Elementor's own `.elementor-widget-image a { display: inline-block }`. */
.elementor .elementor-widget-image a {
    display: contents;
}

/* The <a> has no box to draw a focus ring on, so draw it on the image. */
.elementor .elementor-widget-image a:focus-visible img {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}
