/* Editorial blog — public pages. Uses the shared theme palette from theme.css. */
.blog-page{--blog-gap:26px}
.blog-hero{max-width:820px;margin-bottom:28px}
.blog-hero h1{margin:16px 0 14px}
.blog-hero>p{color:var(--muted);font-size:14px;max-width:640px;line-height:1.85}
.blog-search{display:flex;gap:10px;margin-top:22px;max-width:560px}
.blog-search input{min-width:0}
.blog-search button{white-space:nowrap}
.blog-chips{display:flex;flex-wrap:wrap;gap:9px;align-items:center}
.blog-chips .post-chip{display:inline-flex;gap:7px;align-items:center}
.post-chip{display:inline-flex;align-items:center;gap:6px;padding:7px 13px;border:1px solid var(--line);border-radius:20px;background:var(--surface);font-size:11px;letter-spacing:.3px;color:var(--ink)}
.post-chip:hover{border-color:var(--orange);color:var(--orange)}
.post-chip.is-active{background:var(--orange);border-color:var(--orange);color:var(--accent-text);font-weight:600}
.chip-count{font-size:10px;opacity:.7}
.blog-chips{margin-bottom:26px;padding-bottom:20px;border-bottom:1px solid var(--line)}
.blog-result-note{font-size:12px;color:var(--muted);margin:0 0 20px}

.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--blog-gap)}
.post-card{background:var(--surface);border:1px solid var(--line);border-radius:9px;overflow:hidden;display:flex;flex-direction:column;transition:transform .18s ease,box-shadow .18s ease}
.post-card:hover{transform:translateY(-3px);box-shadow:0 14px 34px var(--shadow)}
.post-card-media{display:block;height:186px;background:var(--surface-feature);position:relative;overflow:hidden}
.post-card-media img{width:100%;height:100%;object-fit:cover;display:block}
.post-card-media-plain{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--surface-feature),var(--surface-soft))}
.post-card-mark{font-family:var(--heading-font,Georgia);font-size:56px;color:var(--orange);opacity:.55}
.post-card-body{padding:22px;display:flex;flex-direction:column;gap:11px;flex:1}
.post-card-body h2{font-size:22px;margin:0;letter-spacing:-.4px;line-height:1.25}
.post-card-body h2 a:hover{color:var(--orange)}
.post-card-body>p{margin:0;font-size:12px;color:var(--muted);line-height:1.8}
.post-card-foot{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-top:4px}
.post-card-foot .text-link{font-size:11px}
.post-card-foot .share-networks{--share-gap:6px}
.post-card-foot .share-btn{min-width:32px;min-height:32px;padding:0 8px;border-radius:7px}
.post-card-foot .share-status{width:100%;margin:0}
.post-card-meta{display:flex;flex-wrap:wrap;align-items:center;gap:9px;font-size:10px;letter-spacing:.4px;text-transform:uppercase;color:var(--muted)}
.post-card-meta time{font-variant-numeric:tabular-nums}

.post-feature{display:grid;grid-template-columns:1.05fr 1fr;gap:0;background:var(--surface);border:1px solid var(--line);border-radius:10px;overflow:hidden;margin:0 0 30px}
.post-feature-media{display:block;min-height:330px;background:var(--surface-feature);overflow:hidden}
.post-feature-media img{width:100%;height:100%;object-fit:cover;display:block}
.post-feature-media-plain{display:flex;align-items:center;justify-content:center;background:linear-gradient(120deg,var(--surface-feature),var(--surface-soft))}
.post-feature-media-plain .post-card-mark{font-size:96px}
.post-feature-body{padding:34px;display:flex;flex-direction:column;gap:14px;justify-content:center}
.post-feature-body h2{font-size:31px;margin:0;letter-spacing:-.7px}
.post-feature-body>p{margin:0;font-size:13px;color:var(--muted);line-height:1.85}
.post-feature-body .button{align-self:flex-start;margin-top:6px}

.post-pagination{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:32px 0 8px;padding-top:20px;border-top:1px solid var(--line);font-size:12px}
.page-step{padding:9px 16px;border:1px solid var(--line);border-radius:6px;background:var(--surface)}
.page-step:hover{border-color:var(--orange);color:var(--orange)}
.page-step.is-disabled{opacity:1;color:#6b645d;border-style:dashed}
.page-count{color:var(--muted);font-size:11px;letter-spacing:.5px}

.blog-tags{margin:44px 0 0;padding-top:26px;border-top:1px solid var(--line)}
.blog-tags h2{font-size:19px;margin:0 0 14px}
.blog-cta{display:flex;align-items:center;justify-content:space-between;gap:26px;margin-top:40px;flex-wrap:wrap}
.blog-cta h2{margin:8px 0 10px;font-size:27px}
.blog-cta .note{margin:0;max-width:520px}

/* Single post */
.blog-crumbs{display:flex;gap:9px;align-items:center;font-size:11px;color:var(--muted);margin-bottom:20px;flex-wrap:wrap}
.blog-crumbs a:hover{color:var(--orange)}
.post-header{max-width:860px;margin-bottom:24px}
.post-header h1{font-size:clamp(32px,3.6vw,50px);letter-spacing:-1.4px;margin:14px 0 12px}
.post-standfirst{font-size:16px;line-height:1.75;color:var(--muted);max-width:720px;margin:0}
.post-cover{margin:0 0 30px;border-radius:10px;overflow:hidden;border:1px solid var(--line);background:var(--surface-feature)}
.post-cover img{width:100%;max-height:520px;object-fit:cover;display:block}
.post-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:38px;align-items:start}
.post-body{font-size:15px;line-height:1.9;color:var(--ink);overflow-wrap:anywhere;max-width:760px}
.post-body p{margin:0 0 19px}
.post-body h2,.post-body h3,.post-body h4{font-family:var(--heading-font,Georgia);letter-spacing:-.5px;margin:34px 0 14px;line-height:1.25}
.post-body h2{font-size:29px}
.post-body h3{font-size:23px}
.post-body h4{font-size:19px}
.post-body ul,.post-body ol{margin:0 0 20px;padding-left:22px}
.post-body li{margin-bottom:9px}
.post-body blockquote{margin:26px 0;padding:18px 24px;border-left:3px solid var(--orange);background:var(--surface-feature);border-radius:0 8px 8px 0;font-family:var(--heading-font,Georgia);font-size:18px;line-height:1.6}
.post-body blockquote p:last-child{margin:0}
.post-body a{color:var(--orange);border-bottom:1px solid currentColor}
.post-body code{background:var(--surface-soft);padding:2px 6px;border-radius:4px;font-size:13px}
.post-body img{max-width:100%;height:auto;border-radius:8px;border:1px solid var(--line);margin:8px 0}
.post-figure{margin:24px 0}
.post-figure img{width:100%;margin:0}
.post-body hr{border:0;border-top:1px solid var(--line);margin:32px 0}
.post-tags{display:flex;flex-wrap:wrap;gap:8px;margin:34px 0 0;padding-top:22px;border-top:1px solid var(--line)}
.post-share{margin:26px 0;padding:20px 0;border-block:1px solid var(--line)}
.post-share b{font-size:12px;display:block;margin-bottom:12px}
.post-share .post-chip{font-size:11px}
.post-author{display:flex;justify-content:space-between;gap:22px;align-items:center;flex-wrap:wrap;padding:22px;background:var(--surface-feature);border-radius:9px;margin:32px 0}
.post-author b{font-size:13px}
.post-author .note{margin:6px 0 0;max-width:520px}
.post-neighbours{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:8px}
.post-neighbour{padding:18px;border:1px solid var(--line);border-radius:8px;background:var(--surface);display:flex;flex-direction:column;gap:7px}
.post-neighbour:hover{border-color:var(--orange)}
.post-neighbour small{font-size:10px;letter-spacing:.6px;text-transform:uppercase;color:var(--muted)}
.post-neighbour b{font-size:14px;line-height:1.45;font-weight:600}
.post-neighbour.is-next{text-align:right;align-items:flex-end}
.post-aside{display:flex;flex-direction:column;gap:18px;position:sticky;top:20px}
.post-aside .panel{padding:22px}
.post-aside h3{font-size:16px;margin:0 0 14px}
.post-aside-list{list-style:none;margin:0;padding:0}
.post-aside-list a{display:flex;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid var(--line);font-size:12px}
.post-aside-list li:last-child a{border-bottom:0}
.post-aside-list a:hover{color:var(--orange)}
.post-aside-list span{color:var(--muted);font-size:11px}
.post-aside-cta .eyebrow{margin-bottom:6px}
.post-aside-cta h3{font-size:19px}
.post-aside-cta .note{font-size:11px}
.post-aside-cta .button{width:100%;margin-top:12px}
.blog-related{margin-top:52px;padding-top:30px;border-top:1px solid var(--line)}
.blog-related .section-head{margin-bottom:20px}
.blog-related h2{font-size:26px}

@media(max-width:1100px){.post-grid{grid-template-columns:repeat(2,1fr)}.post-layout{grid-template-columns:minmax(0,1fr)}.post-aside{position:static;display:grid;grid-template-columns:1fr 1fr;gap:16px}.post-feature{grid-template-columns:1fr}.post-feature-media{min-height:240px}}
@media(max-width:720px){.post-grid{grid-template-columns:1fr}.blog-search{flex-direction:column}.blog-search button{width:100%}.post-feature-body{padding:22px}.post-feature-body h2{font-size:25px}.post-aside{grid-template-columns:1fr}.post-neighbours{grid-template-columns:1fr}.post-neighbour.is-next{text-align:left;align-items:flex-start}.blog-cta{flex-direction:column;align-items:flex-start}.post-body{font-size:14px}}
