/**
 * Wave 28 — Insights hub + shared editorial newspaper system
 */
:root {
  --ie-ink: #0b1220;
  --ie-muted: #5b6575;
  --ie-line: #e6e8ee;
  --ie-soft: #f6f7f9;
  --ie-red: #ed0000;
  --ie-red-deep: #c41212;
  --ie-max: 1180px;
}

html body.insights-page {
  background: #fff;
  color: var(--ie-ink);
}

/* —— Hero —— */
html body.insights-page section.ie-hero,
html body.insights-page .ie-hero {
  display: block;
  max-width: none;
  border-bottom: 1px solid var(--ie-line);
  background-color: #f4f5f7 !important;
  background-image:
    radial-gradient(120% 80% at 0% 0%, rgba(237, 0, 0, 0.05), transparent 42%),
    linear-gradient(180deg, #eef0f4 0%, #f4f5f7 48%, #f6f7f9 100%) !important;
  background-repeat: no-repeat !important;
  min-height: 0;
}

html body.insights-page .ie-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: stretch;
  width: min(100% - 32px, var(--ie-max));
  margin: 0 auto;
  min-height: min(58vh, 520px);
  background: transparent !important;
  background-image: none !important;
  background-color: transparent !important;
  padding: clamp(1.25rem, 3vw, 2rem) 0;
  box-shadow: none !important;
}

html body.insights-page .ie-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding: clamp(1.5rem, 4vw, 2.75rem) 0;
  max-width: 36rem;
  margin-left: 0;
  background: transparent;
}

html body.insights-page .ie-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.5rem;
  margin: 0 0 1rem;
  padding: 0.35rem 0.55rem;
  font: 600 0.68rem/1.2 var(--body, Inter, sans-serif);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4b5565;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(16, 24, 40, 0.06);
  border-radius: 999px;
}

html body.insights-page .ie-kicker {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 0.9rem;
  padding: 0.38rem 0.7rem;
  background: var(--ie-red);
  color: #fff;
  font: 750 0.62rem/1 var(--title, Montserrat, sans-serif);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  box-shadow: 0 8px 18px rgba(237, 0, 0, 0.18);
}

html body.insights-page .ie-hero h1 {
  margin: 0 0 0.95rem;
  font: 800 clamp(2.2rem, 4.2vw, 3.35rem)/1.05 var(--title, Montserrat, sans-serif);
  letter-spacing: -0.045em;
  color: var(--ie-ink) !important;
  text-wrap: balance;
  max-width: 13ch;
}

html body.insights-page .ie-hero-lede {
  margin: 0 0 1.5rem;
  color: #5b6575;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.58;
  max-width: 34rem;
}

html body.insights-page .ie-search {
  display: flex;
  gap: 0;
  width: min(100%, 420px);
  border-radius: 8px;
  overflow: hidden;
}

html body.insights-page .ie-search input {
  flex: 1;
  border: 0;
  padding: 0.88rem 1rem;
  font: 500 0.9rem/1.2 var(--body, Inter, sans-serif);
  color: var(--ie-ink);
  outline: none;
  min-width: 0;
  background: transparent;
}

html body.insights-page .ie-search input::placeholder {
  color: #7a8494;
}

html body.insights-page .ie-search button {
  border: 0;
  background: var(--ie-red);
  color: #fff;
  padding: 0 1.15rem;
  font: 700 0.78rem/1 var(--title, Montserrat, sans-serif);
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.18s ease;
}

html body.insights-page .ie-search button:hover {
  background: var(--ie-red-deep);
}

html body.insights-page .ie-hero-proof {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

html body.insights-page .ie-hero-proof li {
  position: relative;
  padding: 0.42rem 0.7rem 0.42rem 1.15rem;
  font: 600 0.74rem/1.3 var(--body, Inter, sans-serif);
  color: #344054;
  background: #e8eaef;
  border: 1px solid rgba(16, 24, 40, 0.06);
  border-radius: 999px;
}

html body.insights-page .ie-hero-proof li::before {
  content: "";
  position: absolute;
  left: 0.45rem;
  top: 50%;
  width: 0.32rem;
  height: 0.32rem;
  margin-top: -0.16rem;
  border-radius: 1px;
  background: var(--ie-red);
}

html body.insights-page .ie-hero-media {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  aspect-ratio: 4 / 3;
  background-color: #d9dde5;
  background-image: url("/assets/zatra-hero-insights.jpg?v=20260816photofix1");
  background-position: center 38%;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 14px;
  margin: 0;
  align-self: stretch;
  box-shadow: 0 18px 40px rgba(16, 24, 40, 0.1);
}

html body.insights-page .ie-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 18, 32, 0.08), transparent 45%);
  pointer-events: none;
  z-index: 1;
}

html body.insights-page .ie-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 38%;
  display: block;
}

html body.insights-page .ie-hero-slash {
  display: none !important;
}

/* —— Topic cards (well-distributed grid, 20260815catcards1) —— */
html body.insights-page .ie-cats-wrap {
  border-bottom: 1px solid rgba(16, 24, 40, 0.08);
  background: #f3f4f7;
  position: sticky;
  top: 64px;
  z-index: 20;
  backdrop-filter: blur(10px);
}

html body.insights-page .ie-cats-inner {
  max-width: var(--ie-max);
  margin: 0 auto;
  padding: 0.85rem clamp(1rem, 3vw, 1.5rem) 1.05rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.55rem;
  align-items: stretch;
  background: transparent !important;
}

html body.insights-page .ie-cats-label {
  margin: 0;
  font: 750 0.62rem/1 var(--title, Montserrat, sans-serif);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7a8494;
}

html body.insights-page .ie-cats {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.7rem;
  align-items: stretch;
  overflow: visible;
  padding: 0;
}

html body.insights-page .ie-cat-btn {
  appearance: none;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 5.5rem;
  padding: 0.85rem 0.5rem 0.9rem;
  color: #5b6575;
  font: 650 0.72rem/1.25 var(--title, Montserrat, sans-serif);
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  text-wrap: balance;
  cursor: pointer;
  background: #fff;
  border: 1px solid #e6e8ee;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 8px 18px rgba(11, 18, 32, 0.04);
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

html body.insights-page .ie-cat-btn::before,
html body.insights-page .ie-cat-btn::after {
  content: none;
  display: none;
}

html body.insights-page a.ie-cat-btn:focus-visible {
  outline: 2px solid var(--ie-red);
  outline-offset: 2px;
}

html body.insights-page .ie-cat-ico {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: inherit;
  background: #f3f4f7;
  border-radius: 10px;
  transition: transform 0.22s ease, background-color 0.2s ease, color 0.2s ease;
}
html body.insights-page .ie-cat-ico svg {
  width: 18px;
  height: 18px;
}

html body.insights-page .ie-cat-btn > span:last-child {
  display: block;
  min-width: 0;
  max-width: 100%;
}

html body.insights-page .ie-cat-btn.is-active,
html body.insights-page .ie-cat-btn:hover {
  color: var(--ie-red);
  border-color: rgba(237, 0, 0, 0.38);
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 10px 22px rgba(237, 0, 0, 0.08);
}

html body.insights-page .ie-cat-btn.is-active {
  border-color: var(--ie-red);
  background: #fffaf9;
}

html body.insights-page .ie-cat-btn.is-active .ie-cat-ico,
html body.insights-page .ie-cat-btn:hover .ie-cat-ico {
  transform: translateY(-1px);
  background: rgba(237, 0, 0, 0.08);
  color: var(--ie-red);
}

/* —— Sections —— */
html body.insights-page .ie-section {
  max-width: var(--ie-max);
  margin: 0 auto;
  padding: clamp(2rem, 4.5vw, 3.25rem) clamp(1rem, 3vw, 1.5rem);
}

html body.insights-page .ie-section--featured {
  padding-top: clamp(2.25rem, 5vw, 3.5rem);
}

html body.insights-page .ie-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

html body.insights-page .ie-section-head h2 {
  margin: 0;
  font: 800 clamp(1.35rem, 2.4vw, 1.85rem)/1.1 var(--title, Montserrat, sans-serif);
  letter-spacing: -0.03em;
  text-transform: none;
  color: var(--ie-ink) !important;
}

html body.insights-page .ie-section-eyebrow,
html body.insights-page .ie-rails-eyebrow {
  margin: 0 0 0.45rem;
  font: 750 0.66rem/1 var(--title, Montserrat, sans-serif);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ie-red);
}

html body.insights-page .ie-section-head a,
html body.insights-page .ie-rails-more {
  color: var(--ie-red);
  font: 700 0.84rem/1 var(--title, Montserrat, sans-serif);
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, letter-spacing 0.2s ease;
}

html body.insights-page .ie-section-head a:hover,
html body.insights-page .ie-rails-more:hover {
  letter-spacing: 0.01em;
}

/* Featured cover */
html body.insights-page .ie-featured-card {
  position: relative;
  display: block;
  min-height: min(54vw, 460px);
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 22px 55px rgba(11, 18, 32, 0.16);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

html body.insights-page .ie-featured-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 64px rgba(11, 18, 32, 0.2);
}

html body.insights-page .ie-featured-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

html body.insights-page .ie-featured-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 17, 31, 0.88) 0%, rgba(7, 17, 31, 0.55) 42%, rgba(7, 17, 31, 0.15) 100%);
}

html body.insights-page .ie-featured-copy {
  position: relative;
  z-index: 1;
  max-width: 34rem;
  padding: clamp(1.4rem, 3.5vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: inherit;
}

html body.insights-page .ie-featured-badge {
  align-self: flex-start;
  margin-bottom: 0.85rem;
  padding: 0.3rem 0.55rem;
  background: var(--ie-red);
  font: 800 0.65rem/1 var(--title, Montserrat, sans-serif);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

html body.insights-page .ie-featured-copy h2 {
  margin: 0 0 0.65rem;
  font: 800 clamp(1.35rem, 2.8vw, 2.1rem)/1.15 var(--title, Montserrat, sans-serif);
  letter-spacing: -0.02em;
  color: #fff !important;
  text-transform: none;
}

html body.insights-page .ie-featured-copy p {
  margin: 0 0 0.85rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.98rem;
  line-height: 1.5;
}

html body.insights-page .ie-featured-meta {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
}

/* Card grid */
html body.insights-page .ie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.15rem;
}

html body.insights-page .ie-card {
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

html body.insights-page .ie-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(11, 18, 32, 0.08);
}

html body.insights-page .ie-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

html body.insights-page .ie-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ie-soft);
}

html body.insights-page .ie-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

html body.insights-page .ie-card:hover .ie-card-media img {
  transform: scale(1.05);
}

html body.insights-page .ie-card-body {
  padding: 0.95rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

html body.insights-page .ie-card-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: center;
}

html body.insights-page .ie-cat {
  display: inline-block;
  padding: 0.22rem 0.45rem;
  background: var(--ie-red);
  color: #fff;
  font: 800 0.58rem/1 var(--title, Montserrat, sans-serif);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

html body.insights-page .ie-mins {
  font-size: 0.72rem;
  color: var(--ie-muted);
}

html body.insights-page .ie-card-body h3 {
  margin: 0;
  font: 750 0.98rem/1.3 var(--title, Montserrat, sans-serif);
  color: var(--ie-ink);
  letter-spacing: -0.015em;
}

html body.insights-page .ie-card-body p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--ie-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Featured = larger version of the same ie-card, not a separate overlay format */
html body.insights-page .ie-card--featured {
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(11, 18, 32, 0.07);
}
html body.insights-page .ie-card--featured .ie-card-link {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: 280px;
}
html body.insights-page .ie-card--featured .ie-card-media {
  aspect-ratio: auto;
  min-height: 280px;
  height: 100%;
}
html body.insights-page .ie-card--featured .ie-card-body {
  padding: 1.35rem 1.4rem 1.45rem;
  gap: 0.55rem;
  justify-content: center;
}
html body.insights-page .ie-featured-pill {
  align-self: flex-start;
  padding: 0.28rem 0.5rem;
  background: var(--ie-red);
  color: #fff;
  font: 800 0.62rem/1 var(--title, Montserrat, sans-serif);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
}
html body.insights-page .ie-card--featured .ie-card-body h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  line-height: 1.2;
}
html body.insights-page .ie-card--featured .ie-card-body p {
  font-size: 0.95rem;
  -webkit-line-clamp: 4;
}
@media (max-width: 720px) {
  html body.insights-page .ie-card--featured .ie-card-link {
    grid-template-columns: 1fr;
  }
  html body.insights-page .ie-card--featured .ie-card-media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}

html body.insights-page .ie-card-foot {
  margin-top: auto;
  padding-top: 0.55rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.74rem;
  color: #8791a1;
}

html body.insights-page .ie-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

html body.insights-page .ie-count {
  font-size: 0.88rem;
  color: var(--ie-muted);
}

html body.insights-page .ie-more-wrap {
  text-align: center;
  margin-top: 1.5rem;
}

html body.insights-page .ie-more {
  appearance: none;
  border: 1px solid var(--ie-ink);
  background: #fff;
  color: var(--ie-ink);
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font: 700 0.88rem/1 var(--title, Montserrat, sans-serif);
  cursor: pointer;
}

html body.insights-page .ie-empty {
  grid-column: 1 / -1;
  color: var(--ie-muted);
  padding: 2rem 0;
}

/* Newsletter */
html body.insights-page .ie-newsletter {
  background: #0b1220;
  color: #fff;
  padding: clamp(1.6rem, 3.5vw, 2.4rem) clamp(1rem, 3vw, 1.5rem);
}

html body.insights-page .ie-newsletter-inner {
  max-width: var(--ie-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

html body.insights-page .ie-newsletter h2 {
  margin: 0;
  font: 750 clamp(1.15rem, 2vw, 1.45rem)/1.25 var(--title, Montserrat, sans-serif);
  color: #fff !important;
  letter-spacing: -0.02em;
  text-transform: none;
}

html body.insights-page .ie-newsletter form {
  display: flex;
  gap: 0;
  width: min(100%, 420px);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

html body.insights-page .ie-newsletter input {
  flex: 1;
  border: 0;
  padding: 0.85rem 1rem;
  min-width: 0;
  font-size: 0.95rem;
}

html body.insights-page .ie-newsletter button {
  border: 0;
  background: var(--ie-red);
  color: #fff;
  padding: 0 1.1rem;
  font: 700 0.88rem/1 var(--title, Montserrat, sans-serif);
  cursor: pointer;
}

/* Trust proof — premium metric cards (20260815trustcards1) */
html body.insights-page .ie-trust {
  max-width: none;
  margin: 0;
  padding: clamp(1.85rem, 3.6vw, 2.85rem) clamp(1rem, 3vw, 1.5rem) clamp(1.55rem, 3vw, 2.35rem);
  display: block;
  background: #f4f5f7;
  border-bottom: 1px solid var(--ie-line);
}

html body.insights-page .ie-trust-grid {
  max-width: var(--ie-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.9rem;
  align-items: stretch;
}

html body.insights-page .ie-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.4rem;
  min-width: 0;
  text-align: center;
  padding: 1.2rem 0.85rem 1.25rem;
  background: #fff;
  border: 1px solid var(--ie-line);
  border-radius: 14px;
  box-shadow:
    0 1px 2px rgba(16, 24, 40, 0.04),
    0 10px 24px rgba(11, 18, 32, 0.05);
  color: var(--ie-ink);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

html body.insights-page .ie-trust-item:hover {
  transform: translateY(-2px);
  box-shadow:
    0 2px 4px rgba(16, 24, 40, 0.05),
    0 14px 28px rgba(11, 18, 32, 0.08);
}

html body.insights-page .ie-trust-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 0 0.2rem;
  border-radius: 10px;
  background: rgba(237, 0, 0, 0.07);
  color: var(--ie-red);
}

html body.insights-page .ie-trust-ico svg {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
}

html body.insights-page .ie-trust-item strong {
  display: block;
  margin: 0;
  font: 800 clamp(1.2rem, 1.7vw, 1.5rem)/1.1 var(--title, Montserrat, sans-serif);
  letter-spacing: -0.03em;
  color: var(--ie-ink);
}

html body.insights-page .ie-trust-item strong .js-review-count {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
}

html body.insights-page .ie-trust-label {
  color: var(--ie-muted);
  font: 600 0.72rem/1.35 var(--title, Montserrat, sans-serif);
}

html body.insights-page .ie-trust-note {
  max-width: var(--ie-max);
  margin: 1.05rem auto 0;
  text-align: center;
  font: 500 0.72rem/1.5 var(--body, "Source Sans 3", sans-serif);
  color: var(--ie-muted);
}

@media (max-width: 1100px) {
  html body.insights-page .ie-trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  html body.insights-page .ie-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  html body.insights-page .ie-trust-item {
    padding: 1.05rem 0.7rem 1.1rem;
  }
}

/* Hide legacy hub blocks when editorial is active.
   #page-overview beats [hidden] in shared hero CSS — keep this ID-level. */
html body.insights-page.ie-ready .it-split-hero,
html body.insights-page.ie-ready #page-overview.it-split-hero,
html body.insights-page #page-overview.it-split-hero[hidden],
html body.insights-page.ie-ready #investor-questions,
html body.insights-page.ie-ready #featured.it-hub,
html body.insights-page.ie-ready #archive.it-rows-band,
html body.insights-page.ie-ready .conversion-band {
  display: none !important;
}

/* Minimalist editorial footer — black & white */
html body.insights-page .ie-footer,
html body.post-page .ie-footer {
  background: #0b1220;
  border-top: 1px solid #1f2937;
  color: #e5e7eb;
  padding: 2.5rem 0 0;
}

html body.insights-page .ie-footer-shell,
html body.post-page .ie-footer-shell {
  max-width: var(--ie-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 1.5rem);
}

html body.insights-page .ie-footer-grid,
html body.post-page .ie-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr));
  gap: 1.5rem 1.25rem;
}

html body.insights-page .ie-footer-brand p,
html body.post-page .ie-footer-brand p {
  margin: 0.65rem 0 0;
  color: #9ca3af;
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 22rem;
}

html body.insights-page .ie-footer-logo img,
html body.post-page .ie-footer-logo img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
}

html body.insights-page .ie-footer h3,
html body.post-page .ie-footer h3 {
  margin: 0 0 0.75rem;
  font: 800 0.78rem/1 var(--title, Montserrat, sans-serif);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

html body.insights-page .ie-footer a,
html body.post-page .ie-footer a {
  display: block;
  color: #d1d5db;
  text-decoration: none;
  font-size: 0.88rem;
  margin: 0.35rem 0;
}

html body.insights-page .ie-footer a:hover,
html body.post-page .ie-footer a:hover {
  color: #fff;
}

html body.insights-page .ie-footer-contact,
html body.post-page .ie-footer-contact {
  font-style: normal;
  color: #d1d5db;
  font-size: 0.88rem;
  line-height: 1.55;
}

html body.insights-page .ie-footer-bottom,
html body.post-page .ie-footer-bottom {
  margin-top: 2rem;
  padding: 1rem clamp(1rem, 3vw, 1.5rem);
  border-top: 1px solid #1f2937;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: #9ca3af;
  background: #000;
}

html body.insights-page .ie-footer-legal,
html body.post-page .ie-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

html body.insights-page .ie-footer-legal a,
html body.post-page .ie-footer-legal a {
  display: inline;
  margin: 0;
  color: #d1d5db;
}

@media (max-width: 980px) {
  html body.insights-page .ie-hero-shell {
    grid-template-columns: 1fr;
    min-height: 0;
    width: min(100% - 24px, var(--ie-max));
    gap: 1rem;
    padding: 1rem 0 1.25rem;
  }
  html body.insights-page .ie-hero-copy {
    margin-left: 0;
    max-width: none;
    padding: 0.5rem 0 1.25rem;
    order: 1;
  }
  html body.insights-page .ie-hero h1 {
    max-width: none;
  }
  html body.insights-page .ie-hero-media {
    min-height: 210px;
    order: 0;
    margin: 0;
    border-radius: 12px;
  }
  html body.insights-page .ie-footer-grid,
  html body.post-page .ie-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  html body.insights-page .ie-cats-wrap {
    top: 56px;
  }
  html body.insights-page .ie-cats-inner {
    padding: 0.75rem 1rem 0.9rem;
  }
}

/* Tablet ~768: 4+3, second row centered, equal card width */
@media (max-width: 1100px) and (min-width: 641px) {
  html body.insights-page .ie-cats {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
  html body.insights-page .ie-cat-btn {
    grid-column: span 2;
  }
  html body.insights-page .ie-cat-btn:nth-child(5) {
    grid-column: 2 / span 2;
  }
}

@media (max-width: 640px) {
  html body.insights-page .ie-footer-grid,
  html body.post-page .ie-footer-grid {
    grid-template-columns: 1fr;
  }
  html body.insights-page .ie-cats-wrap {
    position: static;
    top: auto;
  }
  html body.insights-page .ie-cats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  html body.insights-page .ie-cat-btn,
  html body.insights-page .ie-cat-btn:nth-child(5) {
    grid-column: auto;
  }
  html body.insights-page .ie-cat-btn:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: calc((100% - 0.7rem) / 2);
    justify-self: center;
  }
  html body.insights-page .ie-hero-meta {
    font-size: 0.62rem;
  }
  html body.insights-page .ie-search {
    width: 100%;
  }
}

@media (max-width: 360px) {
  html body.insights-page .ie-cats {
    grid-template-columns: minmax(0, 1fr);
  }
  html body.insights-page .ie-cat-btn:last-child:nth-child(odd) {
    grid-column: auto;
    max-width: none;
    justify-self: stretch;
  }
}

/* —— Authority desks — premium glass cards (deskglass1) —— */
html body.insights-page section.ie-rails,
html body.insights-page .ie-rails {
  --ie-glass-bg: rgba(255, 255, 255, 0.58);
  --ie-glass-bg-hover: rgba(255, 255, 255, 0.74);
  --ie-glass-sheen: linear-gradient(145deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 48%);
  --ie-glass-blur: 20px;
  --ie-glass-sat: 160%;
  --ie-glass-radius: 20px;
  --ie-glass-pad: clamp(1.05rem, 1.7vw, 1.4rem);
  --ie-glass-hairline: 1px solid rgba(255, 255, 255, 0.62);
  --ie-glass-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 0 0 1px rgba(16, 24, 40, 0.06),
    0 8px 22px rgba(16, 24, 40, 0.06);
  isolation: isolate;
  border-bottom: 1px solid rgba(16, 24, 40, 0.08);
  background-color: #e6e9ef !important;
  background-image:
    radial-gradient(ellipse 78% 52% at 6% 0%, rgba(148, 163, 184, 0.22), transparent 58%),
    radial-gradient(ellipse 58% 48% at 100% 0%, rgba(237, 0, 0, 0.07), transparent 52%),
    radial-gradient(ellipse 52% 42% at 100% 100%, rgba(16, 24, 40, 0.05), transparent 54%) !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

html body.insights-page .ie-rails-inner {
  max-width: var(--ie-max, 1180px);
  margin: 0 auto;
  padding: clamp(2.25rem, 5vw, 3.75rem) clamp(1rem, 3vw, 1.5rem);
  background: transparent !important;
}

html body.insights-page .ie-rails-masthead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-bottom: clamp(1.15rem, 2.2vw, 1.65rem);
  padding: var(--ie-glass-pad) clamp(1.15rem, 2vw, 1.55rem);
  border: var(--ie-glass-hairline) !important;
  border-radius: var(--ie-glass-radius) !important;
  background: var(--ie-glass-sheen), var(--ie-glass-bg) !important;
  background-color: var(--ie-glass-bg) !important;
  box-shadow: var(--ie-glass-shadow) !important;
  -webkit-backdrop-filter: blur(var(--ie-glass-blur)) saturate(var(--ie-glass-sat)) !important;
  backdrop-filter: blur(var(--ie-glass-blur)) saturate(var(--ie-glass-sat)) !important;
}

html body.insights-page .ie-rails-masthead-copy {
  max-width: 40rem;
}

html body.insights-page .ie-rails-masthead h2 {
  margin: 0;
  font: 800 clamp(1.7rem, 3.2vw, 2.55rem)/1.05 var(--title, Montserrat, sans-serif);
  letter-spacing: -0.04em;
  text-transform: none;
  color: var(--ie-ink) !important;
}

html body.insights-page .ie-rails-lede {
  margin: 0.65rem 0 0;
  max-width: 42ch;
  font: 400 0.98rem/1.55 var(--body, Inter, sans-serif);
  color: #5b6575;
}

html body.insights-page .ie-rails-more {
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 0.3rem;
  padding: 0.15rem 0;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

html body.insights-page .ie-rails-more:hover {
  background: transparent !important;
}

html body.insights-page .ie-rails-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

html body.insights-page .ie-rail {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: var(--ie-glass-pad) var(--ie-glass-pad) 1.15rem;
  background: var(--ie-glass-sheen), var(--ie-glass-bg) !important;
  background-color: var(--ie-glass-bg) !important;
  border: var(--ie-glass-hairline) !important;
  border-radius: var(--ie-glass-radius) !important;
  box-shadow: var(--ie-glass-shadow) !important;
  -webkit-backdrop-filter: blur(var(--ie-glass-blur)) saturate(var(--ie-glass-sat)) !important;
  backdrop-filter: blur(var(--ie-glass-blur)) saturate(var(--ie-glass-sat)) !important;
  isolation: isolate;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

html body.insights-page .ie-rail::before {
  content: none;
  display: none;
}

html body.insights-page .ie-rail:hover,
html body.insights-page .ie-rail:focus-within {
  background: var(--ie-glass-sheen), var(--ie-glass-bg-hover) !important;
  background-color: var(--ie-glass-bg-hover) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 0 0 1px rgba(237, 0, 0, 0.1),
    0 14px 32px rgba(16, 24, 40, 0.1) !important;
}

html body.insights-page .ie-rail:hover {
  transform: translateY(-3px);
}

html body.insights-page .ie-rail-index {
  display: block;
  margin: 0 0 0.7rem;
  font: 800 0.68rem/1 var(--title, Montserrat, sans-serif);
  letter-spacing: 0.12em;
  color: #c41616;
}

html body.insights-page .ie-rail h3 {
  margin: 0 0 0.45rem;
  font: 800 1.05rem/1.2 var(--title, Montserrat, sans-serif);
  letter-spacing: -0.02em;
  color: #101828;
}

html body.insights-page .ie-rail p {
  margin: 0 0 1rem;
  min-height: 2.7em;
  font: 400 0.84rem/1.45 var(--body, Inter, sans-serif);
  color: #667085;
}

html body.insights-page .ie-rail ul {
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

html body.insights-page .ie-rail li + li {
  margin-top: 0.55rem;
}

html body.insights-page .ie-rail a {
  position: relative;
  display: inline-block;
  padding-right: 0.9rem;
  font: 600 0.88rem/1.35 var(--body, Inter, sans-serif);
  color: #1a1a1a;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

html body.insights-page .ie-rail a::after {
  content: "→";
  position: absolute;
  right: 0;
  top: 0.05em;
  opacity: 0;
  transform: translateX(-4px);
  color: var(--ie-red);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

html body.insights-page .ie-rail a:hover {
  color: var(--ie-red);
  border-bottom-color: rgba(237, 0, 0, 0.35);
  transform: translateX(2px);
}

html body.insights-page .ie-rail a:hover::after {
  opacity: 1;
  transform: translateX(0);
}

@media (prefers-reduced-motion: no-preference) {
  html body.insights-page .ie-rail {
    animation: ie-rail-in 0.55s ease both;
  }
  html body.insights-page .ie-rail:nth-child(1) { animation-delay: 0.02s; }
  html body.insights-page .ie-rail:nth-child(2) { animation-delay: 0.07s; }
  html body.insights-page .ie-rail:nth-child(3) { animation-delay: 0.12s; }
  html body.insights-page .ie-rail:nth-child(4) { animation-delay: 0.17s; }
  html body.insights-page .ie-rail:nth-child(5) { animation-delay: 0.22s; }
  @keyframes ie-rail-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (prefers-reduced-motion: reduce) {
  html body.insights-page .ie-rail:hover {
    transform: none;
  }
}

@media (max-width: 1100px) {
  html body.insights-page .ie-rails-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  html body.insights-page .ie-rails-masthead {
    flex-direction: column;
    align-items: flex-start;
  }
  html body.insights-page .ie-rails-more {
    align-self: flex-start;
  }
  html body.insights-page .ie-rails-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  html body.insights-page .ie-rails-grid {
    grid-template-columns: 1fr;
  }
  html body.insights-page .ie-rail p {
    min-height: 0;
  }
}

@media (prefers-reduced-transparency: reduce) {
  html body.insights-page .ie-rails-masthead,
  html body.insights-page .ie-rail {
    background: #fff !important;
    background-color: #fff !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    border: 1px solid #e7e9ee !important;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 8px 20px rgba(7, 17, 31, 0.05) !important;
  }
}

/* Citation ops links are owner/technical rails — keep off public UI */
.ie-cite-ops{display:none!important}
/* wave62b + 20260815deskglass1 + 20260815desknorail1 + 20260815trustcards1 */
