/* ============================================================
   CALGARY HUB PAGES (/calgary/, /calgary/airport/yyc-to-downtown.html)
   — page layer on top of rml-calgary-hub.css
   and rml-tour.css (hero + "Calgary at a glance" card).
   - .ch-tiles: four photo tiles for the main services, plus a
     compact list of the remaining service links (.ch-links)
   - .ch-split: photo + copy rows (alternate with --reverse)
   - .ch-notes: three small tip cards under the airport row
   - .ch-areas: Downtown wide card + one photo card per quadrant
   - .ch-band: icon + copy + button band; .ch-steps: numbered step cards
   - .ch-times: travel-time cards; .ch-stages: arrival timeline
   Everything is scoped to .cal-home so the other hub-template pages
   are untouched.
   ============================================================ */

.cal-home .ch-section { margin-top: 88px; }
.cal-home .ch-kicker {
  display: inline-block; margin: 0 0 12px; 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;
}

/* ── Service chooser ─────────────────────────────────────── */
.cal-home .ch-tiles {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
}
.cal-home .ch-tile,
.cal-home .ch-tile:link,
.cal-home .ch-tile:visited {
  position: relative; display: block; overflow: hidden;
  height: 320px; border-radius: 18px; background: #111827;
  color: #fff !important; text-decoration: none !important;
  box-shadow: 0 18px 40px rgba(17,24,39,.14);
}
.cal-home .ch-tile img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; transition: transform .5s ease;
}
.cal-home .ch-tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(8,13,24,.92) 0%, rgba(8,13,24,.45) 50%, rgba(8,13,24,.05) 100%);
}
.cal-home .ch-tile:hover img { transform: scale(1.06); }
.cal-home .ch-tile-body {
  position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 1; display: block;
}
.cal-home .ch-tile-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px; margin-bottom: 12px;
  background: #e41d37; color: #fff; font-size: 15px;
}
.cal-home .ch-tile strong { display: block; font-size: 18px; font-weight: 800; line-height: 1.25; }
.cal-home .ch-tile strong::after { content: " →"; color: #ff6b7d; }
.cal-home .ch-tile em {
  display: block; margin-top: 6px; font-style: normal;
  font-size: 13px; line-height: 1.5; color: rgba(255,255,255,.78);
}

.cal-home .ch-links-label {
  margin: 34px 0 14px; font-size: 12px; font-weight: 800;
  letter-spacing: 1.4px; text-transform: uppercase; color: #6b7280;
}
.cal-home .ch-links {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
}
.cal-home .ch-link,
.cal-home .ch-link:link,
.cal-home .ch-link:visited {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; border-radius: 14px;
  background: #fff; border: 1px solid #e5e7eb;
  color: #111827 !important; text-decoration: none !important;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.cal-home .ch-link:hover { border-color: #e41d37; box-shadow: 0 10px 26px rgba(17,24,39,.08); transform: translateY(-2px); }
.cal-home .ch-link > i:first-child {
  flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(228,29,55,.08); color: #e41d37; font-size: 15px;
}
.cal-home .ch-link span { flex: 1 1 auto; min-width: 0; }
.cal-home .ch-link strong { display: block; font-size: 14.5px; font-weight: 800; line-height: 1.3; }
.cal-home .ch-link em { display: block; font-style: normal; font-size: 12.5px; color: #6b7280; margin-top: 2px; line-height: 1.45; }
.cal-home .ch-link-go { color: #e41d37; font-size: 13px; transition: transform .2s; }
.cal-home .ch-link:hover .ch-link-go { transform: translateX(3px); }

/* ── Photo + copy rows ───────────────────────────────────── */
.cal-home .ch-split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 56px; align-items: center;
}
.cal-home .ch-split--reverse { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }
.cal-home .ch-split--reverse .ch-media { order: 2; }
.cal-home .ch-media { position: relative; margin: 0; }
.cal-home .ch-media img {
  display: block; width: 100%; aspect-ratio: 4 / 3.5; object-fit: cover;
  border-radius: 22px; box-shadow: 0 26px 56px rgba(17,24,39,.16);
}
.cal-home .ch-media figcaption {
  position: absolute; left: 16px; bottom: 16px;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: 999px;
  background: rgba(17,24,39,.78); color: #fff; font-size: 12px; font-weight: 700;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.cal-home .ch-media figcaption i { color: #ff6b7d; }
.cal-home .ch-copy h2 { margin: 0 0 18px; font-weight: 800; color: #111827; line-height: 1.25; }
.cal-home .ch-copy h3 { margin: 26px 0 10px; font-size: 19px; }
.cal-home .ch-copy p:not(.ch-kicker):not(.cal-note) { font-size: 16px; line-height: 1.8; color: #4b5563; margin: 0 0 14px; }
.cal-home .ch-copy .cal-cta-row { margin: 22px 0 0; padding-top: 0; border-top: 0; justify-content: flex-start; }
.cal-home .ch-copy .cal-note { margin-top: 14px; }

/* ── Airport tips ────────────────────────────────────────── */
.cal-home .ch-notes {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; margin-top: 40px;
}
.cal-home .ch-note {
  padding: 24px; border-radius: 18px; background: #f8fafc; border: 1px solid #e5e7eb;
}
.cal-home .ch-note-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px; margin-bottom: 14px;
  background: #fff; color: #e41d37; font-size: 16px; box-shadow: 0 6px 16px rgba(17,24,39,.08);
}
.cal-home .ch-note h3 { margin: 0 0 8px; font-size: 16.5px; font-weight: 800; }
.cal-home .ch-note p { margin: 0; font-size: 14px; line-height: 1.7; color: #4b5563; }

/* ── Areas ───────────────────────────────────────────────── */
.cal-home .ch-areas {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
}
.cal-home .ch-area {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: 18px; background: #fff; border: 1px solid #e5e7eb;
  box-shadow: 0 10px 28px rgba(17,24,39,.06);
}
.cal-home .ch-area-media { display: block; overflow: hidden; }
.cal-home .ch-area-media img {
  display: block; width: 100%; height: 170px; object-fit: cover; transition: transform .5s ease;
}
.cal-home .ch-area:hover .ch-area-media img { transform: scale(1.05); }
.cal-home .ch-area-body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 20px; }
.cal-home .ch-area h3 { margin: 0 0 10px; font-size: 16.5px; font-weight: 800; line-height: 1.3; }
.cal-home .ch-area h3 i { color: #e41d37; font-size: 14px; margin-right: 4px; }
.cal-home .ch-area p { margin: 0 0 16px; font-size: 14px; line-height: 1.7; color: #4b5563; }
.cal-home .ch-area-cta {
  margin-top: auto; font-size: 13.5px; font-weight: 800; color: #e41d37 !important; text-decoration: none !important;
}
.cal-home .ch-area-cta i { margin-left: 4px; transition: transform .2s; }
.cal-home .ch-area-cta:hover i { transform: translateX(3px); }
/* Downtown: full-width row, photo left */
.cal-home .ch-area--wide { grid-column: 1 / -1; flex-direction: row; }
.cal-home .ch-area--wide .ch-area-media { flex: 0 0 42%; }
.cal-home .ch-area--wide .ch-area-media img { height: 100%; min-height: 300px; }
.cal-home .ch-area--wide .ch-area-body { padding: 30px 34px; justify-content: center; }
.cal-home .ch-area--wide h3 { font-size: 21px; }
.cal-home .ch-area--wide p { font-size: 15px; line-height: 1.8; }
.cal-home #calgary-areas .cal-cta-row { justify-content: flex-start; border-top: 0; margin-top: 26px; padding-top: 0; }

/* Chauffeur story under the events row */
.cal-home #calgary-events .cal-story { margin-top: 44px; }

/* ── Family band ─────────────────────────────────────────── */
.cal-home .ch-band {
  display: flex; align-items: center; gap: 26px;
  margin-top: 64px; padding: 30px 34px; border-radius: 22px;
  background: linear-gradient(135deg, #fff5f6 0%, #ffffff 70%);
  border: 1px solid rgba(228,29,55,.18);
}
.cal-home .ch-band-icon {
  flex: 0 0 64px; width: 64px; height: 64px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  background: #e41d37; color: #fff; font-size: 26px;
  box-shadow: 0 14px 30px rgba(228,29,55,.28);
}
.cal-home .ch-band-copy { flex: 1 1 auto; min-width: 0; }
.cal-home .ch-band h2 { margin: 0 0 8px; font-size: 22px; font-weight: 800; color: #111827; line-height: 1.3; }
.cal-home .ch-band p { margin: 0; font-size: 14.5px; line-height: 1.75; color: #4b5563; max-width: 88ch; }
.cal-home .ch-band .rml-btn { flex: 0 0 auto; }

/* ── Steps ───────────────────────────────────────────────── */
.cal-home .ch-steps {
  counter-reset: ch-step; list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
}
.cal-home .ch-steps > li {
  counter-increment: ch-step; position: relative;
  padding: 58px 22px 22px; border-radius: 16px;
  background: #fff; border: 1px solid #e5e7eb;
  font-size: 14.5px; line-height: 1.65; color: #374151;
}
.cal-home .ch-steps > li::before {
  content: counter(ch-step, decimal-leading-zero);
  position: absolute; left: 22px; top: 20px;
  font-size: 22px; font-weight: 900; line-height: 1; color: #e41d37;
}
.cal-home .ch-steps-foot {
  display: flex; gap: 10px; align-items: flex-start;
  margin: 20px 0 0; font-size: 14.5px; line-height: 1.7; color: #4b5563;
}
.cal-home .ch-steps-foot i { color: #22c55e; margin-top: 4px; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1099.98px) {
  .cal-home .ch-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cal-home .ch-tile { height: 260px; }
  .cal-home .ch-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cal-home .ch-areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cal-home .ch-notes { grid-template-columns: 1fr 1fr; }
  .cal-home .ch-notes .ch-note:first-child { grid-column: 1 / -1; }
}
@media (max-width: 991.98px) {
  .cal-home .ch-section { margin-top: 64px; }
  .cal-home .ch-split,
  .cal-home .ch-split--reverse { grid-template-columns: 1fr; gap: 28px; }
  .cal-home .ch-split--reverse .ch-media { order: 0; }
  .cal-home .ch-media img { aspect-ratio: 16 / 10; }
  .cal-home .ch-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cal-home .ch-band { flex-wrap: wrap; }
}
@media (max-width: 767.98px) {
  .cal-home .ch-section { margin-top: 52px; }
  .cal-home .ch-tiles { gap: 12px; }
  .cal-home .ch-tile { height: 210px; border-radius: 16px; }
  .cal-home .ch-tile-body { left: 14px; right: 14px; bottom: 14px; }
  .cal-home .ch-tile-icon { width: 30px; height: 30px; font-size: 13px; margin-bottom: 8px; }
  .cal-home .ch-tile strong { font-size: 15px; }
  .cal-home .ch-tile em { display: none; }
  .cal-home .ch-links { grid-template-columns: 1fr; }
  .cal-home .ch-media img { border-radius: 16px; }
  .cal-home .ch-notes { grid-template-columns: 1fr; }
  .cal-home .ch-areas { grid-template-columns: 1fr; }
  .cal-home .ch-area--wide { flex-direction: column; }
  .cal-home .ch-area--wide .ch-area-media { flex: 0 0 auto; }
  .cal-home .ch-area--wide .ch-area-media img { min-height: 0; height: 190px; }
  .cal-home .ch-area--wide .ch-area-body { padding: 20px; }
  .cal-home .ch-area--wide h3 { font-size: 17.5px; }
  .cal-home .ch-area-media img { height: 170px; }
  .cal-home .ch-band { padding: 24px 20px; gap: 18px; }
  .cal-home .ch-band-icon { width: 52px; height: 52px; flex-basis: 52px; font-size: 22px; }
  .cal-home .ch-band .rml-btn { width: 100%; justify-content: center; }
  .cal-home .ch-steps { grid-template-columns: 1fr; }
  .cal-home .ch-steps > li { padding: 18px 18px 18px 64px; }
  .cal-home .ch-steps > li::before { left: 18px; top: 18px; }
}

/* ============================================================
   Route-page additions (first used on yyc-to-downtown.html)
   ============================================================ */
.cal-home .ch-cta-left { justify-content: flex-start; border-top: 0; padding-top: 0; margin-top: 24px; }
.cal-home .ch-prose { max-width: 88ch; margin-top: 26px; }
.cal-home .ch-prose p { font-size: 15.5px; line-height: 1.8; color: #4b5563; margin: 0 0 12px; }

/* Travel-time cards */
.cal-home .ch-times { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cal-home .ch-time {
  position: relative; padding: 22px; border-radius: 18px;
  background: #fff; border: 1px solid #e5e7eb; box-shadow: 0 10px 28px rgba(17,24,39,.06);
}
.cal-home .ch-time:first-child { background: #111827; border-color: #111827; color: #fff; }
.cal-home .ch-time-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 11px; margin-bottom: 16px;
  background: rgba(228,29,55,.08); color: #e41d37; font-size: 15px;
}
.cal-home .ch-time:first-child .ch-time-icon { background: rgba(228,29,55,.22); color: #ff6b7d; }
.cal-home .ch-time strong { display: block; font-size: 28px; font-weight: 900; line-height: 1.1; color: #111827; letter-spacing: -.5px; }
.cal-home .ch-time:first-child strong { color: #fff; }
.cal-home .ch-time-period { display: block; margin-top: 10px; font-size: 14px; font-weight: 700; color: #111827; line-height: 1.4; }
.cal-home .ch-time:first-child .ch-time-period { color: #fff; }
.cal-home .ch-time em { display: block; margin-top: 4px; font-style: normal; font-size: 12.5px; color: #6b7280; }
.cal-home .ch-time:first-child em { color: rgba(255,255,255,.65); }
.cal-home .ch-times-note { max-width: 88ch; margin: 20px 0 0; font-size: 14.5px; line-height: 1.75; color: #4b5563; }

/* Checklist inside a copy column */
.cal-home .ch-checks {
  list-style: none; margin: 18px 0 16px; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px;
}
.cal-home .ch-checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; color: #374151; }
.cal-home .ch-checks i {
  flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; margin-top: 1px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(34,197,94,.12); color: #16a34a; font-size: 11px;
}

/* Photo row aligned to the top (long copy column) */
.cal-home .ch-split--top { align-items: start; }
.cal-home .ch-split--top .ch-media { position: sticky; top: 110px; }

/* Arrival timeline */
.cal-home .ch-stages { list-style: none; counter-reset: ch-stage; margin: 20px 0 18px; padding: 0; }
.cal-home .ch-stages li {
  counter-increment: ch-stage; position: relative;
  padding: 0 0 18px 50px;
}
.cal-home .ch-stages li::before {
  content: counter(ch-stage); position: absolute; left: 0; top: 0;
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #e41d37; color: #fff; font-size: 13px; font-weight: 800;
  box-shadow: 0 0 0 5px rgba(228,29,55,.12);
}
.cal-home .ch-stages li::after {
  content: ""; position: absolute; left: 15px; top: 38px; bottom: 4px;
  width: 2px; background: #f1d5d9;
}
.cal-home .ch-stages li:last-child { padding-bottom: 0; }
.cal-home .ch-stages li:last-child::after { display: none; }
.cal-home .ch-stages strong { display: block; font-size: 15.5px; font-weight: 800; color: #111827; line-height: 1.4; padding-top: 5px; }
.cal-home .ch-stages span { display: block; margin-top: 3px; font-size: 14.5px; line-height: 1.65; color: #4b5563; }

/* Band: several paragraphs, dark variant, stacked actions */
.cal-home .ch-band { align-items: flex-start; }
.cal-home .ch-band p + p { margin-top: 10px; }
.cal-home .ch-band-actions { flex: 0 0 auto; display: flex; flex-direction: column; gap: 10px; align-self: center; }
.cal-home .ch-band--dark { background: #111827; border-color: #111827; align-items: center; }
.cal-home .ch-band--dark h2 { color: #fff; }
.cal-home .ch-band--dark p { color: rgba(255,255,255,.75); }

/* Traveller cards in two columns */
.cal-home .ch-notes--2 { grid-template-columns: 1fr 1fr; margin-top: 0; }
.cal-home .ch-notes--2 .ch-note:first-child { grid-column: auto; }

@media (max-width: 1099.98px) {
  .cal-home .ch-times { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
  .cal-home .ch-split--top .ch-media { position: static; }
  .cal-home .ch-band-actions { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 767.98px) {
  .cal-home .ch-times { gap: 10px; }
  .cal-home .ch-time { padding: 16px; }
  .cal-home .ch-time strong { font-size: 22px; }
  .cal-home .ch-checks { grid-template-columns: 1fr; }
  .cal-home .ch-notes--2 { grid-template-columns: 1fr; }
  .cal-home .ch-band-actions { width: 100%; flex-direction: column; }
  .cal-home .ch-band-actions .rml-btn { width: 100%; justify-content: center; }
}

/* ============================================================
   Hotel-transfers additions
   ============================================================ */
/* Card grid (3-up): hotel areas */
.cal-home .ch-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cal-home .ch-note-need { margin: 0 0 10px !important; font-size: 13.5px !important; color: #111827 !important; }
.cal-home .ch-note-need b { color: #e41d37; }
.cal-home .ch-note--dark { background: #111827; border-color: #111827; }
.cal-home .ch-note--dark h3 { color: #fff; }
.cal-home .ch-note--dark p { color: rgba(255,255,255,.75); }
.cal-home .ch-note--dark .ch-note-icon { background: rgba(228,29,55,.22); color: #ff6b7d; box-shadow: none; }

/* Shuttle vs private comparison */
.cal-home .ch-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cal-home .ch-compare-col { padding: 26px; border-radius: 18px; background: #f8fafc; border: 1px solid #e5e7eb; }
.cal-home .ch-compare-col--pick { background: #fff; border: 2px solid #e41d37; box-shadow: 0 16px 36px rgba(228,29,55,.10); }
.cal-home .ch-compare-tag {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px;
  font-size: 13px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: #111827;
}
.cal-home .ch-compare-tag i { color: #e41d37; }
.cal-home .ch-compare-col p:not(.ch-compare-tag) { margin: 0; font-size: 15px; line-height: 1.75; color: #4b5563; }

/* Timeline rows with "You / We coordinate" lines */
.cal-home .ch-stages span b { color: #111827; font-weight: 700; }

/* Three time cards */
.cal-home .ch-times--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Quote panel */
.cal-home .ch-panel { padding: 36px; border-radius: 22px; background: #fff; border: 1px solid #e5e7eb; box-shadow: 0 14px 38px rgba(15,23,42,.06); }
.cal-home .ch-panel h2 { margin: 0 0 6px; font-weight: 800; color: #111827; }
.cal-home .ch-panel > p:not(.ch-kicker) { max-width: 88ch; font-size: 15px; line-height: 1.75; color: #4b5563; margin: 0; }
.cal-home .ch-checks--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 22px 0 22px; }

@media (max-width: 1099.98px) {
  .cal-home .ch-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cal-home .ch-checks--3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767.98px) {
  .cal-home .ch-cards,
  .cal-home .ch-compare,
  .cal-home .ch-times--3,
  .cal-home .ch-checks--3 { grid-template-columns: 1fr; }
  .cal-home .ch-compare-col { padding: 20px; }
  .cal-home .ch-panel { padding: 24px 20px; }
}

/* ============================================================
   Corporate-transfers additions
   ============================================================ */
/* Two text cards side by side (paired short sections) */
.cal-home .ch-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
.cal-home .ch-duo-card { padding: 30px; border-radius: 20px; background: #fff; border: 1px solid #e5e7eb; box-shadow: 0 10px 28px rgba(17,24,39,.05); }
.cal-home .ch-duo-card h2 { margin: 0 0 14px; font-size: 22px; font-weight: 800; color: #111827; line-height: 1.3; }
.cal-home .ch-duo-card p { margin: 0 0 12px; font-size: 15px; line-height: 1.75; color: #4b5563; }
.cal-home .ch-duo-card p:last-child { margin-bottom: 0; }
.cal-home .ch-compare-col p + p { margin-top: 12px !important; }

/* Neutral band: soft grey, dark icon — deliberately not an alert */
.cal-home .ch-band--neutral { background: #f5f7fa; border-color: #e5e7eb; }
.cal-home .ch-band--neutral .ch-band-icon { background: #111827; box-shadow: none; }

@media (max-width: 767.98px) {
  .cal-home .ch-duo { grid-template-columns: 1fr; }
  .cal-home .ch-duo-card { padding: 22px 20px; }
  .cal-home .ch-duo-card h2 { font-size: 19px; }
}
.cal-home .ch-related-title { margin: 0 0 18px; font-weight: 800; color: #111827; }
.cal-home .ch-copy .grp-split-card h3 { margin: 0 0 8px; font-size: 16.5px; font-weight: 800; color: #111827; display: flex; align-items: center; gap: 8px; }
.cal-home .ch-copy .grp-split-card p { font-size: 14.5px !important; margin: 0 !important; }

/* ============================================================
   Calgary areas hub (/calgary/areas/): photo header on area cards
   ============================================================ */
.cal-home .ca-area.ca-area--photo { padding-top: 0; }
.cal-home .ca-area--photo:before { z-index: 1; }
.cal-home .ca-area-photo { margin: 0 -22px 18px; height: 160px; overflow: hidden; background: #eef2f7; }
.cal-home .ca-area-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cal-home .ca-area--photo:hover .ca-area-photo img { transform: scale(1.05); }
.cal-home .ca-area--photo .ca-area-top { margin-top: -38px; position: relative; z-index: 1; }
.cal-home .ca-area--photo .ca-area-top .rml-icon { box-shadow: 0 8px 20px rgba(15,23,42,.18); }
@media (max-width: 767.98px) {
  /* the page drops the card padding to 18px here */
  .cal-home .ca-area-photo { height: 150px; margin: 0 -18px 16px; }
}

/* ============================================================
   Area pages: photo beside an existing text card (.ch-photo-sec).
   The card becomes a two-column grid — photo in one column, every
   original child stacked in the other — so no copy is moved or edited.
   ============================================================ */
@media (min-width: 992px) {
  .cal-home .ch-photo-sec {
    display: grid !important;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    column-gap: 44px;
    align-items: start;
    grid-auto-rows: min-content;
  }
  .cal-home .ch-photo-sec > * { grid-column: 2; }
  .cal-home .ch-photo-sec > .ch-photo-sec-media {
    grid-column: 1; grid-row: 1 / span 30;
    position: sticky; top: 110px; margin: 0;
  }
  .cal-home .ch-photo-sec--reverse { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
  .cal-home .ch-photo-sec--reverse > * { grid-column: 1; }
  .cal-home .ch-photo-sec--reverse > .ch-photo-sec-media { grid-column: 2; }
}
.cal-home .ch-photo-sec-media img { aspect-ratio: 4 / 3.3; box-shadow: 0 18px 40px rgba(17,24,39,.14); }
@media (max-width: 991.98px) {
  .cal-home .ch-photo-sec-media { margin: 0 0 22px; }
  .cal-home .ch-photo-sec-media img { aspect-ratio: 16 / 10; }
}
