
/* ==========================================================
   WELSBANK — STATEMENT BAND + SPLIT FEATURE
   Full-width backgrounds, side-by-side desktop layouts
   ========================================================== */

/* Prevent child elements from expanding the viewport */
html,
body {
    width: 100%;
    max-width: 100%;
}

body {
    overflow-x: clip;
}

#main-content {
    width: 100%;
    min-width: 0;
}

#main-content img {
    max-width: 100%;
}

/* ---------- STATEMENT BAND ---------- */

#main-content .statement-band {
    position: relative;
    isolation: isolate;
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 76px 0;
    overflow: hidden;
    background: #0b2458;
    color: #fff;
}

#main-content .statement-inner {
    display: grid;
    width: min(1240px, calc(100% - 48px));
    max-width: 1240px;
    min-width: 0;
    margin-inline: auto;
    grid-template-columns: 66px minmax(0, 1fr) minmax(250px, .85fr);
    align-items: center;
    gap: clamp(25px, 4vw, 58px);
}

#main-content .statement-symbol {
    display: grid;
    width: 62px;
    height: 62px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 16px;
    background: rgba(255, 255, 255, .07);
    color: #fff;
    font-family: var(--wb-heading, sans-serif);
    font-size: 27px;
    font-weight: 800;
}

#main-content .statement-band .eyebrow {
    margin: 0 0 17px;
    color: #a9c8ff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.7px;
    line-height: 1.7;
}

#main-content .statement-band h2 {
    margin: 0;
    color: #fff;
    font-family: var(--wb-heading, sans-serif);
    font-size: clamp(31px, 3.5vw, 46px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.7px;
}

#main-content .statement-band h2 em {
    color: #8db7ff;
    font-style: normal;
}

#main-content .statement-band .statement-inner > p {
    max-width: 390px;
    margin: 0;
    padding-left: clamp(20px, 3vw, 42px);
    border-left: 1px solid rgba(255, 255, 255, .24);
    color: #d3def1;
    font-size: 14px;
    line-height: 2;
}

/* ---------- SPLIT FEATURE SECTION ---------- */

/*
 * Keep the section background white and its content centered.
 * Do not put wb-container on the section itself: the section
 * needs to remain full width while its inner grid is contained.
 */

#main-content .split-section {
    display: grid;
    width: min(1240px, calc(100% - 48px));
    max-width: 1240px;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
    align-items: center;
    gap: clamp(40px, 7vw, 92px);
    margin: 0 auto;
    padding: 105px 0;
    background: #fff;
}

#main-content .split-visual,
#main-content .split-copy {
    position: relative;
    min-width: 0;
    width: 100%;
}

#main-content .split-visual {
    min-height: 405px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#main-content .split-visual-inner {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 365px;
    align-items: center;
    justify-content: center;
    padding: 35px;
    overflow: hidden;
    border: 1px solid #e1e9f7;
    border-radius: 20px;
    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(179, 205, 255, .55),
            transparent 43%
        ),
        linear-gradient(145deg, #f5f8ff, #eaf0fb);
}

#main-content .mini-window {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 405px;
    padding: 23px;
    border: 1px solid rgba(222, 230, 244, .95);
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 24px 65px rgba(18, 42, 88, .12);
}

#main-content .window-head {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-bottom: 21px;
    border-bottom: 1px solid #edf0f6;
}

#main-content .window-head > span {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #d7deea;
}

#main-content .window-head > span:first-child {
    background: #4e82e7;
}

#main-content .window-head b {
    margin-left: auto;
    color: #142544;
    font-size: 11px;
    font-weight: 800;
}

#main-content .window-label {
    margin-top: 24px;
    color: #8490a5;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

#main-content .window-rule {
    width: 100%;
    height: 1px;
    margin: 19px 0;
    background: #edf0f6;
}

#main-content .window-rule.short {
    width: 70%;
    margin-left: auto;
    opacity: .65;
}

#main-content .window-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

#main-content .window-row span {
    color: #748198;
    font-size: 11px;
}

#main-content .window-row b {
    color: #152a4f;
    font-size: 11px;
    font-weight: 800;
    text-align: right;
}

#main-content .visual-stamp {
    position: absolute;
    right: 16px;
    bottom: 15px;
    z-index: 2;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 10px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 8px 25px rgba(20, 40, 80, .07);
    color: #1749a8;
    font-family: var(--wb-heading, sans-serif);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
}

/* Split-section copy */

#main-content .split-copy .eyebrow {
    margin-bottom: 20px;
    color: var(--wb-blue, #0751d8);
}

#main-content .split-copy h2 {
    margin: 0 0 22px;
    color: var(--wb-navy, #101e3a);
    font-family: var(--wb-heading, sans-serif);
    font-size: clamp(32px, 3.5vw, 46px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1.8px;
}

#main-content .split-copy h2 em {
    color: var(--wb-blue, #0751d8);
    font-style: normal;
}

#main-content .split-copy > p {
    max-width: 510px;
    margin: 0 0 25px;
    color: var(--wb-muted, #738096);
    font-size: 14px;
    line-height: 2;
}

#main-content .check-list {
    display: grid;
    gap: 15px;
    margin: 0 0 30px;
    padding: 0;
    list-style: none;
}

#main-content .check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #35445c;
    font-size: 13px;
    line-height: 1.7;
}

#main-content .check-list li > span {
    display: grid;
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
    place-items: center;
    border: 1px solid #d7e6ff;
    border-radius: 50%;
    background: #edf4ff;
    color: #0751d8;
    font-size: 12px;
    font-weight: 800;
}

#main-content .split-copy .btn {
    display: inline-flex;
    min-height: 49px;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 0 20px;
    border: 1px solid #dce5f3;
    border-radius: 8px;
    background: #fff;
    color: #10264b;
    font-size: 12px;
    font-weight: 800;
    transition:
        color .25s ease,
        border-color .25s ease,
        background .25s ease,
        transform .25s ease;
}

#main-content .split-copy .btn:hover {
    transform: translateY(-2px);
    border-color: var(--wb-blue, #0751d8);
    background: var(--wb-blue, #0751d8);
    color: #fff;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 900px) {
    #main-content .statement-band {
        padding: 62px 0;
    }

    #main-content .statement-inner {
        grid-template-columns: 55px minmax(0, 1fr);
        gap: 24px;
    }

    #main-content .statement-symbol {
        width: 54px;
        height: 54px;
    }

    #main-content .statement-band .statement-inner > p {
        grid-column: 2;
        max-width: 600px;
        padding: 0;
        border: 0;
    }

    #main-content .split-section {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 35px;
        padding: 78px 0;
    }

    #main-content .split-visual-inner {
        min-height: 330px;
        padding: 22px;
    }

    #main-content .mini-window {
        padding: 18px;
    }
}

@media (max-width: 640px) {
    #main-content .statement-band {
        padding: 49px 0;
    }

    #main-content .statement-inner {
        width: calc(100% - 34px);
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    #main-content .statement-symbol {
        width: 47px;
        height: 47px;
        border-radius: 12px;
        font-size: 22px;
    }

    #main-content .statement-band h2 {
        font-size: 35px;
        letter-spacing: -1.2px;
    }

    #main-content .statement-band .statement-inner > p {
        grid-column: 1;
        font-size: 13px;
        line-height: 1.9;
    }

    #main-content .split-section {
        width: calc(100% - 34px);
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
        padding: 65px 0;
    }

    #main-content .split-visual {
        min-height: 0;
    }

    #main-content .split-visual-inner {
        min-height: 310px;
        padding: 20px;
        border-radius: 15px;
    }

    #main-content .mini-window {
        padding: 18px;
    }

    #main-content .split-copy h2 {
        font-size: 34px;
        letter-spacing: -1.2px;
    }

    #main-content .split-copy > p {
        font-size: 13px;
    }
}

/* Ensure these two sections are not left hidden by a
   reveal class whose JavaScript is not running. */
#main-content .statement-inner.reveal,
#main-content .split-visual.reveal,
#main-content .split-copy.reveal {
    opacity: 1;
    visibility: visible;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    #main-content .statement-inner,
    #main-content .split-visual,
    #main-content .split-copy {
        animation: none !important;
        transition: none !important;
    }
}


/* =====================================================
   WELSBANK — FIX INVISIBLE HERO
   Add at the VERY END of welsbank.css
   ===================================================== */

#main-content .hero.wb-container {
    position: relative !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    align-items: center !important;
    gap: clamp(30px, 5vw, 75px) !important;
    width: 100% !important;
    max-width: 1240px !important;
    min-width: 0 !important;
    margin-inline: auto !important;
    padding: 80px 24px !important;
    overflow: clip !important;
    visibility: visible !important;
}

/* Card artwork on the left */
#main-content .hero.wb-container > .hero-art {
    grid-column: 1 !important;
    grid-row: 1 !important;
    position: relative !important;
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 450px !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

/* Text on the right */
#main-content .hero.wb-container > .hero-copy {
    grid-column: 2 !important;
    grid-row: 1 !important;
    position: relative !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

/* Override hidden animation states on all hero descendants */
#main-content .hero.wb-container .reveal,
#main-content .hero.wb-container .reveal.is-visible,
#main-content .hero.wb-container .hero-copy,
#main-content .hero.wb-container .hero-art {
    opacity: 1 !important;
    visibility: visible !important;
    translate: none !important;
    transform: none !important;
}

/* Hero typography */
#main-content .hero-copy .eyebrow {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    color: var(--wb-blue, #1454cf);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.7px;
    line-height: 1.8;
}

#main-content .hero-copy h1 {
    margin: 0;
    color: var(--wb-navy, #142544);
    font-family: var(--wb-heading, sans-serif);
    font-size: clamp(40px, 4.8vw, 65px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2.5px;
}

#main-content .hero-copy h1 em {
    color: var(--wb-blue, #1454cf);
    font-style: normal;
}

#main-content .hero-copy .hero-intro {
    max-width: 480px;
    margin: 23px 0 0;
    color: var(--wb-muted, #718096);
    font-size: 14px;
    line-height: 1.95;
}

#main-content .hero-copy .hero-actions {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-top: 28px;
}

#main-content .hero-copy .hero-assurance {
    display: flex !important;
    align-items: center;
    gap: 10px;
    margin-top: 27px;
    color: var(--wb-muted, #718096);
    font-size: 11px;
    line-height: 1.8;
}

/* Artwork and banking card */
#main-content .hero-art .bank-card {
    display: flex !important;
    position: relative;
    z-index: 2;
    width: min(390px, 86%);
    aspect-ratio: 1.586 / 1;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(20px, 3vw, 30px);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 18px;
    background:
        radial-gradient(ellipse at 100% 0%, rgba(91,154,255,.38), transparent 48%),
        linear-gradient(135deg, #174dc0, #082c80 60%, #071b4e);
    box-shadow: 0 28px 65px rgba(12,42,107,.22);
    color: #fff;
}

#main-content .hero-art .card-top,
#main-content .hero-art .card-bottom {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

#main-content .hero-art .card-logo {
    display: block !important;
    width: 115px;
    max-width: 55%;
    max-height: 38px;
    object-fit: contain;
}

#main-content .hero-art .card-number {
    color: #fff;
    font-size: clamp(13px, 1.6vw, 20px);
    letter-spacing: 1.5px;
    white-space: nowrap;
}

#main-content .hero-art .floating-note {
    display: flex !important;
    position: absolute;
    z-index: 4;
    align-items: center;
    gap: 11px;
    max-width: 225px;
    padding: 14px;
    border: 1px solid #e9eef7;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(20,40,80,.1);
    opacity: 1 !important;
    visibility: visible !important;
}

#main-content .hero-art .note-top {
    top: 35px;
    right: 0;
}

#main-content .hero-art .note-bottom {
    bottom: 45px;
    left: 0;
}

#main-content .hero-art .floating-note > span:last-child {
    display: grid;
    gap: 4px;
}

#main-content .hero-art .floating-note b {
    color: var(--wb-navy, #142544);
    font-size: 11px;
}

#main-content .hero-art .floating-note small {
    color: var(--wb-muted, #718096);
    font-size: 10px;
}

#main-content .hero-art .art-orbit {
    position: absolute;
    z-index: 0;
    display: block;
    border: 1px solid #e1e9f7;
    border-radius: 50%;
    pointer-events: none;
}

#main-content .hero-art .orbit-one {
    width: min(390px, 90%);
    aspect-ratio: 1;
    background: radial-gradient(circle, #edf3ff, transparent 70%);
}

#main-content .hero-art .orbit-two {
    width: min(470px, 105%);
    aspect-ratio: 1;
}

#main-content .hero-art .art-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    color: #8995a9;
    font-size: 10px;
    text-align: center;
}

/* Mobile */
@media (max-width: 700px) {
    #main-content .hero.wb-container {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 20px !important;
        padding: 45px 20px 60px !important;
    }

    #main-content .hero.wb-container > .hero-copy {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }

    #main-content .hero.wb-container > .hero-art {
        grid-column: 1 !important;
        grid-row: 2 !important;
        min-height: 365px !important;
        margin-top: 10px;
    }

    #main-content .hero-copy h1 {
        font-size: clamp(40px, 10vw, 56px);
        letter-spacing: -1.8px;
    }

    #main-content .hero-art .bank-card {
        width: min(350px, 82%);
    }

    #main-content .hero-art .note-top {
        top: 15px;
        right: 0;
    }

    #main-content .hero-art .note-bottom {
        bottom: 25px;
        left: 0;
    }
}

@media (max-width: 400px) {
    #main-content .hero.wb-container {
        padding-inline: 16px !important;
    }

    #main-content .hero-copy h1 {
        font-size: 39px;
    }

    #main-content .hero-copy .hero-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    #main-content .hero-art {
        min-height: 325px !important;
    }

    #main-content .hero-art .floating-note {
        padding: 9px;
        max-width: 175px;
    }

    #main-content .hero-art .floating-note b {
        font-size: 9px;
    }
}
