/* ==========================================================================
   Website Disclaimer — page styles
   Figma node: 4925:41586
   bg-white, flex-col, gap-[40px], items-center, px-[60px] py-[80px]
   Text container: w-[874px], gap-[30px] between company / last-updated / content
   H1: Freight Neo Book 48px centred
   Company: Geist Medium 20px
   Last Updated: Geist Medium 17px
   Section headings (h3): Geist Medium 17px
   Body: Geist Light 16px lh 1.39
   v2: QA fixes — header solid white, logo inverted, nav links dark
   ========================================================================== */

/* Header: see legal-page-header.css (enqueued via functions.php) */

/* ==========================================================================
   Page content
   ========================================================================== */

/* Section wrapper — bg-white, px-[60px] py-[80px] */
.wd-section {
    background-color: #ffffff;
    padding: 80px 60px;
}

/* Inner — flex col, gap-[40px], items-center */
.wd-section__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
}

/* H1 — Desktop/H1: Freight Neo Book, 48px, lh 1, centred */
.wd-section__title {
    font-family: 'freight-neo-pro', 'Freight Neo', Georgia, serif;
    font-style: normal;
    font-weight: 400;
    font-size: 48px;
    line-height: 1;
    letter-spacing: 0em;
    color: #1c1c1c;
    text-align: center;
    margin: 0;
    width: 100%;
}

/* Text container — w-[874px], flex col, gap-[30px] */
.wd-text-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 874px;
    max-width: 100%;
}

/* Company name — Geist Medium 20px, lh 1.1 */
.wd-company {
    font-family: 'Geist', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.1;
    color: #1c1c1c;
    margin: 0;
}

/* Last updated — Geist Medium 17px, lh 1.1 */
.wd-last-updated {
    font-family: 'Geist', sans-serif;
    font-weight: 500;
    font-size: 17px;
    line-height: 1.1;
    color: #1c1c1c;
    margin: 0;
}

/* ==========================================================================
   Content sections — repeater output
   .wd-content                 — flex col, gap-[30px] between sections
   .wd-content__section        — individual section wrapper
   .wd-content__section-heading — <h3> output by PHP → Geist Medium 17px
   .wd-content__section-body   — WYSIWYG output → Geist Light 16px
   ========================================================================== */

.wd-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.wd-content__section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Section heading — rendered as <h3> by PHP, not by the WYSIWYG */
.wd-content__section-heading {
    font-family: 'Geist', sans-serif;
    font-weight: 500;
    font-size: 17px;
    line-height: 1.1;
    color: #1c1c1c;
    margin: 0;
}

/* WYSIWYG body — paragraphs */
.wd-content__section-body p {
    font-family: 'Geist', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.39;
    color: #1c1c1c;
    margin: 0 0 0.75em;
}

.wd-content__section-body p:last-child {
    margin-bottom: 0;
}

/* Bullet lists */
.wd-content__section-body ul {
    list-style: disc;
    padding-left: 1.5em;
    margin: 0 0 0.75em;
}

.wd-content__section-body ul li {
    font-family: 'Geist', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.39;
    color: #1c1c1c;
    margin-bottom: 0.25em;
}

.wd-content__section-body ul li:last-child {
    margin-bottom: 0;
}

/* Ordered lists */
.wd-content__section-body ol {
    padding-left: 1.5em;
    margin: 0 0 0.75em;
}

.wd-content__section-body ol li {
    font-family: 'Geist', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.39;
    color: #1c1c1c;
    margin-bottom: 0.25em;
}

/* Bold / strong */
.wd-content__section-body strong,
.wd-content__section-body b {
    font-weight: 700;
}

/* ==========================================================================
   Responsive — ≤1200px
   ========================================================================== */
@media (max-width: 1200px) {
    .wd-section {
        padding: 80px 40px;
    }
}

/* ==========================================================================
   Responsive — ≤768px
   ========================================================================== */
@media (max-width: 768px) {
    .wd-section {
        padding: 60px 16px;
    }

    .wd-section__title {
        font-size: 36px;
    }

    .wd-text-container {
        width: 100%;
    }

    .wd-company {
        font-size: 18px;
    }
}
