/* Theo Properties RC1.0.11.20.7
   Premium Connected Journey — responsive section only.
   Loaded last. No other landing/workspace sections are modified. */

/* Make the approved journey visible in Explore across auth state and all devices. */
#explore .how-theo-works.how-theo-works-v2{
  display:block!important;
  max-width:1720px!important;
  margin:0 auto 56px!important;
  padding:42px 38px 38px!important;
  border:1px solid rgba(18,48,70,.10)!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  box-shadow:none!important;
}

#explore .how-theo-works-v2 .journey-intro{
  display:grid!important;
  grid-template-columns:minmax(0,.9fr) minmax(420px,1.1fr)!important;
  grid-template-areas:"kicker kicker" "title copy"!important;
  align-items:end!important;
  gap:12px 56px!important;
  margin:0!important;
  padding:0 0 28px!important;
  border-bottom:1px solid rgba(18,48,70,.11)!important;
}
#explore .how-theo-works-v2 .journey-intro .marketplace-section-kicker{
  grid-area:kicker!important;
  margin:0!important;
  color:#a86f25!important;
  font:800 12px/1.2 Inter,system-ui,sans-serif!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
}
#explore .how-theo-works-v2 .journey-intro h2{
  grid-area:title!important;
  margin:0!important;
  color:#112b40!important;
  font:700 clamp(30px,2.15vw,42px)/1.06 "Inter Tight",Inter,system-ui,sans-serif!important;
  letter-spacing:-.035em!important;
}
#explore .how-theo-works-v2 .journey-intro p{
  grid-area:copy!important;
  max-width:650px!important;
  margin:0!important;
  color:#657a89!important;
  font:500 16px/1.48 Inter,system-ui,sans-serif!important;
}

#explore .journey-stage-card{
  margin:28px 0 0!important;
  overflow:hidden!important;
  border:1px solid rgba(18,48,70,.11)!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 14px 34px rgba(17,43,65,.065)!important;
}
#explore .journey-stage-media{
  position:relative!important;
  width:100%!important;
  height:clamp(330px,27vw,500px)!important;
  min-height:0!important;
  overflow:hidden!important;
  background:#173247!important;
}
#explore .journey-stage-media>img{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center 50%!important;
}
#explore .journey-stage-media-shade{
  position:absolute!important;
  inset:0!important;
  background:linear-gradient(90deg,rgba(8,26,40,.62) 0%,rgba(8,26,40,.22) 34%,rgba(8,26,40,.02) 70%)!important;
}
#explore .journey-stage-label{
  position:absolute!important;
  left:30px!important;
  right:30px!important;
  bottom:26px!important;
  z-index:2!important;
  color:#fff!important;
}
#explore .journey-stage-label span{
  display:block!important;
  margin:0 0 7px!important;
  color:#e2b66c!important;
  font:800 11px/1 Inter,system-ui,sans-serif!important;
  letter-spacing:.13em!important;
  text-transform:uppercase!important;
}
#explore .journey-stage-label strong{
  display:block!important;
  margin:0!important;
  color:#fff!important;
  font:650 clamp(28px,2.2vw,38px)/1.05 "Inter Tight",Inter,system-ui,sans-serif!important;
  letter-spacing:-.035em!important;
}

#explore .journey-stage-steps{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:0!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
  list-style:none!important;
  background:#fff!important;
  scroll-snap-type:none!important;
}
#explore .journey-stage-steps li{
  position:relative!important;
  display:grid!important;
  grid-template-columns:32px 32px minmax(0,1fr)!important;
  align-items:start!important;
  gap:9px!important;
  min-width:0!important;
  padding:18px 15px 20px!important;
  border-right:1px solid #e6ecee!important;
  background:#fff!important;
}
#explore .journey-stage-steps li:last-child{border-right:0!important}
#explore .journey-stage-steps li:not(:last-child)::after{
  content:"→"!important;
  position:absolute!important;
  right:-8px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  z-index:2!important;
  display:grid!important;
  place-items:center!important;
  width:16px!important;
  height:16px!important;
  border-radius:50%!important;
  background:#fff!important;
  color:#c79243!important;
  font-size:11px!important;
  font-weight:800!important;
}
#explore .journey-stage-number{
  display:inline-grid!important;
  place-items:center!important;
  width:30px!important;
  height:30px!important;
  border-radius:8px!important;
  background:#fbf1e4!important;
  color:#956124!important;
  font:800 10px/1 Inter,system-ui,sans-serif!important;
  letter-spacing:.05em!important;
}
#explore .journey-stage-icon{
  display:grid!important;
  place-items:center!important;
  width:30px!important;
  height:30px!important;
  color:#648296!important;
}
#explore .journey-stage-icon svg{
  width:21px!important;
  height:21px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.7!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
#explore .journey-stage-steps strong{
  display:block!important;
  margin:0 0 5px!important;
  color:#173247!important;
  font:700 15px/1.12 "Inter Tight",Inter,system-ui,sans-serif!important;
}
#explore .journey-stage-steps small{
  display:block!important;
  color:#6e7f89!important;
  font:500 11px/1.42 Inter,system-ui,sans-serif!important;
}

/* iPad landscape / compact desktop */
@media (min-width:900px) and (max-width:1180px){
  #explore .how-theo-works.how-theo-works-v2{
    margin-bottom:46px!important;
    padding:34px 28px 30px!important;
    border-radius:16px!important;
  }
  #explore .how-theo-works-v2 .journey-intro{
    grid-template-columns:minmax(0,.9fr) minmax(360px,1.1fr)!important;
    gap:10px 34px!important;
    padding-bottom:22px!important;
  }
  #explore .how-theo-works-v2 .journey-intro h2{font-size:31px!important}
  #explore .how-theo-works-v2 .journey-intro p{font-size:14px!important}
  #explore .journey-stage-card{margin-top:22px!important;border-radius:14px!important}
  #explore .journey-stage-media{height:clamp(280px,31vw,360px)!important}
  #explore .journey-stage-label{left:24px!important;bottom:22px!important}
  #explore .journey-stage-label strong{font-size:28px!important}
  #explore .journey-stage-steps li{
    grid-template-columns:27px 27px minmax(0,1fr)!important;
    gap:6px!important;
    padding:15px 10px 17px!important;
  }
  #explore .journey-stage-number{width:26px!important;height:26px!important;font-size:9px!important}
  #explore .journey-stage-icon{width:26px!important;height:26px!important}
  #explore .journey-stage-icon svg{width:18px!important;height:18px!important}
  #explore .journey-stage-steps strong{font-size:13.5px!important}
  #explore .journey-stage-steps small{font-size:9.7px!important}
}

/* iPad portrait */
@media (min-width:701px) and (max-width:899px){
  #explore .how-theo-works.how-theo-works-v2{
    display:block!important;
    margin:0 16px 42px!important;
    padding:30px 24px 28px!important;
    border-radius:16px!important;
  }
  #explore .how-theo-works-v2 .journey-intro{
    grid-template-columns:1fr!important;
    grid-template-areas:"kicker" "title" "copy"!important;
    gap:9px!important;
    padding-bottom:22px!important;
  }
  #explore .how-theo-works-v2 .journey-intro h2{font-size:34px!important}
  #explore .how-theo-works-v2 .journey-intro p{max-width:680px!important;font-size:15px!important}
  #explore .journey-stage-card{margin-top:22px!important;border-radius:14px!important}
  #explore .journey-stage-media{height:auto!important;aspect-ratio:16/9!important;min-height:0!important}
  #explore .journey-stage-label{left:22px!important;right:22px!important;bottom:20px!important}
  #explore .journey-stage-label strong{font-size:28px!important}
  #explore .journey-stage-steps{
    display:flex!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scroll-snap-type:x mandatory!important;
    scrollbar-width:none!important;
    -webkit-overflow-scrolling:touch!important;
    padding-right:22px!important;
  }
  #explore .journey-stage-steps::-webkit-scrollbar{display:none!important}
  #explore .journey-stage-steps li{
    flex:0 0 44%!important;
    min-width:44%!important;
    scroll-snap-align:start!important;
    grid-template-columns:30px 30px minmax(0,1fr)!important;
    padding:17px 15px 18px!important;
  }
  #explore .journey-stage-steps li:not(:last-child)::after{display:none!important}
  #explore .journey-stage-steps strong{font-size:15px!important}
  #explore .journey-stage-steps small{font-size:10.8px!important}
}

/* iPhone / compact phones — old rollback CSS hid this section; restore it explicitly. */
@media (max-width:700px){
  #explore .how-theo-works.how-theo-works-v2{
    display:block!important;
    margin:8px 9px 34px!important;
    padding:24px 14px 18px!important;
    border-radius:14px!important;
    background:#fbfcfc!important;
  }
  #explore .how-theo-works-v2 .journey-intro{
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-template-areas:"kicker" "title" "copy"!important;
    gap:8px!important;
    padding:0 0 18px!important;
  }
  #explore .how-theo-works-v2 .journey-intro .marketplace-section-kicker{font-size:10.5px!important}
  #explore .how-theo-works-v2 .journey-intro h2{
    font-size:28px!important;
    line-height:1.06!important;
  }
  #explore .how-theo-works-v2 .journey-intro p{
    max-width:none!important;
    font-size:13.5px!important;
    line-height:1.46!important;
  }
  #explore .journey-stage-card{margin-top:17px!important;border-radius:13px!important}
  #explore .journey-stage-media{
    display:block!important;
    height:auto!important;
    aspect-ratio:16/10!important;
    min-height:0!important;
  }
  #explore .journey-stage-media>img{object-position:center 50%!important}
  #explore .journey-stage-label{left:17px!important;right:17px!important;bottom:16px!important}
  #explore .journey-stage-label span{font-size:9.5px!important;margin-bottom:5px!important}
  #explore .journey-stage-label strong{font-size:23px!important}
  #explore .journey-stage-steps{
    display:flex!important;
    grid-template-columns:none!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scroll-snap-type:x mandatory!important;
    scrollbar-width:none!important;
    -webkit-overflow-scrolling:touch!important;
    padding:0 28px 0 0!important;
  }
  #explore .journey-stage-steps::-webkit-scrollbar{display:none!important}
  #explore .journey-stage-steps li{
    flex:0 0 78%!important;
    min-width:78%!important;
    scroll-snap-align:start!important;
    grid-template-columns:28px 28px minmax(0,1fr)!important;
    gap:8px!important;
    padding:15px 13px 16px!important;
  }
  #explore .journey-stage-steps li:not(:last-child)::after{display:none!important}
  #explore .journey-stage-number{width:27px!important;height:27px!important;font-size:9px!important}
  #explore .journey-stage-icon{width:27px!important;height:27px!important}
  #explore .journey-stage-icon svg{width:18px!important;height:18px!important}
  #explore .journey-stage-steps strong{font-size:15px!important}
  #explore .journey-stage-steps small{font-size:10.5px!important;line-height:1.4!important}
}

/* Phone landscape: keep the property image but reduce height; show wider stage cards. */
@media (max-width:900px) and (orientation:landscape) and (max-height:520px){
  #explore .how-theo-works.how-theo-works-v2{margin:8px 12px 28px!important;padding:20px 16px 16px!important}
  #explore .how-theo-works-v2 .journey-intro h2{font-size:25px!important}
  #explore .journey-stage-media{height:220px!important;aspect-ratio:auto!important}
  #explore .journey-stage-steps li{flex-basis:46%!important;min-width:46%!important}
}

@media (prefers-reduced-motion:reduce){
  #explore .journey-stage-steps li{transition:none!important}
}
