/* =========================================================
   FMB MONEY MYTHS
   Editorial hub styling. Reuses the Home + Start Here design
   language while intentionally avoiding duplicate card layouts.
========================================================= */

:root {
  --fmb-myth-border: var(--fmb-editorial-border);
  --fmb-myth-border-strong: var(--fmb-editorial-border-strong);
}

.fmb-myth-section {
  padding: var(--fmb-editorial-section-space) 0;
}

/* Heading composition modifiers are page-specific; typography is shared. */
.fmb-myth-heading--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .75fr); gap: clamp(28px, 5vw, 80px); align-items: end; max-width: none; }
.fmb-myth-heading--compact { max-width: 860px; }
.fmb-myth-heading--with-link { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; max-width: none; }
.fmb-myth-heading--with-link > div { max-width: 900px; }
.fmb-myth-heading__description { max-width: 760px; }
.fmb-myth-heading--split > .fmb-myth-heading__description { margin: 0; }
.fmb-myth-text-link { white-space: nowrap; }
.fmb-myth-text-link--light { border-bottom-color: rgba(212,182,120,.55); color: #fff; }
.fmb-myth-text-link--light:hover { border-bottom-color: var(--fmb-gold); color: var(--fmb-gold-hover); }

/* 02 — Editorial topic index. Unlike the Home page cards, this reads like a publication directory. */
.fmb-myth-index { background: var(--fmb-off-white); }
.fmb-myth-index__grid { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); border-top: 1px solid var(--fmb-myth-border); border-bottom: 1px solid var(--fmb-myth-border); }
.fmb-myth-index__item { display: flex; min-height: 250px; flex-direction: column; padding: 24px 22px 20px; border-right: 1px solid var(--fmb-myth-border); color: inherit; text-decoration: none; transition: background var(--fmb-transition), transform var(--fmb-transition); }
.fmb-myth-index__item:last-child { border-right: 0; }
.fmb-myth-index__item:hover { background: #fff; transform: translateY(-2px); }
.fmb-myth-index__icon { width: 34px; height: 34px; margin-bottom: 18px; color: var(--fmb-gold-dark); }
.fmb-myth-index__icon svg { width: 100%; height: 100%; }
.fmb-myth-index__item h3 { margin: 0; color: var(--fmb-navy); font-family: var(--fmb-font-display); font-size: 1.04rem; line-height: 1.22; }
.fmb-myth-index__item > p { margin: 9px 0 20px; color: var(--fmb-body); font-size: .78rem; line-height: 1.55; }
.fmb-myth-index__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; color: var(--fmb-navy); font-size: .68rem; font-weight: 750; }
.fmb-myth-index__meta span:first-child { color: var(--fmb-muted); font-weight: 650; }

/* 03 — Cover story. */
.fmb-myth-featured { background: #fff; }
.fmb-myth-featured__card { display: grid; grid-template-columns: minmax(0,.94fr) minmax(0,1.06fr); overflow: hidden; border: 1px solid var(--fmb-border); background: #fff; box-shadow: var(--fmb-shadow-sm); }
.fmb-myth-featured__claim { position: relative; display: flex; min-height: 390px; flex-direction: column; justify-content: center; padding: clamp(34px,4vw,66px); overflow: hidden; background: radial-gradient(circle at 15% 15%, rgba(212,182,120,.12), transparent 34%), var(--fmb-navy); color: #fff; }
.fmb-myth-featured__claim::after { position: absolute; right: -80px; bottom: -95px; width: 250px; height: 250px; border: 1px solid rgba(212,182,120,.14); border-radius: 50%; content: ""; }
.fmb-myth-featured__label { margin: 0 0 15px; color: var(--fmb-gold); font-size: .66rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.fmb-myth-featured__claim blockquote { max-width: 650px; margin: 0; font-family: var(--fmb-font-display); font-size: clamp(28px,3.2vw,48px); font-weight: 800; line-height: 1.12; }
.fmb-myth-featured__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 34px; }
.fmb-myth-featured__analysis { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px,4vw,62px); }
.fmb-myth-featured__analysis .fmb-myth-featured__label { color: var(--fmb-gold-dark); }
.fmb-myth-featured__verdict { margin: -3px 0 10px; color: var(--fmb-gold-dark); font-family: var(--fmb-font-display); font-size: clamp(25px,2.3vw,38px); font-weight: 800; line-height: 1.05; }
.fmb-myth-featured__verdict--not-supported { color: #9a3432; }
.fmb-myth-featured__verdict--supported { color: #24683f; }
.fmb-myth-featured__analysis h3 { max-width: 650px; margin: 0 0 10px; color: var(--fmb-navy); font-size: 1rem; line-height: 1.35; }
.fmb-myth-featured__summary { max-width: 700px; margin: 0; color: var(--fmb-body); font-size: .85rem; line-height: 1.6; }
.fmb-myth-featured__takeaways { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--fmb-myth-border); }
.fmb-myth-featured__takeaways-title { margin: 0 0 12px; color: var(--fmb-navy); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.fmb-myth-featured__takeaway-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.fmb-myth-featured__takeaway-grid p { margin: 0; color: var(--fmb-body); font-size: .72rem; line-height: 1.48; }
.fmb-myth-featured__takeaway-grid p span { display: block; margin-bottom: 6px; color: var(--fmb-gold-dark); font-family: var(--fmb-font-display); font-size: 1rem; font-weight: 800; }

/* 04 — Magazine latest-analysis composition. */
.fmb-myth-latest { background: var(--fmb-off-white); }
.fmb-myth-latest__layout { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(420px,.92fr); gap: clamp(22px,3vw,42px); }
.fmb-myth-latest__lead { overflow: hidden; border: 1px solid var(--fmb-myth-border); background: #fff; }
.fmb-myth-latest__image { display: block; height: clamp(260px,30vw,430px); overflow: hidden; background: var(--fmb-navy); }
.fmb-myth-latest__image img { width: 100%; height: 100%; object-fit: cover; }
.fmb-myth-latest__placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #0b203b, #07182f 55%, #102138); }
.fmb-myth-latest__lead-copy { padding: 24px 26px 22px; }
.fmb-myth-card-topic { margin: 0 0 7px; color: var(--fmb-gold-dark); font-size: .63rem !important; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.fmb-myth-latest h3 { margin: 0; color: var(--fmb-navy); font-family: var(--fmb-font-display); }
.fmb-myth-latest h3 a { text-decoration: none; }
.fmb-myth-latest__lead h3 { font-size: clamp(22px,2.05vw,32px); line-height: 1.12; }
.fmb-myth-latest__lead-copy > p:not(.fmb-myth-card-topic) { margin: 10px 0 15px; color: var(--fmb-body); font-size: .82rem; line-height: 1.55; }
.fmb-myth-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: var(--fmb-muted); font-size: .67rem; font-weight: 650; }
.fmb-myth-verdict { display: inline-flex; align-items: center; gap: 5px; color: var(--fmb-gold-dark); font-weight: 800; }
.fmb-myth-verdict::before { width: 6px; height: 6px; border-radius: 50%; background: currentColor; content: ""; }
.fmb-myth-verdict--not-supported { color: #9a3432; }
.fmb-myth-verdict--supported { color: #24683f; }
.fmb-myth-verdict--outdated { color: #6f7784; }
.fmb-myth-latest__stack { display: flex; flex-direction: column; }
.fmb-myth-latest__story { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 18px; padding: 0 0 18px; border-bottom: 1px solid var(--fmb-myth-border); }
.fmb-myth-latest__story + .fmb-myth-latest__story { padding-top: 18px; }
.fmb-myth-latest__story:last-child { border-bottom: 0; }
.fmb-myth-latest__thumb { display: block; min-height: 112px; overflow: hidden; background: var(--fmb-navy); }
.fmb-myth-latest__thumb img { width: 100%; height: 100%; object-fit: cover; }
.fmb-myth-latest__story h3 { font-size: 1rem; line-height: 1.28; }
.fmb-myth-latest__story div > p:not(.fmb-myth-card-topic) { margin: 6px 0 10px; color: var(--fmb-body); font-size: .74rem; line-height: 1.48; }

/* 05 — Numbered ledger, intentionally not cards. */
.fmb-myth-ledger { background: #fff; }
.fmb-myth-ledger__list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: clamp(34px,5vw,78px); border-top: 1px solid var(--fmb-myth-border); }
.fmb-myth-ledger__row { display: grid; grid-template-columns: 62px minmax(0,1fr) auto; gap: 16px; align-items: center; min-height: 126px; padding: 19px 0; border-bottom: 1px solid var(--fmb-myth-border); }
.fmb-myth-ledger__number { color: var(--fmb-gold-dark); font-family: var(--fmb-font-display); font-size: 2rem; line-height: 1; }
.fmb-myth-ledger__copy h3 { margin: 0; color: var(--fmb-navy); font-family: var(--fmb-font-display); font-size: .98rem; line-height: 1.28; }
.fmb-myth-ledger__copy p { margin: 6px 0 0; color: var(--fmb-body); font-size: .72rem; line-height: 1.48; }
.fmb-myth-ledger__action { display: flex; min-width: 126px; flex-direction: column; align-items: flex-end; gap: 8px; }
.fmb-myth-ledger__action .fmb-myth-text-link { font-size: .69rem; }

/* 06 — Tools. */
.fmb-myth-tools { background: var(--fmb-cream); }
.fmb-myth-tools__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.fmb-myth-tools__card { display: flex; min-height: 220px; flex-direction: column; padding: 24px; border: 1px solid var(--fmb-myth-border); border-radius: 10px; background: #fff; box-shadow: 0 7px 20px rgba(7,24,47,.035); }
.fmb-myth-tools__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.fmb-myth-tools__icon { width: 34px; height: 34px; color: var(--fmb-gold-dark); }
.fmb-myth-tools__icon svg { width: 100%; height: 100%; }
.fmb-myth-tools__status { padding: 4px 7px; border-radius: 999px; background: #eef1f4; color: #606c7b; font-size: .58rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.fmb-myth-tools__status--available { background: #e7f4ec; color: #24683f; }
.fmb-myth-tools__status--development { background: #fbf3e2; color: #866622; }
.fmb-myth-tools__card h3 { margin: 0; color: var(--fmb-navy); font-family: var(--fmb-font-display); font-size: 1rem; }
.fmb-myth-tools__card > p { margin: 9px 0 18px; color: var(--fmb-body); font-size: .77rem; line-height: 1.52; }
.fmb-myth-tools__card > .fmb-myth-text-link, .fmb-myth-tools__coming { margin-top: auto; }
.fmb-myth-tools__coming { color: var(--fmb-muted); font-size: .7rem; font-weight: 750; }

/* 07 — Compact dark methodology band. */
.fmb-myth-method { padding-block: clamp(42px,4vw,60px); background: var(--fmb-navy); color: #fff; }
.fmb-myth-method__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 34px; margin-bottom: 30px; }
.fmb-myth-heading--dark { margin: 0; }
.fmb-myth-heading--dark h2 { color: #fff; }
.fmb-myth-heading--dark .fmb-myth-heading__description { color: rgba(255,255,255,.68); }
.fmb-myth-method__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.fmb-myth-method__links a { color: var(--fmb-gold); font-size: .72rem; font-weight: 760; text-decoration: none; }
.fmb-myth-method__links a:hover { color: var(--fmb-gold-hover); }
.fmb-myth-method__steps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-top: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); }
.fmb-myth-method__step { min-height: 190px; padding: 24px 24px 22px 0; border-right: 1px solid rgba(255,255,255,.14); }
.fmb-myth-method__step + .fmb-myth-method__step { padding-left: 24px; }
.fmb-myth-method__step:last-child { border-right: 0; }
.fmb-myth-method__step > span { display: inline-grid; width: 30px; height: 30px; margin-bottom: 16px; border: 1px solid rgba(212,182,120,.5); border-radius: 50%; color: var(--fmb-gold); font-family: var(--fmb-font-display); font-size: .76rem; place-items: center; }
.fmb-myth-method__step h3 { margin: 0; color: #fff; font-size: .84rem; line-height: 1.35; }
.fmb-myth-method__step p { margin: 7px 0 0; color: rgba(255,255,255,.62); font-size: .72rem; line-height: 1.55; }

@media (max-width: 1180px) {
  .fmb-myth-index__grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .fmb-myth-index__item:nth-child(3) { border-right: 0; }
  .fmb-myth-index__item:nth-child(-n+3) { border-bottom: 1px solid var(--fmb-myth-border); }
  .fmb-myth-latest__layout { grid-template-columns: minmax(0,1fr) minmax(360px,.9fr); }
  .fmb-myth-ledger__list { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .fmb-myth-heading--split { grid-template-columns: 1fr; gap: 10px; }
  .fmb-myth-heading--split > .fmb-myth-heading__description { margin-top: 0; }
  .fmb-myth-heading--with-link { align-items: flex-start; flex-direction: column; gap: 12px; }
  .fmb-myth-featured__card { grid-template-columns: 1fr; }
  .fmb-myth-featured__claim { min-height: 320px; }
  .fmb-myth-latest__layout { grid-template-columns: 1fr; }
  .fmb-myth-tools__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .fmb-myth-method__top { align-items: flex-start; flex-direction: column; }
  .fmb-myth-method__links { justify-content: flex-start; }
  .fmb-myth-method__steps { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .fmb-myth-method__step:nth-child(2) { border-right: 0; }
  .fmb-myth-method__step:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.14); }
  .fmb-myth-method__step:nth-child(3) { padding-left: 0; }
}

@media (max-width: 680px) {
  .fmb-myth-section { padding-block: clamp(32px,9vw,42px); }
  .fmb-myth-index__grid { grid-template-columns: 1fr; border: 0; }
  .fmb-myth-index__item { min-height: 0; padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--fmb-myth-border) !important; }
  .fmb-myth-index__item:first-child { border-top: 1px solid var(--fmb-myth-border); }
  .fmb-myth-index__icon { width: 30px; height: 30px; margin-bottom: 10px; }
  .fmb-myth-featured__claim, .fmb-myth-featured__analysis { padding: 28px 22px; }
  .fmb-myth-featured__claim { min-height: 285px; }
  .fmb-myth-featured__claim blockquote { font-size: clamp(27px,9vw,36px); }
  .fmb-myth-featured__actions { align-items: flex-start; flex-direction: column; gap: 15px; margin-top: 26px; }
  .fmb-myth-featured__takeaway-grid { grid-template-columns: 1fr; }
  .fmb-myth-latest__image { height: 230px; }
  .fmb-myth-latest__lead-copy { padding: 20px; }
  .fmb-myth-latest__story { grid-template-columns: 102px minmax(0,1fr); gap: 12px; }
  .fmb-myth-latest__thumb { min-height: 90px; }
  .fmb-myth-latest__story div > p:not(.fmb-myth-card-topic) { display: none; }
  .fmb-myth-ledger__row { grid-template-columns: 45px minmax(0,1fr); gap: 12px; }
  .fmb-myth-ledger__number { font-size: 1.5rem; }
  .fmb-myth-ledger__action { grid-column: 2; align-items: flex-start; min-width: 0; }
  .fmb-myth-tools__grid { grid-template-columns: 1fr; }
  .fmb-myth-method__steps { grid-template-columns: 1fr; border-bottom: 0; }
  .fmb-myth-method__step, .fmb-myth-method__step + .fmb-myth-method__step, .fmb-myth-method__step:nth-child(3) { min-height: 0; padding: 20px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
}
.fmb-myth-latest__read { margin-top: 14px; }

/* =========================================================
   FMB TOOL CARD CTA — SHARED BRAND PATTERN
   ========================================================= */
.fmb-myth-tools__card > .fmb-myth-text-link {
  display: flex;
  width: 100%;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--fmb-gold-dark);
  border-radius: 4px;
  background: #fff;
  color: var(--fmb-navy);
  font-size: .72rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: background var(--fmb-transition), border-color var(--fmb-transition), box-shadow var(--fmb-transition), color var(--fmb-transition), transform var(--fmb-transition);
}

.fmb-myth-tools__card > .fmb-myth-text-link span {
  color: currentColor;
  transition: transform var(--fmb-transition);
}

.fmb-myth-tools__card > .fmb-myth-text-link:hover,
.fmb-myth-tools__card > .fmb-myth-text-link:focus-visible {
  border-color: var(--fmb-gold);
  background: var(--fmb-gold);
  color: var(--fmb-navy);
  box-shadow: 0 8px 18px rgba(7, 24, 47, .08);
  transform: translateY(-1px);
}

.fmb-myth-tools__card > .fmb-myth-text-link:hover span,
.fmb-myth-tools__card > .fmb-myth-text-link:focus-visible span {
  transform: translateX(3px);
}
