/* =============================================================
   PAGE BODY — single-column long-form content rendered from a
   Wysiwyg field. Style headings + paragraphs + lists + links.
   ============================================================= */
.page-body {
    max-width: 780px;
    margin-inline: auto;
    text-align: start;
}

/* Match the optional FAQ section beneath the body to the same 780px
   reading column so the page layout stays single-column end-to-end.
   Scoped to the default page template so product pages keep their full
   .container width on the FAQ band. */
.page-template-default .section__heading--faq,
.page-template-default .faq {
    max-width: 780px;
    margin-inline: auto;
}

/* Smaller FAQ heading on default-template pages — the global
   .section__heading h2 = 55px reads too loud in the narrower 780px
   reading column. Product pages keep the bigger size. */
.page-template-default .section__heading--faq h2 {
    font-size: 40px;
    line-height: 1.2;
}

/* Link-cards: 2-card centered button layout (privacy-policy landing). */
.link-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin: 32px 0;
}

.link-card {
    max-width: 280px;
    width: 100%;
    border: 1px solid rgb(229, 229, 229);
    border-radius: 12px;
    background: var(--color-white);
    padding: 32px 24px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.link-card__title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--color-text-heading);
    margin: 0;
}

.link-card .link-card__btn,
a.link-card__btn {
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-white) !important;
    font-size: 18px;
    font-weight: 600;
    padding: 10px 32px;
    border-radius: 6px;
    text-decoration: none;
}

.link-card .link-card__btn:hover,
a.link-card__btn:hover {
    background: rgb(229, 55, 0);
    color: var(--color-white) !important;
}

@media (max-width: 540px) {
    .link-card {
        max-width: 100%;
        width: 100%;
    }
}

.page-body p {
    font-size: 17px;
    line-height: 1.5;
    color: var(--color-text);
    margin: 0 0 18px;
}

.page-body h2 {
    font-size: 32px;
    font-weight: 500;
    color: var(--color-text-heading);
    margin: 32px 0 12px;
    line-height: 1.2;
}

.page-body h2:first-child {
    margin-block-start: 0;
}

.page-body h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--color-text-heading);
    margin: 24px 0 10px;
}

.page-body ul,
.page-body ol {
    margin: 0 0 18px;
    padding-inline-start: 24px;
    font-size: 17px;
    line-height: 1.5;
    color: var(--color-text);
}

/* style.css resets `ul {
    list-style: none;
}

` globally — restore wysiwyg markers here. */
.page-body ul {
    list-style: disc;
}

.page-body ol {
    list-style: decimal;
}

.page-body li {
    margin-block-end: 6px;
}

.page-body a {
    color: var(--color-primary);
    text-decoration: underline;
}

.page-body a:hover {
    color: var(--color-primary-hover);
}

.page-body strong {
    font-weight: 600;
    color: var(--color-text-heading);
}

/* Higher specificity than `.page-body p` so the smaller fine-print size lands. */
.page-body p.page-body__signoff {
    margin-block-start: 32px;
    font-size: 14px;
    color: var(--color-text);
    font-style: italic;
}

@media (max-width: 1024px) {
    /* Source mobile holds 17px body / 32px h2; the global mobile shrink is too aggressive
     for long-form text-only pages. Hold body at 17px and h2 at 28px on this template. */
    .page-body p,
    .page-body ul,
    .page-body ol {
        font-size: 17px;
    }

    .page-body h2 {
        font-size: 28px;
    }

    .page-body h3 {
        font-size: 20px;
    }

    .page-body p.page-body__signoff {
        font-size: 14px;
    }
}

/* =============================================================
   PAGE.PHP-specific about-hero variant — shorter band (375px vs the
   500px canonical defined in sections/about-hero.css). page.php
   template doesn't enqueue sections/about-hero.css, so the base
   styles must live here in full.
   ============================================================= */
.about-hero {
    position: relative;
    background: var(--color-primary);
    color: var(--color-white);
    overflow: hidden;
    min-height: 375px;
}

.about-hero picture {
    display: block;
    height: 100%;
}

.about-hero__bg {
    display: block;
    width: 100%;
    object-fit: cover;
}

.about-hero__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-hero__title {
    font-size: 67px;
    line-height: 1;
    font-weight: 600;
    margin: 0;
    color: var(--color-white);
    text-align: center;
}

@media (max-width: 1024px) {
    .about-hero__title {
        font-size: 40px;
    }
}

@media (max-width: 1024px) {
    .about-hero {
        min-height: 200px;
    }

    .about-hero__bg {
        object-fit: cover;
    }
}
