/* "Your Hotels on This Tour" - everything lives under .tq-hotels (tour pages with nights). Tokens of the site: --tp-theme-1, --tp-common-black, --tp-grey-1, --tp-border-1. */
.tq-hotels {
  --tq-tier-standard: #C2410C; --tq-tier-standard-ink: #FFFFFF;
  --tq-tier-comfort: #1D4ED8;  --tq-tier-comfort-ink: #FFFFFF;
  --tq-tier-premium: #D4A72C;  --tq-tier-premium-ink: #1F1A0E;
  --tq-hotel-gap: 16px; --tq-hotel-blue: #3A84BC;
  position: relative;
}
.tq-hotels * { box-sizing: border-box; }
.tq-hotels .tq-hotels-intro { margin: 0 0 18px; color: var(--tp-grey-1); font-size: 15px; line-height: 1.6; }
.tq-hotels .tq-hotels-intro a { color: var(--tp-theme-1); }

/* city tabs (JS only: without JS every city is a H3 + a list) */
.tq-hotels .tq-hotels-tabs { display: none; gap: 8px; margin: 0 0 16px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
.tq-hotels .tq-hotels-tabs::-webkit-scrollbar { display: none; }
.tq-hotels.is-js .tq-hotels-tabs { display: flex; }   /* (main.css hides every other [role="tablist"], a theme leftover) */
.tq-hotels .tq-hotels-tab { flex: 0 0 auto; border: 1px solid var(--tp-border-1); background: #fff; color: var(--tp-common-black); font: inherit; font-size: 14px; font-weight: 600; padding: 9px 16px; border-radius: 999px; cursor: pointer; min-height: 40px; white-space: nowrap; }
.tq-hotels .tq-hotels-tab[aria-selected="true"] { background: var(--tq-hotel-blue); border-color: var(--tq-hotel-blue); color: #fff; }
.tq-hotels .tq-hotels-tab:focus-visible, .tq-hotels .tq-hotels-btn:focus-visible, .tq-hotels .tq-hotel-links a:focus-visible, .tq-hotels .tq-hotel-add:focus-visible, .tq-hotels .tq-hotels-rail:focus-visible { outline: 3px solid var(--tq-hotel-blue); outline-offset: 2px; }
.tq-hotels .tq-hotels-city { font-size: 18px; font-weight: 700; margin: 0 0 6px; color: var(--tp-common-black); }
.tq-hotels.is-js .tq-hotels-city { display: none; }
.tq-hotels .tq-hotels-panel[hidden] { display: none; }

/* the strip */
.tq-hotels .tq-hotels-head { display: flex; justify-content: flex-end; gap: 8px; margin: 0 0 10px; min-height: 0; }
.tq-hotels .tq-hotels-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--tp-border-1); background: #fff; color: var(--tp-common-black); font-size: 26px; line-height: 1; cursor: pointer; display: none; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(17,17,17,.08); padding: 0 0 3px; }
.tq-hotels.is-js .tq-hotels-btn { display: inline-flex; }
.tq-hotels .tq-hotels-btn[disabled] { opacity: .35; cursor: default; }
.tq-hotels .tq-hotels-rail { display: flex; gap: var(--tq-hotel-gap); list-style: none; margin: 0; padding: 4px 2px 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; max-width: 100%; scrollbar-width: none; }
.tq-hotels .tq-hotels-rail::-webkit-scrollbar { display: none; }
.tq-hotels .tq-hotels-progress { height: 3px; border-radius: 3px; background: var(--tp-border-1); overflow: hidden; margin: 2px 2px 0; }
.tq-hotels .tq-hotels-progress span { display: block; height: 100%; width: 30%; background: var(--tq-hotel-blue); border-radius: 3px; transform-origin: left; }

/* a card */
.tq-hotels .tq-hotel-card { flex: 0 0 calc((100% - 2 * var(--tq-hotel-gap)) / 2.3); min-width: 0; scroll-snap-align: start; background: #fff; border: 1px solid var(--tp-border-1); border-radius: 16px; box-shadow: 0 6px 22px rgba(17,17,17,.06); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.tq-hotels .tq-hotel-card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(17,17,17,.1); }
.tq-hotels .tq-hotel-media { position: relative; aspect-ratio: 4 / 3; background: #eef2f6; border-radius: 14px 14px 0 0; overflow: hidden; }
.tq-hotels .tq-hotel-slides { display: flex; height: 100%; list-style: none; margin: 0; padding: 0; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tq-hotels .tq-hotel-slides::-webkit-scrollbar { display: none; }
.tq-hotels .tq-hotel-slides li { flex: 0 0 100%; height: 100%; scroll-snap-align: start; }
.tq-hotels .tq-hotel-slides a { display: block; height: 100%; }
.tq-hotels .tq-hotel-slides img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tq-hotels .tq-hotel-dots { position: absolute; left: 0; right: 0; bottom: 9px; display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.tq-hotels .tq-hotel-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.6); box-shadow: 0 0 2px rgba(0,0,0,.4); }
.tq-hotels .tq-hotel-dots i.on { background: #fff; width: 16px; border-radius: 4px; }
.tq-hotels .tq-hotel-sbtn { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--tp-common-black); font-size: 22px; line-height: 1; cursor: pointer; display: none; align-items: center; justify-content: center; padding: 0 0 2px; box-shadow: 0 2px 8px rgba(17,17,17,.2); opacity: 0; transition: opacity .15s; }
.tq-hotels .tq-hotel-sbtn.p { left: 8px; } .tq-hotels .tq-hotel-sbtn.n { right: 8px; }
.tq-hotels.is-js .tq-hotel-media:hover .tq-hotel-sbtn, .tq-hotels .tq-hotel-sbtn:focus-visible { opacity: 1; }
@media (hover: hover) and (min-width: 992px) { .tq-hotels.is-js .tq-hotel-sbtn { display: inline-flex; } }

/* compact (no photo): thin band in the colour of the city + big hotel icon */
.tq-hotels .tq-hotel-compact { aspect-ratio: auto; height: 74px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--tq-city, var(--tq-hotel-blue)) 0%, rgba(17,17,17,.18) 220%); color: #fff; border-radius: 14px 14px 0 0; }
.tq-hotels .tq-hotel-compact svg { width: 38px; height: 38px; opacity: .95; }
.tq-hotels .tq-hotel-card[data-city="Istanbul"] { --tq-city: #3A84BC; }
.tq-hotels .tq-hotel-card[data-city="Cappadocia"] { --tq-city: #D93B1A; }
.tq-hotels .tq-hotel-card[data-city="Trabzon"] { --tq-city: #2F7D5B; }
.tq-hotels .tq-hotel-card[data-city="other"] { --tq-city: #5F556A; }

/* category label */
.tq-hotels .tq-hotel-tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .02em; line-height: 1.2; padding: 4px 10px; border-radius: 999px; box-shadow: 0 1px 4px rgba(17,17,17,.25); width: fit-content; }
.tq-hotels .tq-hotel-media .tq-hotel-tag { position: absolute; top: 10px; left: 10px; z-index: 2; }
.tq-hotels .tq-tag-standard { background: var(--tq-tier-standard); color: var(--tq-tier-standard-ink); }
.tq-hotels .tq-tag-comfort { background: var(--tq-tier-comfort); color: var(--tq-tier-comfort-ink); }
.tq-hotels .tq-tag-premium { background: var(--tq-tier-premium); color: var(--tq-tier-premium-ink); }

.tq-hotels .tq-hotel-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1 1 auto; }
.tq-hotels .tq-hotel-body > .tq-hotel-tag { margin-bottom: 2px; }
.tq-hotels .tq-hotel-stars { color: #8A5A00; font-size: 14px; letter-spacing: 1px; line-height: 1; }
.tq-hotels .tq-hotel-body h3 { font-size: 17px; font-weight: 700; line-height: 1.3; margin: 0; color: var(--tp-common-black); }
.tq-hotels .tq-hotel-area { margin: 0; font-size: 13.5px; color: var(--tp-grey-1); }
.tq-hotels .tq-hotel-chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 2px 0 0; padding: 0; }
.tq-hotels .tq-hotel-chips li { font-size: 12px; background: #f1f4f7; color: #33404d; border-radius: 999px; padding: 3px 9px; }
.tq-hotels .tq-hotel-meal { margin: 2px 0 0; font-size: 13px; color: #33404d; font-weight: 500; }
.tq-hotels .tq-hotel-up { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 4px 0 0; padding: 8px 10px; border-radius: 10px; background: #f6f8fb; font-size: 13px; color: #33404d; }
.tq-hotels .tq-hotel-add { flex: 0 0 auto; border: 1px solid var(--tq-hotel-blue); background: #fff; color: var(--tq-hotel-blue); font: inherit; font-size: 13px; font-weight: 600; border-radius: 999px; padding: 5px 12px; min-height: 32px; cursor: pointer; display: none; }
.tq-hotels.is-js .tq-hotel-add { display: inline-block; }
.tq-hotels .tq-hotel-add[aria-pressed="true"] { background: var(--tq-hotel-blue); color: #fff; }
.tq-hotels .tq-hotel-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.tq-hotels .tq-hotel-links a { font-size: 12.5px; font-weight: 600; color: #1F5F94; text-decoration: none; border: 1px solid rgba(58,132,188,.45); border-radius: 999px; padding: 6px 10px; min-height: 34px; display: inline-flex; align-items: center; }
.tq-hotels .tq-hotel-links a:hover { background: rgba(58,132,188,.08); }
.tq-hotels .tq-hotel-note { margin: 0; font-size: 13px; color: var(--tp-grey-1); }

/* no JS: the strips are plain horizontal lists, the panels are all visible */
.tq-hotels:not(.is-js) .tq-hotels-panel { margin-bottom: 24px; }

@media (max-width: 991px) { .tq-hotels .tq-hotel-card { flex-basis: calc((100% - var(--tq-hotel-gap)) / 1.6); } }
@media (max-width: 575px) {
  .tq-hotels .tq-hotel-card { flex-basis: calc((100% - 8px) / 1.15); }
  .tq-hotels { --tq-hotel-gap: 12px; }
  .tq-hotels .tq-hotels-head { display: none; }
}
@media (prefers-reduced-motion: reduce) { .tq-hotels .tq-hotel-card, .tq-hotels .tq-hotel-sbtn { transition: none; } .tq-hotels .tq-hotel-card:hover { transform: none; } }

/* the theme's "li:has(ul):hover ul { display: block !important }" (main.css) would stack the photo slides and the chips of a card on hover */
.tq-hotels .tq-hotels-rail, .tq-hotels .tq-hotel-slides, .tq-hotels .tq-hotel-chips { display: flex !important; }
