/* Home Investment: blog cards with covers and the longer article pages (links, tables, letter sample, FAQ). */

/* ---------- blog list ---------- */
.post--img{padding-top:0;overflow:hidden}
.post__thumb{display:block;margin:0 calc(-1*clamp(24px,2.6vw,34px)) 10px;aspect-ratio:1200/630;background:var(--ink);overflow:hidden}
.post__thumb img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s var(--ease)}
.post--img:hover .post__thumb img{transform:scale(1.03)}

/* ---------- article body ---------- */
.article__body h3{font-size:clamp(1.12rem,1.6vw,1.28rem);line-height:1.3;margin:1.6em 0 .55em}
.article__body h2 + h3{margin-top:.9em}
.article__body a{color:var(--ink);text-decoration:underline;text-decoration-color:var(--gold);text-decoration-thickness:2px;text-underline-offset:3px;transition:color .2s,text-decoration-color .2s}
.article__body a:hover{color:#8A5D00;text-decoration-color:#B57A00}
.article__body strong{font-weight:700;color:var(--ink)}
.article__body ul,.article__body ol{margin:0 0 1.3em;color:var(--text)}
.article__body li{margin:.35em 0;padding-left:.2em}
.article__body li::marker{color:#B57A00;font-weight:700}

.table-wrap{margin:1.5em 0 1.8em;border:1px solid var(--line);border-radius:var(--radius);overflow-x:auto;-webkit-overflow-scrolling:touch}
.article__body table{width:100%;border-collapse:collapse;font-size:.98rem;line-height:1.55}
.article__body table.t-wide{min-width:560px}
.article__body th,.article__body td{padding:12px 16px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line)}
.article__body th{background:var(--sand);color:var(--ink);font-weight:700;font-size:.9rem}
.article__body tbody tr:last-child td{border-bottom:0}
.article__body td:first-child{font-weight:600;color:var(--ink)}

.article__body blockquote.sample{margin:1.5em 0 1.8em;padding:clamp(20px,2.4vw,30px);background:var(--sand);border-left:3px solid var(--gold);border-radius:0 var(--radius) var(--radius) 0}
.article__body blockquote.sample p{font-size:1rem;line-height:1.7;margin:0 0 .8em}
.article__body blockquote.sample p:last-child{margin-bottom:0}

.article__body .faq{border-top:1px solid var(--line);margin-top:.4em}
.article__body .faq h3{margin:1.3em 0 .45em}

.article__body hr{border:0;border-top:1px solid var(--line);margin:2.6em 0 1.3em}
.article__body p.article__note{font-size:.93rem;line-height:1.65;color:var(--muted)}

@media(max-width:760px){
  .article__body th,.article__body td{padding:10px 12px}
  .article__body table{font-size:.94rem}
}

/* blog.html reuses the homepage .intro block, which is fixed to one screen height; let the list grow */
.intro--page{height:auto;min-height:100vh;min-height:100dvh;align-items:flex-start}
