/* legal-pages.css — Privacy Policy and Terms of Service pages */

/* Restore vertical scrolling on any page that contains a legal shortcode.
   Overrides the global overflow-y: hidden set in main.css. */
html:has(.legal-page),
body:has(.legal-page) {
    overflow-y: auto !important;
}

/* -----------------------------------------------------------------------
   Featured image banner — taller, title anchored to bottom
   Scoped to body.legal-page-template (added via PHP body_class filter)
   so it doesn't affect other pages that use .full-head-img
   ----------------------------------------------------------------------- */
body.legal-page-template .full-head-img {
    height: 500px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

body.legal-page-template .full-head-img h1.single-title {
    margin: 0;
    padding: 0 24px 30px;
    width: 100%;
    text-align: center;
}

@media (max-width: 767px) {
    body.legal-page-template .full-head-img {
        height: 300px;
    }

    body.legal-page-template .full-head-img h1.single-title {
        padding-bottom: 20px;
        font-size: 24px;
    }
}

.legal-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 24px 80px;
    line-height: 1.8;
    font-size: 15px;
    color: inherit;
}

.legal-page h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.legal-page h2 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 36px;
    margin-bottom: 12px;
}

.legal-page p {
    margin-bottom: 16px;
}

.legal-page a {
    text-decoration: underline;
}

.legal-page .legal-effective-date {
    font-size: 13px;
    color: #888;
    margin-bottom: 32px;
}
