
/* 10.21: editable global logos must be allowed to exceed WordPress/Tailwind image caps. */
.acad-react-page [data-acad-edit-id="global-header-logo"],
.acad-react-page [data-acad-edit-id="global-footer-logo"] {
  display: block !important;
  height: auto !important;
  max-width: none !important;
  object-fit: contain !important;
  flex: 0 0 auto !important;
}
.acad-react-page .header-main-shell,
.acad-new-mainbar-inner {
  height: auto !important;
  min-height: 70px !important;
  padding-top: 7px !important;
  padding-bottom: 7px !important;
  overflow: visible !important;
}
.acad-new-mainbar {
  height: auto !important;
  min-height: 70px !important;
  overflow: visible !important;
}
.acad-new-logo,
.acad-react-page .header-main-shell > a:first-child {
  flex: 0 0 auto !important;
  overflow: visible !important;
}
.acad-new-page-spacer {
  height: var(--acad-fixed-header-height,108px) !important;
}
.acad-new-mobile-menu {
  top: var(--acad-fixed-header-height,108px) !important;
}

/* ACAD Theme 10.27.0 global visual refinements */
/* Allow the WordPress toolbar to wrap at laptop widths while leaving every
   administrative control accessible and keeping it off the site header. */
@media (min-width: 1261px) and (max-width: 1500px) {
  body.admin-bar.acad-react-template .acad-new-header,
  body.admin-bar.acad-react-home-page #header,
  body.admin-bar.acad-react-page #header {
    top: 64px !important;
  }
}
.acad-gradient-cta {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg,#018bb9 0%,#34499a 100%) !important;
  color: #fff !important;
  box-shadow: none !important;
  text-decoration: none !important;
  transition: transform .18s ease, opacity .18s ease, box-shadow .18s ease !important;
}
.acad-gradient-cta:hover,
.acad-gradient-cta:focus-visible {
  color: #fff !important;
  opacity: .94 !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(1,139,185,.2) !important;
}
.acad-gradient-cta .arrow-circle,
.acad-gradient-cta .arrow-badge,
.acad-gradient-cta > span:last-child {
  background-color: #fff !important;
  border-color: rgba(255,255,255,.7) !important;
}
.acad-gradient-cta svg path,
.acad-gradient-cta svg line,
.acad-gradient-cta svg polyline {
  stroke: #21211f !important;
}

/* All decorative hero circles use the same cyan accent as Nosotros. */
.acad-about-hero::before,
.acad-beliefs-hero::before,
.acad-min-hero::after,
.acad-mis-hero::after,
.acad-contact-hero::after,
.acad-rpj-hero::before,
.acad-ng-hero::before,
.acad-ker-hero::before,
.acad-donate-orbit,
.acad-resources-hero::before,
.acad-setad-hero-ring,
.acad-search-circle {
  border-color: rgba(71,196,237,.46) !important;
}

/* Home hero: reserve the 108px occupied by the fixed utility + main header. */
.acad-home-page .acad-home-hero {
  min-height: clamp(740px,88svh,860px) !important;
  height: auto !important;
  padding-top: var(--acad-fixed-header-height,108px) !important;
  padding-bottom: 54px !important;
  box-sizing: border-box !important;
}
.acad-home-page .acad-home-hero > div {
  padding-top: 18px;
}
.acad-home-page .acad-home-hero h1 {
  font-size: clamp(34px,6.3vw,76px) !important;
  line-height: 1.02 !important;
  text-wrap: balance;
}
.acad-home-page .acad-home-hero h2,
.acad-home-page .acad-home-hero p {
  text-wrap: balance;
}
@media (max-width:767px) {
  .acad-home-page .acad-home-hero {
    min-height: 760px !important;
    padding-top: calc(var(--acad-fixed-header-height,108px) + 10px) !important;
    padding-bottom: 42px !important;
  }
}

/* One editable ticker message, repeated automatically in both moving ribbons. */
.acad-home-page .acad-ticker-item {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.acad-home-page .ticker-star {
  color: #47c4ed !important;
}

/* Repair the Home resources card so its image stays in the intended left column. */
.acad-home-page .acad-home-resources-section .acad-home-resources-card > div {
  align-items: stretch !important;
}
.acad-home-page [data-acad-edit-id="home-resources-image"] {
  width: 100% !important;
  height: clamp(360px,42vw,500px) !important;
  max-height: 500px !important;
  object-fit: cover !important;
  object-position: center center;
  display: block !important;
  border-radius: 20px !important;
}
@media (max-width:1023px) {
  .acad-home-page [data-acad-edit-id="home-resources-image"] {
    height: clamp(300px,64vw,480px) !important;
  }
}

.acad-footer-signature-2027 {
  text-transform: uppercase !important;
  letter-spacing: .05em;
}

/* 10.18.0: robust Home Resources two-column layout. */
.acad-home-page .acad-home-resources-section .acad-home-resources-card .acad-home-resources-row {
  display: grid !important;
  grid-template-columns: minmax(0,45%) minmax(0,55%) !important;
  align-items: center !important;
  gap: clamp(32px,4vw,64px) !important;
  width: 100% !important;
}
.acad-home-page .acad-home-resources-image-col,
.acad-home-page .acad-home-resources-copy-col {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}
.acad-home-page .acad-home-resources-image-col {
  grid-column: 1 !important;
  display: block !important;
}
.acad-home-page .acad-home-resources-copy-col {
  grid-column: 2 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  text-align: left !important;
}
.acad-home-page .acad-home-resources-copy-col h1,
.acad-home-page .acad-home-resources-copy-col p {
  text-align: left !important;
}
@media (max-width:1023px) {
  .acad-home-page .acad-home-resources-section .acad-home-resources-card .acad-home-resources-row {
    grid-template-columns: 1fr !important;
  }
  .acad-home-page .acad-home-resources-image-col,
  .acad-home-page .acad-home-resources-copy-col {
    grid-column: 1 !important;
  }
}

/* Replace pseudo hero circles with real editable elements. Their border follows currentColor. */
.acad-about-hero::before,
.acad-beliefs-hero::before,
.acad-min-hero::after,
.acad-mis-hero::after,
.acad-contact-hero::after,
.acad-rpj-hero::before,
.acad-ng-hero::before,
.acad-ker-hero::before,
.acad-resources-hero::before {
  display: none !important;
}
.acad-editable-hero-circle {
  position: absolute;
  z-index: -1;
  display: block;
  aspect-ratio: 1;
  border-style: solid;
  border-color: currentColor !important;
  border-radius: 50%;
  color: rgba(71,196,237,.46);
  box-sizing: border-box;
  mix-blend-mode: screen;
  pointer-events: none;
}
body.acad-theme-editing .acad-editable-hero-circle {
  pointer-events: auto;
  cursor: pointer;
  outline: 1px dashed rgba(255,255,255,.5);
  outline-offset: 4px;
}
.acad-about-hero > .acad-editable-hero-circle { top:20%; right:-9vw; width:min(40vw,610px); min-width:430px; border-width:clamp(65px,8vw,105px); }
.acad-beliefs-hero > .acad-editable-hero-circle { top:21%; right:-8vw; width:min(39vw,590px); min-width:420px; border-width:clamp(65px,8vw,105px); }
.acad-min-hero > .acad-editable-hero-circle { right:-8vw; bottom:-27vw; width:50vw; border-width:clamp(70px,10vw,150px); }
.acad-mis-hero > .acad-editable-hero-circle { top:15%; right:-16vw; width:46vw; min-width:450px; border-width:clamp(65px,9vw,130px); }
.acad-contact-hero > .acad-editable-hero-circle { top:23%; right:-9vw; width:min(40vw,590px); min-width:420px; border-width:clamp(62px,8vw,105px); }
.acad-rpj-hero > .acad-editable-hero-circle { top:23%; right:-8vw; width:min(38vw,560px); min-width:390px; border-width:clamp(58px,7vw,92px); }
.acad-ng-hero > .acad-editable-hero-circle,
.acad-ker-hero > .acad-editable-hero-circle { top:23%; right:-8vw; width:min(38vw,560px); min-width:380px; border-width:clamp(58px,7vw,90px); }
.acad-resources-hero > .acad-editable-hero-circle { top:19%; right:10%; width:min(22vw,320px); border-width:clamp(35px,5vw,68px); }
.acad-donate-orbit.acad-editable-hero-circle,
.acad-setad-hero-ring.acad-editable-hero-circle { border-color: currentColor !important; color:rgba(71,196,237,.46); }
@media (max-width:1024px) {
  .acad-about-hero > .acad-editable-hero-circle { right:-26vw; opacity:.66; }
  .acad-beliefs-hero > .acad-editable-hero-circle { right:-25vw; opacity:.64; }
  .acad-rpj-hero > .acad-editable-hero-circle { right:-22vw; opacity:.65; }
  .acad-ng-hero > .acad-editable-hero-circle { top:28%; right:-220px; opacity:.62; }
  .acad-ker-hero > .acad-editable-hero-circle { top:28%; right:-220px; opacity:.58; }
  .acad-contact-hero > .acad-editable-hero-circle { right:-290px; }
}

/* Contact now has four large information cards including WhatsApp. */
.acad-contact-detail-grid {
  grid-template-columns: repeat(4,minmax(0,1fr)) !important;
}
.acad-contact-whatsapp .acad-whatsapp-icon {
  color: #25D366;
}
@media (max-width:1100px) {
  .acad-contact-detail-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
}
@media (max-width:680px) {
  .acad-contact-detail-grid { grid-template-columns: 1fr !important; }
}

/* Footer menu replaces legal placeholders and can wrap comfortably. */
footer .footer-nav-pill {
  max-width: 900px;
  justify-content: flex-end;
  gap: 10px 20px !important;
  padding: 12px 20px !important;
}
footer .footer-nav-link { font-size: 12px !important; }
footer .footer-whatsapp-link { color:#25D366 !important; }

/* ACAD 10.32.4 — desktop logo/circle coordinate system. */
@media (min-width:1025px) {
  .acad-ng-hero > .acad-editable-hero-circle[data-acad-edit-id="hero-circle-nuevas-generaciones"] {
    z-index: 2;
    overflow: visible;
    pointer-events: none;
    mix-blend-mode: normal;
  }
  body.acad-theme-editing .acad-ng-hero > .acad-editable-hero-circle[data-acad-edit-id="hero-circle-nuevas-generaciones"] {
    pointer-events: auto;
  }
  .acad-ng-hero > .acad-editable-hero-circle[data-acad-edit-id="hero-circle-nuevas-generaciones"] > .acad-ng-hero-brand-logo {
    pointer-events: auto;
  }
}
/* MM33 10.33 — six linked pillars */
.acad-mm33-pillar-grid--six{grid-template-columns:repeat(3,minmax(0,1fr))!important}.acad-mm33-pillar-link{color:inherit;text-decoration:none;transition:transform .2s ease,box-shadow .2s ease}.acad-mm33-pillar-link:hover{transform:translateY(-5px);box-shadow:0 18px 42px rgba(13,49,87,.13)}.acad-mm33-pillar-link .acad-mm33-pillar-top i{display:grid;width:38px;height:38px;place-items:center;border-radius:50%;background:#e9f8fc;color:#098db8;font-style:normal}.acad-mm33-pillar-link:nth-child(1){border-top:5px solid #ec5a38}.acad-mm33-pillar-link:nth-child(2){border-top:5px solid #f0ae29}.acad-mm33-pillar-link:nth-child(3){border-top:5px solid #18a8ce}.acad-mm33-pillar-link:nth-child(4){border-top:5px solid #55a858}.acad-mm33-pillar-link:nth-child(5){border-top:5px solid #3559a5}.acad-mm33-pillar-link:nth-child(6){border-top:5px solid #8b5bb2}@media(max-width:900px){.acad-mm33-pillar-grid--six{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media(max-width:560px){.acad-mm33-pillar-grid--six{grid-template-columns:1fr!important}}
