/* =============================================
   LEGAL PAGES — legal.css
   Shared by: terms-conditions.php, privacy-policy.php
   ============================================= */

/* =============================================
   PAGE HEADER
   ============================================= */

.legal_header {
    background: var(--charcoal);
    border-bottom: 1px solid var(--border);
    padding: 9rem 0 3.5rem;
}

.legal_header_inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.legal_breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--text-xs);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.legal_breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition);
}

.legal_breadcrumb a:hover {
    color: var(--amber);
}

.legal_breadcrumb i {
    font-size: 0.55rem;
    color: var(--border);
}

.legal_header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.legal_header_meta {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.legal_header_meta a {
    color: var(--amber);
    text-decoration: none;
}

.legal_header_meta a:hover {
    text-decoration: underline;
}

@media (max-width: 996px) {
    .legal_header {
        padding: 8rem 0 3rem;
    }
}

@media (max-width: 600px) {
    .legal_header {
        padding: 7rem 0 2.5rem;
    }
}

/* =============================================
   CONTENT AREA
   ============================================= */

.legal_content {
    background: var(--cream);
    padding: 4.5rem 0 6rem;
}

.legal_content_inner {
    margin: 0;
}

/* =============================================
   SECTIONS
   ============================================= */

.legal_section {
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 3rem;
}

.legal_section:last-child {
    padding-bottom: 0;
    border-bottom: none;
    margin-bottom: 0;
}

.legal_section h2 {
    font-size: clamp(1.15rem, 2.5vw, 1.4rem);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.legal_section h2::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 1.1em;
    background: var(--amber);
    border-radius: 2px;
    flex-shrink: 0;
}

.legal_section p {
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.1rem;
}

.legal_section p:last-child {
    margin-bottom: 0;
}

.legal_section a {
    color: var(--amber);
    text-decoration: none;
}

.legal_section a:hover {
    text-decoration: underline;
}

.legal_section ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.legal_section ul li {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: 1.65;
    padding: 0.65rem 0.9rem;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.legal_section ul li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--amber);
    border-radius: 50%;
    margin-top: 0.55em;
    flex-shrink: 0;
}

/* =============================================
   HIGHLIGHT BOX
   ============================================= */

.legal_highlight {
    background: rgba(255, 155, 0, 0.06);
    border: 1px solid rgba(255, 155, 0, 0.18);
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    margin-top: 1.5rem;
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.legal_highlight i {
    color: var(--amber);
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.legal_highlight p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
}

.legal_highlight strong {
    color: var(--text-primary);
}

/* =============================================
   RELATED LINK ROW
   ============================================= */

.legal_related {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.legal_related_label {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.legal_related_link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--amber);
    text-decoration: none;
    transition: opacity var(--transition);
}

.legal_related_link:hover {
    opacity: 0.75;
}

.legal_related_link i {
    font-size: 0.75rem;
}

@media (max-width: 600px) {
    .legal_content {
        padding: 3rem 0 4.5rem;
    }

    .legal_section {
        padding-bottom: 2rem;
        margin-bottom: 2rem;
    }

    .legal_related {
        flex-direction: column;
        align-items: flex-start;
    }
}
