/* ============================================
   PRIVACY POLICY PAGE - ENHANCED DESIGN
   ============================================ */
section#content.privacy-policy-page {
    justify-content: center;
    align-items: stretch;
    padding: 40px 16px 60px;
    background-color: #f8fafc;
}

section#content.privacy-policy-page article {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 48px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 23, 96, 0.05);
}

section#content.privacy-policy-page article > :not(script) {
    width: 100%;
}

/* Page Intro/Header */
section#content.privacy-policy-page article > p:first-of-type {
    margin-top: 0;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #475569;
    font-weight: 400;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid #e2e8f0;
    text-indent: 0;
}

/* Section Headings */
section#content.privacy-policy-page article h3 {
    margin: 40px 0 16px;
    font-size: 1.3rem;
    line-height: 1.4;
    color: #0f172a;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

section#content.privacy-policy-page article h3::before {
    content: '';
    display: block;
    width: 6px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 4px;
}

/* Paragraphs & Lists inside sections */
section#content.privacy-policy-page article p,
section#content.privacy-policy-page article li {
    font-size: 1rem;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 12px;
    padding-left: 0;
}

/* Make sure paragraphs BEFORE a list (ul or ol) have no text-indent */
section#content.privacy-policy-page article p:has(+ ul),
section#content.privacy-policy-page article p:has(+ ol) {
    text-indent: 0;
}


section#content.privacy-policy-page article ul {
    list-style-type: disc;
    list-style-position: inside; /* Move bullet inside content flow */
    padding-left: 0; /* Remove default indentation */
    margin-bottom: 20px;
}

section#content.privacy-policy-page article ul li {
    margin-bottom: 8px;
    padding-left: 0; /* Adjust for inside position */
}

/* Remove indent and extra margin for paragraphs inside list items */
section#content.privacy-policy-page article ul li p {
    padding-left: 0;
    text-indent: 0;
    margin-bottom: 0;
    display: inline; /* Make paragraph flow with list item marker */
}

section#content.privacy-policy-page article ul li::marker {
    color: var(--primary-color);
}

/* Specific styling for the Contact section */
section#content.privacy-policy-page article h3:last-of-type ~ ul {
    background: #f1f5f9;
    padding: 24px; /* Use uniform padding */
    border-radius: 12px;
    margin-top: 16px;
}

section#content.privacy-policy-page article h3:last-of-type ~ ul li {
    margin-bottom: 12px;
}

section#content.privacy-policy-page article h3:last-of-type ~ ul li:last-child {
    margin-bottom: 0;
}

/* Links */
section#content.privacy-policy-page article a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

section#content.privacy-policy-page article a:hover {
    color: #1a3fa4;
    text-decoration: underline;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    section#content.privacy-policy-page {
        padding: 32px 14px 48px;
    }

    section#content.privacy-policy-page article {
        padding: 32px 36px;
    }
}

@media (max-width: 767px) {
    section#content.privacy-policy-page {
        padding: 24px 10px 40px;
    }

    section#content.privacy-policy-page article {
        padding: 24px 20px;
        border-radius: 16px;
    }

    section#content.privacy-policy-page article > p:first-of-type {
        font-size: 1rem;
        margin-bottom: 24px;
        padding-bottom: 24px;
    }

    section#content.privacy-policy-page article h3 {
        font-size: 1.15rem;
        margin: 32px 0 12px;
        gap: 8px;
    }

    section#content.privacy-policy-page article h3::before {
        height: 20px;
        width: 5px;
    }

    section#content.privacy-policy-page article p,
    section#content.privacy-policy-page article li {
        font-size: 0.95rem;
    }

    section#content.privacy-policy-page article h3:last-of-type ~ ul {
        padding: 20px;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
#content.privacy-policy-page article {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}