
/* Region colour comes from the page (:root { --region-colour }) */
.region-hero-bg { background-color: var(--region-colour); background-position: center 40%; }
.region-stats { background: var(--region-colour); box-shadow: inset 0 0 0 999px rgba(0,0,0,0.28); }
.region-info-head { background: var(--region-colour); box-shadow: inset 0 0 0 999px rgba(0,0,0,0.28); }

/* ── REGION MAP ── */
.region-map-section { max-width: 1320px; margin: 0 auto; padding: 0 2.5rem 2.5rem; }
.region-map-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; flex-wrap: wrap; gap: 0.5rem; }
.region-map-title { font-family: var(--f-head); font-size: 1.4rem; font-weight: 600; color: var(--water-1); }
.region-map-sub { font-family: var(--f-label); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.map-layer-btns { display: flex; gap: 0.4rem; }
.map-layer-btn { font-family: var(--f-label); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.3rem 0.75rem; border-radius: 4px; border: 1px solid var(--border); background: #fff; color: var(--muted); cursor: pointer; transition: all 0.15s; }
.map-layer-btn.active, .map-layer-btn:hover { background: var(--region-colour); border-color: var(--region-colour); color: #fff; }
.region-map { height: 480px; border-radius: 10px; border: 1px solid var(--border); box-shadow: 0 4px 20px rgba(0,62,81,0.10); }
@media (max-width: 1024px) {
  .region-info-body { grid-template-columns: repeat(3, 1fr); }
  .region-info-body .ri-row:nth-child(3) { border-right: none; }
  .region-info-body .ri-row:nth-child(n+4) { border-top: 1px solid var(--border); }
  .region-info-body .ri-row:nth-child(5) { border-right: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 900px) {
  .region-intro-layout { grid-template-columns: 1fr; }
  .paddlesa-box { position: static; }
}
@media (max-width: 768px) {
  .util-bar { display: none; }
  .nav-inner { padding: 0 1rem; height: 60px; }
  .nav-items { display: none; }
  .nav-hamburger { display: none; }
  .nav-logo { margin-right: 0; }
  .nav-logo .logo-text { display: flex !important; }
  .logo-name { font-size: 1.33rem; -webkit-text-stroke: 1px var(--water-1); max-width: calc(100vw - 80px); }
  .logo-tagline { font-size: 0.90rem; letter-spacing: 0.14em; }
  .mob-tabbar    { display: flex !important; }
  .mob-sheet     { display: block; }
  body           { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
  .nav-cta       { display: none; }
  .nav-page-title { display: none; }
  .breadcrumb { padding: 0.55rem 1.25rem; }
  .region-hero { height: clamp(260px, 45vh, 400px); }
  .region-hero-content { padding: 0 1.25rem 1.5rem; }
  .region-hero-h1 { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  .region-hero-sub { font-size: 0.9rem; }
  .region-stats-inner { flex-wrap: wrap; }
  .rst-item { flex: 1 0 50%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); padding: 0.85rem 1.25rem; }
  .rst-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.1); }
  .region-intro-wrap { padding: 1.75rem 1.25rem 1.25rem; }
  .region-intro-text p { font-size: 0.92rem; }
  .region-info-body { grid-template-columns: 1fr 1fr; }
  .region-info-body .ri-row { border-right: none; border-bottom: 1px solid var(--border); }
  .region-info-body .ri-row:last-child { border-bottom: none; }
  .region-info-body .ri-row:nth-child(3) { border-right: none; }
  .region-info-body .ri-row:nth-child(n+4) { border-top: none; }
  .region-warning { padding: 0.85rem 1rem; font-size: 0.84rem; }
  .region-map-section { padding: 0 1.25rem 2rem; }
  .region-map { height: 360px; }
  .filter-bar { padding: 0 1.25rem; top: 60px; }
  .filter-label { display: none; }
  .trail-count-label { font-size: 0.68rem; }
  .trails-grid-section { padding: 1.25rem 1.25rem 3rem; }
  .trails-grid { grid-template-columns: 1fr; gap: 1.1rem; }
  .tc-img { height: 170px; }
  .tc-body { padding: 0.95rem 1rem; }
  .tc-name { font-size: 1.05rem; }
  .tc-desc { font-size: 0.83rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.75rem; padding: 0 1.25rem 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.35rem; padding: 1rem 1.25rem; font-size: 0.72rem; }
}
@media (max-width: 480px) {
  .region-hero-h1 { font-size: clamp(1.6rem, 8vw, 2rem); }
  .region-info-body { grid-template-columns: 1fr; }
  .rst-item { flex: 1 0 100%; border-right: none; }
  .rst-item:nth-child(odd) { border-right: none; }
  .filter-btn { font-size: 0.68rem; padding: 0.3rem 0.65rem; }
}


/* ── MOBILE BOTTOM TAB BAR ── */
.mob-tabbar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 300;
  width: 100%;
  background: var(--white); border-top: 1px solid var(--border);
  height: calc(58px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -4px 20px rgba(0,62,81,0.12);
  box-sizing: border-box;
}
.mob-tabbar-inner {
  display: flex; width: 100%; height: 58px;
}
.mob-tab {
  flex: 1 1 0; min-width: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 3px;
  text-decoration: none; cursor: pointer;
  border: none; background: none; padding: 0;
  border-top: 3px solid transparent;
  transition: background 0.15s, border-color 0.15s;
  -webkit-tap-highlight-color: transparent;
  font-family: inherit; user-select: none; -webkit-user-select: none;
}
.mob-tab * { pointer-events: none; }
.mob-tab:active { background: rgba(0,62,81,0.04); }
.mob-tab-pip {
  width: 24px; height: 8px; border-radius: 2px;
  transition: opacity 0.15s;
}
.mob-tab-label {
  font-family: var(--f-label);
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; line-height: 1;
  color: var(--muted); transition: color 0.15s;
  white-space: nowrap;
}
.mob-tab.active { border-top-color: var(--tab-colour); }
.mob-tab.active .mob-tab-label { color: var(--tab-colour); }
.mob-tab-more .mob-tab-icon {
  display: flex; flex-direction: column; gap: 3px;
  width: 16px; pointer-events: none;
}
.mob-tab-more .mob-tab-icon span {
  display: block; height: 2px; border-radius: 1px;
  background: var(--muted); transition: background 0.15s;
}
.mob-tab-more.active .mob-tab-icon span { background: var(--ink); }
.mob-tab-more.active .mob-tab-label { color: var(--ink); }
.mob-tab-more.active { border-top-color: var(--ink); }

/* ── Sheet overlay (More panel) ── */
.mob-sheet-backdrop {
  display: none; position: fixed; inset: 0;
  background: rgba(0,20,30,0.45); z-index: 290;
  backdrop-filter: blur(2px);
}
.mob-sheet-backdrop.show { display: block; }
.mob-sheet {
  display: none;
  position: fixed; bottom: calc(58px + env(safe-area-inset-bottom)); left: 0; right: 0; z-index: 295;
  background: var(--white); border-radius: 14px 14px 0 0;
  padding: 10px 14px 8px;
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
  max-height: 80vh; overflow-y: auto;
}
.mob-sheet.open { display: block; transform: translateY(0); }
.mob-sheet-handle {
  width: 36px; height: 4px; border-radius: 2px;
  background: var(--border); margin: 0 auto 14px;
}
.mob-sheet-row {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 12px; border-radius: 8px;
  text-decoration: none; color: var(--ink);
  font-family: var(--f-body); font-size: 1.05rem; font-weight: 500;
  transition: background 0.12s;
}
.mob-sheet-row:active { background: var(--paper); }
.mob-sheet-dot {
  width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
}
.mob-sheet-divider {
  height: 1px; background: var(--border); margin: 6px 0;
}
.mob-sheet-util {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 12px; border-radius: 8px;
  text-decoration: none; color: var(--muted);
  font-family: var(--f-body); font-size: 1rem;
  transition: background 0.12s;
}
.mob-sheet-util:active { background: var(--paper); }
