/* SL OneTrust overrides from scg-frontend/src/styles/global.scss. */
@font-face {
    font-family: "DBHeavent";
    src: url("../font/DBHeavent.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "DBHeavent-Med";
    src: url("../font/DBHeavent-Med.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

#onetrust-consent-sdk {
    display: block;
}

#onetrust-consent-sdk,
#onetrust-consent-sdk div {
    font-family: "DBHeavent", sans-serif !important;
}

/* SL uses a 10px root up to 1680px, then 14px; preserve Decaar's root. */
#onetrust-consent-sdk #onetrust-banner-sdk,
#onetrust-consent-sdk #onetrust-pc-sdk {
    font-size: 20px !important;
}

@media (min-width: 1681px) {
    #onetrust-consent-sdk #onetrust-banner-sdk,
    #onetrust-consent-sdk #onetrust-pc-sdk {
        font-size: 28px !important;
    }
}

/* SL banner has cookie settings and accept; retain the original SDK markup. */
#onetrust-consent-sdk #onetrust-reject-all-handler,
#onetrust-consent-sdk #onetrust-close-btn-container,
#onetrust-consent-sdk .ot-pc-footer .ot-pc-refuse-all-handler {
    display: none !important;
}

#onetrust-consent-sdk .ot-pc-footer .save-preference-btn-handler,
#onetrust-consent-sdk .ot-pc-footer .onetrust-close-btn-handler {
    width: 100% !important;
    max-width: 100% !important;
}

#onetrust-consent-sdk #onetrust-pc-sdk .ot-tgl input:checked + .ot-switch .ot-switch-nob {
    background-color: #eb272e !important;
}

#onetrust-consent-sdk #onetrust-accept-btn-handler {
    background-color: #f01f2d !important;
    border-color: #f01f2d !important;
    color: #ffffff !important;
}

#onetrust-consent-sdk #onetrust-pc-btn-handler,
#onetrust-consent-sdk #onetrust-pc-btn-handler.cookie-setting-link {
    color: #f01f2d !important;
    border-color: #f01f2d !important;
    background-color: #ffffff !important;
}

#onetrust-consent-sdk #onetrust-button-group button {
    font-family: "DBHeavent-Med", sans-serif !important;
    font-weight: normal !important;
}

#onetrust-consent-sdk .ot-sdk-row.ot-cat-grp h3,
#onetrust-consent-sdk .ot-sdk-row.ot-cat-grp #ot-header-id-C0001,
#onetrust-consent-sdk #onetrust-pc-sdk button,
#onetrust-consent-sdk #onetrust-pc-sdk .ot-cat-header,
#onetrust-consent-sdk #ot-status-id-C0001,
#onetrust-consent-sdk #ot-pc-title {
    font-weight: normal !important;
    letter-spacing: normal !important;
}
