/*
 * Real Clear Biogenix — legal.css
 * Shared by template-privacy.php and template-terms.php.
 * Scoped to .rcb-legal-page wrapper.
 * Tokens mirror home.css / about.css / faq.css exactly.
 */

/* =========================================================
   TOKENS
   ========================================================= */
.rcb-legal-page {
    --v3-dark:       #0a0a0a;
    --v3-navy:       #0a0f1e;
    --v3-navy-2:     #0d1528;
    --v3-light:      #f5f5f5;
    --v3-white:      #ffffff;
    --v3-text:       #111111;
    --v3-muted:      #6b7280;
    --v3-muted-lt:   #9ca3af;
    --v3-blue:       #1e82f0;
    --v3-blue-dk:    #1668cc;
    --v3-blue-lt:    #e6f0fd;
    --v3-border:     #e5e7eb;
    --v3-heading:    'Bebas Neue', 'Impact', 'Arial Narrow', sans-serif;
    --v3-body:       'Inter', system-ui, sans-serif;
    --v3-max:        1200px;
    --v3-px:         40px;
    --v3-shadow-sm:  0 1px 4px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.05);
}

/* =========================================================
   BASE
   ========================================================= */
.rcb-legal-page,
.rcb-legal-page #rcb-main {
    background: var(--v3-light);
    color: var(--v3-text);
    font-family: var(--v3-body);
}

/* =========================================================
   1. HERO — shorter than other pages (no subtext)
   ========================================================= */
.rcb-legal-hero {
    background: linear-gradient(135deg, rgba(10,10,10,.88) 0%, rgba(10,15,30,.88) 100%),
                url('/wp-content/uploads/2026/06/Gemini-Generated-Image-1.jpg');
    background-size: cover;
    background-position: center;
    padding: 44px var(--v3-px) 52px;
}

.rcb-legal-hero__inner {
    max-width: var(--v3-max);
    margin: 0 auto;
}

/* Breadcrumb */
.rcb-legal-breadcrumb {
    margin-bottom: 32px;
}

.rcb-legal-breadcrumb ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.rcb-legal-breadcrumb li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--v3-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.4);
}

.rcb-legal-breadcrumb li a {
    color: rgba(255,255,255,.4);
    text-decoration: none;
    transition: color .15s;
}
.rcb-legal-breadcrumb li a:hover {
    color: rgba(255,255,255,.75);
}

.rcb-legal-breadcrumb li:not(:first-child)::before {
    content: '/';
    color: rgba(255,255,255,.2);
}

/* "LEGAL" badge */
.rcb-legal-hero__badge {
    display: inline-flex;
    align-items: center;
    font-family: var(--v3-body);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255,255,255,.5);
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    padding: 6px 16px;
    border-radius: 2px;
    margin-bottom: 18px;
}

/* Heading */
.rcb-legal-hero__heading {
    font-family: var(--v3-heading);
    font-size: clamp(44px, 6vw, 76px);
    font-weight: 400;
    line-height: .95;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0;
    max-width: 700px;
}

/* =========================================================
   2. CONTENT AREA — white, 800px centered single column
   ========================================================= */
.rcb-legal-content {
    background: var(--v3-white);
    padding: 72px var(--v3-px) 96px;
}

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

/* Last updated / meta line */
.rcb-legal-meta {
    font-family: var(--v3-body);
    font-size: 13px;
    color: var(--v3-muted);
    margin: 0 0 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--v3-border);
}

/* Intro paragraph (before first h2) */
.rcb-legal-intro {
    font-family: var(--v3-body);
    font-size: 16px;
    line-height: 1.7;
    color: #374151;
    margin: 0 0 48px;
}

/* ── Section headings (h2) — blue left border ─────────── */
.rcb-legal-content__inner h2 {
    font-family: var(--v3-heading);
    font-size: 22px;
    font-weight: 400;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--v3-text);
    margin: 52px 0 18px;
    padding-left: 14px;
    border-left: 3px solid var(--v3-blue);
    line-height: 1.2;
}

.rcb-legal-content__inner h2:first-of-type {
    margin-top: 0;
}

/* ── Subheadings (h3) ─────────────────────────────────── */
.rcb-legal-content__inner h3 {
    font-family: var(--v3-body);
    font-size: 16px;
    font-weight: 700;
    color: var(--v3-text);
    margin: 28px 0 10px;
    line-height: 1.4;
}

/* ── Body text ────────────────────────────────────────── */
.rcb-legal-content__inner p {
    font-family: var(--v3-body);
    font-size: 16px;
    line-height: 1.7;
    color: #374151;
    margin: 0 0 16px;
}

.rcb-legal-content__inner p:last-child {
    margin-bottom: 0;
}

/* ── Lists ────────────────────────────────────────────── */
.rcb-legal-content__inner ul,
.rcb-legal-content__inner ol {
    font-family: var(--v3-body);
    font-size: 16px;
    line-height: 1.7;
    color: #374151;
    margin: 0 0 16px;
    padding-left: 24px;
}

.rcb-legal-content__inner li {
    margin-bottom: 6px;
}

.rcb-legal-content__inner li:last-child {
    margin-bottom: 0;
}

/* ── Links ────────────────────────────────────────────── */
.rcb-legal-content__inner a {
    color: var(--v3-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color .15s;
}

.rcb-legal-content__inner a:hover {
    color: var(--v3-blue-dk);
}

/* ── Strong / bold ────────────────────────────────────── */
.rcb-legal-content__inner strong {
    font-weight: 700;
    color: var(--v3-text);
}

/* ── RUO warning block (used in Terms) ───────────────── */
.rcb-legal-warning {
    background: rgba(30,130,240,.06);
    border: 1px solid rgba(30,130,240,.2);
    border-left: 4px solid var(--v3-blue);
    border-radius: 0 6px 6px 0;
    padding: 18px 20px;
    margin: 0 0 16px;
}

.rcb-legal-warning p {
    font-size: 15px !important;
    color: var(--v3-text) !important;
    font-weight: 500;
    margin: 0 !important;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 768px) {
    .rcb-legal-page {
        --v3-px: 20px;
    }

    .rcb-legal-hero {
        padding: 36px var(--v3-px) 44px;
    }

    .rcb-legal-hero__heading {
        font-size: clamp(38px, 9vw, 56px);
    }

    .rcb-legal-content {
        padding: 52px var(--v3-px) 72px;
    }

    .rcb-legal-content__inner h2 {
        font-size: 19px;
        margin-top: 44px;
    }

    .rcb-legal-content__inner p,
    .rcb-legal-content__inner ul,
    .rcb-legal-content__inner ol {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .rcb-legal-page {
        --v3-px: 16px;
    }
}
