/* ========================================
   ISOMASS POLICY PAGE STYLES
   File: /css/isomass-policy-page.css
   Shared by privacy.php, terms.php and slavery.php
   Dark hero (eyebrow + H1), then one white reading panel
   with each section split by a thin line
======================================== */

.isomass-policy-page {
    background-color: #f3f3f3;
    padding: 0 0 90px;
    font-family: 'Mona Sans', sans-serif;
    overflow-x: clip;
}

/* ========================================
   HERO - dark band running edge to edge
======================================== */
.policy-header {
    position: relative;
    text-align: center;
    padding: 65px 20px 60px;
    margin: 0 calc(50% - 50vw) 70px;
    background-color: #1a1a1a;
}

.policy-eyebrow {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ff4757;
    margin-bottom: 14px;
}

.policy-header h1:not(.policy-eyebrow), .policy-header .policy-title {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.25;
    color: #ffffff;
    position: relative;
    display: inline-block;
    padding-bottom: 18px;
    margin: 0;
}

.policy-header h1:not(.policy-eyebrow)::after, .policy-header .policy-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #d21e2b;
}

/* ========================================
   READING PANEL
======================================== */
.policy-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 60px 50px;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.07);
}

.policy-section {
    padding: 36px 0;
    border-bottom: 1px solid #eee;
}

.policy-section h2 {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.35;
    color: #222;
    position: relative;
    padding-bottom: 12px;
    margin: 0 0 20px;
}

.policy-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 3px;
    background-color: #d21e2b;
}

.policy-section p {
    font-size: 1.02rem;
    line-height: 1.8;
    color: #444;
    margin: 0 0 18px;
}

.policy-section p:last-child {
    margin-bottom: 0;
}

.policy-section strong {
    color: #222;
}

.policy-section a {
    color: #d21e2b;
    font-weight: 600;
    text-underline-offset: 3px;
}

.policy-section ul {
    list-style: none;
    padding: 0;
    margin: 18px 0;
}

.policy-section ul:last-child {
    margin-bottom: 0;
}

.policy-section li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 1.02rem;
    line-height: 1.75;
    color: #444;
}

.policy-section li:last-child {
    margin-bottom: 0;
}

.policy-section li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.68em;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background-color: #d21e2b;
}

/* Copyright notice (terms page) - soft red-tint panel */
.copyright-notice {
    margin: 20px 0;
    padding: 18px 22px;
    background-color: #fdeff0;
    border-radius: 12px;
    font-style: italic;
    font-weight: 600;
    color: #222;
}

/* ========================================
   FOOTER - last updated and download button
======================================== */
.policy-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 36px;
}

.policy-footer p {
    display: inline-block;
    margin: 0 0 22px;
    padding: 8px 18px;
    background-color: #f3f3f3;
    border-radius: 50px;
    font-size: 0.92rem;
    color: #444;
}

.policy-footer p:last-child {
    margin-bottom: 0;
}

.policy-footer strong {
    font-weight: 600;
}

.policy-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #d21e2b;
    color: #ffffff;
    text-decoration: none;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Mona Sans', sans-serif;
}

.policy-download-btn:hover {
    background-color: #b01a24;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(210, 30, 43, 0.35);
    color: #ffffff;
    text-decoration: none;
}

/* ========================================
   RESPONSIVE
======================================== */

/* Tablet - 1024px */
@media (max-width: 1024px) {
    .isomass-policy-page {
        padding-bottom: 75px;
    }

    .policy-header {
        padding: 55px 20px 50px;
        margin-bottom: 55px;
    }

    .policy-header h1:not(.policy-eyebrow), .policy-header .policy-title {
        font-size: 2.1rem;
    }

    .policy-content {
        padding: 15px 45px 40px;
    }
}

/* Mobile - 768px */
@media (max-width: 768px) {
    .isomass-policy-page {
        padding-bottom: 55px;
    }

    .policy-header {
        padding: 45px 20px 42px;
        margin-bottom: 35px;
    }

    .policy-header h1:not(.policy-eyebrow), .policy-header .policy-title {
        font-size: 1.8rem;
    }

    .policy-header h1:not(.policy-eyebrow)::after, .policy-header .policy-title::after {
        width: 60px;
    }

    .policy-content {
        padding: 10px 28px 32px;
    }

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

    .policy-section h2 {
        font-size: 1.25rem;
    }

    .policy-section p,
    .policy-section li {
        font-size: 1rem;
    }
}

/* Small Mobile - 480px */
@media (max-width: 480px) {
    .policy-eyebrow {
        font-size: 0.72rem;
        letter-spacing: 1.5px;
    }

    .policy-header h1:not(.policy-eyebrow), .policy-header .policy-title {
        font-size: 1.5rem;
    }

    .policy-header h1:not(.policy-eyebrow)::after, .policy-header .policy-title::after {
        width: 50px;
        height: 3px;
    }

    .policy-content {
        padding: 5px 20px 28px;
        border-radius: 14px;
    }

    .policy-section {
        padding: 24px 0;
    }

    .policy-section p,
    .policy-section li {
        font-size: 0.96rem;
        line-height: 1.75;
    }

    .policy-download-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ---------- SEO H1 - eyebrow line is now the H1 ---------- */
h1.policy-eyebrow {
    display: block;
    line-height: 1.5;
    margin: 0 0 14px;
}
