:root {
  --insight-red: var(--brand-blue, #0078b8);
  --insight-red-dark: var(--brand-blue-dark, #005f8f);
  --insight-ink: var(--text-primary, #151920);
  --insight-panel: var(--brand-navy, #242932);
  --insight-muted: var(--text-muted, #5d6470);
  --insight-line: var(--border-subtle, #dfe2e7);
  --insight-soft: var(--surface-page, #f3f4f6);
}

.insights-index,
.insight-article,
.insight-not-found {
  color: var(--insight-ink);
  font-family: var(--font-sans);
  background: #fff;
}

.insight-wrap,
.insights-index__summary,
.insights-index__library,
.insight-not-found {
  width: var(--site-container-width);
  margin-inline: auto;
}

.insight-eyebrow {
  margin: 0 0 10px;
  color: var(--insight-red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .13em;
  line-height: 1.4;
  text-transform: uppercase;
}

/* Insights index */

.insights-index__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding-top: 30px;
}

.insights-index__summary > p {
  max-width: 780px;
  margin: 0;
  color: var(--insight-muted);
  font-size: 1rem;
  font-weight: 550;
  line-height: 1.6;
}

.insight-section--dark .insight-eyebrow {
  color: var(--brand-cyan);
}

.insights-index__count {
  display: flex;
  flex: 0 0 auto;
  min-height: 54px;
  padding: 10px 15px;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--insight-line);
  border-left: 3px solid var(--brand-cyan);
  border-radius: 0 8px 8px 0;
  background: var(--surface-page);
}

.insights-index__count strong {
  color: var(--brand-navy);
  font-size: 1.65rem;
  font-weight: 850;
  line-height: 1;
}

.insights-index__count span {
  max-width: 76px;
  color: var(--insight-muted);
  font-size: 10px;
  font-weight: 850;
  line-height: 1.25;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.insights-index__library {
  padding-block: 44px 88px;
}

.insights-index__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 32px;
}

.insights-index__heading h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -.035em;
  line-height: 1.15;
}

.insights-index__heading > p {
  max-width: 475px;
  margin: 0 0 4px;
  color: var(--insight-muted);
  line-height: 1.65;
}

.insight-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.insight-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--insight-line);
  border-top: 3px solid #b9bec6;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 11px 30px rgba(16, 20, 28, .065);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.insight-card.is-featured {
  border-top-color: var(--insight-red);
}

.insight-card:hover {
  border-color: #c8ccd3;
  border-top-color: var(--insight-red);
  box-shadow: 0 18px 42px rgba(16, 20, 28, .12);
  transform: translateY(-3px);
}

.insight-card__image {
  position: relative;
  display: block;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  background: #e9ebee;
}

.insight-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.insight-card:hover .insight-card__image img {
  transform: scale(1.025);
}

.insight-card__fallback {
  display: grid;
  height: 100%;
  place-items: center;
  color: var(--insight-red);
  font-size: 44px;
  background: linear-gradient(135deg, #f5f6f7, #e5e8ec);
}

.insight-card__featured {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--insight-red);
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
}

.insight-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 23px 21px;
}

.insight-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--insight-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.insight-card__meta span {
  color: var(--insight-red);
}

.insight-card h3 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -.025em;
  line-height: 1.3;
}

.insight-card h3 a {
  display: -webkit-box;
  overflow: hidden;
  color: var(--insight-ink);
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.insight-card h3 a:hover {
  color: var(--insight-red);
}

.insight-card__body > p {
  display: -webkit-box;
  min-height: 66px;
  margin: 13px 0 18px;
  overflow: hidden;
  color: var(--insight-muted);
  font-size: 13px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.insight-card__cta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 9px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #eceef1;
  color: var(--insight-red);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.insight-card__cta i {
  transition: transform .2s ease;
}

.insight-card__cta:hover i {
  transform: translateX(4px);
}

.insight-card--compact .insight-card__image {
  aspect-ratio: 2.25 / 1;
}

.insight-card--compact .insight-card__body {
  padding: 19px 20px;
}

.insight-card--compact h3 {
  font-size: 18px;
}

.insights-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 42px;
}

.insights-pagination a {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--insight-line);
  border-radius: 10px;
  color: var(--insight-ink);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.insights-pagination a:hover,
.insights-pagination a.is-current {
  border-color: var(--insight-red);
  background: var(--insight-red);
  color: #fff;
}

.insights-empty {
  padding: 64px 30px;
  border: 1px solid var(--insight-line);
  border-radius: 14px;
  background: var(--insight-soft);
  text-align: center;
}

.insights-empty i {
  color: var(--insight-red);
  font-size: 38px;
}

.insights-empty h3 {
  margin: 16px 0 8px;
  font-size: 24px;
}

.insights-empty p {
  margin: 0;
  color: var(--insight-muted);
}

/* Article sections */

.insight-section {
  padding-block: clamp(62px, 7vw, 92px);
}

.insight-article article > .insight-section:first-child {
  padding-top: clamp(52px, 5vw, 72px);
}

.insight-section--white {
  background: #fff;
}

.insight-section--soft {
  background: var(--insight-soft);
}

.insight-section--dark {
  background: linear-gradient(110deg, #171b22 0%, #171b22 60%, #123f59 100%);
  color: #fff;
}

.insight-section-heading {
  max-width: 720px;
}

.insight-section-heading--centered {
  max-width: 820px;
  margin: 0 auto 30px;
  text-align: center;
}

.insight-section-heading h2,
.insight-media__content h2,
.insight-related h2 {
  margin: 0;
  font-size: clamp(29px, 3.3vw, 44px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.12;
}

.insight-section-lead {
  margin: 17px 0 0;
  color: var(--insight-muted);
  font-size: 16px;
  line-height: 1.7;
}

.insight-prose-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(48px, 7vw, 110px);
}

.insight-prose {
  max-width: 780px;
}

.insight-prose p {
  margin: 0 0 20px;
  color: #3e4651;
  font-size: 16px;
  line-height: 1.82;
}

.insight-prose p:last-child {
  margin-bottom: 0;
}

.insight-lead-layout {
  display: grid;
  grid-template-columns: minmax(0, 650px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(42px, 4.5vw, 68px);
}

.insight-prose--lead,
.insight-prose--continuation {
  max-width: none;
}

.insight-prose--continuation {
  margin-top: 34px;
}

.insight-lead-feature {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--insight-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(7, 31, 54, .12);
}

.insight-lead-feature__visual {
  position: relative;
  height: clamp(390px, 32vw, 500px);
  overflow: hidden;
  background: linear-gradient(135deg, #0b314b, #08749c);
}

.insight-lead-feature__visual::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 31, 54, 0) 22%, rgba(7, 31, 54, .18) 48%, rgba(7, 31, 54, .96) 100%),
    linear-gradient(90deg, rgba(7, 31, 54, .28) 0%, rgba(7, 31, 54, .04) 76%);
  content: "";
  pointer-events: none;
}

.insight-lead-feature__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
}

.insight-lead-feature__overlay {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  padding: clamp(25px, 2.6vw, 34px);
  color: #fff;
}

.insight-lead-feature__overlay .insight-eyebrow {
  display: inline-flex;
  padding: 5px 8px;
  border-left: 2px solid var(--brand-cyan);
  border-radius: 2px 6px 6px 2px;
  background: rgba(7, 31, 54, .72);
  color: var(--brand-cyan);
  backdrop-filter: blur(3px);
}

.insight-lead-feature__overlay h2 {
  max-width: 560px;
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 2.25vw, 36px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.08;
}

.insight-lead-feature figcaption {
  padding: 18px clamp(22px, 2.2vw, 30px) 20px;
  border-top: 2px solid var(--brand-cyan);
  background: #f2f9fd;
  color: #40566a;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.7;
}

.insight-lead-feature--contain .insight-lead-feature__visual {
  background: linear-gradient(135deg, #fff 0%, #f4fbfe 62%, #d8eef7 100%);
}

.insight-lead-feature--contain .insight-lead-feature__visual img {
  padding: clamp(28px, 3vw, 48px) clamp(28px, 3vw, 48px) 150px;
  object-fit: contain;
  object-position: center top;
}

.insight-lead-media {
  position: relative;
  width: min(100%, 1240px);
  height: clamp(320px, 31vw, 470px);
  margin: clamp(38px, 5vw, 64px) auto 0;
  overflow: hidden;
  border: 1px solid var(--insight-line);
  border-radius: 14px;
  background: #eaf6fb;
  box-shadow: 0 22px 50px rgba(7, 31, 54, .12);
}

.insight-lead-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.insight-lead-media--contain {
  padding: clamp(24px, 4vw, 54px);
  background:
    radial-gradient(circle at 62% 44%, rgba(0, 200, 255, .19), transparent 38%),
    linear-gradient(135deg, #edf8fc, #d8eef7);
}

.insight-lead-media--contain img {
  object-fit: contain;
}

.insight-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.insight-feature-card {
  padding: 22px;
  border: 1px solid #343a45;
  border-top: 3px solid var(--insight-red);
  border-radius: 12px;
  background: var(--insight-panel);
  color: #fff;
  box-shadow: 0 12px 26px rgba(18, 22, 29, .12);
}

.insight-feature-card__icon {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 50%;
  background: #343a45;
  color: var(--brand-cyan);
  font-size: 13px;
}

.insight-feature-card h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
}

.insight-feature-card p {
  margin: 8px 0 0;
  color: #d3d7de;
  font-size: 12px;
  line-height: 1.65;
}

.insight-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(45px, 7vw, 110px);
}

.insight-media--reverse .insight-media__visual {
  order: 2;
}

.insight-media__visual {
  display: grid;
  min-height: 360px;
  padding: 22px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .03);
}

.insight-media__visual img {
  display: block;
  width: 100%;
  max-height: 410px;
  object-fit: contain;
}

.insight-media__fallback {
  color: var(--brand-cyan);
  font-size: 60px;
}

.insight-media__content {
  max-width: 700px;
}

.insight-media__content .insight-section-lead,
.insight-media__content > p:not(.insight-eyebrow) {
  color: #d3d7de;
}

.insight-media__content > p:not(.insight-eyebrow) {
  margin: 17px 0 0;
  line-height: 1.75;
}

.insight-quote {
  max-width: 1120px;
  padding: 44px clamp(28px, 5vw, 72px);
  border-left: 5px solid var(--insight-red);
  border-radius: 0 14px 14px 0;
  background: linear-gradient(112deg, #171b22, #123f59);
  color: #fff;
}

.insight-quote blockquote {
  max-width: 960px;
  margin: 0;
  font-size: clamp(27px, 3vw, 42px);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.2;
}

.insight-quote > p:last-child {
  max-width: 760px;
  margin: 18px 0 0;
  color: #d3d7de;
  line-height: 1.7;
}

.insight-image-band {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: #151920;
}

.insight-image-band > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .55;
}

.insight-image-band__overlay {
  position: relative;
  display: flex;
  min-height: 420px;
  align-items: center;
  background: linear-gradient(90deg, rgba(15, 18, 24, .95), rgba(15, 18, 24, .25));
  color: #fff;
}

.insight-image-band h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.1;
}

.insight-image-band p:last-child {
  max-width: 700px;
  color: #e0e3e8;
  line-height: 1.7;
}

/* Related content */

.insight-related {
  padding-block: 70px 90px;
  background: var(--insight-soft);
}

.insight-related__all {
  color: var(--insight-red);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.insight-sources .insight-section-heading {
  max-width: 820px;
}

.insight-sources__list {
  display: grid;
  max-width: 920px;
  margin: 28px 0 0;
  padding: 0;
  gap: 12px;
  list-style: none;
}

.insight-sources__list li {
  padding: 15px 18px;
  border: 1px solid var(--insight-line);
  border-left: 3px solid var(--brand-cyan);
  border-radius: 0 9px 9px 0;
  background: #fff;
}

.insight-sources__list a {
  color: var(--insight-red-dark);
  font-weight: 800;
  line-height: 1.5;
}

.insight-disclaimer {
  padding-block: 24px;
  border-block: 1px solid var(--insight-line);
  background: #fff;
}

.insight-disclaimer p {
  margin: 0;
  color: var(--insight-muted);
  font-size: 13px;
  line-height: 1.7;
}

.insight-not-found {
  padding-block: 100px 130px;
  text-align: center;
}

.insight-not-found h1 {
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
}

.insight-not-found > p:not(.insight-eyebrow) {
  margin: 16px 0 24px;
  color: var(--insight-muted);
}

.insight-not-found a {
  display: inline-flex;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--insight-red);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.insight-card a:focus-visible,
.insights-pagination a:focus-visible,
.insight-not-found a:focus-visible {
  outline: 3px solid var(--brand-cyan);
  outline-offset: 3px;
}

@media (max-width: 1050px) {
  .insight-card-grid,
  .insight-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .insight-prose-layout,
  .insight-media {
    grid-template-columns: 1fr;
  }

  .insight-media--reverse .insight-media__visual {
    order: 0;
  }

  .insight-media__visual {
    min-height: 300px;
  }

  .insight-lead-layout {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 38px;
  }
}

@media (max-width: 900px) {
  .insight-lead-layout {
    grid-template-columns: 1fr;
  }

  .insight-lead-feature {
    max-width: 700px;
    margin-inline: auto;
  }

  .insight-prose--continuation {
    margin-top: 20px;
  }

  .insight-lead-feature__visual {
    height: clamp(360px, 65vw, 500px);
  }
}

@media (max-width: 720px) {
  .insight-wrap,
  .insights-index__summary,
  .insights-index__library,
  .insight-not-found {
    width: var(--site-container-width);
  }

  .insights-index__summary,
  .insights-index__heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .insights-index__summary {
    gap: 18px;
    padding-top: 24px;
  }

  .insights-index__count {
    display: flex;
    width: 100%;
    min-height: 0;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }

  .insights-index__count span {
    margin: 0;
  }

  .insights-index__library {
    padding-block: 48px 68px;
  }

  .insights-index__heading {
    gap: 16px;
  }

  .insight-card-grid,
  .insight-feature-grid {
    grid-template-columns: 1fr;
  }

  .insight-card__body > p {
    min-height: 0;
  }

  .insight-section {
    padding-block: 56px;
  }

  .insight-lead-feature__visual {
    height: clamp(330px, 84vw, 440px);
  }

  .insight-lead-feature__overlay {
    padding: 24px;
  }

  .insight-lead-feature__overlay h2 {
    font-size: clamp(27px, 8vw, 36px);
  }

  .insight-lead-feature figcaption {
    padding: 19px 22px 21px;
  }

  .insight-lead-feature--contain .insight-lead-feature__visual img {
    padding: 24px 24px 138px;
  }

  .insight-feature-card {
    padding: 20px;
  }

  .insight-media__visual {
    min-height: 230px;
  }

  .insight-quote {
    width: min(100%, calc(100% - 28px));
    padding: 34px 26px;
  }

  .insight-lead-media {
    height: clamp(230px, 62vw, 360px);
    border-radius: 10px;
  }

  .insight-lead-media--contain {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .insight-card,
  .insight-card__image img,
  .insight-card__cta i {
    transition: none;
  }
}
