/*
 * Bespoke Selections - legal pages (Privacy Policy, Terms of Use)
 * tinted title band, then title on the left / text on the right; stacks on smaller screens
 */

.legal-page {
    --legal-edge: max(24px, calc((100vw - 1560px) / 2), 4vw);
    color: #4B4E53;
}

/* title band - clears the fixed header */
.legal-hero {
    padding: 150px var(--legal-edge) 46px;
    background-color: #EFEEEA;
    border-bottom: 1px solid #000;
}

.legal-hero h1 {
    margin: 0;
    font-family: var(--font-headline);
    font-weight: 400;
    font-size: clamp(32px, 3.4vw, 50px);
    line-height: 1.1;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: #8A7E2D;
}

.legal-updated {
    margin: 18px 0 0;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #4B4E53;
}

.legal-updated::before {
    content: "";
    display: block;
    width: 90px;
    height: 2px;
    margin-bottom: 16px;
    background-color: #8A7E2D;
}

/* body: section headings on the left, text on the right */
.legal-body {
    padding: 64px var(--legal-edge) 90px;
}

.legal-intro,
.legal-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr);
    column-gap: 60px;
    max-width: 1240px;
}

.legal-intro {
    margin-bottom: 20px;
}

.legal-section {
    padding: 34px 0;
    border-top: 1px solid #DCD9D2;
}

.legal-section h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #4B4E53;
}

.legal-text {
    grid-column: 2;
}

.legal-text p,
.legal-text li {
    font-size: 16px;
    line-height: 1.7;
    color: #4B4E53;
}

.legal-text p {
    margin: 0 0 18px;
}

.legal-text p:last-child,
.legal-text ul:last-child {
    margin-bottom: 0;
}

.legal-text ul {
    margin: 0 0 18px;
    padding-left: 22px;
    list-style: disc;
}

.legal-text li + li {
    margin-top: 6px;
}

.legal-text a {
    color: #8A7E2D;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-text a:hover {
    color: #4B4E53;
}

/* bold text in the legal copy (written in the admin's rich text editor) */
.legal-text strong,
.legal-contact strong {
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .legal-hero {
        padding-top: 130px;
    }

    .legal-body {
        padding-top: 40px;
        padding-bottom: 60px;
    }

    .legal-intro,
    .legal-section {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 14px;
    }

    .legal-text {
        grid-column: 1;
    }

    .legal-section {
        padding: 28px 0;
    }
}

@media (max-width: 575.98px) {
    .legal-hero {
        padding-top: 110px;
        padding-bottom: 34px;
    }

    .legal-text p,
    .legal-text li {
        font-size: 15px;
    }
}
