/* ============================================================
   PRIVATE BANFF SIGHTSEEING TOUR — page styles
   Loaded only by /banff/sightseeing/private-banff-sightseeing-tour.html,
   on top of rml-blog.css (the article template it is built on).
   - .tour-hero: taller hero, lighter scrim, "Your 5 hours" card
   - .tour-stops: photo grid linking each stop guide
   - .tour-sidebar: lean sticky sidebar (blog widgets removed)
   The card markup matches .bnf-route in rml-services.css, which this
   page does not load, so its base styles are repeated here.
   ============================================================ */

/* ── Hero ─────────────────────────────────────────────────── */
.tour-hero { padding: 170px 0 120px; }
.tour-hero .rml-hero-bg:after {
  background:
    linear-gradient(90deg, rgba(8,13,24,.92) 0%, rgba(8,13,24,.70) 38%, rgba(8,13,24,.25) 70%, rgba(8,13,24,.35) 100%),
    linear-gradient(0deg, rgba(8,13,24,.55) 0%, rgba(8,13,24,0) 40%);
}
.tour-hero .rml-hero-inner { max-width: 600px; }
.tour-hero h1 { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.08; }
.tour-hero .rml-container { position: relative; }

.tour-card {
  position: relative; z-index: 2;
  max-width: 380px;
  margin-top: 28px;
  padding: 22px 22px 18px;
  border-radius: 20px;
  background: rgba(13,17,23,.72);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
}
.tour-card .bnf-route-kicker {
  margin: 0 0 12px; font-size: 11px; font-weight: 800; letter-spacing: 1.8px;
  text-transform: uppercase; color: #ff6b7d;
}
.tour-card .bnf-route-steps { list-style: none; margin: 0 0 14px; padding: 0; }
.tour-card .bnf-route-steps li {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1);
}
.tour-card .bnf-route-steps li:last-child { border-bottom: 0; }
.tour-card .bnf-route-steps i {
  flex: 0 0 34px; width: 34px; height: 34px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(228,29,55,.18); color: #ff6b7d; font-size: 14px;
}
.tour-card .bnf-route-steps strong { display: block; font-size: 15px; font-weight: 800; color: #fff; line-height: 1.25; }
.tour-card .bnf-route-steps span { display: block; font-size: 12.5px; color: rgba(255,255,255,.62); }
.tour-card .bnf-route-foot { margin: 0; font-size: 12.5px; line-height: 1.5; color: rgba(255,255,255,.75); }
.tour-card .bnf-route-foot i { color: #22c55e; margin-right: 4px; }

@media (min-width: 1100px) {
  /* The card is centred on the container; keep the container at least as
     tall as the card so a short hero text block cannot push it upward
     under the header. */
  .tour-hero .rml-container { min-height: 400px; }
  .tour-card {
    position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
    width: 360px; margin: 0;
  }
}

/* ── Choose your stops ────────────────────────────────────── */
.tour-stops-wrap { margin: 8px 0 44px; }
.tour-stops-kicker {
  display: inline-block; margin: 0 0 10px; padding: 6px 14px; border-radius: 999px;
  background: rgba(228,29,55,.08); color: #e41d37;
  font-size: 11px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase;
}
.rml-article .tour-stops-title { margin: 0 0 20px; }
.tour-stops {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
}
.tour-stop,
.tour-stop:link,
.tour-stop:visited {
  position: relative; display: block; overflow: hidden;
  height: 230px; border-radius: 16px;
  text-decoration: none !important; color: #fff !important;
  background: #111827;
}
.tour-stop--wide { grid-column: span 2; }
.tour-stop img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .5s ease;
}
.tour-stop::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(8,13,24,.86) 0%, rgba(8,13,24,.15) 55%, rgba(8,13,24,0) 100%);
}
.tour-stop:hover img { transform: scale(1.06); }
.tour-stop-text { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; }
.tour-stop-text strong { display: block; font-size: 16px; font-weight: 800; line-height: 1.2; }
.tour-stop-text em { display: block; font-style: normal; font-size: 12px; color: rgba(255,255,255,.75); margin-top: 3px; }
.tour-stop-text strong::after { content: " →"; color: #ff6b7d; }
.tour-stops-note { margin: 14px 0 0; font-size: 13.5px; color: #6b7280; }

/* ── Sidebar: lean and sticky so booking stays in reach ───── */
/* The theme sets .page-wrapper { overflow: hidden }, which turns it into a
   scroll container and silently disables position: sticky inside it.
   overflow: clip still hides horizontal spill but is not a scroll
   container. Scoped to this page because only this page loads the file. */
.page-wrapper { overflow: clip; }
@media (min-width: 992px) {
  .tour-sidebar { position: sticky; top: 110px; align-self: start; }
}

@media (max-width: 1099.98px) {
  .tour-hero { padding: 150px 0 96px; }
}
@media (max-width: 767.98px) {
  .tour-hero { padding: 130px 0 84px; }
  .tour-card { max-width: none; }
  .tour-stops { grid-template-columns: 1fr 1fr; }
  .tour-stop { height: 180px; }
  .tour-stop--wide { grid-column: 1 / -1; height: 200px; }
}

/* ============================================================
   CITY GUIDE PAGES (.city-main) — first used on /cities/banff.html
   Single column on the shared 1200px container (the old sidebar ran out
   a third of the way down). Everything shares one left edge:
   - running text is left-aligned and capped at a readable 860px;
   - card grids use a fixed 4-column rhythm, so a group of two hotels
     keeps the same compact card size as a group of four;
   - card photos are short (170px) so the cards read as a list of
     options, not a gallery;
   - the old sidebar becomes a closing band of link cards.
   ============================================================ */
.city-main .rml-layout { grid-template-columns: minmax(0, 1fr) !important; gap: 0 !important; }

/* Readable text measure, left-aligned on the grid's edge */
.city-main .rml-article > .rml-lead,
.city-main .rml-content-card > p,
.city-main .rml-content-card > ul,
.city-main .rml-content-card > ol,
.city-main .rml-content-card > .rml-highlight-text {
  max-width: 860px;
}
.city-main .rml-content-card > h2 { margin-top: 52px !important; }
.city-main .rml-content-card > h2:first-child { margin-top: 0 !important; }
.city-main .rml-faq { max-width: 900px; }

/* Featured photo: a banner, not a full screen */
.city-main .rml-featured img { height: 340px; }

/* Card grids: fixed 4-up rhythm with compact photos */
.city-main .rml-hub-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
}
.city-main .rml-hub-card-img,
.city-main .rml-hub-card-placeholder { height: 170px; }
.city-main .rml-hub-card-title { font-size: 15px; }
.city-main .rml-hub-card-desc { font-size: 13px; }

/* Sidebar → closing band of link cards */
.city-main .rml-sidebar {
  position: static !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 20px;
  margin-top: 56px;
  padding-top: 44px;
  border-top: 1px solid #e5e7eb;
}
.city-main .rml-sidebar iframe { height: 260px !important; border-radius: 12px; }

@media (max-width: 1099.98px) {
  .city-main .rml-hub-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .city-main .rml-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
  .city-main .rml-featured img { height: 220px; }
  .city-main .rml-content-card > h2 { margin-top: 36px !important; }
  .city-main .rml-hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
  .city-main .rml-hub-card-img,
  .city-main .rml-hub-card-placeholder { height: 120px; }
  .city-main .rml-sidebar { grid-template-columns: 1fr; margin-top: 40px; padding-top: 32px; }
}

/* Banff city hero: the Gondola photo has the townsite at the bottom */
.tour-hero .rml-hero-bg img[src*="Banff%20Gondola"] { object-position: center 72%; }

/* Jasper is built on the Calgary hub template, whose
   .cal-hub .rml-hero-inner { max-width: 900px } loads later and would run
   the hero text under the glance card. */
.cal-hub .tour-hero .rml-hero-inner { max-width: 600px; }

/* Clear the overlaid desktop header. rml-blog.css sets the hero top
   padding with !important (200px at these widths, which leaves only ~6px
   under the header), so these must be !important too. Values match the
   header heights measured for the Calgary area pages, plus ~50px. */
@media (min-width:1024px) and (max-width:1198.98px){.tour-hero{padding-top:206px!important;}}
@media (min-width:1200px) and (max-width:1400px){.tour-hero{padding-top:236px!important;}}
@media (min-width:1401px) and (max-width:1699px){.tour-hero{padding-top:258px!important;}}
@media (min-width:1700px){.tour-hero{padding-top:272px!important;}}
