/*
 * trail-pages.css
 * Shared stylesheet for all trail info pages:
 * Packing List / Weather / FAQs
 * Routes: Inca Trail · Machu Picchu Tours · Salkantay Trek
 *
 * Usage: <link rel="stylesheet" href="/assets/css/trail-pages.css">
 */

/* ══════════════════════════════════════════
   VARIABLES
══════════════════════════════════════════ */
:root {
  --navy:   #0d1b6e;
  --navy2:  #122090;
  --gold:   #c8972a;
  --light:  #f4f6fb;
  --border: #dde3f0;
  --text:   #2c2c2c;
  --muted:  #6b7a99;
}

/* ══════════════════════════════════════════
   BREADCRUMB
══════════════════════════════════════════ */
.breadcrumb-bar {
  background: var(--light);
  border-bottom: 1px solid var(--border);
  padding: .55rem 0;
  font-size: .8rem;
}
.breadcrumb-item a { color: var(--navy2); text-decoration: none; }
.breadcrumb-item.active { color: var(--muted); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--muted); }

/* ══════════════════════════════════════════
   PAGE HERO
   Override --hero-from / --hero-to per page
   e.g. style="--hero-from:#0d1b6e; --hero-to:#122090"
══════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(100deg, var(--hero-from, #0d1b6e) 55%, var(--hero-to, #122090) 100%);
  padding: 2.5rem 0 2rem;
  border-bottom: 4px solid var(--gold);
}
.page-hero .tag {
  display: inline-block;
  background: rgba(200,151,42,.2);
  color: #ffd97a;
  border: 1px solid rgba(200,151,42,.4);
  font-family: 'Montserrat', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: .3rem .85rem;
  border-radius: 2px;
  margin-bottom: .9rem;
}
.page-hero h1 {
  color: #fff;
  font-weight: 800;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: .5rem;
}
.page-hero p {
  color: rgba(255,255,255,.72);
  font-size: .93rem;
  max-width: 560px;
  margin-bottom: 0;
}
.page-hero img.hero-img {
  max-height: 200px;
  object-fit: cover;
  width: 100%;
  border: 3px solid rgba(255,255,255,.15);
  border-radius: 6px;
}

/* Hero stats row */
.hero-stats {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.hero-stat {
  text-align: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 5px;
  padding: .6rem 1.1rem;
  min-width: 90px;
}
.hero-stat strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: #ffd97a;
}
.hero-stat span {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.6);
}

/* ══════════════════════════════════════════
   MAIN WRAPPER
══════════════════════════════════════════ */
.main-wrap { padding: 2.5rem 0 3.5rem; }

/* ══════════════════════════════════════════
   SIDEBAR
══════════════════════════════════════════ */
.sidebar-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 1.25rem;
}
.sidebar-card .card-head {
  background: var(--navy);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .7rem 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.sidebar-card .card-body-inner { padding: 1rem; }

/* Tour links list */
.tour-link {
  display: block;
  padding: .6rem .85rem;
  border-left: 3px solid transparent;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: border-color .15s, color .15s, background .15s;
}
.tour-link:hover,
.tour-link.active {
  border-left-color: var(--navy);
  color: var(--navy);
  background: var(--light);
}
.tour-link + .tour-link { border-top: 1px solid var(--border); }

/* Quick nav cards (Packing / Weather / FAQs) */
.quick-nav-card {
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  aspect-ratio: 4/3;
}
.quick-nav-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.55);
  transition: filter .25s;
}
.quick-nav-card:hover img { filter: brightness(.4); }
.quick-nav-card .qn-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  line-height: 1.3;
  padding: .5rem;
}
.quick-nav-card.active-page { outline: 3px solid var(--gold); }
.quick-nav-card.active-page img { filter: brightness(.35); }

/* Sidebar CTA (dark) */
.sidebar-cta {
  background: var(--navy);
  border-color: var(--navy);
}
.sidebar-cta .card-body-inner { text-align: center; padding: 1.25rem 1rem; }
.sidebar-cta p {
  color: #fff;
  font-size: .83rem;
  margin-bottom: 1rem;
}
.sidebar-cta p strong { font-family: 'Montserrat', sans-serif; }
.sidebar-cta p span { color: rgba(255,255,255,.7); font-size: .78rem; }
.sidebar-cta .btn-cta {
  display: block;
  width: 100%;
  background: var(--gold);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .6rem;
  border-radius: 3px;
  text-decoration: none;
  text-align: center;
  transition: background .15s;
}
.sidebar-cta .btn-cta:hover { background: #b07e1e; }

/* ══════════════════════════════════════════
   SECTION TITLES
══════════════════════════════════════════ */
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--navy);
  border-left: 4px solid var(--gold);
  padding-left: .75rem;
  margin: 0 0 1.25rem;
}

/* ══════════════════════════════════════════
   ALERT BOXES
══════════════════════════════════════════ */
.tip-alert {
  background: #f0f4ff;
  border-left: 4px solid var(--navy2);
  border-radius: 0 5px 5px 0;
  padding: .85rem 1rem;
  font-size: .83rem;
  color: #334;
  margin-bottom: 1.25rem;
}
.tip-alert strong { color: var(--navy); }

.warn-alert {
  background: #fff8e1;
  border-left: 4px solid #f0a500;
  border-radius: 0 5px 5px 0;
  padding: .85rem 1rem;
  font-size: .83rem;
  color: #5a3e00;
  margin-bottom: 1.25rem;
}
.warn-alert strong { color: #b35f00; }

.danger-alert {
  background: #fff5f5;
  border-left: 4px solid #c0392b;
  border-radius: 0 5px 5px 0;
  padding: .85rem 1rem;
  font-size: .83rem;
  color: #5a1a1a;
  margin-bottom: 1.25rem;
}
.danger-alert strong { color: #c0392b; }

/* ══════════════════════════════════════════
   SHARED TABLE STYLE
══════════════════════════════════════════ */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: .87rem;
}
.info-table thead th {
  background: var(--navy);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .6rem .9rem;
  text-align: left;
}
.info-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background .12s;
}
.info-table tbody tr:last-child { border-bottom: none; }
.info-table tbody tr:hover { background: var(--light); }
.info-table td { padding: .6rem .9rem; vertical-align: middle; }
.info-table td:first-child {
  font-weight: 700;
  color: var(--navy);
  font-family: 'Montserrat', sans-serif;
  font-size: .82rem;
}

/* ══════════════════════════════════════════
   PACKING LIST — CHECKLIST TABLE
══════════════════════════════════════════ */
.pack-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}
.pack-table thead th {
  background: var(--navy);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .6rem .85rem;
}
.pack-table thead th:first-child { width: 36px; text-align: center; }
.pack-table tbody tr {
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background .12s;
}
.pack-table tbody tr:last-child { border-bottom: none; }
.pack-table tbody tr:hover { background: var(--light); }
.pack-table td { padding: .55rem .85rem; vertical-align: middle; }
.pack-table td:first-child { text-align: center; width: 36px; }

/* Checkbox */
.chk {
  width: 18px;
  height: 18px;
  border: 2px solid #c0c9e0;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, border-color .15s;
  flex-shrink: 0;
  pointer-events: none;
}
tr.checked .chk { background: var(--navy); border-color: var(--navy); }
tr.checked .chk::after { content: '✓'; font-size: .68rem; color: #fff; font-weight: 700; }
tr.checked .item-name { text-decoration: line-through; color: #aab; }
tr.checked .item-note { color: #c5c9d5; }

.item-name { font-weight: 600; font-size: .87rem; display: block; }
.item-note { font-size: .77rem; color: var(--muted); font-style: italic; display: block; margin-top: .1rem; }

/* Priority badges */
.badge-must {
  font-size: .62rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: .07em;
  background: #fff0e0;
  color: #b35f00;
  border: 1px solid #f0c080;
  border-radius: 3px;
  padding: .15rem .5rem;
  white-space: nowrap;
}
.badge-optional {
  font-size: .62rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: .07em;
  background: #f0f4ff;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: .15rem .5rem;
  white-space: nowrap;
}

/* Progress tracker */
.progress-big {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.progress-sub { font-size: .8rem; color: var(--muted); margin-top: .2rem; }
.progress { height: 8px; border-radius: 4px; background: var(--border); margin: .85rem 0 .4rem; }
.progress-bar {
  background: linear-gradient(90deg, var(--navy2), var(--gold));
  border-radius: 4px;
  transition: width .4s ease;
}
.progress-msg { font-size: .8rem; color: var(--muted); }

/* Don't bring list */
.dont-list { list-style: none; padding: 0; margin: 0; }
.dont-list li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  padding: .45rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .85rem;
}
.dont-list li:last-child { border-bottom: none; }
.dont-list li i { color: #c0392b; font-size: 1rem; flex-shrink: 0; margin-top: 1px; }

/* ══════════════════════════════════════════
   WEATHER — MONTH CARDS
══════════════════════════════════════════ */
.month-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.month-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow .2s, border-color .2s;
}
.month-card:hover { box-shadow: 0 4px 16px rgba(13,27,110,.1); border-color: #b0bcd8; }
.month-card .mc-head {
  padding: .65rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.month-card .mc-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #fff;
}
.month-card .mc-season-tag {
  font-size: .62rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 20px;
  padding: .2rem .55rem;
  background: rgba(255,255,255,.25);
  color: #fff;
}
.month-card .mc-body { padding: .85rem 1rem; background: #fff; }
.month-card .mc-icon { font-size: 1.8rem; margin-bottom: .4rem; }
.mc-temp { display: flex; justify-content: space-between; margin-bottom: .5rem; }
.mc-temp-item { text-align: center; }
.mc-temp-item strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
}
.mc-temp-item span { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.mc-rain-bar-wrap { margin-top: .55rem; }
.mc-rain-label { display: flex; justify-content: space-between; font-size: .7rem; color: var(--muted); margin-bottom: .2rem; }
.mc-rain-bar { height: 5px; background: var(--border); border-radius: 3px; }
.mc-rain-bar-fill { height: 100%; border-radius: 3px; transition: width .4s; }
.mc-desc { font-size: .78rem; color: var(--muted); margin-top: .55rem; line-height: 1.4; }

/* Season colour themes */
.season-dry   .mc-head { background: linear-gradient(90deg, #1a6b3a, #28a05a); }
.season-dry   .mc-rain-bar-fill { background: #28a05a; }
.season-wet   .mc-head { background: linear-gradient(90deg, #1565c0, #1e88e5); }
.season-wet   .mc-rain-bar-fill { background: #1e88e5; }
.season-shoulder .mc-head { background: linear-gradient(90deg, #b35f00, #e07b10); }
.season-shoulder .mc-rain-bar-fill { background: #e07b10; }
.season-closed .mc-head { background: linear-gradient(90deg, #555, #777); }
.season-closed .mc-rain-bar-fill { background: #999; }

/* Temperature colours */
.temp-cold { color: #1565c0; font-weight: 700; }
.temp-warm { color: #c0392b; font-weight: 700; }

/* What to wear cards */
.wear-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.1rem;
  height: 100%;
}
.wear-card .wc-icon { font-size: 2rem; margin-bottom: .5rem; }
.wear-card h5 {
  font-family: 'Montserrat', sans-serif;
  font-size: .85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--navy);
  margin-bottom: .3rem;
}
.wear-card .wc-time {
  font-size: .72rem;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: .55rem;
}
.wear-card ul { list-style: none; padding: 0; margin: 0; }
.wear-card ul li {
  font-size: .82rem;
  color: var(--text);
  padding: .3rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: .5rem;
}
.wear-card ul li:last-child { border-bottom: none; }
.wear-card ul li i { color: var(--navy2); font-size: .8rem; flex-shrink: 0; margin-top: 2px; }

/* Season legend (sidebar) */
.season-legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  flex-shrink: 0;
  display: inline-block;
}

/* ══════════════════════════════════════════
   FAQs — ACCORDION
══════════════════════════════════════════ */

/* Search */
.faq-search-wrap { position: relative; margin-bottom: 1.5rem; }
.faq-search-wrap i {
  position: absolute;
  left: .9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: .9rem;
  pointer-events: none;
}
.faq-search-input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: .65rem 1rem .65rem 2.4rem;
  font-size: .88rem;
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  outline: none;
  transition: border-color .15s;
}
.faq-search-input:focus {
  border-color: var(--navy2);
  box-shadow: 0 0 0 3px rgba(18,32,144,.08);
}

/* Category tabs */
.faq-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem; }
.faq-tab {
  font-family: 'Montserrat', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .45rem 1rem;
  border-radius: 3px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  transition: all .15s;
}
.faq-tab:hover { border-color: var(--navy2); color: var(--navy2); }
.faq-tab.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Group */
.faq-group { margin-bottom: 2rem; }
.faq-group-title {
  font-family: 'Montserrat', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .75rem;
  padding-bottom: .4rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: .5rem;
}

/* FAQ item */
.faq-item {
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: .5rem;
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item:hover { border-color: #b0bcd8; }
.faq-item.open { border-color: var(--navy2); }

.faq-question {
  width: 100%;
  background: #fff;
  border: none;
  text-align: left;
  padding: 1rem 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  transition: background .15s;
}
.faq-question:hover { background: var(--light); }
.faq-item.open .faq-question { background: var(--light); }

.faq-q-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .88rem;
  color: var(--navy);
  line-height: 1.4;
}
.faq-item.open .faq-q-text { color: var(--navy2); }

.faq-icon {
  width: 22px;
  height: 22px;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: .75rem;
  color: var(--muted);
  transition: all .2s;
  margin-top: 1px;
}
.faq-item.open .faq-icon {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 1.1rem 1rem;
  font-size: .87rem;
  color: var(--text);
  line-height: 1.7;
  border-top: 1px solid var(--border);
}
.faq-item.open .faq-answer { display: block; }
.faq-answer p { margin: .75rem 0 0; }
.faq-answer p:first-child { margin-top: .75rem; }
.faq-answer strong { color: var(--navy); }
.faq-answer ul, .faq-answer ol { padding-left: 1.25rem; margin: .5rem 0; }
.faq-answer li { margin-bottom: .35rem; }
.faq-answer a { color: var(--navy2); text-decoration: underline; }

.faq-highlight {
  background: var(--light);
  border-left: 3px solid var(--gold);
  border-radius: 0 4px 4px 0;
  padding: .65rem .9rem;
  margin: .65rem 0;
  font-size: .84rem;
}
.faq-highlight strong { color: var(--navy); }

/* No results */
.faq-no-results {
  display: none;
  font-size: .87rem;
  color: var(--muted);
  text-align: center;
  padding: 2rem;
}

/* FAQ sidebar index */
.faq-index-link {
  display: block;
  padding: .45rem .85rem;
  font-size: .8rem;
  color: var(--text);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: all .15s;
}
.faq-index-link:hover {
  border-left-color: var(--gold);
  color: var(--navy);
  background: var(--light);
}
.faq-index-link + .faq-index-link { border-top: 1px solid var(--border); }

/* ══════════════════════════════════════════
   SEASON CARDS (shared — packing & weather)
══════════════════════════════════════════ */
.season-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.1rem;
  height: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.season-card:hover {
  border-color: var(--navy2);
  box-shadow: 0 2px 12px rgba(13,27,110,.08);
}
.season-card .season-icon { font-size: 2rem; margin-bottom: .5rem; }
.season-card h5 {
  font-family: 'Montserrat', sans-serif;
  font-size: .87rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--navy);
}
.season-card .months {
  font-size: .75rem;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: .4rem;
}
.season-card p { font-size: .82rem; color: var(--muted); margin: 0; }

/* ══════════════════════════════════════════
   BOTTOM CTA BANNER
══════════════════════════════════════════ */
.page-cta-banner {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}
.page-cta-banner h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: .95rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 .3rem;
}
.page-cta-banner p { font-size: .83rem; color: var(--muted); margin: 0; }
.page-cta-banner .cta-buttons { display: flex; gap: .6rem; flex-wrap: wrap; }

.btn-navy {
  background: var(--navy);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .65rem 1.25rem;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s;
}
.btn-navy:hover { background: var(--navy2); color: #fff; }

.btn-gold {
  background: var(--gold);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .65rem 1.25rem;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s;
}
.btn-gold:hover { background: #b07e1e; color: #fff; }

/* ══════════════════════════════════════════
   ALT TABLE (Temperature by Altitude)
══════════════════════════════════════════ */
.alt-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  font-size: .87rem;
  margin-bottom: 1.5rem;
}
.alt-table thead th {
  background: var(--navy);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .7rem 1rem;
  text-align: left;
  white-space: nowrap;
}
.alt-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background .12s;
}
.alt-table tbody tr:last-child { border-bottom: none; }
.alt-table tbody tr:nth-child(even) { background: #fafbfe; }
.alt-table tbody tr:hover { background: var(--light); }
.alt-table tbody td {
  padding: .65rem 1rem;
  vertical-align: middle;
  font-size: .84rem;
}
.alt-table tbody td:first-child {
  font-weight: 700;
  color: var(--navy);
  font-family: 'Montserrat', sans-serif;
  font-size: .82rem;
}
.alt-table tbody td:nth-child(2) {
  white-space: nowrap;
  color: var(--muted);
  font-weight: 600;
}

/* ══════════════════════════════════════════
   INFO TABLE FIXES
══════════════════════════════════════════ */
.info-table {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.info-table thead th {
  white-space: nowrap;
  padding: .7rem 1rem;
}
.info-table tbody td {
  padding: .65rem 1rem;
  border-right: 1px solid var(--border);
  font-size: .84rem;
}
.info-table tbody td:last-child {
  border-right: none;
}
.info-table tbody tr:nth-child(even) {
  background: #fafbfe;
}
.info-table tbody tr:hover {
  background: var(--light);
}
/* First column — location name */
.info-table tbody td:first-child {
  min-width: 200px;
}
/* Altitude column */
.info-table tbody td:nth-child(2) {
  white-space: nowrap;
  color: var(--muted);
  font-weight: 600;
  font-size: .82rem;
}
/* Responsive — hide last column on mobile */
@media (max-width: 576px) {
  .info-table thead th:last-child,
  .info-table tbody td:last-child {
    display: none;
  }
}

/* ══════════════════════════════════════════
   SHARED JS — pack in one place
   Include trail-pages.js after this CSS
══════════════════════════════════════════ */