/* Legal Pages CSS - imperfect human-style code */

.legal-header {
  background: linear-gradient(135deg, #2c5aa0 0%, #1e4a8c 100%);
  padding: 80px 0 60px 0;
  position: relative;
  color: #fff;
}

.legal-header::before {
    position: absolute;
    content: "";
    background-color: #001D38;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: .35;
}

.legal-header .container {
    position: relative;
    z-index: 1;
}

.legal-header h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    color: #fff;
}

.legal-header .last-updated {
    font-size: 1.1rem;
    color: #E8E8E8;
    margin-bottom: 0;
    opacity: 0.9;
}

.legal-content {
    padding: 70px 0 60px 0;
    background: #fff;
    min-height: 500px;
}

.content-wrapper {
    background: #fff;
    padding: 0;
    line-height: 1.7;
}

.intro-text {
    background: #f8f9fd;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
    border-left: 5px solid #2b98f0;
}

.intro-text p {
    font-size: 1.1rem;
    color: #2c4e63;
    margin-bottom: 0;
    font-weight: 400;
    line-height: 1.6;
}

.content-wrapper h2 {
    font-size: 1.8rem;
    color: #333;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 8px;
}

.content-wrapper h2:first-of-type {
    margin-top: 0;
}

.content-wrapper p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 18px;
    text-align: left;
}

.content-wrapper p strong {
    color: #333;
    font-weight: 600;
}

.content-wrapper em {
    font-style: italic;
    color: #666;
}

.policy-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #dee2e6;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 6px;
}

.policy-footer p {
    margin-bottom: 0;
    font-size: 14px;
    color: #6c757d;
    text-align: center;
}

/* Column classes for legal pages */
.col-12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.col-lg-10 {
    -ms-flex: 0 0 83.333333%;
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
    padding-right: 15px;
    padding-left: 15px;
}

.mx-auto {
    margin-right: auto !important;
    margin-left: auto !important;
}

/* Responsive breakpoints */
@media (max-width: 991.98px) {
    .legal-header {
        padding: 60px 0 40px 0;
    }
    
    .legal-header h1 {
        font-size: 2.5rem;
    }
    
    .legal-content {
        padding: 50px 0 40px 0;
    }
    
    .content-wrapper h2 {
        font-size: 1.6rem;
        margin-top: 35px;
    }
    
    .intro-text {
        padding: 25px;
        margin-bottom: 35px;
    }
    
    .col-lg-10 {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 767.98px) {
    .legal-header {
        padding: 50px 0 30px 0;
    }
    
    .legal-header h1 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .legal-header .last-updated {
        font-size: 1rem;
    }
    
    .legal-content {
        padding: 40px 0 30px 0;
    }
    
    .content-wrapper h2 {
        font-size: 1.4rem;
        margin-top: 30px;
        margin-bottom: 15px;
    }
    
    .content-wrapper p {
        font-size: 15px;
        margin-bottom: 16px;
    }
    
    .intro-text {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .intro-text p {
        font-size: 1rem;
    }
    
    .policy-footer {
        margin-top: 40px;
        padding: 20px;
    }
}

@media (max-width: 575.98px) {
    .legal-header {
        padding: 40px 0 25px 0;
    }
    
    .legal-header h1 {
        font-size: 1.8rem;
    }
    
    .legal-content {
        padding: 30px 0 25px 0;
    }
    
    .content-wrapper h2 {
        font-size: 1.3rem;
        margin-top: 25px;
    }
    
    .content-wrapper p {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .intro-text {
        padding: 18px;
        margin-bottom: 25px;
    }
    
    .intro-text p {
        font-size: 15px;
    }
    
    .policy-footer {
        margin-top: 30px;
        padding: 18px;
    }
    
    .policy-footer p {
        font-size: 13px;
    }
}

/* Text formatting utilities */
.text-center {
    text-align: center !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.mt-5 {
    margin-top: 3rem !important;
}