/* ReviseFRCEM site.css — GENERATED by revisemrcem.com laravel/scripts/build-revisefrcem.php. Do not edit. */

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #eff6ff;
    --accent: #059669;
    --accent-light: #ecfdf5;
    --warn: #d97706;
    --warn-light: #fffbeb;
    --text: #111827;
    --text-muted: #6b7280;
    --text-light: #9ca3af;
    --border: #e5e7eb;
    --bg: #ffffff;
    --bg-soft: #f9fafb;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
    --shadow: 0 4px 16px rgba(0,0,0,.08);
    --radius: 12px;
    --radius-lg: 20px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    font-size: 16px;
}

/* legacy .site-nav / .nav-* rules removed 2026-06-04 — all pages now use partials/header (.sh__*) */

.breadcrumb { max-width: 1000px; margin: 0 auto; padding: 16px 24px 0; font-size: .8rem; color: var(--text-muted); }
.breadcrumb a { color: var(--primary); text-decoration: none; }
.breadcrumb span { margin: 0 6px; }

.blog-hero { background: linear-gradient(135deg, #eff6ff 0%, #ecfdf5 100%); border-bottom: 1px solid var(--border); padding: 48px 24px 40px; }
.blog-hero-inner { max-width: 1000px; margin: 0 auto; }
.blog-category { display: inline-flex; align-items: center; gap: 6px; background: var(--primary); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 12px; border-radius: 100px; margin-bottom: 16px; }
.blog-hero h1 { font-family: 'Merriweather', serif; font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 700; line-height: 1.3; color: var(--text); margin-bottom: 16px; }
.blog-hero .lead { font-size: 1.05rem; color: var(--text-muted); max-width: 700px; margin-bottom: 24px; }
.blog-meta { display: flex; flex-wrap: wrap; gap: 20px; font-size: .8rem; color: var(--text-muted); }

.article-wrap { max-width: 1000px; margin: 0 auto; padding: 40px 24px 80px; }
.article-wrap h2 { font-family: 'Merriweather', serif; font-size: 1.5rem; font-weight: 700; color: var(--text); margin: 48px 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--border); }
.article-wrap h3 { font-size: 1.1rem; font-weight: 700; color: var(--text); margin: 32px 0 12px; }
.article-wrap h4 { font-size: .95rem; font-weight: 700; color: var(--text); margin: 16px 0 6px; }
.article-wrap p { color: #374151; margin-bottom: 16px; font-size: .975rem; }
.article-wrap ul, .article-wrap ol { padding-left: 22px; margin-bottom: 16px; }
.article-wrap li { color: #374151; margin-bottom: 6px; font-size: .975rem; }
.article-wrap a { color: var(--primary); }

.callout { border-radius: var(--radius); padding: 20px 24px; margin: 24px 0; display: flex; gap: 14px; align-items: flex-start; }
.callout-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
/* Direct child ONLY: this styles the callout TITLE. Without the `>` it also hits every
   inline <strong> inside .callout-body p, turning mid-sentence emphasis into a block and
   breaking the sentence across lines with the punctuation orphaned. Fixed 2026-08-22. */
.callout-body > strong { display: block; font-weight: 700; margin-bottom: 4px; font-size: .95rem; }
.callout-body p { margin: 0; font-size: .9rem; }
.callout.info { background: var(--primary-light); border: 1px solid #bfdbfe; }
.callout.success { background: var(--accent-light); border: 1px solid #a7f3d0; }
.callout.warn { background: var(--warn-light); border: 1px solid #fde68a; }

.fee-table { width: 100%; border-collapse: collapse; margin: 20px 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); font-size: .9rem; }
.fee-table thead { background: var(--primary); color: #fff; }
.fee-table th { padding: 12px 16px; text-align: left; font-weight: 600; }
.fee-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
.fee-table tbody tr:last-child td { border-bottom: none; }
.fee-table tbody tr:nth-child(even) { background: var(--bg-soft); }
.fee-highlight { font-weight: 700; color: var(--primary); }

/* Wide tables must scroll INSIDE their own box, never scroll the whole page sideways.
   Every comparison table on these pages is 3+ columns of prose; on a phone their
   min-content width (370-480px+) exceeds the ~358px content box, and without this the
   body scrolled horizontally. No min-width is set on purpose: a table cannot shrink
   below its own min-content width, so `overflow-x: auto` alone self-tunes per table --
   narrow tables still fit at 100%, only genuinely wide ones scroll. Added 2026-08-22. */
/* Long unbreakable tokens push the whole page sideways on a phone. Clinical prose here
   is full of slash-joined term lists -- "dapagliflozin/empagliflozin/canagliflozin/
   ertugliflozin" is 55 chars and a slash is NOT a line-break opportunity in CSS, so it
   rendered ~394px wide inside a 301px list item and forced the body to 441px.
   `break-word` (NOT `anywhere`) breaks such a word only when it would otherwise overflow,
   and deliberately does NOT affect intrinsic min-content sizing -- so tables keep their
   min-content and still scroll inside .table-scroll rather than being shredded narrow.
   Added 2026-08-22. */
.article-wrap { overflow-wrap: break-word; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 20px 0; }
.table-scroll > table { margin: 0; }

.cost-grid, .cluster-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 20px 0; }
.cost-card { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.cost-card .cost-icon { font-size: 1.4rem; margin-bottom: 8px; }
.cost-card h4 { font-size: .9rem; font-weight: 700; margin-bottom: 6px; }
.cost-card p { font-size: .85rem; color: var(--text-muted); margin: 0; }

.cluster-card { display: block; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .15s; background: #fff; }
.cluster-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-1px); }
.cluster-card-title { font-weight: 700; color: var(--primary); font-size: .95rem; margin-bottom: 4px; }
.cluster-card-desc { font-size: .8rem; color: var(--text-muted); }
.cluster-card-hub { background: linear-gradient(135deg, #eff6ff 0%, #ecfdf5 100%); border-color: var(--primary); }

.steps { list-style: none; padding: 0; margin: 20px 0; }
.steps > li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--border); }
.steps > li:last-child { border-bottom: none; }
.step-num { background: var(--primary); color: #fff; font-size: .8rem; font-weight: 700; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.step-body strong { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 4px; }
.step-body p { font-size: .875rem; color: var(--text-muted); margin: 0; }

.pass-section { background: linear-gradient(135deg, #1e3a8a 0%, #065f46 100%); border-radius: var(--radius-lg); padding: 32px 28px; color: #fff; }
.pass-section h2 { font-family: 'Merriweather', serif; font-size: 1.4rem; margin-bottom: 10px; border: none; padding: 0; color: #fff; }
.pass-section p { color: rgba(255,255,255,.85); margin-bottom: 18px; font-size: .95rem; }
.pass-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-white { background: #fff; color: var(--primary); padding: 12px 22px; border-radius: 8px; font-weight: 700; font-size: .9rem; text-decoration: none; transition: box-shadow .2s; }
.btn-white:hover { box-shadow: 0 0 0 3px rgba(255,255,255,.4); }
.btn-outline-white { border: 2px solid rgba(255,255,255,.5); color: #fff; padding: 11px 22px; border-radius: 8px; font-weight: 600; font-size: .9rem; text-decoration: none; transition: border-color .2s; }
.btn-outline-white:hover { border-color: #fff; }

.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq-q { width: 100%; background: none; border: none; padding: 18px 20px; text-align: left; font-size: .95rem; font-weight: 600; color: var(--text); cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-family: 'Inter', sans-serif; }
.faq-q:hover { background: var(--bg-soft); }
.faq-q .arrow { transition: transform .3s; font-size: 1.1rem; }
.faq-q.open .arrow { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 20px 18px; font-size: .9rem; color: #374151; line-height: 1.7; }
.faq-a.show { display: block; }

/* legacy .site-footer rules removed 2026-06-04 — all pages now use partials/footer (.site-footer__inner / .sf-*) */

@media (max-width: 640px) {
    .cost-grid, .cluster-grid { grid-template-columns: 1fr; }
}


/* FRCEM component styles for revisefrcem.com — generated from resources/views/frcem/layout.blade.php
   (its first <style> block), re-scoped to .fr-scope with the light theme. Regenerate from that source
   rather than editing by hand. The moved FRCEM guide wraps its content in <div class="fr-scope">. */
/* ════════════════════════════════════════════════════════════
   FRCEM SHARED STYLES
   Source of truth for all FRCEM pages.
   ════════════════════════════════════════════════════════════ */

/* ── Design tokens ──────────────────────────────────────── */
.fr-scope {
  --fr-bg:      #0a0e14;
  --fr-surf:    #0f1117;
  --fr-surf2:   #1a1d27;
  --fr-surf3:   #1f2a3a;
  --fr-border:  #1e2d40;
  --fr-border2: #2a2d3a;
  --fr-text:    #e2e8f0;
  --fr-text2:   #8899aa;
  --fr-muted:   #94a3b8;
  --fr-accent:  #7c3aed;   /* purple — differentiates FRCEM from OSCE blue */
  --fr-accent2: #a855f7;
  --fr-green:   #22c55e;
  --fr-amber:   #f59e0b;
  --fr-red:     #ef4444;
  --fr-radius:  12px;
  --fr-mono:    'IBM Plex Mono', 'Courier New', monospace;
  --fr-sans:    'IBM Plex Sans', system-ui, sans-serif;
}

/* ── Light theme overrides ──────────────────────────────── */
.fr-scope {
  --fr-bg:      #f8fafc;
  --fr-surf:    #ffffff;
  --fr-surf2:   #f1f5f9;
  --fr-surf3:   #e2e8f0;
  --fr-border:  #e2e8f0;
  --fr-border2: #e2e8f0;
  --fr-text:    #0f172a;
  --fr-text2:   #334155;
  --fr-muted:   #64748b;
  --fr-accent:  #7c3aed;
}
.fr-scope .fr-card { background: rgba(0,0,0,0.03); }

/* ── Page base ──────────────────────────────────────────── */
.fr-scope {
  background: var(--fr-bg);
  color: var(--fr-text);
  font-family: var(--fr-sans);
}

/* ── FRCEM navigation strip ─────────────────────────────── */
.frcem-nav {
  background: var(--fr-surf);
  border-bottom: 1px solid var(--fr-border);
  position: sticky;
  top: 0;
  z-index: 200;
}
.frcem-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0.75rem;
  display: flex;
  align-items: stretch;
}
.frcem-nav-links {
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  flex: 1;
  min-width: 0;
}
.frcem-nav-links::-webkit-scrollbar { display: none; }
.frcem-nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--fr-muted);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.frcem-nav-link:hover { color: var(--fr-text); }
.frcem-nav-link.active { color: var(--fr-accent2); border-bottom-color: var(--fr-accent2); }
.frcem-nav-divider {
  width: 1px;
  background: var(--fr-border);
  margin: 0.5rem 0.25rem;
  flex-shrink: 0;
}

/* ── Theme toggle ───────────────────────────────────────── */
.frcem-theme-toggle {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0 0.65rem;
  margin-left: 0.25rem;
  background: transparent;
  border: none;
  border-left: 1px solid var(--fr-border);
  cursor: pointer;
  color: var(--fr-muted);
  font-size: 1rem;
  line-height: 1;
  transition: color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.frcem-theme-toggle:hover { color: var(--fr-text); }

/* ── Buttons ────────────────────────────────────────────── */
.fr-btn {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  line-height: 1.4;
}
.fr-btn-primary {
  background: var(--fr-accent);
  color: #fff;
}
.fr-btn-primary:hover { background: var(--fr-accent2); color: #fff; }
.fr-btn-outline {
  background: transparent;
  color: var(--fr-muted);
  border: 1px solid var(--fr-border2);
}
.fr-btn-outline:hover { color: var(--fr-text); border-color: var(--fr-muted); }

/* ── Guide page layout ──────────────────────────────────── */
.frcem-guide-wrap {
  /* 🔴 width:100% is LOAD-BEARING. body is display:flex, so this is a flex item, and a
     flex item's width:auto is CONTENT-based (fit-content), not fill — it sized itself to
     its widest descendant and pushed the whole page sideways (measured +8 to +43px at
     vw305 on 6 of 27 FRCEM pages). max-width:860px still governs desktop. */
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

/* ── Hero ───────────────────────────────────────────────── */
.fr-hero {
  text-align: center;
  padding: 3rem 1.5rem 2.5rem;
  background: linear-gradient(135deg, var(--fr-bg) 0%, var(--fr-surf2) 100%);
  border-bottom: 1px solid var(--fr-border2);
}
.fr-hero-badge {
  display: inline-block;
  background: rgba(124,58,237,0.15);
  color: var(--fr-accent2);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: 99px;
  padding: 0.25rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.fr-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--fr-text);
  margin: 0 0 0.75rem;
}
.fr-hero-sub {
  color: var(--fr-muted);
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1rem;
  line-height: 1.65;
}
.fr-stats-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.fr-stat { text-align: center; }
.fr-stat-value { font-size: 1.5rem; font-weight: 800; color: var(--fr-text); }
.fr-stat-label { font-size: 0.75rem; color: var(--fr-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 0.15rem; }
.fr-hero-ctas { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* ── TOC ────────────────────────────────────────────────── */
.fr-toc {
  background: var(--fr-surf2);
  border: 1px solid var(--fr-border2);
  border-radius: var(--fr-radius);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}
.fr-toc h2 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--fr-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 0.75rem;
}
.fr-toc ul {
  margin: 0;
  padding-left: 1.25rem;
  columns: 2;
  column-gap: 2rem;
}
.fr-toc li { margin-bottom: 0.35rem; }
.fr-toc a { color: var(--fr-accent2); font-size: 0.85rem; text-decoration: none; }
.fr-toc a:hover { text-decoration: underline; }
@media (max-width: 560px) { .fr-toc ul { columns: 1; } }

/* ── Sections ───────────────────────────────────────────── */
.fr-section {
  margin-bottom: 3rem;
  padding-top: 0.5rem;
}
.fr-section h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--fr-text);
  margin: 0 0 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--fr-accent);
}
.fr-section h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--fr-text);
  margin: 1.5rem 0 0.75rem;
}
.fr-section p {
  color: var(--fr-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.fr-section ul, .fr-section ol {
  color: var(--fr-muted);
  padding-left: 1.4rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.fr-section li { margin-bottom: 0.4rem; }
.fr-section a { color: var(--fr-accent2); }

/* ── 2-col info cards ───────────────────────────────────── */
.fr-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1rem 0 1.5rem;
}
@media (max-width: 560px) { .fr-card-grid { grid-template-columns: 1fr; } }
.fr-card {
  background: var(--fr-surf2);
  border: 1px solid var(--fr-border2);
  border-radius: var(--fr-radius);
  padding: 1.25rem;
}
.fr-card-icon { font-size: 1.5rem; margin-bottom: 0.5rem; }
.fr-card-title { font-size: 0.95rem; font-weight: 700; color: var(--fr-text); margin-bottom: 0.4rem; }
.fr-card-body { font-size: 0.85rem; color: var(--fr-muted); line-height: 1.6; }
.fr-card.accent-purple { border-left: 3px solid var(--fr-accent); }
.fr-card.accent-green  { border-left: 3px solid var(--fr-green); }

/* ── Detail grid (key/value pairs) ─────────────────────── */
.fr-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0 1.5rem;
}
.fr-detail-item {
  background: var(--fr-surf2);
  border: 1px solid var(--fr-border2);
  border-radius: 8px;
  padding: 0.75rem 1rem;
}
.fr-detail-label { font-size: 0.7rem; color: var(--fr-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.2rem; }
.fr-detail-value { font-size: 0.9rem; color: var(--fr-text); font-weight: 600; }

/* ── Tables ─────────────────────────────────────────────── */
.fr-table-wrap { overflow-x: auto; margin: 1rem 0 1.5rem; }
.fr-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.fr-table th {
  background: var(--fr-surf2);
  color: var(--fr-muted);
  text-align: left;
  padding: 0.6rem 0.9rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--fr-border2);
}
.fr-table td {
  padding: 0.6rem 0.9rem;
  color: var(--fr-text);
  border-bottom: 1px solid var(--fr-border2);
  vertical-align: top;
}
.fr-table tr:last-child td { border-bottom: none; }
.fr-table td:first-child { color: var(--fr-muted); }

/* ── Callout boxes ──────────────────────────────────────── */
.fr-callout {
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin: 1rem 0 1.5rem;
  font-size: 0.88rem;
  line-height: 1.6;
}
.fr-callout p { margin: 0; }
.fr-callout.info {
  background: rgba(124,58,237,0.08);
  border: 1px solid rgba(124,58,237,0.25);
  color: #c4b5fd;
}
.fr-callout.warning {
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.25);
  color: #fbbf24;
}
.fr-callout.success {
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.25);
  color: #86efac;
}
.fr-callout strong { color: inherit; }
.fr-callout a { color: inherit; text-decoration: underline; }

/* ── Eligibility list ───────────────────────────────────── */
.fr-elig-list { display: flex; flex-direction: column; gap: 0.75rem; margin: 1rem 0 1.5rem; }
.fr-elig-item {
  display: flex;
  gap: 1rem;
  background: var(--fr-surf2);
  border: 1px solid var(--fr-border2);
  border-radius: 8px;
  padding: 0.9rem 1.1rem;
  font-size: 0.88rem;
  color: var(--fr-muted);
  line-height: 1.6;
}
.fr-elig-item strong { color: var(--fr-text); display: block; margin-bottom: 0.15rem; }
.fr-elig-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 0.1rem; }

/* ── Domain pills ───────────────────────────────────────── */
.fr-domain-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0 1.5rem;
}
.fr-domain-pill {
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.25);
  color: #c4b5fd;
  border-radius: 99px;
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 500;
}

/* ── Station type cards ─────────────────────────────────── */
.fr-station-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.75rem;
  margin: 0.75rem 0 1.5rem;
}
.fr-station-card {
  background: var(--fr-surf2);
  border: 1px solid var(--fr-border2);
  border-radius: 8px;
  padding: 0.85rem 0.75rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--fr-muted);
  line-height: 1.5;
}

/* ── Schedule pills ─────────────────────────────────────── */
.fr-schedule-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0 1.25rem;
}
.fr-schedule-pill {
  background: var(--fr-surf2);
  border: 1px solid var(--fr-border2);
  border-radius: 99px;
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  color: var(--fr-muted);
}

/* ── Attempt cards ──────────────────────────────────────── */
.fr-attempt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1rem 0 1.5rem;
}
@media (max-width: 560px) { .fr-attempt-grid { grid-template-columns: 1fr; } }
.fr-attempt-card {
  background: var(--fr-surf2);
  border: 1px solid var(--fr-border2);
  border-radius: var(--fr-radius);
  padding: 1.1rem 1.25rem;
}
.fr-attempt-icon { font-size: 1.4rem; margin-bottom: 0.4rem; }
.fr-attempt-title { font-size: 0.9rem; font-weight: 700; color: var(--fr-text); margin-bottom: 0.4rem; }
.fr-attempt-body { font-size: 0.82rem; color: var(--fr-muted); line-height: 1.6; }

/* ── Pass rate highlight ────────────────────────────────── */
.fr-pass-rate {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin: 1rem 0;
}
.fr-pass-rate-big {
  font-size: 3rem;
  font-weight: 800;
  color: var(--fr-amber);
  font-family: var(--fr-mono);
}
.fr-pass-rate-label { font-size: 0.9rem; color: var(--fr-muted); }

/* ── Recognition grid ───────────────────────────────────── */
.fr-recognition-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1rem 0 1.5rem;
}
@media (max-width: 560px) { .fr-recognition-grid { grid-template-columns: 1fr; } }
.fr-recognition-item {
  background: var(--fr-surf2);
  border: 1px solid var(--fr-border2);
  border-radius: var(--fr-radius);
  padding: 1.1rem 1.25rem;
}
.fr-recognition-icon { font-size: 1.5rem; margin-bottom: 0.4rem; }
.fr-recognition-title { font-size: 0.9rem; font-weight: 700; color: var(--fr-text); margin-bottom: 0.35rem; }
.fr-recognition-body { font-size: 0.82rem; color: var(--fr-muted); line-height: 1.6; }

/* ── Pros / Cons ────────────────────────────────────────── */
.fr-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1rem 0 1.5rem;
}
@media (max-width: 600px) { .fr-pros-cons { grid-template-columns: 1fr; } }
.fr-pros, .fr-cons {
  background: var(--fr-surf2);
  border: 1px solid var(--fr-border2);
  border-radius: var(--fr-radius);
  padding: 1.25rem;
}
.fr-pros { border-top: 3px solid var(--fr-green); }
.fr-cons { border-top: 3px solid var(--fr-red); }
.fr-pros h3 { color: var(--fr-green); font-size: 0.95rem; margin: 0 0 0.75rem; }
.fr-cons h3 { color: var(--fr-red); font-size: 0.95rem; margin: 0 0 0.75rem; }
.fr-pros ul, .fr-cons ul {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.85rem;
  color: var(--fr-muted);
  line-height: 1.7;
}
.fr-pros li, .fr-cons li { margin-bottom: 0.5rem; }
.fr-pros li strong, .fr-cons li strong { color: var(--fr-text); }

/* ── Country pills ──────────────────────────────────────── */
.fr-country-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0 1.5rem;
}
.fr-country-pill {
  background: var(--fr-surf2);
  border: 1px solid var(--fr-border2);
  border-radius: 99px;
  padding: 0.3rem 0.8rem;
  font-size: 0.8rem;
  color: var(--fr-muted);
}

/* ── Venue highlight ────────────────────────────────────── */
.fr-venue-highlight {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--fr-surf2);
  border: 1px solid var(--fr-border2);
  border-radius: var(--fr-radius);
  padding: 1.25rem;
  margin: 0.75rem 0 1rem;
}
.fr-venue-flag { font-size: 2.5rem; flex-shrink: 0; }
.fr-venue-name { font-size: 1rem; font-weight: 700; color: var(--fr-text); margin-bottom: 0.3rem; }
.fr-venue-note { font-size: 0.85rem; color: var(--fr-muted); line-height: 1.6; }

/* ── Priority list ──────────────────────────────────────── */
.fr-priority-list {
  padding-left: 1.4rem;
  color: var(--fr-muted);
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 0.5rem 0 1.25rem;
}
.fr-priority-list li { margin-bottom: 0.4rem; }

/* ── Resource list ──────────────────────────────────────── */
.fr-resource-list { display: flex; flex-direction: column; gap: 0.75rem; margin: 0.75rem 0 1.5rem; }
.fr-resource-item {
  display: flex;
  gap: 1rem;
  background: var(--fr-surf2);
  border: 1px solid var(--fr-border2);
  border-radius: 8px;
  padding: 0.9rem 1.1rem;
  align-items: flex-start;
}
.fr-resource-icon { font-size: 1.25rem; flex-shrink: 0; margin-top: 0.1rem; }
.fr-resource-name { font-size: 0.88rem; font-weight: 600; color: var(--fr-text); margin-bottom: 0.2rem; }
.fr-resource-name a { color: var(--fr-accent2); text-decoration: none; }
.fr-resource-name a:hover { text-decoration: underline; }
.fr-resource-desc { font-size: 0.82rem; color: var(--fr-muted); line-height: 1.5; }

/* ── Preparation tips ───────────────────────────────────── */
.fr-tips-list { display: flex; flex-direction: column; gap: 1rem; margin: 1rem 0; }
.fr-tip {
  display: flex;
  gap: 1.25rem;
  background: var(--fr-surf2);
  border: 1px solid var(--fr-border2);
  border-radius: var(--fr-radius);
  padding: 1.25rem;
}
.fr-tip-number {
  font-family: var(--fr-mono);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--fr-accent2);
  flex-shrink: 0;
  min-width: 2rem;
}
.fr-tip-title { font-size: 0.95rem; font-weight: 700; color: var(--fr-text); margin-bottom: 0.4rem; }
.fr-tip-body { font-size: 0.85rem; color: var(--fr-muted); line-height: 1.65; }

/* ── CTA strip ──────────────────────────────────────────── */
.fr-cta-strip {
  background: linear-gradient(135deg, rgba(124,58,237,0.15) 0%, rgba(124,58,237,0.05) 100%);
  border: 1px solid rgba(124,58,237,0.25);
  border-radius: var(--fr-radius);
  padding: 2.5rem 2rem;
  text-align: center;
  margin-top: 3rem;
}
.fr-cta-strip h2 { font-size: 1.4rem; font-weight: 800; color: var(--fr-text); margin: 0 0 0.5rem; }
.fr-cta-strip p { color: var(--fr-muted); margin: 0 0 1.5rem; font-size: 0.95rem; }
.fr-cta-buttons { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .frcem-guide-wrap { padding: 2rem 1.25rem 3rem; }
  .fr-hero { padding: 2.5rem 1.25rem 2rem; }
}
@media (max-width: 480px) {
  .fr-hero { padding: 2rem 1rem 1.5rem; }
  .fr-hero h1 { font-size: 1.4rem; }
  .fr-stats-row { gap: 1.25rem; }
  .frcem-guide-wrap { padding: 1.5rem 1rem 2.5rem; }
  .fr-section h2 { font-size: 1.2rem; }
  .frcem-nav-link { padding: 0.65rem 0.7rem; font-size: 0.72rem; }
}

/* revisefrcem: the site's fonts instead of IBM Plex */
.fr-scope { --fr-sans: 'Inter', system-ui, -apple-system, sans-serif; --fr-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }


/* ReviseFRCEM brand layer — loaded LAST in css/site.css by scripts/build-revisefrcem.php, after
   revisemrcem's article styles (public/css/mrcem-spoke.css) and the FRCEM component styles
   (resources/revisefrcem/frcem-components.css). Violet, matching the revisefrcem.com homepage. */

:root {
  --primary: #7c3aed; --primary-dark: #6d28d9; --primary-light: #f5f3ff;
  --accent: #0f766e; --accent-light: #f0fdfa;
  --violet: #7c3aed; --violet-dark: #6d28d9; --violet-light: #a855f7; --violet-pale: #c4b5fd;
  --violet-wash: #f5f3ff; --ink: #0f172a; --line: #e2e8f0;
}

body { display: block; }
a { color: var(--violet-dark); }

.site-wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* header — as on the homepage */
.site-header { border-bottom: 1px solid var(--line); position: sticky; top: 0; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); z-index: 20; }
.site-hdr { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.site-logo { font-weight: 800; font-size: 1.22rem; color: var(--ink); letter-spacing: -.02em; text-decoration: none; }
.site-logo span { color: var(--violet); }
.site-logo:hover { text-decoration: none; }
.site-header nav { display: flex; gap: 22px; align-items: center; }
.site-header nav a { color: #475569; font-size: .93rem; font-weight: 500; text-decoration: none; }
.site-header nav a:hover { color: var(--violet-dark); }
.site-cta { background: var(--violet); color: #fff !important; padding: 9px 17px; border-radius: 8px; font-weight: 600; font-size: .9rem; white-space: nowrap; }
.site-cta:hover { background: var(--violet-dark); }
@media (max-width: 720px) { .site-header nav a:not(.site-cta) { display: none; } }

/* footer — as on the homepage */
.site-footer { background: var(--ink); color: #94a3b8; padding: 48px 0 36px; font-size: .89rem; line-height: 1.65; }
.site-footer .site-logo { color: #fff; display: inline-block; margin-bottom: 14px; }
.site-footer .site-logo span { color: var(--violet-light); }
.site-footer a { color: #cbd5e1; }
.site-footer-links { margin-top: 10px; }
.site-legal { border-top: 1px solid #1e293b; margin-top: 26px; padding-top: 22px; font-size: .82rem; line-height: 1.7; }

/* article hero — violet instead of revisemrcem blue */
.blog-hero { background: linear-gradient(160deg, var(--violet-wash) 0%, #ffffff 70%); }

/* related guides */
.rf-related { margin-top: 44px; }
.rf-related h2, .rf-cta h2 { font-size: 1.3rem; margin-bottom: 14px; }
.rf-related-grid, .rf-index-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 11px; }
.rf-related-grid a, .rf-index-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 15px 18px; font-weight: 600; color: var(--ink); font-size: .95rem; text-decoration: none; }
.rf-related-grid a:hover, .rf-index-card:hover { border-color: var(--violet-pale); color: var(--violet-dark); }
.rf-related-grid a small, .rf-index-card span { display: block; color: #64748b; font-weight: 400; font-size: .84rem; margin-top: 3px; }
.rf-index-card strong { display: block; }
#articles, #guides { margin-bottom: 36px; }

/* call to action */
.rf-cta { margin-top: 44px; background: linear-gradient(140deg, #1e1b4b, #4c1d95); color: #e9d5ff; border-radius: 16px; padding: 30px 28px; }
.rf-cta h2 { color: #fff; }
.rf-cta p { color: #d8b4fe; margin-bottom: 18px; max-width: 640px; }
.rf-cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.rf-btn { display: inline-block; padding: 12px 22px; border-radius: 10px; font-weight: 600; font-size: .96rem; text-decoration: none; }
.rf-btn-primary { background: #f59e0b; color: #422006; }
.rf-btn-ghost { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.25); }
.rf-btn:hover { filter: brightness(1.07); text-decoration: none; }

/* the moved FRCEM guide keeps its own components inside .fr-scope */
.fr-scope { padding-bottom: 8px; }
