/* ================================
   WizerFlow - Policy Page Styles (Dark Theme)
   ================================ */

/* Policy Content Section */
.section.light {
    padding: 6rem 0;
    background-color: var(--dark-bg);
    min-height: 100vh;
}

.section.overflow-visible {
    overflow: visible;
}

.row.flex {
    display: flex;
    margin: 0 -15px;
    flex-wrap: wrap;
}

/* Policy Navigation Sidebar */
.policy-nav-col {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0 15px;
}

.policy-nav {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
}

.policy-nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 10px 0;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    border-left: 2px solid var(--border-subtle);
    padding-left: 16px;
}

.policy-nav-link:hover {
    color: var(--text-primary);
    border-left-color: var(--blue);
}

/* Policy Content Column */
.policy-content-col {
    flex: 0 0 75%;
    max-width: 75%;
    padding: 0 15px;
    color: var(--text-secondary);
}

/* Policy Section Headings */
.policy-section h2 {
    color: var(--text-primary);
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.policy-section {
    margin-bottom: 100px;
}

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

.policy-section + .policy-section {
    margin-top: 80px;
    padding-top: 80px;
    border-top: 1px solid var(--border-subtle);
}

/* Rich Text Content */
.rich-black p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.rich-black h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem;
    font-weight: 700;
}

.rich-black h4 {
    color: var(--text-primary);
    font-size: 1.125rem;
    margin: 1.5rem 0 1rem;
    font-weight: 600;
}

.rich-black ul {
    margin: 1rem 0 1.5rem;
    padding-left: 1.5rem;
}

.rich-black ul li {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.rich-black li strong {
    color: var(--text-primary);
    font-weight: 600;
}

.rich-black a {
    color: var(--blue);
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.rich-black a:hover {
    opacity: 0.8;
}

/* Links */
.policy-content-col a {
    color: var(--blue);
    text-decoration: none;
}

.policy-content-col a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 991px) {
    .policy-nav-col {
        flex: 0 0 30%;
        max-width: 30%;
    }

    .policy-content-col {
        flex: 0 0 70%;
        max-width: 70%;
    }
}

@media (max-width: 767px) {
    .policy-nav-col {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .policy-content-col {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .policy-nav {
        position: relative;
        top: 0;
        flex-direction: row;
        gap: 1rem;
        flex-wrap: wrap;
        border-left: none;
        padding-left: 0;
    }

    .policy-nav-link {
        border-left: none;
        padding-left: 0;
    }

    .policy-section {
        margin-bottom: 60px;
    }

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