/* Long-form article typography only; blog cards and page structure use existing theme components. */
.fm-article{font-size:18px;line-height:1.8;color:var(--ink);overflow-wrap:anywhere}
.blog-post-hero .hero-copy{max-width:900px}
.blog-hero>img{z-index:-2}
.blog-hero:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(10,16,25,.76),rgba(10,16,25,.28) 70%),linear-gradient(0deg,rgba(10,16,25,.34),transparent 68%);pointer-events:none}
.blog-hero-crumbs{margin:0 0 18px;color:rgba(255,255,255,.78);font-size:14px}
.blog-hero-crumbs ol{display:flex;flex-wrap:wrap;gap:4px 8px;list-style:none;padding:0;margin:0}
.blog-hero-crumbs li+li::before{content:"›";margin-inline-end:8px;color:rgba(255,255,255,.6)}
.blog-hero-crumbs a{text-decoration:underline;text-decoration-color:rgba(255,255,255,.45);text-underline-offset:4px}
.blog-hero .blog-post-meta{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 0;color:rgba(255,255,255,.84);font-size:15px}
.blog-post{padding-block:clamp(36px,5vw,64px)}
.blog-post>.fm-article{max-width:760px;margin-inline:auto}
.blog-post>.blog-money-page{max-width:760px;margin:32px auto 0}
.blog-money-card{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:24px;border:1px solid var(--line);border-radius:var(--card-radius,20px);color:var(--ink);text-decoration:none;background:#fff}
.blog-money-card strong{font-size:clamp(20px,2.4vw,28px);font-weight:400;line-height:1.2}
.blog-money-label{font-size:14px;color:var(--muted)}
.blog-money-card .btn{margin-top:4px}
.blog-latest{padding-block:clamp(48px,6vw,80px) 0}
.fm-article h2,.fm-article h3{line-height:1.25;letter-spacing:-.025em;margin:1.8em 0 .65em}
.fm-article h2{font-size:clamp(25px,3vw,36px)}
.fm-article h3{font-size:clamp(21px,2.4vw,28px)}
.fm-article p,.fm-article ul,.fm-article ol,.fm-article table,.fm-article blockquote{margin-block:0 1.2em}
.fm-article ul,.fm-article ol{padding-inline-start:1.5em}
.fm-article li+li{margin-block-start:.45em}
.fm-article table{width:100%;max-width:100%;border-collapse:collapse;display:block;overflow-x:auto;overscroll-behavior-inline:contain}
.fm-article th,.fm-article td{padding:.65em .8em;border:1px solid var(--line);text-align:start}
.fm-article table td,.fm-article table th{overflow-wrap:normal;word-break:normal;hyphens:none}
.fm-table-scroll{position:relative;max-width:100%}
.fm-article blockquote{padding-inline-start:1.2em;border-inline-start:3px solid var(--amber);color:var(--muted)}
.fm-article img{max-width:100%;height:auto}
.fm-article a{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
[dir="rtl"] .fm-article{direction:rtl;text-align:start}
@media(max-width:720px){.blog-money-card{width:100%}.blog-money-card .btn{width:100%}.blog-post-hero .hero-copy{max-width:none}}
@media(max-width:640px){
  .fm-article table.fm-table-cards{display:block;width:100%;overflow:visible;border-collapse:separate;border-spacing:0}
  .fm-article table.fm-table-cards thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
  .fm-article table.fm-table-cards tbody,.fm-article table.fm-table-cards tr{display:block;width:100%}
  .fm-article table.fm-table-cards tr{margin:0 0 1em;padding:.35em .75em;border:1px solid var(--line);border-radius:12px;background:#fff}
  .fm-article table.fm-table-cards td{display:grid;grid-template-columns:minmax(6.5em,32%) minmax(0,1fr);gap:.75em;padding:.55em 0;border:0;border-bottom:1px solid var(--line);overflow-wrap:normal;word-break:normal;hyphens:none}
  .fm-article table.fm-table-cards td:last-child{border-bottom:0}
  .fm-article table.fm-table-cards td::before{content:attr(data-label);font-weight:600;color:var(--muted);text-align:start}
  .fm-table-scroll{overflow-x:auto;overscroll-behavior-inline:contain}
  .fm-table-scroll table{width:max-content;min-width:100%;max-width:none}
  .fm-table-scroll::before{content:attr(data-scroll-hint);display:block;margin-block-end:.4em;color:var(--muted);font-size:.8em}
  .fm-table-scroll::after{content:"";position:absolute;inset-block:0;right:0;width:26px;pointer-events:none;background:linear-gradient(to left,rgba(255,255,255,.9),transparent)}
}
