/* Adaptación del marcado Gutenberg a las clases del prototipo G1.
 * Las medidas y colores provienen de Foundations v0 y C3 v0.3. */
.site-header.wp-block-group,
.site-footer.wp-block-group {
  max-width: none;
  margin: 0;
}
.site-header .header-shell,
.site-header .header-inner,
.site-footer .footer-bottom { max-width: none; }
.site-header .header-inner { margin: 0; }
.site-header .brand-link { margin: 0; }
.site-header .brand-link img { width: 100%; height: auto; }
.site-header .header-nav-pill { margin: 0; }
.site-header .header-nav-pill .wp-block-navigation__container { flex-wrap: nowrap; }
.site-header .header-community,
.site-header .header-follow { margin: 0; }
.site-header .header-follow-label,
.site-header .language-switch,
.site-footer .language-switch { margin: 0; }
.site-header .header-socials,
.site-footer .footer-socials { display: flex; gap: .15rem; margin: 0; padding: 0; }
.site-header .header-socials .wp-social-link,
.site-footer .footer-socials .wp-social-link { background: transparent; }
.site-header .header-socials a,
.site-footer .footer-socials a { color: var(--brand-white); }
.site-header .header-socials a:hover,
.site-footer .footer-socials a:hover { color: var(--brand-lime); }
.site-header .header-language [aria-disabled="true"],
.site-footer .language-switch [aria-disabled="true"] { color: var(--text-dark-secondary); opacity: .55; }
.site-header .header-language .language-switch { display: flex; gap: .6rem; }
.site-header .language-divider,
.site-footer .language-divider { display: inline-block; }

/* La cabecera y el Hero siguen compartiendo la luz Aurora sin un bloque decorativo editable. */
body:has(.hero-section) { background: var(--web-ink); }
body:has(.hero-section) .site-header { isolation: isolate; }
body:has(.hero-section) .hero-section { position: relative; isolation: isolate; overflow: hidden; }
body:has(.hero-section) .hero-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -8rem 0 0;
  pointer-events: none;
  background: radial-gradient(circle at 72% 35%, rgb(147 213 0 / .52), transparent 36%),
              radial-gradient(circle at 92% 60%, rgb(112 185 0 / .38), transparent 35%);
}
.hero-section .hero-shell.wp-block-columns { display: grid; width: min(var(--content-max), calc(100% - 2 * var(--page-gutter))); margin-inline: auto; }
.hero-section .hero-shell > .wp-block-column { min-width: 0; margin: 0; }
.hero-section .hero-intro .wp-block-heading { max-width: min(100%, 56rem); }
.hero-section .hero-visual .hero-media { display: block; margin: 0; }
.hero-section .hero-visual .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-section .hero-visual::before { z-index: 2; }
.hero-section .hero-visual::after { z-index: 2; }
.hero-section .hero-visual .hero-media::before,
.hero-section .hero-visual .hero-media::after { content: ""; position: absolute; z-index: -1; inset: -7%; border: 1px solid rgb(147 213 0 / .34); border-radius: 50%; pointer-events: none; }
.hero-section .hero-visual .hero-media::after { inset: 8%; border-color: rgb(255 255 255 / .18); }
.hero-section .wp-block-buttons.action-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.hero-section .action-row .wp-block-button { width: auto; margin: 0; }
.hero-section .action-row .wp-block-button__link { min-height: 3.25rem; }
.hero-section .action-row .button-primary .wp-block-button__link { background: var(--brand-lime); color: var(--web-ink); }
.hero-section .action-row .button-secondary .wp-block-button__link { background: transparent; color: var(--brand-white); }
.hero-section .action-row .wp-block-button__link:hover,
.hero-section .action-row .wp-block-button__link:focus-visible { color: var(--web-ink); }

.site-footer .footer-shell.wp-block-columns { display: grid; width: min(var(--content-max), calc(100% - 2 * var(--page-gutter))); margin-inline: auto; }
.site-footer .footer-shell > .wp-block-column { min-width: 0; margin: 0; }
.site-footer .footer-brand { display: flex; flex-direction: column; align-items: flex-start; }
.site-footer .footer-logo { margin: 0; }
.site-footer .footer-logo img { width: min(100%, 11rem); height: auto; }
.site-footer .footer-group { margin: 0; }
.site-footer .footer-group summary { cursor: pointer; }
.site-footer .footer-group ul { margin: 0; padding: 0; list-style: none; }
.site-footer .footer-bottom { width: min(var(--content-max), calc(100% - 2 * var(--page-gutter))); margin-inline: auto; }
.site-footer .footer-bottom p { margin: 0; }
.site-footer .footer-bottom-links { color: var(--text-dark-secondary); }

/* Restauración del brillo glass aprobado: capa decorativa detrás de los enlaces. */
body.site-background .site-footer::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 14% 75%, rgb(147 213 0 / .32), transparent 34%),
              radial-gradient(circle at 78% 28%, rgb(112 185 0 / .30), transparent 38%);
}
body.site-background .site-footer > * { position: relative; z-index: 1; }

@media (max-width: 75rem) {
  .site-header .header-inner { flex-wrap: wrap; }
  .site-header .header-nav-pill { order: 3; flex: 1 0 100%; }
  .site-header .header-community { order: 2; }
}
@media (max-width: 48rem) {
  .site-header .header-inner { flex-wrap: nowrap; }
  html.mobile-menu-ready .site-header .header-nav-pill { display: flex; }
  .site-header .header-nav-pill {
    position: static;
    order: 3;
    flex: 0 0 auto;
    width: auto;
    max-height: none;
    overflow: visible;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }
  .site-header .header-nav-pill .wp-block-navigation__responsive-container-open {
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgb(255 255 255 / .2);
    border-radius: 50%;
    color: var(--brand-white);
  }
  .site-header .header-nav-pill .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none; }
  .site-header .header-nav-pill .wp-block-navigation__responsive-container.is-menu-open {
    position: fixed;
    z-index: 9999;
    inset: 0;
    overflow-y: auto;
    padding: 5rem 1.25rem 2rem;
    background: rgb(10 15 10 / .96);
    color: var(--brand-white);
  }
  .site-header .header-nav-pill .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
    align-items: stretch;
    flex-direction: column;
    gap: .5rem;
    width: 100%;
  }
  .site-header .header-nav-pill .wp-block-navigation__responsive-container-close { color: var(--brand-white); }
  .site-header .header-nav-pill .wp-block-navigation-item__content { min-height: 2.75rem !important; }
  .hero-section .hero-shell.wp-block-columns { display: flex; flex-direction: column; flex-wrap: nowrap; height: auto; }
  .hero-section .hero-shell > .wp-block-column { flex-basis: auto !important; width: 100%; }
  .site-footer .footer-shell.wp-block-columns { display: grid; grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  body:has(.hero-section) .hero-section::before { animation: none; }
}

/* Paridad G1 de la rebanada: aislar la presentación de los wrappers Core. */
body:has(.hero-section) > main.wp-block-group,
body:has(.hero-section) .wp-block-post-content {
  width: 100%; max-width: none !important; margin: 0 !important; padding: 0 !important;
}
body:has(.hero-section) .site-header { background: transparent !important; }
.standard-page-content .wp-block-post-content > .alignfull.hero-section { background: transparent !important; }
body:has(.hero-section)::after {
  content: ""; position: absolute; z-index: -1; inset: 0 0 auto; height: min(60rem, 100vh);
  pointer-events: none;
  background: radial-gradient(circle at 69% 38%, rgb(147 213 0 / .48), transparent 37%), radial-gradient(circle at 89% 67%, rgb(112 185 0 / .35), transparent 34%);
}
body:has(.hero-section) .hero-section::before { display: none; }
/* WordPress duplica className en nav y ul. Solo nav porta la píldora y su destello. */
.site-header nav.header-nav-pill .wp-block-navigation__responsive-container,
.site-header nav.header-nav-pill ul.header-nav-pill {
  background: transparent !important; border: 0 !important; border-radius: 0 !important;
  box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
}
.site-header nav.header-nav-pill ul.header-nav-pill { padding: 2px 0 !important; }
.site-header nav.header-nav-pill ul.header-nav-pill::before,
.site-header nav.header-nav-pill .wp-block-navigation__responsive-container::before { content: none !important; animation: none !important; }
@media (max-width: 48rem) {
  .site-header nav.header-nav-pill .wp-block-navigation__responsive-container.is-menu-open {
    background: rgb(10 15 10 / .96) !important;
  }
  .site-header nav.header-nav-pill ul.header-nav-pill { border: 0 !important; }
}

/* El wrapper del sitio, no el body, contiene el main de la plantilla. */
body:has(.hero-section) .wp-site-blocks > main.wp-block-group { margin: 0 !important; }
@media (min-width: 48.01rem) { body:has(.hero-section) #inicio .hero-title-desktop-break { display: block; } }

/* CTA Gutenberg: un único enlace visual, sin estados heredados del wrapper Core. */
.hero-section .wp-block-buttons.action-row { display: flex; align-items: center; gap: var(--space-3); }
.hero-section .action-row > .wp-block-button,
.hero-section .action-row > .wp-block-button:is(:hover, :active, :focus-within) {
  position: static !important; width: auto; margin: 0 !important; padding: 0 !important;
  transform: none !important; background: transparent !important; border: 0 !important;
  border-radius: 0 !important; box-shadow: none !important;
}
.hero-section .action-row > .wp-block-button::before,
.hero-section .action-row > .wp-block-button::after { content: none !important; display: none !important; animation: none !important; }
.hero-section .action-row .wp-block-button__link,
.hero-section .action-row .wp-block-button__link:is(:hover, :active, :focus) {
  position: relative !important; display: inline-flex !important; align-items: center !important;
  justify-content: space-between !important; min-height: 3.25rem !important;
  padding: 0 4.25rem 0 1.25rem !important; overflow: hidden !important;
  border: 1px solid var(--brand-lime) !important; border-radius: .5rem !important;
  background-image: none !important; box-shadow: none !important; transform: none !important;
  font: 600 var(--type-body)/1.25 var(--font-main) !important;
  text-align: left !important; text-decoration: none !important;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease !important;
}
.hero-section .action-row .wp-block-button__link::before,
.hero-section .action-row .wp-block-button__link::after { content: none !important; display: none !important; animation: none !important; }
.hero-section .action-row .button-primary .wp-block-button__link,
.hero-section .action-row .button-primary .wp-block-button__link:active {
  background-color: var(--brand-lime) !important; color: var(--web-ink) !important;
}
.hero-section .action-row .button-primary .wp-block-button__link:is(:hover, :focus-visible) {
  background-color: #a8ee1b !important; color: var(--web-ink) !important;
}
.hero-section .action-row .button-secondary .wp-block-button__link,
.hero-section .action-row .button-secondary .wp-block-button__link:active {
  background-color: transparent !important; color: var(--brand-white) !important;
}
.hero-section .action-row .button-secondary .wp-block-button__link:is(:hover, :focus-visible) {
  background-color: transparent !important; border-color: var(--brand-lime) !important; color: var(--brand-lime) !important;
}
.hero-section .action-row .wp-block-button__link:focus-visible {
  outline: 3px solid var(--brand-lime) !important; outline-offset: 4px;
}
.hero-section .action-row .wp-block-button__link > span[aria-hidden="true"] {
  position: absolute !important; inset: 0 0 0 auto !important; width: 3rem !important; height: 100% !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  margin: 0 !important; padding: 0 !important; border-left: 1px solid currentColor !important;
  font-size: 0 !important; line-height: 0 !important; pointer-events: none !important;
}
.hero-section .action-row .button-primary .wp-block-button__link > span[aria-hidden="true"] { border-left-color: rgb(12 17 13 / .22) !important; }
.hero-section .action-row .button-secondary .wp-block-button__link > span[aria-hidden="true"] { border-left-color: rgb(255 255 255 / .3) !important; }
/* Máscara de flecha original de Foundations v0. */
.hero-section .action-row .wp-block-button__link > span[aria-hidden="true"]::after {
  content: "" !important; display: block !important; width: 13.5px !important; height: 13.5px !important;
  margin: auto !important; background-color: currentColor !important;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='4' y1='12' x2='20' y2='12'%3E%3C/line%3E%3Cpolyline points='13 5 20 12 13 19'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center / contain !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='4' y1='12' x2='20' y2='12'%3E%3C/line%3E%3Cpolyline points='13 5 20 12 13 19'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center / contain !important;
}
.hero-section .action-row .button-secondary .wp-block-button__link:hover > span[aria-hidden="true"] { border-left-color: currentColor !important; }
@media (prefers-reduced-motion: reduce) {
  .hero-section .action-row .wp-block-button__link { transition: none !important; }
}

/* Caja base: Foundations G1, 75rem de lectura, 90rem ancho amplio y gutter real. */
.wp-site-blocks > main.standard-page-content {
  box-sizing: border-box; width: 100%; max-width: none; margin: 0;
  padding: var(--section-space) var(--page-gutter) !important;
}
.standard-page-content .wp-block-post-content { width: 100%; max-width: none; margin: 0; padding: 0; }
.standard-page-content .wp-block-post-content > :not(.alignfull):not(.alignwide) {
  box-sizing: border-box; width: min(100%, var(--content-max)); max-width: none; margin-inline: auto;
}
.standard-page-content .wp-block-post-content > .alignwide {
  box-sizing: border-box; width: min(100%, 90rem); max-width: none; margin-inline: auto;
}
.standard-page-content .wp-block-post-content > .alignfull {
  box-sizing: border-box; width: calc(100% + 2 * var(--page-gutter)); max-width: none;
  margin-left: calc(-1 * var(--page-gutter)) !important;
  margin-right: calc(-1 * var(--page-gutter)) !important;
}
/* La sección explícitamente full-bleed no recibe respiro artificial en su borde de plantilla. */
.wp-site-blocks > main.standard-page-content:has(.wp-block-post-content > .alignfull:first-child) { padding-top: 0 !important; }
.wp-site-blocks > main.standard-page-content:has(.wp-block-post-content > .alignfull:last-child) { padding-bottom: 0 !important; }

/* Ajuste integral del header y la navegación móvil a C3 v0.3. */
.site-header nav.header-nav-pill .nav-item-icon { display: none; }
.site-header .mobile-whatsapp-cta { display: none !important; }
@media (max-width: 48rem) {
  body.choucair-menu-open { overflow: hidden; }
  /* Las decoraciones absolutas no aportan al modal y obligaban a recomponer
     capas blur animadas debajo de él en estas dos páginas largas. */
  body.choucair-menu-open.choucair-heavy-interior :is(.global-aurora,.hero-aurora,.hero-visual-grid,.hero-orbit,.pulse-marker) {
    display: none !important;
  }
  body.choucair-menu-open .site-header .header-inner { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  .site-header { position: relative; z-index: 1000; }
  .site-header .header-shell { width: auto; margin-inline: var(--page-gutter); padding-top: .5rem; }
  .site-header .header-inner {
    display: flex !important; flex-flow: row nowrap !important; align-items: center !important;
    justify-content: space-between !important; gap: clamp(.2rem, 1vw, .5rem) !important;
    min-width: 0; padding: .35rem clamp(.45rem, 2vw, .75rem) !important;
    border: 1px solid rgb(255 255 255 / .18); border-radius: 999px;
    background: rgb(18 29 21 / .8);
  }
  .site-header .brand-link { order: 1; flex: 0 1 clamp(5.2rem, 22vw, 8rem); width: clamp(5.2rem, 22vw, 8rem); min-width: 0; }
  .site-header .brand-link img { display: block; width: 100%; }
  .site-header .header-community { order: 2; display: flex; flex: 0 1 auto; flex-wrap: nowrap; align-items: center; gap: clamp(.2rem, 1vw, .5rem); min-width: 0; margin-left: auto; }
  .site-header .header-follow, .site-header .header-socials { display: flex; flex-wrap: nowrap; align-items: center; flex: 0 0 auto; }
  .site-header .header-follow-label { display: none; }
  .site-header .header-socials .wp-social-link { flex: 0 0 auto; }
  .site-header .header-socials a { display: grid; place-items: center; width: clamp(1.5rem, 7vw, 2rem); height: 2.5rem; }
  .site-header .header-language { flex: 0 0 auto; min-width: 0; padding-inline: clamp(.25rem, 1.5vw, .5rem); }
  .site-header .header-language .language-switch { flex-wrap: nowrap; white-space: nowrap; gap: clamp(.2rem, 1vw, .5rem); font-size: clamp(.62rem, 2.5vw, .8rem); }
  .site-header nav.header-nav-pill { order: 3; flex: 0 0 auto; min-width: 0; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; backdrop-filter: none !important; isolation: auto; }
  .site-header nav.header-nav-pill::before { content: none !important; animation: none !important; }
  .site-header nav.header-nav-pill .wp-block-navigation__responsive-container-open,
  .site-header nav.header-nav-pill .wp-block-navigation__responsive-container-close {
    box-sizing: border-box; display: flex; align-items: center; justify-content: center;
    width: clamp(2.5rem, 11vw, 3rem); height: clamp(2.5rem, 11vw, 3rem);
    padding: .6rem; border: 1px solid rgb(255 255 255 / .3); border-radius: 50%;
    background: rgb(255 255 255 / .06); color: #fff;
  }
  .site-header nav.header-nav-pill .wp-block-navigation__responsive-container-open svg,
  .site-header nav.header-nav-pill .wp-block-navigation__responsive-container-close svg { width: 1.4rem; height: 1.4rem; }
  .site-header nav.header-nav-pill .wp-block-navigation__responsive-container.is-menu-open {
    position: fixed; inset: 0; z-index: 10000; width: 100vw; height: 100dvh;
    overflow-y: auto; padding: clamp(5rem, 16vw, 6rem) 0 1rem;
    background: linear-gradient(to bottom, transparent 0 4.5rem, rgb(4 9 5 / .82) 4.5rem) !important; backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important; border: 0 !important; border-radius: 0 !important;
  }
  .site-header nav.header-nav-pill .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close,
  .site-header nav.header-nav-pill .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog {
    box-sizing: border-box; width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important;
  }
  .site-header nav.header-nav-pill .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
    box-sizing: border-box; display: block; width: min(90%, 42rem) !important; max-width: calc(100vw - 2 * var(--page-gutter)) !important;
    margin: 0 auto !important; padding: 1rem; border: 1px solid rgb(255 255 255 / .26); border-radius: 1.5rem;
    background: rgb(12 17 13 / .88); box-shadow: 0 1rem 2rem rgb(0 0 0 / .3);
  }
  .site-header nav.header-nav-pill .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container,
  .site-header nav.header-nav-pill .wp-block-navigation__responsive-container.is-menu-open ul.header-nav-pill {
    box-sizing: border-box; display: flex !important; flex-direction: column !important; align-items: stretch !important;
    gap: .3rem; width: 100% !important; max-width: 100% !important; margin: 0 !important; padding: 0 !important; padding-left: 0 !important;
    overflow: visible; white-space: normal;
  }
  .site-header nav.header-nav-pill .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { display: block; width: 100%; margin: 0; }
  .site-header nav.header-nav-pill .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
    box-sizing: border-box; display: flex !important; align-items: center; gap: .75rem;
    width: 100%; min-height: 3.25rem !important; padding: .65rem 1rem !important;
    border: 1px solid rgb(255 255 255 / .32) !important; border-radius: 999px !important;
    background: rgb(255 255 255 / .08) !important; color: #fff !important;
    font-size: clamp(.875rem, 3.8vw, 1.1rem); line-height: 1.25; text-align: left;
  }
  .site-header nav.header-nav-pill .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:is(:hover,:focus-visible) { border-color: var(--brand-lime) !important; background: rgb(147 213 0 / .1) !important; }
  .site-header nav.header-nav-pill .nav-item-icon { display: block; flex: 0 0 1.25rem; width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .site-header nav.header-nav-pill .mobile-whatsapp-cta {
    display: block !important; width: 100%; margin-top: .55rem; padding: 0 !important;
    border: 0 !important; border-radius: 0 !important; background: transparent !important;
    box-shadow: none !important;
  }
  .site-header nav.header-nav-pill .wp-block-navigation__responsive-container.is-menu-open .mobile-whatsapp-cta .wp-block-navigation-item__content {
    justify-content: center; min-height: 3.5rem !important; border-color: var(--brand-lime) !important;
    border-radius: .5rem !important; background: rgb(147 213 0 / .1) !important;
    font-weight: 700; text-align: center;
  }
  .site-header nav.header-nav-pill .mobile-whatsapp-cta .nav-item-icon { flex-basis: 1.4rem; width: 1.4rem; height: 1.4rem; }
  body.choucair-menu-open .site-header nav.header-nav-pill .wp-block-navigation__responsive-container-open { visibility: hidden; }
  .site-header nav.header-nav-pill .wp-block-navigation__responsive-container-close { display: none !important; }
  .hero-section .hero-shell.wp-block-columns { padding-top: clamp(2.5rem, 8vw, 4rem) !important; }
  .hero-section .wp-block-buttons.action-row { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; width: 100%; }
  .hero-section .action-row > .wp-block-button { min-width: 0; width: 100%; }
  .hero-section .action-row .wp-block-button__link,
  .hero-section .action-row .wp-block-button__link:is(:hover,:focus,:active) {
    box-sizing: border-box; display: flex !important; align-items: center; width: 100%; min-height: 3rem;
    padding: .55rem 2rem .55rem .6rem !important; font-size: clamp(.63rem, 2.7vw, .76rem) !important;
    line-height: 1.15; white-space: nowrap !important; overflow-wrap: normal !important;
  }
  .hero-section .action-row .wp-block-button__link > span[aria-hidden="true"] { width: 1.6rem !important; }
}
@media (max-width: 22.5rem) {
  .site-header .header-socials a { width: 1.4rem; }
  .site-header .brand-link { flex-basis: 5rem; width: 5rem; }
  .hero-section .wp-block-buttons.action-row { grid-template-columns: 1fr; }
  .hero-section .action-row .wp-block-button__link { justify-content: center; }
}

/* Footer móvil: controles nativos Details y presentación del prototipo C3. */
.site-footer .footer-socials.wp-block-social-links { display: flex; align-items: center; gap: .6rem !important; margin: 0; padding: 0; }
.site-footer .footer-socials .wp-social-link {
  box-sizing: border-box; display: grid; place-items: center; flex: 0 0 2.75rem; width: 2.75rem; height: 2.75rem; margin: 0; padding: 0;
  border: 1px solid rgb(255 255 255 / .15); border-radius: .8rem;
  background: rgb(255 255 255 / .06) !important; box-shadow: none !important; overflow: hidden;
}
.site-footer .footer-socials .wp-social-link a {
  box-sizing: border-box; display: grid; place-items: center; width: 100% !important; height: 100% !important; padding: .55rem !important;
  border: 0 !important; border-radius: inherit; background: transparent !important; box-shadow: none !important;
}
.site-footer .footer-socials .wp-social-link svg.social-icon { display: block; width: 1.15rem; height: 1.15rem; flex: none; fill: none; stroke: currentColor; stroke-width: 2; }
.site-header .header-socials .wp-social-link svg.social-icon { display: block; width: 1.15rem; height: 1.15rem; flex: none; fill: none; stroke: currentColor; stroke-width: 2; }
.site-header .header-socials .wp-social-link svg.social-icon .icon-dot { fill: currentColor; stroke: none; }
.site-footer .footer-socials .wp-social-link .icon-dot { fill: currentColor; stroke: none; }
.site-footer .footer-socials .wp-social-link:is(:hover,:focus-within) { background: rgb(147 213 0 / .1) !important; }
.site-footer .footer-brand .language-switch { margin-top: var(--space-3); }
@media (max-width: 48rem) {
  .site-footer .footer-socials .wp-social-link { flex-basis: 2.35rem; width: 2.35rem; height: 2.35rem; }
  .site-footer .footer-socials .wp-social-link a { padding: .47rem !important; }
  .site-footer .footer-socials .wp-social-link svg.social-icon { width: 1.15rem; height: 1.15rem; }
  .site-footer .footer-brand .language-switch { margin-top: .2rem; margin-bottom: 1rem; }
  .site-footer .footer-bottom p { font-size: 12px !important; }
  .site-footer .footer-group summary { display: flex; align-items: center; justify-content: space-between; list-style: none; cursor: pointer; }
  .site-footer .footer-group summary::-webkit-details-marker { display: none; }
  .site-footer .footer-group summary::marker { content: ''; }
  .site-footer .footer-group summary::after { content: '+'; color: var(--brand-lime); font-size: 1.2rem; font-weight: 400; }
  .site-footer .footer-group[open] summary::after { content: '−'; }
}
/* Estado actual del enlace Core Navigation: mismo borde en escritorio y overlay. */
.site-header nav.header-nav-pill .wp-block-navigation-item__content[aria-current="page"],
.site-header nav.header-nav-pill .wp-block-navigation-item__content[aria-current="page"]:is(:hover,:focus-visible),
.site-header nav.header-nav-pill .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content[aria-current="page"] {
  border: 1px solid var(--brand-lime) !important;
  border-radius: 999px !important;
  background: rgb(147 213 0 / .08) !important;
  color: var(--brand-lime) !important;
  box-shadow: inset 0 1px rgb(255 255 255 / .15) !important;
}
/* Crédito de agencia junto al copyright, con el mismo cuerpo legal del Footer. */
.site-footer .footer-bottom .firma-agencia {
  display: block;
  font-size: .85em;
  opacity: .7;
  margin-top: 8px;
}
.site-footer .footer-bottom .firma-agencia a {
  font-weight: 700;
  text-decoration: none;
  color: inherit;
  transition: color .3s ease;
}
.site-footer .footer-bottom .firma-agencia a:is(:hover, :focus-visible) {
  color: var(--brand-lime, #93d500);
  opacity: 1;
  text-decoration: none;
}

/* Menús editables del Footer: el mismo ritmo de texto en Compañía y Legal. */
.site-footer :is(.footer-company-nav, .footer-legal-nav) { width: 100%; }
.site-footer :is(.footer-company-nav, .footer-legal-nav) .wp-block-navigation__container {
  display: grid;
  gap: .75rem;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer :is(.footer-company-nav, .footer-legal-nav) .wp-block-navigation-item { margin: 0; }
.site-footer :is(.footer-company-nav, .footer-legal-nav) .wp-block-navigation-item__content {
  display: inline;
  min-height: 0;
  padding: .15rem 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--text-dark-secondary, #c7d1c6);
  font-size: .83rem;
  line-height: 1.45;
  text-decoration: none;
  transition: color var(--motion-fast), transform var(--motion-medium) var(--motion-organic);
}
.site-footer :is(.footer-company-nav, .footer-legal-nav) .wp-block-navigation-item__content:is(:hover, :focus-visible) {
  background: none;
  color: var(--brand-lime, #93d500);
  transform: translateX(.18rem);
}
.site-footer .footer-office {
  margin: 0 0 .75rem !important;
  color: var(--text-dark-secondary, #c7d1c6);
  font-size: .83rem;
  line-height: 1.45;
}
.site-footer .footer-office:last-child { margin-bottom: 0 !important; }
.site-footer .footer-office strong {
  display: block;
  margin-bottom: .1rem;
  color: var(--brand-white, #fff);
  font-weight: 600;
}
.site-footer .footer-office br { display: none; }

/* Comunidad Choucair: el borde superior de las tarjetas cruzaba las fotos escalonadas. */
.editorial-section .editorial-card { border-top: 0; }
