.thdb-banner {
    background: linear-gradient(90deg, #00a2b8 0%, #004587 100%);
    color: #fff;
}

.thdb-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    min-height: 264px;
    padding-top: 32px;
    padding-bottom: 32px;
}

.thdb-banner__title {
    margin: 0 0 14px;
    color: #fff;
    font-size: 48px;
    line-height: 1.15;
}

.thdb-banner__desc {
    margin: 0 0 14px;
    color: #fff;
    font-size: 24px;
    line-height: 1.4;
}

.thdb-banner__art {
    width: 245px;
    height: 180px;
    object-fit: contain;
    flex-shrink: 0;
}

.thdb-banner .button-primary,
.thdb-overview .button-primary {
    font-size: 18px !important;
    border-radius: 12px;
    background-color: #01337f;
    border-color: #01337f;
}

.thdb-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    aspect-ratio: 3845 / 1351;
    padding: 53px 24px 0;
    text-align: center;
    background-color: #021a3e;
    background-image: url("https://assets.xs.com/img/other-promotions/thai-deposit-promo/desktop-banner.webp");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.thdb-visual__copy {
    max-width: 520px;
}

.thdb-visual__title {
    margin: 0 0 12px;
    color: #fff;
    font-size: 40px;
    line-height: 1.3;
}

.thdb-visual__desc {
    margin: 0;
    color: #b5b4b5;
    font-size: 32px !important;
    line-height: 1.35;
}

.thdb-visual__note {
    margin: 6px 0 18px;
    color: #b5b4b5;
    font-size: 16px !important;
}

.thdb-visual .button-white {
    font-size: 18px !important;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.4);
}

.thdb-overview {
    padding: 99px 0 100px;
    text-align: center;
    background: #fff;
}

.thdb-overview__title {
    margin: 0 auto 24px;
    color: #213c83;
    font-size: 40px;
    line-height: 56px;
}

.thdb-overview__desc {
    max-width: 802px;
    margin: 0 auto 40px;
    color: #81858b;
    font-size: 24px;
    line-height: 1.5;
}

.thdb-benefits {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.thdb-benefit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 330px;
    padding: 24px;
    background: #fff;
    border: 1px solid #d8d9da;
    border-radius: 14px;
}

.thdb-benefit img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.thdb-benefit p {
    margin: 0;
    color: #01337f;
    font-family: "Noto Sans TH SemiBold", sans-serif;
    font-size: 24px;
    line-height: 30px;
}

.thdb-overview__cta {
    justify-content: center;
    margin-top: 40px;
}

.thdb-howto {
    padding: 100px 0;
    text-align: center;
    color: #fff;
    background: linear-gradient(180deg, #021a3e 9%, #043072 59%, #0a3a82 100%);
}

.thdb-howto__title {
    margin: 0 0 48px;
    color: #fff;
    font-size: 40px;
    line-height: 1.4;
}

.thdb-steps {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.thdb-step {
    position: relative;
    flex: 1;
    max-width: 300px;
    padding: 0 20px;
}

.thdb-step + .thdb-step::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 276px;
    background: #fff;
}

.thdb-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    margin-bottom: 30px;
    border-radius: 50%;
    background: #fff;
    color: #213c83;
    font-size: 40px;
    line-height: 1;
}

.thdb-step__title {
    margin: 0 0 12px;
    color: #fff;
    font-family: "Noto Sans TH SemiBold", sans-serif;
    font-size: 40px;
    line-height: 1.35;
}

.thdb-step__desc {
    margin: 0;
    color: #fff;
    font-size: 20px;
    line-height: 1.5;
}

.thdb-faq .accordion-item,
.thdb-faq .accordion-item:first-of-type,
.thdb-faq .accordion-item:not(:first-of-type) {
    border: 0 !important;
    background: transparent;
}

.thdb-faq .accordion-button,
.thdb-faq .accordion-item:first-of-type .accordion-button,
.thdb-faq .accordion-item:not(:first-of-type) .accordion-button,
.thdb-faq .accordion-button.collapsed,
.thdb-faq .accordion-button:not(.collapsed) {
    border: 1px solid #d8d9da !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: none !important;
}

.thdb-faq .cust-faq-q {
    font-family: "Noto Sans TH SemiBold", sans-serif;
    font-size: 18px !important;
    line-height: 1.4;
}

.thdb-page-why .why-choose-section h2,
.why-choose-section h2 {
    color: #213c83;
    font-size: 40px;
}

@media (max-width: 1199.98px) {
    .thdb-visual {
        aspect-ratio: 2400 / 1351;
        background-image: url("https://assets.xs.com/img/other-promotions/thai-deposit-promo/ipad-banner.webp");
    }
}

@media (max-width: 991.98px) {
    .thdb-benefits {
        flex-wrap: wrap;
    }

    .thdb-benefit {
        width: min(100%, 330px);
    }

    .thdb-steps {
        flex-direction: column;
        align-items: center;
        gap: 47px;
    }

    .thdb-step {
        max-width: 320px;
        padding: 0;
    }

    .thdb-step + .thdb-step::before {
        top: -24px;
        left: 50%;
        width: 276px;
        height: 2px;
        transform: translateX(-50%);
    }

}

@media (max-width: 767.98px) {
    .thdb-banner__inner {
        flex-direction: column;
        justify-content: center;
        min-height: 0;
        padding-top: 40px;
        padding-bottom: 40px;
        text-align: center;
    }

    .thdb-banner__copy {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .thdb-banner__title {
        font-size: 40px;
    }

    .thdb-banner__desc {
        font-size: 24px;
        line-height: 36px;
    }

    .thdb-visual {
        aspect-ratio: 751 / 1101;
        min-height: 0;
        padding: 40px 24px 0;
        background-image: url("https://assets.xs.com/img/other-promotions/thai-deposit-promo/mobile-banner.webp");
    }

    .thdb-visual__title {
        font-size: 32px;
    }

    .thdb-visual__desc {
        font-size: 22px !important;
    }

    .thdb-overview {
        padding: 72px 0;
    }

    .thdb-overview__title {
        font-size: 36px;
        line-height: 42px;
    }

    .thdb-overview__desc {
        font-size: 18px;
    }

    .thdb-benefits {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }

    .thdb-benefit {
        width: 100%;
        gap: 24px;
        border-radius: 24px;
    }

    .thdb-benefit img {
        width: 64px;
        height: 64px;
    }

    .thdb-howto {
        padding: 72px 0;
    }

    .thdb-howto__title {
        font-size: 36px;
    }

    .thdb-step__title {
        font-size: 24px;
    }

    .thdb-step__desc {
        font-size: 16px;
    }

    .thdb-step__num {
        margin-bottom: 12px;
    }

    .why-choose-section h2 {
        font-size: 28px;
    }
}
