/* Policy Pages Styles - Matched to Site Aesthetic */

:root {
    /* Inherit variables from global if available, or redefine defaults matching home.php */
    --bg1: #f5f5f5;
    --bg2: #ffffff;
    --accent: #c73e1d;
    --accent-soft: #ff6b4a;
    --text: #1a1a2e;
    --muted: #555566;
    --glass: rgba(0, 0, 0, 0.03);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.8;
    background:
        radial-gradient(circle at top, rgba(199, 62, 29, 0.08), transparent 45%),
        linear-gradient(180deg, var(--bg2), var(--bg1));
    margin: 0;
    padding: 0;
}

.policy-container {
    max-width: 1000px;
    margin: 60px auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.policy-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(199, 62, 29, 0.1);
}

.policy-header h1 {
    font-family: 'Cinzel', serif;
    color: var(--text);
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.policy-header .last-updated {
    color: var(--muted);
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.policy-content {
    font-size: 1.05rem;
    color: var(--text);
}

.policy-content h2 {
    font-family: 'Cinzel', serif;
    color: var(--accent);
    font-size: 1.8rem;
    margin-top: 50px;
    margin-bottom: 25px;
    border-left: 3px solid var(--accent);
    padding-left: 15px;
}

.policy-content h3 {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 35px;
    margin-bottom: 15px;
}

.policy-content h5 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: var(--accent);
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.policy-content p {
    margin-bottom: 20px;
    color: #4a4a5e;
    /* Slightly softer than main text for readability */
}

.policy-content ul {
    margin-bottom: 25px;
    padding-left: 20px;
    list-style-type: disc;
}

.policy-content li {
    margin-bottom: 10px;
    color: #4a4a5e;
}

.policy-content strong {
    color: var(--text);
    font-weight: 600;
}

.alert {
    padding: 20px;
    border-radius: 8px;
    margin: 25px 0;
    font-size: 0.95rem;
}

.alert-info {
    background-color: rgba(199, 62, 29, 0.05);
    /* Accent tint */
    border: 1px solid rgba(199, 62, 29, 0.1);
    color: var(--text);
}

.alert-secondary {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    color: var(--muted);
}

@media (max-width: 768px) {
    .policy-container {
        margin: 20px;
        padding: 25px;
    }

    .policy-header h1 {
        font-size: 2rem;
    }

    .policy-content h2 {
        font-size: 1.5rem;
    }
}