/* Gedeelde bouwstenen voor de cluster Industrie, chemie en havenlogistiek. De ih-*-klassen
   hieronder (secties, koppen, proza, casekaarten) worden gebruikt door drie pagina's:
   /nl/industrie-en-havens/, /nl/industrie-en-havens/pid-digitalisering-cv-ocr/ en
   /nl/digital-twins-industriele-ai/. Vandaar een clusterbestand en geen paginabestand. */

section {
  margin-bottom: 0;
}

/* ===== Hero intro link ===== */
.nl-hero__intro a {
  color: var(--color-brand-teal-300);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nl-hero__intro a:hover,
.nl-hero__intro a:focus-visible {
  color: var(--color-brand-teal);
}

/* ===== 3. Wat Azati bouwt: align the index number to the card bottom ===== */
#wat-we-bouwen .section-challenges__index {
  top: auto;
  bottom: var(--spacing-8);
  transform: none;
}

/* ===== Unified card-grid gaps across Wat Azati bouwt / Waar we werken / Wat we hebben gebouwd ===== */
#wat-we-bouwen .section-challenges__wrapper {
  gap: var(--spacing-16);
}

#sectoren .ls-build__grid {
  gap: var(--spacing-16);
}

/* Tighten top padding of sections that follow a flush section. */
#wat-we-bouwen,
#gebouwd {
  padding-top: var(--spacing-24);
}

/* ===== Shared section heading ===== */
.ih-heading {
  margin: 0 auto var(--spacing-40);
  font-size: clamp(32px, 3vw, 40px);
  line-height: 1.2;
  font-weight: var(--font-weight-700);
  text-align: center;
  max-width: 900px;
}

.ih-heading span {
  color: var(--color-brand-terracotta);
}

/* ===== Base section surfaces ===== */
.ih-section {
  padding: var(--spacing-80) 0;
}

.ih-section--dark {
  background: var(--color-brand-navy);
  color: var(--white-text);
}

.ih-section--dark .ih-heading span {
  color: var(--accent-orange);
}

.ih-section--light {
  background: #fff;
  color: var(--primary-text);
}

/* ===== Prose (single-column body) ===== */
.ih-prose {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-16);
}

.ih-prose p {
  margin: 0;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.65;
}

.ih-section--light .ih-prose p {
  color: var(--primary-text);
}

.ih-section--dark .ih-prose p {
  color: rgba(255, 255, 255, 0.82);
}

.ih-prose a {
  color: var(--color-brand-teal);
  text-decoration: none;
  font-weight: var(--font-weight-600);
  transition: color 0.3s ease;
}

.ih-prose a:hover,
.ih-prose a:focus-visible {
  color: var(--color-brand-teal-300);
}

.ih-section--dark .ih-prose a {
  color: var(--color-brand-teal-300);
}

.ih-section--dark .ih-prose a:hover,
.ih-section--dark .ih-prose a:focus-visible {
  color: var(--color-brand-teal);
}

/* ===== What we have built — case cards ===== */
.ih-cases {
  padding: var(--spacing-80) 0;
  background: var(--color-brand-navy);
}

.ih-cases .ih-heading {
  color: var(--white-text);
}

.ih-cases .ih-heading span {
  color: var(--accent-orange);
}

.ih-cases__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--spacing-16);
}

.ih-cases__item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: var(--spacing-32);
}

.ih-cases__item h3 {
  margin: 0 0 var(--spacing-16);
  font-size: clamp(18px, 2vw, 20px);
  line-height: 1.3;
  font-weight: var(--font-weight-600);
  color: var(--white-text);
}

.ih-cases__item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  font-size: clamp(14px, 2vw, 16px);
}

.ih-cases__all {
  display: flex;
  justify-content: center;
  margin-top: var(--spacing-32);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .ih-cases__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ih-cases__list {
    grid-template-columns: 1fr;
  }

  .ih-heading {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }
}
