:root {
  --eit-green: #3EB489;
  --eit-hero-top: #0f1c2e;
  --eit-hero-bottom: #16263f;
  --eit-section-top: #0b2238;
  --eit-section-bottom: #102e4a;
  --eit-white: #ffffff;
  --eit-light-text: #d7e3f4;
  --eit-dark-heading: #0a2a43;
  --eit-dark-text: #2c3e50;
  --eit-light-bg: #f4f6f9;
  --eit-border-green-soft: rgba(62, 180, 137, 0.18);
  --eit-border-green: rgba(62, 180, 137, 0.28);
  --eit-border-green-strong: rgba(62, 180, 137, 0.7);
  --insights-wide: 1120px;
}

.insights-page {
  background: var(--eit-light-bg);
  color: var(--eit-dark-text);
}

.insights-container {
  width: min(calc(100% - 40px), var(--insights-wide));
  margin: 0 auto;
}

.insights-dark-zone {
  position: relative;
  overflow: hidden;
  padding: 76px 0 118px;
  color: var(--eit-white);
  background:
    radial-gradient(circle at 82% 14%, rgba(62, 180, 137, 0.10), transparent 30%),
    linear-gradient(180deg, var(--eit-hero-top) 0%, var(--eit-hero-bottom) 58%, var(--eit-section-top) 100%);
  border-bottom: 1px solid rgba(62, 180, 137, 0.22);
}

.insights-hero {
  max-width: 820px;
  margin-bottom: 68px;
}

.insights-kicker,
.section-kicker {
  margin: 0 0 12px;
  color: var(--eit-green);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.insights-kicker a,
.section-kicker a {
  color: inherit;
  text-decoration: none;
}

.insights-kicker a:hover,
.section-kicker a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.insights-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--eit-white);
  font-size: clamp(2.7rem, 6vw, 5rem);
  line-height: 0.99;
  letter-spacing: -0.045em;
}

.insights-lead {
  max-width: 720px;
  margin: 25px 0 0;
  color: var(--eit-light-text);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  line-height: 1.65;
}

.section-heading {
  margin-bottom: 26px;
}

.section-heading h2,
.results-heading h2,
.insights-data-cta h2 {
  margin: 0;
  letter-spacing: -0.025em;
}

.section-heading h2,
.results-heading h2 {
  color: var(--eit-dark-heading);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.section-heading-dark h2 {
  color: var(--eit-white);
}

.featured-grid {
  display: grid;
  gap: 18px;
}

.featured-grid.has-multiple {
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.85fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.featured-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  min-height: 390px;
  overflow: hidden;
  color: var(--eit-white);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--eit-border-green);
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.featured-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(62, 180, 137, 0.55);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.3);
}

.featured-card-media {
  min-height: 100%;
  background: #ffffff;
}

.featured-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}

.featured-card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 38px;
}

.card-section {
  margin-bottom: 12px;
  color: var(--eit-green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.featured-card h3 {
  margin: 0 0 16px;
  color: var(--eit-white);
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.featured-card p {
  margin: 0 0 24px;
  color: var(--eit-light-text);
  font-size: 1rem;
  line-height: 1.65;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: auto;
  font-size: 0.88rem;
}

.featured-card .card-meta {
  color: var(--eit-light-text);
}

.card-link {
  color: var(--eit-green);
  font-weight: 700;
}

.featured-grid.has-multiple .featured-card:first-child {
  grid-row: 1 / 3;
}

.featured-grid.has-multiple .featured-card:not(:first-child) {
  display: block;
  min-height: 0;
}

.featured-grid.has-multiple .featured-card:not(:first-child) .featured-card-media img {
  min-height: 180px;
  max-height: 210px;
}

.featured-grid.has-multiple .featured-card:not(:first-child) .featured-card-content {
  padding: 24px;
}

.featured-grid.has-multiple .featured-card:not(:first-child) h3 {
  font-size: 1.3rem;
}

.featured-grid.has-multiple .featured-card:not(:first-child) p {
  display: none;
}

.insights-discovery {
  position: relative;
  padding: 76px 0 92px;
  background:
    linear-gradient(180deg, #ffffff 0, var(--eit-light-bg) 190px, var(--eit-light-bg) 100%);
}

.insights-discovery::before {
  content: "";
  position: absolute;
  top: -34px;
  left: 0;
  width: 100%;
  height: 70px;
  background: linear-gradient(180deg, rgba(15, 28, 46, 0), #ffffff);
  pointer-events: none;
}

.discovery-heading {
  position: relative;
  max-width: 720px;
}

.discovery-heading > p:last-child {
  margin: 10px 0 0;
  color: #64748b;
  font-size: 1.02rem;
  line-height: 1.65;
}

.insights-controls {
  position: relative;
  margin-bottom: 62px;
}

.search-field {
  position: relative;
  max-width: 720px;
}

.search-field svg {
  position: absolute;
  top: 50%;
  left: 18px;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  fill: none;
  stroke: #64748b;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.search-field input {
  width: 100%;
  height: 52px;
  padding: 0 18px 0 50px;
  color: var(--eit-dark-text);
  background: var(--eit-white);
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  outline: none;
  font: inherit;
  box-shadow: 0 5px 16px rgba(15, 35, 55, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-field input:focus {
  border-color: var(--eit-green);
  box-shadow: 0 0 0 3px rgba(62, 180, 137, 0.13);
}

.section-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  max-width: 800px;
}

.filter-chip {
  padding: 8px 14px;
  color: #42566a;
  background: var(--eit-white);
  border: 1px solid #d7e0e8;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.filter-chip:hover,
.filter-chip.is-active {
  color: #147252;
  background: rgba(62, 180, 137, 0.11);
  border-color: rgba(62, 180, 137, 0.48);
}

.clear-filters-inline {
  margin-left: 12px;
  padding: 8px 2px;
  color: #526579;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.clear-filters-inline:hover {
  color: #147252;
}

.clear-filters-inline:focus-visible {
  outline: 2px solid var(--eit-green);
  outline-offset: 3px;
  border-radius: 4px;
}

.select-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.select-filters label {
  display: grid;
  gap: 6px;
  min-width: 180px;
}

.select-filters label > span {
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.select-filters select {
  height: 44px;
  padding: 0 38px 0 13px;
  color: var(--eit-dark-text);
  background: var(--eit-white);
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font: inherit;
  cursor: pointer;
}

.results-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 26px;
}

.result-count {
  margin: 0 0 4px;
  color: #64748b;
  font-size: 0.9rem;
}

.insights-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.article-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  color: var(--eit-dark-text);
  text-decoration: none;
  background: var(--eit-white);
  border: 1px solid var(--eit-border-green-soft);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.09);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.article-card:hover {
  transform: translateY(-5px);
  border-color: var(--eit-border-green-strong);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
}

.article-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #ffffff;
  border-bottom: 1px solid var(--eit-border-green-soft);
}

.article-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.article-card:hover .article-card-media img {
  transform: scale(1.015);
}

.article-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.article-card h3 {
  margin: 0 0 12px;
  color: var(--eit-dark-heading);
  font-size: 1.22rem;
  line-height: 1.28;
  letter-spacing: -0.018em;
}

.article-card-description {
  margin: 0 0 22px;
  color: #526579;
  line-height: 1.62;
}

.article-card .card-meta {
  margin-top: auto;
  color: #718096;
}

.empty-state {
  padding: 46px 24px;
  text-align: center;
  background: var(--eit-white);
  border: 1px solid var(--eit-border-green-soft);
  border-radius: 16px;
}

.empty-state h3 {
  margin: 0 0 8px;
  color: var(--eit-dark-heading);
}

.empty-state p {
  margin: 0 0 20px;
  color: #64748b;
}

.empty-state button {
  padding: 10px 16px;
  color: #ffffff;
  background: #0a2a43;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.insights-data-cta {
  padding: 64px 0;
  color: var(--eit-white);
  background: linear-gradient(180deg, var(--eit-hero-bottom) 0%, var(--eit-section-top) 100%);
  border-top: 1px solid rgba(62, 180, 137, 0.22);
}

.insights-data-cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 42px;
}

.insights-data-cta-inner > div {
  max-width: 720px;
}

.insights-data-cta h2 {
  color: var(--eit-white);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.insights-data-cta p:not(.section-kicker) {
  margin: 12px 0 0;
  color: var(--eit-light-text);
  line-height: 1.65;
}

.data-cta-link {
  flex: 0 0 auto;
  padding: 12px 18px;
  color: var(--eit-green);
  text-decoration: none;
  border: 1px solid rgba(62, 180, 137, 0.48);
  border-radius: 999px;
  font-weight: 700;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.data-cta-link:hover {
  background: rgba(62, 180, 137, 0.1);
  border-color: var(--eit-green);
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .featured-card {
    grid-template-columns: 1fr;
  }

  .featured-card-media img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .featured-grid.has-multiple {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .featured-grid.has-multiple .featured-card:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .insights-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .insights-container {
    width: min(calc(100% - 32px), var(--insights-wide));
  }

  .insights-dark-zone {
    padding: 50px 0 82px;
  }

  .insights-hero {
    margin-bottom: 48px;
  }

  .insights-hero h1 {
    font-size: clamp(2.5rem, 13vw, 3.6rem);
  }

  .featured-card-content {
    padding: 24px 21px;
  }

  .featured-card h3 {
    font-size: 1.6rem;
  }

  .featured-grid.has-multiple {
    grid-template-columns: 1fr;
  }

  .insights-discovery {
    padding: 58px 0 70px;
  }


  .clear-filters-inline {
    flex-basis: 100%;
    margin-left: 0;
    padding-top: 4px;
    text-align: left;
  }

  .select-filters {
    display: grid;
    grid-template-columns: 1fr;
  }

  .select-filters label {
    min-width: 0;
  }

  .insights-card-grid {
    grid-template-columns: 1fr;
  }

  .results-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .insights-data-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .featured-card,
  .article-card,
  .article-card-media img,
  .filter-chip,
  .data-cta-link {
    transition: none;
  }
}
