/* Morning Telos blog */
.post-hero { background: var(--ivory-2); border-bottom: 1px solid var(--line); padding: 44px 0 56px; }
.post-hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.crumbs { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-3); margin-bottom: 20px; }
.crumbs a { color: var(--ink-2); }
.crumbs .tag { padding: 3px 10px; border: 1px solid var(--line-2); border-radius: 99px; background: var(--ivory); }
.crumbs .tag:hover { border-color: var(--clay); color: var(--clay); }
.post-hero h1, .bi-hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 4.6vw, 62px); line-height: 1.06; letter-spacing: -.02em; text-wrap: balance; }
.dek { margin-top: 18px; font-size: 19px; line-height: 1.55; color: var(--ink-3); max-width: 58ch; text-wrap: pretty; }
.byline { display: flex; align-items: center; gap: 12px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.byline .av { width: 42px; height: 42px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; flex: none; }
.byline .av .mark { grid-template-columns: repeat(7, 3px); grid-auto-rows: 3px; }
.byline b { display: block; font-size: 15px; font-weight: 600; }
.byline small { font-size: 13.5px; color: var(--ink-3); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; align-items: center; }
.act { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--white); font-size: 14px; font-weight: 500; color: var(--ink); cursor: pointer; transition: border-color .2s, transform .2s var(--ease); }
.act:hover { border-color: var(--ink); }
.act svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.act.pref svg { stroke: none; width: 20px; height: 20px; }
.act.pref span { font-size: 11px; line-height: 1.15; font-weight: 500; }
.act.ai { position: relative; padding: 0; }
.act.ai > button { display: inline-flex; align-items: center; gap: 8px; height: 100%; padding: 0 14px; font: inherit; }
.act.ai svg { fill: var(--clay); stroke: none; }
.ai-menu { position: absolute; left: 0; top: calc(100% + 6px); min-width: 230px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 20px 40px -24px rgba(20,20,19,.4); padding: 6px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .25s var(--ease), visibility .2s; z-index: 20; }
.act.ai.open .ai-menu { opacity: 1; visibility: visible; transform: none; }
.ai-menu a { display: block; padding: 10px 12px; border-radius: 8px; font-size: 14px; }
.ai-menu a:hover { background: var(--ivory-2); color: var(--clay); }
.act.copy.done { border-color: #5fa36a; color: #3f7d4a; }
.shares { display: inline-flex; gap: 8px; margin-left: 8px; }
.shares a { width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--white); display: grid; place-items: center; transition: border-color .2s; }
.shares a:hover { border-color: var(--ink); }
.shares svg { width: 17px; height: 17px; fill: var(--ink); }
.post-art { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: 10px 10px 0 var(--clay-soft); background: var(--ivory); }
.post-art img { width: 100%; height: auto; display: block; }

.post-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; padding-top: 56px; padding-bottom: 40px; align-items: start; }
.prose { font-size: 18px; line-height: 1.75; color: var(--ink-2); max-width: 740px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3vw, 38px); line-height: 1.15; letter-spacing: -.015em; color: var(--ink); margin-top: 1.9em; scroll-margin-top: 100px; text-wrap: balance; }
.prose h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.25; color: var(--ink); margin-top: 1.6em; scroll-margin-top: 100px; }
.prose a { color: var(--clay-hover); text-decoration: underline; text-decoration-color: var(--clay-soft); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--clay); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--clay); }
.prose blockquote.answer { border: 1px solid var(--clay-soft); background: #fff6f1; border-radius: 16px; padding: 20px 24px; font-size: 18.5px; color: var(--ink); }
.prose blockquote.answer p + p { margin-top: .6em; }
.prose blockquote:not(.answer) { border-left: 3px solid var(--clay); padding-left: 18px; color: var(--ink-3); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.45; }
.prose th { text-align: left; font-weight: 600; color: var(--ink); background: var(--ivory-2); }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose table:not(.glance table) { display: block; overflow-x: auto; }
.glance { border: 1px solid var(--line); border-radius: 14px; overflow-x: auto; }
.glance table { min-width: 640px; }
.glance td.n { font-family: var(--mono); font-size: 13px; color: var(--ink-4); width: 34px; }
.glance td a { font-weight: 600; }
.entry { margin-top: 2.2em; scroll-margin-top: 100px; }
.entry h3 { margin-top: 0; }
.browser { display: block; margin: 16px 0 20px; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; background: var(--white); box-shadow: 0 24px 40px -32px rgba(20,20,19,.45); text-decoration: none !important; transition: transform .35s var(--ease), box-shadow .35s; }
.browser:hover { transform: translateY(-3px); box-shadow: 0 30px 50px -32px rgba(20,20,19,.55); }
.browser .bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--ivory-2); border-bottom: 1px solid var(--line); }
.browser .bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.browser .bar span { margin: 0 auto; font-family: var(--mono); font-size: 12px; color: var(--ink-3); background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 2px 14px; }
.browser img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.facts { list-style: none; padding: 0 !important; margin-top: 14px !important; border-top: 1px solid var(--line); }
.facts li { padding: 10px 0; border-bottom: 1px solid var(--line); margin: 0 !important; font-size: 16.5px; }
.facts b { color: var(--ink); }
.sources { margin-top: 2.5em; padding-top: 1.2em; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.6; }
.sources h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-4); font-weight: 500; margin-bottom: 8px; }
.sources a { color: var(--ink-3); }

.post-side { position: sticky; top: 96px; display: grid; gap: 16px; }
.toc { border: 1px solid var(--line-2); border-radius: 14px; background: var(--white); overflow: hidden; }
.toc-h { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--ivory); }
.toc-h b { font-size: 14.5px; } .toc-h small { font-size: 12px; color: var(--ink-4); }
.toc ol { list-style: none; padding: 6px 0; max-height: 52vh; overflow-y: auto; }
.toc li a { display: block; padding: 8px 16px; font-size: 14px; line-height: 1.35; color: var(--ink-3); border-left: 2px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.toc li a:hover { color: var(--ink); }
.toc li a.on { color: var(--clay-hover); background: #fff6f1; border-left-color: var(--clay); font-weight: 500; }
.toc li.sub ol { padding: 0 0 4px 12px; max-height: none; }
.toc li.sub a { font-size: 13px; padding: 5px 16px; }
.side-cta { border-radius: 14px; background: var(--ink); color: var(--ivory); padding: 20px; }
.side-cta b { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.2; display: block; }
.side-cta p { font-size: 14px; color: #c2c0b6; margin: 10px 0 16px; line-height: 1.5; }
.side-cta .btn { background: var(--ivory); color: var(--ink); width: 100%; justify-content: center; }
.side-cta .btn:hover { background: var(--clay); color: #fff; }

.post-cta { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; margin: 60px auto 40px; padding: 40px 44px; border-radius: 22px; background: var(--ivory-2); border: 1px solid var(--line); }
.post-cta h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; }
.post-cta p { color: var(--ink-3); margin-top: 8px; }
.more { padding-top: 40px; padding-bottom: 110px; }
.more h2 { margin-bottom: 32px; }

.bi-hero { padding-top: 60px; padding-bottom: 36px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.bchip { padding: 8px 16px; border-radius: 99px; border: 1px solid var(--line-2); font-size: 14px; background: var(--ivory); transition: border-color .2s, background .2s, color .2s; }
.bchip:hover { border-color: var(--ink); }
.bchip.on { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.pcard { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--white); transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -36px rgba(20,20,19,.5); border-color: var(--clay-soft); }
.pimg { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ivory-2); }
.pimg img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pcard:hover .pimg img { transform: scale(1.04); }
.pbody { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; }
.pcat { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--clay); }
.pbody b { font-family: var(--serif); font-weight: 400; font-size: 23px; line-height: 1.2; color: var(--ink); text-wrap: balance; }
.pbody small { font-size: 15.5px; color: var(--ink-3); line-height: 1.5; }
.pmeta { font-size: 13px; color: var(--ink-4); margin-top: auto; }
.pcard.big { display: grid; grid-template-columns: 1.1fr 1fr; }
.pcard.big .pimg { aspect-ratio: auto; height: 100%; min-height: 320px; }
.pcard.big .pbody { padding: 36px; justify-content: center; }
.pcard.big b { font-size: clamp(28px, 3vw, 38px); }

@media (max-width: 1080px) {
  .post-grid { grid-template-columns: 1fr; gap: 0; }
  .post-side { position: static; margin-top: 40px; }
  .toc { display: none; }
}
@media (max-width: 900px) {
  .post-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .post-art { max-width: 520px; }
  .pgrid { grid-template-columns: repeat(2, 1fr); }
  .pcard.big { grid-template-columns: 1fr; }
  .pcard.big .pimg { min-height: 0; aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  .post-hero { padding: 24px 0 40px; }
  .prose { font-size: 17px; }
  .shares { margin-left: 0; }
  .pgrid { grid-template-columns: 1fr; }
  .post-cta { padding: 28px 22px; }
  .pcard.big .pbody { padding: 22px; }
}

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.stat { border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; background: var(--white); }
.stat b { display: block; font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1; color: var(--clay); }
.stat p { margin: 10px 0 8px; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.stat a { font-size: 12.5px; color: var(--ink-4) !important; text-decoration: none !important; }
.stat a:hover { color: var(--clay) !important; }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; } }

.tpls { display: grid; gap: 12px; }
.tpl { border: 1px solid var(--line); border-radius: 14px; background: var(--white); overflow: hidden; }
.tpl-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px 10px 16px; background: var(--ivory); border-bottom: 1px solid var(--line); }
.tpl-h b { font-size: 14.5px; color: var(--ink); }
.tpl-copy { font: 500 13px var(--sans); padding: 6px 14px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--white); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.tpl-copy:hover { border-color: var(--ink); }
.tpl-copy.done { background: var(--clay); border-color: var(--clay); color: #fff; }
.prose .tpl-t { margin: 0; padding: 14px 16px; font-size: 16px; line-height: 1.6; white-space: pre-line; color: var(--ink-2); }

.manual { display: flex; gap: 14px; align-items: flex-start; border: 1px dashed var(--clay); border-radius: 16px; padding: 18px 20px; background: #fffaf6; }
.manual .mi { width: 38px; height: 38px; border-radius: 10px; background: var(--clay); display: grid; place-items: center; flex: none; }
.manual .mi svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.manual b { color: var(--ink); font-size: 17px; }
.prose .manual p { margin: 4px 0 8px; font-size: 16px; line-height: 1.55; }
.manual a { font-weight: 600; font-size: 15px; }
.offer { border-radius: 20px; background: var(--ink); color: var(--ivory); padding: 28px 30px; position: relative; overflow: hidden; }
.offer::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(217,119,87,.45), rgba(217,119,87,0) 70%); }
.offer .ok { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--clay-soft); }
.prose .offer h3 { color: var(--ivory); font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.15; margin: 10px 0 8px; }
.prose .offer p { color: #c2c0b6; font-size: 16.5px; line-height: 1.55; margin: 0; }
.prose .offer ul { list-style: none; padding: 0; margin: 16px 0 20px; display: grid; gap: 8px; }
.prose .offer li { padding-left: 26px; position: relative; color: #e8e6dc; font-size: 15.5px; margin: 0; }
.prose .offer li::before { content: "✓"; position: absolute; left: 0; color: var(--clay); font-weight: 700; }
.prose .offer .btn { background: var(--ivory); color: var(--ink); text-decoration: none; position: relative; z-index: 1; }
.prose .offer .btn:hover { background: var(--clay); color: #fff; }
.promo { display: flex; gap: 14px; align-items: flex-start; border-left: 3px solid var(--clay); padding: 6px 0 6px 18px; }
.promo .pm-mark { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; flex: none; margin-top: 2px; }
.promo .pm-mark .mark { grid-template-columns: repeat(7, 2px); grid-auto-rows: 2px; }
.prose .promo p { margin: 0; font-size: 16.5px; color: var(--ink-2); }
