/* Banff ski landing page (council pass, 2026-11-04). Layered on info-pages.css.
   Type scale (px): 13 / 16 / 20 / 25 / 31 / 39 / 49 / 61
   Spacing scale (px): 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 96 / 128 */

/* Hero: the promise and price on the left, a two-date booking card on the right. */
.banff-hero { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; align-items: center; }
.banff-hero__price { color: var(--ink); font-size: 16px; }
.banff-hero .banff-hero__price { margin-top: 16px; font-size: 16px; }
.banff-hero__price strong { display: block; font-size: 20px; font-weight: 600; }
.banff-hero__rating { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-height: 44px; margin-top: 8px; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; transition: text-decoration-color 200ms ease-out; }
.banff-hero__rating:hover { text-decoration-color: var(--ink); }
.banff-hero__rating:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; border-radius: var(--radius); }

.banff-book { display: grid; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); }
.banff-book h2 { margin: 0; font-family: "Barlow Condensed", "Barlow Condensed Fallback", "Barlow Condensed Fallback 2", sans-serif; font-size: 25px; font-weight: 700; line-height: 1.2; text-transform: uppercase; }
.banff-book__dates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.banff-book__field { display: grid; gap: 8px; color: var(--ink); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.banff-book__field input, .banff-book__field select { width: 100%; min-height: 48px; padding: 12px 16px; border: 1px solid #7c8987; border-radius: var(--radius); background: var(--white); color: var(--ink); font: inherit; font-size: 16px; letter-spacing: 0; text-transform: none; }
.banff-book__field input:focus-visible, .banff-book__field select:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.banff-book .btn { width: 100%; }
.info-hero .banff-book__note { max-width: none; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.banff-book__link, .banff-link { display: inline-flex; width: fit-content; min-height: 44px; align-items: center; color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; transition: color 200ms ease-out; }
.banff-book__link:hover, .banff-link:hover { color: #014f4a; }
.info-note .banff-link { display: inline; min-height: 0; }

/* Three steps sit in one row; the FAQ is one readable column. */
.qa-list.banff-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.qa-list.banff-faq { grid-template-columns: minmax(0, 1fr); max-width: 800px; }

/* Rates: the table on wide screens, one card per package on phones. */
.banff-rate-cards { display: none; margin: 32px 0 0; padding: 0; list-style: none; }
.banff-rate-table .info-table { table-layout: fixed; }

@media (max-width: 960px) {
  .banff-hero { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .banff-book { max-width: 560px; }
  .qa-list.banff-steps { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  .banff-rate-table { display: none; }
  .banff-rate-cards { display: grid; gap: 12px; }
  .banff-rate-cards li { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); }
  .banff-rate-cards h3 { margin: 0 0 12px; font-family: "Barlow Condensed", "Barlow Condensed Fallback", "Barlow Condensed Fallback 2", sans-serif; font-size: 20px; font-weight: 700; text-transform: uppercase; }
  .banff-rate-cards dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }
  .banff-rate-cards dt { color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
  .banff-rate-cards dd { margin: 4px 0 0; color: var(--ink); font-size: 16px; font-weight: 600; }
}

@media (max-width: 430px) {
  .banff-book__dates { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .banff-hero__rating, .banff-book__link, .banff-link { transition: none; }
}

/* The sticky bar slides away while an equivalent Reserve button is visible. */
.mobile-sticky { transition: transform 200ms ease-out, opacity 200ms ease-out; }
.mobile-sticky.is-hidden { opacity: 0; pointer-events: none; transform: translateY(100%); }
@media (prefers-reduced-motion: reduce) {
  .mobile-sticky { transition: none; }
}

/* The rating line reads as one link: plain inline text, padded to a 44px target. */
.banff-hero__rating { display: inline-block; padding: 8px 0; line-height: 28px; }

/* Package rows (council round 5): the homepage widget's photo rows, so a
   visitor picks a package by seeing the ski. */
.banff-book__packages { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.banff-book__packages legend { margin-bottom: 8px; padding: 0; color: var(--ink); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.banff-pack-list { display: grid; gap: 8px; }
.banff-pack { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 16px; align-items: center; width: 100%; min-height: 80px; padding: 8px 16px 8px 8px; border: 2px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); cursor: pointer; font: inherit; text-align: left; transition: border-color 200ms ease-out, background-color 200ms ease-out; }
.banff-pack:hover { border-color: #7c8987; }
.banff-pack.is-active { border-color: var(--ink); background: #f2f5f5; }
.banff-pack:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.banff-pack__photo { position: relative; grid-row: 1 / 3; height: 64px; overflow: hidden; border-radius: var(--radius); background: var(--white); }
.banff-pack__photo img { position: absolute; top: 50%; left: 50%; width: auto; max-width: none; height: 64px; transform: translate(-50%, -50%); }
.banff-pack__photo img.is-horizontal { width: 64px; height: auto; transform: translate(-50%, -50%) rotate(90deg); }
.banff-pack strong { grid-column: 2; align-self: end; font-family: "Barlow Condensed", "Barlow Condensed Fallback", "Barlow Condensed Fallback 2", sans-serif; font-size: 16px; font-weight: 700; line-height: 1.2; text-transform: uppercase; }
.banff-pack__model { grid-column: 2; align-self: start; color: var(--muted); font-size: 13px; line-height: 1.5; }
.banff-pack__price { grid-column: 3; grid-row: 1 / 3; font-size: 16px; line-height: 1.5; white-space: nowrap; }
.info-hero .banff-book__hint { max-width: none; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
@media (prefers-reduced-motion: reduce) { .banff-pack { transition: none; } }
.banff-pack[data-tier="junior"] .banff-pack__photo img { height: 52px; }

/* The hero copy starts level with the booking card instead of floating mid-height. */
.banff-hero { align-items: start; }

/* Placeholder fitting photo: under the copy beside the booking card, after the card on narrow screens. */
.banff-hero__photo { margin: 0; }
.banff-hero__photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; border-radius: 8px; object-fit: cover; }
@media (min-width: 961px) {
  .banff-hero { align-content: start; }
  .banff-hero__copy, .banff-hero__photo { grid-column: 1; }
  .banff-hero .banff-book { grid-column: 2; grid-row: 1 / span 2; }
}

/* ---------- Site audit round 1 (2026-11-13) ---------- */

/* Live estimate under the package rows, as on the ski homepage: the total, then how it is made up. */
.banff-book__estimate { display: flex; flex-direction: column; gap: 4px; margin: 0; }
.banff-book__estimate[hidden] { display: none; }
.banff-book__total { color: var(--ink); font-size: 20px; font-weight: 600; line-height: 1.5; }
.banff-book__detail { color: var(--muted); font-size: 13px; font-weight: 400; line-height: 1.5; }

/* Freshness line under each price table. */
.info-section .banff-fresh { margin-top: 16px; margin-bottom: 0; color: var(--muted); font-size: 13px; }

/* Package rows are 56px tall, so the card's Reserve button stays on the first screen at 1440x900
   with the estimate above it. */
.banff-pack { min-height: 56px; padding-block: 4px; }
.banff-pack__photo { height: 48px; }
.banff-pack__photo img { height: 48px; }
.banff-pack[data-tier="junior"] .banff-pack__photo img { height: 40px; }
.banff-book { gap: 12px; }
.banff-pack-list { gap: 4px; }
.info-hero .banff-book__estimate { max-width: none; margin: 0; }

/* ---------- Site audit round 2 (2026-11-13) ---------- */

/* Header and sticky-bar buttons are 48px, as on the ski home page, so the header does not
   change height between pages. */
.rb-site-header .rb-btn,
.rb-mobile-menu .rb-btn,
.rb-sticky-bar .rb-btn { box-sizing: border-box; min-height: 48px; padding: 8px 24px; line-height: 24px; }

/* Action photo in place of a placeholder: keep the skier and skis in the 3:2 frame. */
.banff-hero__photo--action img { object-position: 50% 85%; }

/* Hero headlines break into even lines instead of leaving one or two words alone. */
.banff-hero h1 { text-wrap: balance; }

/* The shared stylesheet hides the body until its script runs. Ski area pages paint at once, so the
   headline and photo are the first paint and the LCP, not whatever paints after the fade. */
body.ski-area-page { opacity: 1; transition: none; }

/* ---------- Site audit round 3 (2026-11-13) ---------- */

/* Package photos have white backgrounds. Multiply drops that white into the card, so the selected
   row (tinted) shows the ski on the tint like the other rows, not a pale white tile (D8). */
.banff-pack__photo { background: transparent; }
.banff-pack__photo img { mix-blend-mode: multiply; }

/* Phone price cards: the afternoon label is now the full rule ("1 day, delivered at 12 PM or later"),
   so each rate is its own row, label left and price right, instead of three narrow columns. */
@media (max-width: 760px) {
  .banff-rate-cards dl { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .banff-rate-cards dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
  .banff-rate-cards dt { letter-spacing: 0; text-transform: none; }
  .banff-rate-cards dd { margin: 0; white-space: nowrap; }
}

/* "1-day" never splits at its hyphen across two lines. */
.ski-nowrap { white-space: nowrap; }
