/* Lapland Explorers v3 look outside the tour pages (owner, 16.11.2026): the /tours catalogue and the homepage
   reviews follow the Hunt page (GetYourGuide-style cards, rating block with big score and large stars).
   No new copy: everything is restyled or rearranged from the page's own text. */

/* ---------- Shared: rating block (same as the Hunt page reviews) ---------- */
.lx-score { display: grid; justify-items: center; align-content: center; gap: 2px; padding: 14px 22px 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(6, 30, 22, .9); box-shadow: 0 10px 28px rgba(0,0,0,.25); text-align: center; }
.lx-score-num { margin: 0; line-height: 1; color: #fff; }
.lx-score-num b { font-size: 44px; font-weight: 800; letter-spacing: -.02em; }
.lx-score-num span { margin-left: 2px; font-size: 18px; font-weight: 700; color: rgba(255,255,255,.66); }
.lx-score-stars { display: flex; gap: 5px; margin-top: 8px; }
.lx-score-stars svg { width: 26px; height: 26px; display: block; filter: drop-shadow(0 1px 2px rgba(0,0,0,.35)); }
.lx-score-count { margin: 8px 0 0; font-size: 13.5px; color: rgba(255,255,255,.72); }

/* =====================================================================================================
   /tours: catalogue cards like the Hunt page cards and GetYourGuide listings (real photos kept)
   ===================================================================================================== */
.tpx-chip[disabled] { display: none !important; }
.tp-top .tp-top-row { align-items: center; }
.tp-top .lx-score { flex: none; }

.tpx-stage[data-view="grid"] .tpx-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)) !important; gap: 20px !important; }
.tpx-stage[data-view="grid"] .tpx-card {
  position: relative; display: flex !important; flex-direction: column; gap: 0; height: auto; padding: 0 !important; overflow: hidden;
  border: 1px solid rgba(255,255,255,.14) !important; border-radius: 14px !important; background: rgba(6, 30, 22, .9) !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.25); transition: border-color .2s ease, transform .2s ease;
}
.tpx-stage[data-view="grid"] .tpx-card:hover { border-color: #43c08c !important; }
.tpx-stage[data-view="grid"] .tpx-card > * { grid-area: auto !important; margin: 0 !important; }
.tpx-stage[data-view="grid"] .tpx-photo { position: relative; aspect-ratio: 3 / 2; border-radius: 0 !important; overflow: hidden; }
.tpx-stage[data-view="grid"] .tpx-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; }
.tpx-stage[data-view="grid"] .tpx-photo-tools { bottom: 10px; right: 10px; }

/* Tag on the photo's top-left corner (as the "Recommended" pill on the Hunt cards). */
.tpx-stage[data-view="grid"] .tpx-kicker {
  position: absolute; top: 10px; left: 10px; z-index: 2; margin: 0; padding: 4px 10px; border-radius: 999px;
  background: rgba(4, 20, 13, .82); color: #9fe1cb; font-size: 12px; font-weight: 700; letter-spacing: .02em; text-transform: none;
  box-shadow: 0 2px 8px rgba(0,0,0,.35); backdrop-filter: blur(4px); max-width: calc(100% - 20px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tpx-stage[data-view="grid"] .tpx-body { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 0 !important; }
.tpx-stage[data-view="grid"] .tpx-card-heading { display: flex; flex-direction: column-reverse; gap: 4px; }
.tpx-stage[data-view="grid"] .tpx-card-topline { display: block; margin: 0; }
.tpx-stage[data-view="grid"] .tpx-reviews { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; }
.tpx-stage[data-view="grid"] .tpx-review-score strong { font-weight: 700; color: #fff; }
.tpx-stage[data-view="grid"] .tpx-review-count { color: rgba(255,255,255,.66); }
.tpx-stage[data-view="grid"] .tp-title { margin: 0; font-size: 18px !important; line-height: 1.3; font-weight: 800; letter-spacing: 0; }
.tpx-stage[data-view="grid"] .tp-title a { color: #fff; text-decoration: none; }
.tpx-stage[data-view="grid"] .tp-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* whole card opens the tour */
.tpx-stage[data-view="grid"] .tpx-card-intro {
  margin: 0; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.72);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
/* Key facts as one quiet line: duration · group · ages. */
.tpx-stage[data-view="grid"] .tpx-card-facts { display: flex; flex-wrap: wrap; gap: 2px 0; margin: 0; padding: 0; border: 0 !important; background: none !important; font-size: 13.5px; color: rgba(255,255,255,.82); }
.tpx-stage[data-view="grid"] .tpx-card-facts > div { display: inline-flex; padding: 0 !important; border: 0 !important; background: none !important; }
.tpx-stage[data-view="grid"] .tpx-card-facts > div + div::before { content: "·"; margin: 0 7px; color: rgba(255,255,255,.4); }
.tpx-stage[data-view="grid"] .tpx-card-facts dt, .tpx-stage[data-view="grid"] .tpx-card-facts small, .tpx-stage[data-view="grid"] .tpx-card-facts > div:has([data-fact="season"]) { display: none !important; }
.tpx-stage[data-view="grid"] .tpx-card-facts dd { margin: 0; }
.tpx-stage[data-view="grid"] .tpx-cancel { display: flex; align-items: flex-start; gap: 6px; margin: 0; font-size: 13px; line-height: 1.4; color: #5dcaa5; }
.tpx-stage[data-view="grid"] .tpx-cancel svg { flex: none; width: 16px; height: 16px; margin-top: 1px; }
.tpx-stage[data-view="grid"] .tpx-cancel > span { display: inline; }
.tpx-stage[data-view="grid"] .tpx-cancel-label { font-weight: 700; }
.tpx-stage[data-view="grid"] .tpx-cancel-cutoff { color: rgba(255,255,255,.66); }
.tpx-stage[data-view="grid"] .tpx-cancel-cutoff::before { content: " · "; color: rgba(255,255,255,.4); }
.tpx-stage[data-view="grid"] .tpx-variant-picker { position: relative; z-index: 2; margin: 10px 16px 0 !important; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; background: rgba(255,255,255,.03); }
.tpx-stage[data-view="grid"] .tpx-variant-picker > summary { padding: 9px 12px; font-size: 14px; font-weight: 600; }

/* Price above the buttons, pinned to the card's bottom so prices line up across a row. */
.tpx-stage[data-view="grid"] .tpx-side {
  position: relative; z-index: 2; display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto !important;
  padding: 14px 16px 16px !important; border: 0 !important; background: none !important; align-items: end;
}
.tpx-stage[data-view="grid"] .tpx-side .tp-price { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; margin: 0; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.1); }
.tpx-stage[data-view="grid"] .tpx-side .tp-price small[data-price-label] { flex-basis: 100%; font-size: 13px; color: rgba(255,255,255,.66); }
.tpx-stage[data-view="grid"] .tpx-side .tp-price strong { font-size: 24px; font-weight: 800; line-height: 1.15; color: #fff; }
.tpx-stage[data-view="grid"] .tpx-side .tp-price strong .wt-sale { color: #facd75; }
.tpx-stage[data-view="grid"] .tpx-side .tp-price strong s { font-size: 16px; font-weight: 600; color: rgba(255,255,255,.55); }
.tpx-stage[data-view="grid"] .tpx-side .tp-price small[data-price-unit] { font-size: 13px; color: rgba(255,255,255,.72); }
.tpx-stage[data-view="grid"] .tpx-side .tpx-fee { grid-column: 1 / -1; margin: -6px 0 2px; font-size: 12px; color: rgba(255,255,255,.55); }
.tpx-stage[data-view="grid"] .tpx-side .tpx-card-action { grid-column: 2; grid-row: 3; margin: 0; }
.tpx-stage[data-view="grid"] .tpx-side .btn-add, .tpx-stage[data-view="grid"] .tpx-side .tpx-info {
  display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 44px; padding: 0 12px; border-radius: 999px;
  font-size: 14.5px; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.tpx-stage[data-view="grid"] .tpx-side .btn-add { background: #43c08c; color: #04140d; border: 0; }
.tpx-stage[data-view="grid"] .tpx-side .btn-add:hover { background: #5dcaa5; }
.tpx-stage[data-view="grid"] .tpx-side .tpx-info { grid-column: 1; grid-row: 3; border: 1px solid rgba(255,255,255,.28); color: #fff; background: none; }
.tpx-stage[data-view="grid"] .tpx-side .tpx-info:hover { border-color: #43c08c; }
.tpx-stage[data-view="grid"] :is(.btn-add, .tpx-info, .tpx-photo-next, .tpx-variant-picker summary):focus-visible { outline: 2px solid #5dcaa5; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .tpx-stage[data-view="grid"] .tpx-card { transition: none; } }
@media (max-width: 640px) {
  .tpx-stage[data-view="grid"] .tpx-list { gap: 16px !important; }
  .tp-top .tp-top-row { flex-direction: column; align-items: flex-start; }
  .tp-top .lx-score { grid-template-columns: auto auto; justify-items: start; column-gap: 12px; padding: 10px 14px; }
  .tp-top .lx-score .lx-score-num b { font-size: 32px; }
  .tp-top .lx-score .lx-score-stars { margin-top: 0; align-self: center; }
  .tp-top .lx-score .lx-score-stars svg { width: 22px; height: 22px; }
  .tp-top .lx-score .lx-score-count { grid-column: 1 / -1; margin-top: 4px; }
}

/* =====================================================================================================
   Homepage reviews: the Hunt page's rating block next to the heading, review sites under the heading,
   cards like the Hunt page review cards, no "Scroll for more" hint.
   ===================================================================================================== */
.lx-hrv .shead { display: flex; align-items: center; justify-content: space-between; gap: 24px; text-align: left; margin-bottom: 22px; }
.lx-hrv .shead > .lx-hrv-t { display: grid; gap: 6px; justify-items: start; min-width: 0; }
.lx-hrv .shead .shead-ey, .lx-hrv .shead .shead-h2 { margin: 0; text-align: left; }
.lx-hrv .rev-hint { display: none !important; }
.lx-hrv .lx-hrv-plat { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 6px; font-size: 13px; color: rgba(255,255,255,.66); }
.lx-hrv .lx-hrv-plat > * { margin: 0 !important; }
.lx-hrv .lx-hrv-plat .rev-link { display: inline-flex; align-items: center; min-height: 32px; }
.lx-hrv .rev-scroller { scrollbar-width: thin; }
.lx-hrv .rev {
  border: 1px solid rgba(255,255,255,.14) !important; border-radius: 14px !important; background: rgba(6, 30, 22, .9) !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.25);
}
.lx-hrv .rev .rv-stars { color: #facd75; font-size: 17px; letter-spacing: 2px; }
.lx-hrv .rev blockquote { color: rgba(255,255,255,.9); }
@media (max-width: 700px) {
  .lx-hrv .shead { flex-direction: column; align-items: stretch; gap: 16px; }
  .lx-hrv .lx-score { justify-self: start; }
}
.tpx-stage[data-view="grid"] .tpx-photo-tools { z-index: 3; }
.tpx-stage[data-view="grid"] .tpx-cancel > span, .tpx-stage[data-view="grid"] .tpx-cancel-label, .tpx-stage[data-view="grid"] .tpx-cancel-cutoff { display: inline !important; }
.tpx-stage[data-view="grid"] .tpx-card-facts [data-age-note] { display: none !important; }
.tpx-stage[data-view="grid"] .tpx-photo, .tpx-stage[data-view="grid"] .tpx-photo-link { display: block; width: 100% !important; max-width: none !important; }
.tpx-stage[data-view="grid"] .tpx-photo-link { height: 100%; }
.tpx-stage[data-view="grid"] .tpx-photo img { display: block; height: 100% !important; aspect-ratio: auto !important; }
.tpx-stage[data-view="grid"] .tpx-side .tpx-action { grid-column: 2; grid-row: 3; display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 44px; border-radius: 999px; background: #43c08c; color: #04140d; font-size: 14.5px; font-weight: 700; text-decoration: none; }
/* The photo sets the height itself (the wrapper's height did not reach the image). */
.tpx-stage[data-view="grid"] .tpx-photo { aspect-ratio: auto !important; height: auto !important; }
.tpx-stage[data-view="grid"] .tpx-photo img { width: 100% !important; height: auto !important; max-height: none !important; aspect-ratio: 3 / 2 !important; object-fit: cover; }
