/* Destination guide and detachable booking stubs. */
body.tour-page {
  --sea: #123e49;
  --paper: #fbfaf5;
  --muted-text: #435c61;
  --tour-heading-font: "Times New Roman", "Noto Serif", serif;
  margin: 0;
  background: var(--paper);
  color: var(--sea);
  font: 1rem/1.55 system-ui, sans-serif;
}
.tour-page * { box-sizing: border-box; }
.ticket-book button, #booking-form button, #retry-tours { font: inherit; border: 0; cursor: pointer; }
#booking-dialog { color: var(--sea); border: 0; border-radius: 18px; width: min(480px, 94vw); max-height: 90dvh; padding: clamp(18px,4vw,32px); }
#booking-dialog::backdrop { background: #102c38a8; }
.booking-heading { display: flex; align-items: center; justify-content: space-between; }
.booking-heading button { width: 44px; height: 44px; font-size: 24px; background: var(--paper); color: var(--sea); border: 0; border-radius: 50%; cursor: pointer; }
#booking-title { font: 500 2rem/1.22 var(--tour-heading-font); margin: 8px 0 20px; }
#booking-form { display: grid; gap: 12px; }
#booking-form label { display: grid; gap: 5px; font-weight: 600; }
#booking-form input { width: 100%; min-height: 44px; border: 1px solid #a4b8ba; border-radius: 8px; padding: 8px 12px; font: inherit; }
#booking-form button, #retry-tours { background: var(--sea); color: white; padding: 12px 18px; border-radius: 9px; }
#booking-form p { color: var(--muted-text); margin: 0; }
#booking-message { overflow-wrap: anywhere; }
.tour-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px max(5vw, calc((100% - 1220px) / 2));
  border-bottom: 1px solid #dedfd6;
}
.tour-brand { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; color: var(--sea); text-decoration: none; font-size: 21px; font-weight: 700; letter-spacing: -.04em; }
.tour-brand img { width: 40px; height: 40px; object-fit: contain; }
.tour-main { width: min(1220px, 90%); margin: auto; padding-top: clamp(18px, 3vw, 40px); }
.tour-cover { display: grid; grid-template-columns: 5fr 6fr; overflow: hidden; border-radius: 24px; background: var(--sea); color: white; }
.tour-cover-copy { padding: clamp(20px, 2.5vw, 32px); }
.tour-eyebrow { margin: 0; font-size: .74rem; font-weight: 720; text-transform: uppercase; letter-spacing: .14em; }
.tour-cover .tour-eyebrow { color: #ffc594; display: flex; gap: 12px; align-items: center; }
.tour-cover .tour-eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.tour-cover h1 { margin: 8px 0 10px; font: 500 clamp(32px,3.8vw,54px)/1.14 var(--tour-heading-font); letter-spacing: -.025em; }
.tour-cover h1 em { color: #ffd8b7; font-weight: 400; }
.tour-cover-copy > p:not(.tour-eyebrow) { max-width: 44ch; margin: 0 0 14px; color: #edf5f4; }
.tour-browse,.ticket-book button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 46px; padding: 10px 18px; border-radius: 9px; font-weight: 650; text-decoration: none; }
.tour-browse { background: #ffd8b7; color: #183b41; }
.tour-browse:hover { background: white; }
.tour-cover-photo { min-height: 180px; margin: 0; position: relative; }
.tour-cover-photo img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.tour-cover-photo figcaption { position: absolute; inset: auto 0 0; padding: 46px 28px 22px; background: linear-gradient(transparent,#082e3bdf); }
.tour-cover-photo figcaption span,.tour-cover-photo figcaption strong { display: block; }
.tour-cover-photo figcaption span { font-size: .78rem; }
.tour-cover-photo figcaption strong { font-size: 1.3rem; }
.tour-collection { padding-top: clamp(32px,5vw,64px); }
.tour-collection > header { display: flex; justify-content: space-between; align-items: end; gap: 22px; margin-bottom: 18px; }
.tour-collection > header > p { max-width: 34ch; margin: 0; font-size: .9rem; color: var(--muted-text); }
.tour-collection h2,.tour-ticket h3 { font-family: var(--tour-heading-font); font-weight: 500; letter-spacing: -.02em; }
.tour-collection h2 { margin: 6px 0 0; font-size: clamp(32px,3.6vw,52px); line-height: 1.15; }
.tour-ticket { margin: 12px 0; display: grid; grid-template-columns: minmax(140px,24%) 1fr minmax(165px,21%); gap: clamp(16px,2vw,32px); padding: 14px; border: 1px solid #d9dfd9; border-radius: 18px; background: white; }
.tour-ticket > img { width: 100%; height: 100%; min-height: 145px; max-height: 220px; object-fit: cover; border-radius: 10px; }
.ticket-copy,.ticket-book { align-self: center; }
.ticket-copy .tour-eyebrow { color: #43636a; }
.ticket-copy h3 { margin: 6px 0; font-size: clamp(25px,2.4vw,36px); line-height: 1.2; }
.ticket-copy > p:last-child { margin: 0; color: var(--muted-text); }
.ticket-book { align-self: stretch; display: grid; align-content: center; justify-items: start; padding: 8px 0 8px clamp(14px,2vw,26px); border-left: 1px dashed #acbdba; }
.ticket-book span { font-size: .8rem; color: var(--muted-text); }
.ticket-book button { margin-top: 10px; background: var(--sea); color: white; font-size: .92rem; }
.ticket-book button:hover { background: #216073; }
.tour-preview { grid-column: 1 / -1; border-top: 1px solid #d9dfd9; }
.tour-preview summary { padding: 12px 4px; min-height: 44px; color: var(--sea); font-weight: 650; cursor: pointer; }
.tour-preview summary:hover { text-decoration: underline; }
.tour-preview > p { margin: 4px; color: var(--muted-text); font-size: .88rem; }
.tour-preview ol { list-style: none; margin: 14px 4px; padding: 0 0 0 16px; border-left: 2px solid #acbdba; }
.tour-preview li + li { margin-top: 14px; }
.tour-preview li span { display: block; color: #734421; font-size: .84rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.tour-preview li p { margin: 3px 0; color: var(--muted-text); }
.tour-main footer { padding: 12px 0 44px; }
.tour-main footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--sea); text-underline-offset: .22em; }
@media (max-width: 700px) {
  .tour-cover { grid-template-columns: 1fr; border-radius: 18px; }
  .tour-cover-copy { padding: 18px; }
  .tour-cover-photo { min-height: clamp(100px,25vw,150px); }
  .tour-cover-photo figcaption { padding: 28px 20px 14px; }
  .tour-collection > header { display: block; }
  .tour-collection > header > p { margin-top: 8px; }
  .tour-ticket { grid-template-columns: 1fr; gap: 13px; }
  .tour-ticket > img { aspect-ratio: 2.1; height: auto; min-height: 0; }
  .ticket-book { grid-template-columns: 1fr auto; border: 0; border-top: 1px dashed #acbdba; padding: 12px 0 0; }
  .ticket-book button { grid-column: 2; grid-row: 1 / 3; align-self: center; margin: 0; }
}
