/* =========================================================
   MURKEZ — INSIGHTS (append-only, section-local)
   Reuses tokens, hero, nav, footer, .cs-filter pill language,
   .success-card--case elevation model & motion from styles.css.
   No global rule is modified here. New classes only.
   ========================================================= */

/* ---------------------------------------------------------
   Hero — editorial variant of .capability-hero
   (inherits hero-bg.webp, glow blobs, particles verbatim)
   --------------------------------------------------------- */
.insights-hero .hero__content {
  max-width: var(--container-w);
}

/* ---------------------------------------------------------
   Featured highlight band — editorial split, premium
   Reuses the .client-success navy gradient shell language.
   --------------------------------------------------------- */
.insights-featured {
  background: var(--white);
  color: var(--ink-900);
  padding: 84px 0;
}
.insights-featured .eyebrow { margin-bottom: 30px; }
.insights-featured__card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 44px;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow: hidden;
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out), border-color var(--dur-med) var(--ease-out);
}
.insights-featured__card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 168, 198, 0.35);
  box-shadow: 0 24px 48px -20px rgba(7, 20, 60, 0.28);
}
.insights-featured__media {
  position: relative;
  min-height: 340px;
  overflow: hidden;
}
.insights-featured__body {
  padding: 46px 48px 46px 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.insights-featured__cat {
  align-self: flex-start;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  margin-bottom: 22px;
}
.insights-featured__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.9vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink-900);
  margin-bottom: 18px;
}
.insights-featured__excerpt {
  font-size: 16px;
  color: var(--slate);
  line-height: 1.65;
  margin-bottom: 26px;
  max-width: 520px;
}
.insights-featured__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--muted-label);
  margin-bottom: 30px;
}
.insights-featured__meta .author { color: var(--slate); font-weight: 600; }
.insights-featured__meta .sep { color: var(--border); }
.insights-featured__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
  transition: gap var(--dur-fast) var(--ease-out);
}
.insights-featured__card:hover .insights-featured__cta { gap: 13px; }

/* ---------------------------------------------------------
   Editorial cover art (shared: featured + grid + strip)
   A disciplined, no-stock treatment: navy field, cyan glow,
   thin top accent, ghosted category glyph. Zooms on hover.
   --------------------------------------------------------- */
.cover {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 90% at 78% 18%, rgba(0, 168, 198, 0.28) 0%, transparent 60%),
    radial-gradient(70% 80% at 12% 92%, rgba(24, 212, 255, 0.16) 0%, transparent 62%),
    linear-gradient(150deg, var(--navy-800) 0%, var(--navy-950) 82%);
  overflow: hidden;
}
.cover::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  z-index: 3;
}
.cover__glyph {
  position: absolute;
  right: -14px;
  bottom: -22px;
  width: 190px;
  height: 190px;
  color: rgba(0, 168, 198, 0.16);
  transform-origin: 75% 75%;
  transition: transform var(--dur-slow) var(--ease-out), color var(--dur-med) var(--ease-out);
  z-index: 1;
}
.cover__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
  z-index: 0;
  transition: transform var(--dur-slow) var(--ease-out);
}
.cover__eyebrow {
  position: absolute;
  top: 20px;
  left: 22px;
  z-index: 2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

/* ---------------------------------------------------------
   Toolbar — filter pills (reused) + search
   --------------------------------------------------------- */
.insights-hub { background: var(--off-white); padding: 96px 0 96px; }
.insights-hub__headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  color: var(--ink-900);
  line-height: 1.2;
  margin-bottom: 12px;
}
.insights-hub__intro {
  font-size: 17px;
  color: var(--ink-500);
  line-height: 1.6;
  max-width: 560px;
  margin-bottom: 34px;
}
/* Stacked toolbar: search sits on its own row above the filter pills. */
.insights-toolbar {
  margin-bottom: 40px;
}
/* pills reuse .cs-filter / .cs-filter__pill from global styles.css verbatim */
.insights-toolbar .cs-filter { margin-bottom: 0; }

/* Filter row: "All" stays fixed on the left; the remaining pills live in a
   wrapping group so their second row begins aligned under "Strategy", not
   back under "All". */
.insights-filter {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 10px;
}
.insights-filter > .cs-filter__pill { flex-shrink: 0; }
.insights-filter__rest {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.insights-search {
  position: relative;
  width: 320px;
  max-width: 100%;
  margin-bottom: 22px;
}
.insights-search__icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-label);
  pointer-events: none;
}
.insights-search__input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink-900);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 11px 40px 11px 42px;
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.insights-search__input::placeholder { color: var(--muted-label); }
.insights-search__input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 168, 198, 0.16);
}
.insights-search__clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  background: var(--border);
  color: var(--slate);
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 13px;
}
.insights-search__clear.is-visible { display: inline-flex; }
.insights-search__clear:hover { background: var(--blue-light); color: var(--blue); }

/* ---------------------------------------------------------
   Insights grid + editorial article card
   --------------------------------------------------------- */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.insights-grid__empty {
  text-align: center;
  color: var(--muted-label);
  padding: 56px 0;
  font-size: 15px;
}

.insight-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out), border-color var(--dur-med) var(--ease-out);
}
.insight-card:hover,
.insight-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(0, 168, 198, 0.35);
  box-shadow: 0 22px 44px -18px rgba(7, 20, 60, 0.28);
}
.insight-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
/* image-zoom analog: cover art scales inside the clipped media frame */
.insight-card:hover .cover,
.insight-card:focus-within .cover { transform: scale(1.06); }
.insight-card:hover .cover__glyph,
.insight-card:focus-within .cover__glyph {
  transform: scale(1.12) rotate(-4deg);
  color: rgba(0, 168, 198, 0.24);
}
.insight-card .cover { transition: transform var(--dur-slow) var(--ease-out); }

/* Real image sits over the branded cover; onerror removes it → fallback shows.
   Shared by the index grid cards and the related cards on detail pages. */
.insight-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  display: block;
  transition: transform var(--dur-slow) var(--ease-out);
}
.insight-card:hover .insight-card__img,
.insight-card:focus-within .insight-card__img { transform: scale(1.06); }

/* Featured highlight card image slot (index page) */
.insights-featured__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  display: block;
}

.insight-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 24px 20px;
}
.insight-card__tag {
  align-self: flex-start;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  border-radius: 6px;
  padding: 5px 10px;
  margin-bottom: 14px;
}
.insight-card__title {
  font-family: var(--font-display);
  font-size: 18.5px;
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.32;
  margin-bottom: 10px;
}
.insight-card__title a { color: inherit; }
/* whole-card click target without nesting anchors */
.insight-card__title a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
}
.insight-card__excerpt {
  font-size: 13.5px;
  color: var(--slate);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 18px;
}
.insight-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: var(--muted-label);
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-bottom: 16px;
}
.insight-card__meta .sep { color: var(--border); }
.insight-card__meta .author { color: var(--slate); font-weight: 600; }
.insight-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue);
  transition: gap var(--dur-fast) var(--ease-out);
}
.insight-card:hover .insight-card__cta { gap: 11px; }
.insight-card[hidden] { display: none; }

/* Load-more (future pagination hook — hidden until needed) */
.insights-more {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}
.insights-more[hidden] { display: none; }
.insights-more__btn {
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--blue);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 13px 30px;
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.insights-more__btn:hover {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -10px rgba(0, 168, 198, 0.5);
}

/* ---------------------------------------------------------
   Featured Insights strip — Most Popular / Latest / Editor's Pick
   --------------------------------------------------------- */
.insights-strip { background: var(--white); padding: 90px 0; }
.insights-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.strip-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--off-white);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out), border-color var(--dur-med) var(--ease-out);
}
.strip-card:hover,
.strip-card:focus-within {
  transform: translateY(-5px);
  border-color: rgba(0, 168, 198, 0.35);
  box-shadow: 0 20px 40px -18px rgba(7, 20, 60, 0.22);
}
.strip-card__kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}
.strip-card__kicker .icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.strip-card__cat {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-metric);
}
.strip-card__title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.3;
  flex: 1;
}
.strip-card__title a { color: inherit; }
.strip-card__title a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
}
.strip-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue);
  transition: gap var(--dur-fast) var(--ease-out);
}
.strip-card:hover .strip-card__cta { gap: 11px; }

/* ---------------------------------------------------------
   Newsletter / CTA — light section, standard light-style palette
   --------------------------------------------------------- */
.insights-news {
  position: relative;
  background: var(--off-white);
  color: var(--ink-900);
  overflow: hidden;
}
.insights-news__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 72px 32px;
}
.insights-news .eyebrow::after { left: 50%; transform: translateX(-50%); }
.insights-news__headline {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 800;
  color: var(--ink-900);
  margin-bottom: 20px;
}
.insights-news__copy {
  font-size: 17px;
  color: var(--slate);
  line-height: 1.6;
  margin-bottom: 38px;
}
.insights-news__form {
  display: flex;
  gap: 12px;
  max-width: 520px;
  margin: 0 auto 16px;
}
.insights-news__field {
  flex: 1;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink-900);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 15px 18px;
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.insights-news__field::placeholder { color: var(--muted-label); }
.insights-news__field:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 168, 198, 0.16);
}
.insights-news__form .btn--primary { flex-shrink: 0; }
.insights-news__msg {
  min-height: 22px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 26px;
}
.insights-news__msg.is-error { color: #C0392B; }
.insights-news__msg.is-success { color: var(--green); }
.insights-news__secondary { margin-top: 4px; }
.insights-news__secondary a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--slate);
  transition: color var(--dur-fast) var(--ease-out), gap var(--dur-fast) var(--ease-out);
}
.insights-news__secondary a:hover { color: var(--blue); gap: 13px; }

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */
@media (max-width: 1100px) {
  .insights-grid { grid-template-columns: repeat(2, 1fr); }
  .insights-strip__grid { grid-template-columns: 1fr; }
  .insights-featured__card { grid-template-columns: 1fr; }
  .insights-featured__media { min-height: 240px; }
  .insights-featured__body { padding: 34px 34px 40px; }
}
@media (max-width: 860px) {
  .insights-search { width: 100%; }
}
@media (max-width: 560px) {
  /* On phones let the whole pill set wrap freely from the left edge. */
  .insights-filter { flex-wrap: wrap; }
  .insights-filter__rest { flex-basis: 100%; }
}
@media (max-width: 680px) {
  .insights-grid { grid-template-columns: 1fr; }
  .insights-hub { padding: 64px 0; }
  .insights-featured { padding: 64px 0; }
  .insights-strip { padding: 64px 0; }
  .insights-news__inner { padding: 60px 24px; }
  .insights-news__form { flex-direction: column; }
}
