/* ============================================
   PRIVACY POLICY PAGE SPECIFIC STYLES
   ============================================ */

/* Hero — consistent with all other pages */
.privacy-hero {
    background: linear-gradient(rgba(65, 105, 225, 0.85), rgba(30, 60, 160, 0.95)),
                url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.privacy-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.privacy-hero p {
    opacity: 0.9;
    font-size: 20px;
    max-width: 600px;
    margin: 0 auto;
}

/* Content area */
.privacy-content {
    max-width: 860px;
    margin: 60px auto;
    padding: 0 20px 80px;
}

.privacy-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #1E3EA1;
    margin: 50px 0 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f5b63a;
}

.privacy-content h3 {
    font-size: 1.1rem;
    color: #1E3EA1;
    margin: 25px 0 10px;
}

.privacy-content p,
.privacy-content li {
    color: #444;
    line-height: 1.8;
    font-size: 0.97rem;
}

.privacy-content ul {
    padding-left: 22px;
    margin: 10px 0;
}

.privacy-content li {
    margin-bottom: 6px;
}

/* Table */
.privacy-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.93rem;
}

.privacy-content table th {
    background: #1E3EA1;
    color: white;
    padding: 10px 14px;
    text-align: left;
}

.privacy-content table td {
    padding: 10px 14px;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: top;
}

.privacy-content table tr:nth-child(even) td {
    background: #f7f9fc;
}

/* Updated badge */
.updated-badge {
    display: inline-block;
    background: #EEF2FE;
    color: #1E3EA1;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.88rem;
    margin-top: 12px;
}

/* Rights grid */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.right-card {
    border: 1px solid #d0dce8;
    border-radius: 8px;
    padding: 16px;
}

.right-card i {
    color: #f5b63a;
    font-size: 1.3rem;
    margin-bottom: 8px;
    display: block;
}

.right-card strong {
    color: #1E3EA1;
    display: block;
    margin-bottom: 6px;
}

.right-card p {
    margin: 0;
    font-size: 0.9rem;
}

/* Contact box */
.contact-box {
    background: #EEF2FE;
    border-left: 4px solid #1E3EA1;
    border-radius: 4px;
    padding: 20px 24px;
    margin: 20px 0;
}

.contact-box p {
    margin: 4px 0;
}

.contact-box a {
    color: #1E3EA1;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .privacy-hero {
        padding: 100px 0 60px;
    }

    .privacy-hero h1 {
        font-size: 32px;
    }

    .privacy-hero p {
        font-size: 16px;
    }

    .rights-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .privacy-hero h1 {
        font-size: 28px;
    }
}

/* =====================================================================
   LIGHT PAGE BACKGROUND — appended override (delete to revert)
   The shared `body.nav-overlay` background is dark navy (#0a1530), which made
   this page read as "too dark" (the content styles were already designed for a
   white page). Scoped to `.page-privacy`, we restore a white page background
   and use near-black body text. The hero stays as-is.
   ===================================================================== */
body.nav-overlay.page-privacy { background-color: #ffffff; }

/* near-black, high-contrast body copy on white */
.page-privacy .privacy-content p,
.page-privacy .privacy-content li,
.page-privacy .privacy-content table td { color: #23262b; }

/* keep links/headings on-brand but readable on white */
.page-privacy .privacy-content h3 { color: #15224a; }
