.hiy-gpx-library {
  --hiy-ink: #161a18;
  --hiy-ink-soft: #202622;
  --hiy-panel: #29312c;
  --hiy-line: rgba(255, 255, 255, 0.13);
  --hiy-text: #f8f6ef;
  --hiy-muted: #bec6bf;
  --hiy-yellow: #f3c65a;
  --hiy-yellow-dark: #dcae3d;
  --hiy-green: #a9c59f;
  --hiy-blue: #9fc6d6;
  --hiy-orange: #e8ab76;
  --hiy-white: #fff;
  --hiy-radius: 22px;
  --hiy-shadow: 0 24px 70px rgba(12, 16, 13, 0.18);
  color: var(--hiy-text);
  font-family: inherit;
  margin: 0 auto 72px;
  max-width: 1240px;
}

.hiy-gpx-library *,
.hiy-gpx-library *::before,
.hiy-gpx-library *::after {
  box-sizing: border-box;
}

.hiy-gpx-library [hidden] {
  display: none !important;
}

.hiy-gpx-library h1,
.hiy-gpx-library h2,
.hiy-gpx-library h3,
.hiy-gpx-library p,
.hiy-gpx-library dl,
.hiy-gpx-library ol {
  margin-top: 0;
}

.hiy-gpx-library a {
  text-decoration: none;
}

.hiy-gpx-library button,
.hiy-gpx-library input,
.hiy-gpx-library select {
  font: inherit;
}

.hiy-gpx-library :focus-visible {
  outline: 3px solid var(--hiy-yellow);
  outline-offset: 3px;
}

.hiy-gpx-library-page .entry-header .entry-title,
.hiy-gpx-library-page .ast-single-post-order .entry-title {
  display: none;
}

.hiy-gpx-library-page .site-content .ast-container,
.hiy-gpx-library-page .site-main,
.hiy-gpx-library-page .entry-content {
  max-width: none;
}

.hiy-gpx-library-page #primary {
  margin: 0;
  width: 100%;
}

.hiy-gpx-library-page #secondary {
  display: none;
}

.hiy-gpx-library-page .site-content > .ast-container {
  display: block;
  max-width: 1320px;
}

.hiy-gpx-library-page .entry-content > .hiy-gpx-library {
  margin-top: 0;
}

.hiy-gpx-hero {
  align-items: end;
  background:
    radial-gradient(circle at 82% 18%, rgba(243, 198, 90, 0.16), transparent 29%),
    linear-gradient(145deg, #131714 0%, #1b211d 58%, #263228 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  box-shadow: var(--hiy-shadow);
  display: grid;
  gap: clamp(30px, 6vw, 84px);
  grid-template-columns: minmax(0, 1fr) 290px;
  overflow: hidden;
  padding: clamp(34px, 6vw, 78px);
  position: relative;
}

.hiy-gpx-hero::after {
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 34px 34px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(90deg, transparent 35%, #000 100%);
  pointer-events: none;
  position: absolute;
}

.hiy-gpx-hero__copy,
.hiy-gpx-hero__stats {
  position: relative;
  z-index: 1;
}

.hiy-eyebrow,
.hiy-section-kicker {
  color: var(--hiy-yellow);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.hiy-eyebrow {
  align-items: center;
  display: flex;
  gap: 10px;
}

.hiy-eyebrow span {
  background: var(--hiy-yellow);
  border-radius: 999px;
  box-shadow: 0 0 0 5px rgba(243, 198, 90, 0.13);
  height: 8px;
  width: 8px;
}

.hiy-gpx-hero h1 {
  color: var(--hiy-white);
  font-size: clamp(2.55rem, 6.4vw, 5.25rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
  margin-bottom: 25px;
  max-width: 800px;
}

.hiy-gpx-intro {
  color: #d5dbd5;
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  line-height: 1.75;
  margin-bottom: 31px;
  max-width: 745px;
}

.hiy-gpx-hero__actions,
.hiy-card-actions,
.hiy-source-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.hiy-button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 800;
  gap: 9px;
  justify-content: center;
  line-height: 1.2;
  min-height: 48px;
  padding: 13px 20px;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.hiy-button:hover {
  transform: translateY(-2px);
}

.hiy-button svg {
  fill: none;
  height: 20px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 20px;
}

.hiy-button--primary,
.hiy-button--download {
  background: var(--hiy-yellow);
  color: #171b18;
}

.hiy-button--primary:hover,
.hiy-button--download:hover {
  background: #ffd670;
  color: #111;
}

.hiy-button--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--hiy-white);
}

.hiy-button--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.48);
  color: var(--hiy-white);
}

.hiy-gpx-hero__stats {
  display: grid;
  gap: 1px;
}

.hiy-gpx-hero__stats div {
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  padding: 21px 24px;
}

.hiy-gpx-hero__stats div:first-child {
  border-radius: 17px 17px 4px 4px;
}

.hiy-gpx-hero__stats div:last-child {
  border-radius: 4px 4px 17px 17px;
}

.hiy-gpx-hero__stats strong {
  color: var(--hiy-yellow);
  font-size: 2rem;
  letter-spacing: -0.04em;
  line-height: 1;
}

.hiy-gpx-hero__stats span {
  color: var(--hiy-muted);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-top: 7px;
  text-transform: uppercase;
}

.hiy-trust-strip {
  background: #f5f1e5;
  border: 1px solid #e4ddcb;
  border-radius: 18px;
  color: #343b35;
  display: grid;
  gap: 10px 22px;
  grid-template-columns: repeat(4, 1fr);
  margin: 18px 0 68px;
  padding: 21px 27px;
}

.hiy-trust-strip p {
  align-items: center;
  display: flex;
  font-size: 0.82rem;
  font-weight: 750;
  gap: 9px;
  margin-bottom: 0;
}

.hiy-check {
  align-items: center;
  background: #264f37;
  border-radius: 50%;
  color: white;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.72rem;
  height: 21px;
  justify-content: center;
  width: 21px;
}

.hiy-route-library {
  color: var(--hiy-ink);
  scroll-margin-top: 32px;
}

.hiy-library-heading {
  align-items: end;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 25px;
}

.hiy-section-kicker {
  color: #886516;
  margin-bottom: 7px;
}

.hiy-library-heading h2,
.hiy-how-to h2,
.hiy-source-panel h2 {
  color: var(--hiy-ink);
  font-size: clamp(2rem, 4vw, 3.35rem);
  letter-spacing: -0.045em;
  line-height: 1.04;
  margin-bottom: 0;
}

.hiy-results-count {
  color: #687069;
  font-size: 0.92rem;
  margin-bottom: 3px;
  white-space: nowrap;
}

.hiy-results-count strong {
  color: var(--hiy-ink);
}

.hiy-filter-panel {
  align-items: end;
  background: #fff;
  border: 1px solid #dfe3df;
  border-radius: 20px;
  box-shadow: 0 14px 35px rgba(20, 28, 22, 0.07);
  display: grid;
  gap: 13px;
  grid-template-columns: minmax(220px, 1.5fr) repeat(5, minmax(120px, 1fr));
  margin-bottom: 25px;
  padding: 17px;
}

.hiy-field label {
  color: #4d554f;
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin: 0 0 6px 3px;
  text-transform: uppercase;
}

.hiy-field input,
.hiy-field select {
  appearance: none;
  background-color: #f5f6f3;
  border: 1px solid #daddd7;
  border-radius: 11px;
  color: #222823;
  font-size: 0.86rem;
  height: 46px;
  line-height: normal;
  margin: 0;
  padding: 0 36px 0 13px;
  width: 100%;
}

.hiy-field select {
  background-image: linear-gradient(45deg, transparent 50%, #5d665f 50%), linear-gradient(135deg, #5d665f 50%, transparent 50%);
  background-position: calc(100% - 16px) 20px, calc(100% - 11px) 20px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
}

.hiy-search-wrap {
  position: relative;
}

.hiy-search-wrap svg {
  fill: none;
  height: 18px;
  left: 13px;
  position: absolute;
  stroke: #677068;
  stroke-linecap: round;
  stroke-width: 2;
  top: 14px;
  width: 18px;
}

.hiy-field--search input {
  padding-left: 40px;
}

.hiy-reset {
  background: none;
  border: 0;
  color: #765816;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 800;
  grid-column: 1 / -1;
  justify-self: end;
  padding: 0 4px 2px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hiy-route-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hiy-route-card {
  background: #fff;
  border: 1px solid #dfe3df;
  border-radius: var(--hiy-radius);
  box-shadow: 0 12px 28px rgba(25, 32, 27, 0.06);
  display: grid;
  grid-template-columns: 155px minmax(0, 1fr);
  min-height: 375px;
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.hiy-route-card:hover {
  border-color: #c7cfc8;
  box-shadow: 0 20px 44px rgba(25, 32, 27, 0.11);
  transform: translateY(-3px);
}

.hiy-route-card[hidden] {
  display: none;
}

.hiy-route-card__visual {
  background:
    radial-gradient(circle at 25% 22%, rgba(243, 198, 90, .18), transparent 30%),
    linear-gradient(160deg, #1c2b22, #314036);
  border-right: 1px solid rgba(255,255,255,.08);
  min-height: 100%;
  overflow: hidden;
  padding: 20px 13px;
  position: relative;
}

.hiy-route-card__visual::before {
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 22px 22px;
  content: "";
  inset: 0;
  opacity: .75;
  position: absolute;
}

.hiy-route-trace {
  height: 150px;
  left: 50%;
  overflow: visible;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -53%) rotate(-2deg);
  width: 185px;
}

.hiy-route-shadow,
.hiy-route-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hiy-route-shadow {
  stroke: rgba(0,0,0,.35);
  stroke-width: 8;
}

.hiy-route-line {
  filter: drop-shadow(0 4px 4px rgba(0,0,0,.25));
  stroke: var(--hiy-yellow);
  stroke-width: 3.4;
}

.hiy-route-start {
  fill: #fff;
  stroke: #182019;
  stroke-width: 2;
}

.hiy-route-area {
  background: rgba(13, 19, 15, 0.72);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  bottom: 16px;
  color: #f3f4ef;
  font-size: 0.68rem;
  font-weight: 800;
  left: 14px;
  letter-spacing: .04em;
  padding: 6px 9px;
  position: absolute;
  text-transform: uppercase;
}

.hiy-route-card__body {
  display: flex;
  flex-direction: column;
  padding: 25px 24px 22px;
}

.hiy-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
}

.hiy-badge {
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.045em;
  padding: 6px 9px;
  text-transform: uppercase;
}

.hiy-badge--easy {
  background: #e2efe0;
  color: #2a6239;
}

.hiy-badge--moderate {
  background: #f7e7d5;
  color: #815024;
}

.hiy-badge--hard {
  background: #f1dedd;
  color: #7e3531;
}

.hiy-badge--coverage {
  background: #e3eaf0;
  color: #3d5669;
}

.hiy-route-card h3 {
  font-size: clamp(1.35rem, 2.1vw, 1.72rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: 7px;
}

.hiy-route-card h3 a {
  color: var(--hiy-ink);
}

.hiy-route-card h3 a:hover {
  color: #6c5014;
}

.hiy-route-highlight {
  color: #7a5b16;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: .045em;
  margin-bottom: 11px;
  text-transform: uppercase;
}

.hiy-route-summary {
  color: #5e675f;
  font-size: 0.88rem;
  line-height: 1.58;
  margin-bottom: 16px;
}

.hiy-route-facts {
  border-bottom: 1px solid #e5e8e4;
  border-top: 1px solid #e5e8e4;
  display: grid;
  gap: 9px;
  grid-template-columns: 1.35fr .8fr 1fr;
  margin-bottom: 14px;
  padding: 13px 0;
}

.hiy-route-facts div {
  min-width: 0;
}

.hiy-route-facts dt {
  color: #858c86;
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.hiy-route-facts dd {
  color: #282f29;
  font-size: 0.75rem;
  font-weight: 750;
  line-height: 1.3;
  margin: 3px 0 0;
}

.hiy-coverage-note {
  align-items: flex-start;
  color: #626b64;
  display: flex;
  font-size: 0.74rem;
  gap: 8px;
  line-height: 1.47;
  margin-bottom: 17px;
}

.hiy-coverage-note span {
  align-items: center;
  background: #e7ece8;
  border-radius: 50%;
  color: #475248;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.66rem;
  font-weight: 900;
  height: 18px;
  justify-content: center;
  margin-top: 1px;
  width: 18px;
}

.hiy-card-actions {
  margin-top: auto;
}

.hiy-button--download {
  font-size: 0.78rem;
  min-height: 41px;
  padding: 10px 14px;
}

.hiy-button--download svg {
  height: 17px;
  width: 17px;
}

.hiy-guide-link {
  color: #4b544d;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 9px 2px;
}

.hiy-guide-link:hover {
  color: #765816;
}

.hiy-empty {
  background: #f4f2e9;
  border: 1px dashed #c7cabb;
  border-radius: var(--hiy-radius);
  color: var(--hiy-ink);
  padding: 60px 25px;
  text-align: center;
}

.hiy-empty h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.hiy-empty p {
  color: #626960;
  margin-bottom: 20px;
}

.hiy-empty .hiy-button--ghost {
  border-color: #aeb4ae;
  color: var(--hiy-ink);
}

.hiy-dataset-library {
  color: var(--hiy-ink);
  margin-top: 86px;
  scroll-margin-top: 30px;
}

.hiy-dataset-heading {
  align-items: end;
  display: flex;
  gap: 30px;
  justify-content: space-between;
  margin-bottom: 24px;
}

.hiy-dataset-heading > div {
  max-width: 810px;
}

.hiy-dataset-heading h2 {
  color: var(--hiy-ink);
  font-size: clamp(2.15rem, 4.4vw, 3.75rem);
  letter-spacing: -0.052em;
  line-height: 1.02;
  margin-bottom: 16px;
}

.hiy-dataset-heading > div > p:last-child {
  color: #606862;
  line-height: 1.7;
  margin-bottom: 0;
}

.hiy-dataset-heading > .hiy-button {
  flex: 0 0 auto;
}

.hiy-dataset-caution {
  align-items: start;
  background: #222b25;
  border: 1px solid #303d34;
  border-radius: 17px;
  color: #eef2ed;
  display: grid;
  gap: 8px 24px;
  grid-template-columns: max-content 1fr;
  margin-bottom: 16px;
  padding: 18px 21px;
}

.hiy-dataset-caution strong {
  color: var(--hiy-yellow);
  font-size: .82rem;
  letter-spacing: .015em;
}

.hiy-dataset-caution span {
  color: #c3cbc4;
  font-size: .82rem;
  line-height: 1.55;
}

.hiy-dataset-filters {
  align-items: end;
  background: #ece8da;
  border: 1px solid #d9d3c2;
  border-radius: 18px;
  display: grid;
  gap: 13px;
  grid-template-columns: minmax(280px, 1fr) 190px 190px auto;
  padding: 17px;
}

.hiy-dataset-filters .hiy-reset {
  margin-bottom: 3px;
  white-space: nowrap;
}

.hiy-dataset-meta {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 16px 3px 12px;
}

.hiy-dataset-meta p {
  margin-bottom: 0;
}

.hiy-dataset-meta > p:last-child {
  color: #727970;
  font-size: .74rem;
}

.hiy-dataset-table-wrap {
  background: #fff;
  border: 1px solid #dfe3df;
  border-radius: 20px;
  box-shadow: 0 16px 42px rgba(20, 28, 22, 0.07);
  max-height: 780px;
  overflow: auto;
}

.hiy-dataset-table {
  border-collapse: collapse;
  color: var(--hiy-ink);
  font-size: .82rem;
  margin: 0;
  width: 100%;
}

.hiy-dataset-table thead {
  position: sticky;
  top: 0;
  z-index: 2;
}

.hiy-dataset-table thead th {
  background: #f2f3ef;
  border-bottom: 1px solid #d8ddd8;
  color: #59615a;
  font-size: .66rem;
  font-weight: 850;
  letter-spacing: .065em;
  padding: 13px 17px;
  text-align: left;
  text-transform: uppercase;
}

.hiy-dataset-table tbody th,
.hiy-dataset-table tbody td {
  background: #fff;
  border-bottom: 1px solid #e8ebe7;
  padding: 14px 17px;
  text-align: left;
  vertical-align: middle;
}

.hiy-dataset-table tbody tr:last-child th,
.hiy-dataset-table tbody tr:last-child td {
  border-bottom: 0;
}

.hiy-dataset-table tbody tr:hover th,
.hiy-dataset-table tbody tr:hover td {
  background: #fbfaf5;
}

.hiy-dataset-table tbody th {
  font-weight: 700;
  min-width: 330px;
}

.hiy-dataset-table tbody th > strong {
  display: block;
  font-size: .88rem;
  line-height: 1.35;
  margin-bottom: 6px;
}

.hiy-dataset-kind,
.hiy-guide-chip {
  border-radius: 999px;
  display: inline-flex;
  font-size: .62rem;
  font-weight: 800;
  line-height: 1;
  margin-right: 5px;
  padding: 5px 8px;
  text-transform: uppercase;
}

.hiy-dataset-kind {
  background: #edf0ea;
  color: #5c655d;
}

.hiy-guide-chip {
  background: #fff0b9;
  color: #6b5012;
}

.hiy-guide-chip:hover {
  background: #f8df82;
  color: #4f3a09;
}

.hiy-use-list {
  color: #616961;
  white-space: nowrap;
}

.hiy-dataset-download {
  align-items: center;
  background: #1f3929;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: .72rem;
  font-weight: 850;
  gap: 5px;
  justify-content: center;
  min-width: 68px;
  padding: 9px 12px;
}

.hiy-dataset-download:hover {
  background: #2e573d;
  color: #fff;
}

.hiy-dataset-empty {
  align-items: center;
  background: #fff;
  border: 1px dashed #cbd1ca;
  border-radius: 18px;
  color: #596158;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 38px;
  text-align: center;
}

.hiy-dataset-empty strong {
  color: var(--hiy-ink);
}

.hiy-button--table {
  background: #fff;
  border-color: #ccd2cc;
  color: #26302a;
  margin: 18px auto 0;
}

.hiy-button--table:hover {
  background: #f5f2e8;
  color: #172019;
}

.hiy-how-to {
  align-items: start;
  background: #ece8da;
  border-radius: 26px;
  color: var(--hiy-ink);
  display: grid;
  gap: 55px;
  grid-template-columns: .8fr 1.2fr;
  margin-top: 72px;
  padding: clamp(30px, 5vw, 62px);
}

.hiy-how-to > div > p:last-child {
  color: #62685f;
  line-height: 1.7;
  margin: 20px 0 0;
}

.hiy-how-to ol {
  counter-reset: steps;
  list-style: none;
  margin-bottom: 0;
  padding: 0;
}

.hiy-how-to li {
  border-top: 1px solid #cfc9b9;
  display: grid;
  gap: 18px;
  grid-template-columns: 44px 1fr;
  padding: 20px 0;
}

.hiy-how-to li:last-child {
  border-bottom: 1px solid #cfc9b9;
}

.hiy-how-to li > span {
  color: #92701e;
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .08em;
  padding-top: 3px;
}

.hiy-how-to strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 5px;
}

.hiy-how-to li p {
  color: #60675f;
  font-size: .85rem;
  line-height: 1.55;
  margin-bottom: 0;
}

.hiy-source-panel {
  align-items: start;
  background: #fff;
  border: 1px solid #dfe3df;
  border-radius: 24px;
  color: var(--hiy-ink);
  display: grid;
  gap: 25px;
  grid-template-columns: 75px 1fr;
  margin-top: 22px;
  padding: clamp(28px, 5vw, 54px);
}

.hiy-source-panel__icon {
  align-items: center;
  background: #1e3929;
  border-radius: 17px;
  color: var(--hiy-yellow);
  display: flex;
  font-size: 1rem;
  font-weight: 900;
  height: 66px;
  justify-content: center;
  letter-spacing: .06em;
  width: 66px;
}

.hiy-source-panel h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  margin-bottom: 15px;
}

.hiy-source-panel p:not(.hiy-section-kicker) {
  color: #626a63;
  line-height: 1.68;
  margin-bottom: 18px;
  max-width: 850px;
}

.hiy-source-links a {
  color: #6d5318;
  font-size: .82rem;
  font-weight: 850;
  text-decoration: underline;
  text-decoration-color: rgba(109,83,24,.35);
  text-underline-offset: 4px;
}

@media (max-width: 1100px) {
  .hiy-filter-panel {
    grid-template-columns: repeat(3, 1fr);
  }

  .hiy-field--search {
    grid-column: span 2;
  }

  .hiy-route-card {
    grid-template-columns: 125px minmax(0, 1fr);
  }

  .hiy-dataset-filters {
    grid-template-columns: minmax(240px, 1fr) 170px 170px;
  }

  .hiy-dataset-filters .hiy-reset {
    justify-self: start;
  }
}

@media (max-width: 850px) {
  .hiy-gpx-hero {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

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

  .hiy-gpx-hero__stats div,
  .hiy-gpx-hero__stats div:first-child,
  .hiy-gpx-hero__stats div:last-child {
    border-radius: 12px;
    padding: 17px;
  }

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

  .hiy-route-grid {
    grid-template-columns: 1fr;
  }

  .hiy-route-card {
    grid-template-columns: 160px minmax(0, 1fr);
  }

  .hiy-how-to {
    gap: 30px;
    grid-template-columns: 1fr;
  }

  .hiy-dataset-heading {
    align-items: start;
    flex-direction: column;
  }

  .hiy-dataset-caution {
    grid-template-columns: 1fr;
  }

  .hiy-dataset-filters {
    grid-template-columns: 1fr 1fr;
  }

  .hiy-dataset-filters .hiy-field--search {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .hiy-gpx-library {
    margin-bottom: 42px;
  }

  .hiy-gpx-hero {
    border-radius: 22px;
    padding: 31px 22px;
  }

  .hiy-gpx-hero h1 {
    font-size: clamp(2.35rem, 13vw, 3.7rem);
  }

  .hiy-gpx-hero__actions,
  .hiy-gpx-hero__actions .hiy-button {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .hiy-gpx-hero__stats {
    grid-template-columns: 1fr;
  }

  .hiy-gpx-hero__stats div {
    align-items: baseline;
    flex-direction: row;
    gap: 10px;
  }

  .hiy-trust-strip {
    grid-template-columns: 1fr;
    margin-bottom: 48px;
  }

  .hiy-library-heading {
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }

  .hiy-filter-panel {
    grid-template-columns: 1fr;
  }

  .hiy-field--search {
    grid-column: auto;
  }

  .hiy-route-card {
    display: block;
  }

  .hiy-route-card__visual {
    border-bottom: 1px solid rgba(255,255,255,.08);
    border-right: 0;
    min-height: 175px;
  }

  .hiy-route-trace {
    height: 145px;
    width: 220px;
  }

  .hiy-route-facts {
    gap: 12px;
    grid-template-columns: 1fr 1fr;
  }

  .hiy-route-facts div:last-child {
    grid-column: 1 / -1;
  }

  .hiy-card-actions,
  .hiy-card-actions .hiy-button--download {
    align-items: stretch;
    flex-direction: column;
    text-align: center;
    width: 100%;
  }

  .hiy-source-panel {
    grid-template-columns: 1fr;
  }

  .hiy-dataset-library {
    margin-top: 62px;
  }

  .hiy-dataset-heading > .hiy-button {
    width: 100%;
  }

  .hiy-dataset-filters {
    grid-template-columns: 1fr;
  }

  .hiy-dataset-filters .hiy-field--search {
    grid-column: auto;
  }

  .hiy-dataset-meta {
    align-items: start;
    flex-direction: column;
    gap: 5px;
  }

  .hiy-dataset-table-wrap {
    background: transparent;
    border: 0;
    box-shadow: none;
    max-height: none;
    overflow: visible;
  }

  .hiy-dataset-table,
  .hiy-dataset-table tbody,
  .hiy-dataset-table tr,
  .hiy-dataset-table th,
  .hiy-dataset-table td {
    display: block;
    width: 100%;
  }

  .hiy-dataset-table thead {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
  }

  .hiy-dataset-table tbody tr {
    background: #fff;
    border: 1px solid #dfe3df;
    border-radius: 16px;
    box-shadow: 0 9px 24px rgba(20, 28, 22, .06);
    margin-bottom: 10px;
    overflow: hidden;
    padding: 15px;
  }

  .hiy-dataset-table tbody th,
  .hiy-dataset-table tbody td,
  .hiy-dataset-table tbody tr:hover th,
  .hiy-dataset-table tbody tr:hover td {
    background: transparent;
    border: 0;
    min-width: 0;
    padding: 6px 0;
  }

  .hiy-dataset-table tbody td {
    align-items: center;
    display: flex;
    justify-content: space-between;
  }

  .hiy-dataset-table tbody td::before {
    color: #747c74;
    content: attr(data-label);
    font-size: .65rem;
    font-weight: 850;
    letter-spacing: .055em;
    text-transform: uppercase;
  }

  .hiy-dataset-table tbody td:last-child {
    padding-top: 11px;
  }

  .hiy-dataset-download {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hiy-gpx-library *,
  .hiy-gpx-library *::before,
  .hiy-gpx-library *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
