/* ═══════════════════════════════════════════════════════════
   Leeloo — Articles & Insights Stylesheet
   v2.css handles: white nav/footer/body theme for all inner pages.
   This file adds the .frame container and article-specific styles.

   Visual rhythm (individual article):
     nav          → #fff (via v2.css)
     hero         → #fff full-bleed band
     article body → #fff card on #fafaf8
     prev/next    → #fafaf8 with #fff card boxes
     footer       → #fff (via v2.css)

   All classes prefixed with sia- to avoid conflicts.
   ═══════════════════════════════════════════════════════════ */

/* ── PAGE CONTAINER ───────────────────────────────────── */
.frame {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 56px;
}

/* ══════════════════════════════════════════════════════════
   ARTICLE LISTING PAGE
   ══════════════════════════════════════════════════════════ */

/* ── LISTING HERO — full-bleed white band (viewport edge to edge) ── */
.sia-hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 100px calc(50vw - 50%) 48px;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.06);
  margin-bottom: 40px;
  box-sizing: border-box;
}

.sia-hero-label {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b8956a;
  margin-bottom: 16px;
}

.sia-hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  color: #0a0a0a;
  margin: 0 0 20px;
}

.sia-hero h1 em {
  font-style: italic;
  color: rgba(0,0,0,.3);
}

.sia-hero p {
  font-family: 'Jost', sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(0,0,0,.5);
  max-width: 680px;
}

/* ── FILTERS ────────────────────────────────────────────── */
.sia-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 32px;
  padding: 0;
}

.sia-filter-btn {
  background: #fff;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 20px;
  padding: 7px 18px;
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(0,0,0,.45);
  cursor: pointer;
  transition: all 0.2s ease;
}

.sia-filter-btn:hover {
  border-color: rgba(0,0,0,.3);
  color: #0a0a0a;
}

.sia-filter-btn.active {
  background: #0a0a0a;
  border-color: #0a0a0a;
  color: #fafaf8;
}

.sia-count {
  margin-left: auto;
  font-size: 0.78rem;
  color: rgba(0,0,0,.3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── ARTICLE GRID ───────────────────────────────────────── */
.sia-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 80px;
}

.sia-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 12px;
  padding: 28px 26px;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,.02);
}

.sia-card:hover {
  border-color: rgba(0,0,0,.12);
  box-shadow: 0 8px 32px rgba(0,0,0,.06);
  transform: translateY(-2px);
}

.sia-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 10px 0 10px;
  color: #0a0a0a;
}

.sia-card p {
  font-family: 'Jost', sans-serif;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(0,0,0,.5);
  margin: 0 0 auto;
  padding-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sia-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
}

.sia-card-cat {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(0,0,0,.35);
}

.sia-card-date {
  color: rgba(0,0,0,.25);
}

.sia-card-read {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: #0a0a0a;
  letter-spacing: 0.01em;
}

/* ── FEATURED CARD ──────────────────────────────────────── */
.sia-card-featured {
  grid-column: 1 / -1;
  padding: 40px 36px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  margin-bottom: 8px;
}

.sia-card-featured h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 12px 0 10px;
  color: #0a0a0a;
}

.sia-card-featured p {
  font-size: 0.95rem;
  line-height: 1.7;
  -webkit-line-clamp: 4;
}

.sia-badge-featured {
  display: inline-block;
  padding: 3px 10px;
  background: #b8956a;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
}


/* ══════════════════════════════════════════════════════════
   INDIVIDUAL ARTICLE PAGE
   ══════════════════════════════════════════════════════════ */

/* ── HERO — full-bleed white band (viewport edge to edge) ── */
.sia-article-hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 100px calc(50vw - 50%) 48px;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.06);
  margin-bottom: 0;
  box-sizing: border-box;
}

.sia-article-hero-inner {
  max-width: 750px;
  margin: 0;
}

.sia-article-hero-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  color: rgba(0,0,0,.35);
  text-decoration: none;
  margin-bottom: 32px;
  transition: color 0.2s;
}

.sia-article-hero-back:hover {
  color: #0a0a0a;
}

.sia-article-hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
}

.sia-article-hero-cat {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #b8956a;
}

.sia-article-hero-date {
  color: rgba(0,0,0,.3);
}

.sia-article-hero-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 16px;
  color: #0a0a0a;
  letter-spacing: -0.01em;
}

.sia-article-hero-desc {
  font-family: 'Jost', sans-serif;
  font-size: 1.08rem;
  line-height: 1.65;
  color: rgba(0,0,0,.5);
  margin-bottom: 32px;
}

.sia-article-hero-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,.06);
  max-width: 750px;
}

.sia-article-hero-author-name {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: #0a0a0a;
}

.sia-article-hero-author-role {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  color: rgba(0,0,0,.35);
}

.sia-article-hero-readtime {
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  color: rgba(0,0,0,.35);
}

/* ── BODY — white card on off-white page ──────────────── */
.sia-article-single {
  max-width: 100%;
  margin: 0;
  padding: 48px 56px 56px;
  margin-top: 40px;
  margin-bottom: 0;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,.02);
}

.sia-article-body h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 48px 0 16px;
  color: #0a0a0a;
}

.sia-article-body h2:first-child {
  margin-top: 0;
}

.sia-article-body h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 40px 0 12px;
  color: #0a0a0a;
}

.sia-article-body h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 32px 0 10px;
  color: rgba(0,0,0,.8);
}

.sia-article-body p {
  font-family: 'Jost', sans-serif;
  font-size: 1.08rem;
  line-height: 1.8;
  color: rgba(0,0,0,.65);
  margin: 0 0 22px;
}

.sia-article-body ul,
.sia-article-body ol {
  margin: 0 0 22px;
  padding-left: 24px;
}

.sia-article-body li {
  font-family: 'Jost', sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(0,0,0,.6);
  margin-bottom: 8px;
}

.sia-article-body strong {
  font-weight: 600;
  color: #0a0a0a;
}

.sia-article-body em {
  font-style: italic;
}

.sia-article-body blockquote {
  border-left: 3px solid #b8956a;
  margin: 32px 0;
  padding: 16px 24px;
  background: #fafaf8;
  border-radius: 0 8px 8px 0;
  font-family: 'Jost', sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(0,0,0,.55);
}

.sia-article-body hr {
  border: none;
  border-top: 1px solid rgba(0,0,0,.06);
  margin: 40px 0;
}

/* ── PREV / NEXT NAV — off-white zone with white card boxes ── */
.sia-article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 48px 0 64px;
  margin-top: 48px;
  border-top: none;
}

.sia-article-nav-link {
  display: block;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 3px rgba(0,0,0,.02);
  transition: all 0.25s ease;
}

.sia-article-nav-link:hover {
  border-color: rgba(0,0,0,.12);
  box-shadow: 0 6px 24px rgba(0,0,0,.06);
  transform: translateY(-2px);
}

.sia-nav-label {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  color: rgba(0,0,0,.3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  margin-bottom: 8px;
}

.sia-nav-title {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0a0a0a;
  line-height: 1.4;
}

.sia-nav-next {
  text-align: right;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
  .frame {
    padding: 0 32px;
  }
  .sia-article-single {
    padding: 36px 32px 44px;
  }
}

@media (max-width: 768px) {
  .frame {
    padding: 0 20px;
  }
  .sia-hero {
    padding-top: 80px;
    padding-bottom: 36px;
  }
  .sia-hero h1 {
    font-size: 2rem;
  }
  .sia-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .sia-card-featured {
    padding: 24px 20px;
  }
  .sia-card-featured h2 {
    font-size: 1.3rem;
  }
  .sia-article-hero {
    padding-top: 80px;
    padding-bottom: 36px;
  }
  .sia-article-hero-title {
    font-size: 1.7rem;
  }
  .sia-article-single {
    padding: 28px 20px 32px;
    border-radius: 12px;
    margin-top: 28px;
  }
  .sia-article-body p,
  .sia-article-body li {
    font-size: 0.98rem;
  }
  .sia-article-nav {
    grid-template-columns: 1fr;
    padding: 32px 0 48px;
    margin-top: 32px;
  }
  .sia-article-nav-link {
    padding: 20px;
  }
}
