/* El río baja por el lateral y enlaza el final de cada etapa con la siguiente. */
:is(.water-journey ol, .editorial-v7 .ev-route) {
  --river-width: clamp(110px, 36%, 315px);
  background: #edf9fa;
  border: 0;
  padding: 0;
}
:is(.water-journey ol, .editorial-v7 .ev-route) > li {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: var(--river-width) minmax(0, 1fr);
  gap: 0;
  align-items: center;
  margin: 0;
  padding: 24px 0;
  border: 0;
  border-radius: 0;
  background: none;
}
:is(.water-journey ol, .editorial-v7 .ev-route) > li::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to right, transparent 68%, #edf9fa 100%) left / var(--river-width) 100% no-repeat,
              url("/assets/rio-osmobiotica.webp") left / var(--river-width) 100% no-repeat;
}
:is(.water-journey ol, .editorial-v7 .ev-route) > li > img, :is(.water-journey ol,.editorial-v7 .ev-route)>li>a>img {
  grid-column: 1;
  justify-self: center;
  width: 43% !important;
  height: clamp(88px, 12vw, 150px) !important;
  margin: 0 !important;
  object-fit: contain;
  border-radius: 8px;
}
:is(.water-journey ol, .editorial-v7 .ev-route) > li > div {
  grid-column: 2;
  padding: clamp(12px, 2vw, 24px);
  margin-right: clamp(8px, 2vw, 24px);
  background: rgba(255,255,255,.94);
  color: #173e42;
  border-radius: 14px;
}
.editorial-v7 .ev-route .ev-number {position:static;display:inline-block;width:auto;height:auto;border:0;border-radius:0;background:none;color:#285f65;margin-bottom:.4rem}
.ev-route h3 {margin-bottom:.4rem}
@media(max-width:540px){
  :is(.water-journey ol, .editorial-v7 .ev-route){--river-width:clamp(80px,26%,110px)}
  :is(.water-journey ol, .editorial-v7 .ev-route)>li{padding:12px 0}
  :is(.water-journey ol, .editorial-v7 .ev-route)>li>img, :is(.water-journey ol,.editorial-v7 .ev-route)>li>a>img{width:73% !important}
}

:is(.water-journey ol,.editorial-v7 .ev-route)>li>a{grid-column:1;display:grid;place-items:center;width:100%}
