body.af-content-page {
    overflow-x: clip;
    margin: 0;
    color: var(--af-ink);
    background: var(--af-white);
    font-family: var(--af-sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
}

.af-content-page *,
.af-content-page *::before,
.af-content-page *::after {
    box-sizing: border-box;
}

.af-content-page h1,
.af-content-page h2,
.af-content-page h3,
.af-content-page p,
.af-content-page ul,
.af-content-page ol,
.af-content-page figure {
    margin-top: 0;
}

.af-content-page h1,
.af-content-page h2,
.af-content-page h3 {
    color: inherit;
    font-family: var(--af-serif);
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}

.af-content-page a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}

.af-content-page a:focus-visible,
.af-content-page button:focus-visible,
.af-content-page input:focus-visible,
.af-content-page select:focus-visible,
.af-content-page textarea:focus-visible {
    outline: 2px solid var(--af-ink);
    outline-offset: 3px;
}

.af-content-page .af-site-header {
    color: var(--af-ink);
    background: rgba(251, 250, 247, 0.96);
    box-shadow: 0 1px 0 rgba(39, 35, 31, 0.12);
    backdrop-filter: blur(12px);
}

.af-content-main {
    min-height: 70vh;
    padding: calc(var(--af-header-height) + 92px) var(--af-gutter) 128px;
}

.af-content-shell {
    width: min(100%, 860px);
    margin-inline: auto;
}

.af-page-header {
    padding-bottom: 46px;
    border-bottom: 1px solid var(--af-rule);
}

.af-page-eyebrow {
    margin-bottom: 18px;
    color: var(--af-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.28em;
    line-height: 1.2;
    text-transform: uppercase;
}

.af-page-title {
    margin-bottom: 0;
    font-size: clamp(54px, 7vw, 82px);
    line-height: 0.98;
}

.af-page-content {
    padding-top: 54px;
}

.af-page-content > p,
.af-page-content > .wp-block-group,
.af-page-content > .wp-block-shortcode,
.af-page-content > .af-contact-intro,
.af-page-content > .af-contact-notice {
    margin-bottom: 28px;
}

.af-page-content .af-content-lead {
    max-width: 720px;
    margin-bottom: 38px;
    font-family: var(--af-serif);
    font-size: clamp(27px, 3.2vw, 36px);
    line-height: 1.35;
}

.af-contact-notice {
    padding: 20px 22px;
    border-left: 2px solid var(--af-ink);
    background: var(--af-ivory);
    font-size: 14px;
    line-height: 1.75;
}

.af-contact-unavailable {
    padding: 28px;
    border: 1px solid var(--af-rule);
    background: var(--af-ivory);
}

.af-contact-admin-note {
    margin-top: 16px;
    color: #8a2424;
    font-size: 13px;
}

.af-contact-form {
    display: grid;
    gap: 26px;
    margin-top: 44px;
}

.af-contact-field {
    display: grid;
    gap: 9px;
}

.af-contact-field label,
.af-contact-fieldset legend {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.af-required {
    color: #8a2424;
}

.af-contact-form input[type="text"],
.af-contact-form input[type="email"],
.af-contact-form select,
.af-contact-form textarea {
    width: 100%;
    min-height: 52px;
    padding: 12px 14px;
    border: 1px solid #9e958a;
    border-radius: 0;
    color: var(--af-ink);
    background: #fff;
    font: inherit;
}

.af-contact-form textarea {
    min-height: 210px;
    resize: vertical;
}

.af-contact-form .wpcf7-form-control-wrap {
    display: block;
}

.af-contact-fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.af-contact-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.6;
}

.af-contact-consent input {
    width: 18px;
    height: 18px;
    margin-top: 4px;
}

.af-contact-form .wpcf7-list-item {
    margin: 0;
}

.af-contact-form .wpcf7-submit {
    min-width: 190px;
    min-height: 52px;
    padding: 13px 28px;
    border: 1px solid var(--af-ink);
    border-radius: 0;
    color: var(--af-light);
    background: var(--af-ink);
    font-family: var(--af-sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
}

.af-contact-form .wpcf7-submit:hover {
    color: var(--af-ink);
    background: transparent;
}

.af-contact-form .wpcf7-not-valid-tip {
    margin-top: 6px;
    color: #8a2424;
    font-size: 13px;
}

.af-contact-form .wpcf7-response-output {
    margin: 0;
    padding: 14px 16px;
    border-width: 1px;
}

.af-contact-form .cf-turnstile {
    margin-bottom: 2px;
}

.af-policy-intro {
    margin-bottom: 52px;
}

.af-policy-meta {
    color: var(--af-muted);
    font-size: 13px;
}

.af-policy-section {
    padding: 34px 0 28px;
    border-top: 1px solid var(--af-rule);
}

.af-policy-section h2 {
    margin-bottom: 18px;
    font-size: clamp(30px, 4vw, 40px);
    line-height: 1.2;
}

.af-policy-section h3 {
    margin: 28px 0 12px;
    font-size: 24px;
}

.af-policy-section p,
.af-policy-section ul,
.af-policy-section ol {
    margin-bottom: 18px;
}

.af-policy-section li + li {
    margin-top: 8px;
}

.af-site-footer p {
    margin-top: 0;
    margin-bottom: 0;
}

.af-site-footer a {
    color: inherit;
    text-decoration: none;
}

@media (max-width: 1023px) {
    .af-content-page .af-primary-navigation {
        color: var(--af-ink);
        background: var(--af-white);
    }
}

@media (max-width: 767px) {
    body.af-content-page {
        font-size: 15px;
        line-height: 1.75;
    }

    .af-content-main {
        padding-top: calc(var(--af-header-height) + 62px);
        padding-bottom: 88px;
    }

    .af-page-header {
        padding-bottom: 32px;
    }

    .af-page-content {
        padding-top: 38px;
    }

    .af-contact-form {
        margin-top: 34px;
        gap: 22px;
    }

    .af-contact-form .wpcf7-submit {
        width: 100%;
    }

    .af-policy-section {
        padding: 28px 0 22px;
    }
}
