/* Footer styles. */
.img-footer-logo {
    max-width: 157px
}

.copyright-bg  {
    background-color: #203366;
    color: #fff;
}

.footer-bg  {
    background-color: #5f5f5f;
    color: #fff;
}

.customer-service  {
    background-color: #e2e0d7;
}

/* Contact links use the existing footer palette. */
.footer-phone-link,
.footer-bg .footer-address-link { color: inherit; text-decoration: none; }
.footer-phone-link:hover,
.footer-bg .footer-address-link:hover { color: inherit; text-decoration: underline; }
.footer-phone-link:focus-visible,
.footer-address-link:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.footer-address-link { white-space: nowrap; }

/* Align and compact footer sections on phones. */
@media (max-width: 767.98px) {
    .footer-benefits-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        margin-inline: 0;
    }
    .footer-benefits-row > div {
        width: 100%;
        max-width: none;
        min-width: 0;
        margin: 0 !important;
        padding: 0;
        gap: 12px !important;
    }
    .footer-benefits-row img { flex: 0 0 36px; width: 36px; height: 36px; }
    .customer-service { padding-block: 20px !important; }
    .customer-service > .container > .row { row-gap: 20px; }
    .customer-service > .container > .row > div { display: block !important; }
    .customer-service .list-checkbox { margin: 0; max-width: none; }
    .customer-service .list-checkbox li { margin-bottom: 8px; line-height: 1.5; }
    .customer-service .list-checkbox li:last-child { margin-bottom: 0; }
    .customer-service .footer-service-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 80px;
        column-gap: 16px;
        margin: 0;
        align-items: center;
    }
    .customer-service .footer-service-row > div {
        width: auto;
        max-width: none;
        min-width: 0;
        padding: 0;
    }
    .footer-service-title { font-size: 15px; line-height: 1.4; }
    .customer-service .consultant { display: block; width: 80px; max-width: 100%; height: auto; }
    .customer-service .bok-number { font-size: clamp(20px, 5.8vw, 24px); line-height: 1.2; white-space: nowrap; }
    .footer-phone-link { display: inline-flex; align-items: center; min-height: 44px; }
    .customer-service small { display: block; font-size: 13px; line-height: 1.55; }
    .footer-bg { padding-block: 20px !important; }
    .footer-bg .row { row-gap: 16px; }
    .footer-bg .row > div,
    .copyright-bg .row > div { justify-content: flex-start !important; }
    .footer-bg .img-footer-logo { display: block; max-width: 157px; height: auto; }
    .footer-bg .footer-company-address {
        display: block;
        width: 100%;
        font-size: 14px;
        font-weight: 400;
        line-height: 1.65;
        text-align: left;
        overflow-wrap: anywhere;
    }
    .copyright-bg { padding-block: 12px !important; }
    .copyright-bg .row { row-gap: 8px; }
    .copyright-bg small {
        display: block;
        width: 100%;
        font-size: 12.5px;
        line-height: 1.55;
        text-align: left;
        overflow-wrap: anywhere;
    }
}
