/* ==========================================================
   FMB ARTICLE / POST SYSTEM V4.1
   Premium editorial layout, responsive, no carousels.
   Full-height sticky sidebars with page-level scrolling.
   ========================================================== */

.fmb-single-post {
  background: var(--fmb-white);
  color: var(--fmb-heading);
}

.fmb-post-container {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: var(--fmb-gutter);
}

.fmb-reading-progress {
  position: fixed;
  z-index: 120;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  pointer-events: none;
}

.fmb-reading-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--fmb-gold);
}

/* ==========================================================
   HERO
   ========================================================== */

.fmb-post-hero {
  padding: clamp(34px, 3.3vw, 48px) 0 clamp(32px, 3vw, 44px);
  background: linear-gradient(145deg, var(--fmb-navy), var(--fmb-navy-dark));
  color: var(--fmb-white);
}

.fmb-post-hero__inner {
  max-width: 1320px;
}

.fmb-post-kickers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.fmb-post-pill {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid rgba(212, 182, 120, .42);
  border-radius: var(--fmb-radius-pill);
  color: var(--fmb-gold);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.fmb-post-pill--muted {
  border-color: rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .66);
}

.fmb-post-title {
  max-width: 980px;
  margin: 0;
  font-family: var(--fmb-font-display);
  font-size: clamp(2.35rem, 3.15vw, 2.95rem);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -.036em;
  text-wrap: balance;
}

.fmb-post-deck {
  max-width: 900px;
  margin: 17px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: clamp(.98rem, 1.25vw, 1.08rem);
  line-height: 1.65;
}

.fmb-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 10px;
  align-items: center;
  margin-top: 20px;
  color: rgba(255, 255, 255, .58);
  font-size: .7rem;
}

/* ==========================================================
   MAIN LAYOUT
   Left share rail + article + sticky right sidebar.
   ========================================================== */

.fmb-post-layout {
  display: grid;
  grid-template-columns: 46px minmax(0, 800px) minmax(280px, 320px);
  justify-content: center;

  /*
   * IMPORTANT FOR STICKY:
   * The sidebar/share columns must stretch to the height of the article row.
   * Otherwise the sticky child has no vertical containing space to travel in.
   */
  align-items: stretch;

  gap: clamp(26px, 3vw, 42px);
  padding-top: 34px;
  padding-bottom: clamp(62px, 7vw, 96px);
}

.fmb-post-main,
.fmb-post-sidebar,
.fmb-share-rail {
  min-width: 0;
  overflow: visible !important;
}

.fmb-post-main {
  align-self: start;
}

.fmb-post-sidebar,
.fmb-share-rail {
  align-self: stretch;
}

/* Sticky is disabled by overflow clipping on ancestors. */
.fmb-single-post,
.fmb-post-container,
.fmb-post-layout {
  overflow: visible !important;
}

/* ==========================================================
   FEATURED IMAGE
   ========================================================== */

.fmb-post-featured-image {
  overflow: hidden;
  margin: 0 0 30px;
  border-radius: var(--fmb-radius-md);
  background: var(--fmb-cream);
  box-shadow: 0 1px 0 rgba(7, 24, 47, .04);
}

.fmb-post-featured-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 445px;
  object-fit: cover;
}

.fmb-post-featured-image figcaption {
  padding: 9px 13px;
  border-top: 1px solid var(--fmb-border);
  color: var(--fmb-body);
  font-size: .7rem;
}

/* ==========================================================
   LEFT STICKY SHARE RAIL
   ========================================================== */

.fmb-share-rail__inner {
  position: sticky;
  top: 108px;
  display: grid;
  justify-items: center;
  gap: 11px;

  width: 100%;
  height: max-content;
  max-height: none !important;

  overflow: visible !important;
}

.fmb-share-rail__label {
  color: var(--fmb-gold-dark);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.fmb-share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.fmb-share-rail .fmb-share-buttons {
  flex-direction: column;
}

.fmb-share-button {
  display: inline-grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--fmb-border);
  border-radius: 50%;
  background: var(--fmb-white);
  color: var(--fmb-heading);
  cursor: pointer;
  text-decoration: none;
  transition:
    border-color var(--fmb-transition),
    color var(--fmb-transition),
    background var(--fmb-transition),
    transform var(--fmb-transition);
}

.fmb-share-button svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.7;
}

.fmb-share-button:hover {
  border-color: var(--fmb-gold-dark);
  background: var(--fmb-cream);
  color: var(--fmb-gold-dark);
  transform: translateY(-2px);
}

.fmb-mobile-share {
  display: none;
}

/* ==========================================================
   SHARED EDITORIAL LABELS
   ========================================================== */

.fmb-section-eyebrow,
.fmb-sidebar-card__eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--fmb-gold-dark);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.fmb-affiliate-disclosure {
  margin-bottom: 26px;
  padding: 13px 15px;
  border-left: 3px solid var(--fmb-gold-dark);
  background: var(--fmb-cream);
  color: var(--fmb-body);
  font-size: .8rem;
  line-height: 1.65;
}

.fmb-affiliate-disclosure strong {
  color: var(--fmb-heading);
}

/* ==========================================================
   FMB VERDICT
   ========================================================== */

.fmb-verdict {
  position: relative;
  margin: 0 0 30px;
  padding: 22px 24px 23px;
  overflow: hidden;
  border: 1px solid rgba(168, 130, 58, .28);
  border-top: 3px solid var(--fmb-gold-dark);
  border-radius: var(--fmb-radius-md);
  background: linear-gradient(135deg, #fbf9f4, var(--fmb-cream));
}

.fmb-verdict::after {
  position: absolute;
  top: -54px;
  right: -36px;
  width: 145px;
  height: 145px;
  border: 1px solid rgba(168, 130, 58, .10);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.fmb-verdict__header {
  margin-bottom: 9px;
}

.fmb-verdict__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--fmb-gold-dark);
  color: var(--fmb-white);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.fmb-verdict__title {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  color: var(--fmb-heading);
  font-family: var(--fmb-font-display);
  font-size: clamp(1.9rem, 2.6vw, 2.35rem);
  line-height: 1.08;
}

.fmb-verdict__summary {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0;
  color: #43536a;
  font-size: .94rem;
  line-height: 1.68;
}

.fmb-verdict--supported {
  border-top-color: #5d8064;
}

.fmb-verdict--supported .fmb-verdict__eyebrow {
  background: #5d8064;
}

.fmb-verdict--not-supported {
  border-top-color: #9a5f5a;
}

.fmb-verdict--not-supported .fmb-verdict__eyebrow {
  background: #9a5f5a;
}

.fmb-verdict--outdated {
  border-top-color: #758197;
}

.fmb-verdict--outdated .fmb-verdict__eyebrow {
  background: #758197;
}

/* ==========================================================
   KEY TAKEAWAYS
   ========================================================== */

.fmb-key-takeaways {
  margin: 0 0 34px;
  padding: 21px 23px;
  border: 1px solid var(--fmb-border);
  border-radius: var(--fmb-radius-md);
  background: var(--fmb-white);
  box-shadow: var(--fmb-shadow-sm);
}

.fmb-key-takeaways ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fmb-key-takeaways li {
  position: relative;
  padding-left: 24px;
  color: var(--fmb-heading);
  line-height: 1.6;
}

.fmb-key-takeaways li::before {
  position: absolute;
  top: .5em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--fmb-gold);
  content: "";
}
/* ==========================================================
   ARTICLE TYPOGRAPHY — TIGHTER EDITORIAL SPACING
   ========================================================== */

.fmb-article-content {
  color: #24344a;
  font-size: 1.04rem;
  line-height: 1.78;
}

.fmb-article-content > :first-child {
  margin-top: 0;
}

/* Paragraphs */
.fmb-article-content p {
  margin: 0 0 18px;
}

/* Headings */
.fmb-article-content h2,
.fmb-article-content h3,
.fmb-article-content h4 {
  color: var(--fmb-heading);
  font-family: var(--fmb-font-display);
  font-weight: 800;
  letter-spacing: -0.025em;
  scroll-margin-top: 120px;
}

.fmb-article-content h2 {
  margin: 42px 0 16px;
  font-size: clamp(1.8rem, 2.7vw, 2.35rem);
  line-height: 1.12;
}

.fmb-article-content h3 {
  margin: 32px 0 12px;
  font-size: clamp(1.4rem, 2.1vw, 1.75rem);
  line-height: 1.18;
}

.fmb-article-content h4 {
  margin: 26px 0 10px;
  font-size: 1.18rem;
  line-height: 1.25;
}

/* Quote / myth statement */
.fmb-article-content blockquote {
  margin: 18px 0 26px;
  padding: 18px 22px;

  border-left: 3px solid var(--fmb-gold-dark);
  background: var(--fmb-cream);

  color: var(--fmb-heading);
  font-family: var(--fmb-font-display);
  font-size: 1.12rem;
  line-height: 1.5;
}

.fmb-article-content blockquote p {
  margin: 0;
}

/* Lists */
.fmb-article-content ul,
.fmb-article-content ol {
  margin: 8px 0 22px;
  padding-left: 1.35em;
}

.fmb-article-content li + li {
  margin-top: 7px;
}

/* Prevent exaggerated gaps before section headings */
.fmb-article-content p + h2,
.fmb-article-content ul + h2,
.fmb-article-content ol + h2,
.fmb-article-content blockquote + h2,
.fmb-article-content .wp-block-table + h2,
.fmb-article-content .fmb-callout + h2,
.fmb-article-content .fmb-example + h2 {
  margin-top: 42px;
}

/* Slightly tighter on mobile */
@media (max-width: 620px) {
  .fmb-article-content {
    font-size: 1rem;
    line-height: 1.72;
  }

  .fmb-article-content p {
    margin-bottom: 16px;
  }

  .fmb-article-content h2 {
    margin-top: 34px;
    margin-bottom: 13px;
    font-size: 1.85rem;
  }

  .fmb-article-content h3 {
    margin-top: 27px;
    margin-bottom: 10px;
  }

  .fmb-article-content blockquote {
    margin: 16px 0 22px;
    padding: 16px 18px;
  }
}

/* ==========================================================
   TABLES
   ========================================================== */

.fmb-table-wrap {
  width: 100%;
  margin: 28px 0 34px;
  overflow-x: auto;
  border: 1px solid var(--fmb-border);
  border-radius: var(--fmb-radius-md);
  -webkit-overflow-scrolling: touch;
}

.fmb-article-content table {
  width: 100%;
  min-width: 620px;
  margin: 0;
  border-collapse: collapse;
  background: var(--fmb-white);
  font-size: .88rem;
  line-height: 1.5;
}

.fmb-article-content th {
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: var(--fmb-navy);
  color: var(--fmb-white);
  text-align: left;
  vertical-align: top;
}

.fmb-article-content td {
  padding: 13px 14px;
  border: 1px solid var(--fmb-border);
  vertical-align: top;
}

.fmb-article-content tbody tr:nth-child(even) td {
  background: var(--fmb-cream);
}

/* ==========================================================
   AFTER-CONTENT MODULES
   ========================================================== */

.fmb-primary-tool-cta,
.fmb-post-newsletter,
.fmb-post-end-share {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  margin-top: 42px;
  padding: 25px 27px;
  border-radius: var(--fmb-radius-md);
}

.fmb-primary-tool-cta {
  border: 1px solid rgba(168, 130, 58, .28);
  background: var(--fmb-cream);
}

.fmb-primary-tool-cta h2,
.fmb-post-newsletter h2,
.fmb-post-end-share h2 {
  margin: 0 0 8px;
  font-family: var(--fmb-font-display);
  font-size: clamp(1.5rem, 2.25vw, 1.95rem);
  line-height: 1.14;
}

.fmb-primary-tool-cta p,
.fmb-post-newsletter p {
  margin: 0;
  color: var(--fmb-body);
  font-size: .88rem;
}

.fmb-article-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 38px;
}

.fmb-article-notes section {
  padding: 20px;
  border: 1px solid var(--fmb-border);
  border-radius: var(--fmb-radius-md);
  background: var(--fmb-cream);
}

.fmb-article-notes p {
  margin: 0;
  color: var(--fmb-body);
  font-size: .84rem;
  line-height: 1.7;
}

.fmb-module-heading {
  margin-bottom: 20px;
}

.fmb-module-heading h2 {
  margin: 0;
  font-family: var(--fmb-font-display);
  font-size: clamp(1.75rem, 2.7vw, 2.2rem);
  line-height: 1.12;
}

.fmb-module-heading p {
  max-width: 680px;
  margin: 8px 0 0;
  color: var(--fmb-body);
  font-size: .86rem;
  line-height: 1.65;
}

.fmb-post-faqs,
.fmb-post-sources,
.fmb-post-resources,
.fmb-corrections,
.fmb-reviewer-card,
.fmb-more-reading,
.fmb-comments {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--fmb-border);
}

/* ==========================================================
   FAQ — BRANDED ACCORDION
   ========================================================== */

.fmb-post-faqs__list {
  display: grid;
  gap: 10px;
}

.fmb-post-faq-item {
  overflow: hidden;
  border: 1px solid var(--fmb-border);
  border-radius: var(--fmb-radius-md);
  background: var(--fmb-white);
  transition: border-color var(--fmb-transition), box-shadow var(--fmb-transition);
}

.fmb-post-faq-item[open] {
  border-color: rgba(168, 130, 58, .5);
  box-shadow: 0 8px 22px rgba(7, 24, 47, .045);
}

.fmb-post-faq-item summary {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 26px;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 12px 16px;
  color: var(--fmb-heading);
  cursor: pointer;
  list-style: none;
}

.fmb-post-faq-item summary::-webkit-details-marker {
  display: none;
}

.fmb-post-faq-item summary::marker,
.fmb-post-faq-item summary::before,
.fmb-post-faq-item summary::after {
  content: none !important;
}

.fmb-post-faq-item__icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(168, 130, 58, .32);
  border-radius: 50%;
  background: var(--fmb-cream);
  color: var(--fmb-gold-dark);
}

.fmb-post-faq-item__icon svg {
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  flex: 0 0 18px !important;
}

.fmb-post-faq-item__question {
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.45;
}

.fmb-post-faq-item__toggle {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  color: var(--fmb-gold-dark);
  font-size: 1.25rem;
  line-height: 1;
  transition: transform var(--fmb-transition);
}

.fmb-post-faq-item[open] .fmb-post-faq-item__toggle {
  transform: rotate(45deg);
}

.fmb-post-faq-item__answer {
  padding-left: 72px;
  border-top: 1px solid var(--fmb-border);
  background: var(--fmb-cream);
}

.fmb-post-faq-item__answer > div {
  padding: 17px 18px 17px 0;
  color: #53657b;
  font-size: .86rem;
  line-height: 1.72;
}

.fmb-post-faq-item__answer p {
  margin-top: 0;
  margin-bottom: 10px;
}

.fmb-post-faq-item__answer > div > :last-child {
  margin-bottom: 0;
}

/* ==========================================================
   SOURCES — TWO COLUMN REFERENCE GRID
   ========================================================== */

.fmb-source-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: fmb-source;
}

.fmb-source-card {
  position: relative;
  min-width: 0;
  padding: 16px 17px 15px;
  overflow: hidden;
  border: 1px solid #ddd8ce;
  border-radius: var(--fmb-radius-md);
  background: #faf8f3;
  counter-increment: fmb-source;
}

.fmb-source-card:nth-child(even) {
  background: #f5f2eb;
}

.fmb-source-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.fmb-source-card__number::before {
  color: var(--fmb-gold-dark);
  content: counter(fmb-source, decimal-leading-zero);
  font-family: var(--fmb-font-display);
  font-size: 1.2rem;
  font-weight: 800;
}

.fmb-source-card__label,
.fmb-source-card__publisher {
  color: var(--fmb-gold-dark);
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.fmb-source-card__publisher {
  display: block;
  margin-bottom: 5px;
  color: #6f7c8f;
}

.fmb-source-card__title {
  display: inline;
  color: var(--fmb-heading);
  font-size: .82rem;
  font-weight: 750;
  line-height: 1.45;
  text-decoration: none;
}

.fmb-source-card__title:hover {
  color: var(--fmb-gold-dark);
}

.fmb-source-card__url {
  display: block;
  max-width: 100%;
  margin-top: 5px;
  overflow-wrap: anywhere;
  color: #5f6f84;
  font-size: .64rem;
  font-weight: 650;
  line-height: 1.45;
  text-decoration: underline;
  text-decoration-color: rgba(168,130,58,.35);
  text-underline-offset: 2px;
}

.fmb-source-card__url:hover {
  color: var(--fmb-gold-dark);
  text-decoration-color: currentColor;
}

.fmb-source-card p {
  margin: 8px 0 0;
  color: #647389;
  font-size: .72rem;
  line-height: 1.58;
}

.fmb-source-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  margin-top: 10px;
  color: var(--fmb-muted);
  font-size: .62rem;
  font-weight: 600;
}

.fmb-resource-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.fmb-resource-links a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 15px;
  border: 1px solid var(--fmb-border);
  border-radius: var(--fmb-radius-md);
  color: var(--fmb-heading);
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
}

.fmb-resource-links a:hover {
  border-color: rgba(168, 130, 58, .45);
  color: var(--fmb-gold-dark);
}

/* ==========================================================
   CORRECTIONS + REVIEWER
   ========================================================== */

.fmb-corrections {
  padding: 22px;
  border: 1px solid var(--fmb-border);
  border-left: 3px solid var(--fmb-gold-dark);
  background: var(--fmb-cream);
}

.fmb-corrections p {
  margin: 0;
  color: var(--fmb-body);
  font-size: .82rem;
  line-height: 1.65;
}

.fmb-reviewer-card {
  padding: 22px;
  border: 1px solid var(--fmb-border);
  border-radius: var(--fmb-radius-md);
  background: var(--fmb-white);
  box-shadow: var(--fmb-shadow-sm);
}

.fmb-reviewer-card h2 {
  margin: 0 0 7px;
  font-family: var(--fmb-font-display);
  font-size: 1.55rem;
}

.fmb-reviewer-card p {
  margin: 0 0 8px;
  color: var(--fmb-body);
  font-size: .84rem;
}

.fmb-reviewer-card a {
  color: var(--fmb-gold-dark);
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
}

/* ==========================================================
   EDUCATIONAL / TRUST BOX
   ========================================================== */

.fmb-article-trust-footer {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  margin-top: 42px;
  padding: 20px 22px;
  border: 1px solid rgba(168, 130, 58, .25);
  border-left: 3px solid var(--fmb-gold-dark);
  border-radius: var(--fmb-radius-md);
  background: linear-gradient(135deg, #fbf9f4, var(--fmb-cream));
}

.fmb-article-trust-footer__icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(168, 130, 58, .32);
  border-radius: 50%;
  color: var(--fmb-gold-dark);
  font-family: var(--fmb-font-display);
  font-size: 1rem;
  font-weight: 800;
}

.fmb-article-trust-footer p {
  margin: 0;
  color: #53657b;
  font-size: .8rem;
  line-height: 1.65;
}

.fmb-article-trust-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 10px;
}

.fmb-article-trust-footer__links a {
  color: var(--fmb-heading);
  font-size: .72rem;
  font-weight: 700;
  text-decoration: none;
}

.fmb-article-trust-footer__links a:hover {
  color: var(--fmb-gold-dark);
}

/* ==========================================================
   NEWSLETTER + END SHARE
   ========================================================== */

.fmb-post-newsletter {
  background: linear-gradient(145deg, var(--fmb-navy), var(--fmb-navy-dark));
  color: var(--fmb-white);
}

.fmb-post-newsletter .fmb-section-eyebrow {
  color: var(--fmb-gold);
}

.fmb-post-newsletter p {
  color: rgba(255, 255, 255, .66);
}

.fmb-post-end-share {
  border: 1px solid var(--fmb-border);
  background: var(--fmb-white);
}

.fmb-post-end-share .fmb-share-buttons {
  justify-content: flex-end;
}

/* ==========================================================
   RELATED CONTENT / CONTINUE READING
   ========================================================== */

.fmb-content-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.fmb-content-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--fmb-border);
  border-radius: var(--fmb-radius-md);
  background: var(--fmb-white);
  transition: transform var(--fmb-transition), border-color var(--fmb-transition), box-shadow var(--fmb-transition);
}

.fmb-content-card:hover {
  border-color: rgba(168, 130, 58, .4);
  box-shadow: var(--fmb-shadow-sm);
  transform: translateY(-3px);
}

.fmb-content-card__image {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(145deg, var(--fmb-navy), var(--fmb-navy-dark));
  text-decoration: none;
}

.fmb-content-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fmb-content-card__fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--fmb-gold);
  font-family: var(--fmb-font-display);
  font-size: 2rem;
  font-weight: 800;
}

.fmb-content-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.fmb-content-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 10px;
  margin-bottom: 9px;
  color: var(--fmb-muted);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.fmb-content-card__type {
  color: var(--fmb-gold-dark);
}

.fmb-content-card__title {
  margin: 0 0 7px;
  font-family: var(--fmb-font-display);
  font-size: 1.14rem;
  line-height: 1.18;
}

.fmb-content-card__title a {
  color: var(--fmb-heading);
  text-decoration: none;
}

.fmb-content-card__excerpt {
  margin: 0 0 13px;
  color: var(--fmb-body);
  font-size: .74rem;
  line-height: 1.58;
}

.fmb-content-card__link {
  margin-top: auto;
  color: var(--fmb-heading);
  font-size: .7rem;
  font-weight: 700;
  text-decoration: none;
}

/* ==========================================================
   RIGHT SIDEBAR — FULL HEIGHT STICKY STACK
   The PAGE scrolls. The sidebar never gets its own scrollbar.
   ========================================================== */

.fmb-post-sidebar {
  position: relative;
  min-width: 0;
  height: 100%;
  overflow: visible !important;
}

.fmb-post-sidebar__sticky {
  position: sticky;
  top: 96px;

  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 13px;

  width: 100%;
  height: max-content !important;
  max-height: none !important;

  margin: 0;
  padding: 0;

  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;

  overscroll-behavior: auto;
  scrollbar-width: auto;
}

/* Never draw an internal sidebar scrollbar. */
.fmb-post-sidebar__sticky::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.fmb-sidebar-card,
.fmb-sidebar-verdict,
.fmb-sidebar-newsletter,
.fmb-toc {
  min-width: 0;
  overflow: visible;
}

.fmb-sidebar-card,
.fmb-sidebar-verdict,
.fmb-sidebar-newsletter {
  padding: 18px 19px;
  border: 1px solid var(--fmb-border);
  border-radius: var(--fmb-radius-md);
  background: var(--fmb-white);
}

.fmb-sidebar-card__eyebrow {
  margin-bottom: 10px;
  font-size: .69rem;
}

.fmb-sidebar-card h2 {
  margin: 0 0 9px;
  font-family: var(--fmb-font-display);
  font-size: 1.22rem;
  line-height: 1.2;
}

.fmb-sidebar-card p {
  margin: 0 0 12px;
  color: #65758b;
  font-size: .82rem;
  line-height: 1.58;
}

.fmb-sidebar-card__link {
  color: var(--fmb-gold-dark);
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
}

.fmb-sidebar-verdict {
  border-color: rgba(168, 130, 58, .34);
  background: var(--fmb-cream);
}

.fmb-sidebar-verdict span {
  display: block;
  margin-bottom: 7px;
  color: var(--fmb-gold-dark);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.fmb-sidebar-verdict strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--fmb-font-display);
  font-size: 1.35rem;
}

.fmb-sidebar-verdict a {
  color: var(--fmb-heading);
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
}

.fmb-sidebar-list {
  display: grid;
}

.fmb-sidebar-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 11px 0;
  border-top: 1px solid var(--fmb-border);
  color: var(--fmb-heading);
  font-size: .82rem;
  line-height: 1.4;
  text-decoration: none;
}

.fmb-sidebar-list a:first-child {
  border-top: 0;
}

.fmb-sidebar-list a:hover {
  color: var(--fmb-gold-dark);
}

.fmb-sidebar-newsletter {
  border-color: rgba(212, 182, 120, .28);
  background: var(--fmb-navy);
  color: var(--fmb-white);
}

.fmb-sidebar-newsletter > span {
  display: block;
  margin-bottom: 8px;
  color: var(--fmb-gold);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.fmb-sidebar-newsletter h2 {
  margin: 0 0 11px;
  font-family: var(--fmb-font-display);
  font-size: 1.22rem;
  line-height: 1.17;
}

.fmb-sidebar-newsletter a {
  color: var(--fmb-gold);
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
}

/* ==========================================================
   TABLE OF CONTENTS
   ========================================================== */

.fmb-toc__links {
  display: grid;
}

.fmb-toc__links a {
  display: grid;
  grid-template-columns: 23px minmax(0, 1fr);
  gap: 8px;
  padding: 8px 0;
  border-top: 1px solid var(--fmb-border);
  color: #65758b;
  font-size: .82rem;
  line-height: 1.38;
  text-decoration: none;
}

.fmb-toc__links a:first-child {
  border-top: 0;
}

.fmb-toc__links a.is-active {
  color: var(--fmb-heading);
  font-weight: 700;
}

.fmb-toc__number {
  color: var(--fmb-gold-dark);
  font-variant-numeric: tabular-nums;
}

/* ==========================================================
   COMMENTS — FMB BRANDED
   ========================================================== */

.fmb-comments__header {
  max-width: 690px;
  margin-bottom: 22px;
}

.fmb-comments__header h2 {
  margin: 0 0 9px;
  font-family: var(--fmb-font-display);
  font-size: clamp(1.75rem, 2.6vw, 2.15rem);
  line-height: 1.13;
}

.fmb-comments__header p {
  margin: 0;
  color: var(--fmb-body);
  font-size: .84rem;
  line-height: 1.65;
}

.fmb-comment-list {
  display: grid;
  gap: 12px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.fmb-comment-list .comment {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fmb-comment-list .comment-body {
  position: relative;
  padding: 17px 18px;
  border: 1px solid var(--fmb-border);
  border-radius: var(--fmb-radius-md);
  background: var(--fmb-white);
}

.fmb-comment-list .comment-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
  color: var(--fmb-heading);
  font-size: .82rem;
  font-weight: 700;
}

.fmb-comment-list .avatar {
  width: 40px;
  height: 40px;
  border: 2px solid var(--fmb-cream-dark);
  border-radius: 50%;
}

.fmb-comment-list .comment-meta {
  margin: -3px 0 11px 50px;
  color: var(--fmb-muted);
  font-size: .65rem;
}

.fmb-comment-list .comment-meta a {
  color: inherit;
  text-decoration: none;
}

.fmb-comment-list .comment-content {
  color: #43536a;
  font-size: .84rem;
  line-height: 1.67;
}

.fmb-comment-list .comment-content p:last-child {
  margin-bottom: 0;
}

.fmb-comment-list .reply {
  margin-top: 10px;
}

.fmb-comment-list .reply a {
  color: var(--fmb-gold-dark);
  font-size: .7rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.fmb-comment-list .children {
  display: grid;
  gap: 10px;
  margin: 10px 0 0 24px;
  padding: 0;
  list-style: none;
}

.comment-respond {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid rgba(168, 130, 58, .23);
  border-top: 3px solid var(--fmb-gold-dark);
  border-radius: var(--fmb-radius-md);
  background: var(--fmb-cream);
}

.fmb-comment-form__title {
  margin: 0 0 16px;
  font-family: var(--fmb-font-display);
  font-size: 1.55rem;
  line-height: 1.18;
}

.fmb-comment-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.fmb-comment-form p {
  margin: 0;
}

.fmb-comment-form .comment-form-comment,
.fmb-comment-form .comment-form-cookies-consent,
.fmb-comment-form .form-submit,
.fmb-comment-form .fmb-comment-form__note,
.fmb-comment-form .logged-in-as {
  grid-column: 1 / -1;
}

.fmb-comment-form label {
  display: block;
  margin-bottom: 6px;
  color: var(--fmb-heading);
  font-size: .7rem;
  font-weight: 800;
}

.fmb-comment-form input[type="text"],
.fmb-comment-form input[type="email"],
.fmb-comment-form textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #d9d4ca;
  border-radius: var(--fmb-radius-sm);
  outline: none;
  background: var(--fmb-white);
  color: var(--fmb-heading);
  font: inherit;
  font-size: .84rem;
  transition: border-color var(--fmb-transition), box-shadow var(--fmb-transition);
}

.fmb-comment-form textarea {
  min-height: 150px;
  resize: vertical;
}

.fmb-comment-form input:focus,
.fmb-comment-form textarea:focus {
  border-color: var(--fmb-gold-dark);
  box-shadow: 0 0 0 3px rgba(168, 130, 58, .09);
}

.fmb-comment-form .comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--fmb-body);
  font-size: .7rem;
  line-height: 1.5;
}

.fmb-comment-form .comment-form-cookies-consent label {
  margin: 0;
  color: var(--fmb-body);
  font-weight: 500;
}

.fmb-comment-form__note {
  color: var(--fmb-muted);
  font-size: .68rem;
  line-height: 1.55;
}

.fmb-comment-submit {
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid var(--fmb-navy);
  border-radius: var(--fmb-radius-sm);
  background: var(--fmb-navy);
  color: var(--fmb-white);
  font-weight: 700;
  cursor: pointer;
  transition: background var(--fmb-transition), border-color var(--fmb-transition), transform var(--fmb-transition);
}

.fmb-comment-submit:hover {
  border-color: var(--fmb-gold-dark);
  background: var(--fmb-gold-dark);
  transform: translateY(-1px);
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 1200px) {
  .fmb-post-layout {
    grid-template-columns: minmax(0, 780px) minmax(260px, 300px);
  }

  .fmb-share-rail {
    display: none;
  }

  .fmb-mobile-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--fmb-border);
    color: var(--fmb-muted);
    font-size: .74rem;
    font-weight: 700;
  }
}

@media (max-width: 900px) {
  .fmb-post-layout {
    grid-template-columns: 1fr;
    max-width: 840px;
  }

  .fmb-post-sidebar {
    order: 2;
  }

  .fmb-post-sidebar {
    position: static;
    height: auto;
    align-self: auto;
    overflow: visible !important;
  }

  .fmb-post-sidebar__sticky {
    position: static;
    top: auto;

    height: auto !important;
    max-height: none !important;

    padding: 0;

    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;

    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fmb-toc {
    grid-column: 1 / -1;
  }

  .fmb-primary-tool-cta,
  .fmb-post-newsletter,
  .fmb-post-end-share {
    grid-template-columns: 1fr;
  }

  .fmb-post-end-share .fmb-share-buttons {
    justify-content: flex-start;
  }

  .fmb-article-notes {
    grid-template-columns: 1fr;
  }

  .fmb-content-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .fmb-post-hero {
    padding: 30px 0 31px;
  }

  .fmb-post-title {
    font-size: clamp(2rem, 9.5vw, 2.4rem);
  }

  .fmb-post-deck {
    margin-top: 14px;
    font-size: .96rem;
  }

  .fmb-post-meta {
    align-items: flex-start;
    gap: 5px 8px;
  }

  .fmb-post-layout {
    padding-top: 24px;
  }

  .fmb-post-featured-image {
    margin-bottom: 24px;
  }

  .fmb-post-featured-image img {
    max-height: none;
  }

  .fmb-mobile-share {
    align-items: flex-start;
  }

  .fmb-share-buttons {
    gap: 6px;
  }

  .fmb-share-button {
    width: 35px;
    height: 35px;
  }

  .fmb-verdict,
  .fmb-key-takeaways,
  .fmb-primary-tool-cta,
  .fmb-post-newsletter,
  .fmb-post-end-share,
  .comment-respond {
    padding: 19px;
  }

  .fmb-article-content {
    font-size: .98rem;
    line-height: 1.75;
  }

  .fmb-article-content h2 {
    font-size: 1.8rem;
  }

  .fmb-post-faq-item summary {
    grid-template-columns: 36px minmax(0, 1fr) 24px;
    gap: 11px;
    min-height: 66px;
    padding: 11px 13px;
  }

  .fmb-post-faq-item__icon {
    width: 35px;
    height: 35px;
  }

  .fmb-post-faq-item__icon svg {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
  }

  .fmb-post-faq-item__question {
    font-size: .84rem;
  }

  .fmb-post-faq-item__answer {
    padding-left: 49px;
  }

  .fmb-source-grid,
  .fmb-resource-links,
  .fmb-content-card-grid,
  .fmb-post-sidebar__sticky,
  .fmb-comment-form {
    grid-template-columns: 1fr;
  }

  .fmb-article-trust-footer {
    grid-template-columns: 1fr;
  }

  .fmb-comments__header h2 {
    font-size: 1.7rem;
  }

  .fmb-comment-list .children {
    margin-left: 12px;
  }
}

/* ==========================================================
   STICKY SAFETY — FINAL OVERRIDES
   These are intentionally near the end of the file so older
   component/theme rules cannot re-introduce sidebar scrolling.
   ========================================================== */

@media (min-width: 901px) {
  .fmb-single-post,
  .fmb-post-container,
  .fmb-post-layout,
  .fmb-post-main,
  .fmb-post-sidebar,
  .fmb-share-rail {
    overflow: visible !important;
  }

  .fmb-post-layout {
    align-items: stretch !important;
  }

  .fmb-post-main {
    align-self: start !important;
  }

  .fmb-post-sidebar,
  .fmb-share-rail {
    align-self: stretch !important;
  }

  .fmb-post-sidebar__sticky {
    position: sticky !important;
    top: 96px !important;

    height: max-content !important;
    max-height: none !important;

    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;

    padding-right: 0 !important;
    scrollbar-width: auto !important;
  }

  .fmb-share-rail__inner {
    position: sticky !important;
    top: 108px !important;

    height: max-content !important;
    max-height: none !important;

    overflow: visible !important;
  }
}

/* ==========================================================
   PRINT
   ========================================================== */

@media print {
  .fmb-site-header,
  .fmb-site-footer,
  .fmb-reading-progress,
  .fmb-share-rail,
  .fmb-mobile-share,
  .fmb-post-sidebar,
  .fmb-post-newsletter,
  .fmb-post-end-share,
  .fmb-comments,
  .fmb-promo-slot {
    display: none !important;
  }

  .fmb-post-hero {
    padding: 24px 0;
    background: #fff !important;
    color: #000;
  }

  .fmb-post-title,
  .fmb-post-deck,
  .fmb-post-meta {
    color: #000 !important;
  }

  .fmb-post-layout {
    display: block;
    padding-top: 20px;
  }

  .fmb-article-content {
    color: #000;
    font-size: 11pt;
    line-height: 1.55;
  }

  a {
    color: #000 !important;
    text-decoration: none !important;
  }
}
/* ==========================================================
   FMB EDITORIAL CALLOUTS + EXAMPLES
   ========================================================== */

.fmb-article-content .fmb-callout,
.fmb-article-content .fmb-example {
  position: relative;

  margin: 26px 0;
  padding: 20px 22px;

  border: 1px solid var(--fmb-border);
  border-left: 4px solid var(--fmb-gold-dark);
  border-radius: 7px;

  background: #fcfbf8;
}

/* Remove normal paragraph spacing inside cards */
.fmb-article-content .fmb-callout > p,
.fmb-article-content .fmb-example > p {
  margin: 0 0 12px;
}

.fmb-article-content .fmb-callout > p:last-child,
.fmb-article-content .fmb-example > p:last-child {
  margin-bottom: 0;
}


/* ----------------------------------------------------------
   LABELS
   ---------------------------------------------------------- */

.fmb-callout__label,
.fmb-example__label {
  display: block;

  margin: 0 0 10px;

  font-family: var(--fmb-font-sans, Inter, sans-serif);
  font-size: 0.68rem;
  font-weight: 750;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;

  color: var(--fmb-gold-dark);
}


/* ==========================================================
   EXAMPLE
   Priya / hypothetical calculations
   ========================================================== */

.fmb-article-content .fmb-example {
  border-color: #d5dee8;
  border-left-color: #536f91;

  background: #f5f8fb;
}

.fmb-example__label {
  color: #3f5d80;
}


/* ==========================================================
   INFORMATION
   Better Question
   ========================================================== */

.fmb-article-content .fmb-callout--info {
  border-color: #cfdae6;
  border-left-color: #456f99;

  background: #f4f8fc;
}

.fmb-callout--info .fmb-callout__label {
  color: #456f99;
}


/* ==========================================================
   CAUTION
   Why This Is Only a Screen / Inflation & Tax Context
   ========================================================== */

.fmb-article-content .fmb-callout--caution,
.fmb-article-content .fmb-callout--warning {
  border-color: #e5d7c7;
  border-left-color: #a8823a;

  background: #fbf8f2;
}

.fmb-callout--caution .fmb-callout__label,
.fmb-callout--warning .fmb-callout__label {
  color: #8b692e;
}


/* ==========================================================
   RULE OF THUMB
   ========================================================== */

.fmb-article-content .fmb-callout--rule,
.fmb-article-content .fmb-callout--success {
  border-color: #d7dfd8;
  border-left-color: #52715c;

  background: #f5f8f5;
}

.fmb-callout--rule .fmb-callout__label,
.fmb-callout--success .fmb-callout__label {
  color: #496650;
}


/* Strong statement inside a callout */
.fmb-article-content .fmb-callout strong,
.fmb-article-content .fmb-example strong {
  color: var(--fmb-heading);
}


/* Mobile */
@media (max-width: 620px) {

  .fmb-article-content .fmb-callout,
  .fmb-article-content .fmb-example {
    margin: 22px 0;
    padding: 18px;
  }

}

/* Numbered evidence markers generated by FMB Platform [fmb_cite]. */
.fmb-inline-citation {
  margin-left: 0.12em;
  font-size: 0.72em;
  line-height: 1;
  vertical-align: super;
}
.fmb-inline-citation a {
  color: var(--fmb-gold-text);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.fmb-inline-citation a:hover {
  color: var(--fmb-navy);
}
.fmb-source-card:target {
  outline: 2px solid var(--fmb-focus);
  outline-offset: 4px;
}
