/*
 * Hiking in Yellowstone site-wide visual layer.
 * Scoped to the body class added by the plugin so deactivation is a clean rollback.
 */

.hiy-site-design {
  --hiy-ink: #161a18;
  --hiy-ink-soft: #202622;
  --hiy-forest: #28543e;
  --hiy-forest-deep: #1f4131;
  --hiy-sage: #a9c59f;
  --hiy-yellow: #f3c65a;
  --hiy-yellow-bright: #ffd670;
  --hiy-yellow-dark: #dcae3d;
  --hiy-paper: #fffdf8;
  --hiy-ivory: #f5f1e5;
  --hiy-mist: #edf1ed;
  --hiy-line: #ddd8cb;
  --hiy-copy: #3b443e;
  --hiy-muted: #6c756e;
  --hiy-white: #fff;
  --hiy-radius-sm: 12px;
  --hiy-radius: 20px;
  --hiy-radius-lg: 30px;
  --hiy-shadow-sm: 0 10px 34px rgba(18, 25, 20, 0.08);
  --hiy-shadow: 0 24px 70px rgba(12, 16, 13, 0.16);
  background: var(--hiy-ivory);
  color: var(--hiy-copy);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.hiy-site-design *,
.hiy-site-design *::before,
.hiy-site-design *::after {
  box-sizing: border-box;
}

.hiy-site-design :focus-visible {
  outline: 3px solid var(--hiy-yellow-dark);
  outline-offset: 3px;
}

.hiy-site-design a {
  color: var(--hiy-forest);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

.hiy-site-design a:hover,
.hiy-site-design a:focus {
  color: var(--hiy-forest-deep);
}

.hiy-site-design h1,
.hiy-site-design h2,
.hiy-site-design h3,
.hiy-site-design h4,
.hiy-site-design h5,
.hiy-site-design h6 {
  color: var(--hiy-ink);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.hiy-site-design p,
.hiy-site-design li {
  line-height: 1.72;
}

.hiy-site-design img {
  height: auto;
}

/* Header and navigation */

.hiy-site-design .site-header {
  position: sticky;
  top: 0;
  z-index: 999;
}

.hiy-site-design.admin-bar .site-header {
  top: 32px;
}

.hiy-site-design .ast-primary-header-bar,
.hiy-site-design .ast-mobile-header-wrap .ast-primary-header-bar {
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid rgba(22, 26, 24, 0.09);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background-color 180ms ease;
}

.hiy-site-design.hiy-has-scrolled .ast-primary-header-bar,
.hiy-site-design.hiy-has-scrolled .ast-mobile-header-wrap .ast-primary-header-bar {
  background: rgba(255, 253, 248, 0.98);
  box-shadow: 0 10px 30px rgba(16, 22, 18, 0.09);
}

.hiy-site-design .site-primary-header-wrap {
  min-height: 78px;
}

.hiy-site-design .site-branding {
  align-items: center;
}

.hiy-site-design .site-logo-img img,
.hiy-site-design .custom-logo-link img {
  border-radius: 9px;
  box-shadow: 0 3px 12px rgba(18, 25, 20, 0.14);
}

.hiy-site-design .site-title a,
.hiy-site-design .ast-site-title-wrap .site-title a {
  color: var(--hiy-ink);
  font-weight: 850;
  letter-spacing: -0.035em;
}

.hiy-site-design .main-header-menu {
  gap: 3px;
}

.hiy-site-design .main-header-menu > .menu-item > .menu-link {
  border-radius: 999px;
  color: #38423b;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 1px;
  padding: 11px 14px;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.hiy-site-design .main-header-menu > .menu-item > .menu-link:hover,
.hiy-site-design .main-header-menu > .current-menu-item > .menu-link,
.hiy-site-design .main-header-menu > .current_page_item > .menu-link {
  background: var(--hiy-mist);
  color: var(--hiy-forest-deep);
}

.hiy-site-design .main-header-menu a[href*="yellowstone-gpx-downloads"] {
  background: var(--hiy-yellow) !important;
  box-shadow: inset 0 0 0 1px rgba(112, 78, 8, 0.08);
  color: var(--hiy-ink) !important;
  padding-left: 18px !important;
  padding-right: 18px !important;
}

.hiy-site-design .main-header-menu a[href*="yellowstone-gpx-downloads"]:hover {
  background: var(--hiy-yellow-bright) !important;
  transform: translateY(-1px);
}

.hiy-site-design .ast-mobile-menu-trigger-minimal,
.hiy-site-design .ast-button-wrap .menu-toggle.main-header-menu-toggle {
  background: var(--hiy-ink);
  border-radius: 12px;
  color: var(--hiy-white);
}

.hiy-site-design .ast-mobile-popup-drawer .ast-mobile-popup-inner {
  background: var(--hiy-paper);
}

.hiy-site-design .ast-mobile-popup-content .main-header-menu .menu-link {
  border-bottom: 1px solid var(--hiy-line);
  color: var(--hiy-ink);
  font-weight: 750;
}

/* Shared buttons and content controls */

.hiy-site-design .entry-content > .wp-block-buttons .wp-block-button__link,
.hiy-site-design .entry-content > .wp-block-button .wp-block-button__link,
.hiy-site-design .entry-content .wp-block-buttons:not(.hiy-gpx-library *) .wp-element-button {
  align-items: center;
  background: var(--hiy-yellow);
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--hiy-ink);
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 12px 21px;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.hiy-site-design .entry-content .wp-block-button__link:hover {
  background: var(--hiy-yellow-bright);
  color: var(--hiy-ink);
  transform: translateY(-2px);
}

.hiy-site-design .entry-content .is-style-outline > .wp-block-button__link,
.hiy-site-design .entry-content .wp-block-button.is-style-outline .wp-element-button {
  background: transparent;
  border-color: var(--hiy-forest);
  color: var(--hiy-forest-deep);
}

.hiy-site-design .entry-content .is-style-outline > .wp-block-button__link:hover,
.hiy-site-design .entry-content .wp-block-button.is-style-outline .wp-element-button:hover {
  background: var(--hiy-forest);
  color: var(--hiy-white);
}

/* Homepage hero */

.hiy-site-design.home .site-content {
  background:
    radial-gradient(circle at 14% 4%, rgba(243, 198, 90, 0.12), transparent 27%),
    linear-gradient(180deg, #faf8f1 0%, var(--hiy-ivory) 100%);
  padding: 42px 24px 84px;
}

.hiy-site-design.home .site-content > .ast-container {
  display: block;
  max-width: 1320px;
  padding-left: 16px;
  padding-right: 16px;
}

.hiy-site-design.home #primary,
.hiy-site-design.home .site-main,
.hiy-site-design.home article,
.hiy-site-design.home .entry-content {
  margin: 0;
  max-width: none;
  padding: 0;
  width: 100%;
}

.hiy-site-design.home .entry-content > .hiy-home-trust + p.has-medium-font-size,
.hiy-site-design.home .entry-content > .hiy-home-trust + p.has-medium-font-size + .wp-block-buttons {
  display: none;
}

.hiy-home-hero {
  align-items: end;
  background:
    radial-gradient(circle at 78% 10%, rgba(243, 198, 90, 0.17), transparent 28%),
    linear-gradient(145deg, #111512 0%, #1b211d 58%, #263228 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--hiy-radius-lg);
  box-shadow: var(--hiy-shadow);
  display: grid;
  gap: clamp(36px, 6vw, 84px);
  grid-template-columns: minmax(0, 1fr) 310px;
  margin: 0 auto;
  max-width: 1240px;
  overflow: hidden;
  padding: clamp(38px, 6vw, 78px);
  position: relative;
}

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

.hiy-home-hero__copy,
.hiy-home-hero__panel {
  position: relative;
  z-index: 1;
}

.hiy-home-eyebrow {
  align-items: center;
  color: var(--hiy-yellow);
  display: flex;
  font-size: 0.76rem;
  font-weight: 850;
  gap: 10px;
  letter-spacing: 0.14em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.hiy-home-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-home-hero h1 {
  color: var(--hiy-white);
  font-size: clamp(2.8rem, 5.4vw, 5rem);
  letter-spacing: -0.057em;
  line-height: 0.98;
  margin: 0 0 27px;
  max-width: 880px;
}

.hiy-home-hero h1 em {
  color: var(--hiy-yellow);
  display: block;
  font-style: normal;
}

.hiy-home-lede {
  color: #d5dbd5;
  font-size: clamp(1.04rem, 1.45vw, 1.2rem);
  line-height: 1.72;
  margin: 0 0 31px;
  max-width: 720px;
}

.hiy-home-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.hiy-site-button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 850;
  gap: 10px;
  justify-content: center;
  min-height: 50px;
  padding: 13px 21px;
  text-decoration: none !important;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

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

.hiy-site-button--primary {
  background: var(--hiy-yellow);
  color: var(--hiy-ink) !important;
}

.hiy-site-button--primary:hover {
  background: var(--hiy-yellow-bright);
}

.hiy-site-button--ghost {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--hiy-white) !important;
}

.hiy-site-button--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

.hiy-home-hero__panel {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
}

.hiy-home-route-mark {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  height: 154px;
  justify-content: center;
  padding: 22px;
}

.hiy-home-route-mark svg {
  height: 116px;
  overflow: visible;
  width: 170px;
}

.hiy-home-route-mark path {
  fill: none;
  stroke: var(--hiy-yellow);
  stroke-dasharray: 3 8;
  stroke-linecap: round;
  stroke-width: 3;
}

.hiy-home-route-mark circle {
  fill: var(--hiy-yellow);
  stroke: rgba(243, 198, 90, 0.25);
  stroke-width: 8;
}

.hiy-home-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
}

.hiy-home-stats div {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 14px 20px;
  text-align: center;
}

.hiy-home-stats div:last-child {
  border-right: 0;
}

.hiy-home-stats dt {
  color: var(--hiy-yellow);
  font-size: 1.65rem;
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1;
}

.hiy-home-stats dd {
  color: #bac3bb;
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  margin: 7px 0 0;
  text-transform: uppercase;
}

.hiy-home-trust {
  background: rgba(255, 253, 248, 0.88);
  border: 1px solid var(--hiy-line);
  border-radius: 18px;
  display: grid;
  gap: 13px 26px;
  grid-template-columns: repeat(3, 1fr);
  margin: 18px auto 76px;
  max-width: 1240px;
  padding: 20px 27px;
}

.hiy-home-trust p {
  align-items: center;
  color: #39423c;
  display: flex;
  font-size: 0.83rem;
  font-weight: 750;
  gap: 10px;
  margin: 0;
}

.hiy-home-trust span {
  align-items: center;
  background: var(--hiy-forest);
  border-radius: 50%;
  color: var(--hiy-white);
  display: inline-flex;
  flex: 0 0 22px;
  font-size: 0.72rem;
  height: 22px;
  justify-content: center;
  width: 22px;
}

/* Homepage editorial sections and cards */

.hiy-site-design.home .entry-content > h2 {
  font-size: clamp(2rem, 3.5vw, 3.15rem);
  letter-spacing: -0.045em;
  line-height: 1.04;
  margin: 0 auto 22px;
  max-width: 1160px;
  position: relative;
}

.hiy-site-design.home .entry-content > h2::before {
  background: var(--hiy-yellow-dark);
  border-radius: 999px;
  content: "";
  display: block;
  height: 5px;
  margin-bottom: 18px;
  width: 46px;
}

.hiy-site-design.home .entry-content > h2 + p {
  color: var(--hiy-muted);
  font-size: 1.03rem;
  margin: 0 auto 34px;
  max-width: 1160px;
}

.hiy-site-design.home .entry-content > .wp-block-columns,
.hiy-site-design.home .entry-content > .wp-block-buttons,
.hiy-site-design.home .entry-content > .wp-block-group {
  margin-left: auto;
  margin-right: auto;
  max-width: 1160px;
}

.hiy-site-design.home .wp-block-columns {
  gap: 24px;
  margin-bottom: 24px;
}

.hiy-site-design.home .wp-block-column > .wp-block-group {
  background: rgba(255, 253, 248, 0.96) !important;
  border: 1px solid var(--hiy-line) !important;
  border-radius: var(--hiy-radius) !important;
  box-shadow: var(--hiy-shadow-sm);
  height: 100%;
  overflow: hidden;
  padding: 24px !important;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.hiy-site-design.home .wp-block-column > .wp-block-group:hover {
  border-color: #c9c0a9 !important;
  box-shadow: 0 17px 45px rgba(18, 25, 20, 0.12);
  transform: translateY(-4px);
}

.hiy-site-design.home .wp-block-column > .wp-block-group figure:first-child {
  margin: -24px -24px 24px;
  overflow: hidden;
}

.hiy-site-design.home .wp-block-column > .wp-block-group figure:first-child img {
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: cover;
  transition: transform 350ms ease;
  width: 100%;
}

.hiy-site-design.home .wp-block-column > .wp-block-group:hover figure:first-child img {
  transform: scale(1.035);
}

.hiy-site-design.home .wp-block-column h3 {
  font-size: clamp(1.22rem, 1.8vw, 1.55rem);
  line-height: 1.18;
  margin-bottom: 12px;
}

.hiy-site-design.home .wp-block-column h3 a {
  color: var(--hiy-ink);
  text-decoration: none;
}

.hiy-site-design.home .wp-block-column h3 a:hover {
  color: var(--hiy-forest);
}

.hiy-site-design.home .wp-block-column p {
  color: #4c554f;
}

.hiy-site-design.home .wp-block-column p strong {
  color: var(--hiy-forest-deep);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hiy-site-design.home .wp-block-column p:last-child {
  margin-bottom: 0;
}

.hiy-site-design.home .wp-block-column p:last-child a {
  font-weight: 800;
}

.hiy-site-design.home .wp-block-spacer {
  max-height: 38px;
}

/* Archives and search results */

.hiy-site-design.archive .site-content,
.hiy-site-design.blog .site-content,
.hiy-site-design.search .site-content {
  background:
    radial-gradient(circle at 85% 4%, rgba(169, 197, 159, 0.2), transparent 25%),
    var(--hiy-ivory);
  padding: 54px 24px 88px;
}

.hiy-site-design.archive .site-content > .ast-container,
.hiy-site-design.blog .site-content > .ast-container,
.hiy-site-design.search .site-content > .ast-container {
  display: block;
  max-width: 1260px;
  padding: 0;
}

.hiy-site-design.archive #primary,
.hiy-site-design.blog #primary,
.hiy-site-design.search #primary {
  margin: 0;
  width: 100%;
}

.hiy-site-design .ast-archive-description {
  background:
    radial-gradient(circle at 88% 18%, rgba(243, 198, 90, 0.18), transparent 28%),
    linear-gradient(145deg, #151a17, #263228);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--hiy-radius-lg);
  box-shadow: var(--hiy-shadow);
  margin: 0 0 34px;
  overflow: hidden;
  padding: clamp(38px, 5vw, 64px);
  position: relative;
}

.hiy-site-design .ast-archive-description::before {
  color: var(--hiy-yellow);
  content: "Explore the park";
  display: block;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.hiy-site-design .ast-archive-description::after {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  content: "";
  inset: 0 0 0 58%;
  pointer-events: none;
  position: absolute;
}

.hiy-site-design .ast-archive-description .ast-archive-title,
.hiy-site-design .ast-archive-description h1 {
  color: var(--hiy-white);
  font-size: clamp(2.35rem, 4vw, 4.15rem);
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 0;
  position: relative;
  z-index: 1;
}

.hiy-site-design.archive .site-main > .ast-row,
.hiy-site-design.blog .site-main > .ast-row,
.hiy-site-design.search .site-main > .ast-row {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hiy-site-design.archive article.ast-article-post,
.hiy-site-design.blog article.ast-article-post,
.hiy-site-design.search article.ast-article-post {
  background: var(--hiy-paper);
  border: 1px solid var(--hiy-line);
  border-radius: var(--hiy-radius);
  box-shadow: var(--hiy-shadow-sm);
  float: none;
  margin: 0 !important;
  min-width: 0;
  overflow: hidden;
  padding: 0 !important;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  width: auto !important;
}

.hiy-site-design.archive article.ast-article-post:hover,
.hiy-site-design.blog article.ast-article-post:hover,
.hiy-site-design.search article.ast-article-post:hover {
  border-color: #c8bea4;
  box-shadow: 0 18px 46px rgba(16, 23, 18, 0.13);
  transform: translateY(-5px);
}

.hiy-site-design article.ast-article-post .ast-article-inner,
.hiy-site-design article.ast-article-post .post-content {
  height: 100%;
}

.hiy-site-design article.ast-article-post .post-content {
  display: flex;
  flex-direction: column;
  padding: 0 24px 26px;
}

.hiy-site-design article.ast-article-post .ast-blog-featured-section {
  margin: 0 -24px 22px;
  overflow: hidden;
}

.hiy-site-design article.ast-article-post:not(.has-post-thumbnail) .ast-blog-featured-section {
  display: none;
}

.hiy-site-design article.ast-article-post .post-thumb,
.hiy-site-design article.ast-article-post .post-thumb a {
  display: block;
  margin: 0;
}

.hiy-site-design article.ast-article-post .post-thumb img {
  aspect-ratio: 16 / 10;
  display: block;
  height: auto;
  object-fit: cover;
  transition: transform 400ms ease;
  width: 100%;
}

.hiy-site-design article.ast-article-post:hover .post-thumb img {
  transform: scale(1.045);
}

.hiy-site-design article.ast-article-post .ast-taxonomy-container {
  margin: 0 0 12px;
}

.hiy-site-design article.ast-article-post .ast-taxonomy-container a {
  background: #e7efe7;
  border-radius: 999px;
  color: var(--hiy-forest-deep);
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.055em;
  margin: 0 4px 4px 0;
  padding: 6px 9px;
  text-decoration: none;
  text-transform: uppercase;
}

.hiy-site-design article.ast-article-post .entry-title {
  font-size: clamp(1.3rem, 1.8vw, 1.58rem);
  letter-spacing: -0.035em;
  line-height: 1.18;
  margin: 0 0 12px;
}

.hiy-site-design article.ast-article-post .entry-title a {
  color: var(--hiy-ink);
  text-decoration: none;
}

.hiy-site-design article.ast-article-post .entry-title a:hover {
  color: var(--hiy-forest);
}

.hiy-site-design article.ast-article-post .entry-meta {
  color: var(--hiy-muted);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.hiy-site-design article.ast-article-post .entry-meta a {
  color: var(--hiy-muted);
}

.hiy-site-design article.ast-article-post .ast-excerpt-container {
  color: #505a53;
  flex: 1;
  font-size: 0.93rem;
}

.hiy-site-design article.ast-article-post .ast-excerpt-container p {
  margin: 0;
}

.hiy-site-design .ast-pagination {
  grid-column: 1 / -1;
  margin-top: 18px;
}

.hiy-site-design .ast-pagination .page-numbers {
  align-items: center;
  background: var(--hiy-paper);
  border: 1px solid var(--hiy-line);
  border-radius: 999px;
  color: var(--hiy-ink);
  display: inline-flex;
  font-weight: 800;
  height: 44px;
  justify-content: center;
  margin: 3px;
  min-width: 44px;
  padding: 0 14px;
  text-decoration: none;
}

.hiy-site-design .ast-pagination .page-numbers.current,
.hiy-site-design .ast-pagination .page-numbers:hover {
  background: var(--hiy-yellow);
  border-color: var(--hiy-yellow);
}

/* Trail guides and regular pages */

.hiy-site-design.single-post .site-content,
.hiy-site-design.page:not(.home):not(.hiy-gpx-library-page) .site-content {
  background:
    radial-gradient(circle at 84% 2%, rgba(169, 197, 159, 0.18), transparent 22%),
    var(--hiy-ivory);
  padding: 56px 24px 88px;
}

.hiy-site-design.single-post .site-content > .ast-container,
.hiy-site-design.page:not(.home):not(.hiy-gpx-library-page) .site-content > .ast-container {
  display: block;
  max-width: 1040px;
  padding: 0;
}

.hiy-site-design.single-post #primary,
.hiy-site-design.page:not(.home):not(.hiy-gpx-library-page) #primary {
  margin: 0;
  width: 100%;
}

.hiy-site-design.single-post article.ast-article-single,
.hiy-site-design.page:not(.home):not(.hiy-gpx-library-page) article.ast-article-single {
  background: var(--hiy-paper);
  border: 1px solid var(--hiy-line);
  border-radius: var(--hiy-radius-lg);
  box-shadow: var(--hiy-shadow);
  overflow: hidden;
  padding: 0;
}

.hiy-site-design.single-post article.ast-article-single .entry-header,
.hiy-site-design.page:not(.home):not(.hiy-gpx-library-page) article.ast-article-single .entry-header {
  background:
    radial-gradient(circle at 84% 18%, rgba(243, 198, 90, 0.18), transparent 30%),
    linear-gradient(145deg, #151a17, #263228);
  margin: 0;
  overflow: hidden;
  padding: clamp(40px, 6vw, 66px);
  position: relative;
}

.hiy-site-design.single-post article.ast-article-single .entry-header::after,
.hiy-site-design.page:not(.home):not(.hiy-gpx-library-page) article.ast-article-single .entry-header::after {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  content: "";
  inset: 0 0 0 55%;
  pointer-events: none;
  position: absolute;
}

.hiy-site-design.single-post .entry-header .entry-title,
.hiy-site-design.page:not(.home):not(.hiy-gpx-library-page) .entry-header .entry-title {
  color: var(--hiy-white);
  font-size: clamp(2.35rem, 4.8vw, 4.35rem);
  letter-spacing: -0.052em;
  line-height: 1.02;
  margin: 0 0 18px;
  max-width: 880px;
  position: relative;
  z-index: 1;
}

.hiy-site-design.single-post .entry-header .entry-meta,
.hiy-site-design.page:not(.home):not(.hiy-gpx-library-page) .entry-header .entry-meta {
  color: #c5cec6;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  position: relative;
  text-transform: uppercase;
  z-index: 1;
}

.hiy-site-design.single-post .entry-header .entry-meta a,
.hiy-site-design.page:not(.home):not(.hiy-gpx-library-page) .entry-header .entry-meta a {
  color: var(--hiy-yellow);
}

.hiy-site-design.single-post article.ast-article-single .entry-content,
.hiy-site-design.page:not(.home):not(.hiy-gpx-library-page) article.ast-article-single .entry-content {
  color: var(--hiy-copy);
  font-size: 1.02rem;
  margin: 0;
  max-width: none;
  padding: clamp(34px, 6vw, 68px);
}

.hiy-site-design.single-post .entry-content > p:first-child {
  color: #263129;
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  line-height: 1.7;
}

.hiy-site-design.single-post .entry-content > p:first-child strong {
  color: var(--hiy-forest-deep);
}

.hiy-site-design.single-post .entry-content h2,
.hiy-site-design.page:not(.home):not(.hiy-gpx-library-page) .entry-content h2 {
  border-top: 1px solid var(--hiy-line);
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 54px 0 20px;
  padding-top: 30px;
}

.hiy-site-design.single-post .entry-content h2::before,
.hiy-site-design.page:not(.home):not(.hiy-gpx-library-page) .entry-content h2::before {
  background: var(--hiy-yellow-dark);
  border-radius: 999px;
  content: "";
  display: inline-block;
  height: 6px;
  margin: 0 12px 0 1px;
  vertical-align: 0.26em;
  width: 34px;
}

.hiy-site-design.single-post .entry-content h3,
.hiy-site-design.page:not(.home):not(.hiy-gpx-library-page) .entry-content h3 {
  font-size: clamp(1.24rem, 2vw, 1.55rem);
  line-height: 1.22;
  margin: 34px 0 12px;
}

.hiy-site-design.single-post .entry-content figure,
.hiy-site-design.page:not(.home):not(.hiy-gpx-library-page) .entry-content figure {
  margin-bottom: 32px;
  margin-top: 30px;
}

.hiy-site-design.single-post .entry-content figure img,
.hiy-site-design.page:not(.home):not(.hiy-gpx-library-page) .entry-content figure img,
.hiy-site-design.single-post .entry-content > img {
  border-radius: 16px;
  box-shadow: var(--hiy-shadow-sm);
}

.hiy-site-design .wp-element-caption,
.hiy-site-design .wp-caption-text,
.hiy-site-design figcaption {
  color: var(--hiy-muted);
  font-size: 0.78rem;
  line-height: 1.55;
  margin-top: 9px;
}

.hiy-site-design.single-post .entry-content table,
.hiy-site-design.page:not(.home):not(.hiy-gpx-library-page) .entry-content table {
  background: #f7f4eb;
  border: 1px solid var(--hiy-line);
  border-collapse: separate;
  border-radius: 16px;
  border-spacing: 0;
  box-shadow: var(--hiy-shadow-sm);
  margin: 24px 0 30px;
  overflow: hidden;
  width: 100%;
}

.hiy-site-design.single-post .entry-content table td,
.hiy-site-design.single-post .entry-content table th,
.hiy-site-design.page:not(.home):not(.hiy-gpx-library-page) .entry-content table td,
.hiy-site-design.page:not(.home):not(.hiy-gpx-library-page) .entry-content table th {
  border: 0;
  border-bottom: 1px solid var(--hiy-line);
  padding: 13px 16px;
  vertical-align: top;
}

.hiy-site-design.single-post .entry-content table tr:last-child td,
.hiy-site-design.single-post .entry-content table tr:last-child th,
.hiy-site-design.page:not(.home):not(.hiy-gpx-library-page) .entry-content table tr:last-child td,
.hiy-site-design.page:not(.home):not(.hiy-gpx-library-page) .entry-content table tr:last-child th {
  border-bottom: 0;
}

.hiy-site-design.single-post .entry-content table td:first-child,
.hiy-site-design.single-post .entry-content table th:first-child {
  color: var(--hiy-forest-deep);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  width: 34%;
}

.hiy-site-design.single-post blockquote,
.hiy-site-design.page:not(.home):not(.hiy-gpx-library-page) blockquote {
  background: #f4edda;
  border: 0;
  border-left: 5px solid var(--hiy-yellow-dark);
  border-radius: 0 14px 14px 0;
  color: #3c433e;
  margin: 30px 0;
  padding: 24px 27px;
}

.hiy-site-design.single-post .leaflet-container,
.hiy-site-design.single-post .wpgpxmaps,
.hiy-site-design.single-post [class*="gpx"] canvas {
  border-radius: 16px;
  overflow: hidden;
}

.hiy-site-design.single-post .navigation.post-navigation {
  margin: 24px 0 0;
}

.hiy-site-design.single-post .post-navigation .nav-links {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hiy-site-design.single-post .post-navigation .nav-previous,
.hiy-site-design.single-post .post-navigation .nav-next {
  background: var(--hiy-paper);
  border: 1px solid var(--hiy-line);
  border-radius: 16px;
  box-shadow: var(--hiy-shadow-sm);
  margin: 0;
  padding: 20px 22px;
}

.hiy-site-design.single-post .post-navigation a {
  color: var(--hiy-ink);
  font-weight: 800;
  text-decoration: none;
}

.hiy-site-design.single-post .post-navigation .ast-post-nav {
  color: var(--hiy-yellow-dark);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Keep the dedicated GPX library spacious while sharing the new shell. */

.hiy-site-design.hiy-gpx-library-page .site-content {
  background:
    radial-gradient(circle at 14% 1%, rgba(243, 198, 90, 0.1), transparent 23%),
    #faf8f1;
  padding-bottom: 80px;
  padding-top: 60px;
}

/* Footer */

.hiy-site-design .site-footer,
.hiy-site-design .site-primary-footer-wrap,
.hiy-site-design .site-below-footer-wrap {
  background: var(--hiy-ink);
  border: 0;
  color: #c8cec9;
}

.hiy-site-design .site-primary-footer-wrap {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hiy-site-design .site-footer .ast-builder-grid-row-container-inner {
  padding-bottom: 10px;
  padding-top: 10px;
}

.hiy-site-design .site-footer a {
  color: var(--hiy-yellow);
}

.hiy-site-design .site-footer a:hover {
  color: var(--hiy-yellow-bright);
}

.hiy-site-design .site-footer p,
.hiy-site-design .site-footer .ast-footer-copyright {
  color: #b8c0ba;
  font-size: 0.82rem;
  line-height: 1.65;
}

.hiy-site-design .site-footer .widget-title {
  color: var(--hiy-white);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hiy-site-design .site-footer .menu-link {
  font-weight: 700;
}

/* TranslatePress floating control */

.hiy-site-design .trp-language-switcher-container,
.hiy-site-design .trp-floater-ls {
  border-radius: 14px 14px 0 0;
  box-shadow: 0 8px 28px rgba(16, 22, 18, 0.15);
}

/* Responsive */

@media (max-width: 1100px) {
  .hiy-home-hero {
    grid-template-columns: minmax(0, 1fr) 275px;
  }

  .hiy-site-design.archive .site-main > .ast-row,
  .hiy-site-design.blog .site-main > .ast-row,
  .hiy-site-design.search .site-main > .ast-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 921px) {
  .hiy-site-design.admin-bar .site-header {
    top: 46px;
  }

  .hiy-site-design .site-primary-header-wrap {
    min-height: 68px;
  }

  .hiy-home-hero {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .hiy-home-hero__panel {
    display: grid;
    grid-template-columns: 180px 1fr;
  }

  .hiy-home-route-mark {
    border-bottom: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    height: auto;
  }

  .hiy-site-design.single-post article.ast-article-single .entry-content,
  .hiy-site-design.page:not(.home):not(.hiy-gpx-library-page) article.ast-article-single .entry-content {
    padding: 42px;
  }
}

@media (max-width: 767px) {
  .hiy-site-design.home .site-content,
  .hiy-site-design.archive .site-content,
  .hiy-site-design.blog .site-content,
  .hiy-site-design.search .site-content,
  .hiy-site-design.single-post .site-content,
  .hiy-site-design.page:not(.home):not(.hiy-gpx-library-page) .site-content {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hiy-site-design.home .site-content {
    padding-top: 22px;
  }

  .hiy-home-hero,
  .hiy-site-design .ast-archive-description,
  .hiy-site-design.single-post article.ast-article-single,
  .hiy-site-design.page:not(.home):not(.hiy-gpx-library-page) article.ast-article-single {
    border-radius: 22px;
  }

  .hiy-home-hero {
    padding: 34px 26px;
  }

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

  .hiy-home-hero__panel {
    display: block;
  }

  .hiy-home-route-mark {
    display: none;
  }

  .hiy-home-stats dt {
    font-size: 1.45rem;
  }

  .hiy-home-trust {
    grid-template-columns: 1fr;
    margin-bottom: 58px;
    padding: 18px 21px;
  }

  .hiy-site-design.home .entry-content > h2 {
    font-size: 2.15rem;
  }

  .hiy-site-design.home .wp-block-columns {
    gap: 18px;
  }

  .hiy-site-design.archive .site-main > .ast-row,
  .hiy-site-design.blog .site-main > .ast-row,
  .hiy-site-design.search .site-main > .ast-row {
    grid-template-columns: 1fr;
  }

  .hiy-site-design.single-post .entry-header .entry-title,
  .hiy-site-design.page:not(.home):not(.hiy-gpx-library-page) .entry-header .entry-title {
    font-size: clamp(2.2rem, 11vw, 3.15rem);
  }

  .hiy-site-design.single-post article.ast-article-single .entry-header,
  .hiy-site-design.page:not(.home):not(.hiy-gpx-library-page) article.ast-article-single .entry-header {
    padding: 36px 27px;
  }

  .hiy-site-design.single-post article.ast-article-single .entry-content,
  .hiy-site-design.page:not(.home):not(.hiy-gpx-library-page) article.ast-article-single .entry-content {
    padding: 32px 27px 40px;
  }

  .hiy-site-design.single-post .entry-content h2,
  .hiy-site-design.page:not(.home):not(.hiy-gpx-library-page) .entry-content h2 {
    margin-top: 44px;
  }

  .hiy-site-design.single-post .post-navigation .nav-links {
    grid-template-columns: 1fr;
  }

  .hiy-site-design.hiy-gpx-library-page .site-content {
    padding-top: 28px;
  }
}

@media (max-width: 480px) {
  .hiy-site-design.admin-bar .site-header {
    top: 0;
  }

  .hiy-home-actions,
  .hiy-home-actions .hiy-site-button {
    align-items: stretch;
    width: 100%;
  }

  .hiy-home-hero {
    padding: 31px 22px;
  }

  .hiy-home-stats div {
    padding-left: 8px;
    padding-right: 8px;
  }

  .hiy-home-stats dd {
    font-size: 0.58rem;
  }

  .hiy-site-design.single-post .entry-content table {
    font-size: 0.86rem;
  }

  .hiy-site-design.single-post .entry-content table td,
  .hiy-site-design.single-post .entry-content table th {
    padding: 11px 10px;
  }
}

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