/**
 * Infocruit — Legal Pages Shared Stylesheet
 * Used by: page-privacy-policy.php, page-terms.php, page-disclaimer.php
 * Extracted from inline <style> blocks per AI_CODING_STANDARDS §4a.
 */

/* ── Hero Banner ────────────────────────────────────────────── */
.ic-legal-hero {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    padding: 56px 0;
    text-align: center;
    color: #fff;
}
.ic-legal-hero h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0 0 10px;
}
.ic-legal-hero p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

/* ── Content Wrapper ────────────────────────────────────────── */
.ic-legal-wrap {
    max-width: 820px;
    margin: 0 auto;
    padding: 52px 24px 64px;
}

/* ── Meta Bar ───────────────────────────────────────────────── */
.ic-legal-meta {
    background: #f1f5f9;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 32px;
}

/* ── Table of Contents ──────────────────────────────────────── */
.ic-legal-wrap .ic-toc {
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 40px;
}

/* Privacy Policy TOC — blue */
.page-privacy-policy .ic-toc {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
}
.page-privacy-policy .ic-toc h2 { color: #0369a1; }
.page-privacy-policy .ic-toc ol { color: #0369a1; }
.page-privacy-policy .ic-toc a  { color: #0369a1; }

/* Terms TOC — green */
.page-terms .ic-toc {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}
.page-terms .ic-toc h2 { color: #14532d; }
.page-terms .ic-toc ol { color: #15803d; }
.page-terms .ic-toc a  { color: #16a34a; }

/* Disclaimer TOC — orange */
.page-disclaimer .ic-toc {
    background: #fff7ed;
    border: 1px solid #fed7aa;
}
.page-disclaimer .ic-toc h2 { color: #9a3412; }
.page-disclaimer .ic-toc ol { color: #9a3412; }
.page-disclaimer .ic-toc a  { color: #c2410c; }

/* Shared TOC typography */
.ic-legal-wrap .ic-toc h2 {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 10px;
}
.ic-legal-wrap .ic-toc ol {
    margin: 0;
    padding-left: 18px;
    font-size: 0.9rem;
    line-height: 2;
}
.ic-legal-wrap .ic-toc a {
    text-decoration: none;
    font-weight: 600;
}

/* ── Section Headings ───────────────────────────────────────── */
.ic-legal-wrap h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 36px 0 10px;
    padding-bottom: 6px;
    border-bottom: 2px solid #e2e8f0;
}

/* ── Body Text ──────────────────────────────────────────────── */
.ic-legal-wrap p,
.ic-legal-wrap li {
    font-size: 0.95rem;
    color: #374151;
    line-height: 1.85;
    margin-bottom: 10px;
}
.ic-legal-wrap ul {
    padding-left: 20px;
    margin-bottom: 14px;
}

/* ── Disclaimer-specific: Warning Box ──────────────────────── */
.ic-warning-box {
    background: #fff7ed;
    border-left: 4px solid #f97316;
    border-radius: 0 8px 8px 0;
    padding: 16px 20px;
    margin: 20px 0;
    font-size: 0.95rem;
    color: #9a3412;
    font-weight: 600;
}

/* ── Trademark & Logo Disclaimer Box ───────────────────────── */
.ic-disclaimer-box {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-left: 4px solid #f59e0b;
    border-radius: 0 10px 10px 0;
    padding: 16px 20px;
    margin-bottom: 32px;
}
.ic-disclaimer-icon {
    font-size: 1.4rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}
.ic-disclaimer-box strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.ic-disclaimer-box p {
    font-size: 0.88rem;
    color: #78350f;
    line-height: 1.7;
    margin: 0;
}
