/* Blog index + article pages. Uses the shared tokens from type.css / pages.css. */

.bl-hero .ab-headline h1 {
  font-size: clamp(1.35rem, 2.6vw, 2.1rem);
  line-height: 1.12;
  max-width: 34ch;
}

.bl-main {
  background: #ffffff;
  padding: clamp(32px, 5vw, 64px) 0 clamp(56px, 7vw, 104px);
}

/* ---- Article ------------------------------------------------------------- */

.bl-body {
  max-width: calc(46rem + 2 * var(--gutter));
  font-size: var(--text-body);
  line-height: 1.65;
}
.bl-meta {
  font-size: var(--text-label);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--color-mute);
  margin: 0 0 1.4em;
}
.bl-figure { margin: 0 0 2.2em; }
.bl-figure img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.bl-body h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-h3);
  line-height: 1.2;
  margin: 2.2em 0 0.7em;
  padding-top: 1.2em;
  border-top: 1px solid var(--color-line);
}
.bl-body h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-qa);
  line-height: 1.3;
  margin: 1.6em 0 0.45em;
}
.bl-body p, .bl-body li { margin: 0 0 0.9em; }
.bl-body ul { list-style: disc; margin: 0 0 1.1em; padding-left: 1.4em; }
.bl-body a { text-decoration: underline; text-underline-offset: 0.15em; }

.bl-faq { border-top: 1px solid var(--color-line); }
.bl-faq-item { border-bottom: 1px solid var(--color-line); }
.bl-faq-item summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 1.05em 2.2em 1.05em 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-qa);
  line-height: 1.35;
}
.bl-faq-item summary::-webkit-details-marker { display: none; }
.bl-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0.2em;
  top: 0.85em;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1.4em;
  line-height: 1;
}
.bl-faq-item[open] summary::after { content: "\2212"; }
.bl-faq-item p { margin: 0 0 1.2em; color: var(--color-fg); }

.bl-back {
  margin-top: 2.6em !important;
  font-size: var(--text-label);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
}
.bl-back a { text-decoration: none; }

/* ---- Index --------------------------------------------------------------- */

.bl-intro {
  max-width: 46rem;
  font-size: var(--text-lead);
  line-height: 1.6;
  color: var(--color-mute);
  margin: 0 0 clamp(28px, 4vw, 48px);
}
.bl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: clamp(28px, 3.5vw, 48px) clamp(20px, 2.5vw, 36px);
}
.bl-card { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.bl-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: 1.1em;
  transition: opacity 0.25s ease;
}
.bl-card:hover img { opacity: 0.88; }
.bl-card-date, .bl-card-more {
  font-size: var(--text-fine);
  letter-spacing: var(--track-fine);
  text-transform: uppercase;
  color: var(--color-mute);
}
.bl-card h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-qa);
  line-height: 1.3;
  margin: 0.5em 0 0.5em;
}
.bl-card p {
  font-size: var(--text-body-sm);
  line-height: 1.6;
  margin: 0 0 1em;
}
.bl-card-more { margin-top: auto; color: var(--color-fg); text-decoration: underline; text-underline-offset: 0.2em; }
