/* Meerwasserentsalzung Page Styles */
.mainContent {
  min-height: 100vh;
  background-color: #ffffff;
}

.contentContainer {
  max-width: 1416px;
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  margin: 60px 0;
  background-color: #ffffff !important;
}

.coloredSection {
  background-color: #f4f9ff !important;
  padding: 40px 0 !important;
  margin: 40px 0 !important;
  border-radius: 0 !important;
  width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  overflow-x: hidden;
}

.coloredSection > * {
  background-color: transparent;
}

.sectionTitle {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 40px;
  font-weight: bold;
  color: #2a2f43;
  text-align: left;
  margin: 0 0 20px 0;
  position: relative;
  max-width: 1416px;
  width: 100%;
  padding: 0;
}

.leftLineTitle.sectionTitle::before {
  content: '' !important;
  position: absolute !important;
  left: calc(-50vw + 50%) !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: calc(50vw - 50% - 40px) !important;
  height: 2px !important;
  background-color: #E30A1D !important;
  z-index: 10 !important;
  display: block !important;
}

.bodyText {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1.05rem;
  color: #333;
  margin: 0 0 20px 0;
  line-height: 1.7;
}

.textImageSection {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin: 30px 0;
}

.textContent {
  flex: 1.2;
}

.imageContent {
  flex: 1;
  text-align: center;
}

.sectionImage {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.figureBlock {
  margin: 0 0 30px 0;
}

.figureCentered {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.figureCentered .sectionImage {
  margin: 0 auto;
}

.figureBlock figcaption {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.95rem;
  color: #666;
  margin-top: 10px;
  line-height: 1.4;
  text-align: center;
}

.figureGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 30px 0 40px 0;
}

.videoEmbed {
  max-width: 960px;
  margin: 10px auto 40px auto;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}

.videoEmbed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 768px) {
  .leftLineTitle.sectionTitle::before {
    display: none !important;
  }

  .textImageSection {
    flex-direction: column;
    gap: 20px;
  }

  .figureGrid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .sectionTitle {
    font-size: 2rem;
  }

  .contentContainer {
    padding: 0 15px;
  }
}
