/* Blog index + articles. Builds on /site.css and /industries.css. */
.post-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 40px; align-items: center; }
.post-hero h1 { max-width: 20ch; font-size: clamp(2rem, 4.4vw, 3.2rem); }
.byline { margin-top: 18px; color: var(--text-2); font-size: .95rem; }
.post-art { display: block; border-radius: 20px; overflow: hidden; background: var(--hull); border: 1px solid var(--line); }
.post-art svg { display: block; width: 100%; height: auto; }
.post-art.big { box-shadow: 0 30px 70px -35px rgba(79,216,255,.6); }

.post-body { padding-top: 20px; }
.post-grid { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 56px; align-items: start; }
.toc { position: sticky; top: 96px; font-size: .9rem; }
.toc p { font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); margin-bottom: 10px; }
.toc ol { list-style: none; border-left: 2px solid var(--line); }
.toc li a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--text-2); text-decoration: none; line-height: 1.35; }
.toc li a:hover { color: var(--text); border-left-color: var(--glow); }

.prose { max-width: 70ch; font-size: 1.08rem; line-height: 1.75; color: #d6e3ee; }
.prose > * + * { margin-top: 1.1em; }
.prose .intro { font-size: 1.22rem; line-height: 1.65; color: var(--text); }
.prose h2 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); margin-top: 2.1em; scroll-margin-top: 96px; }
.prose h3 { font-size: 1.2rem; margin-top: 1.7em; color: var(--text); }
.prose a { color: var(--glow); text-underline-offset: 3px; }
.prose strong { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .5em; }
.prose li::marker { color: var(--glow); font-weight: 700; }
.prose ol.checklist { list-style: none; padding-left: 0; counter-reset: c var(--start, 0); }
.prose ol.checklist[start="5"] { --start: 4; } .prose ol.checklist[start="10"] { --start: 9; } .prose ol.checklist[start="13"] { --start: 12; }
.prose ol.checklist li { counter-increment: c; position: relative; padding: 16px 18px 16px 64px; background: var(--hull); border: 1px solid var(--line); border-radius: 16px; }
.prose ol.checklist li + li { margin-top: 10px; }
.prose ol.checklist li::before { content: counter(c); position: absolute; left: 16px; top: 15px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--glow-tint); color: var(--glow); font-weight: 800; font-size: .95rem; }
.prose ul.checklist-ul { list-style: none; padding-left: 0; }
.prose ul.checklist-ul li { position: relative; padding-left: 34px; }
.prose ul.checklist-ul li::before { content: ""; position: absolute; left: 0; top: .35em; width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--glow); }
.ptable { width: 100%; border-collapse: collapse; font-size: .98rem; background: var(--hull); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: table; }
.ptable th, .ptable td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line-2); }
.ptable thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-2); }
.ptable tbody th { color: var(--brass); }
.ptable tr:last-child th, .ptable tr:last-child td { border-bottom: 0; }

.post-cta { position: relative; overflow: hidden; margin-top: 3em !important; padding: 34px 30px; border-radius: 24px; background: radial-gradient(70% 100% at 100% 0%, rgba(79,216,255,.22), transparent 70%), var(--hull); border: 1px solid var(--line); }
.post-cta .wheel { position: absolute; width: 300px; right: -90px; bottom: -120px; opacity: .08; }
.post-cta h2 { margin-top: 0 !important; font-size: 1.5rem; position: relative; }
.post-cta p { color: var(--text-2); position: relative; margin: 10px 0 20px; }
.post-cta .btn { position: relative; }

.post-grid-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.post-card { display: flex; flex-direction: column; background: var(--hull); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 14px 22px; color: var(--text); text-decoration: none; transition: transform .2s, border-color .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-4px); border-color: rgba(79,216,255,.5); box-shadow: 0 24px 50px -30px rgba(79,216,255,.6); }
.post-card .post-art { border-radius: 14px; }
.post-meta { margin: 16px 8px 0; font-size: .82rem; color: var(--text-2); }
.post-meta b { color: var(--brass); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .74rem; }
.post-card h2 { font-size: 1.22rem; line-height: 1.3; margin: 8px 8px 6px; }
.post-card p { margin: 0 8px; color: var(--text-2); font-size: .94rem; flex: 1; }
.post-card .text-link { margin-left: 8px; }
.post-body + .wave + .block .more-inds { margin-top: 30px; }

@media (max-width: 1000px) {
  .post-grid { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; border: 1px solid var(--line); background: var(--hull); border-radius: 16px; padding: 16px 18px; }
  .post-grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .post-head { grid-template-columns: minmax(0, 1fr); }
  .post-art.big { max-width: 420px; }
  .post-grid-cards { grid-template-columns: minmax(0, 1fr); }
  .prose { font-size: 1.02rem; }
  .prose ol.checklist li { padding: 14px 14px 14px 56px; }
  .ptable th, .ptable td { padding: 10px 10px; font-size: .9rem; }
}
