/* Ported from news/index.html - 1 <style> block(s), in document order.
   Cascade order is preserved: a later block in the source is a later rule
   here, which is what several of these rely on to override the shared
   layer. */

/* Hero: ink base + subtle NeeDoh pattern overlay swept away behind the text. */
    .news-hero {
      padding-top: 178px;
      padding-bottom: 122px;
      background: var(--ink);
      position: relative;
      overflow: hidden;
    }
    .news-hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image: url('../images/branding-patterns/needoh-branding-pattern-2.svg');
      background-size: cover;
      background-position: center left;
      opacity: 0.07;
      z-index: 0;
      pointer-events: none;
    }
    .news-hero::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(to right, var(--ink) 0%, var(--ink) 32%, rgba(35,31,32,0) 62%);
      z-index: 1;
      pointer-events: none;
    }
    .news-hero .lede { max-width: 46ch; }
    .news-hero h1.display { color: var(--brand-purple); }

    @keyframes news-hero-in {
      0%   { opacity: 0; transform: translateY(18px); }
      100% { opacity: 1; transform: translateY(0); }
    }
    .news-hero .hero-split-text > * {
      animation: news-hero-in 700ms cubic-bezier(.2,.7,.2,1) both;
    }
    .news-hero .hero-split-text > *:nth-child(1) { animation-delay:  60ms; }
    .news-hero .hero-split-text > *:nth-child(2) { animation-delay: 160ms; }
    .news-hero .hero-split-text > *:nth-child(3) { animation-delay: 280ms; }
    .news-hero .hero-split-text > *:nth-child(4) { animation-delay: 380ms; }
    @media (prefers-reduced-motion: reduce) {
      .news-hero .hero-split-text > * { animation: none; }
    }

    /* Purple square hero tile (empty — placeholder for imagery) */
    .news-hero-tile {
      background: var(--brand-purple);
      border-radius: 32px;
      aspect-ratio: 1 / 1;
      position: relative;
      overflow: hidden;
      box-shadow: 0 14px 32px -16px rgba(0,0,0,0.4);
    }

    /* Featured (gateway) article — contained rounded card, matches the site CTA */
    .featured-band {
      background: #FFFFFF;
      color: var(--ink);
      padding: 96px 0;
    }
    .featured-band .wrap { position: relative; z-index: 2; }
    .featured-card {
      background: var(--ink);
      color: #fff;
      border-radius: 48px;
      overflow: hidden;
      box-shadow: 0 28px 60px -24px rgba(35,31,32,0.35);
    }
    .featured-split {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0;
      align-items: stretch;
    }
    @media (max-width: 900px) {
      .featured-band { padding: 64px 0; }
      .featured-card { border-radius: 36px; }
      .featured-split { grid-template-columns: 1fr; }
      .featured-tile { aspect-ratio: 5 / 4 !important; min-height: auto !important; }
      .featured-copy { padding: 48px 32px !important; }
    }
    .featured-tile {
      background: linear-gradient(135deg, var(--accent), var(--brand-orange));
      min-height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-family: var(--font-display);
      font-weight: 400;
      font-size: clamp(24px, 3vw, 40px);
      text-align: center;
      padding: 56px 40px;
      line-height: 1.05;
      position: relative;
      overflow: hidden;
    }
    .featured-copy { padding: 72px; }
    .featured-band h2 {
      color: #fff;
      font-family: var(--font-display);
      font-weight: 400;
      font-size: clamp(28px, 3.6vw, 48px);
      line-height: 1.1;
      letter-spacing: -0.01em;
      margin: 20px 0 20px;
    }
    .featured-band .badge {
      display: inline-block;
      background: var(--accent);
      color: #fff;
      font-family: var(--font-body);
      font-size: 11.5px;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      padding: 6px 14px;
      border-radius: 999px;
    }
    .featured-band p { color: rgba(255,255,255,0.85); font-size: 16.5px; line-height: 1.6; margin: 0; max-width: 52ch; }

    /* Article grid */
    .article-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
      margin-top: 32px;
    }
    @media (max-width: 1000px) { .article-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 640px)  { .article-grid { grid-template-columns: 1fr; } }

    .article-card {
      background: var(--paper);
      border-radius: 28px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      box-shadow: 0 8px 24px -12px rgba(35,31,32,0.18);
      transition: transform 260ms cubic-bezier(.4,0,.2,1), box-shadow 260ms;
      text-decoration: none;
      color: var(--ink);
    }
    .article-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 22px 44px -16px rgba(35,31,32,0.28);
    }
    .article-card.coming-soon { cursor: default; }
    .article-card.coming-soon:hover { transform: none; }

    .article-thumb {
      aspect-ratio: 4 / 3;
      display: flex;
      align-items: flex-end;
      justify-content: flex-start;
      padding: 24px;
      position: relative;
      overflow: hidden;
    }
    .article-thumb .art-tag {
      position: absolute;
      top: 16px;
      left: 16px;
      padding: 6px 12px;
      border-radius: 999px;
      background: rgba(0,0,0,0.75);
      color: #fff;
      font-family: var(--font-body);
      font-size: 10.5px;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
    }
    .article-thumb .art-headline {
      font-family: var(--font-display);
      font-size: clamp(20px, 2.4vw, 30px);
      line-height: 1;
      color: #fff;
      max-width: 90%;
    }
    .article-thumb.tone-pink   { background: var(--accent);       }
    .article-thumb.tone-blue   { background: var(--brand-blue);   }
    .article-thumb.tone-orange { background: var(--brand-orange); }
    .article-thumb.tone-yellow { background: var(--brand-yellow); }
    .article-thumb.tone-yellow .art-headline { color: var(--ink); }
    .article-thumb.tone-yellow .art-tag { background: rgba(35,31,32,0.85); }
    .article-thumb.tone-green  { background: var(--brand-green);  }
    .article-thumb.tone-green  .art-headline { color: var(--ink); }
    .article-thumb.tone-green  .art-tag { background: rgba(35,31,32,0.85); }
    .article-thumb.tone-purple { background: var(--brand-purple); }
    .article-thumb.tone-ink    { background: var(--ink);          }
    .article-thumb.tone-ink .art-headline { color: var(--accent); }

    .article-thumb .thumb-sticker {
      position: absolute;
      top: 14px;
      right: 14px;
      transform: rotate(8deg);
    }

    .article-body {
      padding: 26px 28px 28px;
      display: flex;
      flex-direction: column;
      gap: 12px;
      flex: 1;
    }
    .article-title {
      font-family: var(--font-display);
      font-weight: 400;
      font-size: 22px;
      line-height: 1.2;
      color: var(--ink);
      margin: 0;
    }
    .article-dek {
      font-size: 14.5px;
      line-height: 1.55;
      color: var(--ink-soft);
      margin: 0;
      flex: 1;
    }
    .article-byline {
      font-size: 13px;
      color: var(--ink-mute);
      font-style: italic;
    }
    .article-card .read-more {
      color: var(--accent);
      font-weight: 700;
      font-size: 13px;
      letter-spacing: 0.02em;
    }
    .article-card.coming-soon .read-more { color: var(--ink-mute); font-style: italic; }
    .featured-band .read-more {
      display: inline-block;
      margin-top: 8px;
      color: rgba(255,255,255,0.55);
      font-style: italic;
      font-size: 13px;
      letter-spacing: 0.02em;
    }

    /* Grey wash behind the article grid to separate it from the featured card */
    .article-index { background: var(--cream-2); }

    .cta-band {
      background: var(--brand-yellow);
      color: var(--ink);
      text-align: center;
    }
    .cta-band h2 { color: var(--ink); }
    .cta-band p  { color: var(--ink); max-width: 46ch; margin: 0 auto 24px; }
    .cta-band .btn { background: var(--ink); color: var(--brand-yellow); }
    .cta-band .btn:hover { background: var(--accent); color: #fff; }
    .cta-band .script-pop {
      color: var(--accent);
      font-family: var(--font-script);
      font-size: 28px;
      display: block;
      margin-bottom: 8px;
    }