/* ============================================================
   content.css — Runaya detail/article pages (blogs, press releases)
   Built from scratch on the site's own design tokens (app.css :root).
   Desktop 1440 + phone ≤767. Scoped to .article-* so nothing else moves.
   ============================================================ */

.article-page {
    background: #f2f2f2;
    color: #111111;
    font-family: "NHaasGroteskTX", "Helvetica Neue", Helvetica, Arial, sans-serif;
    /* Clear the fixed navbar. It's zoom-scaled (70px design height), so its real
       height grows with the viewport — scale the clearance to match. */
    padding-top: calc(100vw * 70 / 1440);
}

.article-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* The navbar & footer keep the site-wide zoom scaling (via stage-scale.js +
   app.css) so they render at the exact same proportions as every other page. */

/* ── Breadcrumb ─────────────────────────────────────────── */
.article-crumb {
    padding-top: 26px;
    font-size: 14px;
    color: #507989;
    letter-spacing: .01em;
}
.article-crumb a { color: #507989; text-decoration: none; }
.article-crumb a:hover { color: #074158; }
.article-crumb span { color: #9fb3bb; margin: 0 6px; }

/* ── Hero ───────────────────────────────────────────────── */
.article-hero { padding-top: 22px; }
.article-tag {
    display: inline-block;
    font-size: 13px;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 700;
    color: #e8521a;
    margin-bottom: 16px;
}
.article-title {
    font-size: 44px;
    line-height: 1.14;
    font-weight: 700;
    color: #074158;
    margin: 0 0 14px;
    letter-spacing: -0.01em;
}
.article-meta {
    font-size: 15px;
    color: #507989;
    margin: 0 0 28px;
}
.article-dek {
    font-size: 19px;
    line-height: 1.5;
    color: #507989;
    margin: 0 0 28px;
}
.article-hero__figure { margin: 0 0 8px; }
.article-hero__img {
    width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
}

/* ── Body ───────────────────────────────────────────────── */
.article-body { padding-top: 34px; padding-bottom: 8px; }
.article-body h2 {
    font-size: 26px;
    line-height: 1.28;
    color: #074158;
    font-weight: 700;
    margin: 40px 0 14px;
}
.article-body h2:first-child { margin-top: 0; }
.article-body p {
    font-size: 18px;
    line-height: 1.72;
    margin: 0 0 20px;
    color: #26343a;
}
.article-body a {
    color: #1a5c6b;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.article-body a:hover { color: #074158; }
.article-body strong { font-weight: 700; color: #17272d; }

.article-body ul {
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}
.article-body li {
    position: relative;
    padding-left: 26px;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 12px;
    color: #26343a;
}
.article-body li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #26c8b8;
}

/* closing kicker line (the "Lighter. Stronger. Flexible." sign-off) */
.article-kicker {
    font-size: 20px;
    font-weight: 700;
    color: #074158;
    line-height: 1.4;
    margin: 8px 0 4px;
}

/* ── In-body callout / internal cross-link ──────────────── */
.article-callout { padding-top: 12px; padding-bottom: 4px; }
.article-callout__box {
    background: #074158;
    color: #f2f2f2;
    border-radius: 14px;
    padding: 28px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    flex-wrap: wrap;
}
.article-callout__box p { margin: 0; font-size: 18px; line-height: 1.5; }
.article-callout__btn {
    flex: none;
    background: #e8521a;
    color: #fff;
    text-decoration: none;
    padding: 14px 26px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    white-space: nowrap;
}
.article-callout__btn:hover { background: #ff5f1a; }

/* ── Back link ──────────────────────────────────────────── */
.article-back { padding-top: 40px; padding-bottom: 64px; }
.article-back a {
    color: #1a5c6b;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}
.article-back a:hover { color: #074158; }

/* ── Phone ──────────────────────────────────────────────── */
@media (max-width: 767px) {
    .article-page { padding-top: 70px; }   /* navbar is zoom:1 on phone */
    .article-wrap { padding: 0 16px; }
    .article-hero { padding-top: 16px; }
    .article-title { font-size: 30px; line-height: 1.16; }
    .article-hero__img { border-radius: 10px; }
    .article-body { padding-top: 26px; }
    .article-body h2 { font-size: 22px; margin: 30px 0 12px; }
    .article-body p, .article-body li { font-size: 16px; }
    .article-kicker { font-size: 18px; }
    .article-callout__box { flex-direction: column; align-items: flex-start; padding: 22px 20px; }
    .article-callout__box p { font-size: 16px; }
    .article-back { padding-bottom: 48px; }
}
