/* ==========================================
   MASTER POLICY LAYOUT
   30/70 Split Ledger for Compliance Pages
   ========================================== */

/* Force the Alabaster background for legibility */
.light-theme-override {
    background-color: #E6E4E0; 
    color: #050505;
}

/* --- THE SPLIT LAYOUT --- */
.policy-wrapper {
    display: flex;
    min-height: 100vh;
    padding: 12rem 5% 8rem 5%; /* Clears the global navbar */
    max-width: 1400px;
    margin: 0 auto;
    gap: 6rem; /* Large breathing room between sidebar and text */
}

/* --- LEFT: STICKY SIDEBAR (30%) --- */
.policy-sidebar {
    flex: 0 0 300px; /* Fixed width */
    position: sticky;
    top: 12rem; /* Locks in place slightly below the navbar */
    height: max-content;
}

.policy-kicker {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #555555;
    display: block;
    margin-bottom: 0.5rem;
}

.policy-title {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
}

.policy-accent-line {
    width: 100%;
    height: 2px;
    background-color: #C89B3C; /* Matte Gold */
    margin-bottom: 1rem;
}

.policy-meta {
    font-size: 0.9rem;
    color: #555555;
}

/* --- RIGHT: TEXT CONTENT (70%) --- */
.policy-content {
    flex: 1;
    max-width: 800px; /* Restricts line length for perfect reading ergonomics */
}

.policy-section {
    margin-bottom: 3.5rem;
}

.policy-section h2 {
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #050505;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.policy-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444444; /* Slightly softer black for easier reading */
    margin-bottom: 1.5rem;
}

.policy-list {
    list-style: none;
    padding-left: 0;
}

.policy-list li {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444444;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
}

/* Custom Matte Gold Bullet Points */
.policy-list li::before {
    content: '■';
    position: absolute;
    left: 0;
    top: 0;
    color: #C89B3C;
    font-size: 0.8rem;
}

/* --- CTA BUTTON --- */
.policy-cta {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(5, 5, 5, 0.1);
}

.policy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 3rem;
    border-radius: 50px;
    border: 2px solid #050505;
    background: #050505;
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.policy-btn:hover {
    background: transparent;
    color: #050505;
}

/* --- LIGHT THEME NAV OVERRIDES --- */
.light-theme-override .flip-link { color: #555555; }
.light-theme-override .flip-link::before { color: #050505; }
.light-theme-override .nav-btn { border-color: #050505; color: #050505; }
.light-theme-override .nav-btn:hover { background-color: #050505; color: #ffffff; }
.light-theme-override .mobile-menu-btn { color: #050505; }
.light-theme-override .navbar.scrolled { background: transparent !important; border-bottom: none; }

/* --- MOBILE TRANSLATION --- */
@media (max-width: 768px) {
    .policy-wrapper {
        flex-direction: column;
        gap: 3rem;
    }

    .policy-sidebar {
        flex: auto;
        position: relative;
        top: 0;
        width: 100%;
        border-bottom: 2px solid #C89B3C;
        padding-bottom: 2rem;
    }

    .policy-accent-line {
        display: none; /* Hide the line since we moved it to the bottom */
    }
}