/* views.css — Views listing page styles. Requires styles.css.
   .insights-grid is defined in styles.css (shared with homepage). */

/* ─── Page Header ───────────────────────────────────── */
.page-header {
  padding: 10rem 4rem 5rem;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
}

.page-title {
  font-family: var(--f-display);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--ink);
  animation: fadeUp 0.9s 0.2s ease both;
}

.page-title em {
  font-style: italic;
  color: var(--gold);
}

.page-header-right {
  animation: fadeUp 0.9s 0.4s ease both;
}

.page-intro {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.85;
  text-align: justify;
  max-width: 480px;
  margin-left: auto;
}

/* ─── Articles Section ──────────────────────────────── */
.articles-section {
  padding: 5rem 4rem;
  border-bottom: 1px solid var(--rule);
}

/* .insights-grid (2fr 1fr 1fr) is in styles.css */

.insights-grid {
  margin-bottom: 2px;
}

/* Equal grid — for rows with no featured card */
.insights-grid-equal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-bottom: 2px;
}

/* ─── Section Divider Label ─────────────────────────── */
.grid-label {
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 1.5rem 0 1rem;
  border-top: 1px solid var(--rule);
  margin-top: 3rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.grid-label::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 1px;
  background: var(--muted);
}

.filter-bar {
  padding: 1.8rem 4rem;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  background: var(--parchment);
}

/* ─── Views Page Mobile Overrides (@768px) ───────────── */
@media (width <= 768px) {
  .page-header {
    grid-template-columns: 1fr;
    padding: 8rem 1.5rem 3rem;
    gap: 1.5rem;
  }

  .page-intro {
    margin-left: 0;
    max-width: 100%;
  }

  .filter-bar {
    padding: 1.2rem 1.5rem;
  }

  .articles-section {
    padding: 3rem 1.5rem;
  }

  .insights-grid,
  .insights-grid-equal {
    grid-template-columns: 1fr;
  }
}
