.jm-discover-hero{--jm-accent:var(--kzm-primary,#fa470d);position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(122deg,#071b38 0%,#0a3b72 47%,#3151a8 100%);color:#fff;min-height:470px}
.jm-discover-hero:before,.jm-discover-hero:after{content:"";position:absolute;border-radius:50%;filter:blur(2px);pointer-events:none}.jm-discover-hero:before{width:520px;height:520px;right:4%;top:-210px;background:radial-gradient(circle,rgba(77,180,255,.36),transparent 68%)}.jm-discover-hero:after{width:330px;height:330px;left:35%;bottom:-230px;background:radial-gradient(circle,rgba(250,71,13,.3),transparent 69%)}
.jm-discover-hero__map{position:absolute;inset:0;z-index:-1;opacity:.13;background-image:linear-gradient(rgba(255,255,255,.18) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.18) 1px,transparent 1px);background-size:42px 42px;transform:perspective(700px) rotateX(56deg) scale(1.4);transform-origin:center bottom}
.jm-discover-hero__route{position:absolute;z-index:-1;width:42%;height:190px;right:8%;top:20%;border:2px dashed rgba(255,255,255,.22);border-left-color:transparent;border-bottom-color:transparent;border-radius:50%;transform:rotate(-8deg)}
.jm-discover-hero__route:before,.jm-discover-hero__route:after{content:"";position:absolute;width:12px;height:12px;border-radius:50%;background:var(--jm-accent);box-shadow:0 0 0 6px rgba(250,71,13,.18)}.jm-discover-hero__route:before{left:4%;bottom:8%}.jm-discover-hero__route:after{right:5%;top:6%}
.jm-discover-hero__inner{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(390px,.95fr);gap:64px;align-items:center;min-height:470px;padding-top:54px;padding-bottom:66px}
.jm-discover-hero__copy{max-width:670px}.jm-discover-hero__badge{display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border:1px solid rgba(255,255,255,.25);border-radius:999px;background:rgba(255,255,255,.1);backdrop-filter:blur(8px);font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.jm-discover-hero__badge i{color:#ff8a55}
.jm-discover-hero h1{max-width:650px;margin:18px 0 15px;color:#fff;font-size:clamp(38px,4vw,60px);line-height:1.02;letter-spacing:-.04em;font-weight:850}.jm-discover-hero h1 span{color:#ff986d}.jm-discover-hero__copy>p{max-width:620px;margin:0 0 25px;color:rgba(255,255,255,.78);font-size:17px;line-height:1.65}
.jm-discover-search{display:flex;align-items:center;max-width:650px;padding:7px 7px 7px 18px;background:#fff;border:1px solid rgba(255,255,255,.8);border-radius:16px;box-shadow:0 18px 50px rgba(2,12,29,.24);transition:box-shadow .2s,transform .2s}.jm-discover-search:focus-within{box-shadow:0 0 0 4px rgba(250,71,13,.28),0 18px 50px rgba(2,12,29,.24);transform:translateY(-1px)}.jm-discover-search>i{color:#31506f;font-size:17px}.jm-discover-search input{min-width:0;flex:1;height:48px;padding:0 13px;border:0;outline:0;background:transparent;color:#15263b;font-size:14px}.jm-discover-search button{height:46px;padding:0 22px;border:0;border-radius:11px;background:var(--jm-accent);color:#fff;font-weight:800;display:flex;align-items:center;gap:10px}.jm-discover-search button:hover{background:#dc3904}.jm-discover-hero__meta{display:flex;gap:22px;margin-top:17px;color:rgba(255,255,255,.7);font-size:12px;font-weight:650}.jm-discover-hero__meta span{display:flex;gap:7px;align-items:center}.jm-discover-hero__meta i{color:#ff986d}
.jm-discover-visual{position:relative;height:330px}.jm-discover-hero .places-hero-card{position:absolute;display:flex;overflow:hidden;width:245px;min-height:112px;border:1px solid rgba(255,255,255,.2);border-radius:18px;background:rgba(8,28,58,.84);box-shadow:0 22px 48px rgba(0,0,0,.28);backdrop-filter:blur(12px);color:#fff!important;transition:transform .25s,box-shadow .25s}.jm-discover-hero .places-hero-card:hover{transform:translateY(-5px) rotate(0)!important;box-shadow:0 28px 58px rgba(0,0,0,.35)}.jm-discover-hero .places-hero-card--1{width:305px;min-height:155px;left:5%;top:78px;z-index:3}.jm-discover-hero .places-hero-card--2{right:0;top:0;transform:rotate(3deg)}.jm-discover-hero .places-hero-card--3{right:2%;bottom:3px;transform:rotate(-2deg)}.jm-discover-hero .places-hero-card--4{left:-1%;bottom:-9px;transform:scale(.86) rotate(-4deg);z-index:2}.jm-discover-hero .places-hero-card--fallback{inset:70px auto auto 40px;width:320px}.jm-discover-hero .places-hero-card__image{flex:0 0 39%;min-height:112px;background:linear-gradient(145deg,#1c669b,#28a3b5) center/cover no-repeat;display:flex;align-items:center;justify-content:center;font-size:30px}.jm-discover-hero .places-hero-card--1 .places-hero-card__image{min-height:155px}.jm-discover-hero .places-hero-card__body{display:flex;min-width:0;flex:1;flex-direction:column;justify-content:center;padding:14px}.jm-discover-hero .places-hero-card__body small{color:#ff9b70;font-size:10px;font-style:normal;font-weight:850;text-transform:uppercase;letter-spacing:.06em}.jm-discover-hero .places-hero-card__body strong{overflow:hidden;margin:3px 0 7px;color:#fff;font-size:15px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.jm-discover-hero .places-hero-card--1 .places-hero-card__body strong{font-size:19px}.jm-discover-hero .places-hero-card__body em{overflow:hidden;color:rgba(255,255,255,.67);font-size:10px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.jm-discover-hero .places-hero-card__body em i{color:#ff986d;margin-right:3px}
/* Match the Places banner proportions inside the marketplace content column. */
.jm-discover-hero{border-radius:20px;min-height:0;margin-bottom:20px;box-shadow:0 12px 36px rgba(7,27,56,.18)}
.jm-discover-hero__inner{grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);gap:32px;min-height:0;padding:36px 32px}.jm-discover-hero .places-hero-card__image{position:relative}.jm-discover-hero .places-hero-card__image img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.jm-discover-hero .places-hero-card__body small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jm-discover-hero .places-hero-card:focus-visible,.jm-discover-search button:focus-visible{outline:3px solid #ff9d76;outline-offset:3px}
@media(max-width:1199.98px){.jm-discover-hero .places-hero-card--4{display:none}}
@media(max-width:991.98px){.jm-discover-hero__inner{grid-template-columns:1fr;padding:28px 24px}.jm-discover-visual{display:none}.jm-discover-hero h1{font-size:42px}}
@media(max-width:767.98px){.jm-discover-hero{border-radius:16px;margin-bottom:14px}.jm-discover-hero__inner{padding:24px 18px}.jm-discover-hero h1{font-size:38px}.jm-discover-hero__copy>p{font-size:14px}}
@media(max-width:430px){.jm-discover-hero h1{font-size:34px}.jm-discover-search{padding-left:13px}.jm-discover-search input{padding:0 9px;font-size:12px}.jm-discover-search button{padding:0 15px}}
@media(max-width:359.98px){.jm-discover-search button span{display:none}.jm-discover-search button{width:45px;justify-content:center;padding:0}}


/* Match the hero search shell to the night-mode input surface. */
body.night-mode .jm-discover-search,
.night-mode .jm-discover-search,
body[data-bs-theme="dark"] .jm-discover-search {
  background: #161f2e !important;
  border-color: #334155 !important;
}
body.night-mode .jm-discover-search > i,
.night-mode .jm-discover-search > i,
body[data-bs-theme="dark"] .jm-discover-search > i {
  color: #94a3b8;
}
