/*! Health and Beyond — eHow-inspired design system
 *  PCOS-focused health blog. Tuned for Core Web Vitals, ad-network
 *  friendliness, YMYL/E-E-A-T trust signals, and mobile-first responsiveness.
 *  No framework, no build step — pure CSS.
 */

/* =============================================================================
   0. RESET + NORMALIZE
   ============================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
body { margin: 0; }
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; padding: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }

/* =============================================================================
   1. DESIGN TOKENS
   ============================================================================= */
:root {
    --faf-primary: #0D9488;
    --faf-primary-dark: #0B7A70;
    --faf-primary-light: #F0FDFA;
    --faf-secondary: #1B2A4A;
    --faf-secondary-light: #27365C;
    --faf-ink: #0F172A;
    --faf-text: #1E293B;
    --faf-text-muted: #64748B;
    --faf-text-light: #94A3B8;
    --faf-border: #E2E8F0;
    --faf-border-light: #F1F5F9;
    --faf-bg: #FFFFFF;
    --faf-bg-soft: #F8FAFC;
    --faf-bg-muted: #F1F5F9;
    --faf-alert: #FEF2F2;
    --faf-alert-border: #DC2626;
    --faf-alert-text: #991B1B;
    --faf-success: #ECFDF5;
    --faf-success-border: #059669;
    --faf-success-text: #065F46;
    --faf-warn: #FFFBEB;
    --faf-warn-border: #D97706;
    --faf-warn-text: #92400E;
    --faf-star: #F59E0B;

    --faf-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --faf-size-xs: 12px;
    --faf-size-sm: 14px;
    --faf-size-base: 17px;
    --faf-size-md: 18px;
    --faf-size-lg: 20px;
    --faf-size-xl: 24px;
    --faf-size-2xl: 30px;
    --faf-size-3xl: 38px;
    --faf-size-4xl: 48px;
    --faf-size-5xl: 60px;

    --faf-space-1: 4px;
    --faf-space-2: 8px;
    --faf-space-3: 12px;
    --faf-space-4: 16px;
    --faf-space-5: 24px;
    --faf-space-6: 32px;
    --faf-space-7: 48px;
    --faf-space-8: 64px;
    --faf-space-9: 96px;

    --faf-container: 1240px;
    --faf-container-wide: 1400px;
    --faf-container-narrow: 760px;
    --faf-radius-sm: 4px;
    --faf-radius: 6px;
    --faf-radius-lg: 12px;
    --faf-radius-xl: 20px;
    --faf-radius-full: 9999px;

    --faf-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
    --faf-shadow: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
    --faf-shadow-md: 0 4px 6px rgba(15, 23, 42, 0.07), 0 2px 4px rgba(15, 23, 42, 0.04);
    --faf-shadow-lg: 0 10px 15px rgba(15, 23, 42, 0.10), 0 4px 6px rgba(15, 23, 42, 0.05);
    --faf-shadow-xl: 0 20px 25px rgba(15, 23, 42, 0.10), 0 8px 10px rgba(15, 23, 42, 0.04);

    --faf-transition: 180ms ease;
    --faf-transition-slow: 320ms ease;
}

/* =============================================================================
   2. BASE TYPOGRAPHY
   ============================================================================= */
body {
    font-family: var(--faf-font-sans);
    font-size: var(--faf-size-base);
    line-height: 1.65;
    color: var(--faf-text);
    background: var(--faf-bg);
    font-feature-settings: 'kern', 'liga', 'calt';
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--faf-font-sans);
    color: var(--faf-ink);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
h1 { font-size: var(--faf-size-4xl); }
h2 { font-size: var(--faf-size-3xl); }
h3 { font-size: var(--faf-size-2xl); }
h4 { font-size: var(--faf-size-xl); }
h5 { font-size: var(--faf-size-lg); }
h6 { font-size: var(--faf-size-md); }
p { margin-bottom: var(--faf-space-4); }
a { color: var(--faf-primary); transition: color var(--faf-transition); }
a:hover { color: var(--faf-primary-dark); }
strong, b { font-weight: 700; color: var(--faf-ink); }

.sr-only {
    border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
    height: 1px; margin: -1px; overflow: hidden; padding: 0;
    position: absolute; width: 1px;
}

.skip-link {
    position: absolute; top: -40px; left: 0;
    background: var(--faf-ink); color: #fff;
    padding: var(--faf-space-3) var(--faf-space-5);
    z-index: 100;
}
.skip-link:focus { top: 0; color: #fff; }

/* =============================================================================
   3. LAYOUT CONTAINERS
   ============================================================================= */
.faf-container {
    width: 100%;
    max-width: var(--faf-container);
    margin: 0 auto;
    padding: 0 var(--faf-space-5);
}
.faf-container--wide   { max-width: var(--faf-container-wide); }
.faf-container--narrow { max-width: var(--faf-container-narrow); }

/* =============================================================================
   4. SITE HEADER
   ============================================================================= */
.faf-site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--faf-border);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    background: rgba(255, 255, 255, 0.96);
    overflow: visible;
}
.faf-site-header__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--faf-space-6);
    padding: 14px 0;
}

/* ---- Brand / Logo ---- */
.faf-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    text-decoration: none;
    transition: opacity var(--faf-transition);
}
.faf-brand:hover { opacity: 0.85; }

.faf-brand__mark {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
}
.faf-brand__mark img,
.faf-brand__mark svg {
    width: 100%;
    height: 100%;
    display: block;
}
/* Fallback if using a text mark instead of SVG */
.faf-brand__mark--text {
    width: 42px; height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--faf-primary), var(--faf-secondary));
    display: grid; place-items: center;
    color: #fff; font-weight: 800; font-size: 20px;
    letter-spacing: -0.04em;
    flex-shrink: 0;
}

.faf-brand__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1;
}

.faf-brand__wordmark {
    font-size: 24px;
    font-weight: 800;
    color: var(--faf-ink);
    letter-spacing: -0.035em;
    line-height: 1;
    white-space: nowrap;
}
.faf-brand__wordmark .faf-brand__amp {
    color: var(--faf-primary);
    font-weight: 800;
    padding: 0 1px;
}
.faf-brand__wordmark .faf-brand__word2 {
    color: var(--faf-secondary);
}

.faf-brand__tagline {
    font-size: 10.5px;
    color: var(--faf-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 600;
    line-height: 1;
    margin-top: 1px;
}

/* Divider between logo and nav */
.faf-site-header .faf-primary-nav {
    border-top: 1px solid var(--faf-border);
    margin-top: -1px;
}

.faf-primary-nav {
    border-top: 1px solid var(--faf-border);
    position: relative;
    overflow: visible;
}
.faf-primary-nav__list {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0;
    overflow: visible;
    margin: 0;
    position: relative;
}

/* Static nav items (About, Contact) */
.faf-primary-nav__item a {
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--faf-ink);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 14px 18px;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: color var(--faf-transition), border-color var(--faf-transition), background var(--faf-transition);
}
.faf-primary-nav__item a:hover,
.faf-primary-nav__item.is-current > a {
    color: var(--faf-primary);
    border-bottom-color: var(--faf-primary);
    background: var(--faf-bg-soft);
}

/* ---- Mega-menu: group with dropdown ---- */
.faf-nav-group {
    position: relative;
}

.faf-nav-group__trigger {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 600;
    color: var(--faf-ink);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 14px 18px;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    cursor: pointer;
    transition: color var(--faf-transition), border-color var(--faf-transition), background var(--faf-transition);
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
}

.faf-nav-group__trigger:hover,
.faf-nav-group.is-active > .faf-nav-group__trigger {
    color: var(--faf-primary);
    border-bottom-color: var(--faf-primary);
    background: var(--faf-bg-soft);
}

.faf-nav-chevron {
    transition: transform var(--faf-transition);
    flex-shrink: 0;
    opacity: 0.5;
}

.faf-nav-group.is-open .faf-nav-chevron {
    transform: rotate(180deg);
}

/* Dropdown panel */
.faf-nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: var(--faf-bg);
    border: 1px solid var(--faf-border);
    border-top: 2px solid var(--faf-primary);
    border-radius: 0 0 var(--faf-radius-lg) var(--faf-radius-lg);
    box-shadow: var(--faf-shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity var(--faf-transition), transform var(--faf-transition), visibility var(--faf-transition);
    z-index: 9999;
    padding: 8px 0;
}

.faf-nav-group.is-open .faf-nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.faf-nav-dropdown__inner {
    display: flex;
    flex-direction: column;
}

.faf-nav-dropdown__item {
    display: flex;
    align-items: center;
    padding: 11px 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--faf-text);
    white-space: nowrap;
    transition: background var(--faf-transition), color var(--faf-transition), padding-left var(--faf-transition);
    text-decoration: none;
    border-left: 3px solid transparent;
}

.faf-nav-dropdown__item:hover {
    background: var(--faf-bg-soft);
    color: var(--faf-primary);
    padding-left: 28px;
    border-left-color: var(--faf-primary);
}

.faf-nav-dropdown__item.is-current {
    color: var(--faf-primary);
    font-weight: 700;
    background: var(--faf-primary-light);
    border-left-color: var(--faf-primary);
}

.faf-header-actions {
    display: flex; align-items: center; gap: var(--faf-space-3);
}
.faf-search-toggle {
    width: 40px; height: 40px;
    display: grid; place-items: center;
    border-radius: var(--faf-radius-full);
    color: var(--faf-ink);
    transition: background var(--faf-transition);
}
.faf-search-toggle:hover { background: var(--faf-bg-muted); }

.faf-header-cta {
    display: inline-flex; align-items: center; gap: var(--faf-space-2);
    background: var(--faf-ink); color: #fff;
    padding: var(--faf-space-3) var(--faf-space-5);
    border-radius: var(--faf-radius-full);
    font-size: var(--faf-size-sm); font-weight: 600;
    transition: background var(--faf-transition), transform var(--faf-transition);
}
.faf-header-cta:hover { background: var(--faf-primary); color: #fff; transform: translateY(-1px); }

.faf-menu-toggle {
    display: none;
    width: 44px; height: 44px;
    flex-direction: column; justify-content: center; align-items: center; gap: 5px;
    border-radius: var(--faf-radius);
}
.faf-menu-toggle span {
    display: block; width: 22px; height: 2px;
    background: var(--faf-ink); border-radius: 2px;
    transition: transform var(--faf-transition), opacity var(--faf-transition);
}

.faf-search-bar {
    display: none;
    padding: var(--faf-space-4) 0;
    border-top: 1px solid var(--faf-border);
}
.faf-search-bar.is-open { display: block; }
.faf-search-bar form {
    display: flex; gap: var(--faf-space-2);
    max-width: 680px; margin: 0 auto;
}
.faf-search-bar input[type="search"] {
    flex: 1;
    padding: var(--faf-space-3) var(--faf-space-4);
    border: 2px solid var(--faf-border);
    border-radius: var(--faf-radius-full);
    font-size: var(--faf-size-base);
}
.faf-search-bar input[type="search"]:focus {
    outline: none; border-color: var(--faf-primary);
}
.faf-search-bar button[type="submit"] {
    padding: var(--faf-space-3) var(--faf-space-6);
    background: var(--faf-ink); color: #fff;
    border-radius: var(--faf-radius-full);
    font-weight: 600;
}

/* =============================================================================
   5. HERO (homepage)
   ============================================================================= */
/* =============================================================================
   5. HERO — Featured article with text overlay
   The featured article uses a tall image with a strong dark gradient at the
   bottom so text is always readable. Text is clamped to prevent overflow.
   ============================================================================= */
.faf-hero {
    padding: var(--faf-space-7) 0;
    background: linear-gradient(180deg, var(--faf-bg) 0%, var(--faf-bg-soft) 100%);
}
.faf-hero__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: var(--faf-space-6);
    align-items: start;
}

.faf-hero__feature {
    position: relative;
    border-radius: var(--faf-radius-xl);
    overflow: hidden;
    background: var(--faf-ink);
    /* Use min-height instead of aspect-ratio so it grows with content */
    min-height: 460px;
}

.faf-hero__feature img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms cubic-bezier(0.2, 0.8, 0.4, 1);
}

.faf-hero__feature:hover img {
    transform: scale(1.04);
}

.faf-hero__feature-overlay {
    position: relative;
    z-index: 2;
    min-height: 460px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px 36px;
    color: #fff;
    /* Strong gradient: starts earlier (25%) and is darker for more text room */
    background: linear-gradient(
        180deg,
        transparent 15%,
        rgba(15, 23, 42, 0.15) 35%,
        rgba(15, 23, 42, 0.65) 55%,
        rgba(15, 23, 42, 0.92) 75%,
        rgba(15, 23, 42, 0.97) 100%
    );
}

.faf-hero__feature-overlay .faf-category-tag {
    background: var(--faf-primary);
    color: #fff;
    margin-bottom: 14px;
    align-self: flex-start;
}

.faf-hero__feature-overlay h1 {
    font-size: clamp(24px, 3.5vw, 42px);
    color: #fff;
    margin: 0 0 12px;
    line-height: 1.15;
    letter-spacing: -0.025em;
    /* Clamp to 3 lines max to prevent overflow */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 90%;
}

.faf-hero__feature-overlay h1 a {
    color: #fff;
    text-decoration: none;
}

.faf-hero__feature-overlay p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    max-width: 540px;
    margin: 0 0 14px;
    line-height: 1.5;
    /* Clamp to 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.faf-hero__byline {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    /* Clamp to 1 line */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* When there's no image, show a clean gradient background */
.faf-hero__feature--no-image {
    background: linear-gradient(135deg, var(--faf-secondary) 0%, var(--faf-primary) 100%);
}
.faf-hero__feature--no-image .faf-hero__feature-overlay {
    background: none;
}

/* ---- Hero sidebar: compact article list ---- */
.faf-hero__sidebar {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faf-hero__sidebar-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 800;
    color: var(--faf-primary);
    padding-bottom: 12px;
    margin-bottom: 4px;
    border-bottom: 2px solid var(--faf-ink);
}

.faf-hero__sidebar-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--faf-border-light);
    transition: background var(--faf-transition);
}

.faf-hero__sidebar-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.faf-hero__sidebar-item:hover {
    background: var(--faf-bg-soft);
    margin: 0 -12px;
    padding-left: 12px;
    padding-right: 12px;
    border-radius: var(--faf-radius);
}

/* Numbered index instead of image (cleaner, always works) */
.faf-hero__sidebar-item-num {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: var(--faf-radius);
    background: var(--faf-bg-soft);
    color: var(--faf-primary);
    font-weight: 800;
    font-size: 14px;
    border: 1px solid var(--faf-border-light);
}

/* Image thumbnail (if present) */
.faf-hero__sidebar-item img {
    width: 72px;
    height: 54px;
    object-fit: cover;
    border-radius: var(--faf-radius);
    flex-shrink: 0;
}

.faf-hero__sidebar-item-body {
    flex: 1;
    min-width: 0;
}

.faf-hero__sidebar-item h3 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 4px;
    color: var(--faf-ink);
    /* Clamp title to 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.faf-hero__sidebar-item h3 a {
    color: inherit;
    text-decoration: none;
}

.faf-hero__sidebar-item h3 a:hover {
    color: var(--faf-primary);
}

.faf-hero__sidebar-item .faf-byline {
    font-size: 11px;
    margin-top: 2px;
}

/* =============================================================================
   6. CATEGORY SECTIONS
   ============================================================================= */
.faf-section { padding: var(--faf-space-7) 0; }
.faf-section--alt { background: var(--faf-bg-soft); }

.faf-section__header {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: var(--faf-space-5);
    margin-bottom: var(--faf-space-6);
    padding-bottom: var(--faf-space-4);
    border-bottom: 3px solid var(--faf-ink);
}
.faf-section__title { font-size: var(--faf-size-2xl); font-weight: 800; color: var(--faf-ink); margin: 0; }
.faf-section__link {
    font-size: var(--faf-size-sm); font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--faf-primary); white-space: nowrap;
}
.faf-section__link:hover { color: var(--faf-primary-dark); }

.faf-card-grid {
    display: grid; gap: var(--faf-space-6) var(--faf-space-5);
    grid-template-columns: repeat(3, 1fr);
}
.faf-card-grid--four { grid-template-columns: repeat(4, 1fr); }
.faf-card-grid--two  { grid-template-columns: repeat(2, 1fr); }

/* =============================================================================
   7. ARTICLE CARD — contained, clean, professional
   ============================================================================= */
.faf-card {
    display: flex;
    flex-direction: column;
    background: var(--faf-bg);
    border: 1px solid var(--faf-border-light);
    border-radius: var(--faf-radius-lg);
    overflow: hidden;
    transition: transform var(--faf-transition), box-shadow var(--faf-transition), border-color var(--faf-transition);
}

.faf-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--faf-shadow-lg);
    border-color: var(--faf-border);
}

.faf-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, var(--faf-bg-muted) 0%, var(--faf-bg-soft) 100%);
    display: block;
    flex-shrink: 0;
}

.faf-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms cubic-bezier(0.2, 0.8, 0.4, 1);
}

.faf-card:hover .faf-card__media img {
    transform: scale(1.05);
}

.faf-card__body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.faf-category-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    color: var(--faf-primary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 4px 10px;
    background: var(--faf-primary-light);
    border-radius: var(--faf-radius-full);
    align-self: flex-start;
    line-height: 1;
}
.faf-category-tag:hover { background: var(--faf-primary); color: #fff; }

.faf-card__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--faf-ink);
    line-height: 1.3;
    margin: 0;
    /* Max 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.faf-card__title a {
    color: inherit;
    text-decoration: none;
}

.faf-card__title a:hover { color: var(--faf-primary); }

.faf-card__excerpt {
    color: var(--faf-text-muted);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.faf-byline {
    font-size: 11px;
    color: var(--faf-text-light);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--faf-border-light);
}

.faf-byline__dot { opacity: 0.4; }
.faf-byline a { color: var(--faf-text-muted); }
.faf-byline a:hover { color: var(--faf-primary); }

.faf-card--large .faf-card__title { font-size: 19px; }

/* =============================================================================
   8. NEWSLETTER STRIP
   ============================================================================= */
.faf-newsletter {
    background: var(--faf-ink); color: #fff;
    padding: var(--faf-space-7) 0;
    position: relative; overflow: hidden;
}
.faf-newsletter::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, var(--faf-primary) 0%, transparent 70%);
    opacity: 0.3;
    border-radius: 50%;
    pointer-events: none;
}
.faf-newsletter__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--faf-space-6);
    align-items: center;
}
.faf-newsletter__eyebrow {
    font-size: var(--faf-size-xs);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--faf-primary);
    font-weight: 700;
    margin-bottom: var(--faf-space-3);
}
.faf-newsletter h2 {
    color: #fff;
    font-size: var(--faf-size-3xl);
    margin-bottom: var(--faf-space-3);
    line-height: 1.15;
}
.faf-newsletter p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    font-size: var(--faf-size-md);
}
.faf-newsletter__form { display: flex; gap: var(--faf-space-2); }
.faf-newsletter__form input[type="email"] {
    flex: 1;
    padding: var(--faf-space-4) var(--faf-space-5);
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-radius: var(--faf-radius-full);
    font-size: var(--faf-size-base);
}
.faf-newsletter__form input[type="email"]::placeholder { color: rgba(255, 255, 255, 0.5); }
.faf-newsletter__form input[type="email"]:focus {
    outline: none; border-color: var(--faf-primary);
    background: rgba(255, 255, 255, 0.12);
}
.faf-newsletter__form button {
    padding: var(--faf-space-4) var(--faf-space-6);
    background: var(--faf-primary); color: #fff;
    border-radius: var(--faf-radius-full);
    font-weight: 700; white-space: nowrap;
    transition: background var(--faf-transition), transform var(--faf-transition);
}
.faf-newsletter__form button:hover { background: var(--faf-primary-dark); transform: translateY(-1px); }

/* =============================================================================
   9. ARTICLE PAGE — Compact editorial layout
   Title + deck + meta in one tight block. Hero image follows. No wasted space.
   ============================================================================= */
.faf-article {
    padding: var(--faf-space-5) 0 0;
    background: var(--faf-bg);
}

/* Breadcrumbs — inline, minimal */
.faf-breadcrumbs {
    font-size: 11px;
    color: var(--faf-text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--faf-space-4);
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    font-weight: 500;
}
.faf-breadcrumbs a { color: var(--faf-text-muted); font-weight: 600; }
.faf-breadcrumbs a:hover { color: var(--faf-primary); }
.faf-breadcrumbs__sep { opacity: 0.3; }

/* Article header — LEFT aligned, compact */
.faf-article__header {
    max-width: var(--faf-container-narrow);
    margin: 0 auto var(--faf-space-4);
    text-align: left;
}

.faf-article__header .faf-category-tag {
    margin-bottom: 12px;
    font-size: 11px;
    padding: 5px 12px;
    letter-spacing: 0.14em;
}

.faf-article__title {
    font-size: clamp(28px, 4.5vw, 44px);
    font-weight: 800;
    color: var(--faf-ink);
    line-height: 1.12;
    margin-bottom: 10px;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.faf-article__deck {
    font-size: 17px;
    color: var(--faf-text-muted);
    line-height: 1.5;
    margin: 0 0 16px;
    max-width: 640px;
    /* Clamp to 2 lines so it doesn't consume too much space */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Author meta — single row, compact inline */
.faf-article__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid var(--faf-border-light);
    flex-wrap: wrap;
    max-width: var(--faf-container-narrow);
    margin: 0 auto;
}

.faf-article__meta-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.faf-article__meta-author img {
    width: 36px;
    height: 36px;
    border-radius: var(--faf-radius-full);
    object-fit: cover;
}

.faf-article__meta-author .name {
    font-weight: 700;
    color: var(--faf-ink);
    font-size: 13px;
    line-height: 1.2;
}

.faf-article__meta-author .role {
    font-size: 11px;
    color: var(--faf-text-muted);
    font-weight: 500;
    margin-top: 1px;
    /* Single line with ellipsis */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 280px;
}

.faf-article__meta-dates {
    margin-left: auto;
    font-size: 11px;
    color: var(--faf-text-muted);
    text-align: right;
    font-weight: 500;
    white-space: nowrap;
}

.faf-article__meta-dates strong {
    color: var(--faf-ink);
    font-weight: 700;
}

.faf-article__meta-dates .reviewed {
    color: var(--faf-primary);
    font-weight: 700;
}

/* Hero image — clean, right after header */
.faf-article__hero {
    max-width: 1000px;
    margin: 16px auto 32px;
    border-radius: var(--faf-radius-lg);
    overflow: hidden;
    aspect-ratio: 2.2 / 1;
    background: var(--faf-bg-muted);
    box-shadow: var(--faf-shadow);
}

.faf-article__hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---- Article body — premium editorial typography ---- */
.faf-article__body {
    max-width: var(--faf-container-narrow);
    margin: 0 auto;
    font-size: 19px;
    line-height: 1.8;
    color: var(--faf-text);
    letter-spacing: -0.01em;
}

.faf-article__body > * + * {
    margin-top: 1.6em;
}

.faf-article__body p {
    margin: 0;
    font-size: inherit;
    text-wrap: pretty;
}

/* First paragraph — slightly larger, bold first line (editorial drop-in) */
.faf-article__body > p:first-of-type {
    font-size: 21px;
    line-height: 1.7;
    color: var(--faf-ink);
}

/* Headings — generous spacing, clear hierarchy */
.faf-article__body h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--faf-ink);
    margin-top: 2.5em;
    margin-bottom: 0.6em;
    padding-top: 1.5em;
    border-top: 1px solid var(--faf-border-light);
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.faf-article__body h2:first-child,
.faf-article__body > *:first-child + h2 {
    border-top: none;
    padding-top: 0;
    margin-top: 1.5em;
}

.faf-article__body h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--faf-secondary);
    margin-top: 2em;
    margin-bottom: 0.5em;
    line-height: 1.3;
    letter-spacing: -0.015em;
}

.faf-article__body h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--faf-ink);
    margin-top: 1.8em;
    margin-bottom: 0.4em;
    letter-spacing: -0.01em;
}

/* Links — subtle, professional */
.faf-article__body a {
    color: var(--faf-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    text-decoration-color: rgba(13, 148, 136, 0.4);
    font-weight: 500;
    transition: text-decoration-color var(--faf-transition), color var(--faf-transition);
}

.faf-article__body a:hover {
    color: var(--faf-primary-dark);
    text-decoration-color: var(--faf-primary-dark);
}

/* Lists — generous spacing, elegant markers */
.faf-article__body ul,
.faf-article__body ol {
    padding-left: 1.4em;
    margin-top: 1em;
    margin-bottom: 1em;
}

.faf-article__body ul li,
.faf-article__body ol li {
    margin-bottom: 0.7em;
    padding-left: 0.5em;
    line-height: 1.7;
}

.faf-article__body ul { list-style: none; }

.faf-article__body ul li::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--faf-primary);
    margin-right: 12px;
    margin-left: -1.4em;
    vertical-align: middle;
}

.faf-article__body ol {
    list-style: none;
    counter-reset: article-ol;
}

.faf-article__body ol li {
    counter-increment: article-ol;
}

.faf-article__body ol li::before {
    content: counter(article-ol);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--faf-primary-light);
    color: var(--faf-primary);
    font-weight: 800;
    font-size: 13px;
    margin-right: 12px;
    margin-left: -1.6em;
    vertical-align: middle;
    flex-shrink: 0;
}

/* Blockquotes — elegant pull-quote style */
.faf-article__body blockquote {
    border-left: none;
    background: none;
    padding: var(--faf-space-6) var(--faf-space-7);
    margin: 2em -24px;
    font-size: 22px;
    font-style: italic;
    color: var(--faf-secondary);
    line-height: 1.55;
    position: relative;
    text-align: center;
    border-top: 1px solid var(--faf-border);
    border-bottom: 1px solid var(--faf-border);
}

.faf-article__body blockquote::before {
    content: '"';
    position: absolute;
    top: -0.35em;
    left: 50%;
    transform: translateX(-50%);
    font-size: 72px;
    font-weight: 800;
    color: var(--faf-primary);
    opacity: 0.2;
    line-height: 1;
    font-style: normal;
}

.faf-article__body blockquote p:last-child { margin-bottom: 0; }

/* Images — full-bleed feel within the column */
.faf-article__body img {
    border-radius: var(--faf-radius-lg);
    box-shadow: var(--faf-shadow-md);
    margin: 2em auto;
    display: block;
}

.faf-article__body figure {
    margin: 2em 0;
}

.faf-article__body figcaption {
    font-size: 13px;
    color: var(--faf-text-muted);
    text-align: center;
    font-style: italic;
    margin-top: 10px;
    line-height: 1.5;
}

/* Horizontal rules — thin, spacious */
.faf-article__body hr {
    border: none;
    border-top: 1px solid var(--faf-border-light);
    margin: 2.5em 0;
}

/* Code / preformatted — clean mono style */
.faf-article__body code {
    background: var(--faf-bg-soft);
    border: 1px solid var(--faf-border-light);
    padding: 2px 7px;
    border-radius: 4px;
    font-family: ui-monospace, 'SF Mono', Menlo, Monaco, Consolas, monospace;
    font-size: 0.88em;
    color: var(--faf-secondary);
}

.faf-article__body pre {
    background: var(--faf-ink);
    color: #e2e8f0;
    padding: 1.5em 1.75em;
    border-radius: var(--faf-radius-lg);
    overflow-x: auto;
    font-size: 14px;
    line-height: 1.65;
    margin: 2em 0;
    box-shadow: var(--faf-shadow-lg);
}

.faf-article__body pre code {
    background: none;
    border: none;
    padding: 0;
    color: inherit;
    font-size: inherit;
}

/* Tables — clean, striped, professional */
.faf-article__body table {
    width: 100%;
    border-collapse: collapse;
    margin: 2em 0;
    border-radius: var(--faf-radius-lg);
    overflow: hidden;
    box-shadow: var(--faf-shadow-sm);
    border: 1px solid var(--faf-border);
    font-size: 15px;
}

.faf-article__body th {
    background: var(--faf-ink);
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 14px 18px;
    text-align: left;
}

.faf-article__body td {
    padding: 13px 18px;
    border-bottom: 1px solid var(--faf-border-light);
    vertical-align: top;
    line-height: 1.55;
}

.faf-article__body tr:nth-child(even) {
    background: var(--faf-bg-soft);
}

.faf-article__body tr:last-child td {
    border-bottom: none;
}

/* Strong text inside articles — slightly different treatment */
.faf-article__body strong {
    color: var(--faf-ink);
    font-weight: 700;
}

/* Emphasis */
.faf-article__body em {
    font-style: italic;
    color: var(--faf-secondary);
}

/* =============================================================================
   10. CALLOUT BOXES — Premium editorial style
   ============================================================================= */
.faf-callout {
    margin: 2em 0;
    padding: 28px 32px;
    border-radius: var(--faf-radius-lg);
    border-left: 4px solid;
    position: relative;
    font-size: 16px;
    line-height: 1.65;
}

.faf-callout__label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 14px;
    padding: 4px 12px;
    border-radius: var(--faf-radius-full);
}

.faf-callout--key-takeaways {
    background: linear-gradient(135deg, var(--faf-primary-light) 0%, rgba(240, 253, 250, 0.5) 100%);
    border-left-color: var(--faf-primary);
}
.faf-callout--key-takeaways .faf-callout__label {
    color: var(--faf-primary);
    background: rgba(13, 148, 136, 0.1);
}

.faf-callout--doctor-alert {
    background: linear-gradient(135deg, var(--faf-alert) 0%, rgba(254, 242, 242, 0.5) 100%);
    border-left-color: var(--faf-alert-border);
}
.faf-callout--doctor-alert .faf-callout__label {
    color: var(--faf-alert-border);
    background: rgba(220, 38, 38, 0.08);
}

.faf-callout--pro-tip {
    background: linear-gradient(135deg, var(--faf-success) 0%, rgba(236, 253, 245, 0.5) 100%);
    border-left-color: var(--faf-success-border);
}
.faf-callout--pro-tip .faf-callout__label {
    color: var(--faf-success-border);
    background: rgba(5, 150, 105, 0.08);
}

.faf-callout--medical-note {
    background: var(--faf-bg-soft);
    border-left-color: var(--faf-text-light);
    font-size: 15px;
    color: var(--faf-text-muted);
}
.faf-callout--medical-note .faf-callout__label {
    color: var(--faf-text-muted);
    background: rgba(148, 163, 184, 0.1);
}

.faf-callout ul, .faf-callout ol {
    margin-top: 10px;
    padding-left: 1.3em;
}
.faf-callout ul { list-style: none; }
.faf-callout ul li { margin-bottom: 8px; }
.faf-callout ul li::before {
    content: '✓';
    color: var(--faf-primary);
    font-weight: 800;
    margin-right: 8px;
    margin-left: -1.3em;
    display: inline-block;
    width: 1.3em;
}
.faf-callout p:last-child { margin-bottom: 0; }

/* =============================================================================
   11. DISCLAIMER BANNERS
   ============================================================================= */
.faf-medical-disclaimer,
.faf-affiliate-disclosure {
    max-width: var(--faf-container-narrow);
    margin: 0 auto var(--faf-space-5);
    padding: var(--faf-space-3) var(--faf-space-4);
    border-radius: var(--faf-radius);
    font-size: var(--faf-size-sm);
    line-height: 1.55;
    display: flex;
    align-items: flex-start;
    gap: var(--faf-space-3);
}
.faf-medical-disclaimer {
    background: var(--faf-bg-soft);
    border: 1px solid var(--faf-border);
    border-left: 3px solid var(--faf-text-muted);
    color: var(--faf-text-muted);
}
.faf-medical-disclaimer::before {
    content: '⚕';
    color: var(--faf-primary);
    font-size: 18px;
    line-height: 1.3;
    flex-shrink: 0;
}
.faf-medical-disclaimer a { color: var(--faf-primary); font-weight: 600; }

.faf-affiliate-disclosure {
    background: var(--faf-warn);
    border-left: 3px solid var(--faf-warn-border);
    color: var(--faf-warn-text);
}
.faf-affiliate-disclosure::before {
    content: '$';
    font-weight: 800;
    color: var(--faf-warn-border);
    font-size: 16px;
    flex-shrink: 0;
}
.faf-affiliate-disclosure a { color: var(--faf-warn-text); font-weight: 700; text-decoration: underline; }

/* Post meta strip — compact inline badges */
.faf-post-meta {
    max-width: var(--faf-container-narrow);
    margin: 0 auto var(--faf-space-4);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
}

.faf-post-meta__item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    color: var(--faf-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    background: var(--faf-bg-soft);
    border-radius: var(--faf-radius-full);
}

.faf-post-meta__item--reviewed {
    color: var(--faf-primary);
    background: var(--faf-primary-light);
}

/* =============================================================================
   12. AUTHOR BIO BOX
   ============================================================================= */
.faf-author-bio {
    max-width: var(--faf-container-narrow);
    margin: var(--faf-space-9) auto var(--faf-space-7);
    padding: 36px 40px;
    background: linear-gradient(135deg, var(--faf-bg-soft) 0%, #fff 100%);
    border: 1px solid var(--faf-border);
    border-radius: var(--faf-radius-xl);
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 28px;
    align-items: start;
    box-shadow: var(--faf-shadow);
}
.faf-author-bio__avatar {
    width: 100px; height: 100px;
    border-radius: var(--faf-radius-full);
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: var(--faf-shadow-md);
}
.faf-author-bio__avatar img { width: 100%; height: 100%; object-fit: cover; }
.faf-author-bio__eyebrow {
    font-size: var(--faf-size-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--faf-text-muted);
    font-weight: 700;
    margin-bottom: var(--faf-space-2);
}
.faf-author-bio__name {
    font-size: var(--faf-size-xl);
    font-weight: 800;
    color: var(--faf-ink);
    margin-bottom: var(--faf-space-1);
}
.faf-author-bio__name a:hover { color: var(--faf-primary); }
.faf-author-bio__reviewed {
    font-size: var(--faf-size-xs);
    color: var(--faf-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--faf-space-3);
}
.faf-author-bio__reviewed strong { color: var(--faf-primary); font-weight: 700; }
.faf-author-bio__text {
    color: var(--faf-text);
    font-size: var(--faf-size-sm);
    line-height: 1.6;
    margin-bottom: var(--faf-space-4);
}
.faf-author-bio__social { display: flex; gap: var(--faf-space-2); }
.faf-author-bio__social a {
    width: 36px; height: 36px;
    display: grid; place-items: center;
    border-radius: var(--faf-radius-full);
    background: #fff;
    color: var(--faf-ink);
    font-size: 13px;
    font-weight: 800;
    border: 1px solid var(--faf-border);
    transition: all var(--faf-transition);
}
.faf-author-bio__social a:hover { background: var(--faf-primary); color: #fff; border-color: var(--faf-primary); transform: translateY(-1px); }

/* Related articles — editorial "Keep reading" section */
.faf-related {
    padding: var(--faf-space-9) 0 var(--faf-space-8);
    background: var(--faf-bg-soft);
    border-top: 1px solid var(--faf-border);
    margin-top: var(--faf-space-8);
}
.faf-related__title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--faf-primary);
    font-weight: 800;
    text-align: center;
    margin-bottom: var(--faf-space-3);
}
.faf-related__headline {
    font-size: 32px;
    font-weight: 800;
    color: var(--faf-ink);
    text-align: center;
    margin-bottom: var(--faf-space-7);
    letter-spacing: -0.025em;
}

/* In-content email optin */
.faf-inline-optin {
    margin: var(--faf-space-7) 0;
    padding: var(--faf-space-6);
    background: linear-gradient(135deg, var(--faf-primary-light) 0%, #FFFFFF 100%);
    border: 2px solid var(--faf-primary);
    border-radius: var(--faf-radius-lg);
    text-align: center;
    max-width: var(--faf-container-narrow);
}
.faf-inline-optin__badge {
    display: inline-block;
    background: var(--faf-primary); color: #fff;
    font-size: 11px; font-weight: 800;
    padding: 4px 12px;
    border-radius: var(--faf-radius-full);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: var(--faf-space-3);
}
.faf-inline-optin h3 { font-size: var(--faf-size-xl); color: var(--faf-ink); margin-bottom: var(--faf-space-2); line-height: 1.25; }
.faf-inline-optin p { color: var(--faf-text-muted); font-size: var(--faf-size-sm); margin-bottom: var(--faf-space-4); }
.faf-inline-optin form { display: flex; gap: var(--faf-space-2); max-width: 420px; margin: 0 auto; flex-wrap: wrap; }
.faf-inline-optin input[type="email"] {
    flex: 1 1 220px;
    padding: var(--faf-space-3) var(--faf-space-4);
    border: 1px solid var(--faf-border);
    border-radius: var(--faf-radius-full);
    font-size: var(--faf-size-sm);
}
.faf-inline-optin input[type="email"]:focus { outline: 2px solid var(--faf-primary); outline-offset: 1px; }
.faf-inline-optin button {
    padding: var(--faf-space-3) var(--faf-space-5);
    background: var(--faf-primary); color: #fff;
    border-radius: var(--faf-radius-full);
    font-weight: 700;
    font-size: var(--faf-size-sm);
}
.faf-inline-optin button:hover { background: var(--faf-primary-dark); }

/* =============================================================================
   13. AD SLOTS (AdSense / Mediavine / Raptive — CLS-safe)
   ============================================================================= */
.faf-ad-slot {
    display: block; width: 100%;
    margin: var(--faf-space-6) auto;
    clear: both; text-align: center;
    overflow: hidden;
    background: var(--faf-bg-soft);
    border-radius: var(--faf-radius);
}
.faf-ad-slot::before {
    content: 'ADVERTISEMENT';
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--faf-text-light);
    padding: 6px 0 2px;
    font-weight: 600;
}
.faf-ad-slot--leaderboard { min-height: 280px; max-width: 970px; }
.faf-ad-slot--rectangle   { min-height: 280px; max-width: 336px; }
.faf-ad-slot--in-content  { min-height: 280px; max-width: 680px; }
.faf-ad-slot--wide        { min-height: 260px; max-width: 970px; }
.faf-ad-slot.is-loaded::before { display: none; padding: 0; }
.faf-ad-slot ins.adsbygoogle { margin: 0; display: block; }

/* =============================================================================
   14. FOOTER
   ============================================================================= */
.faf-site-footer {
    background: var(--faf-ink);
    color: rgba(255, 255, 255, 0.75);
    padding: var(--faf-space-8) 0 var(--faf-space-5);
    margin-top: var(--faf-space-8);
}
.faf-site-footer__grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: var(--faf-space-6);
    margin-bottom: var(--faf-space-7);
}
.faf-site-footer__col h4 {
    font-size: var(--faf-size-xs);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #fff;
    margin-bottom: var(--faf-space-4);
    font-weight: 800;
}
.faf-site-footer__col ul li { margin-bottom: var(--faf-space-2); }
.faf-site-footer__col ul a {
    color: rgba(255, 255, 255, 0.75);
    font-size: var(--faf-size-sm);
    transition: color var(--faf-transition);
}
.faf-site-footer__col ul a:hover { color: var(--faf-primary); }
.faf-site-footer__brand { max-width: 360px; }
.faf-site-footer__brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--faf-size-sm);
    line-height: 1.6;
    margin-top: var(--faf-space-3);
}
.faf-site-footer__brand .faf-brand__wordmark { color: #fff; }
.faf-site-footer__brand .faf-brand__wordmark .faf-brand__amp { color: var(--faf-primary); }
.faf-site-footer__brand .faf-brand__wordmark .faf-brand__word2 { color: rgba(255, 255, 255, 0.9); }
.faf-site-footer__brand .faf-brand__tagline { color: rgba(255, 255, 255, 0.55); }
.faf-site-footer__brand .faf-brand__mark img { border-radius: 10px; }
.faf-site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--faf-space-5);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--faf-space-4);
    font-size: var(--faf-size-xs);
    color: rgba(255, 255, 255, 0.5);
}
.faf-site-footer__social { display: flex; gap: var(--faf-space-3); }
.faf-site-footer__social a {
    width: 36px; height: 36px;
    display: grid; place-items: center;
    border-radius: var(--faf-radius-full);
    background: rgba(255, 255, 255, 0.08);
    color: #fff; font-size: 13px; font-weight: 800;
    transition: background var(--faf-transition), transform var(--faf-transition);
}
.faf-site-footer__social a:hover { background: var(--faf-primary); transform: translateY(-1px); }

/* =============================================================================
   15. ARCHIVE / STATIC PAGE HEADERS
   ============================================================================= */
/* ---- Archive / Category header — with background cover image ---- */
.faf-archive-header {
    padding: var(--faf-space-8) 0 var(--faf-space-7);
    text-align: center;
    background: var(--faf-bg-soft);
    border-bottom: 1px solid var(--faf-border);
}

/* Cover variant — background image with dark overlay */
.faf-archive-header--cover {
    position: relative;
    padding: 0;
    border-bottom: none;
    background: var(--faf-ink);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 280px;
    display: flex;
    align-items: flex-end;
}

.faf-archive-header__overlay {
    width: 100%;
    padding: 80px 0 48px;
    background: linear-gradient(
        180deg,
        rgba(15, 23, 42, 0.2) 0%,
        rgba(15, 23, 42, 0.55) 30%,
        rgba(15, 23, 42, 0.85) 65%,
        rgba(15, 23, 42, 0.95) 100%
    );
}

.faf-archive-header--cover .faf-archive-header__eyebrow {
    color: var(--faf-primary);
    background: rgba(13, 148, 136, 0.15);
    display: inline-block;
    padding: 5px 14px;
    border-radius: var(--faf-radius-full);
    backdrop-filter: blur(4px);
}

.faf-archive-header--cover .faf-archive-header__title {
    color: #fff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.faf-archive-header--cover .faf-archive-header__deck {
    color: rgba(255, 255, 255, 0.85);
}

.faf-archive-header__stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 20px;
}

.faf-archive-header__stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.faf-archive-header__stat strong {
    color: #fff;
    font-weight: 800;
}

.faf-archive-header__eyebrow {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--faf-primary);
    font-weight: 800;
    margin-bottom: 12px;
}

.faf-archive-header__title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    color: var(--faf-ink);
    line-height: 1.1;
    margin-bottom: 12px;
    letter-spacing: -0.025em;
}

.faf-archive-header__deck {
    font-size: 17px;
    color: var(--faf-text-muted);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .faf-archive-header--cover { min-height: 220px; }
    .faf-archive-header__overlay { padding: 60px 0 32px; }
    .faf-archive-header__title { font-size: 28px; }
    .faf-archive-header__deck { font-size: 15px; }
    .faf-archive-header__stats { gap: 16px; flex-wrap: wrap; }
}

@media (max-width: 420px) {
    .faf-archive-header--cover { min-height: 200px; }
    .faf-archive-header__overlay { padding: 48px 0 24px; }
    .faf-archive-header__title { font-size: 24px; margin-bottom: 8px; }
    .faf-archive-header__deck { font-size: 14px; }
    .faf-archive-header__stats { gap: 12px; }
    .faf-archive-header__stat { font-size: 11px; }
}

.faf-page { padding: var(--faf-space-7) 0 var(--faf-space-9); }
.faf-page__header { max-width: var(--faf-container-narrow); margin: 0 auto var(--faf-space-6); text-align: center; }
.faf-page__title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    color: var(--faf-ink);
    line-height: 1.1;
    margin-bottom: var(--faf-space-3);
    letter-spacing: -0.02em;
}
.faf-page__deck { font-size: var(--faf-size-lg); color: var(--faf-text-muted); line-height: 1.55; }
.faf-page__body { max-width: var(--faf-container-narrow); margin: 0 auto; font-size: var(--faf-size-md); line-height: 1.75; }
.faf-page__body > * + * { margin-top: var(--faf-space-5); }
.faf-page__body h2 {
    font-size: var(--faf-size-2xl);
    font-weight: 800;
    margin-top: var(--faf-space-7);
    padding-top: var(--faf-space-5);
    border-top: 2px solid var(--faf-border);
}
.faf-page__body h3 { font-size: var(--faf-size-xl); margin-top: var(--faf-space-6); color: var(--faf-secondary); }
.faf-page__body a { color: var(--faf-primary); text-decoration: underline; text-underline-offset: 3px; }
.faf-page__body ul, .faf-page__body ol { padding-left: var(--faf-space-5); }
.faf-page__body ul { list-style: disc; }
.faf-page__body ol { list-style: decimal; }
.faf-page__body li { margin-bottom: var(--faf-space-2); }
.faf-page__body table {
    width: 100%; border-collapse: collapse;
    margin: var(--faf-space-5) 0;
    border: 1px solid var(--faf-border);
    border-radius: var(--faf-radius);
    overflow: hidden;
}
.faf-page__body th, .faf-page__body td {
    padding: var(--faf-space-3) var(--faf-space-4);
    text-align: left;
    border-bottom: 1px solid var(--faf-border);
}
.faf-page__body th { background: var(--faf-bg-soft); font-weight: 700; color: var(--faf-ink); }

/* =============================================================================
   16. READING PROGRESS BAR
   ============================================================================= */
.faf-progress-bar {
    position: fixed; top: 0; left: 0; right: 0;
    height: 3px;
    background: transparent;
    z-index: 49;
    pointer-events: none;
}
.faf-progress-bar__fill {
    height: 100%; width: 0%;
    background: linear-gradient(90deg, var(--faf-primary), var(--faf-secondary));
    transition: width 100ms linear;
}

/* =============================================================================
   17. SOCIAL SHARE BAR
   ============================================================================= */
.faf-share-bar {
    display: flex; align-items: center; gap: var(--faf-space-2);
    flex-wrap: wrap;
    max-width: var(--faf-container-narrow);
    margin: 0 auto var(--faf-space-5);
    padding: var(--faf-space-3) var(--faf-space-4);
    background: var(--faf-bg-soft);
    border: 1px solid var(--faf-border);
    border-radius: var(--faf-radius-full);
}
.faf-share-bar__label {
    font-size: var(--faf-size-xs);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--faf-text-muted);
    padding: 0 var(--faf-space-3);
}
.faf-share-bar__btn {
    display: inline-flex; align-items: center; gap: var(--faf-space-2);
    padding: var(--faf-space-2) var(--faf-space-3);
    border-radius: var(--faf-radius-full);
    font-size: var(--faf-size-xs);
    font-weight: 700;
    color: var(--faf-ink);
    background: #fff;
    border: 1px solid var(--faf-border);
    transition: all var(--faf-transition);
    min-height: 40px;
    min-width: 40px;
    cursor: pointer;
}
.faf-share-bar__btn:hover { transform: translateY(-1px); box-shadow: var(--faf-shadow); }
.faf-share-bar__btn svg { flex-shrink: 0; }
.faf-share-bar__btn--pinterest:hover { background: #E60023; color: #fff; border-color: #E60023; }
.faf-share-bar__btn--facebook:hover  { background: #1877F2; color: #fff; border-color: #1877F2; }
.faf-share-bar__btn--twitter:hover   { background: var(--faf-ink); color: #fff; border-color: var(--faf-ink); }
.faf-share-bar__btn--email:hover     { background: var(--faf-primary); color: #fff; border-color: var(--faf-primary); }
.faf-share-bar__btn--copy:hover      { background: var(--faf-secondary); color: #fff; border-color: var(--faf-secondary); }
.faf-share-bar__btn.is-copied { background: var(--faf-success-border); color: #fff; border-color: var(--faf-success-border); }

/* =============================================================================
   18. PINTEREST IMAGE HOVER OVERLAY
   ============================================================================= */
.faf-pin-wrap { display: inline-block; position: relative; max-width: 100%; }
.faf-pin-wrap img { display: block; max-width: 100%; }
.faf-pin-btn {
    position: absolute;
    top: 12px; left: 12px;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 16px;
    background: #E60023; color: #fff;
    font-size: 13px; font-weight: 700;
    border-radius: var(--faf-radius-full);
    box-shadow: var(--faf-shadow-lg);
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity var(--faf-transition), transform var(--faf-transition), background var(--faf-transition);
    z-index: 2;
    min-height: 40px;
}
.faf-pin-btn:hover { background: #BD081C; color: #fff; }
.faf-pin-wrap:hover .faf-pin-btn,
.faf-pin-wrap:focus-within .faf-pin-btn { opacity: 1; transform: translateY(0); }
@media (hover: none) { .faf-pin-btn { opacity: 1; transform: translateY(0); } }

/* =============================================================================
   19. COOKIE CONSENT BANNER
   ============================================================================= */
.faf-cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: var(--faf-ink); color: #fff;
    z-index: 80;
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.3);
    padding-bottom: env(safe-area-inset-bottom, 0);
}
.faf-cookie-banner[hidden] { display: none; }
.faf-cookie-banner__inner {
    display: flex; align-items: center; gap: var(--faf-space-5);
    padding: var(--faf-space-4) var(--faf-space-5);
    max-width: var(--faf-container); margin: 0 auto;
}
.faf-cookie-banner__text {
    flex: 1;
    font-size: var(--faf-size-sm);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.85);
}
.faf-cookie-banner__text strong { color: #fff; display: block; margin-bottom: var(--faf-space-1); }
.faf-cookie-banner__text a { color: var(--faf-primary); text-decoration: underline; }
.faf-cookie-banner__buttons { display: flex; gap: var(--faf-space-3); flex-shrink: 0; }
.faf-cookie-banner__btn {
    padding: var(--faf-space-3) var(--faf-space-5);
    border-radius: var(--faf-radius-full);
    font-size: var(--faf-size-sm);
    font-weight: 700;
    cursor: pointer;
    transition: all var(--faf-transition);
    min-height: 44px;
    min-width: 100px;
    white-space: nowrap;
    border: 2px solid transparent;
}
.faf-cookie-banner__btn--decline {
    background: transparent; color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}
.faf-cookie-banner__btn--decline:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }
.faf-cookie-banner__btn--accept { background: var(--faf-primary); color: #fff; }
.faf-cookie-banner__btn--accept:hover { background: var(--faf-primary-dark); }

/* =============================================================================
   20. RESPONSIVE — MOBILE FIRST
   ============================================================================= */
@media (max-width: 1024px) {
    .faf-hero__grid { grid-template-columns: 1fr; }
    .faf-hero__sidebar {
        margin-top: var(--faf-space-4);
        padding-top: var(--faf-space-4);
        border-top: 1px solid var(--faf-border);
    }

    .faf-card-grid, .faf-card-grid--four { grid-template-columns: repeat(2, 1fr); }

    .faf-newsletter__inner { grid-template-columns: 1fr; }

    .faf-site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    :root {
        --faf-size-base: 16px;
        --faf-size-2xl: 24px;
        --faf-size-3xl: 30px;
        --faf-size-4xl: 36px;
        --faf-space-7: 32px;
        --faf-space-8: 48px;
    }

    .faf-menu-toggle { display: flex; }
    .faf-primary-nav { display: none; }
    .faf-primary-nav.is-open {
        display: block;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: #fff;
        border-top: 1px solid var(--faf-border);
        box-shadow: var(--faf-shadow-xl);
        max-height: 80vh;
        overflow-y: auto;
        z-index: 45;
    }
    .faf-primary-nav.is-open .faf-primary-nav__list {
        flex-direction: column;
        align-items: stretch;
        padding: 0;
        gap: 0;
    }
    .faf-primary-nav.is-open .faf-primary-nav__item a {
        display: block;
        padding: 16px 24px;
        border-bottom: 1px solid var(--faf-border-light);
        border-left: none;
        text-transform: none;
        letter-spacing: 0;
        font-size: 15px;
    }

    /* Mobile mega-menu: accordion style */
    .faf-primary-nav.is-open .faf-nav-group {
        border-bottom: 1px solid var(--faf-border-light);
    }
    .faf-primary-nav.is-open .faf-nav-group__trigger {
        width: 100%;
        justify-content: space-between;
        padding: 16px 24px;
        text-transform: none;
        letter-spacing: 0;
        font-size: 15px;
        font-weight: 700;
        border-bottom: none;
    }
    .faf-primary-nav.is-open .faf-nav-dropdown {
        position: static;
        border: none;
        border-top: 1px solid var(--faf-border-light);
        border-radius: 0;
        box-shadow: none;
        min-width: auto;
        transform: none;
        padding: 0;
        background: var(--faf-bg-soft);
        /* Hidden by default, shown when .is-open */
        display: none;
    }
    .faf-primary-nav.is-open .faf-nav-group.is-open .faf-nav-dropdown {
        display: block;
        opacity: 1;
        visibility: visible;
    }
    .faf-primary-nav.is-open .faf-nav-dropdown__item {
        padding: 12px 24px 12px 40px;
        font-size: 14px;
        border-left: none;
    }
    .faf-primary-nav.is-open .faf-nav-dropdown__item:hover {
        padding-left: 40px;
    }

    .faf-header-cta span { display: none; }
    .faf-header-cta { padding: var(--faf-space-3); }

    .faf-hero { padding: var(--faf-space-5) 0; }
    .faf-hero__feature { min-height: 380px; }
    .faf-hero__feature-overlay {
        min-height: 380px;
        padding: 28px 24px;
    }
    .faf-hero__feature-overlay h1 {
        font-size: 22px;
        -webkit-line-clamp: 3;
    }
    .faf-hero__feature-overlay p {
        font-size: 14px;
        -webkit-line-clamp: 2;
    }

    .faf-card-grid, .faf-card-grid--four, .faf-card-grid--two { grid-template-columns: 1fr; }

    .faf-author-bio { grid-template-columns: 1fr; text-align: center; }
    .faf-author-bio__avatar { margin: 0 auto; }
    .faf-author-bio__social { justify-content: center; }

    .faf-article__meta { gap: 8px; }
    .faf-article__meta-dates { margin-left: 0; text-align: left; }
    .faf-article__meta-author .role { max-width: 200px; }
    .faf-article__hero { aspect-ratio: 16/10; margin: 12px auto 24px; }

    .faf-site-footer__grid { grid-template-columns: 1fr; }
    .faf-site-footer__bottom { flex-direction: column; text-align: center; align-items: center; }

    .faf-share-bar { padding: var(--faf-space-3); gap: var(--faf-space-1); justify-content: center; border-radius: var(--faf-radius-lg); }
    .faf-share-bar__label { display: none; }
    .faf-share-bar__btn { padding: var(--faf-space-2) var(--faf-space-3); min-height: 44px; min-width: 44px; justify-content: center; }
    .faf-share-bar__btn span { display: none; }

    .faf-cookie-banner__inner { flex-direction: column; gap: var(--faf-space-3); padding: var(--faf-space-4); }
    .faf-cookie-banner__buttons { width: 100%; flex-direction: row; }
    .faf-cookie-banner__btn { flex: 1; min-width: 0; padding: var(--faf-space-3); }

    .faf-pin-btn { top: 8px; left: 8px; padding: 12px 16px; font-size: 14px; }

    .faf-progress-bar { height: 4px; }
}

@media (max-width: 420px) {
    :root {
        --faf-size-base: 16px;
        --faf-size-lg: 17px;
        --faf-size-xl: 20px;
        --faf-size-2xl: 22px;
        --faf-size-3xl: 26px;
        --faf-size-4xl: 30px;
        --faf-space-4: 14px;
        --faf-space-5: 18px;
        --faf-space-6: 24px;
    }

    .faf-container { padding: 0 var(--faf-space-4); }
    .faf-brand__tagline { display: none; }
    .faf-brand__wordmark { font-size: 19px; }
    .faf-brand__mark { width: 34px; height: 34px; }
    .faf-brand__mark img { width: 34px; height: 34px; }
    .faf-brand { gap: 10px; }
    .faf-header-cta { padding: 10px; }
    .faf-header-cta span { display: none; }

    .faf-article__title { font-size: 24px !important; line-height: 1.15; margin-bottom: 8px; }
    .faf-article__deck { font-size: 15px; -webkit-line-clamp: 2; margin-bottom: 12px; }
    .faf-article__meta-author img { width: 32px; height: 32px; }
    .faf-article__meta-author .name { font-size: 12px; }
    .faf-article__hero { aspect-ratio: 16/10; border-radius: var(--faf-radius); }

    .faf-hero__feature { min-height: 340px; }
    .faf-hero__feature-overlay {
        min-height: 340px;
        padding: 24px 20px;
    }
    .faf-hero__feature-overlay h1 {
        font-size: 20px;
        line-height: 1.2;
        -webkit-line-clamp: 3;
        max-width: 100%;
    }
    .faf-hero__feature-overlay p {
        font-size: 13px;
        -webkit-line-clamp: 2;
        margin-bottom: 10px;
    }
    .faf-hero__feature-overlay .faf-category-tag {
        font-size: 10px;
        padding: 4px 10px;
        margin-bottom: 10px;
    }
    .faf-hero__byline { font-size: 10px; }

    .faf-card__body { padding: var(--faf-space-3) 0 0; }
    .faf-card__title { font-size: var(--faf-size-lg); }
    .faf-card__excerpt { -webkit-line-clamp: 3; }

    .faf-author-bio { padding: var(--faf-space-4); gap: var(--faf-space-4); }
    .faf-author-bio__avatar { width: 88px; height: 88px; }

    .faf-newsletter { padding: var(--faf-space-5) 0; }
    .faf-newsletter h2 { font-size: 22px; }
    .faf-newsletter__form { flex-direction: column; gap: var(--faf-space-2); }
    .faf-newsletter__form input[type="email"],
    .faf-newsletter__form button { width: 100%; }

    .faf-ad-slot { margin-left: calc(var(--faf-space-4) * -1); margin-right: calc(var(--faf-space-4) * -1); border-radius: 0; }

    .faf-site-footer { padding: var(--faf-space-6) 0 var(--faf-space-4); }
    .faf-site-footer__grid { gap: var(--faf-space-5); }

    .faf-breadcrumbs { font-size: 11px; gap: var(--faf-space-1); }

    .faf-cookie-banner__buttons { flex-direction: column; }
    .faf-cookie-banner__btn { width: 100%; }

    .faf-inline-optin { padding: var(--faf-space-4); }
    .faf-inline-optin h3 { font-size: var(--faf-size-lg); }
    .faf-inline-optin form { flex-direction: column; }
    .faf-inline-optin input[type="email"],
    .faf-inline-optin button { width: 100%; flex-basis: auto; }

    .faf-article__hero { aspect-ratio: 4 / 3; border-radius: 0; }
}

@media (max-height: 500px) and (orientation: landscape) {
    .faf-site-header { position: relative; }
    .faf-hero__feature { aspect-ratio: 21/9; }
}

@media (pointer: coarse) {
    .faf-primary-nav__item a,
    .faf-header-cta,
    .faf-search-toggle,
    .faf-menu-toggle,
    .faf-card__title a,
    .faf-category-tag,
    .faf-share-bar__btn,
    .faf-cookie-banner__btn,
    .faf-author-bio__social a,
    .faf-site-footer__social a { min-height: 44px; }
}

/* =============================================================================
   21. ACCESSIBILITY + PRINT
   ============================================================================= */
*:focus-visible {
    outline: 2px solid var(--faf-primary);
    outline-offset: 2px;
    border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

@media print {
    .faf-site-header, .faf-site-footer, .faf-newsletter,
    .faf-inline-optin, .faf-related, .faf-ad-slot, .faf-cookie-banner,
    .faf-share-bar, .faf-pin-btn { display: none !important; }
    .faf-article__body { max-width: none; font-size: 12pt; }
    .faf-article__body a { color: #000; text-decoration: underline; }
    .faf-article__body a::after { content: " (" attr(href) ")"; font-size: 9pt; }
}
