/* Travel Network Canada — Production Core
   Shared foundation and reusable page components. Header/footer are owned by site-shell.css. */

/* ===== base-reset.css ===== */
/* ============================================================================
   BASE RESET & LAYOUT - 2026 Standards
   Travel Network Canada - Foundation Styles
   Version: 2.0 | Updated: January 2026
   ============================================================================ */

/* ============================================================================
   MODERN CSS RESET
   ============================================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Remove default margins */
body,
h1, h2, h3, h4, h5, h6,
p,
figure,
blockquote,
dl, dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}

/* ============================================================================
   HTML & BODY
   ============================================================================ */

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, 
               "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1f2937;
  background-color: #f8f9fa;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ============================================================================
   UTILITY CONTAINERS
   ============================================================================ */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container-narrow {
  max-width: 800px;
}

.container-wide {
  max-width: 1400px;
}

.container-fluid {
  width: 100%;
  padding: 0 1.25rem;
}

/* ============================================================================
   PAGE CONTENT
   ============================================================================ */

.page-content {
  min-height: 60vh;
  padding: 2rem 0;
}

main {
  display: block;
  isolation: isolate;
}

/* ============================================================================
   ACCESSIBLE SKIP LINK
   ============================================================================ */

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  padding: 8px 16px;
  background: #1e3c72;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  z-index: 10000;
  border-radius: 0 0 4px 0;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid #ffc107;
  outline-offset: 2px;
}

/* ============================================================================
   IMAGES & MEDIA
   ============================================================================ */

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

img {
  border-style: none;
}

/* Prevent images from overflowing */
img,
svg {
  vertical-align: middle;
}

/* ============================================================================
   FORMS
   ============================================================================ */

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

/* Remove default button styles */
button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

/* Remove spinner from number inputs */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

/* Remove default search input styles */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
}

/* ============================================================================
   TABLES
   ============================================================================ */

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

/* ============================================================================
   LINKS
   ============================================================================ */

a {
  background-color: transparent;
  text-decoration-skip-ink: auto;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* ============================================================================
   TEXT SELECTION
   ============================================================================ */

::selection {
  background: #ffc107;
  color: #1e3c72;
  text-shadow: none;
}

::-moz-selection {
  background: #ffc107;
  color: #1e3c72;
  text-shadow: none;
}

/* ============================================================================
   SCROLLBAR STYLING (Webkit)
   ============================================================================ */

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e0;
  border-radius: 6px;
  border: 2px solid #f1f5f9;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: #cbd5e0 #f1f5f9;
}

/* ============================================================================
   FOCUS STYLES
   ============================================================================ */

:focus-visible {
  outline: 3px solid #ffc107;
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* ============================================================================
   UTILITY CLASSES
   ============================================================================ */

/* Display */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-inline { display: inline !important; }
.d-inline-block { display: inline-block !important; }
.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }
.d-grid { display: grid !important; }

/* Visibility */
.visible { visibility: visible !important; }
.invisible { visibility: hidden !important; }

/* Overflow */
.overflow-hidden { overflow: hidden !important; }
.overflow-auto { overflow: auto !important; }
.overflow-scroll { overflow: scroll !important; }

/* Position */
.position-static { position: static !important; }
.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }
.position-fixed { position: fixed !important; }
.position-sticky { position: sticky !important; }

/* Width & Height */
.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }
.w-auto { width: auto !important; }
.h-auto { height: auto !important; }

/* Spacing utilities */
.m-0 { margin: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.mr-0 { margin-right: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.ml-0 { margin-left: 0 !important; }

.m-1 { margin: 0.5rem !important; }
.mt-1 { margin-top: 0.5rem !important; }
.mr-1 { margin-right: 0.5rem !important; }
.mb-1 { margin-bottom: 0.5rem !important; }
.ml-1 { margin-left: 0.5rem !important; }

.m-2 { margin: 1rem !important; }
.mt-2 { margin-top: 1rem !important; }
.mr-2 { margin-right: 1rem !important; }
.mb-2 { margin-bottom: 1rem !important; }
.ml-2 { margin-left: 1rem !important; }

.m-3 { margin: 1.5rem !important; }
.mt-3 { margin-top: 1.5rem !important; }
.mr-3 { margin-right: 1.5rem !important; }
.mb-3 { margin-bottom: 1.5rem !important; }
.ml-3 { margin-left: 1.5rem !important; }

.m-4 { margin: 2rem !important; }
.mt-4 { margin-top: 2rem !important; }
.mr-4 { margin-right: 2rem !important; }
.mb-4 { margin-bottom: 2rem !important; }
.ml-4 { margin-left: 2rem !important; }

.p-0 { padding: 0 !important; }
.pt-0 { padding-top: 0 !important; }
.pr-0 { padding-right: 0 !important; }
.pb-0 { padding-bottom: 0 !important; }
.pl-0 { padding-left: 0 !important; }

.p-1 { padding: 0.5rem !important; }
.pt-1 { padding-top: 0.5rem !important; }
.pr-1 { padding-right: 0.5rem !important; }
.pb-1 { padding-bottom: 0.5rem !important; }
.pl-1 { padding-left: 0.5rem !important; }

.p-2 { padding: 1rem !important; }
.pt-2 { padding-top: 1rem !important; }
.pr-2 { padding-right: 1rem !important; }
.pb-2 { padding-bottom: 1rem !important; }
.pl-2 { padding-left: 1rem !important; }

.p-3 { padding: 1.5rem !important; }
.pt-3 { padding-top: 1.5rem !important; }
.pr-3 { padding-right: 1.5rem !important; }
.pb-3 { padding-bottom: 1.5rem !important; }
.pl-3 { padding-left: 1.5rem !important; }

.p-4 { padding: 2rem !important; }
.pt-4 { padding-top: 2rem !important; }
.pr-4 { padding-right: 2rem !important; }
.pb-4 { padding-bottom: 2rem !important; }
.pl-4 { padding-left: 2rem !important; }

/* Margin auto */
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.my-auto { margin-top: auto !important; margin-bottom: auto !important; }

/* ============================================================================
   FLEXBOX UTILITIES
   ============================================================================ */

.flex-row { flex-direction: row !important; }
.flex-column { flex-direction: column !important; }
.flex-row-reverse { flex-direction: row-reverse !important; }
.flex-column-reverse { flex-direction: column-reverse !important; }

.flex-wrap { flex-wrap: wrap !important; }
.flex-nowrap { flex-wrap: nowrap !important; }

.justify-start { justify-content: flex-start !important; }
.justify-end { justify-content: flex-end !important; }
.justify-center { justify-content: center !important; }
.justify-between { justify-content: space-between !important; }
.justify-around { justify-content: space-around !important; }
.justify-evenly { justify-content: space-evenly !important; }

.align-start { align-items: flex-start !important; }
.align-end { align-items: flex-end !important; }
.align-center { align-items: center !important; }
.align-baseline { align-items: baseline !important; }
.align-stretch { align-items: stretch !important; }

.gap-0 { gap: 0 !important; }
.gap-1 { gap: 0.5rem !important; }
.gap-2 { gap: 1rem !important; }
.gap-3 { gap: 1.5rem !important; }
.gap-4 { gap: 2rem !important; }

/* ============================================================================
   GRID UTILITIES
   ============================================================================ */

.grid-cols-1 { grid-template-columns: repeat(1, 1fr) !important; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr) !important; }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr) !important; }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr) !important; }

/* ============================================================================
   SCREEN READER ONLY
   ============================================================================ */

.sr-only,
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ============================================================================
   RESPONSIVE UTILITIES
   ============================================================================ */

@media (max-width: 768px) {
  .hide-mobile { display: none !important; }
  .show-mobile { display: block !important; }
}

@media (min-width: 769px) {
  .hide-desktop { display: none !important; }
  .show-desktop { display: block !important; }
}

/* ============================================================================
   PRINT STYLES
   ============================================================================ */

@media print {
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }

  .no-print {
    display: none !important;
  }
}

/* ============================================================================
   REDUCED MOTION (Accessibility)
   ============================================================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ============================================================================
   HIGH CONTRAST MODE (Accessibility)
   ============================================================================ */

@media (prefers-contrast: high) {
  * {
    border-color: currentColor !important;
  }

  a {
    text-decoration: underline;
  }
}

/* ============================================================================
   DARK MODE (Optional)
   ============================================================================ */



/* ============================================================================
   RESPONSIVE CONTAINERS
   ============================================================================ */

@media (max-width: 1400px) {
  .container-wide {
    max-width: 1200px;
  }
}

@media (max-width: 1200px) {
  .container {
    max-width: 1024px;
  }
}

@media (max-width: 1024px) {
  .container {
    max-width: 100%;
    padding: 0 1.5rem;
  }
}

@media (max-width: 768px) {
  .container,
  .container-narrow,
  .container-wide,
  .container-fluid {
    padding: 0 1rem;
  }

  .page-content {
    padding: 1.5rem 0;
  }
}

@media (max-width: 480px) {
  .container,
  .container-narrow,
  .container-wide,
  .container-fluid {
    padding: 0 0.875rem;
  }

  .page-content {
    padding: 1rem 0;
  }
}

/* ===== typography-buttons.css ===== */
/* ============================================================================
   TYPOGRAPHY, LINKS & BUTTONS - 2026 Standards
   Travel Network Canada - Text & Interactive Elements
   Version: 2.0 | Updated: January 2026
   ============================================================================ */

/* ============================================================================
   BASE TYPOGRAPHY
   ============================================================================ */

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, 
               "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1f2937;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ============================================================================
   HEADINGS
   ============================================================================ */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: #1e3c72;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1.25rem;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

h5 {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
}

h6 {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}

/* ============================================================================
   PARAGRAPHS & TEXT
   ============================================================================ */

p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.lead {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.6;
  color: #4b5563;
}

.text-small {
  font-size: 0.875rem;
}

.text-large {
  font-size: 1.125rem;
}

/* Text alignment */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }

/* Text colors */
.text-primary { color: #1e3c72; }
.text-secondary { color: #6b7280; }
.text-success { color: #16a34a; }
.text-warning { color: #f59e0b; }
.text-error { color: #dc2626; }
.text-muted { color: #9ca3af; }
.text-white { color: #ffffff; }

/* Font weights */
.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

/* Text transforms */
.text-uppercase { text-transform: uppercase; }
.text-lowercase { text-transform: lowercase; }
.text-capitalize { text-transform: capitalize; }

/* Text decoration */
.text-underline { text-decoration: underline; }
.text-line-through { text-decoration: line-through; }
.text-no-decoration { text-decoration: none; }

/* ============================================================================
   LINKS
   ============================================================================ */

a {
  color: #1e3c72;
  text-decoration: none;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

a:hover {
  color: #2a5298;
  text-decoration: underline;
}

a:focus-visible {
  outline: 3px solid #ffc107;
  outline-offset: 2px;
  border-radius: 2px;
}

a:active {
  color: #1b355f;
}

/* Link variants */
.link-primary {
  color: #1e3c72;
}

.link-primary:hover {
  color: #2a5298;
}

.link-secondary {
  color: #6b7280;
}

.link-secondary:hover {
  color: #4b5563;
}

.link-white {
  color: #ffffff;
}

.link-white:hover {
  color: rgba(255, 255, 255, 0.9);
}

/* Link with icon */
.link-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.link-icon:hover {
  text-decoration: none;
  gap: 0.75rem;
}

/* External link indicator */
a[target="_blank"]::after {
  content: '\f35d';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.75em;
  margin-left: 0.375rem;
  opacity: 0.6;
}

a[target="_blank"]:hover::after {
  opacity: 1;
}

/* ============================================================================
   BUTTONS - Base Styles
   ============================================================================ */

.btn,
.btn-primary,
.btn-secondary,
.btn-tertiary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  font-family: inherit;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* ============================================================================
   BUTTON VARIANTS
   ============================================================================ */

/* Primary Button */
.btn-primary {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(30, 60, 114, 0.3);
}

.btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #1b355f 0%, #24457f 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(30, 60, 114, 0.4);
  text-decoration: none;
}

.btn-primary:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(30, 60, 114, 0.3);
}

/* Secondary Button */
.btn-secondary {
  background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
  color: #1e3c72;
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.btn-secondary:hover:not(:disabled) {
  background: linear-gradient(135deg, #ffb300 0%, #ffa000 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 193, 7, 0.4);
  text-decoration: none;
}

.btn-secondary:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
}

/* Tertiary Button (Outline) */
.btn-tertiary {
  background: transparent;
  color: #1e3c72;
  border: 2px solid #1e3c72;
  box-shadow: none;
}

.btn-tertiary:hover:not(:disabled) {
  background: #1e3c72;
  color: #ffffff;
  transform: translateY(-2px);
  text-decoration: none;
}

/* Ghost Button */
.btn-ghost {
  background: transparent;
  color: #1e3c72;
  border: none;
  box-shadow: none;
}

.btn-ghost:hover:not(:disabled) {
  background: rgba(30, 60, 114, 0.08);
  text-decoration: none;
}

/* White Button */
.btn-white {
  background: #ffffff;
  color: #1e3c72;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-white:hover:not(:disabled) {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Success Button */
.btn-success {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

.btn-success:hover:not(:disabled) {
  background: linear-gradient(135deg, #15803d 0%, #166534 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(22, 163, 74, 0.4);
}

/* Danger Button */
.btn-danger {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.btn-danger:hover:not(:disabled) {
  background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(220, 38, 38, 0.4);
}

/* ============================================================================
   BUTTON SIZES
   ============================================================================ */

.btn-small,
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-large,
.btn-lg {
  padding: 1.125rem 2.25rem;
  font-size: 1.125rem;
}

.btn-block {
  width: 100%;
  display: flex;
}

/* ============================================================================
   BUTTON STATES
   ============================================================================ */

.btn:disabled,
.btn-primary:disabled,
.btn-secondary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn:focus-visible,
.btn-primary:focus-visible,
.btn-secondary:focus-visible {
  outline: 3px solid #ffc107;
  outline-offset: 2px;
}

/* Loading state.
   Loading labels are content spans, not generic button-like controls. A spinner is
   rendered only by an explicit .spinner element or a button using .is-loading. */
.btn-loading {
  pointer-events: none;
}

.btn.is-loading::after,
.btn-primary.is-loading::after,
.btn-secondary.is-loading::after {
  content: '';
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border: 2px solid rgba(255,255,255,.38);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: btn-spin 0.6s linear infinite;
}

@keyframes btn-spin {
  to { transform: rotate(360deg); }
}

/* ============================================================================
   BUTTON GROUPS
   ============================================================================ */

.btn-group {
  display: inline-flex;
  gap: 0.5rem;
}

.btn-group-vertical {
  display: inline-flex;
  flex-direction: column;
  gap: 0.5rem;
}

.btn-group-attached {
  display: inline-flex;
  gap: 0;
}

.btn-group-attached .btn:not(:first-child) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.btn-group-attached .btn:not(:last-child) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

/* ============================================================================
   FONT AWESOME ALIGNMENT
   ============================================================================ */

.fa,
.fas,
.fa-solid,
.fa-regular,
.fa-brands,
.fa-light,
.fa-thin {
  vertical-align: middle;
  line-height: 1;
}

/* Icon sizes */
.fa-xs { font-size: 0.75em; }
.fa-sm { font-size: 0.875em; }
.fa-lg { font-size: 1.25em; }
.fa-xl { font-size: 1.5em; }
.fa-2x { font-size: 2em; }
.fa-3x { font-size: 3em; }

/* ============================================================================
   LISTS
   ============================================================================ */

ul, ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.list-unstyled {
  list-style: none;
  padding-left: 0;
}

.list-inline {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ============================================================================
   BLOCKQUOTES
   ============================================================================ */

blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  border-left: 4px solid #ffc107;
  background: #f8fafc;
  font-style: italic;
  color: #4b5563;
}

blockquote p:last-child {
  margin-bottom: 0;
}

blockquote cite {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-style: normal;
  color: #6b7280;
}

blockquote cite::before {
  content: '- ';
}

/* ============================================================================
   CODE & PRE
   ============================================================================ */

code {
  padding: 0.2em 0.4em;
  background: #f3f4f6;
  border-radius: 4px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.875em;
  color: #dc2626;
}

pre {
  padding: 1rem;
  background: #1f2937;
  border-radius: 8px;
  overflow-x: auto;
  margin: 1rem 0;
}

pre code {
  padding: 0;
  background: transparent;
  color: #f9fafb;
  font-size: 0.875rem;
}

/* ============================================================================
   HORIZONTAL RULE
   ============================================================================ */

hr {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 2rem 0;
}

/* ============================================================================
   SELECTION
   ============================================================================ */

::selection {
  background: #ffc107;
  color: #1e3c72;
}

::-moz-selection {
  background: #ffc107;
  color: #1e3c72;
}

/* ============================================================================
   RESPONSIVE TYPOGRAPHY
   ============================================================================ */

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  .btn,
  .btn-primary,
  .btn-secondary {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }

  .btn-small,
  .btn-sm {
    padding: 0.5rem 0.875rem;
    font-size: 0.8rem;
  }

  .btn-large,
  .btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14px;
  }

  .btn,
  .btn-primary,
  .btn-secondary {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
  }
}

/* ============================================================================
   PRINT STYLES
   ============================================================================ */

@media print {
  a {
    text-decoration: underline;
  }

  a[href^="http"]:after {
    content: " (" attr(href) ")";
    font-size: 0.875em;
  }

  .btn,
  .btn-primary,
  .btn-secondary {
    display: none;
  }

  blockquote {
    border-left-color: #000;
    background: none;
  }
}

/* ============================================================================
   REDUCED MOTION (Accessibility)
   ============================================================================ */

@media (prefers-reduced-motion: reduce) {
  .btn,
  .btn-primary,
  .btn-secondary,
  a {
    transition: none;
  }

  .btn:hover,
  .btn-primary:hover,
  .btn-secondary:hover {
    transform: none;
  }
}

/* ============================================================================
   HIGH CONTRAST MODE (Accessibility)
   ============================================================================ */

@media (prefers-contrast: high) {
  .btn,
  .btn-primary,
  .btn-secondary {
    border: 2px solid currentColor;
  }

  a {
    text-decoration: underline;
  }
}
/* ===== layout-components.css ===== */
/* ============================================================================
   LAYOUT & GRID SYSTEMS - 2026 Standards
   ============================================================================ */

/* ============================================================================
   GRID LAYOUTS
   ============================================================================ */

/* Two-column grid with asymmetric sizing */
.grid-2 {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
}

/* Equal two-column grid */
.grid-2-equal {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

/* Three-column cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

/* Four-column grid */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

/* Auto-fit grid (responsive) */
.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

/* ============================================================================
   CARDS - Base Styles
   ============================================================================ */

.card {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  border-color: rgba(30, 60, 114, 0.1);
}

/* Card with icon */
.card-icon {
  font-size: 2rem;
  color: #2a5298;
  margin-bottom: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(42, 82, 152, 0.1);
  border-radius: 10px;
}

/* Card heading */
.card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e3c72;
  margin: 0;
  line-height: 1.3;
}

/* Card text */
.card p {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
}

/* Card link/CTA */
.card-link {
  margin-top: auto;
  font-weight: 600;
  font-size: 0.95rem;
  color: #1e3c72;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  padding-top: 0.5rem;
}

.card-link::after {
  content: "\f061";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.card-link:hover {
  color: #2a5298;
  text-decoration: none;
  gap: 0.75rem;
}

.card-link:hover::after {
  transform: translateX(4px);
}

.card-link:focus-visible {
  outline: 3px solid #ffc107;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ============================================================================
   CARD VARIANTS
   ============================================================================ */

/* Highlighted card */
.card-highlight {
  border: 2px solid #ffc107;
  background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
}

/* Featured card */
.card-featured {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: #ffffff;
}

.card-featured h3,
.card-featured p,
.card-featured .card-link {
  color: #ffffff;
}

.card-featured .card-icon {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* Compact card */
.card-compact {
  padding: 1.25rem;
  gap: 0.5rem;
}

.card-compact h3 {
  font-size: 1rem;
}

.card-compact p {
  font-size: 0.875rem;
}

/* ============================================================================
   IMAGE CARDS
   ============================================================================ */

.image-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
  position: relative;
}

.image-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.image-card img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.image-card:hover img {
  transform: scale(1.05);
}

/* Image card with overlay */
.image-card-overlay {
  position: relative;
}

.image-card-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-card-overlay:hover::after {
  opacity: 1;
}

.image-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  color: #ffffff;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.image-card-overlay:hover .image-card-content {
  transform: translateY(0);
}

/* ============================================================================
   LISTS
   ============================================================================ */

.bullet-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.bullet-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #374151;
}

.bullet-list li::before {
  content: "\f111";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.5rem;
  color: #ffc107;
  position: absolute;
  left: 0;
  top: 0.6rem;
}

/* Checkmark list */
.check-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.check-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.check-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.875rem;
  color: #16a34a;
  position: absolute;
  left: 0;
  top: 0.25rem;
  width: 1.25rem;
  height: 1.25rem;
  background: rgba(22, 163, 74, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Numbered list (styled) */
.numbered-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  counter-reset: item;
}

.numbered-list li {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1rem;
  counter-increment: item;
}

.numbered-list li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}

/* ============================================================================
   WIDGET BLOCKS
   ============================================================================ */

.widget-block {
  margin: 2rem 0;
  padding: 1.5rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 2px dashed rgba(30, 60, 114, 0.2);
  transition: all 0.2s ease;
}

.widget-block:hover {
  background: #f1f5f9;
  border-color: rgba(30, 60, 114, 0.3);
}

.widget-block-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1e3c72;
  margin: 0 0 0.75rem;
}

.widget-block-content {
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Info widget */
.widget-info {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-color: #3b82f6;
}

/* Warning widget */
.widget-warning {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-color: #f59e0b;
}

/* Success widget */
.widget-success {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-color: #16a34a;
}

/* ============================================================================
   PWA INSTALL BANNER
   ============================================================================
   Runtime and presentation ownership moved to site-shell.css. Keeping the
   legacy component here caused max-width, margin and background values to leak
   into the newer non-blocking install toast.
*/

/* ============================================================================
   CONTAINER UTILITIES
   ============================================================================ */

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-fluid {
  width: 100%;
  padding: 0 1.5rem;
}

/* ============================================================================
   SECTION SPACING
   ============================================================================ */

.section-spacing {
  padding: 4rem 0;
}

.section-spacing-sm {
  padding: 2rem 0;
}

.section-spacing-lg {
  padding: 6rem 0;
}

/* ============================================================================
   RESPONSIVE BREAKPOINTS
   ============================================================================ */

@media (max-width: 1024px) {
  .grid-2,
  .grid-2-equal {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .cards-grid,
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .card {
    padding: 1.5rem;
  }

  .section-spacing {
    padding: 3rem 0;
  }

  .section-spacing-lg {
    padding: 4rem 0;
  }
}

@media (max-width: 480px) {
  .card {
    padding: 1.25rem;
  }

  .card h3 {
    font-size: 1.1rem;
  }

  .card p {
    font-size: 0.9rem;
  }

}

/* ============================================================================
   DESKTOP SPECIFIC
   ============================================================================ */


/* ============================================================================
   LARGE SCREENS
   ============================================================================ */

@media (min-width: 1400px) {
  .cards-grid {
    gap: 2rem;
  }

  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .section-spacing {
    padding: 5rem 0;
  }

  .section-spacing-lg {
    padding: 8rem 0;
  }
}

/* ============================================================================
   PRINT STYLES
   ============================================================================ */

@media print {
  .pwa-install-banner,
  .widget-block {
    display: none;
  }

  .card {
    box-shadow: none;
    border: 1px solid #e5e7eb;
    page-break-inside: avoid;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================================
   REDUCED MOTION (Accessibility)
   ============================================================================ */

@media (prefers-reduced-motion: reduce) {
  .card,
  .image-card,
  .pwa-install-banner {
    transition: none;
    animation: none;
  }

  .card:hover,
  .image-card:hover {
    transform: none;
  }
}

/* ===== home.css ===== */
/* ===================================================== */
/* WORLD LANDING (HOMEPAGE STYLES) */
/* ===================================================== */

/* Skip link accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 8px;
  background: #111827;
  color: #ffffff;
  padding: 8px 12px;
  z-index: 10000;
  border-radius: 4px;
  text-decoration: none;
}

.skip-link:focus {
  top: 8px;
}

/* Main content area */
main[role="main"],
.page-content {
  padding: 0;
  background: transparent;
}

/* Stats grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: white;
  padding: 1.75rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.stat-number {
  font-size: 2.1rem;
  font-weight: 700;
  color: #ffc107;
  margin-bottom: 0.4rem;
}

.stat-label {
  color: #6b7280;
  font-size: 0.9rem;
}

.widget-placeholder {
  background: #f3f4f6;
  border: 1px dashed #d1d5db;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  color: #6b7280;
  font-size: 0.9rem;
}

/* Category grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.category-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.category-image {
  width: 100%;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.2rem;
  font-weight: 700;
}

.category-image i {
  margin-right: 0.4rem;
}

.category-content {
  padding: 1.4rem;
}

.category-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #1e3c72;
}

.category-desc {
  color: #4b5563;
  font-size: 0.92rem;
  margin-bottom: 0.9rem;
  line-height: 1.5;
}

/* Multiple buttons in category cards */
.category-card .btn-secondary {
  display: inline-block;
  margin-top: 0.5rem;
}

/* Blog grid (homepage cards) */
.home-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.home-blog-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.home-blog-image {
  width: 100%;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  font-weight: 700;
}

.home-blog-content {
  padding: 1.4rem;
}

.home-blog-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #1e3c72;
  line-height: 1.4;
}

.home-blog-date {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-bottom: 0.4rem;
  display: block;
}

.home-blog-excerpt {
  color: #4b5563;
  font-size: 0.9rem;
  margin-bottom: 0.9rem;
  line-height: 1.5;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.testimonial-card {
  background: white;
  padding: 1.75rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border-left: 4px solid #ffc107;
}

.stars {
  color: #fbbf24;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.testimonial-text {
  color: #111827;
  margin-bottom: 0.9rem;
  font-style: italic;
  line-height: 1.6;
}

.testimonial-author {
  font-weight: 600;
  color: #1e3c72;
  font-size: 0.95rem;
}

/* Newsletter section */
.newsletter-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 2.75rem 2rem;
  border-radius: 8px;
  text-align: center;
}

.newsletter-title {
  font-size: 1.7rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.newsletter-text {
  font-size: 0.98rem;
  opacity: 0.95;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 10px 12px;
  border-radius: 5px;
  border: 1px solid #e5e7eb;
  font-size: 0.95rem;
}

.newsletter-form input[type="email"]:focus {
  outline: 2px solid #fffb9c;
  outline-offset: 2px;
}

/* Visually hidden (for labels) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Responsive styles for landing (homepage) */
@media (max-width: 768px) {
  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input[type="email"] {
    min-width: 100%;
  }

  .brand span {
    display: none;
  }

  .category-grid,
  .home-blog-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 0 16px;
  }

  .category-grid,
  .home-blog-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}
/* ===== hero-section.css ===== */
/* ============================================================================
   HERO SECTION - Complete Styling with Background Image
   Travel Network Canada - Version 2.0 | January 2026
   ============================================================================ */

/* ============================================================================
   HERO CONTAINER WITH BACKGROUND
   ============================================================================ */

.hero {
  position: relative;
  color: #ffffff;
  padding: 6rem 1.5rem;
  margin: 1.5rem auto;
  max-width: 1200px;
  border-radius: 12px;
  overflow: hidden;
  
  /* Self-contained background; no missing image dependency. */
  background: linear-gradient(135deg, #16365f 0%, #24568a 52%, #1c6d72 100%);
  
  /* Ensure background doesn't repeat */
  background-attachment: scroll;
  background-size: cover;
  background-position: center center;
}

/* Subtle pattern overlay for depth */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* ============================================================================
   HERO TEXT CONTENT
   ============================================================================ */

.hero-headline {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 1.5rem;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero-subheadline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.6;
  margin: 0 auto 3rem;
  max-width: 800px;
  color: #ffffff;
  font-weight: 400;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

/* ============================================================================
   HERO SEARCH BOX
   ============================================================================ */

.hero-search {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 2rem;
  margin: 0 auto 2.5rem;
  max-width: 850px;
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 2;
}

.hero-search form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Search Fields Grid */
.search-fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

/* Form Group */
.hero-search .form-group {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* ============================================================================
   INPUT STYLING
   ============================================================================ */

.hero-search input[type="text"],
.hero-search input[type="date"],
.hero-search .airport-input {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  color: #1a202c;
  transition: all 0.2s ease;
  outline: none;
}

.hero-search input::placeholder {
  color: #a0aec0;
}

/* Hover State */
.hero-search input:hover {
  border-color: #cbd5e0;
}

/* Focus State */
.hero-search input:focus {
  border-color: #1e3c72;
  box-shadow: 0 0 0 3px rgba(30, 60, 114, 0.1);
}

/* Focus-visible for keyboard navigation */
.hero-search input:focus-visible {
  outline: 3px solid #ffc107;
  outline-offset: 2px;
}

/* ============================================================================
   INPUT VALIDATION STATES
   ============================================================================ */

/* Error State */
.hero-search input.error {
  border-color: #dc2626;
  background-color: #fef2f2;
}

.hero-search input.error:focus {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Valid State */
.hero-search input.valid {
  border-color: #16a34a;
  background-color: #f0fdf4;
}

.hero-search input.valid:focus {
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}

/* Disabled State */
.hero-search input:disabled {
  background-color: #f3f4f6;
  color: #9ca3af;
  cursor: not-allowed;
  opacity: 0.6;
}

/* ============================================================================
   ERROR MESSAGES
   ============================================================================ */

.error-message {
  display: none;
  font-size: 0.75rem;
  color: #dc2626;
  font-weight: 500;
  margin-top: 0.25rem;
  padding-left: 0.25rem;
}

.error-message:not(:empty) {
  display: block;
}

/* ============================================================================
   SEARCH BUTTONS
   ============================================================================ */

.search-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.search-buttons button {
  flex: 1;
  min-width: 180px;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
}

/* Primary Button */
.search-buttons .btn-primary {
  background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
  color: #1e3c72;
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.search-buttons .btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 193, 7, 0.4);
}

.search-buttons .btn-primary:active:not(:disabled) {
  transform: translateY(0);
}

.search-buttons .btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Secondary Button */
.search-buttons .btn-secondary {
  background: #ffffff;
  color: #1e3c72;
  border: 2px solid #1e3c72;
}

.search-buttons .btn-secondary:hover:not(:disabled) {
  background: #1e3c72;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Button Focus State */
.search-buttons button:focus-visible {
  outline: 3px solid #ffc107;
  outline-offset: 2px;
}

/* ============================================================================
   BUTTON LOADING STATE
   ============================================================================ */

.btn-loading {
  display: none;
}

.btn-primary[disabled] .btn-text {
  display: none;
}

.btn-primary[disabled] .btn-loading {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(30, 60, 114, 0.3);
  border-top-color: #1e3c72;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================================================
   SEARCH RESULTS
   ============================================================================ */

.search-results {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  display: none;
  color: #1a202c;
}

.search-results:not(:empty) {
  display: block;
}

.search-results.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
}

.loading-message {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #64748b;
  font-size: 0.95rem;
}

.loading-message .spinner {
  border-color: #cbd5e0;
  border-top-color: #1e3c72;
}

/* ============================================================================
   HERO CTAs
   ============================================================================ */

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-ctas .btn-primary,
.hero-ctas .btn-secondary {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
}

.hero-ctas .btn-primary {
  background: #ffffff;
  color: #1e3c72;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-ctas .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.hero-ctas .btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
}

.hero-ctas .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  text-decoration: none;
}

.hero-ctas .btn-primary:focus-visible,
.hero-ctas .btn-secondary:focus-visible {
  outline: 3px solid #ffc107;
  outline-offset: 2px;
}

/* ============================================================================
   TRUST BADGES
   ============================================================================ */

.trust-badges {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.trust-badges .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e3c72;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.trust-badges .badge i {
  font-size: 1rem;
}

/* ============================================================================
   GENERIC SECTIONS
   ============================================================================ */

.section {
  padding: 4rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  background: transparent;
}

.section-alt {
  background-color: #f8fafc;
  border-radius: 12px;
  margin: 2rem auto;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1.5rem;
  text-align: center;
  color: #1e3c72;
  font-weight: 700;
  line-height: 1.2;
}

.section-intro {
  max-width: 800px;
  margin: 0 auto 2.5rem;
  text-align: center;
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.7;
}

/* ============================================================================
   RESPONSIVE DESIGN
   ============================================================================ */

/* Tablet and below */
@media (max-width: 768px) {
  .hero {
    padding: 4rem 1.25rem;
    margin: 1rem;
    border-radius: 10px;
  }

  .hero-headline {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .hero-subheadline {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .hero-search {
    padding: 1.5rem;
    border-radius: 10px;
  }

  .search-fields {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .hero-search input {
    padding: 0.75rem 0.875rem;
    font-size: 0.95rem;
  }

  .search-buttons {
    flex-direction: column;
  }

  .search-buttons button {
    width: 100%;
    min-width: auto;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero-ctas .btn-primary,
  .hero-ctas .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .trust-badges {
    gap: 0.5rem;
  }

  .trust-badges .badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.75rem;
  }

  .section {
    padding: 3rem 1.25rem;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .hero {
    padding: 3rem 1rem;
  }

  .hero-headline {
    font-size: 1.75rem;
  }

  .hero-subheadline {
    font-size: 0.95rem;
  }

  .hero-search {
    padding: 1.25rem;
  }

  .search-buttons button {
    padding: 0.875rem 1.25rem;
    font-size: 0.95rem;
  }

  .trust-badges .badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.625rem;
  }

  .section {
    padding: 2.5rem 1rem;
  }
}

/* Tablet Landscape */
@media (min-width: 769px) and (max-width: 1024px) {
  .search-fields {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-search {
    max-width: 750px;
  }
}

/* Large Screens */
@media (min-width: 1400px) {
  .hero {
    max-width: 1400px;
    padding: 7rem 2rem;
  }

  .hero-inner {
    max-width: 1000px;
  }

  .hero-search {
    max-width: 950px;
    padding: 2.5rem;
  }

  .section {
    max-width: 1400px;
    padding: 5rem 2rem;
  }
}

/* ============================================================================
   PRINT STYLES
   ============================================================================ */

@media print {
  .hero {
    background: none !important;
    color: #000 !important;
    padding: 2rem 0;
    box-shadow: none;
  }

  .hero::before {
    display: none;
  }

  .hero-headline,
  .hero-subheadline {
    color: #000 !important;
    text-shadow: none !important;
  }

  .hero-search,
  .hero-ctas,
  .trust-badges,
  .search-buttons {
    display: none !important;
  }
}

/* ============================================================================
   REDUCED MOTION (Accessibility)
   ============================================================================ */

@media (prefers-reduced-motion: reduce) {
  .hero,
  .hero-search,
  .search-buttons button,
  .hero-ctas .btn-primary,
  .hero-ctas .btn-secondary,
  .spinner {
    animation: none;
    transition: none;
  }

  .search-buttons button:hover,
  .hero-ctas .btn-primary:hover,
  .hero-ctas .btn-secondary:hover {
    transform: none;
  }
}

/* ============================================================================
   HIGH CONTRAST MODE (Accessibility)
   ============================================================================ */

@media (prefers-contrast: high) {
  .hero-search input {
    border-width: 3px;
  }

  .search-buttons button {
    border: 2px solid currentColor;
  }

  .hero-headline,
  .hero-subheadline {
    text-shadow: none;
  }
}
/* ===== search-forms.css ===== */
/* ============================================================================
   FORMS & INPUTS - 2026 Standards
   Travel Network Canada - Form Elements & Validation
   Version: 2.0 | Updated: January 2026
   ============================================================================ */

/* ============================================================================
   BASE FORM STYLES
   ============================================================================ */

form {
  width: 100%;
}

fieldset {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

legend {
  font-weight: 600;
  color: #1e3c72;
  padding: 0 0.5rem;
  font-size: 1.125rem;
}

/* ============================================================================
   FORM GROUPS & LABELS
   ============================================================================ */

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form-label,
label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.form-label-required::after,
.required::after {
  content: '*';
  color: #dc2626;
  margin-left: 0.25rem;
}

.form-label-optional {
  font-weight: 400;
  color: #9ca3af;
  font-size: 0.875rem;
  margin-left: 0.5rem;
}

/* ============================================================================
   INPUT FIELDS
   ============================================================================ */

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="number"],
input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="month"],
input[type="week"],
select,
textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  line-height: 1.5;
  color: #1a202c;
  background-color: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  transition: all 0.2s ease;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* Placeholder */
input::placeholder,
textarea::placeholder {
  color: #a0aec0;
  opacity: 1;
}

/* Hover state */
input:hover,
select:hover,
textarea:hover {
  border-color: #cbd5e0;
}

/* Focus state */
input:focus,
select:focus,
textarea:focus {
  border-color: #1e3c72;
  box-shadow: 0 0 0 3px rgba(30, 60, 114, 0.1);
}

/* Focus-visible for keyboard navigation */
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #ffc107;
  outline-offset: 2px;
}

/* ============================================================================
   INPUT VALIDATION STATES
   ============================================================================ */

/* Valid state */
input.valid,
select.valid,
textarea.valid {
  border-color: #16a34a;
  background-color: #f0fdf4;
}

input.valid:focus,
select.valid:focus,
textarea.valid:focus {
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}

/* Error state */
input.error,
select.error,
textarea.error {
  border-color: #dc2626;
  background-color: #fef2f2;
}

input.error:focus,
select.error:focus,
textarea.error:focus {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Warning state */
input.warning,
select.warning,
textarea.warning {
  border-color: #f59e0b;
  background-color: #fffbeb;
}

input.warning:focus,
select.warning:focus,
textarea.warning:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

/* Disabled state */
input:disabled,
select:disabled,
textarea:disabled {
  background-color: #f3f4f6;
  color: #9ca3af;
  cursor: not-allowed;
  opacity: 0.6;
  border-color: #e5e7eb;
}

/* Read-only state */
input:read-only,
textarea:read-only {
  background-color: #f8fafc;
  cursor: default;
}

/* ============================================================================
   VALIDATION MESSAGES
   ============================================================================ */

.form-message,
.error-message,
.success-message,
.warning-message,
.helper-text {
  font-size: 0.875rem;
  margin-top: 0.375rem;
  display: flex;
  align-items: flex-start;
  gap: 0.375rem;
}

.error-message {
  color: #dc2626;
  font-weight: 500;
}

.error-message::before {
  content: '⚠';
  flex-shrink: 0;
}

.success-message {
  color: #16a34a;
  font-weight: 500;
}

.success-message::before {
  content: '✓';
  flex-shrink: 0;
}

.warning-message {
  color: #f59e0b;
  font-weight: 500;
}

.warning-message::before {
  content: '⚠';
  flex-shrink: 0;
}

.helper-text {
  color: #6b7280;
}

.helper-text::before {
  content: 'ℹ';
  flex-shrink: 0;
}

/* Hide empty messages */
.error-message:empty,
.success-message:empty,
.warning-message:empty,
.helper-text:empty {
  display: none;
}

/* ============================================================================
   TEXTAREA
   ============================================================================ */

textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

textarea.no-resize {
  resize: none;
}

textarea.resize-horizontal {
  resize: horizontal;
}

/* ============================================================================
   SELECT DROPDOWN
   ============================================================================ */

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
  padding-right: 2.5rem;
  cursor: pointer;
}

select:disabled {
  cursor: not-allowed;
}

select[multiple] {
  background-image: none;
  padding-right: 1rem;
  min-height: 120px;
}

/* ============================================================================
   CHECKBOXES & RADIO BUTTONS
   ============================================================================ */

input[type="checkbox"],
input[type="radio"] {
  width: 1.125rem;
  height: 1.125rem;
  margin: 0;
  cursor: pointer;
  accent-color: #1e3c72;
}

input[type="checkbox"]:disabled,
input[type="radio"]:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

/* Checkbox/Radio with label */
.form-check {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.form-check input {
  flex-shrink: 0;
}

.form-check label {
  font-weight: 400;
  cursor: pointer;
  user-select: none;
}

.form-check input:disabled + label {
  cursor: not-allowed;
  opacity: 0.6;
}

/* ============================================================================
   FILE INPUT
   ============================================================================ */

input[type="file"] {
  padding: 0.625rem 1rem;
  cursor: pointer;
}

input[type="file"]::file-selector-button {
  padding: 0.5rem 1rem;
  margin-right: 1rem;
  background: #1e3c72;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}

input[type="file"]::file-selector-button:hover {
  background: #2a5298;
}

input[type="file"]:disabled::file-selector-button {
  background: #9ca3af;
  cursor: not-allowed;
}

/* ============================================================================
   RANGE INPUT
   ============================================================================ */

input[type="range"] {
  padding: 0;
  height: 0.5rem;
  background: #e5e7eb;
  border: none;
  border-radius: 999px;
}

input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  background: #1e3c72;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  background: #2a5298;
  transform: scale(1.1);
}

input[type="range"]::-moz-range-thumb {
  width: 1.25rem;
  height: 1.25rem;
  background: #1e3c72;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
}

input[type="range"]::-moz-range-thumb:hover {
  background: #2a5298;
  transform: scale(1.1);
}

/* ============================================================================
   SEARCH FORMS
   ============================================================================ */

.search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
}

.search-form .form-group {
  flex: 1;
  min-width: 200px;
  margin-bottom: 0;
}

.search-form input,
.search-form select {
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
}

.search-form .btn {
  white-space: nowrap;
  padding: 0.75rem 1.5rem;
}

/* Compact search form */
.search-form-compact {
  gap: 0.5rem;
}

.search-form-compact input,
.search-form-compact select {
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
}

.search-form-compact .btn {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

/* ============================================================================
   INPUT GROUPS (with icons/buttons)
   ============================================================================ */

.input-group {
  display: flex;
  position: relative;
}

.input-group input {
  flex: 1;
}

.input-group-prepend,
.input-group-append {
  display: flex;
  align-items: center;
}

.input-group-prepend {
  margin-right: -1px;
}

.input-group-append {
  margin-left: -1px;
}

.input-group-text {
  padding: 0.875rem 1rem;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  color: #6b7280;
  font-size: 0.95rem;
  white-space: nowrap;
}

.input-group-prepend .input-group-text {
  border-right: none;
  border-radius: 8px 0 0 8px;
}

.input-group-append .input-group-text {
  border-left: none;
  border-radius: 0 8px 8px 0;
}

.input-group input:first-child {
  border-radius: 8px 0 0 8px;
}

.input-group input:last-child {
  border-radius: 0 8px 8px 0;
}

/* ============================================================================
   FLOATING LABELS
   ============================================================================ */

.form-floating {
  position: relative;
}

.form-floating input,
.form-floating textarea {
  padding: 1.25rem 1rem 0.5rem;
}

.form-floating label {
  position: absolute;
  top: 0;
  left: 0;
  padding: 1rem;
  pointer-events: none;
  transform-origin: 0 0;
  transition: all 0.2s ease;
  color: #9ca3af;
  font-weight: 400;
}

.form-floating input:focus ~ label,
.form-floating input:not(:placeholder-shown) ~ label,
.form-floating textarea:focus ~ label,
.form-floating textarea:not(:placeholder-shown) ~ label {
  transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
  color: #1e3c72;
  font-weight: 600;
}

/* ============================================================================
   INLINE FORMS
   ============================================================================ */

.form-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.form-inline .form-group {
  margin-bottom: 0;
  flex: 0 0 auto;
}

.form-inline label {
  margin-right: 0.5rem;
}

/* ============================================================================
   FORM GRID
   ============================================================================ */

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}

.form-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.form-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.form-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ============================================================================
   RESPONSIVE FORMS
   ============================================================================ */

@media (max-width: 768px) {
  .search-form {
    flex-direction: column;
    gap: 1rem;
  }

  .search-form .form-group {
    min-width: 100%;
  }

  .search-form .btn {
    width: 100%;
  }

  .form-grid,
  .form-grid-2,
  .form-grid-3,
  .form-grid-4 {
    grid-template-columns: 1fr;
  }

  .form-inline {
    flex-direction: column;
    align-items: stretch;
  }

  .form-inline .form-group {
    width: 100%;
  }

  .input-group {
    flex-direction: column;
  }

  .input-group input,
  .input-group-text {
    border-radius: 8px !important;
    border: 2px solid #e2e8f0 !important;
  }

  .input-group-prepend,
  .input-group-append {
    margin: 0;
  }
}

@media (max-width: 480px) {
  input,
  select,
  textarea {
    padding: 0.75rem 0.875rem;
    font-size: 0.95rem;
  }

  .search-form input,
  .search-form select {
    padding: 0.625rem 0.875rem;
    font-size: 0.9rem;
  }

  fieldset {
    padding: 1rem;
  }
}

/* ============================================================================
   PRINT STYLES
   ============================================================================ */

@media print {
  input,
  select,
  textarea {
    border: 1px solid #000;
    background: none;
  }

  .btn {
    display: none;
  }

  .form-message,
  .error-message,
  .success-message,
  .warning-message {
    display: none;
  }
}

/* ============================================================================
   REDUCED MOTION (Accessibility)
   ============================================================================ */

@media (prefers-reduced-motion: reduce) {
  input,
  select,
  textarea,
  .form-floating label {
    transition: none;
  }
}

/* ============================================================================
   HIGH CONTRAST MODE (Accessibility)
   ============================================================================ */

@media (prefers-contrast: high) {
  input,
  select,
  textarea {
    border-width: 2px;
  }

  input:focus,
  select:focus,
  textarea:focus {
    outline: 3px solid currentColor;
  }
}
/* ===== countries.css ===== */
/* Country page root */
.country-page {}

/* Country-specific branding */
.country-page .country-hero {
    background:
        linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
        var(--country-hero-image) center/cover no-repeat;
}

.country-page .country-accent {
    color: var(--country-primary);
}

.country-page .country-btn {
    background: var(--country-primary);
}

.country-page .country-btn:hover {
    background: var(--country-accent);
    color: var(--country-primary);
}

.country-page .country-border {
    border-left: 4px solid var(--country-primary);
}

/* Flight tabs – matches existing card/layout style */
.country-page .flight-tabs {
    margin-top: 1.5rem;
}

.country-page .flight-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 1rem;
}

.country-page .flight-tab-btn {
    padding: 0.4rem 0.9rem;
    border-radius: 999px 999px 0 0;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: #4b5563;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.country-page .flight-tab-btn:hover {
    background-color: #f3f4f6;
}

.country-page .flight-tab-btn.is-active {
    background-color: #ffffff;
    border-color: #e5e7eb;
    border-bottom-color: #ffffff;
    color: #1e3c72;
}

.country-page .flight-tabs-panels {
    background-color: #ffffff;
    border-radius: 0 0 10px 10px;
    border: 1px solid #e5e7eb;
    padding: 1.25rem;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.country-page .flight-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.country-page .flight-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 0.9rem 0.85rem;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06);
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.country-page .flight-card-airport {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
}

.country-page .flight-card-route {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e3c72;
}

.country-page .flight-card-meta {
    font-size: 0.8rem;
    color: #6b7280;
}

.country-page .flight-card a.btn-primary {
    margin-top: 0.45rem;
    padding: 0.5rem 0.9rem;
    font-size: 0.82rem;
    border-radius: 999px;
    box-shadow: none;
}

.country-page .flight-card a.btn-primary:hover {
    box-shadow: 0 4px 10px rgba(30, 60, 114, 0.25);
}

@media (max-width: 960px) {
    .country-page .flight-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .country-page .flight-cards-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Country-specific gradient variant using CSS variables */
.country-page .newsletter-section--country {
    background: linear-gradient(
        135deg,
        var(--country-primary, #2563EB) 0%,
        var(--country-accent, #F97316) 100%
    );
    color: #ffffff;
}

/* ===== blog.css ===== */
/* Blog layout – legacy list view (used only where .blog-grid is alone) */
.blog-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.blog-grid article {
  background: #ffffff;
  border-radius: 8px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.blog-grid article:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14);
  border-color: #0ea5e9;
}

.blog-grid h1,
.blog-grid h2 {
  margin: 0 0 0.5rem;
  font-size: 1.6rem;
  line-height: 1.3;
}

.blog-grid h2 a {
  color: #0f172a;
  text-decoration: none;
}

.blog-grid h2 a:hover {
  color: #0ea5e9;
}

.blog-meta {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 0.75rem;
}

.blog-excerpt {
  font-size: 0.95rem;
  color: #1e293b;
  line-height: 1.6;
}

/* Single post */
.post {
  background: #ffffff;
}

.post h1 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.post .post-meta {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 1.5rem;
}

.post .content {
  font-size: 1rem;
  color: #0f172a;
  line-height: 1.7;
}

.post .content p {
  margin-bottom: 1.1rem;
}

/* Comments */
.comments {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.6);
  margin-top: 3rem;
}

.comments h2,
.comments h3 {
  margin: 2rem 0 1rem;
  font-size: 1.25rem;
}

.comment {
  border-radius: 6px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background-color: #f8fafc;
  padding: 0.9rem 1rem;
  margin-bottom: 0.85rem;
}

.comment strong {
  font-size: 0.95rem;
  color: #0f172a;
}

.comment small,
.comment time {
  font-size: 0.8rem;
  color: #64748b;
}

/* Comment form */
#commentForm {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1rem;
}

#commentForm input[type="text"],
#commentForm input[type="email"],
#commentForm textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 6px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

#commentForm input[type="text"]:focus,
#commentForm input[type="email"]:focus,
#commentForm textarea:focus {
  border-color: #0ea5e9;
  box-shadow: 0 0 0 1px rgba(14, 165, 233, 0.2);
}

#commentForm textarea {
  min-height: 120px;
  grid-column: 1 / -1;
  resize: vertical;
}

#commentForm .g-recaptcha,
#commentForm #g-recaptcha-response {
  grid-column: 1 / -1;
}

#commentForm button[type="submit"] {
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: none;
  background: #0ea5e9;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  justify-self: flex-start;
  transition: background 0.15s ease, transform 0.1s ease;
  grid-column: 1 / -1;
}

#commentForm button[type="submit"]:hover {
  background: #0284c7;
  transform: translateY(-1px);
}

/* Empty states */
.blog-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  color: #64748b;
  font-size: 0.98rem;
}

/* Blog index page layout */
.blog-grid-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.blog-header {
  margin-bottom: 2.5rem;
  text-align: left;
}

/* Filters on index – card style with background */
.blog-filters {
  background: #ffffff;
  border-radius: 10px;
  padding: 1.75rem 2rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

/* Make search wide, category + buttons on the right */
.blog-filters-row {
  display: grid;
  grid-template-columns: minmax(280px, 2fr) minmax(200px, auto) auto;
  gap: 1rem 1.5rem;
  align-items: flex-end;
}

.blog-filter {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.blog-filter label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
}

.blog-filter input[type="search"],
.blog-filter select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: 6px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 0.95rem;
  font-family: inherit;
  background: #ffffff;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.blog-filter input[type="search"]:focus,
.blog-filter select:focus {
  border-color: #0ea5e9;
  box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.15);
}

.blog-filter-actions {
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
}

/* Index cards grid – 3 columns */
.blog-grid-page .blog-grid.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

/* Individual blog cards on index */
.blog-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.3);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.blog-card-inner {
  padding: 1.3rem 1.4rem 1.2rem;
  gap: 0.65rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  border-color: #0ea5e9;
}

.blog-card-title {
  font-size: 1.05rem;
  margin: 0 0 0.3rem;
  color: #0f172a;
  line-height: 1.3;
}

.blog-card-title a {
  color: inherit;
  text-decoration: none;
}

.blog-card-title a:hover {
  color: #0ea5e9;
  text-decoration: underline;
}

.blog-date {
  font-size: 0.82rem;
  color: #6b7280;
  margin: 0;
}

.blog-card-excerpt {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.5;
  margin: 0 0 0.75rem;
}

/* Button inside blog card */
.blog-card .btn {
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.9rem;
  padding: 0.6rem 1.2rem;
}

/* Post layout with sidebar */
.post-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.post-container {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}

.post-main {
  min-width: 0;
}

/* Sidebar */
.post-sidebar {
  position: relative;
}

.sidebar-sticky {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.sidebar-card h3 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  color: #0f172a;
  font-weight: 700;
}

/* Table of Contents */
.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-list li {
  margin-bottom: 0.65rem;
}

.toc-list a {
  color: #475569;
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.4;
  display: block;
  transition: color 0.15s ease, padding-left 0.15s ease;
}

.toc-list a:hover {
  color: #0ea5e9;
  padding-left: 0.5rem;
}

/* AdSense placeholder */
.adsense-card {
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
}

.adsense-placeholder {
  width: 100%;
  min-height: 250px;
}

/* Recent posts */
.recent-posts-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.recent-post-item {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.recent-post-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.recent-post-item a {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.recent-post-title {
  color: #0f172a;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
  transition: color 0.15s ease;
}

.recent-post-item a:hover .recent-post-title {
  color: #0ea5e9;
}

.recent-post-date {
  color: #64748b;
  font-size: 0.8rem;
}

/* Indent h3 items in TOC */
.toc-item.toc-level-3 {
  padding-left: 1.2rem;
}

.toc-item.toc-level-3 a {
  font-size: 0.85rem;
  color: #64748b;
}

/* ========== NEW: Blog categories layout with sidebar ========== */

.blog-layout-with-sidebar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

/* Sidebar */
.blog-sidebar {
  position: relative;
}

.blog-sidebar .sidebar-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 1rem;
}

/* Category tabs list */
.category-tabs {
  list-style: none;
  padding: 0.5rem;
  margin: 0 0 1.5rem;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.category-tab {
  margin: 0.1rem 0;
}

.category-tab a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #0f172a;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
}

.category-tab a:hover {
  background: #eff6ff;
  color: #0ea5e9;
  padding-left: 0.95rem;
}

.category-tab.is-active a {
  background: #0ea5e9;
  color: #ffffff;
  font-weight: 600;
}

/* Active tab subtle left border (optional) */
.category-tab.is-active a {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
}

/* Category intro blurb */
.category-intro {
  background: #f8fafc;
  border-radius: 8px;
  padding: 0.9rem 1rem;
  font-size: 0.9rem;
  color: #475569;
  border: 1px solid rgba(148, 163, 184, 0.35);
  margin-bottom: 1.5rem;
}

/* Date filter form in sidebar */
.category-date-filters {
  background: #ffffff;
  border-radius: 10px;
  padding: 1.25rem 1.4rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.category-date-filters fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

.category-date-filters legend {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.8rem;
}

.date-filter-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.date-filter-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.25rem;
}

.date-filter-field input[type="date"] {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 6px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 0.9rem;
  font-family: inherit;
  background: #ffffff;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.date-filter-field input[type="date"]:focus {
  border-color: #0ea5e9;
  box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.15);
}

.date-filter-actions {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.date-filter-actions .btn-primary,
.date-filter-actions .btn-secondary {
  font-size: 0.85rem;
  padding: 0.5rem 0.9rem;
}

/* Main content area on categories page */
.blog-layout-with-sidebar .blog-main {
  min-width: 0;
}

/* Reuse card grid for categories page */
.blog-layout-with-sidebar .blog-grid.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
}

/* Responsive tweaks */
@media (max-width: 1024px) {
  .blog-grid-page .blog-grid.cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-filters-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .post-container {
    grid-template-columns: 1fr;
  }

  .sidebar-sticky {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }

  .blog-layout-with-sidebar {
    grid-template-columns: minmax(0, 1fr);
    padding: 2.5rem 1.25rem;
  }

  .blog-layout-with-sidebar .blog-main {
    order: 1;
  }

  .blog-layout-with-sidebar .blog-sidebar {
    order: 2;
  }

  .blog-layout-with-sidebar .blog-grid.cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .blog-grid-page {
    padding: 2rem 1rem;
  }

  .blog-filters {
    padding: 1.25rem 1.5rem;
  }

  .blog-filter-actions {
    justify-content: flex-start;
  }

  .blog-grid {
    padding: 2rem 1rem;
  }

  .post-layout {
    padding: 2rem 1rem;
  }

  .sidebar-sticky {
    grid-template-columns: 1fr;
  }

  #commentForm {
    grid-template-columns: 1fr;
  }

  #commentForm button[type="submit"] {
    width: 100%;
    justify-self: stretch;
    text-align: center;
  }

  .blog-layout-with-sidebar {
    padding: 2rem 1rem;
  }

  .blog-layout-with-sidebar .blog-grid.cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .blog-grid-page .blog-grid.cards-grid {
    grid-template-columns: 1fr;
  }
}

/* 2026 editorial blog system */
.blog-shell{width:min(1180px,calc(100% - 2rem));margin-inline:auto}.blog-hero{padding:clamp(3rem,7vw,6rem) 0;background:linear-gradient(135deg,#061b2d,#0b3954 55%,#0e7490);color:#fff}.blog-hero.compact{padding:3.25rem 0}.blog-hero .eyebrow{display:block;font-size:.78rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#a5f3fc;margin-bottom:.75rem}.blog-hero h1{max-width:850px;margin:0;font-size:clamp(2.2rem,5vw,4.8rem);line-height:1.03;color:#fff}.blog-hero p{max-width:760px;margin:1.2rem 0 0;font-size:clamp(1rem,1.6vw,1.25rem);color:#dbeafe}.blog-index-section{padding:3rem 0 5rem}.blog-toolbar{display:grid;grid-template-columns:2fr 1fr auto auto;gap:1rem;align-items:end;padding:1.25rem;background:#fff;border:1px solid #dbe4ec;border-radius:16px;box-shadow:0 12px 32px rgba(15,23,42,.07);margin-top:-4.5rem;position:relative}.blog-toolbar label{display:grid;gap:.4rem;font-weight:700;font-size:.85rem}.blog-toolbar input,.blog-toolbar select{width:100%;min-height:46px;border:1px solid #b8c5d1;border-radius:9px;padding:.7rem .8rem;background:#fff}.blog-results-heading{display:flex;justify-content:space-between;gap:1rem;align-items:end;margin:3rem 0 1.4rem}.blog-results-heading h2{margin:0}.blog-results-heading p{margin:.35rem 0 0;color:#64748b}.editorial-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem}.editorial-blog-card{display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid #dbe4ec;border-radius:16px;box-shadow:0 8px 24px rgba(15,23,42,.06)}.editorial-card-media{display:block;aspect-ratio:16/9;background:linear-gradient(135deg,#dbeafe,#cffafe);overflow:hidden}.editorial-card-media img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}.editorial-blog-card:hover img{transform:scale(1.035)}.editorial-card-media.image-missing:after{content:'Travel Network Canada';display:grid;place-items:center;height:100%;font-weight:800;color:#164e63}.editorial-card-body{display:flex;flex-direction:column;flex:1;padding:1.25rem}.editorial-card-meta{display:flex;flex-wrap:wrap;gap:.55rem 1rem;color:#64748b;font-size:.78rem;text-transform:uppercase;letter-spacing:.04em}.editorial-card-body h2{font-size:1.25rem;line-height:1.25;margin:.75rem 0}.editorial-card-body h2 a{color:#0f172a;text-decoration:none}.editorial-card-body p{color:#475569;line-height:1.65}.text-link{margin-top:auto;color:#0369a1;font-weight:800;text-decoration:none}.blog-pagination{display:flex;justify-content:center;align-items:center;gap:1rem;margin-top:2.5rem}.blog-pagination a,.blog-pagination span{padding:.65rem 1rem;border:1px solid #cbd5e1;border-radius:8px;background:#fff}.article-shell{width:min(1240px,calc(100% - 2rem));margin:0 auto;padding:2rem 0 5rem;display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:3rem}.breadcrumbs{display:flex;gap:.55rem;flex-wrap:wrap;font-size:.84rem;color:#64748b;margin-bottom:1.5rem}.breadcrumbs a{color:#0369a1}.travel-article{background:#fff}.article-header h1{font-size:clamp(2.2rem,5vw,4.4rem);line-height:1.05;margin:.7rem 0 1rem}.article-categories{display:flex;gap:.5rem;flex-wrap:wrap}.article-categories a{padding:.3rem .65rem;border-radius:999px;background:#e0f2fe;color:#075985;text-decoration:none;font-size:.78rem;font-weight:800}.article-deck{font-size:1.2rem;line-height:1.65;color:#475569;max-width:850px}.article-byline{display:flex;flex-wrap:wrap;gap:.75rem 1.25rem;color:#64748b;font-size:.9rem;border-top:1px solid #e2e8f0;padding-top:1rem}.article-featured{margin:2rem 0 0}.article-featured img{width:100%;max-height:560px;object-fit:cover;border-radius:16px}.affiliate-note{margin:2rem 0;padding:1rem 1.2rem;background:#f8fafc;border-left:4px solid #0891b2;border-radius:8px;color:#475569}.article-content{font-size:1.08rem;line-height:1.8;color:#263442}.article-content h2{font-size:1.8rem;margin:2.5rem 0 .8rem;color:#0f172a;scroll-margin-top:110px}.article-content h3{font-size:1.35rem;margin:2rem 0 .65rem;scroll-margin-top:110px}.article-content a{color:#0369a1;font-weight:700}.article-content li+li{margin-top:.45rem}.article-sidebar{min-width:0}.article-sidebar .sidebar-sticky{position:sticky;top:100px}.article-sidebar .sidebar-card h2{font-size:1rem}.related-mini-list{display:grid}.related-mini-list a{display:grid;gap:.25rem;padding:.8rem 0;border-bottom:1px solid #e2e8f0;text-decoration:none;color:#0f172a}.related-mini-list small{color:#64748b}.article-booking-hub{margin-top:3rem;padding:2rem;background:#06243a;border-radius:18px;color:#fff}.article-booking-hub h2{color:#fff}.booking-link-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem}.booking-link-grid a{display:grid;gap:.2rem;padding:1rem;border:1px solid rgba(255,255,255,.2);border-radius:10px;color:#fff;text-decoration:none;background:rgba(255,255,255,.06)}.booking-link-grid span{font-size:.82rem;color:#cbd5e1}.comments{margin-top:3rem;border-top:1px solid #e2e8f0;padding-top:2rem}.comment{padding:1rem 0;border-bottom:1px solid #e2e8f0}.comment time{margin-left:.5rem;color:#64748b;font-size:.85rem}.comment-policy{color:#64748b}.hp-field{position:absolute!important;left:-9999px!important}.category-directory{padding:3rem 0 5rem}.category-directory-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem}.category-directory-grid article{padding:1.5rem;border:1px solid #dbe4ec;border-radius:14px;background:#fff}.category-directory-grid h2{margin:.5rem 0}.category-directory-grid h2 a{text-decoration:none;color:#0f172a}.category-count{font-size:.78rem;font-weight:800;color:#0e7490;text-transform:uppercase}.category-directory-grid small{color:#64748b}@media(max-width:900px){.blog-toolbar{grid-template-columns:1fr 1fr;margin-top:-2rem}.editorial-card-grid,.category-directory-grid{grid-template-columns:repeat(2,1fr)}.article-shell{grid-template-columns:1fr}.article-sidebar .sidebar-sticky{position:static}.booking-link-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.blog-toolbar,.editorial-card-grid,.category-directory-grid,.booking-link-grid{grid-template-columns:1fr}.blog-results-heading{align-items:start;flex-direction:column}.article-shell{width:min(100% - 1.25rem,1240px)}.article-header h1{font-size:2.35rem}}

/* ===== travel-insurance.css ===== */
/* assets/css/travel-insurance.css */

/* Page-level tweaks for travel insurance section */
body.travel-insurance-page {
  background-color: #020617;
  color: #e5e7eb;
}

/* Hero styling (builds on .hero, .country-hero from global CSS) */
.hero.country-hero {
  position: relative;
  padding: 3rem 0 2.5rem;
  color: #f9fafb;
  background: radial-gradient(900px 500px at 10% 0%, rgba(250,112,154,0.5), transparent 60%),
              radial-gradient(900px 500px at 90% 0%, rgba(254,225,64,0.35), transparent 60%),
              linear-gradient(135deg, #0b1220 0%, #020617 100%);
}

.hero.country-hero h1 {
  margin-bottom: 0.5rem;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero.country-hero .lead {
  max-width: 60rem;
  font-size: 1.02rem;
  color: rgba(226,232,240,0.9);
}

/* Widget container in hero */
.hero.country-hero .hero-widget-box {
  margin-top: 1.25rem;
  max-width: 560px;
  background: rgba(15,23,42,0.85);
  border: 1px solid rgba(148,163,184,0.55);
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 14px 32px rgba(15,23,42,0.75);
  backdrop-filter: blur(12px);
}

.hero.country-hero .hero-widget-box iframe {
  width: 100% !important;
  border: 0;
}

@media (max-width: 768px) {
  .hero.country-hero {
    padding: 2.4rem 0 2rem;
  }
  .hero.country-hero .hero-widget-box {
    max-width: 100%;
  }
}

/* Main content area */
.content-section {
  padding: 2rem 0 3rem;
  background: radial-gradient(900px 500px at 0% 100%, rgba(37,99,235,0.24), transparent 65%),
              linear-gradient(180deg, #020617 0%, #020617 100%);
}

/* Info cards consistently styled */
.content-section .info-card {
  border-radius: 14px;
  border: 1px solid rgba(148,163,184,0.4);
  background: rgba(15,23,42,0.9);
  padding: 1.2rem 1.4rem;
  margin-top: 1.5rem;
  box-shadow: 0 18px 40px rgba(15,23,42,0.7);
}

.content-section .info-card h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.content-section .info-card p {
  margin: 0 0 0.5rem;
  color: rgba(226,232,240,0.9);
}

/* Lists */
.content-section .why-list,
.content-section .checklist {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.content-section .why-list li,
.content-section .checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0.35rem 0;
  color: rgba(226,232,240,0.9);
}

.content-section .why-list i,
.content-section .checklist i {
  color: #4ade80;
  margin-top: 0.15rem;
}

/* Providers grid */
.provider-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 1rem 0 1.75rem;
}

.provider-card.insurance-card {
  border-radius: 14px;
  border: 1px solid rgba(148,163,184,0.4);
  background: rgba(15,23,42,0.95);
  padding: 1.1rem 1.25rem;
  box-shadow: 0 18px 40px rgba(15,23,42,0.8);
}

.provider-card.insurance-card h3 {
  margin: 0 0 0.45rem;
}

.provider-card .provider-details p {
  margin: 0.25rem 0;
  color: rgba(226,232,240,0.9);
}

.provider-card .feature-list {
  list-style: none;
  padding-left: 0;
  margin: 0.6rem 0;
}

.provider-card .feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  margin: 0.25rem 0;
  color: rgba(226,232,240,0.9);
}

.provider-card .feature-list i {
  color: #facc15;
  margin-top: 0.1rem;
}

.provider-card .btn.btn-primary {
  margin-top: 0.6rem;
}

@media (max-width: 900px) {
  .provider-grid {
    grid-template-columns: 1fr;
  }
}

/* FAQ */
.content-section .faq-item h3 {
  font-size: 1rem;
}

.content-section .faq-item p {
  color: rgba(203,213,225,0.95);
}

/* Optional: subtle divider between sections */
.content-section h2 {
  margin-top: 2rem;
}
/* ===== route-hubs.css ===== */

/* Travel Network Canada route hubs and final layout fixes - 2026-07-22 */
.route-hero{position:relative;overflow:hidden;padding:clamp(3.5rem,8vw,6.5rem) 0;background:linear-gradient(135deg,#071b33 0%,#123f67 58%,#176b87 100%);color:#fff}
.route-hero:after{content:"";position:absolute;inset:auto -8rem -12rem auto;width:28rem;height:28rem;border-radius:50%;background:rgba(255,255,255,.08)}
.route-hero .container{position:relative;z-index:1;max-width:1180px}
.route-eyebrow{display:inline-flex;align-items:center;gap:.5rem;margin:0 0 1rem;padding:.45rem .8rem;border:1px solid rgba(255,255,255,.35);border-radius:999px;background:rgba(255,255,255,.1);font-size:.84rem;font-weight:800;letter-spacing:.055em;text-transform:uppercase}
.route-hero h1{max-width:850px;margin:0;font-size:clamp(2.15rem,5vw,4.2rem);line-height:1.04;letter-spacing:-.035em;color:#fff}
.route-hero p{max-width:760px;margin:1.25rem 0 0;font-size:clamp(1rem,2vw,1.22rem);line-height:1.75;color:#e6f4fb}
.route-actions{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:1.65rem}.route-actions a{min-height:48px}
.route-section{padding:clamp(3rem,6vw,5.5rem) 0}.route-section.alt{background:#f4f8fb}.route-section .container{max-width:1180px}
.route-heading{max-width:760px;margin-bottom:2rem}.route-heading h2{margin:0 0 .7rem;font-size:clamp(1.75rem,3vw,2.65rem);line-height:1.15;color:#102a43}.route-heading p{margin:0;color:#52677b;line-height:1.75}
.route-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.2rem}.route-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.route-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}
.route-card{display:flex;flex-direction:column;min-width:0;padding:1.4rem;border:1px solid #d9e5ee;border-radius:18px;background:#fff;box-shadow:0 10px 30px rgba(15,41,64,.07)}
.route-card .icon{display:grid;place-items:center;width:46px;height:46px;margin-bottom:1rem;border-radius:13px;background:#e6f5fa;color:#086a83;font-size:1.15rem}.route-card h3{margin:0 0 .6rem;color:#12314c;font-size:1.16rem}.route-card p{margin:0 0 1rem;color:#5a6d7e;line-height:1.65}.route-card ul{margin:.2rem 0 1rem;padding-left:1.2rem;color:#455d70}.route-card li+li{margin-top:.45rem}.route-card a:last-child{margin-top:auto}
.answer-panel{padding:1.5rem;border-left:5px solid #0c829f;border-radius:0 16px 16px 0;background:#eaf7fa}.answer-panel h2,.answer-panel h3{margin-top:0;color:#12314c}.answer-panel p:last-child{margin-bottom:0}
.quick-nav{display:flex;gap:.55rem;flex-wrap:wrap;margin:-1.45rem auto 0;position:relative;z-index:3;padding:1rem;border:1px solid #dbe6ed;border-radius:16px;background:#fff;box-shadow:0 14px 34px rgba(15,41,64,.12);max-width:1180px}.quick-nav a{display:inline-flex;align-items:center;min-height:42px;padding:.55rem .85rem;border-radius:10px;color:#16425f;font-weight:750;text-decoration:none}.quick-nav a:hover,.quick-nav a:focus-visible{background:#e9f6fa;color:#075f78}
.currency-table-wrap{overflow-x:auto;border:1px solid #d9e5ee;border-radius:16px;background:#fff}.currency-table{width:100%;border-collapse:collapse;min-width:720px}.currency-table th,.currency-table td{padding:1rem;text-align:left;border-bottom:1px solid #e8eef2}.currency-table th{background:#edf6f9;color:#153a55;font-size:.82rem;letter-spacing:.04em;text-transform:uppercase}.currency-table tr:last-child td{border-bottom:0}
.package-card .package-meta{display:flex;gap:.45rem;flex-wrap:wrap;margin:.2rem 0 1rem}.package-meta span{padding:.3rem .55rem;border-radius:999px;background:#edf5f8;color:#28546d;font-size:.8rem;font-weight:750}
.faq-list{display:grid;gap:.8rem}.faq-item{border:1px solid #d9e5ee;border-radius:14px;background:#fff;padding:1.15rem 1.25rem}.faq-item h3{margin:0 0 .5rem;color:#153a55;font-size:1.06rem}.faq-item p{margin:0;color:#53697a;line-height:1.68}
.route-cta{padding:clamp(2rem,5vw,3.5rem);border-radius:24px;background:#0c2d48;color:#fff}.route-cta h2{margin-top:0;color:#fff}.route-cta p{max-width:750px;color:#d9edf5}.route-cta .btn-secondary{border-color:#fff;color:#fff}
.search-intent{font-size:.92rem;color:#667a8a}.notice{padding:1rem 1.15rem;border-radius:12px;background:#fff7dd;border:1px solid #ead799;color:#584812}
@media(max-width:960px){.route-grid.four,.route-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.route-hero{padding:3.25rem 0 4rem}.route-grid,.route-grid.two,.route-grid.four{grid-template-columns:1fr}.route-actions{display:grid}.route-actions a{width:100%;justify-content:center}.quick-nav{margin:-1rem 1rem 0;overflow-x:auto;flex-wrap:nowrap}.quick-nav a{white-space:nowrap}.route-card{padding:1.2rem}.route-section{padding:2.75rem 0}}


/* ===== growth-system.css ===== */
:root{--tnc-content:1180px;--tnc-gutter:clamp(1rem,3vw,2rem);--tnc-radius:16px;--tnc-shadow:0 18px 45px rgba(15,23,42,.10)}
.container{width:min(var(--tnc-content),calc(100% - (var(--tnc-gutter)*2)));margin-inline:auto}
main{overflow:clip}.section{padding-block:clamp(2.75rem,6vw,5.5rem)}
.travel-search-panel{width:100%;margin:clamp(1.5rem,4vw,3rem) auto;padding:clamp(1rem,3vw,1.5rem);border:1px solid #dbe4ee;border-radius:var(--tnc-radius);background:#fff;box-shadow:var(--tnc-shadow)}
.travel-search-form .search-fields{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:1rem;align-items:end}.travel-search-form .search-field{grid-column:span 3;min-width:0}.travel-search-form .search-field--compact{grid-column:span 2}.travel-search-form label{display:block;margin-bottom:.4rem;font-weight:700;color:#172033}.travel-search-form input,.travel-search-form select{width:100%;min-height:48px;border:1px solid #b9c6d4;border-radius:10px;padding:.7rem .8rem;background:#fff;color:#172033}.travel-search-form input:focus,.travel-search-form select:focus{outline:3px solid rgba(11,95,165,.18);border-color:#0b5fa5}.search-buttons{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1rem}.search-results{margin-top:1rem;padding:1rem;border-radius:12px;background:#f7fafc}.search-results-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:1rem}.search-card{padding:1rem;border:1px solid #dbe4ee;border-radius:12px;background:#fff}
.lead-magnet{padding-block:clamp(2.5rem,5vw,4rem);background:linear-gradient(135deg,#071a35,#0b5fa5);color:#fff}.lead-magnet__inner{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:clamp(1.5rem,4vw,3rem);align-items:center}.lead-magnet h2{margin:.25rem 0 .75rem;color:#fff;font-size:clamp(1.8rem,4vw,3rem);line-height:1.12}.lead-magnet p,.lead-magnet li{color:rgba(255,255,255,.88)}.lead-magnet ul{display:flex;flex-wrap:wrap;gap:.5rem 1.25rem;padding-left:1.1rem}.lead-magnet__form{padding:clamp(1rem,3vw,1.5rem);border:1px solid rgba(255,255,255,.22);border-radius:var(--tnc-radius);background:rgba(255,255,255,.10);backdrop-filter:blur(10px)}.lead-magnet__form label{display:block;margin-bottom:.45rem;font-weight:700}.lead-magnet__controls{display:flex;gap:.65rem}.lead-magnet__controls input{flex:1;min-width:0;min-height:50px;border:0;border-radius:10px;padding:.8rem 1rem}.lead-magnet__privacy{font-size:.82rem;margin:.75rem 0 0}.lead-magnet__privacy a{color:#fff;text-decoration:underline}.lead-magnet__status{min-height:1.4em;margin-top:.5rem;font-weight:700}.form-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
@media(max-width:900px){.travel-search-form .search-field,.travel-search-form .search-field--compact{grid-column:span 6}.lead-magnet__inner{grid-template-columns:1fr}}
@media(max-width:600px){.travel-search-form .search-field,.travel-search-form .search-field--compact{grid-column:1/-1}.search-buttons>*{width:100%}.lead-magnet__controls{flex-direction:column}.lead-magnet__controls button{width:100%}}
