/* Travel Network Canada: final typography and layout normalization */
:root {
  --tnc-content-width: 76rem;
  --tnc-reading-width: 46rem;
  --tnc-space-page: clamp(1rem, 3vw, 2rem);
  --tnc-section-space: clamp(3rem, 7vw, 6rem);
  --tnc-text: #1f2937;
  --tnc-muted: #5b6472;
}
html { font-size: 16px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { min-width: 320px; overflow-x: clip; color: var(--tnc-text); font-size: 1rem; line-height: 1.65; }
img, svg, video, iframe { max-width: 100%; height: auto; }
.container, .header-inner, .footer-inner { width: min(100% - (2 * var(--tnc-space-page)), var(--tnc-content-width)); margin-inline: auto; }
main { min-width: 0; }
h1, h2, h3, h4, h5, h6 { max-width: 24ch; margin-top: 0; line-height: 1.15; text-wrap: balance; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.15rem, 5vw, 4.5rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 3rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.35rem, 2.3vw, 2rem); letter-spacing: -0.015em; }
h4 { font-size: clamp(1.15rem, 1.7vw, 1.5rem); }
p, li, dd, dt, label, input, select, textarea, button { font-size: inherit; }
p { max-width: 72ch; line-height: 1.72; }
.lead, .article-deck, .company-hero__lead, .hero-subheadline { font-size: clamp(1.075rem, 1.6vw, 1.3rem); line-height: 1.6; }
.section, .company-section { padding-block: var(--tnc-section-space); }
.cards-grid, .company-card-grid, .booking-link-grid, .grid-2 { align-items: stretch; }
.card, .company-card, .company-panel, .sidebar-card { min-width: 0; overflow-wrap: anywhere; }
.article-shell { width: min(100% - (2 * var(--tnc-space-page)), var(--tnc-content-width)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(15rem, 20rem); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.article-main, .article-content { min-width: 0; }
.article-content { font-size: clamp(1rem, 0.4vw + 0.92rem, 1.125rem); }
.article-content > * { max-width: var(--tnc-reading-width); }
.article-content h2, .article-content h3, .article-content figure, .article-content table, .article-content .wide { max-width: 100%; }
.article-content a { overflow-wrap: anywhere; }
.article-featured img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 1rem; }
input, select, textarea, button, .btn, .btn-primary, .btn-secondary, .company-button { min-height: 44px; }
textarea { min-height: 8rem; resize: vertical; }
table { width: 100%; border-collapse: collapse; }
.table-scroll, .table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 1024px) {
  .article-shell { grid-template-columns: 1fr; }
  .article-sidebar { order: -1; }
  .sidebar-sticky { position: static !important; }
}
@media (max-width: 768px) {
  h1 { font-size: clamp(2rem, 10vw, 3rem); }
  h2 { font-size: clamp(1.6rem, 8vw, 2.25rem); }
  .hero, .company-hero { padding-block: clamp(3rem, 14vw, 5rem); }
  .hero { margin-inline: 0; border-radius: 0; }
  .company-actions, .hero-ctas, .booking-link-grid { width: 100%; }
  .company-actions > *, .hero-ctas > *, .booking-link-grid > * { width: 100%; }
  .article-byline { align-items: flex-start; gap: .5rem 1rem; }
}
@media (max-width: 480px) {
  body { font-size: 0.9875rem; }
  .container, .header-inner, .footer-inner, .article-shell { width: min(100% - 2rem, var(--tnc-content-width)); }
  .btn, .btn-primary, .btn-secondary, button { white-space: normal; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
