/* Explore cards, ratings and type on phones (design handoff). Desktop keeps its cards. */
.exm-pills,.exm-country,.exm-regions,.exm-rating-row,.exm-tags,.exm-badge,.exm-meta,.exm-flag{display:none}
@media(max-width:767px){
 html body.explore-live-page{--exm-surface:#fff;--exm-ink:#123b61;--exm-muted:#58748c;--exm-line:#dbeaf1;--exm-control:#9fbccb;--exm-accent:#00849b;--exm-on-accent:#fff;--exm-tint:#e5f5fb;--exm-star:#f2b33d;--exm-new-bg:#fdf1d8;--exm-new-ink:#8a5a00}
 html[data-theme=dark] body.explore-live-page{--exm-surface:#202d32;--exm-ink:#edf4f7;--exm-muted:#abc2cc;--exm-line:#3a505b;--exm-control:#4f6c78;--exm-accent:#83dfd3;--exm-on-accent:#10201f;--exm-tint:#243e45;--exm-new-bg:rgba(242,179,61,.16);--exm-new-ink:#f6cd78}
 html body.explore-live-page .exm-wide{display:none}

 /* Section headers */
 html body.explore-live-page .ex-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
 html body.explore-live-page .ex-section-heading h2{margin:0;color:var(--exm-ink);font:700 20px/1.25 Arial,Helvetica,sans-serif}
 html body.explore-live-page .ex-section-count{color:var(--exm-muted);font-size:13px;font-weight:400}
 html body.explore-live-page .ex-section-link{min-height:44px;padding:0;border:0;background:none;color:var(--exm-accent)!important;font:700 13px/1 Arial,Helvetica,sans-serif}
 html body.explore-live-page .ex-section-link .ex-destinations-arrow{display:none}

 /* Grouped results: journeys stack full width, places sit in a 2-column grid. */
 html body.explore-live-page .ex-section-grid{display:grid!important;grid-auto-flow:row!important;grid-template-columns:minmax(0,1fr)!important;grid-auto-columns:auto!important;gap:12px;overflow:visible!important;margin:0;padding:0}
 html body.explore-live-page .ex-discovery-section[data-section-kind=place] .ex-section-grid,html body.explore-live-page #explore-results:has(>.ex-place-card){grid-template-columns:repeat(2,minmax(0,1fr))!important}
 /* mobile-discovery.css previewed one card per section; the design shows a short list. */
 html body.explore-live-page .ex-section-rail>.live-result-card:not(:first-child){display:flex}
 html body.explore-live-page .ex-section-rail>.ex-journey-card:nth-child(n+4),html body.explore-live-page .ex-section-rail>.ex-place-card:nth-child(n+5){display:none}
 html body.explore-live-page .ex-rail-arrow{display:none!important}

 /* Shared card frame */
 html body.explore-live-page :is(.ex-journey-card,.ex-place-card){display:flex;flex-direction:column;width:auto;min-width:0;margin:0;overflow:hidden;border:1px solid var(--exm-line);background:var(--exm-surface);box-shadow:none;color:var(--exm-ink)}
 html body.explore-live-page :is(.ex-journey-card,.ex-place-card) .ex-card-cover{position:relative;margin:0;background:var(--exm-tint)}
 html body.explore-live-page :is(.ex-journey-card,.ex-place-card) .live-card-media{display:block;width:100%;height:100%}
 html body.explore-live-page :is(.ex-journey-card,.ex-place-card) .live-card-media img{display:block;width:100%;height:100%;object-fit:cover}
 html body.explore-live-page :is(.ex-journey-card,.ex-place-card) .ex-no-photo{display:grid;place-items:center;width:100%;height:100%;background:var(--exm-tint)}
 html body.explore-live-page :is(.ex-journey-card,.ex-place-card) .ex-card-save{position:absolute;top:10px;right:10px;z-index:2;display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:rgba(8,14,16,.5)!important;color:#fff}
 html body.explore-live-page :is(.ex-journey-card,.ex-place-card) .ex-card-save::before{content:'';position:absolute;inset:-4px}
 html body.explore-live-page :is(.ex-journey-card,.ex-place-card) .ex-card-save[aria-pressed=true]{background:var(--exm-accent)!important}
 html body.explore-live-page :is(.ex-journey-card,.ex-place-card) .ex-card-save :is(img,.exj-icon){width:17px;height:17px;filter:brightness(0) invert(1)}
 html body.explore-live-page :is(.ex-journey-card,.ex-place-card) .ex-card-save .exj-icon{filter:none;background:#fff}
 html body.explore-live-page :is(.ex-journey-card,.ex-place-card) h3{margin:0;font:700 17px/1.3 Arial,Helvetica,sans-serif;text-wrap:pretty}
 html body.explore-live-page :is(.ex-journey-card,.ex-place-card) h3 a{color:var(--exm-ink)!important;text-decoration:none}

 /* Journey card */
 html body.explore-live-page .ex-journey-card{border-radius:18px}
 html body.explore-live-page .ex-journey-card .ex-card-cover{height:190px;aspect-ratio:auto}
 html body.explore-live-page .ex-journey-card .ex-card-cover::after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(8,14,16,.35),transparent 35%,transparent 60%,rgba(8,14,16,.55))}
 html body.explore-live-page .ex-journey-card .ex-card-save{width:38px;height:38px}
 html body.explore-live-page .ex-journey-card :is(.ex-duration,.exj-photo-previews,.live-description,.exj-metadata,.exj-heading .exj-social,.exj-journey-types,.exj-tags){display:none!important}
 html body.explore-live-page .exm-pills{position:absolute;top:12px;left:12px;z-index:1;display:flex;gap:6px;pointer-events:none}
 html body.explore-live-page .exm-pills>span,html body.explore-live-page .exm-badge{padding:5px 10px;border-radius:999px;background:rgba(255,255,255,.94);color:#123b61;font:700 12px/1.2 Arial,Helvetica,sans-serif}
 html body.explore-live-page .exm-country{position:absolute;left:12px;bottom:12px;z-index:1;display:flex;align-items:center;gap:7px;color:#fff;font:700 13px/1.2 Arial,Helvetica,sans-serif;pointer-events:none}
 html body.explore-live-page .exm-country .exm-flag{display:block;width:18px;height:18px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 1.5px #fff}
 html body.explore-live-page .ex-journey-card .live-card-body{display:flex;flex-direction:column;gap:10px;padding:14px 16px 16px}
 html body.explore-live-page .ex-journey-card .exj-heading{display:block;margin:0}
 html body.explore-live-page .exm-regions{display:block;margin:0;overflow:hidden;color:var(--exm-muted);font-size:13px;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}
 html body.explore-live-page .exm-rating-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
 html body.explore-live-page .exm-rating{display:inline-flex;align-items:center;gap:5px}
 html body.explore-live-page .exm-stars{color:var(--exm-star);font-size:14px;letter-spacing:-1px}
 html body.explore-live-page .exm-stars>span{color:var(--exm-line)}
 html body.explore-live-page .exm-rating strong{color:var(--exm-ink);font-size:14px;font-weight:700}
 html body.explore-live-page .exm-rating>span:last-child,html body.explore-live-page .exm-types{color:var(--exm-muted);font-size:12px}
 html body.explore-live-page .exm-new{padding:4px 10px;border-radius:999px;background:var(--exm-new-bg);color:var(--exm-new-ink);font:700 12px/1.2 Arial,Helvetica,sans-serif}
 html body.explore-live-page .exm-tags{display:flex;flex-wrap:nowrap;gap:6px;overflow:hidden}
 html body.explore-live-page .exm-tags>span{flex:none;padding:4px 10px;border-radius:999px;background:var(--exm-tint);color:var(--exm-ink);font:700 12px/1.3 Arial,Helvetica,sans-serif;white-space:nowrap}
 html body.explore-live-page .exm-tags>.exm-more{border:1px dashed var(--exm-control);background:transparent}
 html body.explore-live-page .ex-journey-card .ex-card-footer{display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:10px;margin:0;padding:12px 0 0;border-top:1px solid var(--exm-line)}
 html body.explore-live-page .ex-journey-card .ex-card-author{display:flex;align-items:center;gap:10px;min-width:0;color:var(--exm-ink);text-decoration:none}
 html body.explore-live-page .ex-journey-card .ex-author-initial{display:grid;place-items:center;flex:none;width:30px;height:30px;overflow:hidden;border-radius:50%;background:var(--exm-tint);color:var(--exm-accent);font-size:12px;font-weight:800}
 html body.explore-live-page .ex-journey-card .ex-author-initial img{width:100%;height:100%;object-fit:cover}
 html body.explore-live-page .ex-journey-card .exj-author-copy{display:grid;min-width:0;font-size:13px;line-height:1.3}
 html body.explore-live-page .ex-journey-card .exj-author-copy strong{overflow:hidden;color:var(--exm-ink);font-weight:700;text-overflow:ellipsis;white-space:nowrap}
 html body.explore-live-page .ex-journey-card .exj-by{display:none}
 html body.explore-live-page .ex-journey-card .exj-date{color:var(--exm-muted);font-size:11px}
 html body.explore-live-page .ex-journey-card .live-card-actions{flex:none;margin:0}
 html body.explore-live-page .ex-journey-card .ex-card-view{display:inline-flex;align-items:center;min-height:38px;padding:0 16px;border-radius:999px;background:var(--exm-accent)!important;color:var(--exm-on-accent)!important;font:700 13px/1 Arial,Helvetica,sans-serif;text-decoration:none}
 html body.explore-live-page .ex-journey-card .ex-card-view::before{content:'';position:absolute;inset:-3px 0}
 html body.explore-live-page .ex-journey-card .ex-card-view{position:relative}
 html body.explore-live-page .ex-journey-card .ex-card-view .exj-icon{display:none}

 /* Place card */
 html body.explore-live-page .ex-place-card{border-radius:16px}
 html body.explore-live-page .ex-place-card .ex-card-cover{aspect-ratio:1;height:auto}
 html body.explore-live-page .ex-place-card .ex-card-save{top:8px;right:8px;width:32px;height:32px}
 html body.explore-live-page .ex-place-card .ex-card-save::before{inset:-6px}
 html body.explore-live-page .ex-place-card .ex-card-save img{width:15px;height:15px}
 html body.explore-live-page .exm-badge{position:absolute;left:8px;bottom:8px;z-index:1;display:inline-flex;align-items:center;gap:4px}
 html body.explore-live-page .exm-badge>span{color:var(--exm-star)}
 html body.explore-live-page .ex-place-card .live-card-body{display:grid;gap:4px;padding:10px 12px 12px}
 html body.explore-live-page .ex-place-card h3{font-size:15px;line-height:1.3}
 html body.explore-live-page .ex-place-card .live-location{min-width:0;margin:0;color:var(--exm-muted);font-size:12px}
 html body.explore-live-page .ex-place-card :is(.ex-location-text,.ex-location-map){display:flex;align-items:center;gap:6px;min-width:0;padding:0;border:0;background:none;color:inherit;font:inherit;text-align:left}
 html body.explore-live-page .ex-place-card :is(.ex-location-text,.ex-location-map)>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 html body.explore-live-page .ex-place-card :is(.ex-location-text,.ex-location-map)>img:not(.exm-flag){display:none}
 html body.explore-live-page .ex-place-card .exm-flag{display:block;flex:none;width:14px;height:14px;border-radius:50%;object-fit:cover}
 /* theme.css dims dark-mode images; flags keep their real colours. */
 html body.explore-live-page .exm-flag{filter:none!important}
 html body.explore-live-page .ex-place-card :is(.live-tags,.ex-card-rating,.ex-card-footer){display:none!important}
 html body.explore-live-page .exm-meta{display:block;margin:0;color:var(--exm-muted);font-size:12px}

 /* Destinations: one feature tile, then a 2×2 grid. */
 html body.explore-live-page #destination-mosaic{display:grid!important;grid-template-columns:1fr 1fr;gap:10px}
 html body.explore-live-page .ex-destination-tile{position:relative;display:block;height:130px;min-height:0;overflow:hidden;border-radius:16px;color:#fff;text-decoration:none}
 html body.explore-live-page .ex-destination-tile:first-child{grid-column:1/-1;height:200px;border-radius:18px}
 html body.explore-live-page .ex-destination-tile>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
 html body.explore-live-page .ex-destination-tile::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 30%,rgba(8,14,16,.85))}
 html body.explore-live-page .ex-destination-copy{position:absolute;inset:auto 12px 12px;z-index:1;display:grid;gap:2px;width:auto;max-width:none;min-width:0;padding:0;background:none}
 html body.explore-live-page .ex-destination-copy>*{min-width:0;max-width:100%}
 html body.explore-live-page .ex-destination-country{display:block;color:#fff;font:700 10px/1.3 Arial,Helvetica,sans-serif;letter-spacing:.12em;text-transform:uppercase}
 html body.explore-live-page .ex-destination-country img,html body.explore-live-page .ex-destination-tag{display:none}
 html body.explore-live-page .ex-destination-copy h3{margin:0;color:#fff;font:700 16px/1.2 Arial,Helvetica,sans-serif}
 html body.explore-live-page .ex-destination-copy p{display:none}
 html body.explore-live-page .ex-destination-tile:first-child .ex-destination-country{font-size:11px}
 html body.explore-live-page .ex-destination-tile:first-child h3{font-size:24px}
 html body.explore-live-page .ex-destination-tile:first-child p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:2px 0 0;overflow:hidden;color:#e3ecee;font-size:13px;line-height:1.4;white-space:normal}
 html body.explore-live-page :is(.ex-journey-card,.ex-place-card,.ex-destination-tile) :is(a,button):focus-visible,html body.explore-live-page .ex-destination-tile:focus-visible{outline:3px solid var(--exm-accent);outline-offset:2px}
}

/* Flags in front of each country on a journey card's location line. */
.ex-journey-card .exm-regions .place-flag{display:inline-block;width:16px;height:12px;margin:0 4px 0 0;vertical-align:-1px;border-radius:2px;object-fit:cover;box-shadow:0 0 0 1px rgba(11,49,92,.14)}
