/* Policy page specific styles */

.policy-section {
    max-width: 850px;
    margin: 40px auto 80px;
    padding: 0 20px;
}

.policy-section h1 {
    font-size: 36px;
    margin-bottom: 10px;
    color: var(--apple-black);
}

.last-updated {
    color: var(--apple-light-gray);
    margin-bottom: 40px;
    font-size: 14px;
}

.policy-content {
    line-height: 1.7;
}

.policy-content section {
    margin-bottom: 40px;
}

.policy-content h2 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--apple-black);
}

.policy-content h3 {
    font-size: 18px;
    margin: 20px 0 10px;
    color: var(--apple-black);
}

.policy-content p {
    margin-bottom: 16px;
    color: var(--apple-black);
}

.policy-content ul {
    margin-bottom: 16px;
    padding-left: 25px;
}

.policy-content li {
    margin-bottom: 8px;
    color: var(--apple-black);
}

.policy-content a {
    color: var(--apple-blue);
    text-decoration: none;
    transition: opacity 0.2s;
}

.policy-content a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Dark theme overrides */
.dark-theme .policy-section h1,
.dark-theme .policy-content h2,
.dark-theme .policy-content h3 {
    color: #000000 !important; /* 100% black for headers in dark mode */
}

.dark-theme .policy-content p,
.dark-theme .policy-content li {
    color: rgba(0, 0, 0, 0.8) !important; /* 80% black for body text in dark mode */
}

.dark-theme .last-updated {
    color: rgba(0, 0, 0, 0.6) !important; /* 60% black for last-updated text */
}

/* Fix background color in dark mode for the policy page */
.dark-theme .policy-section {
    background-color: #f5f5f7;
    padding: 30px;
    border-radius: 8px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .policy-section {
        margin: 20px auto 60px;
    }
    
    .policy-section h1 {
        font-size: 28px;
    }
    
    .policy-content h2 {
        font-size: 22px;
    }
    
    .policy-content h3 {
        font-size: 16px;
    }
}