/* =====================================================================
   Dwell Secure — blog index, categories and posts
   ===================================================================== */
.blog-head { overflow: hidden; }
.blog-head .h-xl { max-width: 12ch; margin: 20px 0 0; }
.blog-head__mark { position: absolute; right: -4%; top: 10%; width: min(520px, 46vw); color: var(--blueprint); opacity: .5; pointer-events: none; }

/* Featured (newest) post spans the grid */
.post--hero { grid-column: 1 / -1; flex-direction: row; min-height: 420px; }
.post--hero .post__img { flex: 1.3; aspect-ratio: auto; }
.post--hero .post__body { flex: 1; padding: clamp(28px, 4vw, 52px); justify-content: center; }
.post--hero h3 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.02; }
.post--hero p { font-size: 18px; }
@media (max-width: 760px) { .post--hero { flex-direction: column; } .post--hero .post__img { aspect-ratio: 16/10; } }

.empty { padding: 60px 0; text-align: center; }
.empty p { color: var(--ink-2); }

/* Post */
.post-head { padding-bottom: 36px; }
.post-head .h-lg { max-width: 20ch; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 26px; font: 400 13px/1 var(--f-mono); color: var(--ink-3); }
.post-meta a { color: var(--brand); text-underline-offset: 3px; }
.post-meta .av { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font: 600 12px/1 var(--f-mono); }
.post-cover { width: 100%; max-height: 620px; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-xl); }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 64px; margin-top: clamp(40px, 5vw, 72px); }
.post-body { margin: 0; }
.post-body > p:first-of-type { font-size: 1.18em; color: var(--ink); }
.post-aside { position: sticky; top: 110px; align-self: start; display: grid; gap: 22px; font-size: 14px; color: var(--ink-3); }
.post-aside b { display: block; font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.post-aside a { color: var(--ink); }
.post-aside .share { display: flex; gap: 8px; }
.post-aside .share a, .post-aside .share button { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); background: none; color: var(--ink); cursor: pointer; }
.post-aside .share svg { width: 16px; height: 16px; }
@media (max-width: 960px) { .post-layout { grid-template-columns: 1fr; } .post-aside { position: static; grid-auto-flow: column; justify-content: start; gap: 32px; border-top: 1px solid var(--line); padding-top: 24px; } }

/* Reading progress */
.progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 120; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--water), var(--fire)); }
