/* ============================================================
   Contactable — Blog Archive page styles
   Loads on top of tokens.css + iip.css.
   Figma: Blog Archive • Desktop (node 10631-65858, file OyfxfaTqBNEbhTIApEtkXN)
   ============================================================ */

/* ===== Hero / Section Title (Blog / 6 intro) ===== */
.bl-hero { padding: 112px 0 0; background: #fff; }
.bl-hero__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  max-width: 768px;
  margin: 0 auto;
}
.bl-hero__eyebrow { letter-spacing: 1px; font-size: clamp(15px, 1.56vw, 20px); } /* hero-eyebrow size, matches cap-hero__eyebrow */
.bl-hero__content { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.bl-hero__title {
  font-family: var(--font-impact);
  text-transform: uppercase;
  font-weight: 400;
  font-size: clamp(34px, 5.86vw, 75px);
  line-height: 1.1;
  color: var(--deep-blue);
  margin: 0;
  text-wrap: wrap;
}
.bl-hero__text {
  font-size: 18px;
  line-height: 1.5;
  color: var(--deep-blue);
  max-width: 556px;
  margin: 0 auto;
}

/* ===== Featured post card ===== */
.bl-insights { padding: 95px 0 112px; background: #fff; }
.bl-featured {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 64px;
}
.bl-featured__img { flex: 1 0 0; min-width: 0; aspect-ratio: 640 / 426; border-radius: 15px; overflow: hidden; }
.bl-featured__img img { width: 100%; height: 100%; object-fit: cover; object-position: 18% top; display: block; }
.bl-featured__body { flex: 1 0 0; min-width: 0; display: flex; flex-direction: column; gap: 24px; padding-left: 48px; }
.bl-featured__info { display: flex; align-items: center; gap: 16px; }
.bl-tag {
  background: #eee;
  color: var(--deep-blue);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  padding: 4px 12px;
  border-radius: 9999px;
  white-space: nowrap;
}
.bl-featured__meta { color: var(--deep-blue); font-size: 14px; font-weight: 600; }
.bl-featured__text { display: flex; flex-direction: column; gap: 8px; }
.bl-featured__title { font-size: 36px; font-weight: 700; line-height: 1.3; color: var(--deep-orange); margin: 0; }
.bl-featured__excerpt { font-size: 16px; font-weight: 400; line-height: 1.5; color: var(--deep-blue); margin: 0; }
.bl-featured__more {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--deep-blue); font-size: 16px; text-decoration: none;
  transition: color var(--duration-base) var(--ease-out);
}
.bl-featured__more .material-symbols-rounded { font-size: 24px; transition: transform var(--duration-base) var(--ease-out); }
.bl-featured__more:hover { color: var(--deep-orange); }
.bl-featured__more:hover .material-symbols-rounded { transform: translateX(3px); }

/* ===== Filters ===== */
.bl-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-bottom: 64px; }
.bl-filter {
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 16px; border-radius: 9999px;
  border: 1px solid transparent; background: transparent;
  font-family: var(--font-brand); font-size: 16px; font-weight: 400;
  color: var(--deep-blue); cursor: pointer;
  transition: background var(--duration-base) var(--ease-out), border-color var(--duration-base) var(--ease-out), color var(--duration-base) var(--ease-out);
}
.bl-filter.is-active { background: #fff; border-color: var(--deep-orange); color: var(--deep-orange); }
.bl-filter:hover:not(.is-active) { color: var(--deep-orange); }

/* ===== Post grid ===== */
.bl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 64px 32px; }
.bl-card { display: flex; flex-direction: column; gap: 24px; }
.bl-card[hidden] { display: none; }
.bl-card__img { display: block; width: 100%; aspect-ratio: 405.33 / 270; border-radius: 15px; overflow: hidden; }
.bl-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bl-card__body { display: flex; flex-direction: column; gap: 16px; }
.bl-card__info { display: flex; align-items: center; gap: 16px; }
.bl-card__meta { color: var(--deep-blue); font-size: 14px; font-weight: 600; }
.bl-card__text { display: flex; flex-direction: column; gap: 8px; }
.bl-card__title { font-size: 21px; font-weight: 700; line-height: 1.3; color: var(--deep-orange); margin: 0; }
.bl-card__title a { color: inherit; text-decoration: none; }
.bl-card__title a:hover { text-decoration: underline; }
.bl-card__cats { font-size: 16px; font-weight: 400; line-height: 1.5; color: var(--deep-blue); margin: 0; }
.bl-card__cats a { color: inherit; }
.bl-card__more {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--deep-blue); font-size: 16px; text-decoration: none;
  transition: color var(--duration-base) var(--ease-out);
}
.bl-card__more .material-symbols-rounded { font-size: 24px; transition: transform var(--duration-base) var(--ease-out); }
.bl-card__more:hover { color: var(--deep-orange); }
.bl-card__more:hover .material-symbols-rounded { transform: translateX(3px); }

/* ===== Newsletter band (CTA / 26) — full-bleed photo, content-driven height ===== */
.bl-news {
  position: relative;
  overflow: hidden;
  padding: 112px 0;
  background-image:
    linear-gradient(90deg, rgba(0,0,0,0.73) 0%, rgba(0,0,0,0.2) 100%),
    url("../assets/brand/blog-newsletter-bg.webp");
  background-size: cover;
  background-position: center 30%;
  background-color: #131e2e;
}
.bl-news__content { display: flex; flex-direction: column; gap: 32px; max-width: 580px; }
.bl-news__copy { display: flex; flex-direction: column; gap: 24px; }
/* max-width 493px = Figma's 580px content column × (40.8/48) heading-scale ratio —
   keeps the Figma break after "shaping" at the scaled font size (same trick as
   .ra-band__heading in reauth.css). */
.bl-news__heading { font-size: calc(clamp(34px, 3.8vw, 48px) * var(--heading-scale)); font-weight: 700; line-height: 1.1; color: #fff; margin: 0; max-width: 493px; text-wrap: wrap; }
.bl-news__text { font-size: 18px; line-height: 1.5; color: #fff; margin: 0; }
.bl-news__form { display: flex; gap: 16px; width: 100%; max-width: 560px; }
.bl-news__input { flex: 1 0 0; min-width: 0; height: 52px; background: transparent; border-color: rgba(255,255,255,0.9); }
.bl-news__form .pill-btn--periwinkle { box-shadow: none; }
.bl-news__fine { font-size: 12px; line-height: 1.5; color: #fff; margin: 0; max-width: 560px; }
.bl-news__fine a { color: #fff; }

/* ===== CTA (CTA / 1) — mirrors the leadership .ld-cta pattern ===== */
.bl-cta { padding: 112px 0; background: #fff; }
.bl-cta__grid { display: flex; align-items: center; gap: 80px; }
.bl-cta__col { flex: 1 0 0; min-width: 0; display: flex; flex-direction: column; gap: 32px; align-items: flex-start; }
.bl-cta__copy { display: flex; flex-direction: column; gap: 24px; }
.bl-cta__heading { font-size: calc(clamp(34px, 3.8vw, 48px) * var(--heading-scale)); font-weight: 700; line-height: 1.1; color: var(--deep-orange); margin: 0; text-wrap: wrap; }
.bl-cta__text { font-size: 18px; line-height: 1.5; color: var(--deep-blue); margin: 0; }
.bl-cta__img { flex: 1 0 0; min-width: 0; aspect-ratio: 600 / 400; border-radius: 15px; overflow: hidden; }
.bl-cta__img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* --- Hero --- */
@media (max-width: 900px) {
  .bl-hero { padding: 80px 0 0; }
}
@media (max-width: 640px) {
  .bl-hero__text { font-size: 16px; }
}

/* --- Featured + grid --- */
@media (max-width: 900px) {
  .bl-insights { padding: 64px 0 80px; }
  .bl-featured { flex-direction: column; align-items: stretch; gap: 32px; margin-bottom: 48px; }
  .bl-featured__body { flex: none; padding-left: 0; }
  .bl-featured__img { flex: none; width: 100%; aspect-ratio: 600 / 400; }
  .bl-grid { grid-template-columns: repeat(2, 1fr); gap: 48px 24px; }
}
@media (max-width: 640px) {
  .bl-filters { gap: 4px 8px; margin-bottom: 40px; }
  .bl-grid { grid-template-columns: 1fr; gap: 40px; }
  .bl-featured__title { font-size: 28px; }
}

/* --- Newsletter band --- */
@media (max-width: 900px) {
  .bl-news { padding: 80px 0; background-position: center 20%; }
  .bl-news__content { max-width: 100%; }
}
@media (max-width: 640px) {
  .bl-news__form { flex-direction: column; align-items: stretch; }
  /* flex-basis:0 collapses height in a column (see CLAUDE.md gotcha) */
  .bl-news__input { flex: none; width: 100%; }
}

/* --- CTA --- */
@media (max-width: 900px) {
  .bl-cta { padding: 80px 0; }
  .bl-cta__grid { flex-direction: column-reverse; gap: 40px; }
  .bl-cta__col, .bl-cta__img { flex: none; width: 100%; }
}
@media (max-width: 640px) {
  .bl-cta__heading { font-size: clamp(24px, 6.8vw, 29px); }
}
