/* --- Split Layout Policy Pages --- */
.policy-wrapper {
    background-color: var(--bg-light);
    /* INCREASED TOP PADDING FROM 6rem to 10rem */
    padding: 10rem 2rem 6rem 2rem;
}

.policy-split-layout {
    display: flex;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start; /* Keeps the sidebar at the top */
}

/* --- Left Sidebar (Sticky Title Area) --- */
.policy-sidebar {
    flex: 0 0 320px;
    position: sticky;
    top: 120px; /* Prevents it from tucking under your navigation */
}

.policy-kicker {
    display: block;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--brand-purple);
    margin-bottom: 1.5rem;
}

.policy-page-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--bg-dark);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.policy-meta {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* --- Right Main Content (Scrolling Text) --- */
.policy-main-content {
    flex: 1;
    max-width: 750px; /* Restricts line length to prevent reading fatigue */
    color: #333;
}

.policy-main-content h2 {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 3.5rem 0 1.25rem 0;
    color: var(--bg-dark);
}

.policy-main-content h2:first-child {
    margin-top: 0;
}

/* Used for specific sub-headings like in the Quality & B-BBEE policies */
.policy-main-content h3 {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.5rem 0 0.5rem 0;
    color: var(--bg-dark);
}

.policy-main-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.policy-main-content ul {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.policy-main-content li {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 0.75rem;
    position: relative;
}

/* --- Mobile Responsive Stacking --- */
@media (max-width: 992px) {
    .policy-split-layout {
        flex-direction: column;
        gap: 3rem;
        /* ENSURES CONTENT DOESN'T HIT TOP */
        padding-top: 2rem;
    }

    .policy-sidebar {
        position: static;
        flex: none;
        width: 100%;
        border-bottom: 2px solid #e0e0e0;
        padding-bottom: 2rem;
        /* Centers the main Title, Kicker, and Meta text when stacked */
        text-align: center;
    }

    .policy-page-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 576px) {
    .policy-wrapper {
        padding: 6rem 1.25rem 4rem 1.25rem; /* Slightly reduced top padding on small screens */
    }

    .policy-page-title {
        font-size: 2.2rem;
    }

    .policy-main-content h2 {
        font-size: 1.15rem;
        margin: 2.5rem 0 1rem 0;
    }

    /* Centers all the internal policy section headings on mobile */
    .policy-main-content h2,
    .policy-main-content h3 {
        text-align: center;
    }

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