/* Blog, posts and generic pages */
.page-hero{position:relative;color:#fff;background:var(--brand-deep);overflow:hidden;isolation:isolate}
.page-hero .hero-photo{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:50% 45%}
.page-hero::after{content:"";position:absolute;inset:0;z-index:0;background:linear-gradient(90deg,rgba(24,25,28,.9) 0%,rgba(24,25,28,.72) 50%,rgba(24,25,28,.35) 100%)}
.page-hero-inner{position:relative;z-index:1;padding-block:clamp(56px,8vw,96px);display:grid;gap:16px;max-width:820px}
.page-hero h1{font-weight:300;font-size:clamp(2rem,4.4vw,3.1rem);letter-spacing:-.01em;color:#fff}
.page-hero p{font-size:1.12rem;color:rgba(255,255,255,.86);max-width:60ch}
.page-hero-sm .page-hero-inner{padding-block:clamp(44px,6vw,72px)}
.page-hero-sm{border-bottom:4px solid #f17511}
.crumbs{display:flex;flex-wrap:wrap;gap:8px 10px;font:500 .85rem var(--head);color:rgba(255,255,255,.75)}
.crumbs a{color:#f7a25a;text-decoration:none}
.crumbs a:hover{text-decoration:underline}

/* post grid */
.blog-list{background:var(--bg-alt)}
.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.post-card{background:var(--bg);border:1px solid var(--line);border-radius:16px;overflow:hidden;display:grid;grid-template-rows:auto 1fr;transition:transform .2s,box-shadow .2s}
.post-card:hover{transform:translateY(-3px);box-shadow:0 16px 36px rgba(20,20,25,.12)}
.pc-img{display:block;overflow:hidden}
.pc-img img{display:block;width:100%;height:auto;aspect-ratio:5/3;object-fit:cover;transition:transform .4s}
.post-card:hover .pc-img img{transform:scale(1.03)}
.pc-body{padding:22px 24px 24px;display:grid;gap:10px;align-content:start}
.pc-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;font:500 .8rem var(--head);color:var(--muted)}
.pc-cat{font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--brand);text-decoration:none;font-size:.72rem}
.pc-title{font:600 1.2rem/1.3 var(--head);margin:0}
.pc-title a{color:var(--ink);text-decoration:none}
.pc-title a:hover{color:var(--brand)}
.pc-excerpt{color:var(--muted);font-size:.98rem}
.pc-more{font:600 .88rem var(--head);color:var(--brand);text-decoration:none;justify-self:start}
.pc-more:hover{text-decoration:underline}
.empty{text-align:center;color:var(--muted);font-size:1.1rem}
@media (max-width:980px){.post-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:600px){.post-grid{grid-template-columns:1fr}}

/* pagination */
.pagination{margin-top:40px}
.pagination .nav-links{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:44px;padding:0 14px;border-radius:999px;border:1px solid var(--line);background:var(--bg);color:var(--ink);font:600 .9rem var(--head);text-decoration:none}
.pagination .page-numbers.current{background:var(--brand-deep);border-color:var(--brand-deep);color:#fff}
.pagination a.page-numbers:hover{border-color:var(--brand)}

/* single post */
.post-hero{background:var(--brand-deep);color:#fff;border-bottom:4px solid #f17511}
.post-hero-inner{padding-block:clamp(48px,7vw,84px);display:grid;gap:18px;max-width:880px}
.post-hero h1{color:#fff;font-weight:500;font-size:clamp(1.9rem,4vw,2.9rem);line-height:1.18}
.post-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;font-size:.95rem;color:rgba(255,255,255,.8)}
.post-meta img{width:44px;height:44px;border-radius:50%;object-fit:cover;border:2px solid #f17511}
.post-meta strong{color:#fff;font-weight:600}
.post-meta .dot{opacity:.5}
.post-feature{max-width:1040px;margin:clamp(-24px,-2vw,-16px) auto 0;padding-left:max(20px,env(safe-area-inset-left,0px));padding-right:max(20px,env(safe-area-inset-right,0px));position:relative}
.post-feature img{display:block;width:100%;height:auto;border-radius:var(--radius);box-shadow:0 20px 44px rgba(20,20,25,.16)}
.post-body{max-width:760px;margin:0 auto;padding:clamp(40px,6vw,64px) max(20px,env(safe-area-inset-right,0px)) clamp(56px,8vw,96px) max(20px,env(safe-area-inset-left,0px));display:grid;gap:40px}

/* article typography */
.entry{font-size:1.125rem;line-height:1.75;color:var(--ink);min-width:0}
.entry>*+*{margin-top:1.15em}
.entry h2{font-size:1.65rem;font-weight:600;margin-top:1.8em;line-height:1.25}
.entry h3{font-size:1.3rem;font-weight:600;margin-top:1.5em}
.entry h4{font-size:1.1rem;font-weight:600;margin-top:1.4em}
.entry a{color:var(--brand);text-decoration:underline;text-underline-offset:3px}
.entry ul,.entry ol{padding-left:1.3em}
.entry li+li{margin-top:.4em}
.entry li::marker{color:var(--brand)}
.entry blockquote{margin:1.6em 0;padding:4px 0 4px 22px;border-left:4px solid #f17511;font-family:var(--head);font-size:1.25rem;font-weight:300;font-style:italic;color:var(--ink)}
.entry img{height:auto;border-radius:12px}
.entry figure{margin:1.6em 0}
.entry figcaption,.entry .wp-element-caption{font-size:.88rem;color:var(--muted);margin-top:8px;text-align:center}
.entry table{width:100%;border-collapse:collapse;font-size:1rem;display:block;overflow-x:auto}
.entry th,.entry td{padding:10px 14px;border-bottom:1px solid var(--line);text-align:left}
.entry th{background:var(--bg-alt);font-family:var(--head);font-weight:600}
.entry hr{border:0;border-top:1px solid var(--line);margin:2.2em 0}
.entry .alignwide{margin-left:calc(50% - min(50vw,560px) + 20px);margin-right:calc(50% - min(50vw,560px) + 20px)}
.entry .aligncenter{margin-left:auto;margin-right:auto}
.entry .alignleft{float:left;margin:.3em 1.2em 1em 0;max-width:50%}
.entry .alignright{float:right;margin:.3em 0 1em 1.2em;max-width:50%}

/* post CTA + author */
.post-cta{background:var(--brand-deep);color:#fff;border-radius:var(--radius);padding:30px;display:grid;gap:12px;justify-items:start;border-left:6px solid #f17511}
.post-cta-kicker{font:600 .75rem var(--head);letter-spacing:.14em;text-transform:uppercase;color:#f7a25a}
.post-cta-title{font:600 1.35rem/1.3 var(--head);color:#fff}
.post-cta p{color:rgba(255,255,255,.82)}
.author-box{display:flex;gap:20px;align-items:flex-start;padding:26px;border:1px solid var(--line);border-radius:var(--radius);background:var(--bg-alt)}
.author-box img{width:96px;height:96px;border-radius:50%;object-fit:cover;flex:none;border:3px solid #f17511}
.author-box div{display:grid;gap:8px;min-width:0}
.author-name{font:600 1.1rem var(--head)}
.author-box p{color:var(--muted);font-size:.98rem}
.author-links{display:flex;flex-wrap:wrap;gap:6px 18px}
.author-links a{font:600 .88rem var(--head);color:var(--brand);text-decoration:none}
@media (max-width:560px){.author-box{flex-direction:column}}
.related{background:var(--bg-alt)}
.related h2{margin-bottom:28px}

.notfound .nf-links{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}
.btn-outline{border-color:var(--line);color:var(--ink)}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
