/*
 * page-stories.css
 * Loaded only on the Founder Stories page (page-stories.php).
 * Reuses news-card styles from main.css; only cascade fixes and
 * stories-specific overrides live here.
 */

/* section-label: fix font-size, font-weight, remove companies' flex+ruler */
.section-label {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--blue);
  display: block;
  gap: 0;
}

.section-label::after {
  display: none;
}

/* section-title: smaller size + tighter bottom margin */
.section-title {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  letter-spacing: -0.04em;
  margin-bottom: 6px;
}

/* page-hero: undo companies' flex layout, min-height, border, and side padding */
.page-hero {
  display: block;
  min-height: 0;
  border-bottom: none;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0;
}

/* page-hero-inner: undo sectors' 2-column grid, restore single-column with correct padding */
.page-hero-inner {
  display: block;
  grid-template-columns: initial;
  padding: 56px 56px 64px;
}

/* Tint the founder name badge orange to match the company cards' story badge */
.av-page-stories .news-type {
  color: var(--orange);
}

/* Square image for founder photos */
.av-page-stories .news-card-img {
  height: auto;
  aspect-ratio: 1 / 1;
}

/* ── Pagination (mirrors page-news.css) ─────────────────────── */
.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  margin-top: 18px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.blog-page-btn {
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border-radius: 7px;
  border: 1.5px solid var(--border);
  background: white;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-page-btn:hover { border-color: var(--blue); color: var(--blue); }
.blog-page-btn.active { background: var(--blue); border-color: var(--blue); color: white; }
.blog-page-btn:disabled { opacity: 0.3; cursor: default; pointer-events: none; }
.blog-page-dots {
  height: 32px;
  display: flex;
  align-items: center;
  padding: 0 2px;
  color: var(--gray);
  font-size: 0.72rem;
  font-weight: 500;
  user-select: none;
}
