/* Travel Network Canada: canonical flow, header, footer and page alignment */
:root {
  --tnc-shell: 76rem;
  --tnc-gutter: clamp(1rem, 3vw, 2rem);
  --tnc-navy: #10243e;
  --tnc-blue: #1663a6;
  --tnc-red: #d9232e;
  --tnc-ink: #172033;
  --tnc-muted: #5d6878;
  --tnc-line: #dfe5ec;
  --tnc-soft: #f4f7fa;
  --tnc-focus: #f4b400;
}
html { scroll-padding-top: 6.5rem; }
body.tnc-site { background: #fff; color: var(--tnc-ink); }
body.nav-active { overflow: hidden; }
.container, .site-container { width: min(calc(100% - (2 * var(--tnc-gutter))), var(--tnc-shell)); margin-inline: auto; }
.site-main { min-height: 42vh; overflow: clip; }
.site-main > :where(section, .section, .hero, .page-hero):not(.full-bleed) { scroll-margin-top: 7rem; }
.site-main :where(.container, .content-container, .page-container) { min-width: 0; }

/* Header */
.site-header { position: sticky !important; inset: 0 0 auto; z-index: 10000; width: 100%; background: rgba(255,255,255,.98) !important; border-bottom: 1px solid var(--tnc-line) !important; box-shadow: 0 2px 12px rgba(16,36,62,.05); backdrop-filter: blur(14px); }
.site-header.scrolled { box-shadow: 0 10px 30px rgba(16,36,62,.12); }
.header-inner { min-height: 76px; padding-block: .65rem; display: flex; align-items: center; gap: clamp(.75rem, 2vw, 1.5rem); }
.logo { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .7rem; min-width: 0; color: var(--tnc-navy); text-decoration: none; }
.logo img { width: 50px !important; height: 50px !important; object-fit: contain; }
.logo-copy { display: grid; line-height: 1.05; }
.logo-copy strong { font-size: 1rem; letter-spacing: -.02em; white-space: nowrap; }
.logo-copy small { margin-top: .3rem; color: var(--tnc-muted); font-size: .7rem; font-weight: 600; white-space: nowrap; }
.main-nav { margin-left: auto; min-width: 0; }
.nav-list { display: flex; align-items: center; gap: .1rem; margin: 0; padding: 0; list-style: none; }
.nav-item { position: relative; }
.nav-item > a, .nav-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .65rem .72rem; border: 0; border-radius: .65rem; background: transparent; color: var(--tnc-navy); font: inherit; font-size: .91rem; font-weight: 700; line-height: 1.1; text-decoration: none; cursor: pointer; }
.nav-item > a:hover, .nav-link:hover, .nav-item > a[aria-current="page"] { background: #edf4fa; color: var(--tnc-blue); }
.header-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .65rem 1rem; border-radius: .7rem; background: var(--tnc-red); color: #fff; font-weight: 800; text-decoration: none; white-space: nowrap; box-shadow: 0 8px 20px rgba(217,35,46,.2); }
.header-cta:hover { background: #b91822; color: #fff; transform: translateY(-1px); }
.dropdown-menu { top: calc(100% + .65rem) !important; border: 1px solid var(--tnc-line) !important; box-shadow: 0 18px 50px rgba(16,36,62,.16) !important; }
.dropdown-menu::before { content: ''; position: absolute; inset: -.7rem 0 auto; height: .8rem; }
.dropdown-mega { width: min(60rem, calc(100vw - 2rem)) !important; }
.dropdown-column h3 { max-width: none; }
.nav-toggle { display: none; flex: 0 0 44px; width: 44px; height: 44px; margin-left: auto; align-items: center; justify-content: center; border: 1px solid var(--tnc-line); border-radius: .7rem; color: var(--tnc-navy); background: #fff; cursor: pointer; }

/* Consistent sections and cards */
.site-main :where(.section, section[class*="section"], .content-section) { padding-block: clamp(2.75rem, 6vw, 5rem); }
.site-main :where(.section + .section, section[class*="section"] + section[class*="section"]) { border-top: 1px solid rgba(223,229,236,.72); }
.site-main :where(.card, [class*="-card"], .panel, [class*="-panel"]) { min-width: 0; }
.site-main :where(.grid, [class*="-grid"]) > * { min-width: 0; }
.site-main :where(h1,h2,h3,h4) { color: var(--tnc-navy); }
.site-main a:not(.btn):not(.btn-primary):not(.btn-secondary) { text-underline-offset: .18em; }

/* Footer */
.site-footer { margin-top: clamp(3rem, 7vw, 6rem); padding: 0 !important; background: #071528 !important; color: #dce5ef; font-size: .94rem; }
.footer-shell { display: grid; grid-template-columns: minmax(16rem, 1.15fr) minmax(0, 2fr); gap: clamp(2.5rem, 5vw, 5rem); padding-block: clamp(3rem, 6vw, 5rem); }
.footer-intro { max-width: 31rem; }
.footer-logo { display: inline-flex; align-items: center; gap: .75rem; color: #fff !important; text-decoration: none; }
.footer-logo img { width: 52px; height: 52px; object-fit: contain; }
.footer-logo span { display: grid; line-height: 1.1; }
.footer-logo strong { font-size: 1.08rem; }
.footer-logo small { margin-top: .3rem; color: #aebed0; font-size: .78rem; }
.footer-intro > p { margin: 1rem 0; color: #b9c7d7; line-height: 1.7; }
.footer-trust { display: grid; gap: .55rem; }
.footer-trust span { display: flex; align-items: center; gap: .55rem; color: #dce5ef; font-weight: 650; }
.footer-trust i { color: #ffcf4a; }
.footer-nav { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); }
.footer-column h2 { max-width: none; margin: 0 0 .9rem; color: #fff; font-size: .88rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-column ul { margin: 0; padding: 0; list-style: none; }
.footer-column li + li { margin-top: .52rem; }
.site-footer a { color: #c9d5e2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: .2em; }
.footer-bottom { max-width: none !important; margin: 0 !important; padding: 0 !important; border-top: 1px solid rgba(255,255,255,.11); background: rgba(0,0,0,.12); text-align: left !important; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 1.5rem; padding-block: 1.15rem; }
.footer-bottom p { max-width: 48rem; margin: 0; color: #98aabd; font-size: .78rem; line-height: 1.55; }
.footer-disclosure { text-align: right; }
.scroll-to-top { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 9990; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--tnc-red); color: #fff; box-shadow: 0 12px 28px rgba(16,36,62,.25); cursor: pointer; }
.scroll-to-top[hidden] { display: none !important; }

@media (max-width: 1120px) {
  .logo-copy small { display: none; }
  .header-cta { display: none; }
  .nav-item > a, .nav-link { padding-inline: .55rem; font-size: .86rem; }
}
@media (max-width: 1024px) {
  html { scroll-padding-top: 5rem; }
  .header-inner { min-height: 68px; }
  .logo img { width: 44px !important; height: 44px !important; }
  .nav-toggle { display: inline-flex !important; }
  .main-nav { position: fixed !important; inset: 69px 0 0 auto !important; width: min(92vw, 27rem) !important; height: calc(100dvh - 69px); margin: 0 !important; padding: 1rem !important; overflow-y: auto; background: #fff; border-left: 1px solid var(--tnc-line); box-shadow: -16px 0 40px rgba(16,36,62,.18); transform: translateX(105%); visibility: hidden; transition: transform .22s ease, visibility .22s ease; }
  .main-nav:is(.is-open,.nav-open,[data-open="true"]) { transform: translateX(0); visibility: visible; }
  body.nav-active::before { content: ''; position: fixed; inset: 69px 0 0; z-index: 9990; background: rgba(7,21,40,.48); }
  .nav-list { display: grid !important; align-items: stretch; gap: .25rem; }
  .nav-item > a, .nav-link { width: 100%; justify-content: space-between; padding: .8rem .85rem; text-align: left; }
  .dropdown-menu, .dropdown-mega { position: static !important; width: 100% !important; min-width: 0 !important; max-height: 0; margin: 0 !important; padding: 0 !important; overflow: hidden; opacity: 1 !important; visibility: visible !important; transform: none !important; border: 0 !important; border-radius: .65rem; box-shadow: none !important; pointer-events: none; transition: max-height .24s ease, padding .24s ease; }
  .has-dropdown:is(.is-open,.dropdown-open,[data-open="true"]) > :is(.dropdown-menu,.dropdown-mega) { max-height: 80rem; padding: .45rem !important; background: var(--tnc-soft); pointer-events: auto; }
  .dropdown-mega { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: .5rem !important; }
  .dropdown-column { min-width: 0; }
  .footer-shell { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .logo-copy strong { font-size: .9rem; }
  .main-nav { width: 100% !important; }
  .dropdown-mega { grid-template-columns: 1fr !important; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .footer-bottom-inner { display: grid; }
  .footer-disclosure { text-align: left; }
}
@media (max-width: 440px) {
  .logo-copy { display: none; }
  .footer-nav { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .main-nav, .dropdown-menu, .header-cta { transition: none !important; }
}
