/* Phase 18 — homepage discovery only. Retains Phase 14 compact search and all shared navigation/footer styles. */
body.ui-home .hero-bg {object-fit:cover;object-position:center 53%;}
body.ui-home .hero::after {background:linear-gradient(90deg,rgba(4,44,47,.91),rgba(7,49,49,.69) 38%,rgba(7,55,52,.1) 83%);}
body.ui-home .hero-copy {max-width:665px;}
body.ui-home .hero h1 {letter-spacing:-.058em;}
body.ui-home .ms18-main {padding-bottom:12px;}
body.ui-home .ms18-main .wrap {width:min(1320px,calc(100% - 96px));}
body.ui-home .ms18-interests {display:flex;align-items:center;flex-wrap:nowrap;gap:9px;overflow-x:auto;scrollbar-width:thin;margin-top:2px;margin-bottom:12px;padding:8px 0 14px;border-bottom:1px solid #e5eeea;}
body.ui-home .ms18-interests .interest-label {display:inline-block;color:#18483e;font-size:14px;white-space:nowrap;margin-right:8px;}
body.ui-home .ms18-interests .category-chip {display:inline-flex;flex:0 0 auto;align-items:center;gap:7px;white-space:nowrap;min-height:35px;padding:7px 11px;font-size:11px;}
body.ui-home .ms18-chip-icon {width:15px;height:15px;flex:none;}
body.ui-home .ms18-band {display:grid;grid-template-columns:185px minmax(0,1fr);gap:25px;align-items:start;margin:0;padding:19px 0 13px;min-width:0;}
body.ui-home .ms18-band-intro {min-width:0;padding-top:4px;}
body.ui-home .ms18-band-intro .kicker {display:block;font-size:10px;line-height:1.35;letter-spacing:.1em;margin-bottom:4px;}
body.ui-home .ms18-band-intro h2 {font-size:clamp(23px,2.15vw,30px);line-height:1.07;letter-spacing:-.045em;color:#153e37;margin:0;}
body.ui-home .ms18-band-intro p {font-size:12px;line-height:1.5;color:#647c76;margin:8px 0 13px;max-width:175px;}
body.ui-home .ms18-action {display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:35px;padding:8px 15px;border:1px solid #f57960;border-radius:999px;font-size:12px;font-weight:800;line-height:1.3;text-decoration:none;white-space:nowrap;color:#dd6045;background:#fff;}
body.ui-home .ms18-action:hover {transform:translateY(-1px);filter:brightness(.97);}
body.ui-home .ms18-action-green {background:#077452;border-color:#077452;color:#fff;}
body.ui-home .ms18-action-coral {background:#f57960;color:#fff;}
body.ui-home .ms18-cards {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;min-width:0;align-items:stretch;}
body.ui-home .ms18-card {min-width:0;max-width:100%;overflow:hidden;background:#fff;border:1px solid #e3ece7;border-radius:14px;box-shadow:0 6px 15px rgba(14,55,47,.08);display:flex;flex-direction:column;transition:transform .18s,box-shadow .18s;}
body.ui-home .ms18-card:hover {transform:translateY(-2px);box-shadow:0 12px 23px rgba(14,55,47,.13);}
body.ui-home .ms18-card-image {position:relative;aspect-ratio:1.9;background:#dcece5;overflow:hidden;}
body.ui-home .ms18-card-image>a {display:block;width:100%;height:100%;}
body.ui-home .ms18-card-image img {width:100%;height:100%;object-fit:cover;display:block;}
body.ui-home .ms18-kind {position:absolute;top:9px;left:9px;border-radius:7px;background:#fff;color:#184b41;font-size:10px;font-weight:800;padding:5px 9px;max-width:65%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;pointer-events:none;}
body.ui-home .ms18-card .heart {position:absolute;top:7px;right:8px;width:31px;height:31px;border-radius:50%;display:grid;place-items:center;font-size:19px;line-height:1;background:#fff;color:#d9654a;box-shadow:0 2px 10px #15372f1a;z-index:2;}
body.ui-home .ms18-card .heart.saved {color:#cf442c;background:#fff1eb;}
body.ui-home .ms18-card-body {display:flex;flex-direction:column;gap:7px;flex:1;min-height:104px;padding:10px 12px 11px;}
body.ui-home .ms18-card-body h3 {margin:0;font-size:14px;line-height:1.25;letter-spacing:-.025em;font-weight:800;color:#143f36;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
body.ui-home .ms18-card-body h3 a {color:inherit;text-decoration:none;}
body.ui-home .ms18-card-body h3 a:hover {color:#d65f48;text-decoration:underline;}
body.ui-home .ms18-card-details {display:flex;gap:8px 12px;align-items:center;flex-wrap:wrap;color:#657e76;font-size:10px;line-height:1.4;}
body.ui-home .ms18-card-details span {overflow:hidden;max-width:100%;text-overflow:ellipsis;white-space:nowrap;}
body.ui-home .ms18-card-bottom {display:flex;justify-content:space-between;align-items:flex-end;gap:5px;min-height:25px;margin-top:auto;}
body.ui-home .ms18-card-from {font-size:10px;color:#477467;line-height:1.35;}
body.ui-home .ms18-card-from strong {font-weight:900;color:#087453;font-size:14px;white-space:nowrap;}
body.ui-home .ms18-card-from small {font-size:9px;color:#6b877e;white-space:nowrap;}
body.ui-home .ms18-card-open {display:grid;place-items:center;width:28px;height:28px;flex:none;background:#e7f4ee;color:#087453;border-radius:50%;font-size:17px;text-decoration:none;}
body.ui-home .ms18-card-open:hover {background:#d3eadf;}
body.ui-home .ms18-stays {background:#edf8f4;border-radius:19px;margin:8px -19px;padding:18px 19px;}
body.ui-home .ms18-events {padding-top:19px;}
body.ui-home .ms18-events .ms18-band-intro h2,body.ui-home .ms18-taxi .ms18-band-intro h2 {font-size:clamp(20px,1.85vw,27px);}
body.ui-home .ms18-event-card .ms18-card-from {font-size:11px;font-weight:800;}
body.ui-home .ms18-empty {grid-column:1/-1;background:#f1f7f3;border:1px dashed #b5d5c8;border-radius:13px;padding:25px 20px;font-size:13px;color:#284e44;align-self:stretch;}
body.ui-home .ms18-empty strong {font-size:15px;display:block;}
body.ui-home .ms18-empty p {margin:6px 0 11px;color:#69857b;}
body.ui-home .ms18-empty a {color:#097454;font-weight:800;}
body.ui-home .ms18-taxi {padding-top:9px;align-items:stretch;}
body.ui-home .ms18-taxi-card {display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);align-items:center;min-width:0;min-height:123px;overflow:hidden;border-radius:17px;background:#e7f5ef;text-decoration:none;color:#144a40;position:relative;}
body.ui-home .ms18-taxi-card img {height:140px;max-height:100%;width:100%;object-fit:cover;object-position:center 62%;display:block;}
body.ui-home .ms18-taxi-copy {display:flex;flex-direction:column;gap:7px;padding:15px 24px;min-width:0;}
body.ui-home .ms18-taxi-copy strong {font-size:19px;line-height:1.18;letter-spacing:-.03em;}
body.ui-home .ms18-taxi-copy small {font-size:12px;line-height:1.4;color:#57776e;}
body.ui-home .ms18-taxi-copy>span {font-size:12px;font-weight:850;color:#087453;}
body.ui-home .ms18-taxi-card:hover .ms18-taxi-copy>span {text-decoration:underline;}
body.ui-home .ms18-destination-grid {display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:11px;min-width:0;}
body.ui-home .ms18-destination-card {display:block;position:relative;aspect-ratio:1.48;min-width:0;border-radius:13px;overflow:hidden;background:#cae0d8;color:#fff;text-decoration:none;}
body.ui-home .ms18-destination-card img {width:100%;height:100%;object-fit:cover;display:block;transition:transform .22s;}
body.ui-home .ms18-destination-card:hover img {transform:scale(1.06);}
body.ui-home .ms18-destination-card::after {content:'';position:absolute;inset:38% 0 0;background:linear-gradient(transparent,rgba(0,38,34,.86));}
body.ui-home .ms18-destination-card span {position:absolute;z-index:1;bottom:11px;left:11px;right:8px;font-size:13px;font-weight:850;text-shadow:0 1px 6px #002a26;line-height:1.2;}
body.ui-home .ms18-booking {display:grid;grid-template-columns:235px minmax(0,1fr);align-items:center;gap:25px;background:#fff6ef;border-radius:18px;padding:18px 23px;margin:17px -3px 0;}
body.ui-home .ms18-booking-label .kicker {font-size:10px;letter-spacing:.08em;}
body.ui-home .ms18-booking h2 {font-size:22px;letter-spacing:-.045em;margin:5px 0 3px;line-height:1.15;}
body.ui-home .ms18-booking-label p {font-size:11px;margin:0;color:#6d8077;}
body.ui-home .ms18-steps {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0;padding:0;list-style:none;}
body.ui-home .ms18-steps li {min-width:0;display:flex;align-items:flex-start;gap:9px;}
body.ui-home .ms18-step-icon {flex:none;display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#fff;color:#0c9866;font-size:21px;font-weight:700;box-shadow:0 4px 10px #24594a0c;}
body.ui-home .ms18-steps strong {display:block;font-size:11px;line-height:1.3;color:#1b433a;}
body.ui-home .ms18-steps small {display:block;font-size:10px;line-height:1.35;color:#6a8179;margin-top:2px;}
body.ui-home .ms18-booking-note {font-size:11px;color:#75887e;margin:8px 0 0;padding:0 3px;}
body.ui-home .ms18-end-cta {display:flex;justify-content:space-between;align-items:center;gap:20px;padding:19px 25px;background:#075246;border-radius:17px;color:#fff;margin-top:22px;}
body.ui-home .ms18-end-cta h2 {color:#fff;margin:0;font-size:23px;letter-spacing:-.04em;line-height:1.1;}
body.ui-home .ms18-end-cta p {font-size:12px;color:#c9e9df;margin:6px 0 0;}
body.ui-home .ms18-end-cta a {color:#fff;background:#f57960;font-weight:800;font-size:12px;text-decoration:none;padding:13px 19px;border-radius:9px;white-space:nowrap;}
body.ui-home .ms18-trust {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:13px 0 0;padding:13px 5px 18px;font-size:11px;color:#3c6559;font-weight:750;}
body.ui-home .ms18-trust span {display:block;text-align:center;border-right:1px solid #e2ebe6;}
body.ui-home .ms18-trust span:last-child {border:0;}
@media(max-width:1150px) {
  body.ui-home .ms18-main .wrap {width:calc(100% - 56px);}
  body.ui-home .ms18-band {grid-template-columns:165px minmax(0,1fr);gap:16px;}
  body.ui-home .ms18-cards {grid-template-columns:repeat(3,minmax(0,1fr));}
  body.ui-home .ms18-destination-grid {grid-template-columns:repeat(3,minmax(0,1fr));}
  body.ui-home .ms18-stays {margin-inline:-12px;padding-inline:12px;}
  body.ui-home .ms18-booking {grid-template-columns:1fr;gap:14px;}
}
@media(max-width:760px) {
  body.ui-home .ms18-main .wrap {width:calc(100% - 32px);}
  body.ui-home .ms18-band {grid-template-columns:minmax(0,1fr);gap:12px;padding-top:22px;}
  body.ui-home .ms18-band-intro {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 10px;align-items:center;}
  body.ui-home .ms18-band-intro .kicker {grid-column:1/-1;}
  body.ui-home .ms18-band-intro h2 {font-size:25px;}
  body.ui-home .ms18-band-intro p {grid-column:1/2;margin:2px 0 0;max-width:none;}
  body.ui-home .ms18-band-intro .ms18-action {grid-column:2/3;grid-row:2/4;}
  body.ui-home .ms18-cards {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
  body.ui-home .ms18-stays {margin-inline:0;padding:14px;border-radius:15px;}
  body.ui-home .ms18-card-image {aspect-ratio:1.7;}
  body.ui-home .ms18-booking {padding:18px;}
  body.ui-home .ms18-steps {grid-template-columns:repeat(2,minmax(0,1fr));}
  body.ui-home .ms18-taxi-card {grid-template-columns:minmax(0,1fr) minmax(0,1fr);}
  body.ui-home .ms18-taxi-copy {padding:12px;}
  body.ui-home .ms18-taxi-copy strong {font-size:16px;}
}
@media(max-width:480px) {
  body.ui-home .hero-bg {object-position:58% 50%;}
  body.ui-home .ms18-main .wrap {width:calc(100% - 28px);}
  body.ui-home .ms18-interests {padding-bottom:9px;margin-bottom:4px;}
  body.ui-home .ms18-interests .interest-label {display:none;}
  body.ui-home .ms18-band {padding-top:19px;}
  body.ui-home .ms18-band-intro h2 {font-size:22px;}
  body.ui-home .ms18-band-intro p {font-size:11px;}
  body.ui-home .ms18-action {font-size:11px;padding:8px 11px;}
  body.ui-home .ms18-cards {display:grid;grid-auto-flow:column;grid-auto-columns:min(80vw,260px);grid-template-columns:none;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-inline:contain;scrollbar-width:thin;padding-bottom:10px;}
  body.ui-home .ms18-card {scroll-snap-align:start;}
  body.ui-home .ms18-card-body {min-height:102px;}
  body.ui-home .ms18-destination-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}
  body.ui-home .ms18-taxi-card {grid-template-columns:1fr;}
  body.ui-home .ms18-taxi-card img {max-height:140px;}
  body.ui-home .ms18-taxi-copy {padding:12px 15px;}
  body.ui-home .ms18-booking h2 {font-size:21px;}
  body.ui-home .ms18-booking {margin:17px 0 0;padding:16px 14px;}
  body.ui-home .ms18-steps {gap:14px 8px;}
  body.ui-home .ms18-steps li {gap:7px;}
  body.ui-home .ms18-steps small {font-size:10px;}
  body.ui-home .ms18-end-cta {flex-direction:column;align-items:flex-start;padding:19px;}
  body.ui-home .ms18-end-cta h2 {font-size:22px;}
  body.ui-home .ms18-trust {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
  body.ui-home .ms18-trust span:nth-child(2) {border-right:0;}
}
@media(prefers-reduced-motion:reduce) {
  body.ui-home .ms18-card,body.ui-home .ms18-destination-card img {transition:none;}
}
