.news-knowledge-story .news-article-body {
  max-width: none;
}

.news-knowledge-story .news-article-body > section {
  scroll-margin-top: 110px;
}

.news-knowledge-story .news-article-body > section > p {
  max-width: 760px;
}

.news-knowledge-story .news-article-body h2 {
  font-size: 2rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.news-knowledge-story .news-knowledge-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.news-knowledge-story .news-summary-copy h3 {
  font-size: 1.4rem;
  line-height: 1.3;
}

.news-knowledge-story .news-read-action {
  gap: 0.6rem;
}

.news-knowledge-story a:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 4px;
}

.news-knowledge-story .news-actions {
  flex-wrap: wrap;
}

.news-knowledge-story .news-actions a {
  white-space: normal;
  text-align: center;
}

.news-water-comparison {
  --clear-position: 50%;
  margin: 2rem 0;
  scroll-margin-top: 110px;
}

.news-water-labels {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.news-water-labels span:last-child {
  text-align: right;
}

.news-water-scene {
  position: relative;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  isolation: isolate;
  background: #111713;
}

.news-water-scene img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-water-amber {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 var(--clear-position));
  pointer-events: none;
}

.news-water-amber img {
  filter: sepia(1) saturate(4) brightness(0.78) contrast(1.08);
}

.news-water-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--clear-position);
  width: 2px;
  transform: translateX(-1px);
  background: var(--gold-soft);
  box-shadow: 0 0 4px #111713;
  pointer-events: none;
}

/* Extend the native range by half a thumb so 0/100 reach the image edges. */
.news-water-scene input[type="range"] {
  position: absolute;
  top: 50%;
  left: -22px;
  width: calc(100% + 44px);
  height: 64px;
  min-height: 64px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  transform: translateY(-50%);
  appearance: none;
  background: transparent;
  cursor: ew-resize;
  touch-action: pan-y;
  z-index: 1;
}

.news-water-scene input[type="range"]::-webkit-slider-runnable-track {
  height: 44px;
  background: transparent;
}

.news-water-scene input[type="range"]::-moz-range-track {
  height: 44px;
  background: transparent;
}

.news-water-scene input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 44px;
  height: 44px;
  border: 2px solid var(--gold-soft);
  border-radius: 50%;
  background: #111713 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23e7cb83' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m8 7-5 5 5 5m8-10 5 5-5 5'/%3E%3C/svg%3E") center / 24px no-repeat;
  box-shadow: 0 2px 8px #0008;
}

.news-water-scene input[type="range"]::-moz-range-thumb {
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  border: 2px solid var(--gold-soft);
  border-radius: 50%;
  background: #111713 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23e7cb83' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m8 7-5 5 5 5m8-10 5 5-5 5'/%3E%3C/svg%3E") center / 24px no-repeat;
}

.news-water-scene:focus-within {
  outline: 2px solid var(--gold-soft);
  outline-offset: 4px;
}

.news-water-scene input:focus-visible {
  outline: none;
}

.news-water-scene input:focus-visible::-webkit-slider-thumb {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.news-water-scene input:focus-visible::-moz-range-thumb {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.news-water-comparison figcaption {
  margin-top: 10px;
  color: var(--gold-soft);
  font-size: 13px;
}

@media (max-width: 600px) {
  .news-knowledge-story .news-article-body h2 {
    font-size: 1.65rem;
  }

  .news-knowledge-story .news-knowledge-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
