/* ============================================
   POLICY PAGES STYLESHEET
   Distinguished design for legal/policy documents
   ============================================ */

/* Page Body Styling */
body.policy-page {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ebf0 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #2c3e50;
    line-height: 1.8;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* Main Container */
.policy-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 50px 60px;
    background: #ffffff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    border-top: 5px solid var(--primary-color, #2563eb);
}

/* Header Section */
.policy-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 3px solid #e5e7eb;
}

.policy-header h1 {
    font-size: 2.5em;
    color: var(--primary-color, #2563eb);
    margin: 0 0 20px 0;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.policy-header .policy-meta {
    font-size: 0.95em;
    color: #6b7280;
    font-style: italic;
}

/* Content Area */
.policy-content {
    font-size: 16px;
    color: #374151;
}

/* Typography */
.policy-content h2 {
    font-size: 2em;
    color: #1e3a8a;
    margin: 40px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e7eb;
    font-weight: 600;
}

.policy-content h3 {
    font-size: 1.5em;
    color: #1f2937;
    margin: 30px 0 15px 0;
    font-weight: 600;
}

.policy-content h4 {
    font-size: 1.2em;
    color: #374151;
    margin: 25px 0 12px 0;
    font-weight: 600;
}

.policy-content h5 {
    font-size: 1.1em;
    color: #4b5563;
    margin: 20px 0 10px 0;
    font-weight: 600;
}

.policy-content h6 {
    font-size: 1em;
    color: #6b7280;
    margin: 18px 0 8px 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Paragraphs */
.policy-content p {
    margin: 15px 0;
    line-height: 1.8;
    text-align: justify;
}

/* Lists */
.policy-content ul,
.policy-content ol {
    margin: 15px 0;
    padding-left: 30px;
}

.policy-content li {
    margin: 10px 0;
    line-height: 1.7;
}

.policy-content ul li {
    list-style-type: disc;
}

.policy-content ol li {
    list-style-type: decimal;
}

/* Nested Lists */
.policy-content ul ul,
.policy-content ol ol {
    margin: 8px 0;
    padding-left: 25px;
}

/* Strong/Bold Text */
.policy-content strong {
    color: #1f2937;
    font-weight: 700;
}

/* Emphasis/Italic Text */
.policy-content em {
    color: #4b5563;
    font-style: italic;
}

/* Horizontal Rules */
.policy-content hr {
    border: none;
    border-top: 1px solid #d1d5db;
    margin: 40px 0;
}

/* Section Separator - creates visual break between major sections */
.policy-section {
    margin-bottom: 40px;
}

/* Meta information spacing */
.policy-meta p {
    margin: 5px 0;
}

/* Contact information block */
.policy-contact {
    display: block;
    line-height: 1.8;
}

.policy-contact strong {
    display: block;
    margin-bottom: 5px;
}

/* Special Separators */
.policy-content .b-separator {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.policy-content .b-separator::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--primary-color, #2563eb);
    border-radius: 2px;
}

/* Highlight Boxes */
.policy-highlight {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 20px;
    margin: 25px 0;
    border-radius: 4px;
}

.policy-warning {
    background: #fee2e2;
    border-left: 4px solid #dc2626;
    padding: 20px;
    margin: 25px 0;
    border-radius: 4px;
}

.policy-info {
    background: #dbeafe;
    border-left: 4px solid #2563eb;
    padding: 20px;
    margin: 25px 0;
    border-radius: 4px;
}

/* Blockquotes */
.policy-content blockquote {
    border-left: 4px solid #9ca3af;
    padding-left: 20px;
    margin: 25px 0;
    color: #6b7280;
    font-style: italic;
}

/* Footer Section */
.policy-footer {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 2px solid #e5e7eb;
    text-align: center;
    color: #6b7280;
    font-size: 0.9em;
}

/* Print Styles */
@media print {
    body.policy-page {
        background: white;
    }
    
    .policy-container {
        box-shadow: none;
        border: 1px solid #000;
        margin: 0;
        padding: 40px;
    }
    
    .policy-content h2 {
        page-break-after: avoid;
    }
    
    .policy-content h3,
    .policy-content h4 {
        page-break-after: avoid;
    }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .policy-container {
        margin: 20px;
        padding: 30px 25px;
        border-radius: 8px;
    }
    
    .policy-header h1 {
        font-size: 1.8em;
    }
    
    .policy-content h2 {
        font-size: 1.6em;
    }
    
    .policy-content h3 {
        font-size: 1.3em;
    }
    
    .policy-content {
        font-size: 15px;
    }
    
    .policy-content p {
        text-align: left;
    }
}

@media screen and (max-width: 480px) {
    .policy-container {
        margin: 10px;
        padding: 20px 15px;
    }
    
    .policy-header {
        margin-bottom: 30px;
        padding-bottom: 20px;
    }
    
    .policy-header h1 {
        font-size: 1.5em;
    }
    
    .policy-content h2 {
        font-size: 1.4em;
    }
    
    .policy-content ul,
    .policy-content ol {
        padding-left: 20px;
    }
}