/* ===================================
   POLICY HUB STYLES
   =================================== */

/* Hero Section Adjustments */
.hero { 
    min-height: 50vh;
    contain: layout;
}

/* Service Card Optimizations */
.service-card {
    contain: layout;
}

.service-icon {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.service-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: transparent;
}

/* Language Dropdown Styling */
.lang-dropdown {
    min-width: 80px;
    height: 40px;
}

/* Font Loading - Handled by main style.css */

/* ===================================
   POLICY CONTENT STYLES
   =================================== */

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
    line-height: 1.7;
}

.policy-content h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.policy-content h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem 0;
    font-weight: 600;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.policy-content h3 {
    color: var(--secondary-color);
    font-size: 1.4rem;
    margin: 2rem 0 0.8rem 0;
    font-weight: 600;
}

.policy-content p {
    margin-bottom: 1.2rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.policy-content ul {
    margin: 1rem 0 1.5rem 2rem;
    padding: 0;
}

.policy-content li {
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
}

.policy-content strong {
    color: var(--primary-color);
    font-weight: 600;
}

.policy-content a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.policy-content a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* ===================================
   POLICY SPECIFIC STYLING
   =================================== */

.policy-content .subheadline {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 400;
    font-style: italic;
}

/* Contact Information Styling */
.policy-content ul li:has(strong) {
    margin-bottom: 0.5rem;
}

/* Date Information Styling */
.policy-content p:first-of-type {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 768px) {
    .policy-content {
        padding: 1rem 0;
    }
    
    .policy-content h1 {
        font-size: 2rem;
    }
    
    .policy-content h2 {
        font-size: 1.5rem;
        margin: 2rem 0 0.8rem 0;
    }
    
    .policy-content h3 {
        font-size: 1.2rem;
        margin: 1.5rem 0 0.6rem 0;
    }
    
    .policy-content ul {
        margin: 1rem 0 1.2rem 1.5rem;
    }
    
    .policy-content p,
    .policy-content li {
        font-size: 1rem;
    }
    
    .hero {
        min-height: 40vh;
    }
}

@media (max-width: 480px) {
    .policy-content {
        padding: 0.5rem 0;
    }
    
    .policy-content h1 {
        font-size: 1.8rem;
    }
    
    .policy-content h2 {
        font-size: 1.3rem;
    }
    
    .policy-content h3 {
        font-size: 1.1rem;
    }
    
    .policy-content ul {
        margin: 0.8rem 0 1rem 1rem;
    }
    
    .lang-dropdown {
        min-width: 70px;
        height: 35px;
    }
}

/* ===================================
   PRINT STYLES
   =================================== */

@media print {
    .hero {
        min-height: auto;
        padding: 1rem 0;
    }
    
    .policy-content {
        max-width: none;
        padding: 0;
    }
    
    .policy-content h1,
    .policy-content h2,
    .policy-content h3 {
        color: #000;
        page-break-after: avoid;
    }
    
    .policy-content a {
        color: #000;
        text-decoration: underline;
    }
    
    .policy-content a[href^="mailto:"]::after {
        content: " (" attr(href) ")";
        font-size: 0.9em;
        color: #666;
    }
    
    header,
    footer {
        display: none;
    }
}
