/**
 * Legal Pages Styles
 * Styling for privacy policy, terms & conditions, and other legal pages
 */

/* Legal Page Layout */
.policy-page,
.terms-page,
.faq-page {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Header Styles */
.policy-page__header,
.terms-page__header {
    margin-bottom: 40px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 20px;
}

.policy-page__header h1,
.terms-page__header h1 {
    font-size: 32px;
    color: #1e3a8a;
    margin-bottom: 15px;
}

.policy-page__intro,
.terms-page__intro {
    font-size: 18px;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 15px;
}

.policy-page__last-updated,
.terms-page__last-updated {
    font-size: 14px;
    color: #6b7280;
    font-style: italic;
}

/* Content Styles */
.policy-page__content,
.terms-page__content {
    font-size: 16px;
    line-height: 1.7;
    color: #374151;
}

.policy-content,
.terms-content {
    margin-bottom: 30px;
}

.policy-content h2,
.terms-content h2,
.policy-page__contact h2,
.terms-page__contact h2,
.policy-page__disclaimers h2,
.terms-page__jurisdiction h2,
.terms-page__acceptance h2 {
    font-size: 24px;
    color: #1e3a8a;
    margin: 30px 0 15px;
    padding-bottom: 5px;
    border-bottom: 1px solid #e5e7eb;
}

.policy-content h3,
.terms-content h3 {
    font-size: 20px;
    color: #1e3a8a;
    margin: 25px 0 12px;
}

.policy-content h4,
.terms-content h4 {
    font-size: 18px;
    color: #1e3a8a;
    margin: 20px 0 10px;
}

.policy-content p,
.terms-content p,
.policy-page__contact p,
.terms-page__contact p,
.policy-page__disclaimers p,
.terms-page__jurisdiction p,
.terms-page__acceptance p {
    margin-bottom: 15px;
}

.policy-content ul,
.terms-content ul {
    margin: 15px 0;
    padding-left: 25px;
}

.policy-content li,
.terms-content li {
    margin-bottom: 8px;
}

.policy-content a,
.terms-content a {
    color: #1e3a8a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.policy-content a:hover,
.terms-content a:hover {
    color: #1e40af;
    text-decoration: underline;
}

/* Section Styles */
.policy-page__contact,
.terms-page__contact,
.policy-page__disclaimers,
.terms-page__jurisdiction,
.terms-page__acceptance {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

/* Special Content Formatting */
.legal-highlight {
    background-color: #f0f5ff;
    padding: 15px;
    border-left: 4px solid #1e3a8a;
    margin: 20px 0;
    border-radius: 0 4px 4px 0;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.legal-table th {
    background-color: #f8fafc;
    font-weight: 600;
    text-align: left;
    padding: 10px;
    border-bottom: 2px solid #e5e7eb;
}

.legal-table td {
    padding: 10px;
    border-bottom: 1px solid #e5e7eb;
}

.legal-table tr:last-child td {
    border-bottom: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .policy-page,
    .terms-page,
    .faq-page {
        padding: 0;
    }
    
    .policy-page__header h1,
    .terms-page__header h1 {
        font-size: 28px;
    }
    
    .policy-page__intro,
    .terms-page__intro {
        font-size: 16px;
    }
    
    .policy-content h2,
    .terms-content h2,
    .policy-page__contact h2,
    .terms-page__contact h2,
    .policy-page__disclaimers h2,
    .terms-page__jurisdiction h2,
    .terms-page__acceptance h2 {
        font-size: 22px;
    }
    
    .policy-content h3,
    .terms-content h3 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .policy-page__header h1,
    .terms-page__header h1 {
        font-size: 24px;
    }
    
    .policy-content h2,
    .terms-content h2,
    .policy-page__contact h2,
    .terms-page__contact h2,
    .policy-page__disclaimers h2,
    .terms-page__jurisdiction h2,
    .terms-page__acceptance h2 {
        font-size: 20px;
    }
    
    .policy-content,
    .terms-content {
        font-size: 15px;
    }
}