/* ============================================================
   AURA AVENUE — itinerary.css
   Flagship itinerary detail pages. On top of aura.css + tours.css.
   ============================================================ */

.it-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--au-line); }
.it-hero__media { position: absolute; inset: 0; z-index: 0; }
.it-hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.34; }
.it-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--au-ink) 3%, rgba(11,11,12,0.45) 50%, rgba(11,11,12,0.75) 100%);
}
.it-hero__inner { position: relative; z-index: 1; padding-top: calc(var(--au-bar) + clamp(2rem, 8vh, 4.5rem)); }

.it-crumb { margin: 0 0 1.4rem; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--au-muted); }
.it-crumb a { color: var(--au-muted); text-decoration: none; }
.it-crumb a:hover { color: var(--au-cream); }
.it-crumb span[aria-hidden] { margin: 0 0.4rem; color: var(--au-line-2); }
.it-crumb [aria-current] { color: var(--au-bronze); }

.it-sec { border-top: 1px solid var(--au-line); scroll-margin-top: 6rem; }

.it-stops { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.it-stop { display: grid; grid-template-columns: 4.5rem 1fr; gap: 0 1.2rem; padding: clamp(1.1rem, 3vw, 1.6rem) 0; border-top: 1px solid var(--au-line); }
.it-stop:first-child { border-top: 0; }
.it-stop__n { margin: 0; font-family: var(--au-display); font-size: 1.5rem; color: var(--au-bronze); line-height: 1.2; }
.it-stop__b { min-width: 0; }
.it-stop__h { font-family: var(--au-display); font-weight: 400; font-size: 1.3rem; margin: 0 0 0.4rem; line-height: 1.25; }
.it-stop__p { margin: 0; color: var(--au-muted); font-size: 0.97em; max-width: 68ch; }
@media (max-width: 560px) { .it-stop { grid-template-columns: 2.8rem 1fr; gap: 0 0.9rem; } .it-stop__n { font-size: 1.1rem; } }

.it-ptable { min-width: 34rem; }
.it-ptable tbody th { padding-right: 1.4rem; }
.it-ptable .tc-cls { font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--au-bronze); display: block; }

.it-cols { display: grid; gap: clamp(1.5rem, 4vw, 3rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); margin-top: clamp(2rem, 5vw, 3rem); }
.it-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.it-list li { position: relative; padding-left: 1.5rem; color: var(--au-muted); font-size: 0.97em; }
.it-list li::before { position: absolute; left: 0; top: 0; font-size: 0.9em; }
.it-list--yes li::before { content: "—"; color: var(--au-bronze); }
.it-list--no li::before { content: "×"; color: var(--au-muted); }

/* ---------- Timed timeline (generated tour pages) ---------- */
.it-stops--timed .it-stop { grid-template-columns: 6.5rem 1fr; }
.it-stops--timed .it-stop__n {
  font-family: var(--au-body); font-size: 0.78rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--au-bronze); padding-top: 0.35rem;
}
.it-stops--timed .it-stop__h { font-size: 1.2rem; margin: 0; }
@media (max-width: 560px) { .it-stops--timed .it-stop { grid-template-columns: 5rem 1fr; } }

/* ---------- Gallery ---------- */
.it-gallery {
  display: grid; gap: 0.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
}
.it-gal {
  margin: 0; overflow: hidden; border-radius: 2px;
  border: 1px solid var(--au-line); background: var(--au-panel);
  aspect-ratio: 4 / 3;
}
.it-gal img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--au-ease), opacity 0.4s var(--au-ease);
}
.it-gal:hover img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .it-gal:hover img { transform: none; } }
