/* EcoSapa Tour Pages v0.35.4 — HARD-LOCKED Related Tours component.
   Scope: single-trip related-tour section only. This file loads after the global
   typography lock so destination-specific CSS cannot regress the approved card. */
body.single-trip .es-related-v1{
  --rt-text:#2f3f4f;
  --rt-strong:#34485a;
  --rt-body:#475467;
  --rt-muted:#667085;
  --rt-line:#e4e7ec;
  --rt-red:#ed1c24;
  --rt-price:#b42318;
  width:100%!important;
  max-width:none!important;
  margin:38px 0 44px!important;
  padding:0!important;
  border:0!important;
  font-family:Roboto,Arial,sans-serif!important;
}
body.single-trip .es-related-v1__head{
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:24px!important;
  margin:0 0 22px!important;
}
body.single-trip .es-related-v1__heading{min-width:0!important}
body.single-trip .es-related-v1__heading h2{
  margin:0 0 6px!important;
  color:var(--rt-text)!important;
  font-size:29px!important;
  line-height:1.22!important;
  font-weight:800!important;
  letter-spacing:-.02em!important;
}
body.single-trip .es-related-v1__heading p{
  max-width:760px!important;
  margin:0!important;
  color:var(--rt-body)!important;
  font-size:16px!important;
  line-height:1.64!important;
  font-weight:400!important;
}
body.single-trip .es-related-v1__all{
  display:inline-flex!important;
  flex:0 0 auto!important;
  align-items:center!important;
  gap:7px!important;
  min-height:42px!important;
  color:#0b63c7!important;
  font-size:15px!important;
  line-height:1.2!important;
  font-weight:700!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}
body.single-trip .es-related-v1__all svg{width:17px!important;height:17px!important}
body.single-trip .es-related-v1__all:hover{color:var(--rt-red)!important}
body.single-trip .es-related-v1__grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:22px!important;
  align-items:stretch!important;
}
body.single-trip .es-related-v1__card{
  display:flex!important;
  flex-direction:column!important;
  min-width:0!important;
  overflow:hidden!important;
  background:#fff!important;
  border:1px solid var(--rt-line)!important;
  border-radius:14px!important;
  box-shadow:0 7px 22px rgba(16,24,40,.055)!important;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease!important;
}
body.single-trip .es-related-v1__card:hover{
  transform:translateY(-3px)!important;
  border-color:#d5dbe1!important;
  box-shadow:0 14px 32px rgba(16,24,40,.10)!important;
}
body.single-trip .es-related-v1__media{
  position:relative!important;
  display:block!important;
  width:100%!important;
  height:235px!important;
  margin:0!important;
  overflow:hidden!important;
  border-radius:0!important;
  background:#eef2f4!important;
}
body.single-trip .es-related-v1__media:after{display:none!important}
body.single-trip .es-related-v1__media img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  margin:0!important;
  object-fit:cover!important;
  transition:transform .28s ease!important;
}
body.single-trip .es-related-v1__card:hover .es-related-v1__media img{transform:scale(1.025)!important}
body.single-trip .es-related-v1__badge{
  position:absolute!important;
  top:12px!important;
  left:12px!important;
  z-index:2!important;
  display:inline-flex!important;
  align-items:center!important;
  min-height:28px!important;
  padding:0 10px!important;
  border-radius:999px!important;
  background:var(--rt-red)!important;
  color:#fff!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:800!important;
  letter-spacing:.02em!important;
  box-shadow:0 3px 10px rgba(16,24,40,.14)!important;
}
body.single-trip .es-related-v1__body{
  display:flex!important;
  flex:1 1 auto!important;
  flex-direction:column!important;
  min-width:0!important;
  padding:18px 18px 17px!important;
}
body.single-trip .es-related-v1__meta{
  min-height:22px!important;
  margin:0 0 7px!important;
  color:var(--rt-muted)!important;
  font-size:14px!important;
  line-height:1.5!important;
  font-weight:400!important;
}
body.single-trip .es-related-v1__card h3{
  margin:0 0 14px!important;
  color:var(--rt-text)!important;
  font-size:21px!important;
  line-height:1.34!important;
  font-weight:800!important;
  letter-spacing:-.015em!important;
}
body.single-trip .es-related-v1__card h3 a{
  color:inherit!important;
  font:inherit!important;
  text-decoration:none!important;
}
body.single-trip .es-related-v1__card h3 a:hover{color:var(--rt-red)!important}
body.single-trip .es-related-v1__facts{
  display:flex!important;
  align-items:flex-start!important;
  flex-wrap:wrap!important;
  gap:12px 22px!important;
  min-height:48px!important;
  margin:0 0 16px!important;
}
body.single-trip .es-related-v1__fact{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  color:#667085!important;
  min-width:0!important;
}
body.single-trip .es-related-v1__fact>svg{
  flex:0 0 20px!important;
  width:20px!important;
  height:20px!important;
  color:#80919a!important;
}
body.single-trip .es-related-v1__fact>span{display:grid!important;gap:1px!important}
body.single-trip .es-related-v1__fact small{
  color:#7b8790!important;
  font-size:12px!important;
  line-height:1.2!important;
  font-weight:500!important;
}
body.single-trip .es-related-v1__fact strong{
  color:var(--rt-strong)!important;
  font-size:14.5px!important;
  line-height:1.3!important;
  font-weight:700!important;
}
body.single-trip .es-related-v1__footer{
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:14px!important;
  margin-top:auto!important;
  padding-top:15px!important;
  border-top:1px solid #eef1f4!important;
}
body.single-trip .es-related-v1__price{
  display:flex!important;
  align-items:baseline!important;
  flex-wrap:wrap!important;
  gap:3px!important;
  min-width:0!important;
}
body.single-trip .es-related-v1__price span,
body.single-trip .es-related-v1__price small{
  color:var(--rt-muted)!important;
  font-size:12px!important;
  line-height:1.2!important;
  font-weight:500!important;
}
body.single-trip .es-related-v1__price strong{
  color:var(--rt-price)!important;
  font-size:25px!important;
  line-height:1!important;
  font-weight:800!important;
  letter-spacing:-.02em!important;
}
body.single-trip .es-related-v1__cta{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  min-height:38px!important;
  color:var(--rt-strong)!important;
  font-size:13.5px!important;
  line-height:1.2!important;
  font-weight:800!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}
body.single-trip .es-related-v1__cta svg{width:15px!important;height:15px!important}
body.single-trip .es-related-v1__cta:hover{color:var(--rt-red)!important}

/* Retire every legacy Related Trips visual when v1 is present. */
body.single-trip .es-related-v1 .es-server-related-card,
body.single-trip .es-related-v1 .es-server-related-grid,
body.single-trip .es-related-v1 .es-server-related-card__heart,
body.single-trip .es-related-v1 .es-server-related-card__price{all:unset}

@media(max-width:960px){
  body.single-trip .es-related-v1__grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.single-trip .es-related-v1__grid .es-related-v1__card:last-child:nth-child(odd){grid-column:1/-1!important;max-width:560px!important}
}
@media(max-width:640px){
  body.single-trip .es-related-v1{margin:30px 0 34px!important}
  body.single-trip .es-related-v1__head{display:block!important;margin-bottom:16px!important}
  body.single-trip .es-related-v1__heading h2{font-size:25px!important}
  body.single-trip .es-related-v1__heading p{font-size:16px!important}
  body.single-trip .es-related-v1__all{margin-top:7px!important;min-height:36px!important}
  body.single-trip .es-related-v1__grid{grid-template-columns:1fr!important;gap:14px!important}
  body.single-trip .es-related-v1__grid .es-related-v1__card:last-child:nth-child(odd){grid-column:auto!important;max-width:none!important}
  body.single-trip .es-related-v1__media{height:auto!important;aspect-ratio:16/10!important}
  body.single-trip .es-related-v1__body{padding:15px!important}
  body.single-trip .es-related-v1__card h3{font-size:19px!important;margin-bottom:12px!important}
  body.single-trip .es-related-v1__facts{min-height:0!important;margin-bottom:13px!important}
  body.single-trip .es-related-v1__footer{align-items:center!important;padding-top:13px!important}
  body.single-trip .es-related-v1__price strong{font-size:23px!important}
}
