/* ==========================================================================
   1. Animations
   ========================================================================== */
@-webkit-keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/* Text Area – Bleeder Image Enhancement */

.text-area {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
}

/* Links in running text are underlined, not only coloured (WCAG 1.4.1,
   axe link-in-text-block): body links were the navy of the text around
   them, 1.32:1. Longhand only, so the dashed grey a:hover style still
   applies. Buttons keep their own look. */
.text-area-inner :is(p, li) a:not(.button) {
    text-decoration-line: underline;
    text-underline-offset: 0.15em;
}

.text-area-inner::after {
    content: "";
    display: table;
    clear: both;
}

.text-area .bleeder-image {
    float: right;
    max-width: 45%;
    margin-left: 2.5rem;
    margin-bottom: 1.5rem;
    margin-top: -8.5rem; /* bleed upward into previous section */
}

.text-area .bleeder-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Mobile collapse */
@media (max-width: 768px) {
    .text-area .bleeder-image {
        float: none;
        max-width: 100%;
        margin: 0 0 2rem 0;
    }
}


/* ==========================================================================
   2. Base & Typography
   ========================================================================== */
body {
    font-family: "Avenir Next", sans-serif;
    color: rgb(var(--primary));
    background-color: rgb(var(--secondary));
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    display: block;
    margin: 0 0 1rem 0;
}

h1 { font-size: 2em; }
h2 { font-size: 1.5em; }
h3 { font-size: 1.17em; }
h4 { font-size: 1em; }
h5 { font-size: 0.83em; }
h6 { font-size: 0.67em; }

p {
    margin-bottom: 1rem;
}

ol, ul {
    display: block;
    margin: 0 0 1rem 0;
    padding-left: 40px;
    list-style-type: decimal;
}

ul {
    list-style-type: disc;
}

li {
    display: list-item;
}

a {
    color: inherit;
}

a:focus,
a:hover {
    text-decoration: underline;
    -webkit-text-decoration-color: #a2a9ad;
    text-decoration-color: #a2a9ad;
    -webkit-text-decoration-style: dashed;
    text-decoration-style: dashed;
    text-decoration-thickness: #a2a9ad;
    text-underline-offset: 1.5px;
}

strong, .bold {
    font-weight: 700;
}

/* Serif/Sans-serif Helper Overrides */
.serif,
.sans-serif,
.fancy-font {
    font-family: "Avenir Next", sans-serif;
}

/* ==========================================================================
   3. Buttons & Inputs
   ========================================================================== */
.button,
a button,
a.button,
button {
    border: 0;
    border-radius: 0;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none !important;
}

.button.is-small,
a button.is-small,
a.button.is-small,
button.is-small {
    border: 0;
    border-radius: 0;
}

.button.is-normal,
a button.is-normal,
a.button.is-normal,
button.is-normal {
    padding: 1.5rem 2rem;
}

/* Wire Drop Style */
.button.wire-drop,
a button.wire-drop,
a.button.wire-drop,
button.wire-drop {
    box-shadow: 5px 5px 0 -1px rgb(var(--secondary)), 5px 5px 0 1px rgb(var(--primary));
}

@media (max-width: 1024px) {
    .button.wire-drop,
    a button.wire-drop,
    a.button.wire-drop,
    button.wire-drop,
    .button.wire-drop.is-size-95 {
        width: 100%;
        font-size: 0.9rem !important;
    }
}

@media (max-width: 768px) {
    .button.wire-drop,
    a button.wire-drop,
    a.button.wire-drop,
    button.wire-drop,
    .button.wire-drop.is-size-95 {
        font-size: 0.75rem !important;
    }
}

/* Cross Border Checking — visible focus indicator (WCAG 2.2 AA: 2.4.7, 2.4.11)
   currentColor is used so the ring inverts correctly between .light and .dark
   sections without hardcoding a value outside the brand variables. */
.cross-border-hero a:focus-visible,
.icon-grid a:focus-visible,
.device-mockup a:focus-visible,
.fs-language-toggle a:focus-visible,
.cbc-inquiry-form a:focus-visible,
.cbc-inquiry-form input:focus-visible,
.cbc-inquiry-form select:focus-visible,
.cbc-inquiry-form textarea:focus-visible,
.cbc-inquiry-form button:focus-visible,
.cbc-inquiry-form .acf-button:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 3px;
}

/* ==========================================================================
   4. Layout & Navigation
   ========================================================================== */
/* Navbar */
.navbar {
    color: rgb(var(--black));
    background-color: transparent;
}

.navbar-brand {
	align-items: center;
}

.navbar .navbar-brand img {
    max-height: 5rem;
    background-color: transparent;
	margin-top: 0.25rem;
}

.navbar .navbar-brand img.deskLogo { display: block; }
.navbar .navbar-brand img.mobileLogo { display: none; }

@media (max-width: 1024px) {
    .navbar .navbar-brand img.deskLogo { display: none; }
    .navbar .navbar-brand img.mobileLogo { display: block; }
}

.navbar .navbar-bottom-border {
    border-bottom: 3px solid rgb(var(--white));
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
}

.navbar .navbar-burger,
.navbar .navbar-burger:hover,
.navbar .navbar-burger:focus {
    background-color: transparent;
}

/* Burger bars (Matt, 2026-12-02). Bulma 0.9.2 spaces its bars 5px apart
   for 1px lines; at 2px thick that left 3px gaps and the icon read as a
   dark block. Now 24px bars with rounded ends, 8px apart, and the open
   state moves the outer bars 8px to meet in the X Bulma draws.
   Why 8px: on a fractionally scaled screen (125%, 150%, 175%) a browser
   rounds each flat bar's edges to whole device pixels, and how it rounds
   depends on where the bar lands. At 7px apart the three bars landed on
   different fractions of a pixel, so Firefox at 125% drew one 3px and two
   2px (Matt's screenshot). 8px is a whole number of device pixels at
   1.25, 1.5, 1.75, 2, 2.625 and 3, so all three round alike. Only 133%
   still differs; no spacing short of 24px fixes every scale.
   These selectors outrank Bulma's nth-child and .is-active rules. */
.navbar .navbar-burger span {
    background-color: rgb(var(--primary));
    height: 2px;
    left: calc(50% - 12px);
    width: 24px;
    border-radius: 2px;
}

.navbar .navbar-burger span:nth-child(1) { top: calc(50% - 9px); }
.navbar .navbar-burger span:nth-child(2) { top: calc(50% - 1px); }
.navbar .navbar-burger span:nth-child(3) { top: calc(50% + 7px); }
.navbar .navbar-burger.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.navbar .navbar-burger.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.navbar .navbar-menu {
    background-color: transparent;
    box-shadow: none;
    padding: 0;
}

/* Multi-Nav Wrap */
.navbar .multi-nav-wrap {
    display: -ms-grid;
    display: grid;
}

@media (max-width: 1024px) {
    .navbar .multi-nav-wrap {
        display: -webkit-flex;
        display: flex;
        -webkit-flex-flow: column-reverse;
        flex-flow: column-reverse;
    }
}

@media (max-width: 768px) {
    .navbar .multi-nav-wrap {
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: column-reverse;
        flex-direction: column-reverse;
    }
}

.navbar .multi-nav-wrap .multi-nav {
    display: -webkit-flex;
    display: flex;
}

@media (max-width: 768px) {
    .navbar .multi-nav-wrap .multi-nav {
        -webkit-flex-direction: column;
        flex-direction: column;
        text-align: right;
    }
}

.navbar .multi-nav-wrap .multi-nav .button,
.navbar .multi-nav-wrap .multi-nav .navbar-item button {
    background-color: rgb(var(--primary));
    color: rgb(var(--white));
    font-weight: 700;
    text-transform: uppercase;
}

/* Primary & Secondary Nav Positioning */
.navbar .multi-nav-wrap #secondary-nav,
.navbar .multi-nav-wrap #primary-nav {
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
    margin-bottom: 0.25rem;
}

.navbar .multi-nav-wrap #secondary-nav {
    margin-top: 0.25rem;
}

@media (max-width: 1024px) {
    .navbar .multi-nav-wrap #secondary-nav,
    .navbar .multi-nav-wrap #primary-nav {
        -webkit-justify-content: space-evenly;
        justify-content: center;
        -webkit-align-items: center;
        align-items: center;
		flex-direction: column;
    	text-align: center;
    }
}

/* Nav Items */
.navbar .multi-nav-wrap #primary-nav .navbar-item,
.navbar .multi-nav-wrap #primary-nav .navbar-link {
    color: rgb(var(--black));
    font-size: 15px;
    font-weight: 500;
    padding-right: 0.75rem;
}

.navbar .multi-nav-wrap #primary-nav .navbar-item.has-dropdown,
.navbar .multi-nav-wrap #primary-nav .navbar-link.has-dropdown,
.navbar .multi-nav-wrap #primary-nav .navbar-item.is-arrowless,
.navbar .multi-nav-wrap #primary-nav .navbar-link.is-arrowless {
    padding-right: 0;
}

.navbar .multi-nav-wrap #primary-nav .navbar-item:not(.is-arrowless)::after,
.navbar .multi-nav-wrap #primary-nav .navbar-link:not(.is-arrowless)::after {
    display: none;
}

.navbar .multi-nav-wrap #primary-nav .navbar-item:focus,
.navbar .multi-nav-wrap #primary-nav .navbar-item:hover,
.navbar .multi-nav-wrap #primary-nav .navbar-link:focus,
.navbar .multi-nav-wrap #primary-nav .navbar-link:hover {
    background-color: transparent;
    color: rgb(var(--primary));
    text-decoration: underline;
    -webkit-text-decoration-color: #a2a9ad;
    text-decoration-color: #a2a9ad;
    -webkit-text-decoration-style: dashed;
    text-decoration-style: dashed;
    text-decoration-thickness: 0.025rem;
    text-underline-offset: 1.5px;
}

.navbar .multi-nav-wrap #primary-nav .navbar-item.has-dropdown.is-active .navbar-link,
.navbar .multi-nav-wrap #primary-nav .navbar-item.has-dropdown:hover .navbar-link {
    background-color: transparent;
}

.navbar .multi-nav-wrap #primary-nav .navbar-item.has-dropdown.is-hoverable hr,
.navbar .multi-nav-wrap #primary-nav .navbar-link.has-dropdown.is-hoverable hr {
    background-color: transparent;
    border: 0;
    height: 12px;
    margin: 0;
    position: absolute;
    top: 2.5rem;
    width: 100%;
}

.navbar .multi-nav-wrap #primary-nav .navbar-item.has-dropdown .navbar-dropdown,
.navbar .multi-nav-wrap #primary-nav .navbar-link.has-dropdown .navbar-dropdown {
    border-top: 0;
    top: 3.25rem;
}

/* Breadcrumbs */
/* min-height: WCAG 2.2 target size (2.5.8) wants 24px. The links were 18px
   tall, and on phones a long trail wraps so the rows sit close enough to
   fail (axe on the Cross Border page, 2026-12-01). Bulma already makes the
   link a centred flex box, so this only adds height around the text. */
.breadcrumb li a {
    color: rgb(var(--primary));
    min-height: 24px;
}

/* The chevron is drawn with two borders, not a Font Awesome glyph. The kit
   loads with data-search-pseudo-elements, which replaced the old glyph with
   an <svg role="img"> that had no name: an unlabelled image to a screen
   reader, and a WCAG 1.1.1 failure on every page with a breadcrumb (axe,
   2026-12-01). Without the Font Awesome font-family the kit leaves it alone,
   and an empty content string gives assistive technology nothing to read. */
.breadcrumb.has-succeeds-separator li + li::before {
    content: "";
    display: inline-block;
    width: 0.4em;
    height: 0.4em;
    margin: 0 0.35em 0 0.1em;
    border-top: 2px solid rgb(var(--primary));
    border-right: 2px solid rgb(var(--primary));
    transform: rotate(45deg);
}

.breadcrumb li.is-active a {
    color: rgb(var(--primary));
    text-decoration: underline;
}

/* Footer */
footer {
    padding: 5rem 1.5rem 3rem;
}

footer .svg-inline--fa {
    color: #a2a9ad !important;
}

footer div#footer-menu {
    position: relative;
    padding-top: 0.25rem;
    margin-top: 1rem;
}

footer div#footer-menu:before {
    content: "";
    position: absolute;
    left: 12px;
    top: 0;
    height: 1px;
    border-top: 2px solid rgb(var(--primary));
    box-sizing: border-box;
    width: calc(100% - 24px);
}

footer img#cdfi,
footer img#eho,
footer img#fdic,
footer img.footer-badge {
    display: inline-block;
    position: relative;
    top: 0.25rem;
    width: 3rem;
}

footer img.footer-badge {
    margin: 0 0 0 1rem;
}

@media (max-width: 1023px) {
    footer img.footer-badge { margin: 0 0.5rem 0 0.5rem; }
}

footer img#footer-logo {
    max-width: 7rem;
}

footer a#footer-contact-button {
    padding: 2.5rem 1.5rem 2.25rem;
    margin: 2rem;
}

@media (max-width: 768px) {
    footer a#footer-contact-button { margin: 2rem 0; }
}

footer div#footer-menu .has-text-left a:focus,
footer div#footer-menu .has-text-left a:hover {
    text-decoration: underline !important;
    -webkit-text-decoration-style: dashed !important;
    text-decoration-style: dashed !important;
    -webkit-text-decoration-color: #a2a9ad !important;
    text-decoration-color: #a2a9ad !important;
    text-decoration-thickness: 0.025rem !important;
    text-underline-offset: 1.5px !important;
    color: rgb(var(--primary)) !important;
}

a#footer-contact-button p {
	margin-bottom: 0;
}

/* Language Toggle (Cross Border Checking)
   Deliberately not .wire-drop: that convention forces width:100% below
   1024px, which would stack three full-width bars. Uppercase is also
   disabled here because uppercased Vietnamese diacritics lose legibility. */
.fs-language-toggle {
    padding-top: 1.5rem;
    padding-bottom: 0.5rem;
}

.fs-language-toggle .fs-language-toggle-list,
.fs-language-toggle ul.fs-language-toggle-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.fs-language-toggle .fs-language-toggle-item {
    list-style: none;
    list-style-type: none;
    margin: 0;
}

.fs-language-toggle .fs-language-link {
    text-transform: none;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.55rem 1rem;
    height: auto;
    background-color: transparent;
    color: rgb(var(--primary));
    border: 2px solid rgb(var(--primary));
}

.fs-language-toggle .fs-language-link.is-current {
    background-color: rgb(var(--primary));
    color: rgb(var(--secondary));
    cursor: default;
}

.fs-language-toggle a.fs-language-link:hover {
    background-color: rgb(var(--primary));
    color: rgb(var(--secondary));
}

/* Not-yet-published languages stay visible but non-interactive. */
.fs-language-toggle .fs-language-link.is-pending {
    border-style: dashed;
    opacity: 0.65;
    cursor: default;
}

.fs-language-toggle .fs-language-pending-note {
    text-transform: none;
    font-weight: 400;
    font-size: 0.7rem;
    margin-left: 0.35rem;
}

/* Site navbar and its login dropdown, moved from inline style attributes
   in header.php (cleanup phase 2, 2026-12-01). */
.navbar.site-navbar {
    background-color: #faf7e8;
    padding-bottom: 0.25rem;
    border-bottom: 3px solid rgb(var(--white));
}
.navbar .button.navbar-login-button { font-size: 0.75rem; }
.navbar .dropdown-content .dropdown-item.navbar-login-link { text-align: left; }

/* ==========================================================================
   5. Block Components
   ========================================================================== */

/* About Genesis Block */
.about-genesis-block #genesis-logo-wrap {
    border: 0 #ccc;
    border-radius: 0;
    padding: 0;
    margin: 2rem 0 3rem;
}

.about-genesis-block #genesis-logo-wrap #genesis-logo {
    max-width: 669px;
    padding: 4rem 0;
}

@media (max-width: 768px) {
    .about-genesis-block #genesis-logo-wrap #genesis-logo { max-width: 100%; }
}

.about-genesis-block .ag-label {
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.about-genesis-block .ag-title {
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
    font-family: "Avenir Next", sans-serif;
}

.about-genesis-block .ag-copy {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.about-genesis-block .ag-attribution {
    text-align: right;
    font-size: 0.75rem;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.about-genesis-block.dark .ag-label { color: rgba(var(--white), 0.5); }
.about-genesis-block.dark .ag-attribution,
.about-genesis-block.dark .ag-copy,
.about-genesis-block.dark .ag-title { color: rgb(var(--white)); }
.about-genesis-block.dark #genesis-logo-wrap {
    border-top: 2px solid rgb(var(--secondary));
    border-bottom: 2px solid rgb(var(--secondary));
}

/* Was #a2a9ad: 2.2:1 on the cream, under the 3:1 even large text needs
   (axe on /who-we-are/, 2026-12-01). #656d72 is the same cool grey, darker:
   4.9:1, which also clears the 4.5:1 for normal-size text, matching the
   dark scheme's label (4.9:1 on navy). */
.about-genesis-block.light .ag-label { color: #656d72; }
.about-genesis-block.light .ag-attribution,
.about-genesis-block.light .ag-copy,
.about-genesis-block.light .ag-title { color: rgb(var(--black)); }
.about-genesis-block.light #genesis-logo-wrap {
    border-top: 2px solid rgb(var(--primary));
    border-bottom: 2px solid rgb(var(--primary));
}

/* Account Type Block */
.account-type-block .columns.is-vcentered.is-multiline { margin-right: 10px; }

@media (max-width: 768px) {
    .account-type-block .columns.is-vcentered.is-multiline { margin-right: 0; }
}

.account-type-block .account-right-col {
    padding: 2.5rem 3rem 1.5rem;
    box-shadow: 0 0 5px 0 rgb(var(--black), 0.08);
}

.account-type-block .account-block-title {
    font-size: 2.75rem;
    font-weight: 700;
}

.account-type-block h5.account-features-title {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25rem;
    padding-right: 2.5rem;
}

@media (max-width: 768px) {
    .account-type-block h5.account-features-title { padding-right: 0; }
}

.account-type-block p.account-block-description {
    margin-bottom: 2rem;
}

.account-type-block button.exp-accordion {
    cursor: pointer;
    width: 100%;
    text-align: left;
    outline: 0;
    background-color: transparent;
    padding: 1rem 0;
    font-size: 1.1rem;
    text-transform: none;
}

.account-type-block button.exp-accordion.active {
    border-bottom: 0 !important;
    background-color: transparent;
}

.account-type-block button.exp-accordion.active:after { content: "−"; }
.account-type-block button.exp-accordion:after {
    content: "+";
    font-weight: 700;
    float: right;
    margin-left: 5px;
}

.account-type-block button.exp-accordion:focus,
.account-type-block button.exp-accordion:hover {
    background-color: transparent;
}

.account-type-block .exp-panel {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

.account-type-block .exp-panel p {
    padding: 0 0 1.25rem;
    font-size: 0.85rem;
}

/* Account Type: spacing (2026-10-28). Spacing only, no design change.
   The "Account Features" label sat in a 2/5 column, leaving wide empty space
   on the left and squeezing the feature panel. The label column is narrowed
   and the panel takes the rest; inside it, items get breathing room. The
   template sets title and description sizes inline, so margins and line
   heights here need !important to win. */
@media (min-width: 769px) {
    .account-type-block .columns.is-vcentered.is-multiline > .column.is-two-fifths {
        flex: 0 0 22%;
        width: 22%;
    }

    .account-type-block .columns.is-vcentered.is-multiline > .column.is-three-fifths {
        flex: 1 1 0;
        width: auto;
    }

    .account-type-block .account-right-col { padding: 3rem 3.5rem 2rem; }
}

.account-type-block .feature-item { margin-bottom: 1.5rem; }
.account-type-block .feature-item:last-child { margin-bottom: 0; }

.account-type-block .feature-item .feature-title {
    line-height: 1.3;
    margin-bottom: 0.5rem !important;
}

.account-type-block .feature-item .feature-description {
    line-height: 1.6;
    margin-bottom: 0 !important;
}

/* Account Type - Dark Theme */
.account-type-block.dark .account-right-col {
    background-color: rgb(var(--primary), 0.5);
    -webkit-filter: contrast(1.75);
    filter: contrast(1.75);
    border-left: 10px solid rgb(var(--white));
}

.account-type-block.dark button.exp-accordion,
.account-type-block.dark .exp-panel p {
    color: rgb(var(--white));
    border-bottom: 1px solid rgb(var(--white));
}

/* Account Type - Light Theme */
.account-type-block.light .account-right-col {
    background-color: rgb(var(--white));
    border-left: 10px solid rgb(var(--primary));
}

.account-type-block.light button.exp-accordion,
.account-type-block.light .exp-panel p {
    color: rgb(var(--primary));
    border-bottom: 1px solid rgb(var(--primary));
}

/* Big List Block */
.big-list-block p#large_text {
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 3.5rem;
    margin-left: -0.75rem;
}

@media (max-width: 768px) {
    .big-list-block p#large_text { margin-left: 1rem; }
}

.big-list-block ol {
    counter-reset: item;
    list-style-type: none;
    margin: -1rem 0 0;
}

.big-list-block ol li {
    display: block;
    font-family: "Avenir Next", sans-serif;
    font-size: 1.75rem;
    font-weight: 400;
}

@media (max-width: 768px) {
    .big-list-block ol li { font-size: 1.25rem; }
}

.big-list-block ol li:before {
    content: counter(item);
    counter-increment: item;
    padding-right: 1.5rem;
    font-size: 3.25rem;
    line-height: 4rem;
    top: 4px;
    position: relative;
    font-weight: 700;
}

@media (max-width: 768px) {
    .big-list-block ol li:before { font-size: 2.75rem; }
}

.big-list-block.dark #large_text { color: rgba(var(--white), 0.5); }
.big-list-block.light #large_text { color: rgba(var(--black), 0.5); }
@media (max-width: 768px) {
    .big-list-block.dark #large_text { color: rgba(var(--white), 0.8); }
    .big-list-block.light #large_text { color: rgba(var(--black), 0.8); }
}

/* Certificate of Deposit Block */
.certificate-of-deposit-block .cd-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.certificate-of-deposit-block .cd-copy {
    font-size: 0.95rem;
}

.certificate-of-deposit-block .cd-year-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 0.5rem;
    display: -webkit-inline-flex;
    display: inline-flex;
    justify-content: center; /* Centers the content */
    align-items: baseline;   /* Aligns the number and the label on the baseline */
    padding: 1.5rem 0.5rem 1rem;
    margin-bottom: 0.15rem;
    width: 140px; /* INCREASED from 100px to fit 'months' */
    position: relative;
    transition: all 0.25s;
}

.certificate-of-deposit-block .cd-year-title:last-of-type {
    margin-bottom: 0;
}

.certificate-of-deposit-block .cd-year-title .cd-year-title-label {
    font-size: 1rem; /* Slightly smaller to fit better */
    font-weight: 700;
    position: static; /* Removed absolute positioning to prevent overlap */
    padding-left: 5px; /* Add space between Number and Label */
    padding-right: 0;
}

.certificate-of-deposit-block .apy-wrap .cd-year-rate {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.5rem;
    text-align: center;
}

.certificate-of-deposit-block .apy-wrap .cd-year-rate .apy { font-size: 1rem; }
.certificate-of-deposit-block .apy-wrap .cd-year-rate .year-above-rate {
    margin-bottom: 0.55rem;
    font-size: 1rem;
    display: inline-block;
}

@media (max-width: 768px) {
    .certificate-of-deposit-block .apy-wrap .cd-year-rate {
        padding-top: 1rem;
        margin-left: 0;
        width: 100%;
    }
}

.certificate-of-deposit-block .cd-legal {
    font-size: 0.85rem;
    margin-top: 1.5rem;
}

/* CD Block Themes */
.certificate-of-deposit-block.dark .cd-year-title {
    color: rgb(var(--secondary), 0.5);
    border: 2px solid rgb(var(--primary));
}
.certificate-of-deposit-block.dark .cd-year-title:hover {
    color: rgb(var(--secondary), 0.5);
    border: 2px dashed rgb(var(--secondary), 0.5);
    cursor: pointer;
}
.certificate-of-deposit-block.dark .cd-year-title.active {
    color: rgb(var(--secondary));
    border: 2px solid rgb(var(--secondary));
}

.certificate-of-deposit-block.light .cd-year-title {
    color: rgb(var(--primary), 0.5);
    border: 2px solid rgb(var(--secondary));
}
.certificate-of-deposit-block.light .cd-year-title:hover {
    color: rgb(var(--primary), 0.5);
    border: 2px dashed rgb(var(--primary), 0.5);
    cursor: pointer;
}
.certificate-of-deposit-block.light .cd-year-title.active {
    color: rgb(var(--primary));
    border: 2px solid rgb(var(--primary));
}

/* Form Block */
.form-block .form-wrap { padding: 3rem; }
.form-block.dark .form-wrap.whiteBg,
.form-block.light .form-wrap.whiteBg { background-color: rgb(var(--white)); }
.form-block.whiteBg .form-wrap.whiteBg { background-color: #ecedee; }

.form-block .form-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.form-block .form-copy {
    margin-bottom: 2rem;
}

.form-block .acf-fields .acf-field {
    padding: 15px 0;
    border: 0;
    margin-bottom: 0.5rem;
}

.form-block .acf-fields .acf-field input[type="email"],
.form-block .acf-fields .acf-field input[type="text"],
.form-block .acf-fields .acf-field textarea {
    background-color: transparent;
    border: 0;
}

.form-block .acf-fields .acf-field ::placeholder {
    opacity: 1;
    padding: 0.25rem;
}

.form-block .acf-form-submit { text-align: right; }
.form-block .acf-form-submit .acf-button { font-size: 0.95rem; }

/* Form Block - Dark */
.form-block .dark .acf-fields .acf-field input[type="email"],
.form-block .dark .acf-fields .acf-field input[type="text"] {
    border-bottom: 2px solid rgb(var(--secondary));
}
.form-block .dark .acf-fields .acf-field textarea {
    border: 2px solid rgb(var(--secondary));
}
.form-block .dark .acf-fields .acf-field ::placeholder {
    color: rgb(var(--secondary));
}

/* Form Block - Light/White */
.form-block .light .acf-fields .acf-field input[type="email"],
.form-block .light .acf-fields .acf-field input[type="text"],
.form-block .whiteBg .acf-fields .acf-field input[type="email"],
.form-block .whiteBg .acf-fields .acf-field input[type="text"] {
    border-bottom: 2px solid rgb(var(--primary));
}
.form-block .light .acf-fields .acf-field textarea,
.form-block .whiteBg .acf-fields .acf-field textarea {
    border: 2px solid rgb(var(--primary));
}
.form-block .light .acf-fields .acf-field ::placeholder,
.form-block .whiteBg .acf-fields .acf-field ::placeholder {
    color: rgb(var(--primary));
}

/* Full Width Image */
.full-width-image {
    width: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.full-width-image.withText { height: 600px; }
.full-width-image.withoutText { height: 400px; }

@media (max-width: 768px) {
    .full-width-image.withText { height: 400px; }
    .full-width-image.withoutText { height: 200px; }
}

.full-width-image p#fwi_large_text {
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    line-height: 3.5rem;
}

.full-width-image p#fwi_medium_text {
    font-family: "Avenir Next", sans-serif;
    font-size: 1.5rem;
    margin: 1rem 0 1rem 2rem;
}

.full-width-image p#fwi_small_text {
    margin-left: 2rem;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .full-width-image p#fwi_large_text,
    .full-width-image p#fwi_medium_text,
    .full-width-image p#fwi_small_text {
        margin-left: 1rem;
    }
}

.full-width-image.dark #fwi_large_text { color: rgba(var(--white), 0.5); }
.full-width-image.light #fwi_large_text { color: rgba(var(--black), 0.5); }
@media (max-width: 768px) {
    .full-width-image.dark #fwi_large_text { color: rgba(var(--white), 0.8); }
    .full-width-image.light #fwi_large_text { color: rgba(var(--black), 0.8); }
}

/* FOF (404 Page) */
.fof-crumb svg { margin-right: 0.75em; }
.fof { padding: 3rem 1rem 5rem; }

.fof h1 {
    font-size: 5rem;
    line-height: 2.5rem;
    font-weight: 900;
    transform: scale(2) rotate(345deg) translate(-50px, 0) skew(30deg, 0deg);
    -webkit-transform: scale(2) rotate(345deg) translate(-50px, 0) skew(30deg, 0deg);
    text-shadow: -10px 10px 0 #d0d3d5;
}

.fof p {
    font-size: 2.5rem;
    font-weight: 200;
    transform: translate(125px, 30px);
    -webkit-transform: translate(125px, 30px);
}

.fof .button { margin-top: 4rem; }

@media (max-width: 1024px) {
    .fof h1 {
        transform: scale(1.5) rotate(345deg) translate(-50px, 0) skew(30deg, 0deg);
        -webkit-transform: scale(1.5) rotate(345deg) translate(-50px, 0) skew(30deg, 0deg);
    }
}

@media (max-width: 768px) {
    .fof h1 {
        line-height: 5rem;
        transform: scale(1);
        -webkit-transform: scale(1);
    }
    .fof p {
        transform: translate(0, 0);
        -webkit-transform: translate(0, 0);
    }
    .fof .button { margin-top: 1rem; }
}

/* Hero Wrap */
#hero-wrap {
    background-repeat: no-repeat;
    background-position: right;
}

#hero-wrap #hero-left-side { z-index: 1; }
#hero-wrap #hero-left-side #hero-box {
    background-color: rgb(var(--white));
    border-left: 6px solid rgb(var(--primary));
    padding: 1.5rem 2rem;
    width: 400px;
    max-width: 400px;
    word-break: break-all;
}

@media (max-width: 768px) {
    #hero-wrap #hero-left-side #hero-box {
        width: 100%;
        max-width: 100%;
    }
}

#hero-wrap #hero-left-side #hero-copy-underneath-box { padding-left: 0.5rem; }
#hero-wrap #hero-right-side #hero-image { width: 100%; }

/* Internal Page Header */
#intPageHeader {
    height: 400px;
    width: 100%;
    position: relative;
    display: -webkit-flex;
    display: flex;
    margin-bottom: 2rem;
}

#intPageHeader #intPageHeaderBG {
    height: 400px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-position: center -1.5rem;
    background-repeat: no-repeat;
    background-size: cover;
    border: 5px solid #fff;
    outline: 1px solid #f7f7f7;
}

#intPageHeader .columns {
    height: 400px;
    width: 100%;
}

#intPageHeader h1 {
    background-color: rgb(var(--white));
    border-left: 8px solid rgb(var(--primary));
    padding: 1rem 2rem;
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-left: -0.5rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 1215px) {
    #intPageHeader h1 { margin-left: 1rem; margin-bottom: 0.5rem; }
    #intPageHeader #intPageHeaderBG { background-position: center center; }
}

@media (max-width: 768px) {
    #intPageHeader, #intPageHeader #intPageHeaderBG { height: 200px; }
    #intPageHeader .column { left: 0; position: absolute; bottom: 0.75rem; }
}

/* Large Text Block */
.large-text-block h2#large-text {
    font-size: 3.5rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: initial;
    margin: 0 0 0 -0.5rem;
}

@media (max-width: 768px) {
    .large-text-block h2#large-text { font-size: 2.5rem; }
}

.large-text-block p#small-text {
    color: rgb(var(--primary));
    font-family: "Avenir Next", sans-serif;
    font-weight: 400;
    text-transform: lowercase;
    line-height: initial;
    font-size: 1.75rem;
    font-style: italic;
    margin: 1.5rem 0 0 1.25rem;
}

.large-text-block .ltb-menu-wrap {
    padding: 1.5rem 2rem;
    background-color: #fff;
    box-shadow: 0 0 5px 0 rgb(var(--black), 0.08);
}

.large-text-block .ltb-menu-wrap p {
    font-weight: 800;
    font-size: 1.2rem;
    padding-bottom: 1rem;
}

.large-text-block .ltb-menu-wrap ul {
    padding: 0;
    list-style: none;
}

.large-text-block .ltb-menu-wrap li {
    font-size: 0.9rem;
    padding-bottom: 1rem;
    text-transform: uppercase;
}

.large-text-block .ltb-menu-wrap li:last-child { padding-bottom: 0; }
.large-text-block a.jumper { display: none; }

.large-text-block.dark h2#large-text,
.large-text-block.dark p#small-text { color: rgb(var(--white)); }

.large-text-block.light h2#large-text,
.large-text-block.light p#small-text { color: rgb(var(--primary)); }

/* Loan Types Block */
.loan-types-block .right {
    -webkit-flex-direction: row-reverse;
    flex-direction: row-reverse;
}
.loan-types-block .left {
    -webkit-flex-direction: row;
    flex-direction: row;
}

.loan-types-block .loan-title {
    font-size: 1.75rem;
    font-family: "Avenir Next", sans-serif;
    padding-bottom: 1rem;
}

.loan-types-block .loan-title::after {
    content: " ";
    display: block;
    height: 2px;
    max-width: 960px;
    position: absolute;
    right: 0;
    left: 0;
    margin: 0 auto;
    margin-top: 0.25rem;
}

.loan-types-block .loan-sub-title {
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.loan-types-block .loan-sub-title:last-of-type { margin-bottom: 0; }
.loan-types-block .loan-img { z-index: 1; position: relative; max-height: 19rem; }

.loan-types-block.dark .loan-title::after { background-color: rgb(var(--secondary)); }
.loan-types-block.light .loan-title::after { background-color: rgb(var(--primary)); }

/* Map & ATM Block */
.map-block .map-container-wrap {
    background-color: #fff;
    position: relative;
    padding-bottom: 2rem;
}

.map-block .map-meta-wrap,
.map-block .map-meta-wrap a {
    color: rgb(var(--primary)) !important;
}

.map-block .container { z-index: 2; }

.map-block .big-branch-text {
    font-family: inherit;   /* an h3 since 2026-12-02; keeps the body face */
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 1rem 0 0.5rem;
}

@media (max-width: 768px) {
    .map-block .big-branch-text { font-size: 1.5rem; }
}

/* "Hours" and "Phone Number" are labels under the branch name, not
   headings beside it: the same bold body size as the ATM cards' location
   names (Matt, 2026-12-02). "Phone Number" used to borrow the branch
   name's 1.75rem. The hours lines take the address lines' 1.75rem line
   height and no gap, so the block reads as one list. */
.map-block .map-label {
    font-weight: 700;
    margin: 1rem 0 0.25rem;
}

.map-block .map-hours {
    line-height: 1.75rem;
    margin: 0;
}

.map-block .small-branch-text,
.atm-block .small-branch-text {
    line-height: 1.75rem;
}

.atm-block .small-branch-text { text-decoration: none; }
.atm-block .small-branch-text:hover {
    text-decoration: underline;
    text-decoration-color: #a2a9ad;
    text-decoration-style: dashed;
    text-underline-offset: 1.5px;
}

.map-block .white-backdrop {
    height: 290px;
    width: 100%;
    background-color: rgb(var(--white));
    position: absolute;
    bottom: 0;
    z-index: 1;
}

@media (max-width: 768px) {
    .map-block .white-backdrop { bottom: 1rem; }
}

/* Question Block */
.question-block { padding: 5rem 0; }

.question-block .question-block-title {
    font-size: 1.75rem;
    font-family: "Avenir Next", sans-serif;
    font-weight: 400;
}

.question-block .questions {
    padding: 1rem 3rem 2.5rem;
    box-shadow: 0 0 5px 0 rgb(var(--black), 0.08);
}

.question-block button.exp-accordion {
    cursor: pointer;
    width: 100%;
    text-align: left;
    outline: 0;
    background-color: transparent;
    padding: 1rem 0;
    font-size: 1.1rem;
    text-transform: none;
}

.question-block button.exp-accordion.active {
    border-bottom: 0 !important;
    background-color: transparent;
}
.question-block button.exp-accordion.active:after { content: "−"; }
.question-block button.exp-accordion:after {
    content: "+";
    font-weight: 700;
    float: right;
    margin-left: 5px;
}

.question-block .exp-panel {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

.question-block .exp-panel p {
    padding: 0 0 1.25rem;
    font-size: 0.85rem;
}

.question-block.dark button.exp-accordion,
.question-block.dark .exp-panel p {
    color: rgb(var(--white));
    border-bottom: 1px solid rgb(var(--white));
}

.question-block.light .questions {
    background-color: rgb(var(--white));
    border-left: 10px solid rgb(var(--primary));
}

.question-block.light button.exp-accordion,
.question-block.light .exp-panel p {
    color: rgb(var(--primary));
    border-bottom: 1px solid rgb(var(--primary));
}

/* Cross Border Hero Block
   Used twice on the Cross Border Checking page: page hero (h1) and closing
   CTA (h2). All ids derive from $block['id'], so instances never collide. */
.cross-border-hero .cbc-eyebrow {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.cross-border-hero .cbc-hero-heading {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.cross-border-hero .cbc-hero-body {
    font-size: 1.05rem;
    max-width: 34em;
}

.cross-border-hero .cbc-hero-body p { margin-bottom: 0.9rem; }

.cross-border-hero .cbc-hero-phone { margin-top: 0.5rem; }

.cross-border-hero .cbc-phone-link {
    color: inherit;
    text-decoration: underline;
    font-weight: 700;
}

.cross-border-hero .cbc-hero-image {
    display: block;
    width: 100%;
    height: auto;
}

.cross-border-hero .cbc-mini-features { margin-top: 2.5rem; }

.cross-border-hero .cbc-mini-feature {
    border-top: 3px solid currentColor;
    padding-top: 0.85rem;
    height: 100%;
}

.cross-border-hero .cbc-mini-feature-title { margin-bottom: 0.35rem; }

@media (max-width: 768px) {
    .cross-border-hero .cbc-hero-columns { flex-direction: column-reverse; }
}

/* Icon Grid Block
   The icon subfield is optional; cells with no icon simply omit the slot
   rather than reserving empty space. */
.icon-grid .icon-grid-item {
    height: 100%;
    padding: 0 1.25rem 0 0;
}

/* The icon lives inside the heading, so it inherits font-size and colour and
   shares the heading's line box. Font Awesome's inline SVG is height: 1em with
   a -0.125em baseline nudge, which is the optical alignment we want. */
.icon-grid .icon-grid-title .icon-grid-icon {
    margin-right: 0.55em;
    font-size: 1em;
    line-height: inherit;
    color: inherit;
}

.icon-grid .icon-grid-title {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.icon-grid .icon-grid-copy { margin-bottom: 0; }

/* Device Mockup Block
   Phone frame is drawn entirely in CSS; there is no device-chrome asset. */
.device-mockup .device-mockup-heading {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.device-mockup .device-mockup-body { margin-bottom: 1.25rem; }
.device-mockup .device-mockup-body p { margin-bottom: 0.9rem; }

/* The theme's Base & Typography section sets `ul { list-style-type: disc }`,
   which overrides Bulma's reset. Turn markers off on the list AND the items
   so the only bullet is the theme's own glyph. */
.device-mockup .device-mockup-list,
.device-mockup ul.device-mockup-list {
    list-style: none;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.device-mockup .device-mockup-list li {
    list-style: none;
    list-style-type: none;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    display: flex;
    align-items: baseline;
}

.device-mockup .device-mockup-bullet { margin-right: 0.5rem; }

.device-mockup.device-mockup--image-left .device-mockup-columns {
    flex-direction: row-reverse;
}

/* The frame is a browser window, not a phone: the screenshot it carries is
   online banking on a desktop. Deliberately carries NO aspect-ratio, so the
   frame takes its height from the image rather than cropping the image to a
   fixed device outline. */
.device-frame {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    background-color: rgb(var(--primary));
    border-radius: 0.65rem;
    padding: 0 0.4rem 0.4rem;
    box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.28);
}

/* Title bar. The three dots are decorative window controls, so the bar is
   aria-hidden in the template and never announced. */
.device-frame-bar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    height: 1.65rem;
    padding: 0 0.55rem;
}

.device-frame-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: rgb(var(--white));
    opacity: 0.5;
}

.device-frame-screen {
    position: relative;
    width: 100%;
    border-radius: 0.3rem;
    overflow: hidden;
    background-color: rgb(var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
}

/* height:auto, not 100% + object-fit:cover. The frame no longer sets a height,
   so the image supplies it and is never cropped. */
.device-frame-screenshot {
    display: block;
    width: 100%;
    height: auto;
}

/* With no image there is nothing to give the screen height, so the placeholder
   carries its own ratio. */
.device-frame-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    border: 3px dashed rgb(var(--primary));
    border-radius: 0.3rem;
}

.device-frame-placeholder-label {
    color: rgb(var(--primary));
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .device-mockup.device-mockup--image-left .device-mockup-columns {
        flex-direction: column;
    }
}

/* Large Text Block — optional CTA button (gate defaults off) */
.ltb-cta-column { padding-top: 0; }

/* Cross Border Checking inquiry form
   Mobile-first: inputs are full width and at least 44px tall so the tap
   target satisfies WCAG 2.2 AA 2.5.8 (Target Size, Minimum). */
.cbc-inquiry-form .acf-field { margin-bottom: 1.1rem; }

.cbc-inquiry-form .acf-label label {
    font-weight: 700;
    font-size: 0.9rem;
}

.cbc-inquiry-form input[type="text"],
.cbc-inquiry-form input[type="email"],
.cbc-inquiry-form input[type="tel"],
.cbc-inquiry-form select,
.cbc-inquiry-form textarea {
    width: 100%;
    min-height: 44px;
    padding: 0.6rem 0.75rem;
    border: 2px solid rgb(var(--primary));
    border-radius: 0;
    background-color: rgb(var(--white));
    font-size: 1rem;
}

.cbc-inquiry-form textarea { min-height: 8rem; }

.cbc-inquiry-form .acf-radio-list li,
.cbc-inquiry-form .acf-checkbox-list li {
    margin-bottom: 0.4rem;
    line-height: 1.5;
}

.cbc-inquiry-form input[type="radio"],
.cbc-inquiry-form input[type="checkbox"] {
    width: 1.15rem;
    height: 1.15rem;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.cbc-attestation {
    border: 2px solid rgb(var(--primary));
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

/* Heading sits one step above the inherited body size so it still reads as a
   heading. Previously the container was pinned to 0.9rem and this to 1rem;
   with the container inheriting, the ratio is kept rather than the value. */
.cbc-attestation h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.cbc-attestation p { margin-bottom: 0.6rem; }

.cbc-form-disclaimer {
    font-size: 0.8rem;
    margin-top: 1rem;
    line-height: 1.5;
}

/* Cross Border Split Block
   Full-bleed photo, copy on the left half, subject kept in the right half.

   Scrim rather than a contained panel, for three reasons: a panel would cover
   the office context and the BANK signage this section exists to show; the
   site's language is flat full-bleed bands, so a left-anchored wash reads as
   part of that system where a floating card would not; and it degrades to a
   solid band cleanly when the layout stacks.

   Stops are tuned to the Genesis representative asset, whose subject sits at
   x 57-62%. Measured worst-case white-on-scrim contrast inside the text band
   is 7.5:1 (AAA) at 1600x620 and 1200x560, while alpha over the face falls to
   0.15. */
.cross-border-split {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 34rem;
    padding: 5rem 0;
}

.cross-border-split .cbs-media {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: 60% center;
    background-repeat: no-repeat;
}

/* Stops approximate a smoothstep from 34% to 80% rather than a short linear
   ramp. The original curve fell from 0.85 to 0.20 alpha across ten percent of
   the width, and that rate of change read as a hard blue edge down the middle.
   Maximum rate of change is now 3.17 per unit width against 6.50 before.

   The ramp is positioned so the copy column can stay is-6. Measured against
   the photograph per pixel with the gradient composited, worst-case
   white-on-scrim contrast in the text band is 7.26:1 at 1600x620, 7.20:1 at
   1200x560, 7.27:1 at 1440x700 and 7.27:1 at 1024x600 — AAA throughout.

   Shifting further right buys contrast the text does not need and costs the
   photograph: every six points of shift adds roughly 0.12 alpha over the
   subject's face. This is the leftmost position that still clears AAA, so the
   face stays as legible as the contrast requirement allows.

   Tuned to this specific asset — where the subject sits and how dark the left
   third is. Re-measure if the background image is ever swapped. */
.cross-border-split .cbs-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(var(--primary), 0.97) 0%,
        rgba(var(--primary), 0.97) 34%,
        rgba(var(--primary), 0.93) 40%,
        rgba(var(--primary), 0.81) 46%,
        rgba(var(--primary), 0.64) 52%,
        rgba(var(--primary), 0.49) 57%,
        rgba(var(--primary), 0.30) 63%,
        rgba(var(--primary), 0.14) 69%,
        rgba(var(--primary), 0.03) 75%,
        rgba(var(--primary), 0) 80%
    );
}

.cross-border-split .cbs-inner {
    position: relative;
    z-index: 2;
    width: 100%;
}

.cross-border-split .cbs-copy,
.cross-border-split .cbs-heading,
.cross-border-split .cbs-body { color: rgb(var(--white)); }

.cross-border-split .cbs-body p { margin-bottom: 0.9rem; }
.cross-border-split .cbs-body p:last-child { margin-bottom: 0; }
.cross-border-split .cbs-cta { margin: 2.75rem 0 0; }

.cross-border-split .cbs-subhead {
    display: block;
    font-weight: 700;
    margin-top: 1rem;
}

/* No image set: fall back to a solid brand band. */
.cross-border-split--no-image { background-color: rgb(var(--primary)); }

@media (max-width: 768px) {
    .cross-border-split {
        display: block;
        min-height: 0;
        padding: 0 0 3rem;
        background-color: rgb(var(--primary));
    }
    .cross-border-split .cbs-media {
        position: relative;
        inset: auto;
        width: 100%;
        height: 260px;
        background-position: 62% 28%;
    }
    .cross-border-split .cbs-scrim { display: none; }
    .cross-border-split .cbs-inner { padding-top: 2.5rem; }
    .cross-border-split .column.is-6 { width: 100%; }
}

/* Moved from inline style attributes (cleanup phase 2, 2026-12-01). Each
   value is the one the template used to write on the element; the classes
   are new hooks for them. Specific enough to beat the rules the inline
   styles were silently overriding. */
.account-type-block .account-features-title { font-size: .83em; }
.account-type-block .feature-title { font-size: 1.25rem; font-weight: bold; margin-bottom: 1.1rem; }
.account-type-block .feature-description { font-size: .75rem; margin-bottom: 1.1rem; }

/* The ATM heading and MoneyPass panel print before the block's wrapper div,
   so they are not scoped under .atm-block. */
h2.atm-heading { margin: 0; font-size: 1.75rem; }
.moneypass-panel { max-width: 960px; margin: 0 auto; padding: 0.75rem; }
img.moneypass-logo { max-width: 120px; height: auto; }
.atm-block.section-mini-pad { padding-bottom: 4rem; }
.atm-block .atm-card { background-color: #fff; padding: 20px; }

/* ATM cards (Matt, 2026-12-02): cards side by side share one height, and
   each carries a map pin in the CD Special highlights' corner badge (navy
   circle, cream icon, on the top-right corner and overhanging it 12px each
   way). 12px is half the columns' 24px gap, and the badge's bottom edge
   meets the card's 20px padding, so it never covers text. The size is
   fixed, so the empty <i> looks the same before the Font Awesome kit swaps
   in its <svg>. */
.atm-block .atm-card {
    position: relative;
    height: 100%;
}

.atm-block .atm-card .atm-pin {
    position: absolute;
    top: -12px;
    right: -12px;
    box-sizing: content-box;
    width: 0.9rem;
    height: 0.9rem;
    padding: 0.55rem;   /* 2rem badge */
    border-radius: 50%;
    background-color: rgb(var(--primary));
    color: rgb(var(--secondary));
    overflow: visible;
}
/* An h3 since 2026-12-02 (each ATM's town, under the ATM Locations h2);
   it keeps the body face and the paragraph's spacing it had before. */
.atm-block .atm-big-text { font-family: inherit; font-size: 1.5rem; font-weight: bold; margin: 0 0 1rem; }

.file-link-wrap .columns.file-link-columns { margin-bottom: calc(1.5rem - .75rem); }
.iframe-embed .iframe-embed-inner iframe { display: block; border: none; }

/* ==========================================================================
   6. Utilities & Misc Components
   ========================================================================== */

/* Dark Theme Utility */
.dark {
    background-color: rgb(var(--primary));
    color: rgb(var(--white));
}
.dark a, .dark a:focus, .dark a:hover { color: rgb(var(--tertiary)); }
.dark .white a, .dark .white p { color: rgb(var(--primary)); }
.dark .button, .dark button {
    background-color: rgb(var(--white));
    color: rgb(var(--primary));
}
.dark .button:focus, .dark .button:hover,
.dark button:focus, .dark button:hover {
    background-color: rgba(var(--white), 0.8);
    color: rgb(var(--primary));
}
.dark .button.wire-drop, .dark button.wire-drop {
    box-shadow: 5px 5px 0 -1px rgb(var(--primary)), 5px 5px 0 1px rgb(var(--white));
}
.dark .button.wire-drop:focus, .dark .button.wire-drop:hover,
.dark button.wire-drop:focus, .dark button.wire-drop:hover {
    box-shadow: 5px 5px 0 -1px rgb(var(--primary)), 5px 5px 0 1px rgba(var(--white), 0.8);
}
.dark .bold, .dark .strong, .dark strong { color: rgb(var(--white)); }

/* Light Theme Utility */
.light {
    background-color: rgb(var(--secondary));
    color: rgb(var(--primary));
}
.light a, .light a:focus, .light a:hover,
.light .white p { color: rgb(var(--primary)); }

.light .button, .light button {
    background-color: rgb(var(--primary));
    color: rgb(var(--white));
}
.light .button:focus, .light .button:hover,
.light button:focus, .light button:hover {
    background-color: rgba(var(--primary), 0.8);
    color: rgb(var(--white));
}
.light .button.wire-drop, .light button.wire-drop {
    box-shadow: 5px 5px 0 -1px rgb(var(--secondary)), 5px 5px 0 1px rgb(var(--primary));
}
.light .button.wire-drop:focus, .light .button.wire-drop:hover,
.light button.wire-drop:focus, .light button.wire-drop:hover {
    box-shadow: 5px 5px 0 -1px rgb(var(--secondary)), 5px 5px 0 1px rgba(var(--primary), 0.8);
}
.light .bold, .light .strong, .light strong { color: rgb(var(--primary)); }

/* White Background Utility */
.whiteBg {
    background-color: rgb(var(--white));
    color: rgb(var(--black));
}
.whiteBg strong { color: rgb(var(--black)); }
.whiteBg a:focus, .whiteBg a:hover { color: rgb(var(--primary)); }
.whiteBg .white p, .whiteBg a { color: rgb(var(--primary)); }

.whiteBg .button, .whiteBg button {
    background-color: rgb(var(--primary));
    color: rgb(var(--white));
}
.whiteBg .button:focus, .whiteBg .button:hover,
.whiteBg button:focus, .whiteBg button:hover {
    background-color: rgba(var(--primary), 0.8);
    color: rgb(var(--white));
}
.whiteBg .button.wire-drop, .whiteBg button.wire-drop {
    box-shadow: 5px 5px 0 -1px rgb(var(--secondary)), 5px 5px 0 1px rgb(var(--primary));
}
.whiteBg .button.wire-drop:focus, .whiteBg .button.wire-drop:hover,
.whiteBg button.wire-drop:focus, .whiteBg button.wire-drop:hover {
    box-shadow: 5px 5px 0 -1px rgb(var(--secondary)), 5px 5px 0 1px rgba(var(--primary), 0.8);
}

/* Loaders */
.loader, .loader:after {
    border-radius: 50%;
    width: 10em;
    height: 10em;
}
.loader {
    margin: 0 auto;
    font-size: 10px;
    position: relative;
    text-indent: -9999em;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    animation: load8 1.1s infinite linear;
    -webkit-animation: load8 1.1s infinite linear;
}
.dark .loader {
    border-top: 1.1em solid rgb(var(--secondary), 0.2);
    border-right: 1.1em solid rgb(var(--secondary), 0.2);
    border-bottom: 1.1em solid rgb(var(--secondary), 0.2);
    border-left: 1.1em solid rgb(var(--secondary));
}
.light .loader, .whiteBg .loader {
    border-top: 1.1em solid rgb(var(--primary), 0.2);
    border-right: 1.1em solid rgb(var(--primary), 0.2);
    border-bottom: 1.1em solid rgb(var(--primary), 0.2);
    border-left: 1.1em solid rgb(var(--primary));
}
.acf-loading, .acf-spinner {
    height: 20px;
    width: 20px;
    background: 0 0 !important;
    float: left;
}

/* Text & Alignment Utilities */
.nine-sixty {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}
.full-vert { height: 100%; }
.section-pad { padding: 4rem 0; }
.section-mini-pad { padding: 2rem 0; }
.pt-55 { padding-top: 2rem; }
.is-flexend { -webkit-align-items: flex-end; align-items: flex-end; }
.is-fc { display: -webkit-flex; display: flex; -webkit-justify-content: center; justify-content: center; }

.align-v-mid-h-left,
.align-v-mid-h-mid,
.align-v-mid-h-right {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
}
.align-v-mid-h-left { -webkit-justify-content: flex-start; justify-content: flex-start; }
.align-v-mid-h-mid, .columns.is-centered { -webkit-justify-content: center; justify-content: center; }
.align-v-mid-h-right { -webkit-justify-content: flex-end; justify-content: flex-end; }
.align-item { max-width: 50%; }

.columns.is-centered { text-align: center; }

/* #10834a, not MoneyPass's #149f58: white on that green is 3.43:1, under
   the 4.5:1 WCAG AA minimum. Same hue, darker; 4.81:1. */
.moneypass-btn {
	background-color: #10834a;
	color: #ffffff !important;
	font-weight: 700;
	transition: background-color 0.25s ease-in-out;
}

.moneypass-btn:hover {
	background-color: #0d51a2;
	color: #ffffff !important;
}

@media (max-width: 1024px) {
    .section-pad { padding-left: 1rem; padding-right: 1rem; }
    .footer-logos.align-v-mid-h-right { -webkit-justify-content: center; justify-content: center; }
}

@media (max-width: 768px) {
    .mobile-hide { display: none; }
    .reverse {
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: column-reverse;
        flex-direction: column-reverse;
    }
    .align-item { max-width: 100%; }
}

.sr-only {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(0 0 99.9% 99.9%);
    clip-path: inset(0 0 99.9% 99.9%);
    height: 1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/* File/Modal Link Wrap
   .modal-link-wrap a.modal-link is also the Our Team "View Bio" button
   (management-team-block.php), not only the deleted modal-link block. */
.file-link-wrap, .modal-link-wrap { padding: 0.5rem 0; }
@media (max-width: 768px) {
    .file-link-wrap { padding: 0.5rem 1rem; }
}

.modal {
	z-index: 9999;
}

.file-link-wrap a.file-link,
.modal-link-wrap a.modal-link {
    display: block;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.8rem;
}

.file-link-wrap a.file-link:focus,
.file-link-wrap a.file-link:hover,
.modal-link-wrap a.modal-link:focus,
.modal-link-wrap a.modal-link:hover {
    text-decoration: none !important;
}

.file-link-wrap .dark a.file-link,
.modal-link-wrap .dark a.modal-link {
    border-bottom: 2px solid rgb(var(--white));
}

.file-link-wrap .dark a.file-link:focus,
.file-link-wrap .dark a.file-link:hover,
.modal-link-wrap .dark a.modal-link:focus,
.modal-link-wrap .dark a.modal-link:hover {
    border-bottom: 2px dashed rgb(var(--tertiary));
}

.file-link-wrap .light a.file-link,
.modal-link-wrap .light a.modal-link {
    border-bottom: 2px solid rgb(var(--primary));
}

.file-link-wrap .light a.file-link:focus,
.file-link-wrap .light a.file-link:hover,
.modal-link-wrap .light a.modal-link:focus,
.modal-link-wrap .light a.modal-link:hover {
    border-bottom: 2px dashed rgb(var(--primary));
}

/* Modal Specifics */
.modal-link-wrap .modal-card {
    max-height: calc(90vh - 40px);
    color: rgb(var(--primary));
}

.modal-link-wrap .modal-card .modal-card-head {
    border-radius: 0;
    background-color: rgb(var(--primary));
    color: rgb(var(--white));
}
.modal-link-wrap .modal-card .modal-card-head .modal-card-title {
    color: rgb(var(--white));
    font-size: 1.25rem;
    font-weight: 700;
	margin-bottom: 0;
}
.modal-link-wrap .modal-card .modal-card-head button.modal-link-close { background: 0 0; }
.modal-link-wrap .modal-card .modal-card-head button.modal-link-close:focus,
.modal-link-wrap .modal-card .modal-card-head button.modal-link-close:hover {
    background-color: rgb(var(--white));
}
.modal-link-wrap .modal-card .modal-card-head button.modal-link-close:focus::after,
.modal-link-wrap .modal-card .modal-card-head button.modal-link-close:focus::before,
.modal-link-wrap .modal-card .modal-card-head button.modal-link-close:hover::after,
.modal-link-wrap .modal-card .modal-card-head button.modal-link-close:hover::before {
    background-color: rgb(var(--primary));
}
.modal-link-wrap .modal-card .modal-card-body p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}
.modal-link-wrap .modal-card .modal-card-body p:last-child { margin-bottom: 0; }
#update-footer-modal { z-index: 1001; }

/* --- Management Team Block: SIZING --- */

/* 1. Profile Photo Sizing */
.management-team-block .team-member-photo-wrapper {
    width: 100%; 
    margin: 0 auto 1rem;
}

.management-team-block .team-member-photo-wrapper .team-member-photo {
    /* Ensures photo fills wrapper and stays round/cropped */
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1; /* Keeps image square */
    object-fit: cover;
}

/* 2. Button Sizing (Width matches photo) */
.management-team-block .view-bio-button {
    /* Match this max-width to the max-width of the photo wrapper above */
    max-width: 200px;
    width: 100%;
    /* Further adjust button style if needed (e.g., smaller padding) */
    padding: 0.4rem 0.5rem;
    margin: 0 auto;
}


/* --- Modal Sizing (For Bio Layout) --- */

/* 3. Modal Photo Sizing (Within the bio modal) */
.management-team-block .modal-member-photo-wrapper {
    width: 100%;
    max-width: 150px; /* Photo size within the modal */
    margin: 0 auto;
}

.management-team-block .modal-member-photo-wrapper .modal-member-photo {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.modal-bio-column {
    text-align: left;
}

/* 4. Mobile Adjustments for Modal (Folding) */
@media (max-width: 768px) {
    /* Add padding/margin to separate info from bio when stacked */
    .management-team-block .modal-info-column {
        margin-bottom: 1.5rem;
    }
}

/* Text Area Helper */
.text-area .nine-sixty { padding-left: 12px; padding-right: 12px; }

/* The Rate Hero and CD Calculator share that 12px inset, so their copy sits
   on the same left edge as the text sections, cards and Cross Border blocks
   around them (measured 2026-11-30: they were 12px short). */
.rate-hero .nine-sixty,
.cd-calculator .nine-sixty { padding-left: 12px; padding-right: 12px; }
.text-area p:last-of-type { margin-bottom: 0; }
.text-area h1, .text-area h2, .text-area h3, .text-area h4, .text-area h5, .text-area h6,
.text-area ol, .text-area p, .text-area ul { margin-bottom: 1rem; }
.text-area :last-child { margin-bottom: 0; }

.text-area .light, .text-area .white { color: rgb(var(--primary)); }
.text-area .dark { color: rgb(var(--white)); }

/* Tickers & Description Wrap */
.description-wrap, .ticker-wrap {
    box-sizing: content-box;
    overflow: hidden;
}
.description-wrap ul, .ticker-wrap ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
}
.description-wrap ul { font-weight: 400; }
.ticker-wrap {
    border-top: 2px solid rgb(var(--white));
    border-bottom: 2px solid rgb(var(--white));
    color: rgb(var(--tertiary));
}
.ticker-wrap ul { white-space: nowrap; }
.ticker-wrap ul .no-underline:hover { text-decoration: none; }
span#tickDown, span#tickUp { cursor: pointer; }

/* Callout Wraps */
div#sub-two-wrap {
    height: 45rem;
    background-size: cover;
    background-position: center;
}
div#callout-adjuster { height: 30rem; }
div#callout-wrap {
    background-color: rgb(var(--white));
    color: rgb(var(--black));
    padding: 2rem 3rem;
}

/* 50/50 Account Callouts */
#sub-one-wrap .account-callout-columns { align-items: stretch; }
#sub-one-wrap .account-callout-columns > .column { display: flex; }
#sub-one-wrap .account-callout {
    border: 0.125rem solid #fff;
    background: transparent;
    color: #fff;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 3rem 2.5rem;
}
#sub-one-wrap .account-callout__inner { flex: 1 1 auto; }
#sub-one-wrap .account-callout__title { margin: 0 0 1.5rem; text-align: left; }
#sub-one-wrap .account-callout p { text-align: left; }
#sub-one-wrap .account-callout__footer { margin-top: 2.5rem; text-align: center; }

/* Google Translate */
#google_translate_element .goog-te-gadget .goog-te-gadget-simple {
    background-color: transparent;
    border: 0;
}
#google_translate_element .goog-te-gadget .goog-te-gadget-simple .goog-te-gadget-icon { display: none; }
#google_translate_element a:focus,
#google_translate_element a:hover { text-decoration: none; }

/* FDIC Logos */
.gray-fdic-back { background-color: #d1cdc4; }
.fdic-logo-wrapper {
    height: 30px;
    display: flex;
    align-items: center;
    padding: 5px 0;
}
.fdic-logo { width: 33px; margin-right: 10px; }
.fdic-wordmark {
    font-family: "Avenir Next", sans-serif;
    font-size: clamp(1px, 2.5vw, 12px);
    font-style: italic;
    color: #000;
    white-space: nowrap;
    width: 100%;
	margin-bottom: 0;
}

.iframe-embed .container,
.nine-sixty.iframe-embed-inner {
  width: 100% !important;
  max-width: 100% !important;
}

.section-mini-pad.iframe-embed {
	padding: 0 !important;
}

@media (max-width: 1024px) {
    .fdic-logo-wrapper { padding: 5px 12px; }
}

/* Sub Two (People Not Robots) - mobile fix */
@media (max-width: 768px) {

  /* Keep the image framed on the person's face (more "right/top" than dead-center) */
    div#sub-two-wrap{
		background-size: inherit;
  		background-position: 1000px -50px;
	}
}

/* Mobile nav centering */
@media (max-width: 768px) {

  /* center the stacked nav containers */
  .navbar .multi-nav-wrap .multi-nav{
    text-align: center;
    align-items: center;
  }

  .navbar .multi-nav-wrap #primary-nav,
  .navbar .multi-nav-wrap #secondary-nav{
    justify-content: center;
    align-items: center;
  }

  /* ensure each link/button centers visually */
  .navbar .multi-nav-wrap #primary-nav .navbar-item,
  .navbar .multi-nav-wrap #primary-nav .navbar-link,
  .navbar .multi-nav-wrap #secondary-nav .navbar-item{
    width: 100%;
    justify-content: center;
    text-align: center;
    padding-right: 0; /* overrides your desktop padding-right: 0.75rem */
  }

  /* dropdown menu items */
  .navbar .multi-nav-wrap #primary-nav .navbar-dropdown .navbar-item{
    text-align: center;
  }
}

/* ==========================================================================
   Cross Border Checking — page-scoped normalisation

   Everything below is scoped under `.cbc-page`, a body class added only to
   pages in the Cross Border Checking translation set (see
   inc/cross-border-checking.php). The blocks these rules touch —
   large-text-block, text-area-block, question-block, form-block — also render
   on Personal Accounts, Business Accounts and Who We Are, which must not
   shift. No global rule is modified.

   Type scale
     H1  page header chip        (site standard, unchanged)
     H2  section heading         2.25rem / 700 / sentence case / left
     H3  sub-heading             1.5rem  / 700 / left
     --  item + card titles      1.15rem / 700 / left

   Item titles keep their <h3> tag rather than becoming <h4>: §05 has no
   sub-heading, so an <h4> there would skip a level. They are differentiated
   as the fourth visual step by class instead.
   ========================================================================== */

/* --- H2: every section heading, whatever block produces it --------------- */
.cbc-page .text-area h2,
.cbc-page .form-block .form-title,
.cbc-page .large-text-block h2#large-text,
.cbc-page .cbs-heading,
.cbc-page .device-mockup .device-mockup-heading,
.cbc-page .cross-border-hero .cbc-hero-heading {
    font-size: clamp(1.75rem, 3.4vw, 2.25rem);
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.15;
    text-align: left;
    margin: 0 0 1rem 0;
}

/* §06 sits on the shared large-text-block, whose global rule is 3.5rem/800
   uppercase with a negative left margin. Neutralised here only. */
.cbc-page .large-text-block h2#large-text { margin-left: 0; }

/* --- H3: sub-headings --------------------------------------------------- */
.cbc-page .text-area h3,
.cbc-page .form-block .form-subtitle,
.cbc-page .device-mockup .device-mockup-body h3,
.cbc-page .cbs-body h3 {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: none;
    line-height: 1.25;
    text-align: left;
    margin: 0 0 0.75rem 0;
}

/* --- Item and card titles ----------------------------------------------- */
.cbc-page .icon-grid .icon-grid-title,
.cbc-page .cross-border-hero .cbc-mini-feature-title {
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: none;
    line-height: 1.3;
    text-align: left;
    margin: 0 0 0.4rem 0;
}

/* --- §06 body copy ------------------------------------------------------
   The global rule applies text-transform: lowercase to p#small-text, which
   destroyed "U.S." and "ITIN" in compliance copy. */
.cbc-page .large-text-block p#small-text {
    text-transform: none;
    font-size: 1.125rem;
    line-height: 1.5;
    max-width: 60ch;
}

/* --- §07: one heading, not two -----------------------------------------
   The section already has an H2 ("Account Details"). The question-block's own
   H4 restated it directly beneath and rendered larger (1.75rem vs 1.5em),
   inverting the hierarchy. */
.cbc-page .question-block .question-block-title { display: none; }

/* --- Vertical rhythm ----------------------------------------------------
   The dead space was stacked section padding, not empty wrappers:
   .text-area carries 6rem !important top and bottom, and the block beneath it
   adds its own 4rem (.section-pad) or 5rem (.question-block). Heading and
   content are one section, so the seam between them is closed rather than
   patched with negative margins. */
/* One value drives the block's top padding, its bottom padding and the gap
   above the CTA, so the button always sits equidistant between the copy and
   the bottom edge, and the block stays symmetrical when there is no button.
   The gap above collapses with the preceding paragraph's bottom margin, so it
   resolves to exactly this value rather than stacking on top of it. */
.cbc-page .text-area {
    --cbc-text-pad: 4rem;
    padding-top: var(--cbc-text-pad) !important;
    padding-bottom: var(--cbc-text-pad) !important;
}

.cbc-page .text-area .text-area-cta {
    margin-top: var(--cbc-text-pad);
    margin-bottom: 0;
}

.cbc-page .text-area + .icon-grid,
.cbc-page .text-area + .question-block,
.cbc-page .text-area + .form-block,
.cbc-page .large-text-block + .text-area {
    padding-top: 0 !important;
}

.cbc-page .large-text-block + .text-area { padding-bottom: 4rem !important; }

/* --- §03: align the frame with the copy, centre the placeholder ---------- */
.cbc-page .device-mockup .device-mockup-columns { align-items: center; }
.cbc-page .device-mockup .device-mockup-media {
    display: flex;
    justify-content: center;
    align-items: center;
}
.cbc-page .device-mockup .device-frame { max-width: 480px; margin: 0 auto; }

/* --- §05 used to be 11 items in a 3-up grid, which left a final row of two.
       It is 10 items 2-up now and fills five rows exactly, so nothing is short.
       The rule stays: it applies to all three grids on the page, and it keeps
       any future odd count reading as deliberate rather than ragged. -------- */
.cbc-page .icon-grid .columns { justify-content: center; }

/* --- §08: one section, one background -----------------------------------
   The intro sat on cream (.light) while the form panel sat on white with a
   #ecedee inner panel. Unified to the cream band; the inputs carry their own
   borders, so the panel fill is not needed to separate them. */
/* The section's own block_color_scheme decides the background — forcing cream
   here overrode the editor's choice. Only the inner panel is neutralised, so
   the section still reads as a single colour rather than a panel on a panel. */
.cbc-page .form-block .form-wrap,
.cbc-page .form-block.whiteBg .form-wrap.whiteBg {
    background-color: transparent;
    padding: 0;
}

/* Submit: centred, full-size, wire-drop — matching site convention rather
   than ACF's small right-aligned default. */
/* Alignment now comes from the block's own submit_align control; only the
   spacing above stays here. */
.cbc-page .cbc-inquiry-form .acf-form-submit {
    margin-top: 2rem;
}

/* Width is owned by the block's submit_width control; a min-width here would
   silently override "Fit to label". */
.cbc-page .cbc-inquiry-form input[type="submit"] {
    padding: 1.5rem 2rem;
    font-size: 0.95rem;
}

/* The attestation reads as a distinct block of terms within the form. */
.cbc-page .cbc-inquiry-form .cbc-attestation .acf-label { display: none; }

/* --- Revisions -------------------------------------------------------- */

/* Language toggle centred. */
.cbc-page .fs-language-toggle-list { justify-content: center; }

/* Page header crop: pull the hero band up once there is room for it. */
@media (min-width: 1215px) {
    .cbc-page #intPageHeader #intPageHeaderBG { background-position: center -3.5rem; }
}

/* §02 / §05 cards.
   Reinstated as panels rather than the earlier outlines, reusing the
   box-shadow the question-block panel already uses so the treatment is an
   existing site convention rather than a new one. */
.cbc-page .icon-grid .icon-grid-item {
    height: 100%;
    padding: 1.75rem;
    background-color: rgb(var(--white));
    box-shadow: 0 0 5px 0 rgba(var(--black), 0.08);
}

.cbc-page .icon-grid.dark .icon-grid-item {
    background-color: rgba(var(--white), 0.07);
    box-shadow: none;
}

/* White scheme (whiteBg): cream panels on the white band, so the cards still
   read as cards. The general White option added to the block in 2026-10. */
.cbc-page .icon-grid.whiteBg .icon-grid-item {
    background-color: rgb(var(--secondary));
    box-shadow: none;
}

/* Heading and icon on one line, left aligned, icon at the heading's size.

   Deliberately normal inline flow rather than flex. Flex made the title text a
   single flex item, so a wrapped title hung indented under the first line
   ("Online Account / ....Opening") instead of returning to the left edge.
   Inline flow lets wrapped lines start under the icon, which is how the body
   copy beneath already behaves.

   The icon is emitted with no whitespace before the title text, so there is no
   break opportunity between them: the icon can never be left stranded on a
   line of its own. */
.cbc-page .icon-grid .icon-grid-title {
    display: block;
    text-align: left;
    text-wrap: pretty;
}

/* §06: centred, full width. The block reserves no image slot — the empty
   right-hand area was the `width` field's is-two-thirds column.

   Scoped to the single-column variant. The same block also renders a
   two-column layout when it carries a jump menu, and forcing width: 100% on
   both of those columns inside a centred flex row makes 200% of the
   container, which overflows off each side. The variant class is set in
   blocks/large-text-block.php. */
.cbc-page .large-text-block--simple .columns { justify-content: center; }

.cbc-page .large-text-block--simple .column {
    width: 100%;
    flex: none;
    max-width: 100%;
}

.cbc-page .large-text-block--simple h2#large-text,
.cbc-page .large-text-block--simple p#small-text,
.cbc-page .large-text-block--simple .ltb-cta-column {
    text-align: center;
}

.cbc-page .large-text-block--simple p#small-text {
    font-style: normal;
    margin: 1.25rem auto 0;
    max-width: 68ch;
}

/* The menu variant keeps its own two-column layout. Only the inherited
   italic needs neutralising there; the lowercase transform is already
   handled for both variants above. */
.cbc-page .large-text-block--with-menu p#small-text { font-style: normal; }

/* Form: the theme's own .form-block rules win on specificity and give inputs
   a bottom rule, which is the site's convention — matched rather than fought.
   What was missing was breathing room, so rows collided. */
.cbc-page .cbc-inquiry-form .acf-fields > .acf-field {
    border-left: 0;
    border-top: 0;
    padding: 0 1.5rem 1.75rem 0;
    margin-bottom: 0;
}

.cbc-page .cbc-inquiry-form .acf-label { margin-bottom: 0.5rem; }

.cbc-page .cbc-inquiry-form input[type="text"],
.cbc-page .cbc-inquiry-form input[type="email"],
.cbc-page .cbc-inquiry-form input[type="tel"],
.cbc-page .cbc-inquiry-form select,
.cbc-page .cbc-inquiry-form textarea {
    border-radius: 0;
    padding: 0.5rem 0;
    min-height: 2.75rem;
}

.cbc-page .cbc-inquiry-form textarea { min-height: 8rem; padding: 0.5rem; }

/* Attestation and its certification checkbox as one panel. */
.cbc-page .cbc-inquiry-form .cbc-attestation,
.cbc-page .cbc-inquiry-form .cbc-certify {
    background-color: rgb(var(--white));
    border: 0;
    border-left: 6px solid rgb(var(--primary));
}

.cbc-page .cbc-inquiry-form .cbc-attestation {
    padding: 1.5rem 1.75rem 0.5rem;
    margin: 1rem 0 0;
}

.cbc-page .cbc-inquiry-form .cbc-certify {
    padding: 0 1.75rem 1.5rem;
    margin: 0 0 1.5rem;
}

/* Submit: an <input> cannot use Bulma's flex centring, so the height is
   released and the text centred on its own line box. */
.cbc-page .cbc-inquiry-form input[type="submit"] {
    height: auto;
    line-height: 1.2;
    padding: 1.25rem 2rem;
    text-align: center;
}

/* ==========================================================================
   Global fix: accordion hover state

   NOT page-scoped, deliberately. `.light button:hover` (0,3,0) sets a navy
   background, while `.question-block.light button.exp-accordion` (0,3,1) keeps
   the label navy — dark text on a dark fill on hover. It affects every light
   question-block on the site, so it is fixed at the source rather than only on
   this page. These rules restore the resting appearance and add the keyboard
   focus ring the original `outline: 0` removed.
   ========================================================================== */
.question-block button.exp-accordion:focus,
.question-block button.exp-accordion:hover {
    background-color: transparent;
}

.question-block.light button.exp-accordion:focus,
.question-block.light button.exp-accordion:hover { color: rgb(var(--primary)); }

.question-block.dark button.exp-accordion:focus,
.question-block.dark button.exp-accordion:hover { color: rgb(var(--white)); }

.question-block button.exp-accordion:hover { text-decoration: underline; }

.question-block button.exp-accordion:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: -3px;
    text-decoration: none;
}

/* --- Revisions, round 2 ------------------------------------------------- */

/* Hero: image side. Mirrors device-mockup. Unscoped because it is intrinsic
   to the block, not to this page. The mobile override is repeated after the
   row-reverse rule so source order cannot flip the stack back. */
.cross-border-hero--image-left .cbc-hero-columns { flex-direction: row-reverse; }

@media (max-width: 768px) {
    .cross-border-hero--image-left .cbc-hero-columns { flex-direction: column-reverse; }
}

/* Form: one background for the whole section.
   The attestation, the certification and the closing disclaimer were three
   different fills — a white panel, an ACF grey on the checkbox row, and the
   section cream. They are one legal block, so they share the section's
   background and are grouped by the rule down the left instead. */
.cbc-page .cbc-inquiry-form .cbc-attestation,
.cbc-page .cbc-inquiry-form .cbc-certify,
.cbc-page .cbc-inquiry-form .cbc-form-disclaimer {
    background-color: transparent;
    border: 0;
    border-left: 6px solid rgb(var(--primary));
}

.cbc-page .cbc-inquiry-form .cbc-attestation {
    padding: 1.25rem 0 0.25rem 1.5rem;
    margin: 1.5rem 0 0;
}

.cbc-page .cbc-inquiry-form .cbc-certify {
    padding: 0 0 0.5rem 1.5rem;
    margin: 0;
}

.cbc-page .cbc-inquiry-form .cbc-form-disclaimer {
    padding: 0 0 1.25rem 1.5rem;
    margin: 0 0 1rem;
}

/* Clear ACF's own fills wherever they show through, without touching the
   form controls themselves. */
.cbc-page .cbc-inquiry-form .acf-fields,
.cbc-page .cbc-inquiry-form .acf-field,
.cbc-page .cbc-inquiry-form .acf-label,
.cbc-page .cbc-inquiry-form .acf-input,
.cbc-page .cbc-inquiry-form .acf-true-false,
.cbc-page .cbc-inquiry-form .acf-input > *:not(input):not(select):not(textarea),
.cbc-page .cbc-inquiry-form .acf-label label {
    background-color: transparent;
}

/* ACF draws hairlines between side-by-side fields. Wanted here as neither a
   left rule on the second column nor a top rule on each row. !important
   because the source rule lives in the plugin's stylesheet and carries the
   data-width attribute selector. */
.cbc-page .cbc-inquiry-form .acf-fields > .acf-field,
.cbc-page .cbc-inquiry-form .acf-fields > .acf-field[data-width] {
    border: 0 !important;
}

.cbc-page .cbc-inquiry-form .acf-fields > .acf-field::before,
.cbc-page .cbc-inquiry-form .acf-fields > .acf-field::after {
    content: none;
}

/* The select is a boxed control, unlike the underlined text inputs, so it
   needs its own horizontal padding — the shared rule zeroes it. */
.cbc-page .cbc-inquiry-form select {
    padding: 0.5rem 0.75rem;
    background-color: rgb(var(--white));
}

/* Text Area block: optional CTA button.
   Unscoped — the control belongs to the block, not to one page. Widths only
   bite above 1024px; below that .wire-drop already forces 100%. */
.text-area .text-area-cta {
    margin: 1.75rem 0 0;
}

/* Width and alignment now come from the shared .cbc-cta modifiers below, so
   every block's CTA behaves identically. */

/* text-area--has-cta is left as a styling hook; the symmetric padding above
   means it no longer needs to change the block's spacing. */

/* Certification / message fields: clear any inherited fill.
   The grey behind the certification line could not be traced to the theme,
   ACF or ACFE stylesheets — every grey in those is admin-scoped — so this is
   a decisive override rather than a targeted one. Form controls are excluded
   so the select keeps its fill. */
.cbc-page .cbc-inquiry-form .acf-field-true-false,
.cbc-page .cbc-inquiry-form .acf-field-true-false *:not(input):not(select):not(textarea),
.cbc-page .cbc-inquiry-form .acf-field-message,
.cbc-page .cbc-inquiry-form .acf-field-message *:not(input):not(select):not(textarea) {
    background-color: transparent !important;
    background-image: none !important;
}

.cbc-page .cbc-inquiry-form .acf-field-true-false label {
    cursor: pointer;
}

/* Form Block: title / subtitle / copy rhythm. Each element is omitted from the
   markup entirely when empty, so no reserved space is left behind. */
.form-block .form-subtitle { margin: 0 0 1rem; }
.form-block .form-copy { margin: 0 0 1.5rem; }

.cbc-page .form-block .form-title { margin-bottom: 0.5rem; }
.cbc-page .form-block .form-subtitle { margin-bottom: 1.25rem; }

/* Certification matches the attestation it belongs to: its label at the size
   of the attestation's heading, its checkbox text at the size of the body. */
.cbc-page .cbc-inquiry-form .cbc-certify .acf-label label {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.cbc-page .cbc-inquiry-form .cbc-certify .acf-input,
.cbc-page .cbc-inquiry-form .cbc-certify .acf-input label,
.cbc-page .cbc-inquiry-form .cbc-certify .acf-true-false label {
    font-size: inherit;
    font-weight: 400;
    line-height: 1.5;
}

/* -----------------------------------------------------------------------
   Shared CTA button contract

   One implementation for every block that renders a CTA: Text Area, Cross
   Border Hero, Cross Border Split, and the Form Block's submit. Width is
   auto / half / full and alignment is left / center / right.

   Bulma's is-small…is-large are deliberately unused: this theme overrides
   .button padding outright and .wire-drop forces width: 100% below 1024px,
   so those modifiers barely register. Width is set explicitly instead, and
   only above 1024px where it can actually apply.
   ----------------------------------------------------------------------- */
.cbc-cta--align-left   { text-align: left; }
.cbc-cta--align-center { text-align: center; }
.cbc-cta--align-right  { text-align: right; }

/* A percentage-width button still needs the wrapper's text-align to place it,
   because Bulma renders .button as inline-flex. */
.cbc-cta--half .button,
.cbc-cta--full .button { justify-content: center; }

@media (min-width: 1025px) {
    .cbc-cta--half .button { width: 50%; }
    .cbc-cta--full .button { width: 100%; }
}

/* The Form Block's submit is rendered by ACFE, so its wrapper cannot carry the
   shared classes; the block root does instead. Same three widths, same three
   alignments. */
.form-block--submit-align-left   .acf-form-submit { text-align: left; }
.form-block--submit-align-center .acf-form-submit { text-align: center; }
.form-block--submit-align-right  .acf-form-submit { text-align: right; }

@media (min-width: 1025px) {
    .form-block--submit-half input[type="submit"] { width: 50%; }
    .form-block--submit-full input[type="submit"] { width: 100%; }
    .form-block--submit-auto input[type="submit"] { width: auto; }
}

/* ==========================================================================
   Cross Border Checking — one boundary for the whole page

   Alignment was emergent rather than declared: Bulma gives .container no
   horizontal padding at any breakpoint, so below 1024px content sat flush
   against the viewport edge, and each block's inset fell out of the
   -0.75rem/+0.75rem margin-padding dance between .columns and .column. Any
   block that overrode column padding — the accordion panel did — silently
   left that boundary.

   Two custom properties now define it. --cbc-gutter is the page's outer
   boundary, applied once at .container so every block inherits the same one.
   --cbc-card-pad is the inset inside a card or panel, so the accordion and
   the feature cards indent their contents by the same amount.
   ========================================================================== */
/* Defined at :root, not on .cbc-page, because the breadcrumb consumes the
   gutter site-wide. Defining a custom property is inert on its own — nothing
   changes until a rule reads it, and the only other consumer
   (.cbc-page .container) is still scoped to this page. The name is kept
   despite no longer being page-specific; renaming it would touch every
   consumer for no behavioural gain. */
:root {
    --cbc-gutter: 1.25rem;
    --cbc-card-pad: 1.5rem;
}

@media (min-width: 769px) {
    :root { --cbc-gutter: 2rem; --cbc-card-pad: 1.75rem; }
}

/* At 1024px Bulma caps .container at 960px and centres it, which supplies the
   boundary on its own; keeping a gutter here would narrow the content twice. */
@media (min-width: 1024px) {
    :root { --cbc-gutter: 0rem; }
}

.cbc-page .container {
    padding-left: var(--cbc-gutter);
    padding-right: var(--cbc-gutter);
}

/* The split block's copy sits over a full-bleed image, so it needs the gutter
   even at desktop widths where .container stops providing one. */
@media (min-width: 1024px) {
    .cbc-page .cross-border-split .cbs-inner { padding-left: 0; padding-right: 0; }
}

/* Cards and panels share one inner inset. */
.cbc-page .icon-grid .icon-grid-item { padding: var(--cbc-card-pad); }

.cbc-page .question-block .questions {
    padding: var(--cbc-card-pad) var(--cbc-card-pad) calc(var(--cbc-card-pad) + 0.5rem);
}

/* Language Switcher block.
   Not .wire-drop: that convention forces width: 100% below 1024px, which
   would stack three full-width bars. Uppercase is off because uppercased
   Vietnamese diacritics lose legibility. */
.language-switcher .language-switcher-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.language-switcher .language-switcher-item {
    list-style: none;
    list-style-type: none;
    margin: 0;
}

.language-switcher--align-left   .language-switcher-list { justify-content: flex-start; }
.language-switcher--align-center .language-switcher-list { justify-content: center; }
.language-switcher--align-right  .language-switcher-list { justify-content: flex-end; }

.language-switcher .language-switcher-link {
    text-transform: none;
    font-weight: 600;
    height: auto;
    background-color: transparent;
    color: rgb(var(--primary));
    border: 2px solid rgb(var(--primary));
}

.language-switcher--small  .language-switcher-link { font-size: 0.78rem; padding: 0.4rem 0.8rem; }
.language-switcher--normal .language-switcher-link { font-size: 0.85rem; padding: 0.55rem 1rem; }
.language-switcher--large  .language-switcher-link { font-size: 1rem;    padding: 0.8rem 1.5rem; }

.language-switcher .language-switcher-link.is-current {
    background-color: rgb(var(--primary));
    color: rgb(var(--secondary));
    cursor: default;
}

.language-switcher a.language-switcher-link:hover,
.language-switcher a.language-switcher-link:focus {
    background-color: rgb(var(--primary));
    color: rgb(var(--secondary));
}

.language-switcher .language-switcher-link.is-pending {
    border-style: dashed;
    opacity: 0.65;
    cursor: default;
}

.language-switcher .language-switcher-note {
    text-transform: none;
    font-weight: 400;
    font-size: 0.7rem;
    margin-left: 0.35rem;
}

.language-switcher a.language-switcher-link:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 3px;
}

/* On a dark section the buttons invert. */
.language-switcher.dark .language-switcher-link {
    color: rgb(var(--white));
    border-color: rgb(var(--white));
}

.language-switcher.dark .language-switcher-link.is-current,
.language-switcher.dark a.language-switcher-link:hover,
.language-switcher.dark a.language-switcher-link:focus {
    background-color: rgb(var(--white));
    color: rgb(var(--primary));
}

/* Stack on mobile: three side-by-side buttons cannot hold their labels on a
   narrow screen, and "Tiếng Việt (coming soon)" is the widest of them. */
@media (max-width: 768px) {
    .language-switcher .language-switcher-list {
        flex-direction: column;
        align-items: stretch;
    }

    .language-switcher .language-switcher-link {
        display: flex;
        justify-content: center;
        width: 100%;
    }
}

/* §07 accordion: hold the page boundary.

   The block's wrapper is <div class="columns is-centered">, and the theme
   sets `.columns.is-centered { text-align: center }` globally, so everything
   inside inherited centred text. The accordion buttons carry their own
   text-align, which is why only the panel's other content showed it.

   The panel is also pinned to the container's content box explicitly rather
   than relying on Bulma's -0.75rem/+0.75rem column maths, because this block
   overrides column padding and so leaves that compensation behind. */
.cbc-page .question-block .columns.is-centered {
    text-align: left;
}

/* §07 accordion: take it out of the column system entirely.

   Every previous attempt tried to correct the panel's width inside Bulma's
   flex/negative-margin scheme — zeroing the row's -0.75rem, forcing the
   column to 100%, pinning the box. It kept escaping the content box on wide
   screens because the panel is a .column whose padding was overridden, so the
   compensation Bulma relies on was no longer being paid.

   The row becomes a plain block and the panel a plain block inside it, with
   width: auto. It then fills .container's content box exactly, by the normal
   block sizing rules, and lines up with every other block on the page with no
   arithmetic to get wrong. */
.cbc-page .question-block .columns,
.cbc-page .question-block .columns.is-centered {
    display: block;
    width: auto;

    /* This is the piece that was missing. Every other block wraps its content
       in .columns.nine-sixty, and .nine-sixty is a 960px cap with auto
       margins — the page's real content width. question-block.php is the one
       template that omits the class, so its row filled .container instead,
       which is 1152px or 1344px on wide screens. That is the whole of the
       "sticks out" problem; the column maths was never the cause.

       Replicated here rather than adding the class to the template, because
       that template also renders on Personal Accounts and Business Accounts
       and would change their layout too. */
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.cbc-page .question-block .column.questions {
    display: block;
    float: none;
    width: auto;
    max-width: none;
    flex: none;
    margin: 0;
    box-sizing: border-box;
}

/* The theme adds 1rem of horizontal padding to .section-pad below 1024px, but
   not to .section-mini-pad and not to .question-block, which carries its own
   padding. This page mixes all three, so blocks sat at two different
   boundaries on mobile — the hero, icon grids, device mockup, large text and
   form indented 1rem further than the text areas, the language switcher and
   the accordion.

   Neutralised in scope so --cbc-gutter on .container is the only thing
   setting the page's horizontal boundary. Left alone globally: other pages
   are built from .section-pad blocks throughout, and .container has no
   padding of its own, so removing it there would push their content flush
   against the viewport edge.

   Breakpoint matches the theme's own max-width: 1024px exactly, so there is
   no single pixel where one rule has stopped and the other has not started. */
@media (max-width: 1024px) {
    .cbc-page .section-pad {
        padding-left: 0;
        padding-right: 0;
    }
}

/* ==========================================================================
   Internal page header — stack the title under the image on mobile

   SITE-WIDE, deliberately: this is every page's header, not just the Cross
   Border Checking one.

   Up to 768px the title was absolutely positioned over the bottom of the
   photograph (#intPageHeader .column { position: absolute; bottom: .75rem }),
   which on a narrow screen put white-on-white type across the busiest part of
   the image. It now sits directly beneath the photo at the same width, with
   no gap between them.

   The desktop treatment is untouched.
   ========================================================================== */
@media (max-width: 768px) {
    /* #intPageHeader is itself a .container, so on the Cross Border Checking
       page it was picking up --cbc-gutter and sitting inset while the rest of
       the header ran full width. The header is full-bleed on mobile by
       design, so it opts out. Harmless elsewhere: .container has no padding
       of its own, so this is a no-op on every other page.

       The ID outranks .cbc-page .container, so no !important is needed. */
    #intPageHeader {
        display: block;
        height: auto;
        padding-left: 0;
        padding-right: 0;
    }

    /* Out of the absolute layer and back into normal flow, so the title can
       follow it rather than sit on top of it. */
    #intPageHeader #intPageHeaderBG {
        position: relative;
        height: 200px;
        width: 100%;
    }

    #intPageHeader > .container {
        width: 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    /* .columns carries a fixed 400px height and Bulma's negative gutters;
       .column is the element that was being absolutely positioned. */
    #intPageHeader .columns {
        display: block;
        height: auto;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    #intPageHeader .column {
        position: static;
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
    }

    /* Full width, flush to the image above it.

       The accent moves from the left edge to the bottom: at full width the
       left bar reads as a stray mark against the photo above, whereas a rule
       underneath closes the block off and carries the eye into the page. */
    #intPageHeader h1 {
        display: block;
        width: 100%;
        margin: 0;
        border-left: 0;
        border-bottom: 8px solid rgb(var(--primary));
    }
}

/* ==========================================================================
   Breadcrumb alignment

   SITE-WIDE. The theme sets `ol, ul { padding-left: 40px }` in Base &
   Typography, which the breadcrumb inherits, indenting it 40px further than
   every other element inside the same container. The global rule is left
   alone — plenty of prose lists depend on it — and only the breadcrumb's own
   list opts out, so it starts on the same boundary as the content beneath it.

   list-style is cleared too: that same base rule sets `ul { list-style-type:
   disc }`, overriding Bulma's reset.
   ========================================================================== */
.breadcrumb ul,
.breadcrumb ol {
    padding-left: 0;
    margin-left: 0;
    margin-bottom: 0;
    list-style: none;
    list-style-type: none;
}

.breadcrumb li {
    list-style: none;
    list-style-type: none;
}

/* The gutter goes on the breadcrumb's wrapping .container, not on the .breadcrumb
   nav itself. On the Cross Border Checking page .cbc-page .container already
   pads that same element, and padding the nav as well would have indented the
   breadcrumb to twice the gutter — further in than the content it labels.
   Both rules now set the same element to the same value, so they agree
   wherever they overlap and no override is needed.

   .breadcrumb-bar is carried by the wrapper in partials/page-internal-header.php
   and 404.php. Any future breadcrumb wrapper needs the class to line up. */
.breadcrumb-bar {
    padding-left: var(--cbc-gutter);
    padding-right: var(--cbc-gutter);
}

/* --cbc-gutter applies at .container, and the site's chrome wraps its
   contents in .container too — the FDIC bar, the navbar and the footer. On
   this page they were being indented along with the content, so the sticky
   header sat on a different boundary from the same header on every other
   page.

   The gutter is for page content only; the chrome keeps the site-wide
   alignment. The footer is included because it is the same construction and
   would have drifted in exactly the same way. */
.cbc-page .gray-fdic-back .container,
.cbc-page .navbar .container,
.cbc-page .footer .container {
    padding-left: 0;
    padding-right: 0;
}

/* ==========================================================================
   Portrait Intro block (blocks/portrait-intro.php)

   Copy on the left, a portrait photo on the right, mini features beneath.
   It sits under a page's header photo, so it stays quieter than a hero: an
   H2 heading and a framed photo rather than a full-bleed one. The frame is
   the site's wire-drop offset outline (the CTA buttons' second line), scaled
   up, so the photo reads as part of the design. Own block and class names,
   so no other block is affected.
   ========================================================================== */
.portrait-intro .pi-row--image {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.portrait-intro .pi-eyebrow {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    margin: 0 0 0.75rem;
}

.portrait-intro .pi-heading {
    font-size: clamp(1.6rem, 2.6vw, 2rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0;
    text-transform: none;
    margin: 0 0 1.25rem;
}

.portrait-intro .pi-body {
    font-size: 1.1rem;
    max-width: 34em;
}

.portrait-intro .pi-body p { margin-bottom: 1rem; }
.portrait-intro .pi-body > :last-child { margin-bottom: 0; }

.portrait-intro .pi-cta { margin: 2rem 0 0; }

/* The photo carries the offset box in this block, so the button does not:
   a plain button, no wire-drop second outline. */
.portrait-intro .pi-cta .button.wire-drop { box-shadow: none; }

.portrait-intro .pi-phone { margin: 1.25rem 0 0; }

.portrait-intro .pi-phone-link {
    color: inherit;
    text-decoration: underline;
    font-weight: 700;
}

.portrait-intro .pi-media {
    margin: 0;
    align-self: center;
    width: min(100%, 20rem);
}

.portrait-intro .pi-image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center 45%;
    /* The page header photo's frame (#intPageHeaderBG: 5px white border,
       1px #f7f7f7 outline), with the wire-drop offset box behind it. */
    border: 5px solid #fff;
    outline: 1px solid #f7f7f7;
    /* Offset box line the same 3px weight as the mini features' top rules
       beneath it: the cream layer (spread -1px) sits on the navy (spread
       +2px), leaving a 3px navy band. Measured from a screenshot. */
    box-shadow:
        12px 12px 0 -1px rgb(var(--secondary)),
        12px 12px 0 2px rgb(var(--primary));
}

/* Side by side from 600px, so a portrait tablet (768-834px) keeps the
   photo beside the copy instead of a lone photo floating under it. The photo
   column narrows on tablets and the gap tightens. */
@media (min-width: 600px) {
    .portrait-intro .pi-row--image {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 2.5rem;
    }

    .portrait-intro .pi-copy { flex: 1 1 0; min-width: 0; }

    .portrait-intro .pi-media {
        flex: 0 0 36%;
        max-width: 26rem;
        width: auto;
    }
}

@media (min-width: 1024px) {
    .portrait-intro .pi-row--image { gap: 4rem; }
    .portrait-intro .pi-media { flex-basis: 40%; }
}

/* The offset box behind the photo is a desktop flourish; below 1024px the
   photo keeps only its white frame. */
@media (max-width: 1023px) {
    .portrait-intro .pi-image { box-shadow: none; }
}

/* The site's .wire-drop rule makes every such button full width below
   1024px. Beside a photo that reads as stretched, so this block keeps its
   button at its natural width down to phone size. */
@media (min-width: 480px) and (max-width: 1024px) {
    .portrait-intro .pi-cta .button.wire-drop { width: auto; }
}

/* Mini features 2x2 on tablets. Bulma stacks .columns to one per row below
   769px, which spread four short lines across the full width. */
@media (min-width: 480px) and (max-width: 768px) {
    .portrait-intro .pi-features {
        display: flex;
        flex-wrap: wrap;
    }

    .portrait-intro .pi-features > .column {
        flex: none;
        width: 50%;
    }
}

.portrait-intro .pi-features { margin-top: 3.5rem; }

.portrait-intro .pi-feature {
    border-top: 3px solid currentColor;
    padding-top: 0.85rem;
    height: 100%;
}

.portrait-intro .pi-feature-title {
    font-size: 1.15rem;
    line-height: 1.3;
    margin: 0 0 0.4rem;
}

/* ==========================================================================
   Rate Hero block (blocks/rate-hero.php)

   Offer copy on the left, a rate card on the right. The card is navy with
   white type on any scheme, and carries the same wire-drop offset box as the
   Portrait Intro photo, so the two blocks read as one family. Own block and
   class names, so no other block is affected.
   ========================================================================== */
.rate-hero .rh-row--card {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.rate-hero .rh-eyebrow {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    margin: 0 0 0.75rem;
}

.rate-hero .rh-heading {
    font-size: clamp(1.6rem, 2.6vw, 2rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0;
    text-transform: none;
    margin: 0 0 1.25rem;
}

.rate-hero .rh-body {
    font-size: 1.1rem;
    max-width: 34em;
}

.rate-hero .rh-body p { margin-bottom: 1rem; }
.rate-hero .rh-body > :last-child { margin-bottom: 0; }

.rate-hero .rh-cta { margin: 2rem 0 0; }

/* The card carries the offset box in this block, so the button does not. */
.rate-hero .rh-cta .button.wire-drop { box-shadow: none; }

.rate-hero .rh-phone { margin: 1.25rem 0 0; }

.rate-hero .rh-phone-link {
    color: inherit;
    text-decoration: underline;
    font-weight: 700;
}

.rate-hero .rh-card {
    align-self: center;
    width: min(100%, 22rem);
    padding: 2rem 2rem 1.5rem;
    background-color: rgb(var(--primary));
    color: rgb(var(--white));
    border: 5px solid #fff;
    outline: 1px solid #f7f7f7;
    box-shadow:
        12px 12px 0 -1px rgb(var(--secondary)),
        12px 12px 0 2px rgb(var(--primary));
}

.rate-hero .rh-card-list { margin: 0; }
.rate-hero .rh-card-list dd { margin: 0; }

.rate-hero .rh-card-rate {
    text-align: center;
    padding-bottom: 1.25rem;
    margin-bottom: 0.5rem;
    border-bottom: 3px solid rgba(var(--white), 0.35);
}

.rate-hero .rh-rate {
    display: block;
    font-size: clamp(3.5rem, 7vw, 4.75rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
}

.rate-hero .rh-rate-label {
    display: block;
    margin-top: 0.4rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rate-hero .rh-card-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(var(--white), 0.2);
}

.rate-hero .rh-card-item:last-child { border-bottom: 0; }

.rate-hero .rh-card-item dt {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.85;
}

.rate-hero .rh-card-item dd {
    font-weight: 700;
    text-align: right;
}

@media (min-width: 600px) {
    .rate-hero .rh-row--card {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .rate-hero .rh-copy { flex: 1 1 0; min-width: 0; }
    .rate-hero .rh-card { flex: 0 0 auto; width: 18rem; }
}

@media (min-width: 1024px) {
    .rate-hero .rh-row--card { gap: 4rem; }
    .rate-hero .rh-card { width: 22rem; }
}

@media (max-width: 1023px) {
    .rate-hero .rh-card { box-shadow: none; }
}

/* Stacked on phones, the card leads: the rate is the offer, and below the
   copy it sat a full screen down from the header. Visual order only; the
   source order (copy, then card) is what a screen reader follows. */
@media (max-width: 599px) {
    .rate-hero .rh-card { order: -1; }
}

@media (min-width: 480px) and (max-width: 1024px) {
    .rate-hero .rh-cta .button.wire-drop { width: auto; }
}

/* ==========================================================================
   CD Calculator block (blocks/cd-calculator.php)

   Heading and intro on the left, a white panel on the right holding the
   deposit field and the result. The panel is white on every scheme so the
   figures always read navy on white. Own block and class names.
   ========================================================================== */
.cd-calculator .cdc-inner {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.cd-calculator .cdc-heading {
    font-size: clamp(1.6rem, 2.6vw, 2rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0;
    text-transform: none;
    margin: 0 0 1.25rem;
}

.cd-calculator .cdc-intro {
    font-size: 1.1rem;
    max-width: 30em;
}

.cd-calculator .cdc-intro p { margin-bottom: 1rem; }
.cd-calculator .cdc-intro > :last-child { margin-bottom: 0; }

.cd-calculator .cdc-panel {
    padding: 2rem;
    background-color: rgb(var(--white));
    color: rgb(var(--primary));
    box-shadow: 0 0 5px 0 rgba(var(--black), 0.08);
}

/* On a white section a white panel disappears, so it turns cream there,
   like the icon-grid cards on white. The input stays white inside it. */
.cd-calculator.whiteBg .cdc-panel {
    background-color: rgb(var(--secondary));
    box-shadow: none;
}

.cd-calculator .cdc-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.cd-calculator .cdc-input-wrap {
    display: flex;
    align-items: center;
    border: 2px solid rgb(var(--primary));
    background-color: rgb(var(--white));
}

.cd-calculator .cdc-input-wrap:focus-within {
    outline: 3px solid rgb(var(--primary));
    outline-offset: 2px;
}

.cd-calculator .cdc-prefix {
    padding: 0 0.25rem 0 1rem;
    font-size: 1.6rem;
    font-weight: 700;
}

/* Focus is drawn on the wrapper, which also frames the $ sign. */
.cd-calculator .cdc-input {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 3.5rem;
    padding: 0.5rem 1rem 0.5rem 0.25rem;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 1.6rem;
    font-weight: 700;
}

.cd-calculator .cdc-input:focus { outline: none; }

.cd-calculator .cdc-limits {
    margin: 0.6rem 0 1.5rem;
    font-size: 0.9rem;
}

.cd-calculator .cdc-result { display: block; }

.cd-calculator .cdc-result-figures { display: block; }

.cd-calculator .cdc-result-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.85rem 0;
    border-top: 1px solid rgba(var(--primary), 0.2);
}

.cd-calculator .cdc-result-row:first-child { border-top-width: 3px; border-top-color: rgb(var(--primary)); }

.cd-calculator .cdc-result-label {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cd-calculator .cdc-result-balance {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 700;
    line-height: 1.1;
}

.cd-calculator .cdc-result-interest {
    font-size: 1.25rem;
    font-weight: 700;
}

.cd-calculator .cdc-result-message {
    display: block;
    padding: 1rem 0;
    border-top: 3px solid rgb(var(--primary));
    font-weight: 700;
}

.cd-calculator .cdc-result-message[hidden],
.cd-calculator .cdc-result-figures[hidden] { display: none; }

.cd-calculator .cdc-footnote {
    margin: 1rem 0 0;
    font-size: 0.85rem;
}

@media (min-width: 769px) {
    .cd-calculator .cdc-inner {
        flex-direction: row;
        align-items: center;
        gap: 4rem;
    }

    .cd-calculator .cdc-copy { flex: 1 1 0; min-width: 0; }
    .cd-calculator .cdc-panel { flex: 0 0 26rem; }
}

/* ==========================================================================
   Location Feature block (blocks/location-feature.php)

   Drew Hardin's mockup, 2026-11-30 (HQ_section.png). The office photograph
   in a white frame, with the wire-drop offset box drawn as a navy outline
   behind it. A solid navy Mississippi overlaps the photo's lower right
   corner and hangs below it, with a white pin and "Flowood" on Central MS.
   Heading and copy beside the photo on desktop, under it on phones. The one
   motion is the pin's ripple on load, twice, then still; none with reduced
   motion.

   On a dark section the colours invert: cream outline, cream map, navy pin
   and label. The CD Special page uses light (v1.5.0).
   ========================================================================== */
.location-feature { position: relative; }

.location-feature .lf-grid {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 2.5rem;
    padding: 0 12px;   /* the page's 12px inset, as in Text Area */
}

/* Room on the right for the offset box. */
.location-feature .lf-visual {
    position: relative;
    margin-right: 2.5%;
}

/* The map hangs below the photo. A percentage margin is a share of the
   width, so the room left for it keeps pace with the map. */
.location-feature.lf--map .lf-visual { margin-bottom: 38%; }

.location-feature .lf-media {
    position: relative;
    isolation: isolate;   /* keeps the offset box behind the photo, not the section */
    margin: 0;
}

.location-feature .lf-image {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: 50% 60%;
    border: 10px solid rgb(var(--white));
    box-sizing: border-box;
}

/* The offset box, outline only, so the section shows through it. Offset as
   in Drew's mockup: 22px on a 1002 x 676 frame, i.e. 2.2% of the width and
   3.25% of the height. translate() percentages are of the box itself,
   which is the frame's size, so the proportion holds at every width. */
.location-feature .lf-media::before {
    content: "";
    position: absolute;
    inset: 0;
    transform: translate(2.2%, 3.25%);
    border: 3px solid rgb(var(--primary));
    z-index: -1;
    pointer-events: none;
}

/* The map's top sits 80% of the way down the photo. Phones get a larger
   map (34% of the photo) so the "Flowood" label stays legible; desktop
   is near Drew's placement, 27% wide at 66% across. */
.location-feature .lf-map {
    position: absolute;
    z-index: 1;
    left: 60%;
    top: 80%;
    width: 34%;
}

.location-feature .lf-map-svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.location-feature .lf-map-state { fill: rgb(var(--primary)); }
/* Drew's pin: cream, squat, with a thin navy border that parts it from the
   grey circle under its tip. paint-order draws the stroke first, so only
   its outer half shows and the pin keeps its size. The width is in screen
   pixels (non-scaling-stroke), so the border is 2px at every map size; in
   map units it was under 1px (Matt asked for 1px more, 2026-11-30). */
.location-feature .lf-map-marker {
    fill: rgb(var(--secondary));
    stroke: rgb(var(--primary));
    stroke-width: 4px;
    vector-effect: non-scaling-stroke;
    paint-order: stroke fill;
}
.location-feature .lf-map-dot { fill: rgb(var(--primary)); }
.location-feature .lf-map-shadow { fill: rgba(var(--secondary), 0.45); }

.location-feature .lf-map-label {
    font-size: 18px;   /* map units: ends about 5 units inside the state's east edge */
    font-weight: 700;
    letter-spacing: 0.02em;
    fill: rgb(var(--secondary));
}

.location-feature .lf-map-ripple {
    /* The pin's tip, (79.6, 176.5) in the 199 x 312 map, as percentages of the
       map box; 18 map units across. Margins in % are shares of the width, so
       the negative margin of half the width centres the ring on that point. */
    position: absolute;
    left: 40%;
    top: 56.57%;
    width: 9.05%;
    aspect-ratio: 1;
    margin: -4.52% 0 0 -4.52%;
    border: 2px solid rgb(var(--secondary));
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity;
}

@media (prefers-reduced-motion: no-preference) {
    .location-feature .lf-map-ripple { animation: lf-ripple 1.8s ease-out 0.6s 2; }
    .location-feature .lf-map-ripple--late { animation-delay: 1.1s; }
}

@keyframes lf-ripple {
    from { opacity: 0.9; transform: scale(0.6); }
    to   { opacity: 0;   transform: scale(3.5); }
}

/* Dark section: cream outline and map, navy pin and label. */
.location-feature.dark .lf-media::before { border-color: rgb(var(--secondary)); }
.location-feature.dark .lf-map-state { fill: rgb(var(--secondary)); }
.location-feature.dark .lf-map-marker { stroke: rgb(var(--secondary)); }
.location-feature.dark .lf-map-marker,
.location-feature.dark .lf-map-label { fill: rgb(var(--primary)); }
.location-feature.dark .lf-map-dot { fill: rgb(var(--secondary)); }
.location-feature.dark .lf-map-shadow { fill: rgba(var(--primary), 0.35); }
.location-feature.dark .lf-map-ripple { border-color: rgb(var(--primary)); }

.location-feature .lf-heading {
    font-size: clamp(1.75rem, 3.4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.01em;
    text-transform: none;
    color: inherit;
    margin: 0 0 1.5rem;
    text-wrap: pretty;   /* "Headquartered in / Flowood, MS.", as in the mockup */
}

.location-feature .lf-body {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 34em;
}

.location-feature .lf-body > :last-child { margin-bottom: 0; }

@media (min-width: 1024px) {
    /* Photo about 56%, copy 44%, tops aligned, as in the mockup. */
    .location-feature .lf-grid {
        grid-template-columns: 56fr 44fr;
        column-gap: clamp(3rem, 6vw, 6rem);
        align-items: start;
    }

    .location-feature.lf--map .lf-visual { margin-bottom: 28%; }
    .location-feature .lf-map { left: 66%; width: 27%; }
    .location-feature .lf-copy { padding-top: 0.25rem; }
    .location-feature .lf-body { font-size: 1.15rem; }
}

/* ==========================================================================
   Account Documents box (inc/account-documents.php)

   Printed by the Account Documents block. The same documents also appear on
   /sumsub-verification/, but there they fill the plugin's own "I Agree" list
   and use its styling, not this box. A placeholder (no URL) shows the
   document name with "Document coming soon" and is not a link.
   ========================================================================== */
.acd-box {
    max-width: 44rem;
    padding: 1.5rem 1.75rem;
    border: 2px solid rgb(var(--primary));
    background: #fff;
    color: rgb(var(--primary));
}

.acd-box .acd-heading {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    margin: 0 0 1rem;
    color: inherit;
}

.acd-box .acd-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.acd-box .acd-list li {
    margin: 0;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(var(--primary), 0.2);
}

.acd-box .acd-list li:first-child { border-top: 0; padding-top: 0; }
.acd-box .acd-list li:last-child { padding-bottom: 0; }

.acd-box .acd-link {
    font-weight: 700;
    color: rgb(var(--primary));
}

.acd-box a.acd-link {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.acd-box .acd-pending {
    display: inline-block;
    margin-left: 0.5rem;
    font-size: 0.8rem;
    font-weight: 400;
    font-style: italic;
    opacity: 0.8;
}

/* The block's inset matches Text Area's, so the box lines up with the text
   sections around it. */
.account-documents .nine-sixty { padding-left: 12px; padding-right: 12px; }

/* The CD application page's first step lists the documents too
   (inc/account-documents.php). Same treatment as the plugin's "I Agree"
   list, so the documents look the same at both steps. */
.genesis-sumsub-info .acd-sumsub-docs { margin-top: 2rem; }
.genesis-sumsub-info .acd-sumsub-heading { font-size: 1.15rem; margin: 0 0 0.75rem; }

.genesis-sumsub-info .acd-sumsub-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.genesis-sumsub-info .acd-sumsub-list li { margin: 0; }

.genesis-sumsub-info .acd-sumsub-list a {
    display: inline-block;
    padding: 0.6rem 1rem;
    font-weight: 600;
    color: rgb(var(--primary));
    text-decoration: underline;
    text-underline-offset: 3px;
    border: 1px solid rgb(var(--primary));
    background: rgb(var(--white));
}

.genesis-sumsub-info .acd-sumsub-list a:hover,
.genesis-sumsub-info .acd-sumsub-list a:focus-visible {
    background: rgb(var(--primary));
    color: rgb(var(--white));
}


/* ==========================================================================
   Tap2Local landing page

   Scoped under `.t2l-page`, added only to the Tap2Local page by
   inc/tap2local.php. That page also carries `.cbc-page`, so the heading scale,
   section rhythm, icon-grid panels and inquiry-form treatment above already
   apply to it. What follows is only what this page has that Cross Border
   Checking does not: the brand logo, a numbered step list, a check list in the
   split section, a fee table and a draft marker.
   ========================================================================== */

/* --- Section 02: Genesis Bank | Tap2Local co-brand lockup ----------------
   On white (v1.8.0): Genesis's dark stacked logo and Tap2Local's full-colour
   logo, which the brand guide allows only on white. The rule takes the
   section's text colour, so it suits any scheme.
   Per the Tap2Local brand guide: partner logo first, a vertical rule between,
   the two at similar visual weight, and clear space of at least the height of
   Tap2Local's "2" on every side. The Genesis logo is the stacked version, so
   it is set taller than the one-line Tap2Local mark to balance it. */
.t2l-page .t2l-lockup {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    margin: 0 0 5rem;
}

.t2l-page .t2l-lockup img {
    display: block;
    width: auto;
    max-width: 100%;
}

.t2l-page .t2l-lockup .t2l-lockup-genesis { height: 5.5rem; }
.t2l-page .t2l-lockup .t2l-lockup-t2l     { height: 2.6rem; }

.t2l-page .t2l-lockup-rule {
    align-self: stretch;
    width: 1px;
    background-color: currentColor;
    opacity: 0.35;
}

/* Phones: the desktop sizes add up to ~360px, wider than a 390px screen less
   its gutters. These come to ~290px. */
@media (max-width: 768px) {
    .t2l-page .t2l-lockup { gap: 1rem; margin-bottom: 3.5rem; }
    .t2l-page .t2l-lockup .t2l-lockup-genesis { height: 3rem; }
    .t2l-page .t2l-lockup .t2l-lockup-t2l     { height: 1.4rem; }
}

/* The "Three simple ways" H3 closes the text block, and belongs with the
   cards beneath it, not the paragraph above. So: room above it, and almost
   none between the block and the grid. :has() closes the gap from the
   preceding block's side, which the existing `.text-area + .icon-grid` rule
   cannot reach. */
.t2l-page .text-area h3 { margin-top: 3rem; }

.t2l-page .text-area:has(+ .icon-grid) { padding-bottom: 1.5rem !important; }

/* Section 04's closing line sits centred over its centred CTA. */
.t2l-page .text-area .t2l-center { text-align: center; }

/* --- Section headings: matching gaps --------------------------------------
   FAQ: the H2 is the whole text block, followed by the question panel. It
   measured 71px from the band's top edge to the heading and 94px from the
   heading to the panel: its own 1rem margin plus ~7px at the top of the
   question block. Margin dropped and the padding trimmed so both gaps match.
   Contact: the inherited .cbc-page rule sets the form title's margin to 0.5rem
   because the CBC form has a subtitle in between; this form has none, so it
   takes the same 1rem every other section heading has, e.g. Pricing. */
.t2l-page .text-area:has(+ .question-block) { padding-bottom: 3.5rem !important; }
.t2l-page .text-area:has(+ .question-block) h2 { margin-bottom: 0; }

.t2l-page .form-block .form-title { margin-bottom: 1rem; }

/* --- Split section: room around the opening paragraph -------------------- */
.t2l-page .cross-border-split .cbs-heading { margin-bottom: 1.75rem; }

/* --- Split section: the "no more" list -----------------------------------
   Site bullet (&#9658;) rather than the browser disc, and no 40px indent from
   the global `ul` rule, so the list starts on the copy's left edge. */
.t2l-page .cbs-body .t2l-checks {
    list-style: none;
    padding-left: 0;
    margin: 2.25rem 0 0;
}

.t2l-page .cbs-body .t2l-checks li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.65rem;
}

.t2l-page .cbs-body .t2l-checks li::before {
    content: "\25BA";
    position: absolute;
    left: 0;
    top: 0.1em;
    font-size: 0.8em;
}

/* Page header: hold the card-and-phone in frame at every width. The header
   widens much faster than it grows taller, so wide screens crop the photo
   hard, and the inherited .cbc-page rule above 1215px (`center -3.5rem`, set
   for the CBC family photo) anchored it near its top — at 1920px and wider
   the hands slid off the bottom edge. The hands sit about 58% down the frame.
   Same specificity as that rule and later in the file, so this wins at every
   width. */
.t2l-page #intPageHeader #intPageHeaderBG { background-position: center 58%; }

/* The lawn-care photo's subject stands tall in the frame, and the section is
   shorter than the photo at desktop widths, so the default vertical centring
   cropped the top of his cap. Anchored near the top instead, so the crop comes
   off his feet. Phones keep the block's own position (below 769px). */
@media (min-width: 769px) {
    .t2l-page .cross-border-split .cbs-media { background-position: 60% 15%; }
}

/* --- Get started: numbered steps ----------------------------------------
   A CSS counter draws the numbers so they can be styled as markers; the list
   stays a real <ol>, so assistive technology still announces "1 of 4". */
.t2l-page .text-area .t2l-steps {
    counter-reset: t2l-step;
    list-style: none;
    padding-left: 0;
    margin: 2rem 0;
    display: grid;
    gap: 1rem;
}

@media (min-width: 769px) {
    .t2l-page .text-area .t2l-steps { grid-template-columns: repeat(2, 1fr); }
}

.t2l-page .text-area .t2l-steps li {
    counter-increment: t2l-step;
    position: relative;
    padding: 1.5rem 1.5rem 1.5rem 4.5rem;
    background-color: rgb(var(--white));
    box-shadow: 0 0 5px 0 rgba(var(--black), 0.08);
}

.t2l-page .text-area .t2l-steps li::before {
    content: counter(t2l-step);
    position: absolute;
    left: 1.5rem;
    top: 1.35rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    background-color: rgb(var(--primary));
    color: rgb(var(--white));
}

/* --- Pricing table -------------------------------------------------------
   Full width of the copy column. Sits on the dark band. Rules between rows rather than a boxed grid, so it
   reads as a price list, not a spreadsheet. */
.t2l-page .t2l-fees {
    width: 100%;
    margin: 2rem 0 1rem;
    border-collapse: collapse;
    background: transparent;
    color: inherit;
}

/* The section's H2 already names the table; the caption stays for screen
   readers, which announce it when entering the table. */
.t2l-page .t2l-fees caption {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.t2l-page .t2l-fees th,
.t2l-page .t2l-fees td {
    padding: 0.9rem 0;
    border: 0;
    border-bottom: 1px solid rgba(var(--white), 0.25);
    color: inherit;
    text-align: left;
    vertical-align: top;
}

.t2l-page .t2l-fees thead th {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom-width: 2px;
}

.t2l-page .t2l-fees tbody th { font-weight: 400; padding-right: 1.5rem; }

.t2l-page .t2l-fees td,
.t2l-page .t2l-fees thead th:last-child {
    text-align: right;
    white-space: nowrap;
}

.t2l-page .t2l-fees td { font-weight: 700; }

.t2l-page .t2l-fees-note { font-size: 0.9rem; opacity: 0.85; }

/* --- Draft marker --------------------------------------------------------
   Staging only, by intent: it sits above the placeholder disclosure and goes
   when compliance supplies the real text. Loud on purpose. */
.t2l-page .t2l-draft-note {
    padding: 0.75rem 1rem;
    border: 2px dashed currentColor;
    margin-bottom: 1rem;
}

/* ==========================================================================
   CD Special landing page

   Scoped under `.cds-page`, added only to the CD Special page by
   inc/cd-special.php. That page also carries `.cbc-page`, so the shared
   landing-page rules above (heading scale, rhythm, icon-grid cards, centred
   short rows) already apply. What follows is only what this page adds: two
   list styles, the section-heading gap before the cards, the header photo's
   focal point and a draft marker. The Rate Hero and CD Calculator blocks
   have their own sections above.
   ========================================================================== */

/* --- Highlights: the H2 sits with its cards, as on Tap2Local ------------ */
.cds-page .text-area:has(+ .icon-grid) { padding-bottom: 1.5rem !important; }
.cds-page .text-area:has(+ .icon-grid) h2 { margin-bottom: 0; text-align: center; }

/* --- Highlights: icon as a notification badge on the top-right corner ---
   Matt, 2026-11-30. Inline, the icon pushed each title's first line in;
   on a line of its own it pushed the text down; in the bottom corner the
   cards had to grow to keep room for it. Here it is out of the flow and
   sits on the card's top-right corner, overhanging 12px each way, so the
   cards keep their own height and no text moves. 12px leaves 12px to the
   next card across the 24px gap. The size is fixed, so the empty <i>
   looks the same before the Font Awesome kit swaps in its <svg>. Scoped
   to this page: the block is shared with the Cross Border and Tap2Local
   pages. ------------------------------------------------------------------ */
.cds-page .icon-grid .icon-grid-item { position: relative; }

/* More room under the "Why Choose" heading (Matt, 2026-11-30): the top
   row's badges rise 12px above the cards into this gap. Overrides the CBC
   rule's padding-top: 0 by coming later. */
.cds-page .text-area + .icon-grid { padding-top: 1.5rem !important; }

.cds-page .icon-grid .icon-grid-title .icon-grid-icon {
    position: absolute;
    top: -12px;
    right: -12px;
    box-sizing: content-box;
    width: 0.9rem;
    height: 0.9rem;
    padding: 0.55rem;   /* 2rem badge */
    margin: 0;
    border-radius: 50%;
    background-color: rgb(var(--primary));
    color: rgb(var(--secondary));
    vertical-align: 0;
    overflow: visible;
}

/* The Mississippi-Based card shows Mississippi, not the pin its icon field
   holds (Matt, 2026-11-30); Font Awesome has no state shapes. The pin's
   path is hidden and the outline from the Location Feature map, simplified
   to whole units, is drawn as the badge's background. Cream is written in
   as #faf7e8 because a CSS variable cannot reach inside a data URI; it is
   the --secondary value. Keyed on the icon class, which only that card
   uses on this page. */
.cds-page .icon-grid .icon-grid-title .icon-grid-icon.fa-map-marker-alt {
    background: rgb(var(--primary)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='5 5 189 302'%3E%3Cpath fill='%23faf7e8' d='M176 293 176 294 173 297 167 295 166 292 162 295 158 295 153 291 149 289 146 291 152 291 151 292 146 292 132 297 131 297 132 295 128 293 126 295 128 295 128 297 123 301 122 305 116 304 115 305 111 298 109 288 106 284 103 282 100 274 106 255 6 255 10 251 7 246 8 242 6 238 12 236 14 229 12 223 17 219 19 209 22 202 28 199 31 194 35 191 36 187 35 185 35 184 38 183 42 176 45 173 44 171 40 170 40 167 34 163 35 157 33 155 31 151 35 149 36 148 35 146 32 145 32 142 33 139 36 135 31 131 32 123 35 120 34 113 30 110 33 106 33 100 29 97 28 95 32 93 32 91 28 87 38 79 36 75 38 72 35 68 45 66 46 64 46 62 42 60 42 58 47 55 49 50 52 50 53 48 53 44 56 45 61 41 62 32 61 28 63 23 64 22 67 22 69 21 68 16 74 14 78 10 78 8 76 6 188 6 192 12 172 199 176 293 Z'/%3E%3C/svg%3E") center / auto 1.1rem no-repeat;
}

.cds-page .icon-grid .icon-grid-icon.fa-map-marker-alt path { display: none; }

/* --- Text sections: sub-heading gap ------------------------------------- */
.cds-page .text-area h3 { margin-top: 2rem; }

/* --- Bulleted lists in text sections: the site's ► bullet --------------- */
.cds-page .text-area .cds-list {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0 1.5rem;
}

.cds-page .text-area .cds-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.65rem;
}

.cds-page .text-area .cds-list li::before {
    content: "\25BA";
    position: absolute;
    left: 0;
    top: 0.1em;
    font-size: 0.8em;
}

/* --- Who we are: the service model, same treatment as Tap2Local's list -- */
.cds-page .cbs-body .cds-checks {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0 0;
}

.cds-page .cbs-body .cds-checks li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.65rem;
}

.cds-page .cbs-body .cds-checks li::before {
    content: "\25BA";
    position: absolute;
    left: 0;
    top: 0.1em;
    font-size: 0.8em;
}

.cds-page .cross-border-split .cbs-heading { margin-bottom: 1.75rem; }

/* --- Page header: the two faces sit in the top fifth of Drew's office
   photo (v1.2.0). Same specificity as the inherited .cbc-page focal-point
   rule and later in the file, so this wins at every width. --------------- */
.cds-page #intPageHeader #intPageHeaderBG { background-position: center 18%; }

/* --- Page header H1: "LIMITED-TIME CD SPECIAL", set in capitals by CSS so
   the stored text, and what a screen reader hears, stays in title case. -- */
.cds-page #intPageHeader h1 { text-transform: uppercase; letter-spacing: 0.04em; }

/* --- Account documents, then the disclosures: two white sections in a row,
   so the second drops its top padding and they read as one footer. ------ */
.cds-page .account-documents + .text-area { padding-top: 0 !important; }

/* With no top padding, the disclaimer's top margin collapsed through the
   section and opened a 16px gap showing the cream body between the two
   white sections (v1.8.0, Matt, 2026-12-01). */
.cds-page .account-documents + .text-area .text-area-inner > :first-child { margin-top: 0; }

