/* Alexpoputi v1.5: semi-transparent glass label and calm text rotation on excursion photos.
   Overrides v1.3 only on homepage; doesn't affect the booking widget or individual route pages. */
.tour-photo .image-label.photo-glass-label,
.tour-grid--three .tour-photo .image-label.photo-glass-label {
  position: absolute;
  top: 17px;
  left: 17px;
  bottom: auto;
  display: inline-flex;
  gap: 9px;
  align-items: center;
  box-sizing: border-box;
  padding: 10px 15px 10px 12px;
  max-width: calc(100% - 34px);
  width: max-content;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .78);
  background: linear-gradient(125deg, rgba(255,255,255,.85), rgba(238,247,255,.67));
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.88), 0 7px 21px rgba(9,36,76,.14);
  color: #173760;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: .005em;
  text-align: left;
  white-space: normal;
  z-index: 2;
  pointer-events: none;
}
.tour-photo .photo-label-pin {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  color: #24558e;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.4));
}
.tour-photo .label-rotating-copy {
  display: grid;
  grid-template-columns: minmax(0, max-content);
  align-items: center;
  min-width: 0;
}
.tour-photo .label-rotating-copy .label-phrase {
  grid-column: 1;
  grid-row: 1;
  display: block;
  opacity: 0;
  transform: translateY(3px);
  transition: opacity 260ms ease, transform 260ms ease;
  overflow-wrap: break-word;
}
.tour-photo .label-rotating-copy .label-phrase.is-current {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width:650px) {
  .tour-photo .image-label.photo-glass-label,
  .tour-grid--three .tour-photo .image-label.photo-glass-label {
    top: 12px;
    left: 12px;
    max-width: calc(100% - 24px);
    padding: 9px 12px 9px 10px;
    gap: 7px;
    font-size: 10.5px;
  }
  .tour-photo .photo-label-pin { width: 13px; height: 13px; flex-basis: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .tour-photo .label-rotating-copy .label-phrase { transition: none; transform: none; }
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .tour-photo .image-label.photo-glass-label { background: rgba(249,252,255,.92); }
}


/* v1.5 — tactile premium booking CTA. A self-contained override of v1.3.
   No changes to booking data, event handlers, or the tour identifiers. */
.tour-photo .booking-cta {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 3;
  box-sizing: border-box;
  width: calc(100% - 48px);
  max-width: 410px;
  min-height: 60px;
  margin: 0;
  padding: 15px 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  overflow: hidden;
  isolation: isolate;
  text-decoration: none;
  text-align: center;
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: .004em;
  border: 1px solid rgba(177,229,255,.86);
  border-radius: 999px;
  background: linear-gradient(168deg, #2874bf 0%, #1556a4 22%, #0d3e88 59%, #0a3277 100%);
  transform: translateX(-50%);
  box-shadow:
    0 12px 24px rgba(3,24,69,.34),
    0 2px 9px rgba(47,155,255,.18),
    0 0 0 2px rgba(216,240,255,.13),
    inset 0 1px 1px rgba(255,255,255,.62),
    inset 0 -3px 8px rgba(1,15,62,.19);
  text-shadow: 0 1px 1px rgba(1,29,65,.33);
  -webkit-tap-highlight-color: transparent;
  transition: transform 200ms ease, box-shadow 200ms ease, filter 200ms ease;
}
/* Satin highlight that reads as material depth, not a plastic overlay. */
.tour-photo .booking-cta::before {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: 1px 2px 44% 2px;
  border-radius: 999px 999px 54% 54%;
  background: linear-gradient(180deg, rgba(255,255,255,.23), rgba(255,255,255,.035));
}
.tour-photo .booking-cta > span[aria-hidden] {
  display: inline-block;
  flex: 0 0 auto;
  font-size: 19px;
  font-weight: 400;
  line-height: 1;
  transition: transform 200ms ease;
}
.tour-photo .booking-cta:hover {
  color: #fff;
  border-color: rgba(198,237,255,.95);
  background: linear-gradient(168deg, #3284cf 0%, #1b62b4 28%, #114897 65%, #0c397f 100%);
  transform: translate(-50%,-3px);
  box-shadow: 0 16px 29px rgba(3,24,69,.41),
    0 0 0 2px rgba(216,240,255,.2),
    inset 0 1px 1px rgba(255,255,255,.69),
    inset 0 -3px 8px rgba(1,15,62,.16);
}
.tour-photo .booking-cta:hover > span[aria-hidden] { transform: translate(2px,-2px); }
.tour-photo .booking-cta:active {
  transform: translate(-50%,0);
  box-shadow: 0 6px 14px rgba(3,24,69,.29),
    0 0 0 2px rgba(216,240,255,.12),
    inset 0 2px 6px rgba(1,15,62,.24);
}
.tour-photo .booking-cta:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
@media (max-width: 650px) {
  .tour-photo .booking-cta {
    bottom: 13px;
    width: calc(100% - 28px);
    max-width: 410px;
    min-height: 54px;
    padding: 12px 16px;
    gap: 11px;
    font-size: 13px;
  }
  .tour-photo .booking-cta > span[aria-hidden] { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .tour-photo .booking-cta,
  .tour-photo .booking-cta > span[aria-hidden] { transition: none; }
}
