/* Astra Header/Footer chrome — Homepage Responsive Rebuild.
   Global on Astra-rendered WordPress pages. Homepage layout lives in yy-home.css. */

:root {
  --yy-chrome-bg: #ece5ff;
  --yy-chrome-ink: #171321;
  --yy-chrome-help: #2a114f;
  --yy-chrome-footer: #0f0524;
}

.ast-primary-header-bar,
.main-header-bar,
.ast-desktop-header .ast-primary-header-bar,
#masthead .ast-primary-header-bar {
  background: var(--yy-chrome-bg);
  background-color: var(--yy-chrome-bg);
  min-height: 60px;
  border-bottom: 0;
  box-shadow: none;
}

.ast-primary-header-bar .site-primary-header-wrap,
.main-header-bar-wrap,
.ast-header-wrap {
  background: transparent;
}

.site-header .site-logo-img img,
.site-header .custom-logo-link img,
#masthead .custom-logo-link img {
  width: 180px !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain;
  image-rendering: auto;
}

.ast-builder-menu-1 .main-header-menu,
.ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link {
  font-family: Inter, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--yy-chrome-ink);
  background: transparent;
}

.ast-builder-menu-1 .main-header-menu {
  gap: 8px;
}

.ast-builder-menu-1 .sub-menu {
  min-width: 240px;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(23, 19, 33, 0.14);
  background: #f4efff;
  border: 1px solid #e3d7ff;
}

.ast-builder-menu-1 .sub-menu .menu-link {
  font-family: Inter, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--yy-chrome-ink);
  padding: 8px 10px;
  border-radius: 8px;
}

.ast-builder-menu-1 .sub-menu .menu-link:hover,
.ast-builder-menu-1 .sub-menu .menu-item:hover > .menu-link,
.ast-builder-menu-1 .sub-menu .menu-link:focus-visible {
  background: #ece5ff;
  color: var(--yy-chrome-ink);
}

.menu-item.yy-nav-yak-cards > .menu-link,
.menu-item.yy-nav-help > .menu-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.menu-item.yy-nav-yak-cards > .menu-link::before {
  content: "";
  width: 48px;
  height: 48px;
  background: url("/wp-content/uploads/2026/09/icon-yak-cards-lg.png") center / contain no-repeat;
}

.menu-item.yy-nav-help > .menu-link,
.ast-builder-menu-1 .main-header-menu > .menu-item.yy-nav-help > .menu-link {
  color: var(--yy-chrome-help);
}

.menu-item.yy-nav-help > .menu-link:hover,
.menu-item.yy-nav-help > .menu-link:focus-visible,
.ast-builder-menu-1 .main-header-menu > .menu-item.yy-nav-help > .menu-link:hover,
.ast-builder-menu-1 .main-header-menu > .menu-item.yy-nav-help > .menu-link:focus-visible,
.ast-builder-menu-1 .main-header-menu > .menu-item.yy-nav-help:hover > .menu-link {
  color: #7c3aed;
}

.menu-item.yy-nav-help > .menu-link::before {
  content: "";
  width: 46px;
  height: 46px;
  background: url("/wp-content/uploads/2026/09/icon-help-lg.png") center / contain no-repeat;
}

.yy-header-yakcards,
.yy-header-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.yy-header-yakcards img,
.yy-header-help img {
  display: block;
  width: 56px !important;
  height: 56px !important;
  max-width: 56px;
  max-height: none !important;
}

.ast-header-html-1,
.ast-header-html-2 {
  display: flex;
  align-items: center;
}

.menu-item:is(.yy-nav-languages, .yy-nav-resources) > .menu-link {
  cursor: pointer;
}

.menu-item:is(.yy-nav-languages, .yy-nav-resources) > .menu-link:focus-visible {
  outline: 2px solid #7c3aed;
  outline-offset: 3px;
  border-radius: 6px;
}

@media (min-width: 922px) {
  .ast-primary-header-bar,
  .main-header-bar,
  #masthead .ast-primary-header-bar {
    min-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    overflow: visible;
  }

  .ast-primary-header-bar .site-primary-header-wrap {
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
    min-height: 0 !important;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 32px;
    padding-right: 32px;
    box-sizing: border-box;
  }

  .ast-desktop .ast-primary-header-bar .ast-builder-grid-row {
    width: 100% !important;
    display: flex !important;
    align-items: center;
  }

  .ast-desktop .site-header-primary-section-left .site-branding {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    height: auto !important;
  }

  .ast-desktop .site-header-primary-section-left .site-branding,
  .ast-desktop .site-header-primary-section-left .custom-logo-link,
  .ast-desktop .site-header-primary-section-left .site-logo-img {
    width: auto !important;
    max-width: none !important;
  }

  .site-header .site-logo-img img,
  .site-header .custom-logo-link img,
  #masthead .custom-logo-link img {
    width: 400px !important;
    max-width: none !important;
    max-height: none !important;
    transition: transform 0.16s ease;
  }

  .ast-desktop .custom-logo-link:hover img,
  .ast-desktop .custom-logo-link:focus-visible img {
    transform: scale(1.02);
  }

  .ast-builder-menu-1 .main-header-menu,
  .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link {
    font-size: 19px !important;
  }

  .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link,
  .ast-builder-menu-1 .main-header-menu > .menu-item.yy-nav-help > .menu-link,
  .ast-builder-menu-1 .main-header-menu > .menu-item.current-menu-item > .menu-link {
    color: #7c3aed !important;
  }

  .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 20px !important;
    height: 50px !important;
    min-height: 50px !important;
    width: auto !important;
    max-width: none !important;
    border-radius: 16px;
    background: #fff !important;
    border: 1px solid rgba(124, 58, 237, 0.18);
    box-shadow: 0 1px 2px rgba(23, 19, 33, 0.06);
    filter: none !important;
    box-sizing: border-box;
    transition: background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease, border-color 0.16s ease;
  }

  .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link:hover,
  .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link:focus-visible,
  .ast-builder-menu-1 .main-header-menu > .menu-item:hover > .menu-link,
  .ast-builder-menu-1 .main-header-menu > .menu-item.yy-nav-help > .menu-link:hover,
  .ast-builder-menu-1 .main-header-menu > .menu-item.yy-nav-help > .menu-link:focus-visible,
  .ast-builder-menu-1 .main-header-menu > .menu-item.yy-nav-help:hover > .menu-link {
    background: #7c3aed !important;
    border-color: #7c3aed;
    color: #fff !important;
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.28);
    transform: translateY(-1px);
    filter: none !important;
  }

  .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link:focus-visible {
    outline: 2px solid #5b21b6;
    outline-offset: 3px;
  }

  .menu-item.yy-nav-yak-cards > .menu-link::before {
    width: 32px;
    height: 32px;
  }

  .menu-item.yy-nav-help > .menu-link::before {
    width: 30px;
    height: 30px;
  }

  .ast-builder-menu-1 .sub-menu .menu-link {
    font-size: 17px;
    padding: 10px 14px;
  }

  .ast-primary-header-bar .site-header-primary-section-left {
    flex: 0 0 auto;
  }

  .ast-primary-header-bar .site-header-primary-section-right,
  .main-header-bar .site-header-primary-section-right {
    display: none !important;
    width: 0 !important;
    min-width: 0 !important;
    flex: 0 0 0 !important;
    overflow: hidden !important;
  }

  .ast-primary-header-bar .site-header-primary-section-center,
  .ast-desktop .ast-builder-menu-1,
  .ast-desktop .ast-builder-menu-1 .main-header-bar-navigation,
  .ast-desktop .ast-builder-menu-1 nav {
    flex: 1 1 auto !important;
    width: 100% !important;
    max-width: none !important;
    justify-content: flex-start;
  }

  .ast-builder-menu-1 .main-header-menu {
    display: flex !important;
    width: 100% !important;
    justify-content: flex-end !important;
    align-items: center;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    padding-left: 16px;
  }

  .ast-builder-menu-1 .main-header-menu > .menu-item {
    flex: 0 0 auto;
    height: auto !important;
    align-self: center;
  }

  .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link {
    white-space: nowrap;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: 50px !important;
    min-height: 50px !important;
    line-height: 1.2;
  }

  .menu-item.yy-nav-yak-cards {
    margin-left: 0;
  }

  .ast-desktop .ast-primary-header-bar .ast-button-wrap,
  .ast-desktop .ast-primary-header-bar .ast-mobile-menu-trigger,
  .ast-desktop .site-header-primary-section-right .ast-button-wrap,
  .ast-desktop .ast-header-menu-toggle,
  .ast-desktop .menu-toggle {
    display: none !important;
  }

  .ast-header-html-1,
  .ast-header-html-2 {
    display: none;
  }
}

@media (max-width: 921px) {
  html,
  body,
  #page,
  .site {
    overflow-x: clip !important;
  }

  #masthead,
  .ast-mobile-header-wrap {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 10050;
  }

  body {
    padding-top: 73px;
  }

  .ast-mobile-header-wrap,
  .ast-mobile-header-wrap .ast-primary-header-bar,
  .ast-mobile-header-wrap .main-header-bar,
  .ast-mobile-header-wrap .site-primary-header-wrap,
  .ast-mobile-header-wrap .ast-builder-grid-row,
  #masthead .ast-mobile-header-wrap .ast-primary-header-bar {
    overflow: visible !important;
    background: var(--yy-chrome-bg);
  }

  .ast-primary-header-bar,
  .main-header-bar,
  #masthead .ast-primary-header-bar,
  .ast-mobile-header-wrap .ast-primary-header-bar {
    min-height: 64px;
    height: auto !important;
  }

  .ast-mobile-header-wrap .site-primary-header-wrap,
  .ast-mobile-header-wrap .ast-builder-grid-row {
    display: flex !important;
    align-items: center;
    width: 100%;
    max-width: 100%;
  }

  .ast-mobile-header-wrap .site-header-primary-section-center {
    display: none !important;
    width: 0 !important;
    min-width: 0 !important;
    flex: 0 0 0 !important;
    overflow: hidden !important;
  }

  .ast-mobile-header-wrap .site-header-primary-section-left {
    display: flex !important;
    flex: 1 1 auto;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    min-width: 0;
  }

  .ast-header-break-point .ast-mobile-header-wrap .site-header-primary-section-left > .ast-builder-layout-element,
  .ast-header-break-point .ast-mobile-header-wrap .site-header-primary-section-left .site-branding,
  .ast-header-break-point .ast-mobile-header-wrap .custom-logo-link,
  .ast-header-break-point .ast-mobile-header-wrap .site-logo-img {
    flex: 0 0 auto;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    padding-right: 0 !important;
  }

  .site-header .site-logo-img img,
  .site-header .custom-logo-link img,
  #masthead .custom-logo-link img {
    width: 148px !important;
    height: auto !important;
    max-height: none !important;
  }

  .ast-mobile-header-wrap .ast-primary-header-bar {
    padding-top: 4px;
    padding-bottom: 4px;
  }

  .ast-mobile-header-wrap .ast-header-html-1,
  .ast-mobile-header-wrap .ast-header-html-2 {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
  }

  .ast-mobile-header-wrap .site-header-primary-section-right {
    display: none !important;
    width: 0 !important;
    min-width: 0 !important;
    flex: 0 0 0 !important;
  }

  .yy-header-yakcards,
  .yy-header-help {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
  }

  .ast-mobile-header-wrap .yy-header-yakcards img {
    transform: translateY(5px);
  }

  .ast-mobile-menu-trigger,
  .ast-button-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 56px;
    min-height: 56px;
    margin: 0;
  }

  .ast-mobile-header-wrap .ast-button-wrap .menu-toggle,
  .ast-mobile-header-wrap .ast-mobile-menu-trigger-minimal,
  .ast-mobile-header-wrap .ast-button-wrap button {
    width: 56px !important;
    height: 56px !important;
    flex-shrink: 0;
  }

  .ast-mobile-header-wrap .menu-toggle .ast-mobile-svg,
  .ast-mobile-header-wrap .menu-toggle svg,
  .ast-mobile-header-wrap .ast-button-wrap svg {
    width: 34px !important;
    height: 34px !important;
  }
}

.ast-header-break-point .main-header-menu,
.ast-header-break-point .main-header-bar-navigation,
.ast-header-break-point .ast-mobile-header-wrap .site-navigation,
.ast-mobile-popup-drawer .ast-mobile-popup-inner,
#ast-mobile-popup .ast-mobile-popup-content,
.ast-mobile-popup-drawer,
#ast-mobile-popup {
  font-family: Inter, system-ui, sans-serif;
  background: #f4efff;
}

.ast-mobile-popup-drawer,
#ast-mobile-popup,
.ast-mobile-popup-drawer .ast-mobile-popup-inner,
#ast-mobile-popup .ast-mobile-popup-inner,
#ast-mobile-popup .ast-mobile-popup-content {
  min-height: 100vh;
  min-height: 100dvh;
  background: #f4efff;
}

.ast-header-break-point .menu-link,
.ast-header-break-point .main-header-menu a,
.ast-mobile-popup-drawer .menu-link,
#ast-mobile-popup .menu-link {
  font-weight: 600;
  color: var(--yy-chrome-ink) !important;
  background: transparent;
}

.ast-header-break-point .yy-nav-help > .menu-link,
.ast-header-break-point .main-header-menu > .menu-item.yy-nav-help > .menu-link,
.ast-mobile-popup-drawer .yy-nav-help > .menu-link,
#ast-mobile-popup .yy-nav-help > .menu-link {
  color: var(--yy-chrome-help) !important;
}

.ast-header-break-point .menu-link:hover,
.ast-header-break-point .menu-link:focus,
.ast-mobile-popup-drawer .menu-link:hover,
.ast-mobile-popup-drawer .menu-link:focus,
#ast-mobile-popup .menu-link:hover,
#ast-mobile-popup .ast-menu-toggle:hover,
#ast-mobile-popup .ast-menu-toggle:focus {
  background: #ece5ff;
  color: var(--yy-chrome-ink) !important;
  box-shadow: none;
  border-radius: 8px;
}

#ast-mobile-popup .ast-menu-toggle,
.ast-mobile-popup-drawer .ast-menu-toggle {
  border: 0;
  background: transparent;
  border-radius: 8px;
  color: var(--yy-chrome-ink);
}

#ast-mobile-popup .ast-menu-toggle:hover,
#ast-mobile-popup .ast-menu-toggle:focus {
  background: #ece5ff;
  color: var(--yy-chrome-ink);
}

.ast-header-break-point :is(.yy-nav-languages, .yy-nav-resources) > .sub-menu,
.ast-mobile-popup-drawer :is(.yy-nav-languages, .yy-nav-resources) > .sub-menu,
#ast-mobile-popup :is(.yy-nav-languages, .yy-nav-resources) > .sub-menu {
  display: none !important;
  position: static !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 0 0 8px 16px !important;
  min-width: 0 !important;
  width: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.ast-header-break-point :is(.yy-nav-languages, .yy-nav-resources).yy-lang-open > .sub-menu,
.ast-header-break-point :is(.yy-nav-languages, .yy-nav-resources).ast-submenu-expanded > .sub-menu,
.ast-mobile-popup-drawer :is(.yy-nav-languages, .yy-nav-resources).yy-lang-open > .sub-menu,
.ast-mobile-popup-drawer :is(.yy-nav-languages, .yy-nav-resources).ast-submenu-expanded > .sub-menu,
#ast-mobile-popup :is(.yy-nav-languages, .yy-nav-resources).yy-lang-open > .sub-menu,
#ast-mobile-popup :is(.yy-nav-languages, .yy-nav-resources).ast-submenu-expanded > .sub-menu {
  display: block !important;
}

.ast-header-break-point :is(.yy-nav-languages, .yy-nav-resources).yy-lang-open > .menu-link .ast-icon,
.ast-header-break-point :is(.yy-nav-languages, .yy-nav-resources).ast-submenu-expanded > .menu-link .ast-icon,
.ast-header-break-point :is(.yy-nav-languages, .yy-nav-resources).yy-lang-open > .menu-link .dropdown-menu-toggle {
  transform: rotate(180deg);
}

.ast-header-break-point .main-header-bar-navigation .main-header-menu,
.ast-header-break-point .main-header-menu,
.ast-mobile-popup-drawer .main-header-menu,
#ast-mobile-popup .main-header-menu {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  width: min(280px, calc(100% - 48px));
  max-width: min(280px, calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
  padding: 8px 0 28px;
}

.ast-header-break-point .main-header-menu > .menu-item,
.ast-mobile-popup-drawer .main-header-menu > .menu-item,
#ast-mobile-popup .main-header-menu > .menu-item {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px;
  align-items: center;
  column-gap: 8px;
}

.ast-header-break-point .main-header-menu > .menu-item.yy-nav-languages,
.ast-mobile-popup-drawer .main-header-menu > .menu-item.yy-nav-languages,
#ast-mobile-popup .main-header-menu > .menu-item.yy-nav-languages {
  order: 1;
}

.ast-header-break-point .main-header-menu > .menu-item.yy-nav-resources,
.ast-mobile-popup-drawer .main-header-menu > .menu-item.yy-nav-resources,
#ast-mobile-popup .main-header-menu > .menu-item.yy-nav-resources {
  order: 2;
}

.ast-header-break-point .main-header-menu > .menu-item.yy-nav-courses,
.ast-mobile-popup-drawer .main-header-menu > .menu-item.yy-nav-courses,
#ast-mobile-popup .main-header-menu > .menu-item.yy-nav-courses {
  order: 3;
}

.ast-header-break-point .main-header-menu > .menu-item.yy-nav-yak-cards,
.ast-mobile-popup-drawer .main-header-menu > .menu-item.yy-nav-yak-cards,
#ast-mobile-popup .main-header-menu > .menu-item.yy-nav-yak-cards {
  order: 4;
}

.ast-header-break-point .main-header-menu > .menu-item.yy-nav-help,
.ast-mobile-popup-drawer .main-header-menu > .menu-item.yy-nav-help,
#ast-mobile-popup .main-header-menu > .menu-item.yy-nav-help {
  order: 5;
}

.ast-header-break-point .main-header-menu > .menu-item > .menu-link,
.ast-mobile-popup-drawer .main-header-menu > .menu-item > .menu-link,
#ast-mobile-popup .main-header-menu > .menu-item > .menu-link {
  display: flex !important;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  width: 100% !important;
  max-width: 100%;
  text-align: left;
  font-size: 18px;
  padding: 12px 0;
  grid-column: 1;
}

.ast-header-break-point :is(.yy-nav-languages, .yy-nav-resources) > .sub-menu {
  text-align: left;
}

.ast-header-break-point :is(.yy-nav-languages, .yy-nav-resources) > .sub-menu .menu-link {
  justify-content: flex-start;
  text-align: left;
  width: auto !important;
}

.ast-header-break-point .ast-menu-toggle,
.ast-header-break-point .dropdown-menu-toggle,
.ast-header-break-point .ast-header-navigation-arrow,
.ast-mobile-popup-drawer .ast-menu-toggle,
#ast-mobile-popup .ast-menu-toggle {
  position: static !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  float: none !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 0 0 8px !important;
  padding: 0 !important;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  background-color: transparent !important;
  border-radius: 0 !important;
  overflow: visible !important;
  line-height: 1 !important;
}

.ast-header-break-point .ast-menu-toggle:hover,
.ast-header-break-point .ast-menu-toggle:focus,
.ast-header-break-point .ast-menu-toggle:focus-visible,
.ast-header-break-point .dropdown-menu-toggle:hover,
.ast-header-break-point .dropdown-menu-toggle:focus,
.ast-header-break-point .dropdown-menu-toggle:focus-visible,
.ast-header-break-point .ast-header-navigation-arrow:hover,
.ast-header-break-point .ast-header-navigation-arrow:focus,
.ast-mobile-popup-drawer .ast-menu-toggle:hover,
.ast-mobile-popup-drawer .ast-menu-toggle:focus,
#ast-mobile-popup .ast-menu-toggle:hover,
#ast-mobile-popup .ast-menu-toggle:focus {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.ast-header-break-point :is(.yy-nav-languages, .yy-nav-resources) > .menu-link:focus-visible {
  outline: 2px solid #7c3aed;
  outline-offset: 3px;
  border-radius: 6px;
}

.ast-header-break-point .main-header-menu > .menu-item:is(.yy-nav-languages, .yy-nav-resources),
.ast-header-break-point :is(.yy-nav-languages, .yy-nav-resources),
.ast-mobile-popup-drawer :is(.yy-nav-languages, .yy-nav-resources),
#ast-mobile-popup :is(.yy-nav-languages, .yy-nav-resources) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px;
  justify-content: stretch;
  justify-items: stretch;
  align-items: center;
  column-gap: 8px;
}

.ast-header-break-point :is(.yy-nav-languages, .yy-nav-resources) > .menu-link,
.ast-mobile-popup-drawer :is(.yy-nav-languages, .yy-nav-resources) > .menu-link,
#ast-mobile-popup :is(.yy-nav-languages, .yy-nav-resources) > .menu-link {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  white-space: nowrap;
  align-items: center;
  justify-content: flex-start;
  width: 100% !important;
  grid-column: 1;
}

.ast-header-break-point :is(.yy-nav-languages, .yy-nav-resources) > .menu-link .dropdown-menu-toggle,
.ast-header-break-point :is(.yy-nav-languages, .yy-nav-resources) > .menu-link .ast-header-navigation-arrow {
  display: none !important;
}

.ast-header-break-point :is(.yy-nav-languages, .yy-nav-resources) > .ast-menu-toggle,
.ast-mobile-popup-drawer :is(.yy-nav-languages, .yy-nav-resources) > .ast-menu-toggle,
#ast-mobile-popup :is(.yy-nav-languages, .yy-nav-resources) > .ast-menu-toggle {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
}

.ast-header-break-point :is(.yy-nav-languages, .yy-nav-resources) > .sub-menu,
.ast-mobile-popup-drawer :is(.yy-nav-languages, .yy-nav-resources) > .sub-menu,
#ast-mobile-popup :is(.yy-nav-languages, .yy-nav-resources) > .sub-menu {
  grid-column: 1 / -1;
  flex-basis: auto;
  width: 100%;
}

.ast-header-break-point :is(.yy-nav-languages, .yy-nav-resources) > .sub-menu .menu-link {
  padding-top: 6px;
  padding-bottom: 6px;
  font-size: 16px;
}

.ast-header-break-point .menu-item.yy-nav-yak-cards > .menu-link::before,
.ast-header-break-point .menu-item.yy-nav-help > .menu-link::before,
.ast-mobile-popup-drawer .menu-item.yy-nav-yak-cards > .menu-link::before,
.ast-mobile-popup-drawer .menu-item.yy-nav-help > .menu-link::before,
#ast-mobile-popup .menu-item.yy-nav-yak-cards > .menu-link::before,
#ast-mobile-popup .menu-item.yy-nav-help > .menu-link::before {
  content: none;
  display: none;
}

.ast-header-break-point .menu-item.yy-nav-yak-cards::after,
.ast-mobile-popup-drawer .menu-item.yy-nav-yak-cards::after,
#ast-mobile-popup .menu-item.yy-nav-yak-cards::after {
  content: "";
  grid-column: 2;
  grid-row: 1;
  width: 28px;
  height: 28px;
  justify-self: center;
  background: url("/wp-content/uploads/2026/09/icon-yak-cards-lg.png") center / contain no-repeat;
}

.ast-header-break-point .menu-item.yy-nav-help::after,
.ast-mobile-popup-drawer .menu-item.yy-nav-help::after,
#ast-mobile-popup .menu-item.yy-nav-help::after {
  content: "";
  grid-column: 2;
  grid-row: 1;
  width: 28px;
  height: 28px;
  justify-self: center;
  background: url("/wp-content/uploads/2026/09/icon-help-lg.png") center / contain no-repeat;
}

.ast-header-break-point :is(.yy-nav-languages, .yy-nav-resources) .sub-menu .ast-menu-toggle,
.ast-header-break-point :is(.yy-nav-languages, .yy-nav-resources) .sub-menu .dropdown-menu-toggle,
.ast-header-break-point :is(.yy-nav-languages, .yy-nav-resources) .sub-menu .ast-icon,
.ast-header-break-point :is(.yy-nav-languages, .yy-nav-resources) .sub-menu .icon-arrow,
.ast-mobile-popup-drawer :is(.yy-nav-languages, .yy-nav-resources) .sub-menu .ast-menu-toggle,
#ast-mobile-popup :is(.yy-nav-languages, .yy-nav-resources) .sub-menu .dropdown-menu-toggle {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.site-footer,
#colophon,
.site-footer .site-primary-footer-wrap,
.site-footer .site-below-footer-wrap {
  background: var(--yy-chrome-footer);
  color: #fff;
  font-family: Inter, system-ui, sans-serif;
  border-top: 0;
  box-shadow: none;
}

.site-footer .site-primary-footer-wrap,
#colophon .site-primary-footer-wrap {
  padding-top: 48px;
}

.site-footer a,
.site-footer .menu-link,
.site-footer .widget a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
}

.site-footer a:hover,
.site-footer .menu-link:hover {
  color: #ece5ff;
}

.yy-footer-col h2 {
  margin: 0 0 12px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  color: #fff;
}

.yy-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.yy-footer-brand img {
  display: block;
  width: 240px;
  height: auto;
  max-width: 100%;
}

.yy-footer-brand p {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: #d9d0ea;
}

.site-footer .ast-footer-copyright,
.site-below-footer-wrap {
  color: #fff;
  font-size: 12px;
}

.yy-footer-tagline {
  display: inline-block;
  margin-left: 24px;
}

.site-above-footer-wrap,
.site-above-footer-wrap:empty,
.site-above-footer-wrap .ast-builder-grid-row:empty {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

@media (max-width: 921px) {
  .yy-footer-brand {
    text-align: center;
  }

  .yy-footer-brand img {
    width: 200px;
    margin: 0 auto;
  }

  .yy-footer-brand p {
    margin-left: auto;
    margin-right: auto;
    max-width: 22rem;
  }

  #colophon .site-primary-footer-wrap .ast-builder-grid-row,
  .site-footer .site-primary-footer-inner-wrap.ast-builder-grid-row,
  .site-footer .ast-builder-footer-grid-columns {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    grid-auto-flow: row !important;
    gap: 24px 16px !important;
    justify-items: stretch;
    text-align: center;
  }

  #colophon .site-footer-primary-section-1,
  .site-primary-footer-wrap .site-footer-primary-section-1 {
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }

  #colophon .site-footer-primary-section-2,
  #colophon .site-footer-primary-section-3,
  #colophon .site-footer-primary-section-4,
  #colophon .site-footer-primary-section-5 {
    grid-column: auto !important;
    width: 100% !important;
    max-width: 100%;
    text-align: center;
  }

  .yy-footer-tagline {
    display: block;
    margin: 16px 0 0;
    margin-left: 0;
    text-align: center;
  }

  .site-below-footer-wrap {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link,
  .site-header .custom-logo-link img {
    transition: none !important;
  }

  .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link:hover,
  .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link:focus-visible,
  .ast-builder-menu-1 .main-header-menu > .menu-item:hover > .menu-link,
  .ast-desktop .custom-logo-link:hover img,
  .ast-desktop .custom-logo-link:focus-visible img {
    transform: none !important;
  }
}
