/* Stories: the blog index and article pages. Builds on /style.css. */

.stories { padding: clamp(26px, 4vw, 44px) 20px 56px; display: grid; gap: 28px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr; } }

.story { display: flex; flex-direction: column; background: #fff; border-radius: 22px; overflow: hidden;
  text-decoration: none; color: var(--ink); box-shadow: 0 1px 0 var(--line); transition: transform .15s ease, box-shadow .15s ease; }
.story:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(22, 53, 46, .12); }
.story img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: var(--pine); }
.story-text { padding: 18px 20px 20px; display: grid; gap: 8px; }
.story h2, .story h3 { margin: 0; font-family: var(--display); letter-spacing: -.01em; }
.story h3 { font-size: 21px; line-height: 1.2; font-weight: 800; }
.story p { margin: 0; color: var(--muted); }
.story .meta { font-size: 13px; color: var(--muted); }
.chip { justify-self: start; font: 700 11px/1 var(--body); letter-spacing: .12em; text-transform: uppercase;
  color: var(--saffron-text); background: #FBEBD9; padding: 6px 10px; border-radius: 999px; }

/* The lead story: picture beside the text on wide screens. */
.story.lead { display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; }
.story.lead img { aspect-ratio: 16 / 9; height: auto; }
.story.lead .story-text { padding: clamp(22px, 3vw, 36px); align-content: center; gap: 12px; }
.story.lead h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.08; font-weight: 800; }
.story.lead p { font-size: 17px; }
@media (max-width: 820px) {
  .story.lead { grid-template-columns: 1fr; }
}

/* Article */
.article { max-width: 780px; padding: clamp(24px, 4vw, 44px) 20px 56px; }
.crumbs { font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.crumbs a { color: var(--saffron-text); text-decoration: none; font-weight: 600; }
.article h1 { font: 800 clamp(32px, 5vw, 50px)/1.06 var(--display); letter-spacing: -.02em; margin: 0 0 14px; }
.standfirst { font-size: clamp(18px, 2.2vw, 21px); line-height: 1.45; color: var(--muted); margin: 0 0 18px; }
.byline { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; font-size: 14px; color: var(--muted);
  padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.byline b { color: var(--ink); }
.byline .share { margin-left: auto; display: flex; gap: 10px; }
.byline .share a, .byline .share button { font: 600 13px/1 var(--body); color: var(--pine); background: var(--mist);
  border: 0; border-radius: 999px; padding: 9px 14px; text-decoration: none; cursor: pointer; }
@media (max-width: 620px) { .byline .share { margin-left: 0; } }
.hero-image { margin: 24px 0 8px; }
.hero-image img { width: 100%; border-radius: 22px; display: block; background: var(--pine); }

.body { font-size: 18px; line-height: 1.7; color: #2C4A43; }
.body h2 { font: 800 clamp(24px, 3vw, 30px)/1.2 var(--display); color: var(--ink); letter-spacing: -.01em; margin: 34px 0 10px; }
.body h3 { font: 700 21px/1.3 var(--display); color: var(--ink); margin: 26px 0 8px; }
.body p { margin: 0 0 16px; }
.body ul { margin: 0 0 18px; padding-left: 22px; }
.body li { margin-bottom: 8px; }
.body li::marker { color: var(--saffron); }
.body strong { color: var(--ink); }
.body a { color: var(--saffron-text); font-weight: 600; }
.body blockquote { margin: 26px 0; padding: 18px 22px; border-left: 4px solid var(--saffron); background: #fff;
  border-radius: 0 16px 16px 0; font: 600 20px/1.45 var(--display); color: var(--ink); }

.cta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
  background: var(--pine); color: #fff; border-radius: 22px; padding: 22px 26px; margin: 36px 0; }
.cta b { font: 800 21px/1.2 var(--display); }
.cta p { margin: 6px 0 0; color: #C9D8D2; }
.cta .button { background: var(--saffron); color: #fff; font-weight: 700; text-decoration: none; padding: 13px 20px; border-radius: 999px; }
.more h2 { font: 800 26px/1.2 var(--display); margin: 0 0 16px; }
