/* ====== BLOG — shared styles for /blog and /blogs/post/* ====== */

/* HERO */
.post-hero{padding:80px 0 56px;border-bottom:1px solid var(--ink);}
.post-hero .eyebrow{display:block;margin-bottom:24px;}
.post-hero h1{font-family:var(--f-display);font-weight:400;font-size:clamp(40px,6vw,72px);line-height:0.98;letter-spacing:-0.045em;margin-bottom:32px;text-wrap:balance;max-width:1080px;}
.post-hero h1 .accent{color:var(--accent);}
.post-hero .lead{font-size:20px;line-height:1.55;color:var(--ink);max-width:820px;margin-bottom:0;font-weight:500;}
.post-hero .meta{display:flex;flex-wrap:wrap;gap:20px;margin-top:36px;font-family:var(--f-mono);font-size:11px;letter-spacing:0.04em;color:var(--mute);}
.post-hero .meta b{color:var(--ink);font-weight:600;}

/* BODY */
.post-body{padding:64px 0 96px;}
.post-body .wrap{max-width:780px;}
.post-body h2{font-family:var(--f-display);font-weight:400;font-size:clamp(26px,3.2vw,36px);line-height:1.1;letter-spacing:-0.03em;margin:56px 0 18px;text-wrap:balance;}
.post-body h2:first-child{margin-top:0;}
.post-body h3{font-family:var(--f-body);font-weight:700;font-size:19px;line-height:1.3;letter-spacing:-0.01em;margin:32px 0 12px;color:var(--ink);}
.post-body p{font-size:17px;line-height:1.7;color:var(--ink);margin-bottom:18px;}
.post-body ul, .post-body ol{padding-left:22px;margin-bottom:20px;}
.post-body li{font-size:17px;line-height:1.7;color:var(--ink);margin-bottom:10px;}
.post-body strong{font-weight:600;color:var(--ink);}
.post-body em{font-style:italic;color:var(--mute);}
.post-body a:not(.btn){color:var(--ink);text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--accent);text-decoration-thickness:1.5px;}
.post-body a:not(.btn):hover{color:var(--accent);}
.post-body hr{border:0;border-top:1px solid var(--line);margin:48px 0;}

.post-body .callout{background:var(--paper);border:1px solid var(--line);border-left:3px solid var(--accent);padding:24px 28px;margin:28px 0;font-size:16px;line-height:1.6;}
.post-body .callout strong{color:var(--ink);}
.post-body .callout .label{font-family:var(--f-mono);font-size:10px;letter-spacing:0.14em;color:var(--accent);font-weight:600;display:block;margin-bottom:8px;text-transform:uppercase;}

/* Video embed (responsive 16:9) */
.post-body .video-embed{position:relative;width:100%;padding-bottom:56.25%;height:0;overflow:hidden;margin:32px 0;border:1px solid var(--ink);}
.post-body .video-embed iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:0;}

/* Inline CTA */
.cta-inline{background:var(--paper);border:1px solid var(--ink);padding:32px;margin:40px 0;display:flex;align-items:center;gap:24px;flex-wrap:wrap;}
.cta-inline .text{flex:1;min-width:280px;}
.cta-inline .text .label{font-family:var(--f-mono);font-size:11px;letter-spacing:0.14em;color:var(--accent);font-weight:600;display:block;margin-bottom:8px;}
.cta-inline .text .title{font-family:var(--f-body);font-weight:700;font-size:20px;letter-spacing:-0.01em;color:var(--ink);margin-bottom:6px;line-height:1.3;}
.cta-inline .text .sub{font-family:var(--f-mono);font-size:11px;letter-spacing:0.04em;color:var(--mute);}
.cta-inline .btn{flex-shrink:0;}

/* Mobile */
@media (max-width:720px){
  .post-hero{padding:48px 0 32px;}
  .post-hero h1{font-size:clamp(32px,8vw,48px);}
  .post-hero .lead{font-size:17px;}
  .post-body{padding:40px 0 64px;}
  .post-body h2{font-size:clamp(22px,5vw,28px);margin:40px 0 14px;}
  .post-body p, .post-body li{font-size:16px;}
  .cta-inline{padding:24px;flex-direction:column;align-items:flex-start;}
  .cta-inline .btn{align-self:stretch;text-align:center;}
}

/* ====== BLOG INDEX ====== */
.blog-index{padding:80px 0 96px;}
.blog-index .head{margin-bottom:48px;}
.blog-index .head .eyebrow{display:block;margin-bottom:20px;}
.blog-index .head h1{font-family:var(--f-display);font-weight:400;font-size:clamp(40px,6vw,72px);line-height:0.98;letter-spacing:-0.045em;margin-bottom:20px;text-wrap:balance;max-width:980px;}
.blog-index .head h1 .accent{color:var(--accent);}
.blog-index .head p{font-size:18px;line-height:1.6;color:var(--mute);max-width:680px;}

.blog-list{display:flex;flex-direction:column;border-top:1px solid var(--ink);}
.blog-card{display:grid;grid-template-columns:140px 1fr auto;gap:32px;padding:28px 0;border-bottom:1px solid var(--line);align-items:start;transition:background .15s ease;}
.blog-card:hover{background:var(--paper);}
.blog-card .date{font-family:var(--f-mono);font-size:11px;letter-spacing:0.04em;color:var(--mute);padding-top:6px;}
.blog-card .body{min-width:0;}
.blog-card h2{font-family:var(--f-display);font-weight:400;font-size:clamp(22px,3vw,30px);line-height:1.15;letter-spacing:-0.03em;margin:0 0 10px;text-wrap:balance;}
.blog-card h2 a{color:var(--ink);}
.blog-card h2 a:hover{color:var(--accent);}
.blog-card p{font-size:15px;line-height:1.6;color:var(--mute);margin:0;max-width:640px;}
.blog-card .tag{font-family:var(--f-mono);font-size:10px;letter-spacing:0.14em;color:var(--mute);text-transform:uppercase;padding-top:8px;white-space:nowrap;}

@media (max-width:720px){
  .blog-index{padding:48px 0 64px;}
  .blog-card{grid-template-columns:1fr;gap:8px;padding:22px 0;}
  .blog-card .date, .blog-card .tag{padding-top:0;}
}
