/* Shared article layout for /blog/ posts.
 *
 * Extracted verbatim from the inline block in blog/ableton-tutorials-for-beginners.html,
 * which is the design benchmark, so articles stop carrying their own copies. That page
 * and the other articles that already pass keep their inline copy untouched; the rules
 * below are identical.
 */
.article-hero{padding:calc(var(--nav-height) + 4.5rem) 0 4.5rem;background:radial-gradient(circle at 12% 18%,rgba(107,47,160,.2),transparent 34%),linear-gradient(135deg,var(--bg-primary),var(--bg-secondary));border-bottom:1px solid var(--border)}.article-hero-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(300px,.88fr);gap:clamp(2rem,5vw,4rem);align-items:center}.article-kicker{margin-bottom:1rem;color:var(--accent);font-size:.82rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.article-hero h1{margin-bottom:1.25rem}.article-lead{max-width:760px;color:var(--text-secondary);font-size:clamp(1.12rem,2vw,1.32rem);line-height:1.65}.article-proof-row{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:1.5rem}.article-proof-row span{padding:.45rem .72rem;border:1px solid var(--border);border-radius:999px;background:var(--surface-strong);color:var(--text-secondary);font-size:.88rem;font-weight:700}.article-hero-card{overflow:hidden;border:1px solid var(--border-light);border-radius:16px;background:var(--bg-card);box-shadow:0 20px 55px var(--shadow-soft)}.article-hero-card img{width:100%;aspect-ratio:4/3;object-fit:cover}.article-hero-card figcaption{padding:1rem 1.15rem 1.15rem;color:var(--text-secondary);font-size:.95rem;line-height:1.5}
.article-body-wrap{display:grid;grid-template-columns:minmax(0,760px) minmax(240px,320px);gap:clamp(2rem,5vw,4rem);align-items:start}.article-content{color:var(--text-secondary);font-size:1.08rem;line-height:1.86}.article-content p{margin-bottom:1.25rem}.article-content h2{margin:2.6rem 0 .9rem;font-size:clamp(1.65rem,3vw,2.25rem)}.article-content h3{margin:1.65rem 0 .65rem}.article-content ol{display:grid;gap:.75rem;margin:1rem 0 1.75rem;padding-left:1.35rem}.article-content ul{display:grid;gap:.75rem;margin:1rem 0 1.75rem}.article-content ul li{position:relative;padding-left:1.5rem}.article-content ul li::before{content:"";position:absolute;left:0;top:.78rem;width:.45rem;height:.45rem;border-radius:999px;background:var(--accent);box-shadow:0 0 0 4px var(--accent-glow)}.article-callout{margin:1.75rem 0;padding:1.25rem 1.35rem;border:1px solid var(--border);border-left:4px solid var(--accent);border-radius:12px;background:var(--surface-strong);box-shadow:0 14px 36px rgba(30,18,49,.08)}.article-callout p:last-child{margin-bottom:0}.done-check{margin:1rem 0 1.75rem;padding:.9rem 1rem;border-radius:10px;background:var(--surface-soft);color:var(--text-primary);font-weight:700}.article-sidebar{position:sticky;top:calc(var(--nav-height) + 1.5rem);display:grid;gap:1rem}.article-sidebar .card{padding:1.25rem}.article-sidebar h3{margin-bottom:.75rem}.article-sidebar ul{display:grid;gap:.65rem}.article-sidebar li{color:var(--text-secondary)}.article-sidebar a{font-weight:700}.article-cta{max-width:1100px;margin:3.5rem auto 0;padding:clamp(1.5rem,4vw,2.25rem);border:1px solid var(--border-light);border-radius:16px;background:linear-gradient(135deg,var(--cta-gradient-start),var(--cta-gradient-end));box-shadow:0 20px 55px var(--shadow-soft)}.article-cta h2{margin-top:0}.article-cta .btn-group{margin-top:1.25rem}
@media(max-width:900px){.article-hero-grid,.article-body-wrap{grid-template-columns:1fr}.article-sidebar{position:static}.article-hero{padding-top:calc(var(--nav-height) + 2.75rem)}}@media(max-width:600px){.article-hero{padding-bottom:3rem}.article-content{font-size:1.02rem}.article-content h2{margin-top:2.4rem}}

/* Additions for articles adopting this layout (2026-09-15). */

/* Hero without a relevant first-party image: one readable column, no empty card slot. */
.article-hero-grid--text{grid-template-columns:minmax(0,860px)}

.article-callout strong{color:var(--text-primary)}
.article-content .card{margin:1.75rem 0;padding:1.25rem 1.35rem}
.article-content .card h2{margin-top:0;font-size:clamp(1.35rem,2.4vw,1.65rem)}
/* The CTA sits outside .container; match its 90% width so phones keep a side gutter.
   Desktop is unchanged: 90% of any wide viewport exceeds the 1100px cap. */
.article-cta{width:min(1100px,90%)}
.article-cta p:last-child{margin-bottom:0}
.article-cta .btn-group{flex-wrap:wrap}

@media(max-width:600px){.article-cta .btn-group{align-items:stretch}.article-cta .btn{justify-content:center;width:100%;text-align:center}}
