/**
 * Select Site CSS — header, footer, location picker, shared modals/popups.
 *
 * V2 source of truth for Select shared elements. Enqueued from functions.php
 * as `pacific-select`, loaded on the default (Select) page template branch,
 * cascade-ordered after legacy-custom so its rules win specificity ties the
 * same way the old hardcoded <link> in header.php did.
 *
 * DO NOT edit this file to add new rules for unmigrated content blocks —
 * rewrite those blocks properly under assets/css/blocks/{block}.css. This
 * file is only for the persistent shared header/footer/picker/popup styles.
 */

/* Select text color override — #1f1f1f instead of GM's #3A3A3A */
:root {
    --color-text: var(--color-select-dark); /* #1f1f1f */
}

/***
Location related Display menu control.
***/
body.default-location .international-location,
body.default-location .puerto-rico-location,
body.puerto-rico-location .international-location,
body.international-location .puerto-rico-location,
body.puerto-rico-location .default-location,
body.international-location .default-location {
    display: none;
}

.header__top_container {
    display: flex;
    justify-content: flex-start;
}

.image-globe {
    display: none !important;
}

.header__mobile-wrapper {
    display: none;
}
.location-select-wrapper {
    font-size: 14px;
    position: relative;
}
.header__menu-list {
    left: unset;
}
.mobile-menu-wrapper {
    display: none;
}
.header__right-group {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}
.header__utilities {
    display: flex;
    align-items: center;
    gap: 20px;
}
.location-select-wrapper a {
    display: flex;
    gap: 10px;
    align-items: center;
    text-decoration: none;
    color: #e0e0e0;
    font-size: 14px;
    font-weight: 500;
}
/* Toggle text only — the .wpml-ls-native span is used in both the toggle
   "English ▼" (light on dark header bar) and the dropdown items
   (English/Español/Portugués, dark on white). Scope the light color to
   the .wpml-ls-item-toggle so dropdown items can inherit the dark
   shared-rule color (#1f1f1f at line 159). */
.header__utilities .header__multilanguage-wrapper .wpml-ls-item-toggle .wpml-ls-native {
    color: var(--color-select-text);
    font-size: 14px;
    font-weight: 500;
}
.location-select-wrapper img {
    top: -2px;
    position: relative;
}
.wpml-ls-item-toggle {
    display: flex !important;
    gap: 10px;
    align-items: center;
}
.header__multilanguage-wrapper {
    justify-content: space-around;
    position: relative;
}
.header__new__sign-in-wrapper {
    border-radius: 4px;
    border: 1px solid #606060;
    padding: 10px 20px;
    box-sizing: border-box;
    min-width: 175px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.footer__copyright-links {
    max-width: 860px;
}
.footer__location_select .location-select-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.footer__copyrights svg {
    margin: 30px auto;
}

/**
Location Select
*/
.location-select,
.location-select.active {
    display: none;
    top: 40px;
}

/* Ensure the open location-select panel layers above adjacent content. */
.toggle-location-select.is-open + .location-select {
    z-index: 1;
}

.location-select,
.header__multilanguage-wrapper .wpml-ls .wpml-ls-item .wpml-ls-sub-menu {
    border-radius: 6px;
    background: #fff;
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.1);
    padding: 8px;
    position: absolute;
    min-width: 138px;
}

.location-select ul,
.header__multilanguage-wrapper .wpml-ls .wpml-ls-item .wpml-ls-sub-menu ul {
    position: relative;
}

.location-select .close-submenu-bg,
.header__multilanguage-wrapper
    .wpml-ls
    .wpml-ls-item
    .wpml-ls-sub-menu
    .close-submenu-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.header__multilanguage-wrapper .wpml-ls .wpml-ls-item .wpml-ls-sub-menu {
    top: 40px;
}

.location-select a,
.header__multilanguage-wrapper .wpml-ls .wpml-ls-item .wpml-ls-sub-menu a {
    display: block;
    color: #1f1f1f !important;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 1;
    padding: 10px 12px !important;
}

.location-select li.active {
    display: none !important;
}
.js-wpml-ls-sub-menu.wpml-ls-sub-menu:before {
    display: none;
}

.location-select a:hover,
.location-select a:focus,
.header__multilanguage-wrapper
    .wpml-ls
    .wpml-ls-item
    .wpml-ls-sub-menua
    a:hover,
.header__multilanguage-wrapper .wpml-ls .wpml-ls-item .wpml-ls-sub-menu a:focus,
.header__multilanguage-wrapper
    .wpml-ls
    .wpml-ls-item
    .wpml-ls-sub-menu
    .wpml-ls-item:hover
    a {
    border-radius: 5px;
    background: rgba(224, 224, 224, 0.5) !important;
    color: #1f1f1f !important;
}

.toggle-location-select.is-open + .location-select {
    display: block;
}
.header__new__sign-in-wrapper {
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.header__new__sign-in-wrapper:hover {
    border-color: var(--color-white);
}

/**
Sign In Panel
*/
.sign-in-panel__overlay {
    /* blur */
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
#sign-in-panel {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    display: none;
}
body.sign-in-panel--active {
    overflow: hidden;
    height: 100vh;
}
.sign-in-panel--active #sign-in-panel {
    opacity: 1;
    pointer-events: auto;
    display: block;
    top: 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999999;
}
.sign-in-panel__content {
    max-width: 509px;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    padding: 70px;
    background: #ffffff;
    width: 100%;
    overflow: auto;
    padding-bottom: 0;
}
.sign-in-panel__wrapper {
    position: relative;
    padding-bottom: 230px;
    min-height: calc(100% - 60px);
}
.header__new__sign-in-wrapper a {
    pointer-events: none;
}
.sign-in-panel__close {
    cursor: pointer;
    filter: brightness(0.7);
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 9999;
}

.sign-in-panel__close img {
    width: 12px;
}
.sign-in-panel__content label {
    display: block;
    color: #212121;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%; /* 16px */
    margin-bottom: 12px;
}
.sign-in-panel__content select {
    border-radius: 6px;
    border: 1px solid #e7e7e7;
    background: #f8f8f8;
    padding: 18px;
    color: #212121;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%; /* 16px */
    margin-bottom: 20px;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    background-image: url(arrow-down-bk.svg);
    background-position: calc(100% - 20px);
    background-repeat: no-repeat;
    line-height: 1.5;
}
.sign-in-panel__content .online-service-options__btn {
    border-radius: 4px;
    background: #c6b386; /* legacy-override: gold button color, no Figma token */
    color: var(--color-select-dark);
    text-align: center;
    padding: 18px 33px;
    max-width: 130px;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%; /* 14px */
    display: block;
    margin-left: auto;
    margin-right: 0;
    text-decoration: none;
    transition: background 0.3s ease;
}

.sign-in-panel__content .online-service-options__btn:hover {
    background: #baa87e; /* legacy-override: gold button hover per brand manual */
}
.sign-in-panel__content .online-banking-options {
    margin-top: 50px;
}
.sign-in-panel__content .online-banking-options ul {
    border-radius: 10px;
    border: 1px solid #e7e7e7;
}
.sign-in-panel__content .online-banking-options ul li {
    display: block;
    position: relative;
    background-image: url(arrow-right-bk.svg);
    background-position: calc(100% - 20px);
    background-repeat: no-repeat;
    padding-left: 18px;
    padding-right: 18px;
}

.sign-in-panel__content .online-banking-options ul li a {
    padding: 16px 0;
    color: #373737;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 24px */
    text-decoration: none;
    display: block;
    border-bottom: 1px solid #f3f3f3;
}
.sign-in-panel__content .online-banking-options ul li:last-child a {
    border-bottom: none;
}
.QR-code-container {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
}
.QR-code-container__links {
    display: none;
}

.QR-code-desktop {
    border-radius: 4px;
}

.sign-in-panel__heading {
    color: #212121;
    font-family: "Recife Display";
    font-size: 44px;
    font-style: normal;
    font-weight: 300;
    line-height: 115%; /* 50.6px */
    margin: 42px 0;
}

/**
Pre-login popup — shown on Sign in / Enroll click, before #sign-in-panel.
Figma: Online Banking Pre-login Message › Select Pre-login Message
  card 433×269, 10px radius, pure black; text 22px/32px white, 30px insets;
  outline button 1px white, 6px radius, 10px 25px padding, pinned bottom-left.
Markup: template-parts/components/prelogin-popup-select.php · JS: assets/js/select.js
*/
.prelogin-popup {
    position: fixed;
    inset: 0;
    z-index: 9999998;                                   /* just under #sign-in-panel (9999999) so the panel can open on top */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

.prelogin-popup[hidden] {
    display: none;
}

.prelogin-popup.is-open {
    opacity: 1;
}

.prelogin-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);                        /* same treatment as .sign-in-panel__overlay */
}

.prelogin-popup__card {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-sizing: border-box;
    width: 100%;
    max-width: 433px;                                   /* Figma card width — element size, not a breakpoint */
    min-height: 269px;                                  /* Figma card height — element size, not a breakpoint */
    padding: 30px 30px 25px;                            /* Figma insets */
    border-radius: 10px;                                /* Figma */
    background: var(--color-pure-black);
    color: var(--color-white);
    box-shadow: var(--shadow-xl);
    font-family: var(--font-family-primary);
    outline: none;
}

.prelogin-popup__message {
    width: 100%;
    max-width: 370px;                                   /* Figma text box width — element size, not a breakpoint */
}

.prelogin-popup__title,
.prelogin-popup__text {
    margin: 0;
    font-family: var(--font-family-primary);
    font-size: 22px;                                    /* Figma */
    font-weight: 400;
    line-height: 32px;                                  /* Figma */
    color: var(--color-white);
}

.prelogin-popup__text + .prelogin-popup__text,
.prelogin-popup__title + .prelogin-popup__text {
    margin-top: 12px;
}

.prelogin-popup__btn {
    /* Mirrors the header sign-in button (.header__new__sign-in-wrapper +
       .header__sign-in-text) so the popup CTA reads as the same control. */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 175px; /* reference: .header__new__sign-in-wrapper min-width */
    height: 40px;
    margin: 40px 0 0;
    padding: 10px 20px;
    border: 1px solid var(--color-select-button-text);
    border-radius: 4px;
    background: transparent;
    color: var(--color-select-text);
    font-family: var(--font-family-primary);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    cursor: pointer;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.prelogin-popup__btn:hover {
    border-color: var(--color-white);
    color: var(--color-white);
}

.prelogin-popup__btn:focus-visible {
    outline: 2px solid var(--color-select-gold);
    outline-offset: 3px;
}

body.prelogin-popup-open {
    overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
    .prelogin-popup {
        transition: none;
    }
}

/**
Select footer copyrghts
*/
.select-bottom-copyright {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    padding: 40px 45px;
}
.select-bottom-copyright p {
    color: #a3a3a3;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    margin-top: 15px;
}

.select-bottom-copyright .select-bottom-copyright__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.select-bottom-copyright .select-bottom-copyright__right {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Select footer bg — pure black. The base style.css ships a higher-
   specificity rule `.site-footer.footer, footer.site-footer, footer.footer,
   #colophon.site-footer { background-color: var(--color-primary) }` which
   would otherwise paint the footer green on Select pages (e.g. the 404
   template). Match the class+element specificity here so our Select-side
   override wins. `.footer.footer` (0,2,0) beats `footer.footer` (0,1,1).
   `--color-black` is `#1a1a1a` (V2 token) — for Select footer we want
   pure `#000` (legacy black), so the value is a block-scoped local var. */
.footer.footer {
    --footer-bg-select: #000; /* legacy-override: pure black, distinct from --color-black (#1a1a1a) */
    background-color: var(--footer-bg-select);
}
.footer .footer__copyrights {
    bottom: 30px;
    gap: 39px;
}

.header__dropdown-links ul li a {
    display: block;
    line-height: 1.15 !important;
    margin-bottom: 1em;
}

/**
Reward Block
*/
.center-text.styling-dark .content {
    border-radius: 8px;
    padding: 0;
    text-align: center;
    color: #fff;
    max-width: 632px;
    position: relative;
    z-index: 10;
    margin: 100px auto;
}

.select-reward-block-container
    .center-text.styling-dark
    .center-text__inner-wrapper {
    padding: 50px 50px 40px;
    border: 1px solid #c6b386;
    background-color: #000000;
    margin: unset;
}

body #main .center-text.styling-dark .content .float_2.position-right {
    right: -25%;
    top: 22%;
    width: 19px;
    height: auto;
}

.center-text .float_1.position-right {
    position: absolute;
    top: 20%;
    right: -160px;
    z-index: 1;
}

.center-text .corner_image {
    left: unset;
    right: calc(-50vw + 100px);
    top: calc(100% + 200px);
    transform: translate(-50%, -50%);
    max-height: 40vw;
}

/* Override legacy app.min.css universal rule that beats V2's
   .zip-zap-block .sFlexContent-inner p font-size: 16px (legacy 18px wins
   on specificity 0,0,4,1 vs V2 0,0,2,1). Matching the legacy selector
   chain gives equal specificity; V2 wins on cascade order. */
.sFlex-wrapper.sFlex-parent .sFlexContent .sFlexContent-inner p {
    font-size: 16px; /* legacy-override: Connor body tier 16px; revert from legacy app.min.css 18px */
}

.center-text h3,
.text-columns h3,
.sFlex-wrapper h3,
.sFlex-wrapper.sFlex-parent .sFlexContent .sFlexContent-inner h3 {
    font-family: var(--font-family-primary);
    font-size: 20px;
    font-weight: 400;
    color: var(--color-select-dark);
    line-height: 1.5;
    margin-bottom: 12px;
}

.text-columns h4 {
    font-family: var(--font-family-primary) !important; /* legacy-override: legacy bundle ships HelveticaNeueLTPro */
    font-size: 20px !important; /* legacy-override: Connor PR 212 h4 = 20px */
    font-weight: 400 !important; /* legacy-override: legacy bundle sets different weight */
    color: var(--color-select-dark) !important; /* legacy-override: Eric — Select Dark token (was #222) */
    line-height: 1.4 !important; /* legacy-override: legacy bundle line-height differs */
}

/* Zip-zap dark background — light text */
.split-columns-content.darkBackground .sFlex-wrapper.sFlex-parent .sFlexContent .sFlexContent-inner .h2-font-size,
.split-columns-content.darkBackground .sFlex-wrapper.sFlex-parent .sFlexContent .sFlexContent-inner h3,
.split-columns-content.darkBackground .sFlex-wrapper.sFlex-parent .sFlexContent .sFlexContent-inner p {
    color: #e0e0e0 !important;
}

/* Zip-zap content top offset — desktop only */
@media (min-width: 779px) {
    .sFlexContent[style*="--content-offset"] {
        margin-top: var(--content-offset);
    }
}

/* Zip-zap heading small margin option - targets big heading when small heading has the class */
.sFlex-wrapper.sFlex-parent .sFlexContent .sFlexContent-inner .h2-font-size.heading-margin-sm,
.sFlex-wrapper.sFlex-parent .sFlexContent .sFlexContent-inner .h2-font-size.heading-margin-sm ~ .h2-font-size.style1 {
    margin-bottom: 25px !important;
}

.center-text .links {
    margin-top: 36px;
}

.center-text.styling-dark .content .text {
    max-width: 510px;
}
.select-reward-block-container {
    position: relative;
}

.select-reward-block-container .corner_image {
    right: -60px;
    bottom: -160px;
    top: unset;
    z-index: 1;
}

.select-reward-block-container .center-text {
    background: #000000;
}
.select-reward-block-container .center-text .container .content {
    border-width: 0;
    padding: 0;
}
.select-reward-block-container .center-text.styling-dark {
    overflow: hidden;
}
/**
Disclosure
*/
.disclosure {
    background-color: #f6f6f6;
    border-top: 1px solid #bfbfbf;
    padding-top: 30px;
    padding-bottom: 80px;
}

.disclosure button.toggle {
    color: #3c3c3c;
}

.disclosure .text p {
    color: #515151;
    text-align: center;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    /* 160% */
}
.block.disclosure {
    background: #f6f6f6;
    padding: 24px 20px;
    border-top: 1px solid #e6e6e6;
}

.disclosure .container {
    padding: 0;
}

/* Select-side: disclosure content lines stack tight with no gap.
   Overrides the universal `.disclosure .content { gap: 15px }` baseline
   from disclosure.css — Select disclosures use 0 gap because the
   typography spacing already gives enough vertical rhythm.
   Forced specificity needed because disclosure.css loads after select.css
   per the bulk-Select enqueue order; same-specificity rules fall to
   source order otherwise. */
.disclosure .content {
    gap: 0 !important; /* legacy-override: disclosure.css loads after select.css; need to win on same specificity */
}

.disclosure .text a,
.disclosure .text p {
    color: #606060;
}

.disclosure .text a {
    color: #606060;
}

.disclosure .content {
    gap: 0;
}
.disclosure .content .text:not(.active) {
    padding-top: 24px;
    padding-bottom: 24px;
}

.disclosure .content .text {
    transition: all 0.3s ease;
}

/* Select footer — Poppins overrides */
.footer .footer__normal-text {
    font-family: "Poppins", sans-serif !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
}
.footer .footer__quiz-question {
    font-family: "Poppins", sans-serif !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
}
.footer .footer__answers-item,
.footer .footer__quiz-answers button,
.footer .footer__quiz-answers a {
    font-family: "Poppins", sans-serif !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
}
.footer .footer__quiz-content-text {
    font-family: "Poppins", sans-serif !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
}
.footer .footer__copyright-link,
.footer .footer__copyright-links a {
    font-family: "Poppins", sans-serif !important;
}
.footer .footer__text-content,
.footer .footer__text-content p {
    font-family: "Poppins", sans-serif !important;
}
.footer .select-bottom-copyright,
.footer .select-bottom-copyright p {
    font-family: "Poppins", sans-serif !important;
}
.footer .toggle-location-select,
.footer .location-select-wrapper,
.footer .location-select-wrapper a {
    font-family: "Poppins", sans-serif !important;
}

/* Disclosure dark variant */
.disclosure.disclosure--dark {
    background: var(--color-select-dark) !important; /* legacy-override: fights inline --gradient */
    border-top-color: var(--color-select-dark);
}
.disclosure.disclosure--dark button.toggle {
    color: var(--color-select-text);
}
.disclosure.disclosure--dark .text a,
.disclosure.disclosure--dark .text p {
    color: rgba(255, 255, 255, 0.7);
}
.disclosure.disclosure--dark .text a {
    color: rgba(255, 255, 255, 0.85);
}

/* Disclosure white variant */
.disclosure.disclosure--white {
    background: white !important; /* legacy-override: fights inline --gradient */
}
.disclosure.disclosure--white button.toggle {
    color: var(--color-select-dark);
}
.disclosure.disclosure--white .text p {
    color: var(--color-select-dark);
}
.disclosure.disclosure--white .text a {
    color: var(--color-select-dark);
    text-decoration: underline;
}

/**
select-wyswyg-half
*/
.select-wyswyg-half-bg {
    position: relative;
}

.select-wyswyg-half-bg .new-wyswyg {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 60px;
    padding-bottom: 60px;
    position: relative;
}
.select-wyswyg-half-bg:before {
    content: "";
    position: absolute;
    top: 50%;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #f6f6f6;
}

/* accountants slug — the half-bg light fill should start at the image's
   vertical center, not above it (Ernesto). The base :before begins the fill
   at top:50% of the wrapper, which on this page reads as starting too high.
   Push it lower for this slug so the fill begins around the image center.
   Slug-scoped so other pages using the half-bg wrapper are unaffected.
   BugHerd ref: task 347. */
body.slug-accountants .select-wyswyg-half-bg:before {
    top: 60%;
}

/**
Footer
*/
.footer__bottom-image {
    width: 1038px;
    height: auto;
}

/**
Language Select
*/
.header__multilanguage-wrapper .wpml-ls-legacy-dropdown-click .wpml-ls-item {
    position: relative;
}

/* Zero out the wpml plugin's outer <ul>/<li> defaults so the language
   toggle sits at the same vertical offset as the location toggle (the
   location picker has no surrounding ul). Without this reset the
   browser's default <ul> margin pushes the language toggle ~14px lower
   than the location toggle inside .header__utilities. */
.header__multilanguage-wrapper .wpml-ls > ul,
.header__multilanguage-wrapper .wpml-ls > ul > li {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Open state — line 1192 baseline sets visibility:hidden on the
   sub-menu; the JS only toggles the .is-active class so we need a CSS
   rule that flips visibility on activation. z-index 100 also added for
   parity with .location-select stacking. */
.header__multilanguage-wrapper .wpml-ls .wpml-ls-item .wpml-ls-sub-menu.is-active {
    visibility: visible;
    z-index: 100;
}

@media (min-width: 769px) {
    .header__dropdown-links ul li a {
        font-size: 20px;
    }
    /* Commented out — Connor's ca474ac adds an ACF "Heading Padding Top"
       field on the main-heading block that emits .has-custom-pt + var(--heading-pt).
       Editor-driven padding is preferred over this legacy page-id baseline.
       .page-id-553 .main-heading-parent .main-heading-inner .h1-font-size {
           padding: 150px 48px 0px;
       } */
    .page-id-553
        .split-columns-content.white-shadow
        .flex-parent-wrapper
        .corner_image {
        top: 70%;
    }
    .footer__top-part {
        padding-top: 180px;
    }
    .footer__bottom-part {
        margin-top: 0px;
    }
}

@media (min-width: 992px) {
    #select-header .header__navbar.element-blured:after {
        content: "";
        position: fixed;
        top: 200px;
        left: 50%;
        transform: translateX(-50%);
        width: 100vw;
        height: 200vh;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(5px);
        z-index: -1;
    }

    #select-header .desktop-menu-wrapper.menu-visible {
        height: auto !important; /* legacy-override: prior rule pinned 100vh */
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
    }
}

.header__dropdown-wrapper[data-parentitem="childrens-who-we-serve"]
    .header__dropdown-links,
.header__dropdown-wrapper[data-parentitem="childrens-who-we-serve-int"]
    .header__dropdown-links,
.header__dropdown-wrapper[data-parentitem="childrens-who-we-serve-spa"]
    .header__dropdown-links,
.header__dropdown-wrapper[data-parentitem="childrens-who-we-serve-por"]
    .header__dropdown-links,
.header__dropdown-wrapper[data-parentitem="childrens-who-we-serve-int-spa"]
    .header__dropdown-links,
.header__dropdown-wrapper[data-parentitem="childrens-who-we-serve-int-por"]
    .header__dropdown-links,
    .header__dropdown-wrapper[data-parentitem="childrens-who-we-serve-pr"]
    .header__dropdown-links,
.header__dropdown-wrapper[data-parentitem="childrens-who-we-serve-pr-spa"]
    .header__dropdown-links    {
    max-width: unset !important;
}

.header__dropdown-wrapper[data-parentitem="childrens-who-we-serve"]
    .header__dropdown-links
    ul,
.header__dropdown-wrapper[data-parentitem="childrens-who-we-serve-int"]
    .header__dropdown-links
    ul,
.header__dropdown-wrapper[data-parentitem="childrens-who-we-serve-spa"]
    .header__dropdown-links
    ul,
.header__dropdown-wrapper[data-parentitem="childrens-who-we-serve-por"]
    .header__dropdown-links
    ul,
.header__dropdown-wrapper[data-parentitem="childrens-who-we-serve-int-spa"]
    .header__dropdown-links
    ul,
.header__dropdown-wrapper[data-parentitem="childrens-who-we-serve-int-por"]
    .header__dropdown-links
    ul,
.header__dropdown-wrapper[data-parentitem="childrens-who-we-serve-pr"]
    .header__dropdown-links
    ul,
.header__dropdown-wrapper[data-parentitem="childrens-who-we-serve-pr-spa"]
    .header__dropdown-links
    ul,
.header__dropdown-wrapper[data-parentitem="childrens-who-we-serve-pr-por"]
    .header__dropdown-links
    ul {
    column-count: 2;
    column-gap: 40px;
}

@media (max-width: 1200px) {
    .header__dropdown-wrapper[data-parentitem="childrens-who-we-serve"]
        .header__dropdown-links
        ul,
    .header__dropdown-wrapper[data-parentitem="childrens-who-we-serve-int"]
        .header__dropdown-links
        ul,
    .header__dropdown-wrapper[data-parentitem="childrens-who-we-serve-spa"]
        .header__dropdown-links
        ul,
    .header__dropdown-wrapper[data-parentitem="childrens-who-we-serve-por"]
        .header__dropdown-links
        ul,
    .header__dropdown-wrapper[data-parentitem="childrens-who-we-serve-int-spa"]
        .header__dropdown-links
        ul,
    .header__dropdown-wrapper[data-parentitem="childrens-who-we-serve-int-por"]
        .header__dropdown-links
        ul,
    .header__dropdown-wrapper[data-parentitem="childrens-who-we-serve-pr"]
        .header__dropdown-links
        ul,
    .header__dropdown-wrapper[data-parentitem="childrens-who-we -serve-pr-spa"]
        .header__dropdown-links
        ul,
    .header__dropdown-wrapper[data-parentitem="childrens-who-we-serve-pr-por"]
        .header__dropdown-links
        ul {
        column-count: 1;
        column-gap: unset;
    }
}

@media screen and (max-width: 992px) {
    .footer__middle-part {
        z-index: 2;
        position: relative;
    }
    .footer__bottom-image {
        position: absolute;
        bottom: 0;
    }
    #select-header {
        top: 0;
    }
    .header__position-wrapper,
    .desktop-menu-wrapper {
        display: none !important;
    }
    .header__main-wrapper {
        justify-content: unset !important;
        flex-wrap: nowrap !important;
    }
    .header__mobile-wrapper {
        display: flex;
        width: 100%;
    }
    .header__utilities {
        display: none !important;
    }
    .header__mobile-location-lang-container {
        display: flex;
        width: 100%;
        justify-content: space-between;
        padding-left: 20px;
    }
    .footer__copyrights {
        gap: 15px;
        position: relative;
        z-index: 2;
    }
    .footer__bottom-part {
        height: unset;
    }
    .element-blured .header__mobile-location-lang-container > * {
        display: none;
    }
    .element-blured .header__logo-link-wrapper {
        display: none;
    }
    .element-blured .mobile-menu-wrapper {
        display: block;
    }

    .header__new__sign-in-wrapper {
        display: none;
        position: fixed;
        left: 30px;
        bottom: 36px;
        right: 30px;
        text-align: center;
    }
    .element-blured .header__new__sign-in-wrapper {
        display: block;
    }
    .header__sign-in-text--mob {
        color: #e0e0e0;
        text-align: center;
        font-size: 14px;
        font-style: normal;
        font-weight: 500;
        line-height: 130%; /* 18.2px */
    }
    /**
    Menu
    */
    .header__menu-list .menu-item > a {
        color: #e0e0e0;
        font-family: "Recife Display";
        font-size: 34px;
        font-style: normal;
        font-weight: 300;
        line-height: 60px; /* 176.471% */
    }
    #menu-primary-mobile.header__menu-list .menu-item:after {
        content: "";
        display: inline-block;
        background: url(arrow-right.svg);
        background-repeat: no-repeat;
        width: 10px;
        height: 20px;
        right: 0;
        top: 35px;
        transition: ease-in-out 0.3s;
        position: absolute;
    }
    .header__menu-list {
        padding: 32px;
    }
    .header__menu-list .menu-item {
        padding: 10px 0 !important;
    }
    .header__menu-list .menu-item.last-item {
        border-width: 0;
    }

    #select-header .header__navbar .header__menu-list .sub-menu.sub-menu-visible {
        display: none !important;
    }
    .submenu-panel-drawer {
        position: fixed;
        left: 100vw;
        width: 100vw;
        top: 0;
        bottom: 0;
        overflow: auto;
        transition: all 0.3s;
        z-index: 9999;
        background: #000000;
        top: 53px;
    }
    .display-submenu-panel .submenu-panel-drawer {
        left: 0;
    }
    .submenu-panel-drawer__close {
        position: absolute;
        top: 19px;
        right: 20px;
        display: block;
    }
    .submenu-panel-drawer__header {
        color: #bfbfbf;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 150%;
        display: flex;
        padding: 20px;
        text-decoration: none;
        gap: 16px;
        margin-right: 60px;
        display: flex;
        align-items: center;
    }

    .submenu-panel-drawer__header p {
        color: #bfbfbf;
    }

    .submenu-panel-drawer__header svg {
        top: -2px;
        position: relative;
    }
    /* Column flex so the drawer photo (img appended by select.js after the
       <li>s) sits in flow but still anchors to the bottom on short submenus
       (margin-top:auto on the img below). */
    .submenu-panel-drawer__content {
        position: relative;
        min-height: calc(100vh - 115px);
        overflow-x: hidden;
        padding: 20px 20px 0;
        display: flex;
        flex-direction: column;
    }
    .submenu-panel-drawer__content a {
        color: #e0e0e0;
        font-size: 22px;
        font-style: normal;
        font-weight: 300;
        line-height: 46px; /* 209.091% */
        text-decoration: none;
    }
    .mobile-menu-wrapper .menu-item-has-children > a {
        pointer-events: none;
    }
    /* In flow, not absolute: long submenus (Who We Serve, 8 items) push the
       photo down and the drawer (overflow-y:auto) scrolls, instead of the
       list running over the photo. Negative side margins keep it full-bleed. */
    .submenu-panel-drawer__content img {
        position: relative;
        display: block;
        margin: auto -20px 0;
        width: calc(100% + 40px);
        max-width: 450px; /* legacy-override: photo cap carried from legacy */
    }
    /**
    Multilang selector
    */
    .header__multilanguage-wrapper .wpml-ls .wpml-ls-item a {
        color: #ebebeb;
    }
    /**
Location Select 
*/
    .location-select,
    .location-select.active {
        top: 36.5px;
    }
    .toggle-location-select img {
        display: block;
    }
    .footer__location_select .location-select-wrapper a {
        font-weight: 500;
    }
    /**
Sign In Panel
*/
    .QR-code-container__links {
        display: block;
    }
    .QR-code-container__links a {
        display: block;
        text-align: center;
        text-decoration: none;
    }
    .QR-code-container .QR-code-desktop,
    .QR-code-container label {
        display: none;
    }
    .sign-in-panel__content {
        padding: 30px;
    }
    .sign-in-panel__close {
        top: 20px;
    }
    /* Reward mobile */
    .select-reward-block-container .center-text .container .content {
        margin: 0 auto;
    }

    .select-reward-block-container
        .center-text.styling-dark
        .center-text__inner-wrapper {
        margin-top: 0 !important;
        padding: 35px;
        padding-bottom: 50px !important;
    }

    .select-reward-block-container
        .center-text.styling-dark
        .center-text__inner-wrapper {
        margin-top: 0 !important;
        padding: 30px;
    }

    .select-reward-block-container
        .flex-parent-wrapper
        .sFlexContent
        .sFlexContent-inner
        h1 {
        font-size: 34px;
    }
    .center-text .links {
        margin-top: 15px;
    }

    .center-text .links a {
        max-width: 225px;
        align-items: flex-end;
        position: relative;
    }

    .center-text .links a .svg {
        position: absolute;
        right: 20px;
        bottom: 0;
    }
    .center-text .content .title {
        margin: 0;
    }
    .center-text.styling-dark .content .text br {
        display: none;
    }

    .select-page-centered-block
        .split-columns-content.lightBackground
        .flex-parent-wrapper
        .sFlexContent
        .sFlexContent-inner
        h1 {
        font-size: 34px;
    }
    .center-text.styling-dark .content h2.title {
        line-height: 125%;
        margin-bottom: 10px;
    }
    .center-text .float_1.position-right {
        display: none;
    }

    .new-select-wholesalers-bottom__container__left_panel p {
        font-size: 24px !important;
        line-height: 32px !important;
    }

    /**
    Footer
    */
    .footer .footer__copyrights {
        bottom: 100px;
    }
    .select-bottom-copyright {
        bottom: 0;
    }
    .select-bottom-copyright .select-bottom-copyright__container {
        justify-content: space-around;
        flex-wrap: wrap;
    }
}

/* === BEGIN EXTRACTED LEGACY (2026-04-23) — Select header + footer === */
/* URL: https://multisitetest.local/select/ */
/* Sources:
     /select/wp-content/themes/Banesco_2026/legacy/dist/css/app.min.css?ver=1770051618
     /select/wp-content/themes/Banesco_2026/legacy/build/css/custom.min.css?ver=1770051618
*/
/* Stats: 2 sheets scanned, 1495 rules considered, 116 direct matches, 97 @media blocks with matches, 0 @keyframes referenced */

/* --- CSS variables defined on :root/html/body in legacy --- */
:root { --primary: #2124b1; --secondary: #4777f5; --light: #f7faff; --dark: #1d1d27; --main-Black-S: #313131; --main-Gray-S: #606060; --main-Gold-S: #f1d593; --white: #fff; --background-Black-S: #222; --body-Text-S: #313131; --light-Gray-S: #e0e0e0; --lines-S: #d8d8d8; }

/* --- Matched rules --- */
* { box-sizing: border-box; }
body, textarea, input { padding: 0; margin: 0; font-family: var(--font-family-primary); } /* legacy-override: legacy applied HelveticaNeueLTPro to all inputs site-wide; aligning to Poppins for V2 */
img { max-width: 100%; height: auto; }
:root { --primary: #2124b1; --secondary: #4777f5; --light: #f7faff; --dark: #1d1d27; --main-Black-S: #313131; --main-Gray-S: #606060; --main-Gold-S: #f1d593; --white: #fff; --background-Black-S: #222; --body-Text-S: #313131; --light-Gray-S: #e0e0e0; --lines-S: #d8d8d8; }
img { border-style: none; }
p, li { line-height: 150%; color: var(--greyText1); }
form { display: flex; flex-direction: column; align-items: flex-start; padding: 0px; gap: 10px; isolation: isolate; }
form input, form textarea { display: flex; flex-direction: row; align-items: flex-start; padding: 20px; gap: 10px; background: rgb(15, 15, 15); border: 1px solid rgb(62, 62, 62); border-radius: 4px; }
.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); height: 1px; width: 1px; overflow: hidden; position: absolute !important; }
.screen-reader-text:focus { background-color: rgb(241, 241, 241); border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.6) 0px 0px 2px 2px; color: rgb(33, 117, 155); display: block; font-size: 0.875rem; font-weight: bold; height: auto; left: 5px; line-height: normal; padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 100000; clip: auto !important; }
#select-header { background: #000000; position: sticky; top: 0; width: 100%; z-index: 9999; font-family: var(--font-family-primary); } /* legacy-override: Select site header sits at top of viewport, dark band over body; z-index bumped to 9999 so sections with high local z-index (e.g. text-columns at 200 for back-image bleed) don't paint over the sticky header on scroll */
#select-header .header__message-bar { background: rgb(0, 0, 0); padding: 14px 0px; }
#select-header .header__message-bar .header__container { display: flex; }
#select-header .header__message-bar .header__container .header__message-bar-img { margin: 0px; display: flex; }
.header__container { max-width: 1920px; margin: auto; }
.header__logo-link-wrapper { display: flex; flex-shrink: 0; align-items: center; gap: 2px; }
.header__main-wrapper { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; position: relative; padding-bottom: 20px; }
.header__position-wrapper { position: absolute; left: 50%; transform: translateX(-50%); }
@media (max-width: 1500px) {
    .header__position-wrapper { position: static; transform: none; flex: 1; }
}
.header__navbar { display: flex; justify-content: center; align-items: center; position: relative; z-index: 0; }
.header__menu-list { display: flex; margin: 0px; list-style: none; }
.header__menu-list .menu-item { cursor: pointer; display: flex; align-items: center; padding: 26px 0px 25px; }
.header__menu-list .menu-item:not(:last-child) { padding-right: 40px; }
.header__menu-list .menu-item:hover > a, .header__menu-list .menu-item.child-level-visible > a, .header__menu-list .menu-item.current_page_item > a { color: rgb(224, 224, 224); }
.header__menu-list .menu-item > a { color: rgb(224, 224, 224); text-decoration: none; transition: 0.3s ease-in-out; font-family: "Poppins", sans-serif; font-size: 16px; font-weight: 400; line-height: 1.3; }
.header__mobile-wrapper { display: flex; align-items: center; position: relative; }
.header__sign-in-text { color: rgb(224, 224, 224); font-size: 14px; font-weight: 500; line-height: 130%; text-decoration: none; margin: 0px; cursor: pointer; transition: 0.3s ease-in-out; }
.header__sign-in-text:hover { color: rgb(255, 255, 255); }
.header__sign-in-text--desktop { font-weight: 500; }
.header__sign-in-text--mob { font-weight: 400; top: 1px; position: relative; }
.header__multilanguage-wrapper { display: flex; align-items: center; gap: 4px; }
.header__multilanguage-wrapper img { top: -2px; position: relative; }
.header__multilanguage-wrapper .wpml-ls { width: auto; }
.header__multilanguage-wrapper .wpml-ls .wpml-ls-item:hover a { background: rgba(0, 0, 0, 0); color: rgb(224, 224, 224); }
.header__multilanguage-wrapper .wpml-ls .wpml-ls-item a { background: rgba(0, 0, 0, 0); border: none; color: rgb(224, 224, 224); font-size: 14px; font-weight: 500; line-height: 26px; padding: 0px; text-decoration: none; }
.header__multilanguage-wrapper .wpml-ls .wpml-ls-item a::after { display: none; }
/* Language sub-menu — inherits white-bg / dark-text / 6px radius from the
   shared rule at line 125 (.location-select, .wpml-ls-sub-menu). Only the
   inactive-state `visibility: hidden` baseline remains; the active-state
   visibility flip lives on the `.is-active` rule above. The dark-theme
   overrides (black bg, 8px radius, 250% top, ::before arrow) that legacy
   shipped here were stripped to match the location dropdown look. */
.header__multilanguage-wrapper .wpml-ls .wpml-ls-item .wpml-ls-sub-menu { visibility: hidden; }
.header__multilanguage-wrapper .wpml-ls .wpml-ls-item .wpml-ls-sub-menu .wpml-ls-item:hover a { border-radius: 4px; background: rgb(35, 35, 35); color: rgb(255, 255, 255); }
.header__multilanguage-wrapper .wpml-ls .wpml-ls-item .wpml-ls-sub-menu .wpml-ls-item a { background: rgba(0, 0, 0, 0); border: none; color: rgb(191, 191, 191); padding: 6px 12px 5px; }
.header__mobile-close { display: none; }
.header__dropdown-wrapper { position: fixed; z-index: 99; width: 100%; left: 0px; background: rgb(0, 0, 0); display: flex; align-items: center; justify-content: center; height: 0px; opacity: 0; visibility: visible; pointer-events: none; }
.header__dropdown-container { display: flex; justify-content: center; }
.header__inner-wrapper { display: flex; left: -80px; }
.header__dropdown-image--desktop { position: relative; top: 45px; height: auto; width: auto; max-height: 430px; }
.header__dropdown-links { pointer-events: all; }
.header__dropdown-links ul { padding: 0px; list-style: none; }
.header__dropdown-links ul li { color: rgb(129, 129, 129); font-size: 20px; font-weight: 400; line-height: 36px; }
.header__dropdown-links ul li a { color: rgb(129, 129, 129); font-weight: 400; transition: 0.3s ease-in-out; text-decoration: none; cursor: pointer; }
.header__dropdown-links ul li:hover a { color: rgb(224, 224, 224); }
#select-header .placeholder-form { border-radius: 0px 0px 16px 16px; background: rgb(0, 0, 0); width: 304px; height: 406px; position: absolute; z-index: 111; top: 100%; padding: 26px; opacity: 0; transition: 0.3s ease-in-out; pointer-events: none; display: none; }
.header__close-form { position: absolute; right: 12px; top: 12px; padding: 14px; cursor: pointer; }
#select-header .desktop-menu-wrapper {
    /* Take the dropdown panel out of flow so it overlays page content
       instead of growing the sticky header's flow box at scroll 0
       (when sticky behaves like static and any in-flow growth pushes
       the page down). Header is position: sticky / z-index: 9999, so
       absolute-positioning anchors to it correctly and the panel sits
       directly below the visible header bar at top: 100%. */
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgb(0, 0, 0);
    height: 0px;
    overflow: hidden;
    opacity: 0;
    transition: height 240ms cubic-bezier(0.4, 0, 0.6, 1), overflow 240ms cubic-bezier(0.4, 0, 0.6, 1), opacity 240ms cubic-bezier(0.4, 0, 0.6, 1);
    pointer-events: none;
}
#select-header .desktop-menu-wrapper .header__dropdown-wrapper { position: unset; height: 0px; opacity: 0; visibility: hidden; pointer-events: unset; background: unset; top: unset; display: flex; transition: opacity 240ms ease-in-out; }
#select-header .desktop-menu-wrapper .header__dropdown-wrapper .header__dropdown-container .header__inner-wrapper .header__dropdown-links { max-width: 502px; width: 100%; margin-right: auto; }
p { margin: 0px; }
ul, ol { list-style: none; padding: 0px; margin: 0px; }
.footer { background-color: rgb(31, 31, 31); }
.footer__top-part { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.footer__top-text { font-weight: 300; line-height: 100%; color: rgb(224, 224, 224); font-family: "Recife Display"; text-align: center; }
.footer__normal-text { color: rgb(224, 224, 224); font-weight: 300; line-height: 160%; }
.footer__bottom-part { display: flex; justify-content: center; position: relative; }
.footer__middle-part { max-width: 812px; width: 100%; margin: auto auto 80px; }
.footer__middle-part .gform_wrapper { display: none; }
.footer__middle-part .gform_wrapper form { max-width: 520px; width: 100%; }
.footer__middle-part .gform_wrapper form.margin-body-footer .gform-body { margin-bottom: 43px; }
.footer__middle-part .gform_wrapper form .gform-body { width: 100%; }
.footer__middle-part .gform_wrapper form .gform-body .gform_fields .gfield.gfield--type-html { color: rgb(224, 224, 224); font-size: 18px; font-weight: 400; line-height: 18px; }
.footer__middle-part .gform_wrapper form .gform-body .gform_fields .gfield.gfield--type-textarea { margin-top: 34px; margin-bottom: 27px; }
.footer__middle-part .gform_wrapper form .gform-body .gform_fields .gfield .gfield_label { color: rgb(224, 224, 224); line-height: 125%; font-size: 18px; font-weight: 400; margin-bottom: 15px; }
.footer__middle-part .gform_wrapper form .gform-body .gform_fields .gfield .ginput_container input { border-radius: 4px; border: 1px solid rgb(62, 62, 62); background: rgb(20, 20, 20); outline: none; color: rgb(129, 129, 129); font-size: 18px; font-weight: 400; line-height: 32px; padding: 13px; transition: 0.3s ease-in-out; }
.footer__middle-part .gform_wrapper form .gform-body .gform_fields .gfield .ginput_container input:active, .footer__middle-part .gform_wrapper form .gform-body .gform_fields .gfield .ginput_container input:focus-visible { border: 1px solid rgb(224, 224, 224); color: rgb(224, 224, 224); }
.footer__middle-part .gform_wrapper form .gform-body .gform_fields .gfield .ginput_container input::placeholder { color: rgb(127, 127, 127); font-size: 18px; font-weight: 400; line-height: 32px; }
.footer__middle-part .gform_wrapper form .gform-body .gform_fields .gfield .ginput_container .gfield_checkbox { margin-top: 44px; }
.footer__middle-part .gform_wrapper form .gform-body .gform_fields .gfield .ginput_container .gfield_checkbox .gchoice { display: flex; gap: 20px; }
.footer__middle-part .gform_wrapper form .gform-body .gform_fields .gfield .ginput_container .gfield_checkbox .gchoice .gfield-choice-input { height: 23px; max-width: 23px; width: 100%; border-radius: 4px; border: 1px solid rgb(201, 201, 201); position: relative; top: 6px; accent-color: rgb(129, 129, 129); }
.footer__middle-part .gform_wrapper form .gform-body .gform_fields .gfield .ginput_container .gfield_checkbox .gchoice .gform-field-label { color: rgb(191, 191, 191); font-size: 14px; font-weight: 400; line-height: 24px; }
.footer__middle-part .gform_wrapper form .gform-body .gform_fields .gfield .ginput_container .gfield_checkbox .gchoice .gform-field-label a { color: rgb(191, 191, 191); }
.footer__middle-part .gform_wrapper form .gform-body .gform_fields .gfield .ginput_container_textarea textarea { height: 149px; padding: 20px; color: rgb(129, 129, 129); font-size: 18px; font-weight: 400; line-height: 32px; background: rgb(20, 20, 20); }
.footer__middle-part .gform_wrapper form .gform-body .gform_fields .gfield .ginput_container_textarea textarea::placeholder { color: rgb(127, 127, 127); font-size: 18px; font-weight: 400; line-height: 32px; }
.footer__middle-part .gform_wrapper form .gform-body .gform_fields .gfield .gfield_radio { display: flex; align-items: center; justify-content: end; gap: 50px; }
.footer__middle-part .gform_wrapper form .gform-body .gform_fields .gfield .gfield_radio .gchoice { display: flex; align-items: center; gap: 6px; }
.footer__middle-part .gform_wrapper form .gform-body .gform_fields .gfield .gfield_radio .gchoice .gfield-choice-input { width: 22px; height: 22px; accent-color: rgb(217, 217, 217); opacity: 0; }
.footer__middle-part .gform_wrapper form .gform-body .gform_fields .gfield .gfield_radio .gchoice .gfield-choice-input:checked { transition: 0.3s ease-in-out; display: block; opacity: 1; }
.footer__middle-part .gform_wrapper form .gform-body .gform_fields .gfield .gfield_radio .gchoice .gfield-choice-input:checked + label::before { opacity: 0; }
.footer__middle-part .gform_wrapper form .gform-body .gform_fields .gfield .gfield_radio .gchoice .gform-field-label { color: rgb(224, 224, 224); font-size: 18px; font-weight: 400; line-height: 18px; position: relative; top: 2px; }
.footer__middle-part .gform_wrapper form .gform-body .gform_fields .gfield .gfield_radio .gchoice .gform-field-label::before { content: ""; display: block; width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgb(201, 201, 201); position: absolute; left: -30px; top: 50%; cursor: pointer; transform: translate(2px, -57%); }
.footer__middle-part .gform_wrapper form .gform-body .gform_fields .gfield.gfield--type-checkbox .ginput_container_checkbox .gfield_checkbox { position: relative; }
.footer__middle-part .gform_wrapper form .gform-body .gform_fields .gfield.gfield--type-checkbox .ginput_container_checkbox .gfield_checkbox .gfield-choice-input { opacity: 0; transition: 0.3s ease-in-out; }
.footer__middle-part .gform_wrapper form .gform-body .gform_fields .gfield.gfield--type-checkbox .ginput_container_checkbox .gfield_checkbox .gfield-choice-input:checked { transition: 0.3s ease-in-out; display: block; opacity: 1; }
.footer__middle-part .gform_wrapper form .gform-body .gform_fields .gfield.gfield--type-checkbox .ginput_container_checkbox .gfield_checkbox .gfield-choice-input:checked + label::before { opacity: 0; }
.footer__middle-part .gform_wrapper form .gform-body .gform_fields .gfield.gfield--type-checkbox .ginput_container_checkbox .gfield_checkbox .gchoice .gform-field-label::before { content: ""; display: block; width: 21px; height: 21px; border-radius: 3px; border: 1px solid rgb(201, 201, 201); position: absolute; left: 0px; top: 6px; cursor: pointer; }
.footer__middle-part .gform_wrapper form .gform_footer { margin: 0px; padding: 0px 0px 16px; width: 100%; display: flex; align-items: center; justify-content: end; border-bottom: 1px solid rgb(64, 64, 64); gap: 8px; }
.footer__middle-part .gform_wrapper form .gform_footer::after { content: ""; background: url("../../custom-assets/icons/arrow-right.svg") center center / contain no-repeat; display: block; height: 9px; width: 5px; }
.footer__middle-part .gform_wrapper form .gform_footer .gform_button { background: none; border: none; color: rgb(191, 191, 191); font-size: 17px; font-weight: 400; padding: 0px; margin: 0px; cursor: pointer; line-height: 112% !important; }
.footer__quiz-question { color: rgb(198, 179, 134); font-weight: 300; text-align: center; }
.footer .footer__quiz[data-quizid="secondQuiz"] .footer__answers-item { padding: 14px 0px 17px; }
.footer .footer__quiz[data-quizid="firstForm"] .footer__quiz-content { margin: 11px 0px 0px; }
.footer .footer__quiz[data-quizid="quizfour"] .footer__quiz-answers.links { display: flex; flex-direction: row; gap: 0px; border-bottom: 1px solid rgb(64, 64, 64); }
.footer .footer__quiz[data-quizid="quizfour"] .footer__quiz-answers.links .footer__answers-item.footer__back-to-previous, .footer .footer__quiz[data-quizid="quizfour"] .footer__quiz-answers.links .footer__answers-item { border-bottom: none; }
.footer__quiz-content { color: rgb(224, 224, 224); text-align: center; font-weight: 300; line-height: 160%; }
.footer__quiz-answers { display: flex; }
.footer__quiz-answers.buttons { align-items: center; justify-content: center; }
.footer__quiz-answers.buttons .footer__answers-item { border: 1px solid rgb(96, 96, 96); border-radius: 8px; color: rgb(224, 224, 224); font-weight: 300; line-height: 125%; text-align: center; cursor: pointer; transition: 0.3s ease-in-out; display: flex; flex-direction: column; }
.footer__quiz-answers.buttons .footer__answers-item:hover { border-color: rgb(224, 224, 224); }
.footer__quiz-answers.links { justify-content: space-between; margin-top: 43px; }
.footer__quiz-answers.links .footer__answers-item { color: rgb(191, 191, 191); font-size: 18px; font-weight: 300; line-height: 32px; }
.footer__quiz-answers.links .footer__answers-item:nth-child(2) { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.footer__quiz-answers.links .footer__answers-item:nth-child(2)::after { content: ""; background: url("../../custom-assets/icons/arrow-right.svg") center center / contain no-repeat; display: block; height: 9px; width: 5px; }
.footer__quiz-answers.links .footer__back-to-previous { display: flex; }
.footer__quiz-answers-forms { max-width: 520px; width: 100%; margin: auto; position: relative; }
.footer__back-to-previous { display: none; color: rgb(191, 191, 191); align-items: center; gap: 8px; cursor: pointer; font-size: 17px; font-weight: 400; line-height: 100%; }
.footer__back-to-previous::before { content: ""; background: url("../../custom-assets/icons/arrow-right.svg") center center / contain no-repeat; display: block; height: 9px; width: 5px; transform: rotate(180deg); }
/* Visible state while a quiz form is open (toggled by assets/js/select-quiz.js).
   Ported 2026-09-15 from legacy custom-assets/sass/_footer.scss; the 576px
   split is the legacy-override: bootstrap sm breakpoint, kept 1:1. */
.footer__back-to-previous.back-to-previous--visible { display: flex; position: absolute; left: 0; bottom: 9px; width: 100%; padding-bottom: 16px; }
@media (min-width: 576px) { /* legacy-override: bootstrap sm */
  .footer__back-to-previous.back-to-previous--visible { bottom: 18px; width: auto; padding-bottom: 0; }
}
.footer__back-link { display: flex; color: rgb(191, 191, 191); align-items: center; gap: 8px; cursor: pointer; font-size: 17px; font-weight: 400; line-height: 100%; max-width: 520px; border-bottom: 1px solid rgb(64, 64, 64); margin: 43px auto 0px; padding-bottom: 16px; }
.footer__back-link::before { content: ""; background: url("../../custom-assets/icons/arrow-right.svg") center center / contain no-repeat; display: block; height: 9px; width: 5px; transform: rotate(180deg); }
.footer__copyright-links li:hover .footer__copyright-link { color: rgb(224, 224, 224); }
.footer__copyright-link { color: rgb(191, 191, 191); font-size: 14px; font-weight: 400; line-height: 125%; text-decoration: none; }
.footer__copyrights { display: flex; flex-direction: column; gap: 52px; position: absolute; }

/* --- @media matches --- */
@media (max-width: 991px) {
#select-header .header__message-bar .header__container .img-desktop { display: none; }
}
@media (min-width: 992px) {
#select-header .header__message-bar .header__container .img-mobile { display: none; }
}
@media (min-width: 992px) {
.header__container { padding: 0px 78px; }
}
@media (max-width: 991px) {
.header__container { padding: 0px 24px; }
}
@media (min-width: 1201px) {
.header__logo-link-wrapper svg:nth-child(2) { display: block; }
}
@media (max-width: 1200px) {
.header__logo-link-wrapper svg:nth-child(2) { display: none; }
}
@media (max-width: 991px) {
.header__main-wrapper { padding: 19px 0px; }
}
@media (max-width: 991px) {
.header__position-wrapper { opacity: 0; pointer-events: none; position: absolute; z-index: 123; width: 100%; left: 0px; background: rgb(0, 0, 0); transition: 0.3s ease-in-out; top: 65px; height: auto; }
}
@media (max-width: 991px) {
.header__navbar { overflow: auto; align-items: start; }
}
@media (min-width: 992px) {
.header__menu-list { padding: 0px; }
}
@media (max-width: 991px) {
.header__menu-list { flex-direction: column; width: 100%; padding: 0px 0px 0px 32px; text-align: center; justify-content: center; gap: 0px; }
}
@media (min-width: 992px) {
.header__menu-list .menu-item { gap: 6px; }
}
@media (max-width: 991px) {
.header__menu-list .menu-item { gap: 10px; }
}
@media (max-width: 991px) {
.header__menu-list .menu-item { border-bottom: 1px solid rgb(43, 43, 43); padding: 5px 0px; position: relative; display: flex; flex-direction: column; align-items: start; }
}
@media (min-width: 992px) {
.header__menu-list .menu-item > a { font-size: 16px; font-weight: 400; line-height: 130%; }
}
@media (max-width: 991px) {
.header__menu-list .menu-item > a { font-weight: 300; font-size: 30px; line-height: 180%; }
}
@media (min-width: 992px) {
.header__menu-list .menu-item.dropdown-menu-item::after { content: ""; display: inline-block; width: 13px; height: 7px; background: url("../../custom-assets/icons/arrow-down-gray.svg") center center / contain no-repeat; transition: 0.3s ease-in-out; }
.header__menu-list .menu-item.dropdown-menu-item.child-level-visible::after, .header__menu-list .menu-item.dropdown-menu-item:hover::after { background: url("../../custom-assets/icons/arrow-down-white.svg") center center / contain no-repeat; }
}
@media (max-width: 991px) {
.header__menu-list .menu-item.dropdown-menu-item::after { content: ""; display: inline-block; width: 14px; height: 7px; background: url("../../custom-assets/icons/arrow-down-white.svg") center center / contain no-repeat; transition: 0.3s ease-in-out; position: absolute; top: 25px; right: 27px; }
}
@media (min-width: 769px) {
.header__mobile-wrapper { gap: 30px; }
}
@media (max-width: 768px) {
.header__mobile-wrapper { gap: 21px; }
}
@media only screen and (max-width: 400px) {
.header__mobile-wrapper { gap: 10px; }
}
@media (max-width: 768px) {
.header__sign-in-text--desktop { display: none; }
}
@media (min-width: 769px) {
.header__sign-in-text--mob { display: none; }
}
@media (max-width: 576px) {
.header__sign-in-text--mob { text-align: center; }
}
@media (min-width: 992px) {
.header__multilanguage-wrapper .wpml-ls .wpml-ls-item .wpml-ls-sub-menu { left: -60px; }
}
@media (max-width: 991px) {
.header__multilanguage-wrapper .wpml-ls .wpml-ls-item .wpml-ls-sub-menu { left: -90px; }
}
@media (max-width: 768px) {
.header__multilanguage-wrapper .wpml-ls .wpml-ls-item .wpml-ls-sub-menu { left: -60px; }
}
@media (min-width: 992px) {
.header__mobile-menu-icons { display: none; }
}
@media (max-width: 991px) {
.header__mobile-menu-icons { cursor: pointer; display: flex; align-items: center; }
}
@media (min-width: 992px) {
#select-header .header__navbar .header__menu-list .sub-menu { display: none; }
}
@media (max-width: 991px) {
#select-header .header__navbar .header__menu-list .sub-menu { display: none; padding-left: 30px; }
#select-header .header__navbar .header__menu-list .sub-menu .menu-item { border-bottom: none; padding: 0px; gap: 0px; color: rgb(129, 129, 129); font-size: 24px; font-weight: 300; line-height: 36px; }
#select-header .header__navbar .header__menu-list .sub-menu .menu-item a { color: rgb(129, 129, 129); font-weight: 300; transition: 0.3s ease-in-out; text-decoration: none; cursor: pointer; font-size: 28px; text-align: left; }
}
@media only screen and (max-width: 991px) and (max-width: 427px) {
#select-header .header__navbar .header__menu-list .sub-menu .menu-item a { font-size: 24px; }
}
@media (max-width: 991px) {
#select-header .header__navbar .header__menu-list .sub-menu .menu-item a:hover { color: rgb(224, 224, 224); }
}
@media (min-width: 769px) {
.header__dropdown-wrapper { top: 70px; }
}
@media (min-width: 992px) {
.header__dropdown-wrapper { height: 0px; }
}
@media (max-width: 991px) {
.header__dropdown-wrapper { height: 329px; }
}
@media (max-width: 768px) {
.header__dropdown-wrapper { top: 110px; left: 60px; justify-content: start; width: unset; padding-left: 30px; position: unset; display: unset; height: unset; }
}
@media (min-width: 992px) {
.header__inner-wrapper { gap: 80px; position: relative; pointer-events: none; }
}
@media (max-width: 991px) {
.header__inner-wrapper { width: 100%; align-items: center; justify-content: end; }
}
@media (max-width: 991px) {
.header__dropdown-image--desktop { display: none; }
}
@media (min-width: 992px) {
.header__dropdown-image--mobile { display: none; }
}
@media (max-width: 991px) {
.header__dropdown-image--mobile { top: 34px; left: 0px; position: relative; margin-left: auto; }
}
@media (max-width: 991px) {
.header__dropdown-image--mobile { bottom: -499px; left: unset; top: unset; right: 0px; }
}
@media (min-width: 992px) {
.header__dropdown-links { padding-top: 73px; }
}
@media (max-width: 991px) {
.header__dropdown-links { width: 100%; padding: 0px; position: unset; }
}
@media (max-width: 768px) {
.header__dropdown-links ul { text-align: left; }
}
@media (min-width: 769px) {
.header__dropdown-links ul li a { font-size: 20px; line-height: 40px; }
}
@media (max-width: 768px) {
.header__dropdown-links ul li a { font-size: 28px; line-height: 160%; }
}
@media (min-width: 992px) {
#select-header .placeholder-form { right: 78px; }
}
@media (max-width: 991px) {
#select-header .placeholder-form { right: 23px; }
}
@media (max-width: 768px) {
#select-header .placeholder-form { right: 50%; transform: translateX(50%); top: 100%; }
}
@media (min-width: 992px) {
#select-header .desktop-menu-wrapper .header__dropdown-wrapper { justify-content: center; overflow: hidden; }
}
@media (max-width: 991px) {
#select-header .desktop-menu-wrapper .header__dropdown-wrapper { padding-left: 64px; justify-content: flex-start; overflow: hidden; }
}
@media (max-width: 991px) {
#select-header .desktop-menu-wrapper .header__dropdown-wrapper .header__dropdown-container { height: 100%; width: 100%; }
}
@media (max-width: 991px) {
#select-header .desktop-menu-wrapper .header__dropdown-wrapper .header__dropdown-container .header__inner-wrapper { flex-direction: column-reverse; gap: 121px; height: 600px; justify-content: end; }
#select-header .desktop-menu-wrapper .header__dropdown-wrapper .header__dropdown-container .header__inner-wrapper .header__dropdown-image--mobile { bottom: 0px; right: 0px; left: unset; top: unset; }
}
@media (max-width: 991px) {
#select-header .desktop-menu-wrapper .header__dropdown-wrapper .header__dropdown-container .header__inner-wrapper .header__dropdown-links { display: none; }
}
@media (min-width: 577px) {
.footer { padding: 0px 20px; }
}
@media (min-width: 769px) {
.footer__top-part { padding-top: 283px; gap: 24px; padding-bottom: 80px; }
}
@media (max-width: 768px) {
.footer__top-part { padding-top: 118px; gap: 21px; padding-bottom: 37px; }
}
@media (max-width: 576px) {
.footer__top-part { padding: 118px 20px 37px; }
}
@media (min-width: 992px) {
.footer__top-text { font-size: 70px; }
}
@media (max-width: 991px) {
.footer__top-text { font-size: 45px; }
}
@media (min-width: 992px) {
.footer__normal-text { font-size: 28px; }
}
@media (max-width: 991px) {
.footer__normal-text { font-size: 24px; }
}
@media (max-width: 576px) {
.footer__normal-text { font-size: 20px; }
}
@media (min-width: 577px) {
.footer__bottom-part { margin-top: 167px; }
}
@media (max-width: 576px) {
.footer__bottom-part { height: 404px; background-image: ; background-repeat: ; background-attachment: ; background-origin: ; background-clip: ; background-color: ; background-size: cover; background-position: center center; margin-top: 142px; }
}
@media (max-width: 576px) {
.footer__bottom-part img { display: none; }
}
@media (max-width: 576px) {
.footer__middle-part { padding: 0px 20px; }
}
@media (min-width: 577px) {
.footer__middle-part .gform_wrapper form .gform-body .gform_fields .gfield.gfield--type-html { width: 86%; }
}
@media (max-width: 576px) {
.footer__middle-part .gform_wrapper form .gform-body .gform_fields .gfield.gfield--type-html { margin-bottom: 52px; }
}
@media (max-width: 576px) {
.footer__middle-part .gform_wrapper form .gform-body .gform_fields .gfield.gfield--type-radio .gfield_radio { align-items: start; }
}
@media (min-width: 992px) {
.footer__quiz-question { font-size: 28px; line-height: 125%; margin-bottom: 40px; }
}
@media (max-width: 991px) {
.footer__quiz-question { font-size: 20px; line-height: 140%; margin-bottom: 32px; }
}
@media (max-width: 991px) {
.footer__quiz-content { margin-bottom: 20px; }
}
@media (min-width: 577px) {
.footer__quiz-content { font-size: 28px; }
}
@media (max-width: 576px) {
.footer__quiz-content { font-size: 24px; margin-bottom: 80px; }
}
@media (min-width: 992px) {
.footer__quiz-answers.buttons { gap: 32px; }
}
@media (max-width: 991px) {
.footer__quiz-answers.buttons { flex-direction: column; gap: 20px; }
}
@media (min-width: 769px) {
.footer__quiz-answers.buttons .footer__answers-item { padding: 32px 0px; min-width: 234px; font-size: 28px; }
}
@media (max-width: 768px) {
.footer__quiz-answers.buttons .footer__answers-item { padding: 22px 0px; min-width: 220px; font-size: 24px; }
}
@media (min-width: 992px) {
.footer__quiz-answers.buttons .footer__answers-item.answer-sm { font-size: 28px; }
}
@media (max-width: 991px) {
.footer__quiz-answers.buttons .footer__answers-item.answer-sm { font-size: 24px; }
}
@media (min-width: 577px) {
.footer__quiz-answers.buttons .footer__answers-item span { font-size: 18px; line-height: 32px; }
}
@media (max-width: 576px) {
.footer__quiz-answers.buttons .footer__answers-item span { font-size: 15px; line-height: 130%; }
}
@media (max-width: 576px) {
.footer__quiz-answers.links { flex-direction: column; gap: 68px; }
}
@media (max-width: 576px) {
.footer__quiz-answers.links .footer__answers-item:nth-child(2) { justify-content: end; }
}
@media (max-width: 576px) {
.footer__quiz-answers.links .footer__answers-item { border-bottom: 1px solid rgb(64, 64, 64); padding-bottom: 16px; }
}
@media (min-width: 577px) {
.footer__copyright-links { gap: 20px; display: flex; justify-content: center; flex-wrap: wrap; }
}
@media (max-width: 576px) {
.footer__copyright-links { gap: 16px; display: grid; grid-template-columns: repeat(2, 1fr); justify-items: center; }
}
@media (min-width: 769px) {
.footer__copyright-links li:not(:last-child) .footer__copyright-link { border-right: 1px solid rgb(60, 60, 60); }
}
@media (min-width: 769px) and (min-width: 577px) {
.footer__copyright-links li:not(:last-child) .footer__copyright-link { padding-right: 20px; }
}
@media (min-width: 769px) and (max-width: 576px) {
.footer__copyright-links li:not(:last-child) .footer__copyright-link { padding-right: 10px; }
}
@media (max-width: 576px) {
.footer__copyright-links li:nth-child(3) .footer__copyright-link { border-right: none; }
}
@media (min-width: 577px) {
.footer__copyrights { bottom: 132px; }
}
@media (max-width: 576px) {
.footer__copyrights { bottom: 33px; padding: 0px 20px; }
}

/* === END EXTRACTED LEGACY — Select header + footer === */

/* === BEGIN EXTRACTED LEGACY (2026-04-23) — mega-menu state rules === */
/* Added manually via grep of legacy/build/css/custom.min.css. These rules    */
/* key off JS-added state classes (menu-visible, child-level-visible,         */
/* sub-menu-visible) that weren't present at tools/extract-block-css.js time, */
/* so the tool's element.matches() couldn't see them. Without these rules,    */
/* hovering a nav item that has a dropdown shows nothing when ?no_legacy=css  */
/* is set — the wrapper gets the .child-level-visible class via legacy JS     */
/* but no CSS rule reacts to it.                                              */

.header__position-wrapper.menu-visible {
    opacity: 1;
    pointer-events: all;
    overflow: scroll;
    overflow: auto;
    top: 105px;
}

#select-header .header__navbar .header__menu-list .sub-menu.sub-menu-visible {
    display: block;
}

#select-header .desktop-menu-wrapper.menu-visible {
    overflow: visible;
    opacity: 1;
    pointer-events: all;
}

#select-header .desktop-menu-wrapper .header__dropdown-wrapper.child-level-visible {
    opacity: 1;
    visibility: visible;
    height: auto;
}

@media (min-width: 992px) {
    #select-header .desktop-menu-wrapper.menu-visible {
        height: auto !important; /* legacy-override: drop legacy 368px fixed height — scale to content */
    }
    #select-header .desktop-menu-wrapper .header__dropdown-wrapper.child-level-visible {
        overflow: visible;
    }
}

@media (max-width: 991px) {
    #select-header .desktop-menu-wrapper.menu-visible {
        position: relative;
        height: 100vh;
        width: 100%;
        padding-top: 205px;
        overflow: scroll;
        overflow: auto;
        overflow: unset;
    }
    #select-header .desktop-menu-wrapper .header__dropdown-wrapper.child-level-visible {
        height: fit-content;
        padding-bottom: 0;
    }
    .header__menu-list .menu-item.child-level-visible {
        border: none;
        display: flex;
        position: relative;
        flex-direction: column;
        align-items: start;
    }
}

/* body-level state — triggered when a menu / sign-in panel is open.
   Scroll lock is JS-managed (see assets/js/select.js — observer
   captures scrollY on class add, sets body to position: fixed with
   top: -scrollY, restores scrollY on class remove). That preserves
   the user's scroll position across toggles. CSS here only handles
   the backdrop + #select-header pinning while the lock is active. */
body.element-blured {
    background: #000; /* legacy-override: pure black backdrop, no Figma token */
}

body.element-blured #select-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}
/* === END EXTRACTED LEGACY — mega-menu state rules === */

/* === Desktop layout fixes (2026-04-23) === */
/* - Hide .header__mobile-wrapper entirely on desktop. It contains the mobile
     burger icons (menu.png + menu-close.svg); those are mobile-only. On
     desktop the wrapper was taking horizontal space and pushing Sign in /
     Enroll to the left.
   - Collapse .desktop-menu-wrapper when not active. The wrapper is positioned
     below the main header to host the mega-menu contents on hover. At rest
     it shouldn't occupy vertical space — only while .menu-visible is set by
     legacy JS. Without this, the black bar "sticks out" below the nav by the
     wrapper's content height even when no menu is open. */
@media (min-width: 992px) {
    .header__mobile-wrapper {
        display: none;
    }
    #select-header .desktop-menu-wrapper:not(.menu-visible) {
        height: 0;
        overflow: hidden;
    }
}

/* === Mobile layout fixes (2026-04-23) === */
/* Three issues Eric flagged in the mobile drawer screenshot:
   1. Submenu drawer is positioned at left:100vw (offscreen right) at rest,
      width:100vw. That creates horizontal overflow which lets the drawer
      bleed into the visible viewport at the right edge. Fix: clip horizontal
      overflow on body/html at mobile widths.
   2. Hamburger + logo in the header need justify-content: space-between on
      mobile — the existing rule sets it to `unset !important` which
      left-aligns everything. Override explicitly.
   3. First-level mobile menu items with a sub-menu have no visual indicator
      that they can expand. Add a right arrow (▶) using existing
      custom-assets/icons/arrow-right.svg. */
@media (max-width: 991px) { /* legacy-override: mobile threshold from legacy bundle, not Figma 778 */
    /* Mobile header — use position: fixed directly (sticky has the
       body-scroll-container issue when ancestors force overflow-x:
       hidden, which forces overflow-y: auto). Fixed always pins. */
    #select-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
    }
    /* `overflow-x: clip` not `hidden` — `hidden` on body forces the
       browser to compute overflow-y as `auto`, making body a scroll
       container, which would break sticky positioning. `clip` clips
       horizontal overflow (still contains gold-ring / sub-image bleeds
       on Select pages) without establishing a scroll context. */
    html,
    body {
        overflow-x: clip;
    }

    .header__main-wrapper {
        justify-content: space-between !important;
    }

    /* Right-arrow indicator for first-level items with a dropdown. Targets
       .menu-item-has-children (standard WP nav output) and .dropdown-menu-item
       (the custom class applied to items like .childrens-who-we-serve,
       .childrens-what-we-offer). Arrow sits to the right, vertically
       centered with the link. Legacy already has a chevron for the desktop
       header — this is the mobile equivalent. */
    .mobile-menu-wrapper .menu-item-has-children > a::after,
    .mobile-menu-wrapper .menu-item.dropdown-menu-item > a::after {
        content: "";
        display: inline-block;
        width: 10px;
        height: 18px;
        margin-left: 12px;
        vertical-align: middle;
        background: url("../../custom-assets/icons/arrow-right.svg") center center / contain no-repeat;
        flex-shrink: 0;
    }
}

/* === Mobile drawer polish (2026-04-23) === */
/* Eric's two mobile screenshots flagged four issues:
   1. Submenu drawer items show default <ul> disc bullets.
   2. Submenu items have loose line-height (legacy sets it to 46px on a
      22px font — 2.09x) and no margin between items, so wrapped items
      pile together.
   3. First-level mobile drawer doesn't cover the full viewport height —
      page content (hero photo, Sign in / Enroll) peeks through below.
   4. First-level items with sub-menus show BOTH the legacy down-arrow
      chevron (::after on .dropdown-menu-item) AND the right-arrow we
      just added. Only the right-arrow is wanted. */
@media (max-width: 991px) {
    /* 1. No list bullets anywhere in the mobile menu system */
    .mobile-menu-wrapper,
    .mobile-menu-wrapper ul,
    .mobile-menu-wrapper li,
    .submenu-panel-drawer,
    .submenu-panel-drawer__content,
    .submenu-panel-drawer__content ul,
    .submenu-panel-drawer__content li {
        list-style: none !important;
    }
    .mobile-menu-wrapper ul,
    .submenu-panel-drawer__content ul {
        padding-left: 0;
        margin: 0;
    }

    /* 2. Tighter line-height + breathing room between submenu items.
       Overrides the legacy 46px line-height on 22px font. */
    .submenu-panel-drawer__content a {
        line-height: 1.3;
        display: block;
        padding: 4px 0;
    }
    .submenu-panel-drawer__content li,
    .submenu-panel-drawer__content .menu-item {
        margin-bottom: 14px;
    }

    /* 3. First-level mobile drawer covers the full viewport height so no
       page content bleeds through. body.element-blured already has
       overflow:hidden to stop scroll; this ensures the drawer fills. */
    body.element-blured .mobile-menu-wrapper {
        min-height: 100vh;
        background: #000;
    }

    /* 4. Hide the legacy down-arrow chevron on first-level mobile items.
       The right-arrow we added via .menu-item-has-children > a::after is
       the single indicator for "this expands." */
    .mobile-menu-wrapper .header__menu-list .menu-item.dropdown-menu-item::after,
    .mobile-menu-wrapper .header__menu-list .menu-item.dropdown-menu-item.child-level-visible::after {
        display: none !important;
    }
}

/* === Mobile header layout fixes round 2 (2026-04-23) === */
/* Three issues from Eric's new mobile screenshots:

   1. LOGO + HAMBURGER NOT SPACE-BETWEEN
      Root cause: an earlier mobile rule set .header__mobile-wrapper to
      { width: 100% }, so even with justify-content: space-between on
      the parent, the wrapper swallows all remaining width and there's
      nothing for space-between to distribute. Shrink the wrapper to
      its content width and push it to the right with margin-left:auto.

   2. FIRST-LEVEL MOBILE MENU ITEMS TOO TIGHT
      Items had padding: 10px 0 — items sat right on top of each other.
      Bumped to 20px top/bottom, added a subtle hairline separator so
      each item is visually distinct.

   3. FIXED HEADER OVERLAPS HERO CONTENT
      #select-header is position:fixed on mobile (and desktop) but nothing
      reserves vertical space on #main / body to account for the
      header's height. Hero text ("Serving your world.") gets cut off.
      Added padding-top to #main on mobile matching the header height:
      - FDIC top bar (~52px) + main header (~68px) + buffer = ~130px.
      Desktop already has padding-top handled elsewhere. */
@media (max-width: 991px) {
    /* 1. Space-between for logo + hamburger */
    .header__mobile-wrapper {
        width: auto !important;
        margin-left: auto !important;
    }
    .header__mobile-menu-icons {
        margin-left: auto;
    }

    /* 2. First-level mobile menu items — more breathing room + separator */
    .mobile-menu-wrapper .header__menu-list > .menu-item {
        padding: 20px 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .mobile-menu-wrapper .header__menu-list > .menu-item:last-child {
        border-bottom: none;
    }

    /* 3. Top padding on #main so content isn't hidden under the fixed header.
       Fine-tune if the hero still feels too pushed/pulled. */
    #main,
    main#primary {
        padding-top: 130px;
    }
}

/* === Mobile menu list padding (2026-04-23) === */
/* Eric: 30px padding around the first-level mobile .header__menu-list so
   items aren't flush to the viewport edges. Earlier rule in this file has
   padding: 32px but something is overriding it to 0. Higher-specificity
   selector + box-sizing ensures the padding sticks. */
@media (max-width: 991px) {
    .mobile-menu-wrapper .header__menu-list {
        padding: 30px !important; /* legacy-override: beat earlier padding:0 rule elsewhere in file */
        box-sizing: border-box;
    }
}

/* === Mobile menu location + language pickers (2026-10-06) === */
/* .header__utilities (the desktop pickers) is hidden below 992px, so the
   mobile menu panel renders its own copy under the first-level items
   (templates/new-nav.php → .mobile-menu-utilities). No media query needed:
   .mobile-menu-wrapper only displays while the mobile menu is open.
   Pickers stack vertically, centered; each dropdown opens centered below
   its toggle as an overlay card. On short phones (iPhone SE) the language
   dropdown crosses the fixed Sign in / Enroll button — the z-index keeps
   the card above it. */
.mobile-menu-utilities {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 48px;
    padding: 24px 30px;
}
.mobile-menu-utilities .header__multilanguage-wrapper .wpml-ls-item-toggle .wpml-ls-native {
    color: var(--color-select-text);
    font-size: 14px;
    font-weight: 500;
}
/* Centered with left:50% + negative margin, not transform — a transform
   would become the containing block for the fixed .close-submenu-bg
   overlay inside each card and break tap-outside-to-close. Also replaces
   the language card's left:-60px/-90px header-bar offsets. */
.mobile-menu-utilities .location-select,
.mobile-menu-utilities .header__multilanguage-wrapper .wpml-ls .wpml-ls-item .wpml-ls-sub-menu {
    top: calc(100% + 8px);
    left: 50%;
    width: 180px;
    margin-left: -90px;
    z-index: 100;
    text-align: center;
}

/* ==========================================================================
   Slug: small-business — replaces inline style block from page post_content.
   After this lands, edit the page in WP admin and remove the inline style.
   Typography normalized to Connor brand-manual.
   All max-width values below are content-caps (not viewport breakpoints).
   ========================================================================== */
body.slug-small-business section.hero-Parent {
    background-color: var(--color-white);
}
body.slug-small-business .select-page-centered-block-wrapper {
    background-color: #f6f6f6; /* legacy-override: page light-gray section bg */
}
body.slug-small-business .select-page-centered-block {
    max-width: 720px; /* legacy-override: content-cap from legacy */
    margin: auto;
}
body.slug-small-business .select-page-centered-block .sFlex-wrapper.sFlex-parent {
    display: block;
    margin-top: 0;
}
body.slug-small-business .select-page-centered-block .sFlex-wrapper.sFlex-parent .sFlexContent .maxwidth-shortcontent {
    margin: 30px;
    padding-top: 50px;
    border-top: 1px solid #e6e6e6; /* legacy-override: divider line */
    max-width: 615px; /* legacy-override: content-cap */
    width: 100%;
    display: block;
}
body.slug-small-business .select-page-centered-block .sFlex-wrapper.sFlex-parent .sFlexImg.sFlex-1-3 {
    width: 100%;
}
body.slug-small-business .sFlex-wrapper.sFlex-parent .sFlexImg.sFlex-1-3 .mainImg {
    max-width: 588px; /* legacy-override: image content-cap */
}
body.slug-small-business .sFlex-wrapper.sFlex-parent {
    align-items: center;
    max-width: 1480px; /* legacy-override: outer container cap */
    gap: 60px;
}
body.slug-small-business .sFlex-wrapper.sFlex-parent .sFlexContent .maxwidth-shortcontent {
    max-width: 660px; /* legacy-override: content-cap */
    width: unset;
}
body.slug-small-business .sFlex-wrapper.sFlex-parent .sFlexImg.sFlex-1-3 .subImg.top-left {
    left: -130px;
    top: -280px;
}
body.slug-small-business .select-page-centered-block .sFlex-wrapper.sFlex-parent .sFlexImg.sFlex-1-3 {
    margin-bottom: -150px;
}
body.slug-small-business .select-page-centered-block .split-columns-content.lightBackground .flex-parent-wrapper .sFlexContent .sFlexContent-inner h1 {
    color: var(--color-select-dark);
    font-family: var(--font-family-select-display);
    font-size: 40px !important; /* legacy-override: Connor PR 212 heading tier 40px; revert from legacy 42 */
    font-weight: 300;
    line-height: 1.3 !important; /* legacy-override: Connor PR 212 heading line-height */
    margin-bottom: 44px;
}
body.slug-small-business .split-columns-content.lightBackground .flex-parent-wrapper .sFlexContent .sFlexContent-inner h2,
body.slug-small-business .split-columns-content.lightBackground .flex-parent-wrapper .sFlexContent .sFlexContent-inner .h4-font-size {
    color: var(--color-select-dark);
    font-size: 30px !important; /* legacy-override: Connor sFlexContent-inner h2 = 30px; revert from legacy 28 */
    font-weight: 300;
    line-height: 1.5 !important; /* legacy-override: Connor subtitle line-height */
    margin-bottom: 44px;
}
body.slug-small-business .split-columns-content .flex-parent-wrapper .sFlexContent .sFlexContent-inner h3,
body.slug-small-business .split-columns-content .flex-parent-wrapper .sFlexContent .sFlexContent-inner .h2-font-size {
    color: var(--color-select-dark);
    font-size: 20px !important; /* legacy-override: Connor PR 212 h3 = 20px; revert from legacy 18 */
    font-weight: 600;
    line-height: 1.5 !important; /* legacy-override: Connor h3 line-height */
    margin-bottom: 32px;
}
body.slug-small-business .center-text {
    margin: 0;
    background-color: #f6f6f6; /* legacy-override: matches page section bg */
}
body.slug-small-business .center-text .container {
    border-width: 0;
}
body.slug-small-business .center-text .container .content {
    border-top: 1px solid #e6e6e6; /* legacy-override: divider line */
    padding-top: 20px;
    max-width: 639px; /* legacy-override: content-cap */
}
body.slug-small-business .center-text h2 {
    color: var(--color-select-dark);
    font-size: 20px !important; /* legacy-override: Connor subtitle tier 20px; revert from legacy 18 */
    font-weight: 600;
    line-height: 1.5 !important; /* legacy-override: Connor subtitle line-height */
    margin-bottom: 32px;
}

/* select-reward-block-container — give the wrapper a dark bg, and undo the
   above .center-text .container .content { border-top + padding-top + max-width }
   slug rule inside this container so the reward block's center-text doesn't
   inherit the divider line and content cap from the page-wide rule. The
   pre-existing .select-reward-block-container .center-text .container .content
   rule at line 528 has lower specificity (4 classes) than the slug rule
   (4 classes + body element) so we need a slug-scoped override. */
body.slug-small-business .select-reward-block-container {
    background-color: var(--color-select-dark);
}
body.slug-small-business .select-reward-block-container .center-text {
    background-color: var(--gradient, var(--color-select-dark));
}
body.slug-small-business .select-reward-block-container .center-text .container .content {
    border-top: 0;
    padding-top: 0;
}
body.slug-small-business .center-text h3 {
    color: var(--color-select-dark);
    font-size: 30px !important; /* legacy-override: Connor analog 30px; revert from legacy 28 */
    font-weight: 300;
    line-height: 1.5 !important; /* legacy-override: Connor h-tier line-height */
}
body.slug-small-business .hero-block .text {
    max-width: 654px; /* legacy-override: content-cap */
}
body.slug-small-business #sm-bottom-zip .h2-font-size.style2 {
    color: var(--color-select-dark);
    font-family: var(--font-family-select-display);
    font-size: 40px !important; /* legacy-override: matches h1 Recife heading tier 40px; revert from legacy 42 */
    font-weight: 300;
    line-height: 1.3 !important; /* legacy-override: Connor heading line-height */
}
body.slug-small-business #sm-bottom-zip .sFlex-wrapper.sFlex-parent {
    align-items: flex-start;
}
body.slug-small-business #sm-bottom-zip .sFlex-wrapper.sFlex-parent .sFlexImg.sFlex-1-3 {
    top: -250px;
}
body.slug-small-business .new-select-whoelsalers-bottom-wrapper {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
}
body.slug-small-business .new-select-whoelsalers-bottom {
    border-radius: 0;
    margin: 0 !important; /* legacy-override: legacy rule had !important */
}

@media screen and (max-width: 778px) {
    body.slug-small-business .center-text .container {
        padding-left: 35px;
        padding-right: 35px;
    }
    body.slug-small-business .sFlex-wrapper.sFlex-parent .sFlexImg.sFlex-1-3 {
        justify-content: center;
    }
    body.slug-small-business .sFlex-wrapper.sFlex-parent .sFlexImg.sFlex-1-3 .mainImg {
        max-width: calc(100% + 40px); /* legacy-override: content-cap calc */
        left: 25px;
    }
    body.slug-small-business section.hero-Parent .hero-Flex {
        padding: 82px 0 260px;
    }
    body.slug-small-business .sFlex-wrapper.sFlex-parent .sFlexImg.sFlex-1-3 .subImg.top-left {
        top: -285px;
        width: 200px;
        left: -70px;
    }
    body.slug-small-business .mainImg.main_img_mobile {
        margin-top: -225px;
        right: -60px;
    }
    body.slug-small-business .select-page-centered-block .sFlex-wrapper.sFlex-parent .sFlexContent .maxwidth-shortcontent {
        margin-left: 0;
        margin-top: 50px;
        padding: 50px 0;
    }
    body.slug-small-business .sFlex-wrapper.sFlex-parent.sub_top-left .sFlexContent {
        margin-left: 0;
        margin-top: 50px;
        padding: 50px 15px;
    }
    body.slug-small-business .select-page-centered-block-wrapper .mainImg.main_img_mobile {
        max-width: calc(100% - 20px) !important; /* legacy-override: mobile image content-cap */
        right: unset;
    }
    body.slug-small-business .center-text .content .text {
        font-size: 18px;
    }
    body.slug-small-business .split-columns-content .flex-parent-wrapper .sFlexContent .sFlexContent-inner p {
        line-height: 28px;
    }
    body.slug-small-business #sm-bottom-zip .sFlex-wrapper.sFlex-parent .sFlexImg.sFlex-1-3 {
        top: unset;
    }
    body.slug-small-business #sm-bottom-zip .sFlex-wrapper.sFlex-parent .mainImg.main_img_mobile {
        margin-top: unset;
        right: unset;
        left: -30px;
        max-width: unset; /* clears content-cap */
        width: calc(100vw + 30px);
    }
    body.slug-small-business #sm-bottom-zip .sFlex-wrapper.sFlex-parent:before {
        content: "";
        background-color: var(--color-select-darker); /* legacy-override: dark mobile strip */
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 200px;
    }
    body.slug-small-business .hero-block .container {
        padding: 0 18px;
    }
    body.slug-small-business .select-page-centered-block .sFlex-wrapper.sFlex-parent .sFlexImg.sFlex-1-3 {
        margin-bottom: -80px;
    }
    body.slug-small-business .select-page-centered-block .split-columns-content.lightBackground .flex-parent-wrapper .sFlexContent .sFlexContent-inner h1 {
        font-size: 34px;
    }
    body.slug-small-business .split-columns-content.lightBackground .flex-parent-wrapper .sFlexContent .sFlexContent-inner h2,
    body.slug-small-business .split-columns-content.lightBackground .flex-parent-wrapper .sFlexContent .sFlexContent-inner .h4-font-size {
        font-size: 24px;
        margin-bottom: 30px;
    }
    body.slug-small-business #sm-bottom-zip p strong {
        margin-bottom: 10px;
        display: inline-block;
    }
    body.slug-small-business #sm-bottom-zip .h2-font-size.style2 {
        font-size: 34px;
    }
    body.slug-small-business .sFlex-wrapper.sFlex-parent .sFlexImg.sFlex-1-3 .mainImg {
        max-width: calc(100% + 40px); /* legacy-override: content-cap calc */
        left: 30px;
    }
}

/* ==========================================================================
   Select-site footer — tablet position + alignment fix
   --------------------------------------------------------------------------
   `.footer__copyrights` has a universal `position: absolute` declared
   later in this file that beats the earlier legacy mobile media query
   on cascade order, so the bottom block stays absolutely-positioned at
   tablet too — breaks the layout flow on tablet widths where the rest
   of the footer collapses to single-column. Re-assert relative position
   at the Figma tablet max-width boundary, placed AFTER the universal
   rule in source order so cascade resolves in our favor.

   Also center-align `.footer__copyright-links li` at the same range so
   the link items read correctly in the collapsed flow.
   ========================================================================== */
@media (max-width: 1008px) {
    .footer__copyrights {
        position: relative;
    }
    .footer__copyright-links li {
        text-align: center;
    }
}
