/* Blog list + article pages. Loaded after site.css. */
.menu a[aria-current="page"]{color:var(--blue);background:var(--blue-50)}

/* list hero */
.blog-hero{padding:64px 0 48px;background:
  radial-gradient(800px 400px at 90% 0%,rgba(24,102,180,.10),transparent 60%),
  linear-gradient(180deg,#fff,#f7faff)}
.blog-hero h1{font-size:clamp(36px,4.6vw,56px);letter-spacing:-.035em;margin:14px 0 14px}
.blog-hero .lead{margin-bottom:28px}
.filters .n{display:inline-block;min-width:20px;margin-left:6px;padding:0 6px;border-radius:999px;font-size:12px;background:var(--soft);color:var(--muted)}
.filters button[aria-pressed="true"] .n{background:rgba(255,255,255,.18);color:#fff}

/* list grid */
.posts{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.posts .post[hidden]{display:none}
.post time{font-size:13px;color:var(--muted);font-weight:600}
.post .meta{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.post .meta .cat{margin:0}
.post .meta time::before{content:"·";margin-right:10px;color:#b4bfcd}
.post .cap{font-size:15px;color:var(--muted);margin:-6px 0 18px}
.post.featured{grid-column:1/-1;display:grid;grid-template-columns:1.25fr 1fr}
.post.featured figure{aspect-ratio:16/9;min-height:0;align-self:center}
.post.featured .in{padding:40px 40px 44px;justify-content:center}
.post.featured h3{font-size:clamp(24px,2.6vw,34px);letter-spacing:-.025em;line-height:1.2;flex:0;margin-bottom:16px}
.post.featured .cap{font-size:17px;margin:0 0 26px}
.empty{color:var(--muted);padding:40px 0;text-align:center}

/* video block */
.video-block{display:grid;grid-template-columns:1fr 1.2fr;gap:56px;align-items:center}
.video-block h2{font-size:clamp(26px,3vw,36px);margin:14px 0 14px}
.yt{position:relative;display:block;width:100%;aspect-ratio:16/9;border:0;padding:0;border-radius:22px;overflow:hidden;background:#0b1a2e;cursor:pointer;box-shadow:0 30px 60px -24px rgba(8,26,51,.45)}
.yt img{width:100%;height:100%;object-fit:cover;opacity:.88;transition:opacity .25s,transform .5s}
.yt:hover img{opacity:1;transform:scale(1.03)}
.yt .play{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);width:76px;height:76px;border-radius:50%;background:var(--orange);display:grid;place-items:center;box-shadow:0 0 0 10px rgba(247,148,29,.25);transition:transform .2s}
.yt:hover .play{transform:translate(-50%,-50%) scale(1.06)}
.yt .play svg{width:28px;height:28px;margin-left:4px;fill:#1d1203}
.yt:focus-visible{outline:3px solid rgba(24,102,180,.5);outline-offset:4px}
.yt iframe{position:absolute;inset:0;width:100%;height:100%;border:0}

/* article */
.narrow{max-width:860px}
.article-head{padding-top:40px;padding-bottom:32px}
.crumbs{display:flex;flex-wrap:wrap;gap:8px;font-size:14px;color:var(--muted);margin-bottom:28px}
.crumbs a:hover{color:var(--blue)}
.crumbs span[aria-hidden]{color:#b4bfcd}
.article-head .meta{display:flex;align-items:center;gap:12px;margin-bottom:16px;font-size:14px;font-weight:600;color:var(--muted)}
.article-head .cat{font-size:12px;font-weight:800;letter-spacing:.12em;color:var(--orange-text);background:var(--orange-50);padding:5px 12px;border-radius:999px}
.article-head h1{font-size:clamp(32px,4.4vw,52px);letter-spacing:-.035em;line-height:1.1}
.article-cover{margin:0 auto}
.article-cover img{display:block;width:100%;max-width:1000px;margin:0 auto;height:auto;aspect-ratio:16/9;object-fit:contain;background:var(--soft);border-radius:24px;box-shadow:0 30px 60px -28px rgba(8,26,51,.35)}
.article-cover figcaption{max-width:860px;margin:18px auto 0;font-size:19px;line-height:1.55;color:var(--text);padding-left:18px;border-left:3px solid var(--orange)}
.article-body{padding-top:40px;padding-bottom:8px}
.article-body h2{font-size:22px;margin-bottom:16px}
.article-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;padding:28px 0 0;margin-top:40px;border-top:1px solid var(--line)}
.share{display:flex;gap:10px;align-items:center;font-size:14px;font-weight:700;color:var(--muted)}
.share a{width:40px;height:40px;border-radius:12px;border:1px solid var(--line);display:grid;place-items:center;transition:border-color .2s,color .2s;color:var(--ink)}
.share a:hover{border-color:var(--blue);color:var(--blue)}
.share svg{width:17px;height:17px;fill:currentColor}
.related{background:var(--soft)}
.related .blog-grid{grid-template-columns:repeat(3,1fr)}
.related .post time{display:block;margin-bottom:8px}

@media (max-width:1080px){
  .posts{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:920px){
  .post.featured{grid-template-columns:1fr}
  .post.featured figure{min-height:0;aspect-ratio:16/9}
  .post.featured .in{padding:24px 22px 26px}
  .video-block{grid-template-columns:1fr;gap:28px}
  .related .blog-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:600px){
  .blog-hero{padding:40px 0 28px}
  .posts,.related .blog-grid{grid-template-columns:1fr}
  .article-head{padding-top:24px;padding-bottom:24px}
  .crumbs{flex-wrap:nowrap;white-space:nowrap;overflow:hidden;min-width:0;max-width:100%}
  .crumbs > :last-child{overflow:hidden;text-overflow:ellipsis;min-width:0}
  .article-cover img{border-radius:16px}
  .article-cover figcaption{font-size:17px}
  .yt .play{width:60px;height:60px}
}
/* article text written in the CMS */
.prose{font-size:18px;line-height:1.75;color:var(--text);padding-bottom:8px}
.prose p{margin:0 0 20px}
.prose h2{font-size:28px;line-height:1.25;letter-spacing:-.02em;color:var(--ink);margin:44px 0 14px}
.prose h3{font-size:20px;line-height:1.3;color:var(--ink);margin:30px 0 12px}
.prose ul,.prose ol{margin:0 0 20px;padding-left:24px;list-style:revert}
.prose li{margin-bottom:8px}
.prose a{color:var(--blue);text-decoration:underline;text-underline-offset:3px}
.prose strong{color:var(--ink)}
.prose blockquote{margin:26px 0;padding:4px 22px;border-left:4px solid var(--orange);font-size:20px;color:var(--ink)}
.prose blockquote p{margin:10px 0}
.prose figure{margin:30px 0}
.prose img{width:100%;height:auto;border-radius:16px;display:block}
.prose figcaption{margin-top:10px;font-size:14px;color:var(--muted);text-align:center}
.prose code{font-size:.9em;background:#eef3f9;padding:2px 6px;border-radius:6px}
@media(max-width:600px){.prose{font-size:17px}.prose h2{font-size:22px}}
.legal-text{font-size:16.5px;line-height:1.7}
.legal-text h2{font-size:24px;margin:40px 0 12px}
.legal-text h3{font-size:18px;margin:26px 0 8px}
.legal-text p{margin-bottom:14px}
.legal-text{overflow-wrap:anywhere}
