/* ========================================
   LEGAL PAGES STYLES (Privacy Policy, Terms of Service)
   Heritage Life Solutions
   ======================================== */

/* ========================================
   HERO SECTION
   ======================================== */
.legal-hero {
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.legal-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(30, 58, 95, 0.85) 0%, rgba(30, 58, 95, 0.6) 50%, rgba(30, 58, 95, 0.4) 100%);
    z-index: 1;
}

.legal-hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.legal-hero-content {
    max-width: 600px;
    text-align: left;
}

.legal-hero-title {
    font-family: var(--font-family);
    font-size: var(--h1-size);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.legal-hero-subtitle {
    font-family: var(--font-family);
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--color-white);
    line-height: 1.5;
    opacity: 0.95;
}

/* ========================================
   CONTENT SECTION
   ======================================== */
.legal-content-section {
    padding: 4rem 0;
    background: var(--color-white);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    font-family: var(--font-family);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-primary);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-family: var(--font-family);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1rem;
}

.legal-content ul,
.legal-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-content li {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 0.5rem;
}

.legal-content a {
    color: var(--color-primary);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.legal-content a:hover {
    color: var(--color-navy);
}

.legal-effective-date {
    font-size: 0.95rem;
    color: #666;
    font-style: italic;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

/* ========================================
   CONTACT BOX
   ======================================== */
.legal-contact-box {
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: var(--color-light-grey);
    border-radius: var(--button-radius);
    border-left: 4px solid var(--color-primary);
}

.legal-contact-box h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.legal-contact-box p {
    margin-bottom: 0.5rem;
}

.legal-contact-box p:last-child {
    margin-bottom: 0;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */
@media (max-width: 768px) {
    .legal-hero {
        min-height: 300px;
    }

    .legal-content-section {
        padding: 3rem 0;
    }

    .legal-content h2 {
        font-size: 1.35rem;
    }

    .legal-content h3 {
        font-size: 1.15rem;
    }
}
