/**
 * Humbrella Articles — Shared Stylesheet
 * Version: 1.0
 * Updated: October 23, 2026
 * Location: /pages/articles/articles.css
 *
 * Used by the Articles hub (/pages/articles/) and every article page.
 * All classes are prefixed "ar-" so nothing collides with the design
 * system, Divi, the header or the footer. Loaded through $page_css.
 *
 * Reading surface is light and warm on purpose: long-form text reads more
 * easily dark-on-light, especially for the 45–60 audience.
 */

/* ── Tokens ── */
.article-page {
    --ar-bg:        #faf7f2;
    --ar-surface:   #ffffff;
    --ar-text:      #2b2b3a;
    --ar-muted:     #6b6b7b;
    --ar-rule:      #e6e0d6;
    --ar-magenta:   #c54685;
    --ar-magenta-d: #8b2f5e;
    --ar-gold:      #ffd659;
    --ar-navy:      #1a1a2e;
    background: var(--ar-bg);
}

/* ── Layout ── */
.ar-main {
    background: var(--ar-bg);
    padding: 48px 16px 72px;
}
.ar-article,
.ar-hub {
    max-width: 700px;
    margin: 0 auto;
}

/* ── Breadcrumb ── */
.ar-breadcrumb {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: var(--ar-muted);
    margin-bottom: 20px;
}
.ar-breadcrumb a {
    color: var(--ar-magenta);
    text-decoration: none;
}
.ar-breadcrumb a:hover { text-decoration: underline; }
.ar-breadcrumb span { margin: 0 6px; }

/* ── Header ── */
.ar-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--ar-rule);
}
.ar-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(30px, 5vw, 44px);
    line-height: 1.2;
    font-weight: 700;
    color: var(--ar-navy);
    margin: 0 0 14px;
}
.ar-meta {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    color: var(--ar-muted);
    margin: 0;
}
.ar-meta span { margin: 0 6px; }

/* ── Body text ── */
.ar-body {
    font-family: 'Open Sans', sans-serif;
    font-size: 19px;
    line-height: 1.75;
    color: var(--ar-text);
}
.ar-body p { margin: 0 0 22px; }
.ar-body .ar-lead {
    font-size: 21px;
    line-height: 1.7;
}
.ar-body h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(24px, 3.4vw, 30px);
    line-height: 1.3;
    font-weight: 700;
    color: var(--ar-navy);
    margin: 44px 0 16px;
}
.ar-body a {
    color: var(--ar-magenta);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.ar-body a:hover { color: var(--ar-magenta-d); }
.ar-body em { font-style: italic; }

/* ── The four questions ── */
.ar-questions {
    list-style: none;
    counter-reset: ar-q;
    margin: 8px 0 28px;
    padding: 0;
}
.ar-questions li {
    counter-increment: ar-q;
    position: relative;
    padding: 14px 18px 14px 60px;
    margin-bottom: 10px;
    background: var(--ar-surface);
    border: 1px solid var(--ar-rule);
    border-radius: 12px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    line-height: 1.4;
    color: var(--ar-navy);
}
.ar-questions li::before {
    content: counter(ar-q);
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--ar-magenta);
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Care note ── */
.ar-body .ar-care {
    padding: 18px 20px;
    background: #f1ede6;
    border-left: 4px solid var(--ar-muted);
    border-radius: 0 10px 10px 0;
    font-size: 17px;
}

/* ── Call to action ── */
.ar-cta {
    margin: 44px 0 28px;
    padding: 32px 28px;
    background: var(--ar-navy);
    border-radius: 18px;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}
.ar-body .ar-cta h2 {
    color: #fff;
    margin-top: 0;
}
.ar-cta p { margin-bottom: 24px; }
.ar-btn,
.ar-body a.ar-btn {
    display: inline-block;
    padding: 14px 34px;
    background: linear-gradient(135deg, var(--ar-magenta) 0%, var(--ar-magenta-d) 100%);
    color: #fff;
    text-decoration: none;
    font-family: 'Open Sans', sans-serif;
    font-size: 17px;
    font-weight: 600;
    border-radius: 30px;
    box-shadow: 0 4px 16px rgba(197, 70, 133, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}
.ar-btn:hover,
.ar-body a.ar-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 70, 133, 0.45);
}

/* ── Attribution and sources ── */
.ar-body .ar-attribution {
    text-align: center;
    color: var(--ar-muted);
    font-size: 16px;
}
.ar-sources {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid var(--ar-rule);
    font-size: 15px;
    line-height: 1.6;
    color: var(--ar-muted);
}
.ar-body .ar-sources h2 {
    font-size: 18px;
    margin: 0 0 10px;
}
.ar-sources ul {
    margin: 0;
    padding-left: 20px;
}
.ar-sources li { margin-bottom: 8px; }

/* ── Hub page: article list ── */
.ar-hub-intro {
    font-family: 'Open Sans', sans-serif;
    font-size: 19px;
    line-height: 1.7;
    color: var(--ar-text);
    margin: 0 0 36px;
}
.ar-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.ar-card {
    margin-bottom: 20px;
}
.ar-card a {
    display: block;
    padding: 24px 26px;
    background: var(--ar-surface);
    border: 1px solid var(--ar-rule);
    border-radius: 16px;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.ar-card a:hover {
    border-color: var(--ar-magenta);
    box-shadow: 0 6px 20px rgba(26, 26, 46, 0.08);
}
.ar-card-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--ar-navy);
    margin: 0 0 8px;
}
.ar-card-summary {
    font-family: 'Open Sans', sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: var(--ar-text);
    margin: 0 0 10px;
}
.ar-card-meta {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: var(--ar-muted);
}

/* ── Small screens ── */
@media (max-width: 600px) {
    .ar-main { padding: 32px 16px 96px; } /* bottom room for the FAB menu */
    .ar-body { font-size: 18px; }
    .ar-body .ar-lead { font-size: 19px; }
    .ar-questions li { font-size: 18px; padding-left: 56px; }
    .ar-cta { padding: 26px 20px; }
}
