/* ==========================================================================
   Blog list page 2026 — Figma "Blog — Listing" (node 11484:9571).
   Loaded after ak-2026-base.css and ak-2026-pages.css.

   Scope of this pass (confirmed with the user): the title+search intro and
   the "MUST READ / Latest Articles" header, the article card grid, and the
   newsletter CTA band. The dark featured-post card ("Must Read Banner
   (replace image)" in Figma — the "AI Workflow Automation..." card) is
   explicitly a placeholder in the design awaiting a real post/image and is
   left out of this pass.

   Sizes are the Figma 1920-canvas values x0.75 (the frame is a 1440 design).
   ========================================================================== */

.bl2026 { background: var(--ak26-surface); color: var(--ak26-ink); font-family: var(--ak26-font); overflow-x: clip; }

/* Same texture-as-text-fill technique as the homepage heading and the work
   page — reuses the identical source asset (imgHeading in this Figma node
   is the same particle-wave PNG as imgImage3210 elsewhere, confirmed by
   checksum). Figma's own CSS for this text is simply bg-cover + bg-center,
   no mask crop math needed here. */
.bl-grad {
  display: inline-block;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
  background-image: url("/assets/images/home-2026/hero/headline-gradient-fill.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* --------------------------------------------------------------------------
   01 Journal Header — eyebrow + "Insights & Ideas" | search field
   -------------------------------------------------------------------------- */

.bl-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-block: clamp(28px, 4vw, 40px) clamp(28px, 4vw, 36px);
}

.bl-eyebrow {
  display: block;
  margin: 0 0 11px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.27px;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.65);
}

.bl-header__title {
  margin: 0;
  font-size: clamp(36px, 5.5vw, 71px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.04em;
  text-transform: capitalize;
}

.bl-search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  max-width: 390px;
  height: 57px;
  padding: 6px 6px 6px 21px;
  border: none;
  border-radius: 999px;
  background: #f6f6f6;
  flex-shrink: 0;
}

.bl-search__input {
  flex: 1;
  min-width: 0;
  border: none;
  background: none;
  font: 500 15px var(--ak26-font);
  color: var(--ak26-ink);
}

.bl-search__input::placeholder { color: rgba(0, 0, 0, 0.65); }
.bl-search__input:focus { outline: none; }

.bl-search__icon {
  display: inline-flex;
  flex-shrink: 0;
  color: rgba(0, 0, 0, 0.45);
}

/* --------------------------------------------------------------------------
   Grid header ("MUST READ" / "Latest Articles") + filter chips
   -------------------------------------------------------------------------- */

.bl-grid-header { padding-top: clamp(32px, 5vw, 72px); }

.bl-grid-header__title {
  margin: 0 0 28px;
  font-size: clamp(30px, 4vw, 51px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-transform: capitalize;
}

.bl-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 0;
}

.bl-filters .cat-filter {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 9px 18px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 100px;
  background: #f6f6f6;
  font-size: 15px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.65);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.bl-filters .cat-filter:hover { border-color: rgba(0, 0, 0, 0.18); color: var(--ak26-ink); }

.bl-filters .cat-filter.active {
  border-color: transparent;
  color: #fff;
  font-weight: 600;
  background-image:
    linear-gradient(161deg, rgba(22, 76, 89, 0.2) 15%, rgba(42, 226, 222, 0.2) 88%),
    linear-gradient(90deg, #0f4c5c 0%, #2c7a8c 100%);
}

/* --------------------------------------------------------------------------
   Article grid + card
   -------------------------------------------------------------------------- */

.bl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(36px, 3vw, 48px) clamp(20px, 2.2vw, 33px);
}

.bl-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: inherit;
  text-decoration: none;
}

.bl-card__media {
  position: relative;
  display: block;
  aspect-ratio: 556 / 285;
  border-radius: 22px;
  overflow: hidden;
  background: #f2f2f2;
}

.bl-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ak26-ease);
}

.bl-card:hover .bl-card__media img { transform: scale(1.05); }

/* hover-reveal arrow badge, bottom-right of the cover (opacity:0 by default
   in the Figma export itself) */
.bl-card__go {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  color: var(--ak26-teal-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.3s var(--ak26-ease), transform 0.3s var(--ak26-ease);
}

.bl-card:hover .bl-card__go { opacity: 1; transform: scale(1); }

.bl-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bl-card__chip {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.05);
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.65);
  white-space: nowrap;
}

.bl-card__when {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.65);
  white-space: nowrap;
}

.bl-card__dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(0, 0, 0, 0.65); flex-shrink: 0; }

.bl-card__title {
  margin: 0;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ak26-ink);
  text-transform: capitalize;
}

.bl-card__desc {
  margin: 0;
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.65);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bl-empty {
  grid-column: 1 / -1;
  padding: 48px 0;
  text-align: center;
  font-size: 16px;
  color: var(--ak26-ink-muted);
}

/* --------------------------------------------------------------------------
   Newsletter CTA band (same visual recipe as the work page's mid-page band:
   gradient banner, concentric rings top-left, soft glow top-right)
   -------------------------------------------------------------------------- */

.bl-news { padding-block: clamp(40px, 5vw, 64px); }

.bl-news__banner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(48px, 7vw, 96px) 24px;
  border-radius: 24px;
  overflow: hidden;
  color: #fff;
  background-image:
    linear-gradient(171deg, rgba(22, 76, 89, 0.12) 15%, rgba(42, 226, 222, 0.12) 88%),
    linear-gradient(90deg, #082b36 0%, #0d404d 55%, #1c5e6e 100%);
}

.bl-news__banner::before {
  content: "";
  position: absolute;
  left: -160px;
  top: -160px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 110px rgba(255, 255, 255, 0.04), 0 0 0 230px rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.bl-news__banner::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -200px;
  width: 520px;
  height: 520px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(66, 226, 222, 0.28) 0%, rgba(66, 226, 222, 0) 70%);
  pointer-events: none;
}

.bl-news__banner > * { position: relative; z-index: 1; }

.bl-news__title {
  margin: 0;
  max-width: 672px;
  font-size: clamp(28px, 4.4vw, 51px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-transform: capitalize;
}

.bl-news__sub { margin: 20px 0 0; font-size: clamp(16px, 1.9vw, 16.5px); color: rgba(255, 255, 255, 0.65); }

.bl-news__form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  max-width: 420px;
  margin-top: 32px;
  padding: 6px 6px 6px 24px;
  border-radius: 999px;
  background: #fff;
}

.bl-news__field {
  flex: 1;
  min-width: 0;
  border: none;
  background: none;
  font: 500 15px var(--ak26-font);
  color: var(--ak26-ink);
}

.bl-news__field::placeholder { color: rgba(0, 0, 0, 0.65); }
.bl-news__field:focus { outline: none; }

.bl-news__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 50%;
  flex-shrink: 0;
  color: #fff;
  cursor: pointer;
  background-image: linear-gradient(90deg, #0f4c5c 0%, #2c7a8c 100%);
}

.bl-news__note { margin: 15px 0 0; font-size: 13.5px; color: rgba(255, 255, 255, 0.65); }

/* --------------------------------------------------------------------------
   Responsive — small laptop, tablet, mobile (incl. landscape)
   -------------------------------------------------------------------------- */

@media (max-width: 1199.98px) {
  .bl-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991.98px) {
  .bl-header { flex-direction: column; align-items: flex-start; }
  .bl-search { max-width: 100%; }
  .bl-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin-inline: calc(var(--bs-gutter-x, 1.5rem) * -0.5);
    padding-inline: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
  }
  .bl-filters::-webkit-scrollbar { display: none; }
  .bl-filters .cat-filter { flex: 0 0 auto; }
}

@media (max-width: 575.98px) {
  .bl-grid { grid-template-columns: 1fr; }
  .bl-news__form { flex-direction: row; max-width: 100%; }
}
