/**
 * Public Terms of Service page (login-matching chrome).
 * New classes only (bk-tos-*, bk-auth-split--document, bk-site-footer-legal*).
 */

.bk-auth-split--document .al4-main {
    justify-content: flex-start;
    align-items: stretch;
    padding-top: calc(var(--auth-nav-h, 74px) + 28px);
    min-height: 0;
}

.bk-auth-split--document .bk-tos-shell {
    display: block;
    width: min(920px, calc(100% - 56px));
    margin: 0 auto;
    grid-template-columns: none;
}

.bk-auth-split--document .bk-tos-panel {
    align-items: stretch;
    width: 100%;
}

.bk-auth-split--document .al4-card-zone {
    width: 100%;
}

.bk-auth-split--document .bk-tos-card {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 38px 42px 34px;
}

.bk-tos-document {
    margin-top: 8px;
}

.bk-tos-document .trm-section-class {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #d7e6ff;
}

.bk-tos-document .trm-section-class:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.bk-tos-document .trm-section-class h1,
.bk-tos-document .trm-section-class h3 {
    font-size: 16px;
    margin: 0 0 10px;
    color: #0b1f3f;
}

.bk-tos-document .trm-section-class p,
.bk-tos-document .trm-section-class li {
    font-size: 14px;
    line-height: 1.65;
    color: #3a4258;
    margin-bottom: 10px;
}

.bk-tos-document .trm-section-class ul,
.bk-tos-document .trm-section-class ol {
    margin: 0 0 12px 1.2rem;
    padding: 0;
}

.bk-site-footer-legal-sep {
    margin: 0 0.35em;
}

@media (max-width: 1024px) {
    .bk-auth-split--document .bk-tos-shell {
        width: min(920px, calc(100% - 32px));
    }
}

@media (max-width: 600px) {
    .bk-auth-split--document .bk-tos-card {
        padding: 28px 20px 24px;
        border-radius: 22px;
    }
}
