/* join.css : join tour pages only (join.php, join_book.php, join_auth.php, thanks.php for a join booking). Loaded after site.css and uses its tokens. ASCII only. Mobile first. */
.jwho { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; font-size: 14px; line-height: 22px; color: var(--ink-500); }
.jwho .ico { width: 18px; height: 18px; margin-top: 2px; }
.jwho a { color: var(--accent-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.jwho b { color: var(--ink); }

/* status pill + seat text */
.jpill { display: inline-flex; align-items: center; min-height: 26px; padding: 2px 10px; border-radius: var(--r-pill); font-size: 13px; line-height: 20px; font-weight: 600; white-space: nowrap; }
.jpill-g { background: var(--success-soft); color: var(--success); }
.jpill-o { background: #fef3c7; color: #92400e; }
.jpill-full, .jpill-shut { background: var(--surface-3); color: var(--ink-500); }
.jpill-tier { background: var(--accent-soft); color: var(--accent-text); }
.jseat { font-size: 14px; font-weight: 600; color: var(--ink-700); white-space: nowrap; }
.jseat-few { display: inline-flex; align-items: center; gap: 5px; min-height: 26px; padding: 2px 10px; border-radius: var(--r-pill); background: #d92d20; color: #fff; font-size: 13px; line-height: 20px; font-weight: 600; } /* 15/11/2026 seats left: solid red pill (more visible) */
.jseat-few::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: jseat-pulse 1.4s ease-in-out infinite; }
@keyframes jseat-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .jseat-few::before { animation: none; } }
.jcard-st { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }

/* overview : one card per departure
   25/11/2026 owner "make the join page like the other pages" (BK140): cards use the .pcard / .pgrid grid of site.css (join_card) ;
   the old horizontal card rules (.jlist .jfilters .jcard .jcard-media/body/title/side .jprice .jcard-act) are gone */
.jcard-when { display: flex; gap: 8px; align-items: center; font-size: 15px; line-height: 22px; }
.jcard-when .ico { width: 16px; height: 16px; color: var(--ink-500); flex: none; }
.jcard-note { font-size: 13px; line-height: 20px; color: var(--ink-500); }
.jgcard-book { position: relative; z-index: 1; flex: none; }	/* book button sits above the card-wide title link (.pcard-title a::after) */
.jnote { margin-top: 16px; }

/* package page : departures table (cards on phones, rows on wide screens) */
.jtable { display: grid; gap: 12px; }
.jtable-h { display: none; }
.jtable-r { display: grid; gap: 10px; padding: 14px 16px; border: 1px solid var(--line-200); border-radius: var(--r-md); background: var(--surface); }
.jt-when b { display: block; font-size: 16px; }
.jt-when small { display: block; font-size: 13px; line-height: 20px; color: var(--ink-500); }
.jt-st { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.jt-prices { display: grid; gap: 2px; margin: 0; }
.jt-prices > div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; line-height: 22px; }
.jt-prices dt { color: var(--ink-500); }
.jt-prices dd { margin: 0; font-weight: 600; white-space: nowrap; }
.jt-pr .jpill { margin-bottom: 4px; }
.jt-act .btn { width: 100%; }
.jt-st .jpill { white-space: normal; }
/* 900 - 1023 : one-column product page, the table has the full width : 4 columns with a header row */
@media (min-width: 900px) {
  .jtable { gap: 0; border: 1px solid var(--line-200); border-radius: var(--r-md); background: var(--surface); }
  .jtable-h, .jtable-r { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr) minmax(0, 1.5fr) 96px; gap: 16px; align-items: center; padding: 12px 16px; }
  .jtable-h { background: var(--surface-2); border-radius: var(--r-md) var(--r-md) 0 0; font-size: 13px; line-height: 20px; font-weight: 600; color: var(--ink-500); }
  .jtable-r { border: 0; border-top: 1px solid var(--line-200); border-radius: 0; background: transparent; }
}
/* 1024 and up : two-column product page, the main column is about 525 - 690 px wide : dates + status | prices | button, no header row (every cell carries its own label) */
@media (min-width: 1024px) {
  .jtable-h { display: none; }
  .jtable-r { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) 104px; /* 15/11/2026 fixed button column: rows without a button (full) line up */ grid-template-areas: "when pr act" "st pr act"; gap: 6px 16px; align-items: start; padding: 14px 16px; }
  .jtable-h + .jtable-r { border-top: 0; }
  .jt-when { grid-area: when; }
  .jt-st { grid-area: st; }
  .jt-pr { grid-area: pr; min-width: 0; }
  .jt-act { grid-area: act; align-self: center; }
  .jtr-pkg .jt-pr { align-self: center; } /* 21/11/2026 ผู้ใช้ขอ "กึ่งกลาง ระหว่างบนและล่าง" (BK104) : แถวราคาแพ็คเกจทัวร์ ราคาผู้ใหญ่/เด็กอยู่กึ่งกลางแนวตั้งของแถว */
  .jt-act .btn { width: auto; min-width: 76px; }
  .jt-prices dt { min-width: 0; }
}
.jbox-next { font-size: 14px; color: var(--ink-500); }
.jbox-next b { display: block; font-size: 16px; color: var(--ink); }

/* booking form */
.jbook-when { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin: 8px 0 16px; }
.jbook-when .ico { width: 18px; height: 18px; color: var(--ink-500); }
.jpax h2, .jlogin h2 { font-size: 18px; line-height: 26px; }
.jlogin h2 { display: flex; gap: 8px; align-items: center; }
.jlogin { display: grid; gap: 12px; }
.jqty { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 560px) { .jqty { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.jrecalc { justify-self: start; }
.jsum-due { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; align-items: baseline; margin-top: 12px; padding: 12px 14px; border-radius: var(--r-md); background: var(--surface-3); } /* 15/11/2026 light grey (was accent-soft pink) */
.jsum-due span { font-weight: 600; }
.jsum-due b { font-size: 20px; line-height: 28px; color: var(--accent-text); white-space: nowrap; }
.jsum-due small { grid-column: 1 / -1; font-size: 13px; line-height: 20px; color: var(--ink-700); }
/* booking form : total + status note right under the pax form (before the sign-in card / contact form). The compact total line is for the one-column layout only : from 1024 px the summary sits beside the form. */
.checkout-main > .jsum-m { margin: 16px 0; }
.checkout-main > .alert { margin: 16px 0; }
@media (min-width: 1024px) { .checkout-main > .jsum-m { display: none; } }
/* 15/11/2026 join booking: round-waiting notice light yellow (join pages only) */
.checkout-main > .alert-attention { border-color: transparent; background: #fff8e1; }
.checkout-main > .alert-attention .ico { color: #a16207; }
/* 15/11/2026 join booking: round-confirmed notice without border */
.checkout-main > .alert-success { border-color: transparent; }
/* 15/11/2026 seats available ("ว่าง"): solid green pill, same size as the status pill */
.jseat:not(.jseat-few) { display: inline-flex; align-items: center; min-height: 26px; padding: 2px 10px; border-radius: var(--r-pill); background: #15803d; color: #fff; font-size: 13px; line-height: 20px; font-weight: 600; }
/* 15/11/2026 full round: quote button in the button column (wraps to 2 lines if needed) */
.jt-act .jt-q { white-space: normal; text-align: center; line-height: 18px; padding: 6px 8px; font-size: 13px; }
/* 15/11/2026 owner request "let the customer pay in full": payment choice card (deposit / pay in full) under the pax form */
.checkout-main > .jpay { margin: 16px 0; display: grid; gap: 10px; }
.jpay h2 { font-size: 18px; line-height: 26px; }
.jpay-opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line-200); border-radius: var(--r-md); cursor: pointer; }
.jpay-opt:has(input:checked) { border-color: var(--accent-text); background: var(--surface-2); }
.jpay-opt input { flex: none; width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent-text); }
.jpay-opt span { display: grid; gap: 2px; min-width: 0; }
.jpay-opt small { font-size: 13px; line-height: 20px; color: var(--ink-700); }
.summary-note[hidden] { display: none; }
/* 15/11/2026 owner request: odd number of adults sharing rooms (3, 5 ...) without a child = extra-bed notice under the counters */
.jroom { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: var(--r-sm); background: #fff8e1; font-size: 14px; line-height: 20px; color: var(--ink); }
.jroom .ico { flex: none; width: 18px; height: 18px; color: #a16207; }

/* ---------- 16/11/2026 owner request (compare with TravelConnext, add the missing topics) : package page extras ---------- */
/* badges under the title : next departure + status + free cancellation */
.jbadges { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin-top: 10px; }
.jbadge-l { font-size: 14px; font-weight: 600; color: var(--ink-700); }
.jpill-fc { gap: 4px; background: var(--success-soft); color: var(--success); }
.jpill-fc .ico { width: 14px; height: 14px; }
/* facts bar (replaces the old specs line) */
.jfacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 16px 0 0; border: 1px solid var(--line-200); border-radius: var(--r-md); background: var(--line-200); overflow: hidden; }
.jfacts > div { display: grid; gap: 2px; align-content: start; padding: 10px 12px; background: var(--surface); min-width: 0; }
.jfacts dt { display: flex; gap: 6px; align-items: center; font-size: 12px; line-height: 18px; color: var(--ink-500); }
.jfacts dt .ico { width: 16px; height: 16px; flex: none; color: var(--accent-text); }
.jfacts dd { margin: 0; font-size: 14px; line-height: 21px; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.jfacts dd a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.jfacts dd small { display: block; font-size: 12px; line-height: 18px; font-weight: 400; color: var(--ink-500); }
.jfacts > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.jtr { display: inline-flex; gap: 4px; align-items: center; }
.jtr .ico { width: 16px; height: 16px; color: var(--ink-500); }
.jstars { color: #b45309; letter-spacing: 1px; }
@media (min-width: 640px) {
  .jfacts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .jfacts > div:last-child:nth-child(odd) { grid-column: auto; }
  .jfacts > div:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
  .jfacts > div:last-child:nth-child(3n+2) { grid-column: span 2; }
}
.jh3 { margin: 16px 0 8px; font-size: 16px; line-height: 24px; }
.jcols .jh3 { margin-top: 0; }
.jhl { margin-top: 4px; }
/* flights */
.jfl-list { display: grid; gap: 12px; }
.jfl { display: grid; gap: 10px; padding: 14px 16px; border: 1px solid var(--line-200); border-radius: var(--r-md); background: var(--surface); }
.jfl-h { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.jfl-r { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: center; }
.jfl-p b { display: block; font-size: 20px; line-height: 28px; }
.jfl-p span { display: block; font-size: 13px; line-height: 18px; color: var(--ink-500); overflow-wrap: anywhere; }
.jfl-to { text-align: right; }
.jfl-m { display: grid; justify-items: center; gap: 2px; font-size: 12px; line-height: 16px; color: var(--ink-500); text-align: center; }
.jfl-m .ico { width: 18px; height: 18px; color: var(--accent-text); }
.jfl-bg { font-size: 13px; color: var(--ink-700); }
/* itinerary per day (details / summary : works without JS) */
.jdays { display: grid; gap: 10px; }
.itin + .jdays { margin-top: 16px; }
.jday { border: 1px solid var(--line-200); border-radius: var(--r-md); background: var(--surface); }
.jday > summary { position: relative; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; padding: 12px 40px 12px 16px; cursor: pointer; list-style: none; }
.jday > summary::-webkit-details-marker { display: none; }
.jday > summary::after { content: ""; position: absolute; right: 18px; top: 18px; width: 8px; height: 8px; border-right: 2px solid var(--ink-500); border-bottom: 2px solid var(--ink-500); transform: rotate(45deg); transition: transform .15s ease; }
.jday[open] > summary::after { top: 22px; transform: rotate(-135deg); }
.jday > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--r-md); }
.jday-n { flex: none; padding: 2px 10px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent-text); font-size: 13px; line-height: 20px; font-weight: 700; }
.jday-t { font-weight: 600; color: var(--ink); }
.jday-b { padding: 0 16px 16px; }
.jday-s { margin-bottom: 14px; color: var(--ink-700); }
/* meals table */
.jmeal-w { overflow-x: auto; }
.jmeal { width: 100%; border-collapse: collapse; font-size: 14px; table-layout: fixed; } /* 16/11/2026 owner "full width" : 4 equal columns, icons centred */
.jmeal th, .jmeal td { padding: 8px 10px; border-bottom: 1px solid var(--line-200); text-align: center; }
.jmeal th[scope=row], .jmeal thead th:first-child { text-align: left; }
.jmeal thead th { background: var(--surface-2); font-size: 13px; font-weight: 600; color: var(--ink-500); }
.jmeal .ico { display: block; width: 18px; height: 18px; margin-inline: auto; }
.jmeal .is-y .ico { color: var(--success); }
.jmeal .is-n .ico { color: var(--ink-400); }
.jsr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* hotels */
.jht { display: grid; gap: 12px; }
.jht li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line-200); border-radius: var(--r-md); }
.jht-ic { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); }
.jht small { display: block; font-size: 13px; color: var(--ink-500); }
.jht p { margin-top: 4px; font-size: 14px; line-height: 22px; color: var(--ink-700); }
/* departures : depart / return line + age note */
.jt-when .jt-go { color: var(--ink-700); }
.jnote-age { margin-top: 8px; }
/* good to know : 2 columns on wide screens */
.jcols { display: grid; gap: 20px; }
@media (min-width: 640px) { .jcols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .jcols > div:only-child { grid-column: 1 / -1; } }
/* meeting point */
.jmp { display: flex; gap: 12px; align-items: flex-start; }
.jmp-ic { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); }
.jmp-b { display: grid; gap: 6px; justify-items: start; min-width: 0; }
.jmp-b p { color: var(--ink-700); }
.jmp-min { display: flex; gap: 6px; align-items: flex-start; font-size: 14px; }
.jmp-min .ico { width: 16px; height: 16px; margin-top: 3px; color: var(--ink-500); }
/* terms and conditions */
.jterms { display: grid; gap: 6px; padding-left: 20px; list-style: disc; color: var(--ink-700); }
.jcx { display: grid; gap: 1px; max-width: 620px; margin: 0; border: 1px solid var(--line-200); border-radius: var(--r-md); background: var(--line-200); overflow: hidden; }
.jcx > div { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 12px; padding: 10px 12px; background: var(--surface); font-size: 14px; line-height: 21px; }
.jcx dt { color: var(--ink-700); }
.jcx dd { margin: 0; font-weight: 600; }
.jcx .is-full dd { color: var(--success); }
.jcx .is-none dd { color: var(--ink-500); }
.jcx-t { margin-top: 8px; color: var(--ink-700); }
/* side column : print / private group / share / operator */
.jside { gap: 10px; }
.jshare { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.jshare-l { width: 100%; font-size: 13px; font-weight: 600; color: var(--ink-500); }
.jshare-b { display: inline-flex; gap: 4px; align-items: center; min-height: 36px; padding: 6px 12px; border: 1px solid var(--line-200); border-radius: var(--r-pill); background: var(--surface); color: var(--ink); font: inherit; font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer; }
.jshare-b:hover { border-color: var(--ink-500); }
.jshare-b .ico { width: 14px; height: 14px; }
.jshare-line { border-color: #06c755; color: #04813a; }
.jshare-fb { border-color: #1877f2; color: #1459b8; }
.jshare-b[hidden] { display: none; }
.jshare-msg { width: 100%; font-size: 13px; color: var(--success); }
.jshare-msg:empty { display: none; }
.jop h2 { font-size: 16px; line-height: 24px; }
.jop-n { display: flex; gap: 8px; align-items: center; }
.jop-n .ico { width: 18px; height: 18px; color: var(--accent-text); }
.jop-d { display: grid; gap: 6px; margin: 0; font-size: 13px; line-height: 20px; }
.jop-d > div { display: flex; justify-content: space-between; gap: 12px; }
.jop-d dt { color: var(--ink-500); }
.jop-d dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.jop-d a { color: var(--accent-text); }
/* 16/11/2026 (review fix) : the side column carries more cards now, so only the booking box stays fixed on desktop (any screen height);
   the tools / operator cards scroll away under it */
@media (min-width: 1024px) {
  .product-side:has(.jop) { position: static; align-self: stretch; }
  .product-side:has(.jop) > .bookbox { position: sticky; top: calc(var(--header-h) + 16px); z-index: 2; }
}
/* 16/11/2026 (owner review) : on phones the print / share and operator cards go after the content ; the booking box stays under the title */
@media (max-width: 1023.98px) {
  .product-side:has(.jop) { display: contents; }
  .product-side:has(.jop) > .bookbox { order: 3; }
  .product-side:has(.jop) > .jside, .product-side:has(.jop) > .jop { order: 5; }
}
/* day overview list (itinerary rows without day numbers) */
.jdplan { display: grid; gap: 12px; margin: 0 0 4px; padding: 0; list-style: none; }
.jdplan li { display: flex; gap: 10px; align-items: flex-start; }
.jdplan li > div { min-width: 0; }
.jdplan .jday-t { display: block; }
.jdplan p { margin-top: 2px; color: var(--ink-700); }
/* mobile bar : next departure under the price */
.cta-bar .jcta-next { display: block; font-size: 12px; line-height: 16px; color: var(--ink-500); }
/* print : the programme only (join.js opens every day before printing) */
@media print {
  .crumbs, .gallery-thumbs, .jwho, .jside, .hx-related, .jt-act, .cta-bar, .bookbox .btn { display: none !important; }
  .product { display: block; }
  .product-side, .product-side:has(.jop) > .bookbox { position: static; }
  .gallery-main { max-height: 320px; overflow: hidden; }
  .jday, .jfl, .jht li, .jcx { break-inside: avoid; }
  .jday > summary::after { display: none; }
}
/* 16/11/2026 owner "Add LINE OA" : LINE green add-friend button in the operator box */
.jop .jop-line { margin-top: 12px; background: #06C755; border-color: #06C755; color: #fff; }
.jop .jop-line:hover { background: #05b34c; border-color: #05b34c; color: #fff; }
/* 16/11/2026 owner "change the photo area to this" : mosaic gallery above the two columns (big photo left, 2x2 small right, +n on the 5th, "n photos" button) ; phones = big photo only */
.jgal { position: relative; display: grid; gap: 8px; margin: 0 0 28px; grid-template-columns: minmax(0, 1fr); }
.jgal-i { position: relative; display: block; overflow: hidden; border-radius: var(--r-lg); background: var(--surface-2); }
.jgal-i picture { display: block; width: 100%; height: 100%; }
.jgal-i img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.jgal-i:hover img { transform: scale(1.03); }
.jgal-big { aspect-ratio: 4 / 3; }
.jgal-i:not(.jgal-big) { display: none; }
.jgal-ph { display: grid; place-items: center; aspect-ratio: 16 / 7; }
.jgal-more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .38); color: #fff; font-size: 24px; font-weight: 700; }
.jgal-all { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border: 1px solid var(--line-200); border-radius: 8px; background: #fff; color: var(--ink); font-family: inherit; font-size: 14px; font-weight: 600; line-height: 20px; cursor: pointer; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.jgal-all .ico { width: 18px; height: 18px; }
@media (min-width: 640px) {
  .jgal { height: clamp(300px, 40vw, 500px); grid-template-rows: repeat(2, minmax(0, 1fr)); }
  .jgal-big { aspect-ratio: auto; grid-row: 1 / span 2; }
  .jgal-i:not(.jgal-big) { display: block; }
  .jgal-n1 { grid-template-columns: minmax(0, 1fr); }
  .jgal-n2, .jgal-n3 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
  .jgal-n2 .jgal-i:nth-child(2) { grid-row: 1 / span 2; }
  .jgal-n4, .jgal-n5 { grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr) minmax(0, 1fr); }
  .jgal-n4 .jgal-i:nth-child(2) { grid-row: 1 / span 2; }
  .jgal-i { border-radius: 10px; }
  .jgal-big { border-radius: var(--r-lg); }
  .jgal-all { left: 16px; bottom: 16px; }
}
/* full-screen viewer (join.js) */
.jlb { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; background: rgba(10, 12, 16, .92); }
.jlb[hidden] { display: none; }
.jlb-img { max-width: calc(100vw - 32px); max-height: calc(100vh - 120px); object-fit: contain; border-radius: 8px; user-select: none; }
.jlb-b { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; }
.jlb-b:hover { background: rgba(255, 255, 255, .26); }
.jlb-b .ico { width: 22px; height: 22px; }
.jlb-x { top: 16px; right: 16px; }
.jlb-p { left: 16px; top: 50%; transform: translateY(-50%); }
.jlb-n { right: 16px; top: 50%; transform: translateY(-50%); }
.jlb-c { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: #e6e9ee; font-size: 14px; }
body.jlb-open { overflow: hidden; }
@media print { .jgal-i:not(.jgal-big), .jgal-all, .jlb { display: none !important; } .jgal { display: block; height: auto; } .jgal-big { max-height: 320px; } }
/* 16/11/2026 owner request "add Related Tour and reviews" : kind label on the related row cards + traveller reviews
   (rating badge under the title, summary with 5..1 bars, list, photos, reply from the team) ; bar widths are classes because the CSP blocks style attributes */
.hx-related .hx-media { position: relative; }
.jrel-k { position: absolute; left: 8px; top: 8px; padding: 2px 8px; border-radius: var(--r-pill); background: var(--surface); color: var(--ink); font-size: 12px; line-height: 18px; font-weight: 600; box-shadow: var(--shadow-card); }
.jrv-b { gap: 4px; background: #fef3c7; color: #92400e; text-decoration: none; }
.jrv-b:hover { text-decoration: underline; }
.jrv-bs { color: #d97706; }
.jrv-stars { color: #f59e0b; letter-spacing: 1px; white-space: nowrap; }
.jrv-off { color: var(--line-400); }
.jrv-sum { display: grid; gap: 16px; align-items: center; padding: 16px; border: 1px solid var(--line-200); border-radius: var(--r-lg); background: var(--surface-2); }
@media (min-width: 640px) { .jrv-sum { grid-template-columns: 170px minmax(0, 1fr); } }
.jrv-avg { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.jrv-avg b { font-size: 40px; line-height: 44px; }
.jrv-avg .jrv-stars { font-size: 20px; line-height: 26px; }
.jrv-avg small { color: var(--ink-500); font-size: 13px; }
.jrv-bars { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.jrv-bars li { display: grid; grid-template-columns: 44px minmax(0, 1fr) 28px; gap: 8px; align-items: center; font-size: 13px; line-height: 18px; }
.jrv-bl { white-space: nowrap; color: var(--ink-700); }
.jrv-bl > span[aria-hidden] { color: #f59e0b; }
.jrv-bar { display: block; height: 8px; overflow: hidden; border-radius: var(--r-pill); background: var(--surface-3); }
.jrv-bar > span { display: block; height: 100%; border-radius: var(--r-pill); background: #f59e0b; }
.jrv-bn { text-align: right; color: var(--ink-500); }
.jrv-w0 { width: 0%; } .jrv-w5 { width: 5%; } .jrv-w10 { width: 10%; } .jrv-w15 { width: 15%; } .jrv-w20 { width: 20%; } .jrv-w25 { width: 25%; } .jrv-w30 { width: 30%; } .jrv-w35 { width: 35%; } .jrv-w40 { width: 40%; } .jrv-w45 { width: 45%; } .jrv-w50 { width: 50%; } .jrv-w55 { width: 55%; } .jrv-w60 { width: 60%; } .jrv-w65 { width: 65%; } .jrv-w70 { width: 70%; } .jrv-w75 { width: 75%; } .jrv-w80 { width: 80%; } .jrv-w85 { width: 85%; } .jrv-w90 { width: 90%; } .jrv-w95 { width: 95%; } .jrv-w100 { width: 100%; }
.jrv-list { margin: 12px 0 0; padding: 0; list-style: none; }
.jrv-i { padding: 16px 0; border-top: 1px solid var(--line-200); }
.jrv-i:first-child { border-top: 0; }
.jrv-h { display: flex; gap: 10px; align-items: center; }
.jrv-av { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); font-weight: 700; }
.jrv-who { flex: 1; min-width: 0; }
.jrv-who b { display: block; line-height: 20px; overflow-wrap: anywhere; }
.jrv-who small { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; color: var(--ink-500); font-size: 12px; line-height: 18px; }
.jrv-via { min-height: 20px; padding: 0 8px; font-size: 12px; line-height: 18px; background: var(--surface-3); color: var(--ink-700); }
.jrv-r { flex: none; }
.jrv-t { margin: 10px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.jrv-x { margin: 6px 0 0; color: var(--ink-700); overflow-wrap: anywhere; }
.jrv-ph { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.jrv-ph a { display: block; overflow: hidden; border: 1px solid var(--line-200); border-radius: var(--r-sm); }
.jrv-ph img { display: block; width: 96px; height: 72px; object-fit: cover; }
.jrv-rep { margin: 12px 0 0; padding: 10px 12px; border-left: 3px solid var(--accent); border-radius: 0 var(--r-sm) var(--r-sm) 0; background: var(--surface-2); }
.jrv-rep b { display: block; font-size: 13px; line-height: 18px; }
.jrv-rep p { margin: 4px 0 0; color: var(--ink-700); font-size: 14px; overflow-wrap: anywhere; }
.jrv-more { margin-top: 8px; }
.jrv-pg { margin: 12px 0 0; font-size: 14px; }
.jrv-note { margin-top: 12px; }
/* 16/11/2026 review fix: verified-traveller score shown when imported reviews are mixed in (same figure as aggregateRating in JSON-LD) */
.jrv-ver { margin: 10px 0 0; color: var(--ink-700); font-size: 14px; line-height: 20px; }
@media print { .jrv-more, .jrv-pg { display: none !important; } }
