/* Huamantla Core 5.0.27 - portal foundation. Concatenacion literal; sin cambios visuales. */

/* === tokens.css === */
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --hd-ink: #10232b;
  --hd-pink: #e53281;
  --hd-pink-text: #d62a78;
  --hd-gold: #d7ae75;
  --hd-secondary: #4c5a60;
  --hd-muted: #677277;
  --hd-paper: #f2f4f4;
  --hd-soft: #fafbfb;
  --hd-line: #dfe3e1;
  --hd-white: #ffffff;

  /* Alias de compatibilidad con Demo 2.0 y Laboratorio Visual. */
  --ink: var(--hd-ink);
  --paper: var(--hd-paper);
  --secondary: var(--hd-secondary);
  --line: var(--hd-line);
  --pink: var(--hd-pink);
  --pink-text: var(--hd-pink-text);
  --pink-text-accessible: var(--hd-pink-text);
  --gold: var(--hd-gold);
  --white: var(--hd-white);
}

/*
 * Controles administrables de grid para Elementor. El modo normal continúa
 * gobernado por el CSS original de cada página. Estas reglas sólo se activan
 * cuando la persona elige Masonry en el widget correspondiente.
 */
.hd-grid-main-mode-masonry :is(
  .hd-source-method-grid,
  .hd-source-related-grid,
  .hd-faq-theme-grid,
  .hd-contact-overview,
  .hd-contact-writing-grid,
  .hd-contact-team-grid,
  .hd-visit-planning-grid,
  .hd-visit-experience-grid,
  .hd-visit-why-grid,
  .hd-visit-related-grid,
  .hd-first-visit-season-grid,
  .hd-first-visit-must-see-grid,
  .hd-first-visit-planning-links,
  .hd-arrival-distance-grid,
  .hd-arrival-route-list,
  .hd-arrival-tips-grid,
  .hd-malinche-quick-grid,
  .hd-malinche-distance-list,
  .hd-malinche-nature-facts,
  .hd-malinche-history-grid,
  .hd-malinche-gallery-grid,
  .hd-malinche-related-news-grid,
  .hd-conoce-identity-grid,
  .hd-conoce-celebration-grid,
  .hd-conoce-heritage-grid
),
.hd-grid-primary-mode-masonry .hd-contact-purpose-primary,
.hd-grid-values-mode-masonry .hd-contact-values-grid,
.hd-grid-facts-mode-masonry .hd-celebration-facts,
.hd-grid-documents-mode-masonry :is(.hd-celebration-document-grid, .hd-document-grid),
.hd-grid-experience-mode-masonry .hd-celebration-experience-grid,
.hd-grid-guide-mode-masonry .hd-celebration-guide-grid,
.hd-grid-gallery-mode-masonry .hd-celebration-gallery-grid,
.hd-grid-plan-mode-masonry .hd-celebration-plan-grid,
.hd-grid-news-mode-masonry .hd-celebration-news-grid,
.hd-grid-more-mode-masonry .hd-celebration-more-grid,
.hd-grid-magic-reasons-mode-masonry .hd-magic-reasons-grid,
.hd-grid-magic-timeline-mode-masonry .hd-magic-timeline-grid,
.hd-grid-magic-care-mode-masonry .hd-magic-care-grid,
.hd-grid-city-meaning-mode-masonry .hd-city-meaning-grid,
.hd-grid-city-heroic-mode-masonry .hd-city-heroic-grid,
.hd-grid-city-territory-mode-masonry .hd-city-territory-grid,
.hd-grid-city-ecosystems-mode-masonry .hd-city-ecosystems-grid,
.hd-grid-city-government-mode-masonry .hd-city-government-grid,
.hd-grid-codex-definition-mode-masonry .codex-definition-grid,
.hd-grid-codex-importance-mode-masonry .codex-importance-grid,
.hd-grid-codex-fragments-mode-masonry .codex-fragment-cards,
.hd-grid-codex-conservation-mode-masonry .codex-conservation-grid,
.hd-grid-codex-visit-mode-masonry .codex-visit-grid,
.hd-grid-codex-materials-mode-masonry .codex-material-grid,
.hd-grid-history-events-mode-masonry .hd-history-year-events,
.hd-grid-monuments-catalog-mode-masonry .hd-monuments-grid {
  display: block !important;
  column-count: var(--hd-grid-columns, 2) !important;
  column-gap: 10px;
}

.hd-grid-main-mode-masonry :is(
  .hd-source-method-grid,
  .hd-source-related-grid,
  .hd-faq-theme-grid,
  .hd-contact-overview,
  .hd-contact-writing-grid,
  .hd-contact-team-grid,
  .hd-visit-planning-grid,
  .hd-visit-experience-grid,
  .hd-visit-why-grid,
  .hd-visit-related-grid,
  .hd-first-visit-season-grid,
  .hd-first-visit-must-see-grid,
  .hd-first-visit-planning-links,
  .hd-arrival-distance-grid,
  .hd-arrival-route-list,
  .hd-arrival-tips-grid,
  .hd-malinche-quick-grid,
  .hd-malinche-distance-list,
  .hd-malinche-nature-facts,
  .hd-malinche-history-grid,
  .hd-malinche-gallery-grid,
  .hd-malinche-related-news-grid,
  .hd-conoce-identity-grid,
  .hd-conoce-celebration-grid,
  .hd-conoce-heritage-grid
) > *,
.hd-grid-primary-mode-masonry .hd-contact-purpose-primary > *,
.hd-grid-values-mode-masonry .hd-contact-values-grid > *,
.hd-grid-facts-mode-masonry .hd-celebration-facts > *,
.hd-grid-documents-mode-masonry :is(.hd-celebration-document-grid, .hd-document-grid) > *,
.hd-grid-experience-mode-masonry .hd-celebration-experience-grid > *,
.hd-grid-guide-mode-masonry .hd-celebration-guide-grid > *,
.hd-grid-gallery-mode-masonry .hd-celebration-gallery-grid > *,
.hd-grid-plan-mode-masonry .hd-celebration-plan-grid > *,
.hd-grid-news-mode-masonry .hd-celebration-news-grid > *,
.hd-grid-more-mode-masonry .hd-celebration-more-grid > *,
.hd-grid-magic-reasons-mode-masonry .hd-magic-reasons-grid > *,
.hd-grid-magic-timeline-mode-masonry .hd-magic-timeline-grid > *,
.hd-grid-magic-care-mode-masonry .hd-magic-care-grid > *,
.hd-grid-city-meaning-mode-masonry .hd-city-meaning-grid > *,
.hd-grid-city-heroic-mode-masonry .hd-city-heroic-grid > *,
.hd-grid-city-territory-mode-masonry .hd-city-territory-grid > *,
.hd-grid-city-ecosystems-mode-masonry .hd-city-ecosystems-grid > *,
.hd-grid-city-government-mode-masonry .hd-city-government-grid > *,
.hd-grid-codex-definition-mode-masonry .codex-definition-grid > *,
.hd-grid-codex-importance-mode-masonry .codex-importance-grid > *,
.hd-grid-codex-fragments-mode-masonry .codex-fragment-cards > *,
.hd-grid-codex-conservation-mode-masonry .codex-conservation-grid > *,
.hd-grid-codex-visit-mode-masonry .codex-visit-grid > *,
.hd-grid-codex-materials-mode-masonry .codex-material-grid > *,
.hd-grid-history-events-mode-masonry .hd-history-year-events > *,
.hd-grid-monuments-catalog-mode-masonry .hd-monuments-grid > * {
  width: 100%;
  break-inside: avoid;
  margin-bottom: 10px;
}

/* === footer.css === */
.footer-b-preview{--ink: var(--hd-ink);--pink: var(--hd-pink);--pink-text: var(--hd-pink-text);--secondary: var(--hd-secondary);--paper: var(--hd-paper);--line: var(--hd-line);--white: var(--hd-white);--accent-dark: var(--hd-gold);box-sizing:border-box;font-family:"Montserrat",system-ui,sans-serif}.footer-b-preview *,.footer-b-preview *::before,.footer-b-preview *::after{box-sizing:border-box}.footer-b-preview a:focus-visible{outline:3px solid var(--pink);outline-offset:3px}.footer-b-preview{--footer-accent: var(--accent-dark);width:100%;padding:48px 0 24px;background:var(--ink)}.footer-b-content{width:min(100% - 48px,1180px);margin-inline:auto;padding:0;color:var(--white)}.footer-b-preview .identity-card{display:grid;grid-template-columns:minmax(280px,1.25fr) minmax(320px,1fr);gap:clamp(28px,5vw,64px);align-items:start;padding:0 clamp(16px,4vw,48px) 48px;border-radius:22px;background:transparent;color:var(--white)}.footer-b-preview .identity-copy>img{width:min(100%,330px);height:auto;display:block;object-fit:contain;object-position:left center}.footer-b-preview .identity-copy>p{max-width:42ch;margin:24px 0 0;color:rgba(255,255,255,0.72);font-size:0.88rem;line-height:1.65}.footer-b-preview .social-card{padding:24px;border:1px solid rgba(255,255,255,0.18);border-radius:22px;background:rgba(255,255,255,0.07)}.footer-b-preview .social-card>p{margin:0 0 16px;color:var(--footer-accent);font-size:0.75rem;font-weight:800;letter-spacing:0.1em;text-transform:uppercase}.footer-b-preview .social-icons{display:flex;flex-wrap:wrap;gap:8px}.footer-b-preview .social-icon{width:48px;height:48px;display:grid;place-items:center;padding:0;border:1px solid rgba(255,255,255,0.24);border-radius:50%;color:var(--white);text-decoration:none}.footer-b-preview .social-icon:hover{border-color:var(--footer-accent);color:var(--footer-accent)}.footer-b-preview .social-icon svg{width:21px;height:21px;fill:currentColor}.footer-b-preview .social-icon--instagram rect,.footer-b-preview .social-icon--instagram circle{fill:none;stroke:currentColor;stroke-width:1.8}.footer-b-preview .social-icon--instagram .social-icon-dot{fill:currentColor;stroke:none}.footer-b-preview .social-icon--youtube rect,.footer-b-preview .social-icon--flickr circle{fill:currentColor;stroke:none}.footer-b-preview .social-icon .social-icon-cutout{fill:var(--ink)}.footer-b-preview .link-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding-top:14px;border-top:1px solid rgba(255,255,255,0.14)}.footer-b-preview .link-card{min-width:0;display:grid;align-content:start;gap:12px;padding:26px;border:1px solid rgba(255,255,255,0.15);border-radius:22px;background:rgba(255,255,255,0.07)}.footer-b-preview .link-card h2{margin:0 0 7px;color:var(--footer-accent);font-size:0.75rem;font-weight:700;letter-spacing:0.1em;text-transform:uppercase}.footer-b-preview .hd-footer-menu{display:grid;gap:4px;margin:0;padding:0;list-style:none}.footer-b-preview .hd-footer-menu li{margin:0;padding:0}.footer-b-preview .link-card a{min-height:28px;display:flex;align-items:center;color:rgba(255,255,255,0.82);font-size:0.78rem;line-height:1.45;text-decoration:none}.footer-b-preview .link-card a:hover,.footer-b-preview .link-card a:focus-visible{color:#fff;text-decoration:underline;text-underline-offset:4px}.footer-b-preview .footer-b-bottom{display:flex;justify-content:space-between;gap:24px;margin:14px 12px 0;padding:22px 4px 10px;border-top:1px solid rgba(255,255,255,0.14);color:rgba(255,255,255,0.6);font-size:0.75rem}@media (max-width:900px){.footer-b-preview .identity-card{grid-template-columns:1fr}.footer-b-preview .link-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:620px){.footer-b-preview{padding-top:32px}.footer-b-content{width:calc(100% - 32px)}.footer-b-preview .identity-card{padding:0 16px 32px;text-align:center}.footer-b-preview .identity-copy>img,.footer-b-preview .identity-copy>p{margin-inline:auto;object-position:center}.footer-b-preview .social-card{padding:20px 12px}.footer-b-preview .social-icons{justify-content:center}.footer-b-preview .link-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.footer-b-preview .link-card{padding:20px 16px}.footer-b-preview .link-card a{min-height:44px}.footer-b-preview .footer-b-bottom{flex-direction:column;align-items:center;text-align:center}}

/* === header-beta2.css === */
.hb2-site-header {
  --hb2-ink: var(--hd-ink, #10232b);
  --hb2-secondary: var(--hd-secondary, #4c5a60);
  --hb2-paper: var(--hd-paper, #f2f4f4);
  --hb2-line: var(--hd-line, #dfe3e1);
  --hb2-pink: var(--hd-pink, #e53281);
  --hb2-white: var(--hd-white, #ffffff);
}

body.hb2-menu-open {
  overflow: hidden;
}

.hb2-skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 10002;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--hd-ink, #10232b);
  color: var(--hd-white, #ffffff);
  font-family: "Montserrat", system-ui, sans-serif;
  text-decoration: none;
  transform: translateY(-160%);
}

.hb2-skip-link:focus {
  color: var(--hd-white, #ffffff);
  transform: translateY(0);
}

.hb2-site-header,
.hb2-site-header *,
.hb2-site-header *::before,
.hb2-site-header *::after {
  box-sizing: border-box;
}

.hb2-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(223, 227, 225, 0.9);
  background: rgba(255, 255, 255, 0.96);
  color: var(--hb2-ink);
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

body.admin-bar .hb2-site-header {
  top: 32px;
}

.hb2-header-inner {
  width: min(100% - 48px, 1180px);
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-inline: auto;
}

.hb2-brand {
  width: 184px;
  display: inline-flex;
  flex: 0 0 auto;
}

.hb2-brand img {
  width: 100%;
  height: auto;
  display: block;
}

.hb2-menu-toggle {
  min-width: 48px;
  min-height: 48px;
  display: none;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  padding: 0 16px;
  border: 1px solid var(--hb2-line);
  border-radius: 999px;
  background: var(--hb2-white);
  box-shadow: none;
  color: var(--hb2-ink);
  font: 800 0.76rem/1 "Montserrat", system-ui, sans-serif;
  cursor: pointer;
  pointer-events: auto;
  -webkit-appearance: none;
  appearance: none;
}

.hb2-site-header button.hb2-menu-toggle,
.hb2-site-header button.hb2-menu-toggle:hover,
.hb2-site-header button.hb2-menu-toggle:focus,
.hb2-site-header button.hb2-menu-toggle:active {
  min-width: 48px !important;
  min-height: 48px !important;
  padding: 0 16px !important;
  border: 1px solid var(--hb2-line) !important;
  border-radius: 999px !important;
  background: var(--hb2-white) !important;
  box-shadow: none !important;
  color: var(--hb2-ink) !important;
  font: 800 0.76rem/1 "Montserrat", system-ui, sans-serif !important;
  text-decoration: none !important;
  transform: none !important;
}

.hb2-navigation {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.hb2-menu-level {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hb2-menu-level--0 {
  display: flex;
  align-items: center;
  gap: 4px;
}

.hb2-menu-item {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.hb2-menu-level--0 > .hb2-menu-item {
  display: flex;
  align-items: center;
}

.hb2-site-header .hb2-menu-item > a,
.hb2-site-header .hb2-menu-item > a:visited,
.hb2-site-header .hb2-menu-item > a:hover,
.hb2-site-header .hb2-menu-item > a:focus,
.hb2-site-header .hb2-menu-item > a:active,
.hb2-site-header .hb2-menu-item > a[aria-current="page"] {
  color: var(--hb2-ink) !important;
  -webkit-text-fill-color: var(--hb2-ink);
  opacity: 1 !important;
  visibility: visible !important;
  text-decoration: none;
}

.hb2-menu-level--0 > .hb2-menu-item > a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 0 4px 0 11px;
  font-size: 0.8125rem;
  font-weight: 750;
  line-height: 1.2;
}

.hb2-menu-level--0 > .hb2-menu-item > a[aria-current="page"],
.hb2-menu-level--0 > .hb2-current-ancestor > a {
  text-decoration: underline;
  text-decoration-color: var(--hb2-pink);
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}

.hb2-submenu-toggle {
  position: relative;
  width: 32px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--hb2-secondary);
  cursor: pointer;
  font-size: 0;
  -webkit-appearance: none;
  appearance: none;
}

.hb2-submenu-toggle::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  content: "";
  transform: translate(-50%, -68%) rotate(45deg);
}

.hb2-site-header button.hb2-submenu-toggle,
.hb2-site-header button.hb2-submenu-toggle:hover,
.hb2-site-header button.hb2-submenu-toggle:focus,
.hb2-site-header button.hb2-submenu-toggle:active {
  min-width: 32px !important;
  width: 32px !important;
  min-height: 48px !important;
  height: 48px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--hb2-secondary) !important;
  transform: none !important;
}

.hb2-menu-level--1,
.hb2-menu-level--2 {
  position: absolute;
  z-index: 20;
  width: min(330px, calc(100vw - 32px));
  display: none;
  margin: 0;
  padding: 8px;
  border: 1px solid var(--hb2-line);
  border-radius: 18px;
  background: var(--hb2-white);
  box-shadow: 0 18px 48px rgba(16, 35, 43, 0.14);
}

.hb2-menu-level--1 {
  top: calc(100% - 2px);
  left: 0;
}

.hb2-menu-level--2 {
  top: -8px;
  left: calc(100% - 2px);
  z-index: 30;
  max-height: min(70vh, 560px);
  overflow: auto;
}

.hb2-menu-level--1 > .hb2-menu-item,
.hb2-menu-level--2 > .hb2-menu-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  align-items: center;
  border-radius: 11px;
}

.hb2-menu-level--1 .hb2-menu-item > a,
.hb2-menu-level--2 .hb2-menu-item > a {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 8px 10px;
  color: var(--hb2-ink);
  font-size: 0.8125rem;
  font-weight: 680;
  line-height: 1.25;
}

.hb2-menu-level--1 .hb2-submenu-toggle,
.hb2-menu-level--2 .hb2-submenu-toggle {
  width: 42px;
  height: 48px;
}

.hb2-menu-level--1 .hb2-submenu-toggle::before,
.hb2-menu-level--2 .hb2-submenu-toggle::before {
  transform: translate(-68%, -50%) rotate(-45deg);
}

.hb2-menu-item.hb2-expanded > .hb2-menu-level {
  display: block;
}

.hb2-menu-level--1 > .hb2-menu-item:hover,
.hb2-menu-level--2 > .hb2-menu-item:hover,
.hb2-menu-level--1 > .hb2-menu-item:focus-within,
.hb2-menu-level--2 > .hb2-menu-item:focus-within {
  background: var(--hb2-paper);
}

.hb2-search-link {
  position: relative;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid var(--hb2-line);
  border-radius: 50%;
  background: var(--hb2-white);
  color: var(--hb2-ink);
  text-decoration: none;
}

.hb2-search-link:visited {
  color: var(--hb2-ink);
}

.hb2-search-link svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hb2-search-label {
  display: none;
}

.hb2-site-header .hb2-navigation > a.hb2-plan-link,
.hb2-site-header .hb2-navigation > a.hb2-plan-link:visited,
.hb2-site-header .hb2-navigation > a.hb2-plan-link:hover,
.hb2-site-header .hb2-navigation > a.hb2-plan-link:focus {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--hb2-ink);
  color: var(--hb2-white);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.hb2-site-header a:focus-visible,
.hb2-site-header button:focus-visible {
  outline: 3px solid var(--hb2-pink);
  outline-offset: 3px;
}

@media (min-width: 981px) {
  .hb2-site-header,
  .hb2-header-inner,
  .hb2-navigation,
  .hb2-menu-level--0 {
    overflow: visible;
  }

  .hb2-menu-level--0 > .hb2-menu-item:hover > .hb2-menu-level--1,
  .hb2-menu-level--0 > .hb2-menu-item:focus-within > .hb2-menu-level--1,
  .hb2-menu-level--1 > .hb2-menu-item:hover > .hb2-menu-level--2,
  .hb2-menu-level--1 > .hb2-menu-item:focus-within > .hb2-menu-level--2,
  .hb2-menu-item.hb2-expanded > .hb2-menu-level {
    display: block;
  }

  .hb2-menu-level--0 > .hb2-menu-item:nth-child(n + 2) .hb2-menu-level--2 {
    right: calc(100% - 2px);
    left: auto;
  }
}

@media (max-width: 980px) {
  .hb2-site-header,
  body.admin-bar .hb2-site-header {
    position: relative;
    top: auto;
  }

  .hb2-header-inner {
    width: min(100% - 32px, 1180px);
  }

  .hb2-site-header button.hb2-menu-toggle {
    display: inline-flex !important;
  }

  .hb2-navigation {
    position: fixed !important;
    top: 78px !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 9999 !important;
    width: 100% !important;
    height: calc(100dvh - 78px) !important;
    display: none !important;
    overflow: auto !important;
    overscroll-behavior: contain;
    margin: 0 !important;
    padding: 20px 16px 40px !important;
    background: var(--hb2-ink) !important;
    color: var(--hb2-white) !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: none !important;
  }

  body.admin-bar .hb2-navigation {
    top: 110px !important;
    height: calc(100dvh - 110px) !important;
  }

  .hb2-navigation.hb2-open {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .hb2-menu-level--0 {
    display: grid;
    gap: 4px;
  }

  .hb2-menu-level--0 > .hb2-menu-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .hb2-site-header .hb2-navigation .hb2-menu-item > a,
  .hb2-site-header .hb2-navigation .hb2-menu-item > a:visited,
  .hb2-site-header .hb2-navigation .hb2-menu-item > a:hover,
  .hb2-site-header .hb2-navigation .hb2-menu-item > a:focus,
  .hb2-site-header .hb2-navigation .hb2-menu-item > a:active,
  .hb2-site-header .hb2-navigation .hb2-menu-item > a[aria-current="page"] {
    color: var(--hb2-white) !important;
    -webkit-text-fill-color: var(--hb2-white);
    opacity: 1 !important;
    visibility: visible !important;
    text-shadow: none !important;
  }

  .hb2-menu-level--0 > .hb2-menu-item > a {
    min-height: 56px;
    padding: 10px 4px;
    font-size: 0.9rem;
  }

  .hb2-submenu-toggle,
  .hb2-menu-level--1 .hb2-submenu-toggle,
  .hb2-menu-level--2 .hb2-submenu-toggle {
    width: 48px;
    height: 56px;
    color: var(--hb2-white);
  }

  .hb2-site-header button.hb2-submenu-toggle,
  .hb2-site-header button.hb2-submenu-toggle:hover,
  .hb2-site-header button.hb2-submenu-toggle:focus,
  .hb2-site-header button.hb2-submenu-toggle:active,
  .hb2-site-header .hb2-menu-level--1 button.hb2-submenu-toggle,
  .hb2-site-header .hb2-menu-level--2 button.hb2-submenu-toggle {
    min-width: 48px !important;
    width: 48px !important;
    min-height: 56px !important;
    height: 56px !important;
    color: var(--hb2-white) !important;
  }

  .hb2-menu-level--1,
  .hb2-menu-level--2 {
    position: static;
    grid-column: 1 / -1;
    width: auto;
    max-height: none;
    margin: 0;
    padding: 0 0 12px 16px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .hb2-menu-level--1 > .hb2-menu-item,
  .hb2-menu-level--2 > .hb2-menu-item {
    grid-template-columns: minmax(0, 1fr) 48px;
  }

  .hb2-site-header .hb2-menu-level--1 .hb2-menu-item > a,
  .hb2-site-header .hb2-menu-level--1 .hb2-menu-item > a:visited,
  .hb2-site-header .hb2-menu-level--1 .hb2-menu-item > a:hover,
  .hb2-site-header .hb2-menu-level--1 .hb2-menu-item > a:focus,
  .hb2-site-header .hb2-menu-level--1 .hb2-menu-item > a:active,
  .hb2-site-header .hb2-menu-level--1 .hb2-menu-item > a[aria-current="page"],
  .hb2-site-header .hb2-menu-level--2 .hb2-menu-item > a,
  .hb2-site-header .hb2-menu-level--2 .hb2-menu-item > a:visited,
  .hb2-site-header .hb2-menu-level--2 .hb2-menu-item > a:hover,
  .hb2-site-header .hb2-menu-level--2 .hb2-menu-item > a:focus,
  .hb2-site-header .hb2-menu-level--2 .hb2-menu-item > a:active,
  .hb2-site-header .hb2-menu-level--2 .hb2-menu-item > a[aria-current="page"] {
    min-height: 48px;
    padding: 8px 4px;
    color: rgba(255, 255, 255, 0.86) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.86);
    font-size: 0.8rem;
  }

  .hb2-menu-level--2 {
    margin-left: 8px;
    padding-left: 14px;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
  }

  .hb2-site-header .hb2-menu-level--2 .hb2-menu-item > a,
  .hb2-site-header .hb2-menu-level--2 .hb2-menu-item > a:visited,
  .hb2-site-header .hb2-menu-level--2 .hb2-menu-item > a:hover,
  .hb2-site-header .hb2-menu-level--2 .hb2-menu-item > a:focus,
  .hb2-site-header .hb2-menu-level--2 .hb2-menu-item > a:active,
  .hb2-site-header .hb2-menu-level--2 .hb2-menu-item > a[aria-current="page"] {
    color: rgba(255, 255, 255, 0.72) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.72);
    font-size: 0.75rem;
  }

  .hb2-menu-level--1 .hb2-submenu-toggle::before,
  .hb2-menu-level--2 .hb2-submenu-toggle::before {
    transform: translate(-50%, -68%) rotate(45deg);
  }

  .hb2-menu-level--1 > .hb2-menu-item:hover,
  .hb2-menu-level--2 > .hb2-menu-item:hover,
  .hb2-menu-level--1 > .hb2-menu-item:focus-within,
  .hb2-menu-level--2 > .hb2-menu-item:focus-within {
    background: transparent;
  }

  .hb2-menu-level--1 > .hb2-menu-item.hb2-expanded,
  .hb2-menu-level--2 > .hb2-menu-item.hb2-expanded {
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.065);
  }

  .hb2-search-link {
    width: 100%;
    min-height: 48px;
    height: auto;
    display: flex;
    justify-content: center;
    margin-top: 18px;
    border-radius: 999px;
    color: var(--hb2-ink);
    font-size: 0.78rem;
    font-weight: 800;
  }

  .hb2-search-link svg {
    display: none;
  }

  .hb2-search-label {
    display: inline;
  }

  .hb2-site-header .hb2-navigation > a.hb2-plan-link,
  .hb2-site-header .hb2-navigation > a.hb2-plan-link:visited,
  .hb2-site-header .hb2-navigation > a.hb2-plan-link:hover,
  .hb2-site-header .hb2-navigation > a.hb2-plan-link:focus {
    width: 100%;
    margin-top: 8px;
    background: var(--hb2-white);
    color: var(--hb2-ink);
  }
}

@media (max-width: 782px) {
  body.admin-bar .hb2-navigation {
    top: 124px !important;
    height: calc(100dvh - 124px) !important;
  }
}

@media (max-width: 620px) {
  .hb2-header-inner {
    min-height: 70px;
  }

  .hb2-brand {
    width: 156px;
  }

  .hb2-navigation {
    top: 70px !important;
    height: calc(100dvh - 70px) !important;
  }

  body.admin-bar .hb2-navigation {
    top: 116px !important;
    height: calc(100dvh - 116px) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hb2-site-header *,
  .hb2-site-header *::before,
  .hb2-site-header *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
