/* Every blog post: a design-press article page. One column width for everything in the
   article (header, hero, text, figures, pull quotes, tags), so all posts look the same. */
.mag{--mag-width:760px;background:#fff;padding:70px 6% 40px}
.mag-head,.mag-hero,.mag-body>*,.mag-body .blog-figure,.mag-body blockquote,.mag-foot{max-width:var(--mag-width);margin-left:auto;margin-right:auto}
.mag-kicker{display:inline-block;font:12px var(--mono);letter-spacing:1.6px;text-transform:uppercase;color:#5d3f80;text-decoration:none;margin-bottom:22px}
.mag-kicker:hover{text-decoration:underline}
.mag-head h1{font-size:clamp(34px,4.2vw,56px);line-height:1.08;letter-spacing:-1.6px;font-weight:500;color:#111820;margin:0 0 22px}
.mag-standfirst{font-size:21px;line-height:1.55;color:#2d353b;margin:0 0 24px}
.mag-byline{display:flex;flex-wrap:wrap;gap:6px 0;font:12px var(--mono);letter-spacing:.4px;color:#6d747c;padding:14px 0;border-top:1px solid #e1e4e6;border-bottom:1px solid #e1e4e6}
.mag-byline>*:not(:last-child)::after{content:"|";margin:0 12px;color:#c4c8cc}

/* Hero: straight under the header, same width as the text */
.mag-hero{margin-top:40px;margin-bottom:44px}
.mag-hero img{display:block;width:100%;height:auto;background:#f3f4f5;border-radius:6px}
.mag-hero figcaption,.mag-body figcaption{font-size:13px;line-height:1.5;color:#6d747c;margin-top:10px;font-style:italic}

/* Reading column */
.mag-body{font-size:18px;line-height:1.75;color:#1d232b}
.mag-body p{margin-top:0;margin-bottom:24px}
.mag-body p:first-child{font-size:20px;line-height:1.65}
.mag-body h2,.mag-body h3{font-size:24px;line-height:1.3;font-weight:500;letter-spacing:-.3px;color:#111820;margin-top:44px;margin-bottom:14px}
.mag-body ul,.mag-body ol{padding-left:22px;margin-top:0;margin-bottom:26px}
.mag-body li{margin-bottom:8px}
.mag-body a{color:#5d3f80}
.mag-body .blog-figure{margin-top:40px;margin-bottom:40px}
.mag-body .blog-figure img{display:block;width:100%;height:auto;background:#f3f4f5;border-radius:6px}

/* Pull quote */
.mag-body blockquote{margin-top:44px;margin-bottom:44px;padding:4px 0 4px 26px;border-left:3px solid #a98be6;box-sizing:border-box}
.mag-body blockquote p{font-size:clamp(22px,2.4vw,28px);line-height:1.3;letter-spacing:-.5px;font-weight:450;color:#111820;margin:0}

/* Tags */
.mag-foot{padding:26px 0 10px;border-top:1px solid #e1e4e6;margin-top:20px}
.mag-tags{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0;font-size:14px;color:#4f5860}
.mag-tags>span:first-child{font-weight:500;margin-right:4px}
.mag-tag{padding:4px 12px;border:1px solid #d4d8da;border-radius:999px;font-size:13px}

/* Related stories */
.mag-related{background:#f1f2f3;padding:64px 6%}
.mag-related-inner{max-width:760px;margin:0 auto}
.mag-related h2{font-size:28px;font-weight:500;letter-spacing:-.6px;color:#111820;margin:0 0 26px}
.mag-related ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.mag-related a{display:flex;flex-direction:column;gap:8px;text-decoration:none;color:inherit}
.mag-related img,.mag-thumb{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;background:#fff;border:1px solid #e1e4e6;border-radius:6px;margin-bottom:6px}
.mag-thumb{background:linear-gradient(140deg,#fbf9ff,#ece4fa)}
.mag-related-kicker{font:11px var(--mono);letter-spacing:1.4px;text-transform:uppercase;color:#5d3f80}
.mag-related strong{font-size:18px;line-height:1.35;font-weight:500;color:#111820}
.mag-related a:hover strong{text-decoration:underline}
.mag-related-date{font-size:13px;color:#6d747c}
.mag-cta{max-width:760px;margin:60px auto;box-sizing:border-box}

@media(max-width:760px){
  .mag{padding:44px 6% 30px}
  .mag-standfirst{font-size:19px}
  .mag-body{font-size:17px}
  .mag-related ul{grid-template-columns:1fr}
}
