/* Policy Pages Styles - Manga Pop */

.policy-header {
    padding: 160px 0 80px;
    background: var(--bg-body);
    text-align: center;
    border-bottom: var(--border-black);
    /* Fun bg pattern */
    background-image: repeating-linear-gradient(45deg, #f0f0f0 25%, transparent 25%, transparent 75%, #f0f0f0 75%, #f0f0f0), repeating-linear-gradient(45deg, #f0f0f0 25%, #ffffff 25%, #ffffff 75%, #f0f0f0 75%, #f0f0f0);
    background-position: 0 0, 10px 10px;
    background-size: 20px 20px;
}

.policy-header h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: #000;
    text-shadow: 4px 4px 0px var(--primary-color);
}

.last-updated {
    font-size: 1.1rem;
    color: #000;
    font-weight: 700;
    background: white;
    display: inline-block;
    padding: 5px 15px;
    border: var(--border-thin);
    box-shadow: 3px 3px 0 0 #000;
}

.policy-content {
    padding: 4rem 0;
    background: white;
}

.policy-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 4rem;
    align-items: start;
}

/* Sidebar Styles - Blocky Tables */
.policy-sidebar {
    position: sticky;
    top: 100px;
    padding-right: 1rem;
}

.policy-sidebar h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #000;
    margin-bottom: 1.5rem;
    font-weight: 900;
    background: var(--secondary-color);
    padding: 10px;
    border: var(--border-thin);
}

.policy-nav {
    list-style: none;
    border: var(--border-thin);
    box-shadow: var(--shadow-pop);
}

.policy-nav li {
    margin-bottom: 0;
    border-bottom: var(--border-thin);
}

.policy-nav li:last-child {
    border-bottom: none;
}

.policy-nav a {
    text-decoration: none;
    color: #000;
    font-size: 1rem;
    font-weight: 600;
    display: block;
    padding: 0.8rem 1.2rem;
    transition: all 0.2s;
    background: white;
}

.policy-nav a:hover {
    background: var(--primary-color);
    padding-left: 1.5rem;
}

.policy-nav a.active {
    background: #000;
    color: white;
}

/* Main Content Styles */
.policy-main {
    background: white;
}

.policy-section {
    margin-bottom: 3.5rem;
    scroll-margin-top: 100px;
    border: var(--border-thin);
    padding: 2rem;
    box-shadow: var(--shadow-pop);
}

.policy-section:last-child {
    margin-bottom: 0;
}

.policy-section h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
    color: #000;
    background: var(--accent-color);
    display: inline-block;
    padding: 5px 15px;
    border: var(--border-thin);
    box-shadow: 3px 3px 0 0 #000;
    color: white;
}

.policy-section h3 {
    font-size: 1.4rem;
    color: #000;
    margin: 2rem 0 1rem;
    border-left: 5px solid var(--primary-color);
    padding-left: 10px;
}

.policy-section p {
    color: #000;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    line-height: 1.7;
    font-weight: 500;
}

.policy-section ul {
    margin: 1.25rem 0;
    padding-left: 1.5rem;
}

.policy-section ul li {
    color: #000;
    margin-bottom: 0.75rem;
    list-style-type: square;
    font-weight: 500;
}

.policy-section strong {
    color: #000;
    font-weight: 800;
    background: rgba(255, 144, 232, 0.3);
    /* Subtle marker highlight */
}

.policy-section a {
    color: #000;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    font-weight: 700;
    background: var(--secondary-color);
}

.policy-section a:hover {
    background: #000;
    color: white;
}

.contact-info {
    background: var(--bg-surface-alt);
    padding: 2rem;
    border: var(--border-thin);
    margin-top: 2rem;
    border-radius: var(--radius-md);
}

/* 
   MOBILE RESPONSIVENESS - CHUNKY CHIPS
*/
@media (max-width: 900px) {
    .policy-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .policy-header {
        padding: 120px 0 40px;
    }

    .policy-header h1 {
        font-size: 2.5rem;
    }

    /* Sticky Mobile Nav Strip */
    .policy-sidebar {
        position: sticky;
        top: 70px;
        z-index: 90;
        padding: 0.8rem 1rem;
        margin: 0 -20px;
        /* Full width edge-to-edge */
        background: white;
        border-bottom: var(--border-black);
        border-top: var(--border-black);
    }

    .policy-sidebar h3 {
        display: none;
    }

    .policy-nav {
        display: flex;
        overflow-x: auto;
        gap: 0.8rem;
        padding-bottom: 0.5rem;
        border: none;
        box-shadow: none;

        /* Hide Scrollbar */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .policy-nav::-webkit-scrollbar {
        display: none;
    }

    .policy-nav li {
        flex-shrink: 0;
        border: none;
    }

    /* Mobile Chunky Chip Style */
    .policy-nav a {
        padding: 0.5rem 1rem;
        border: 2px solid #000;
        background: white;
        font-size: 0.9rem;
        margin: 0;
        text-align: center;
        white-space: nowrap;
        box-shadow: 2px 2px 0 0 #000;
        border-radius: 4px;
    }

    .policy-nav a:hover {
        transform: translate(-1px, -1px);
        box-shadow: 3px 3px 0 0 #000;
    }

    .policy-nav a.active {
        background: var(--secondary-color);
        color: #000;
        border-color: #000;
        box-shadow: inset 2px 2px 0 0 rgba(0, 0, 0, 0.1);
    }

    .policy-main {
        padding: 1rem 0;
        background: transparent;
    }

    .policy-section {
        padding: 1.5rem;
        background: white;
    }
}