:root {
    --bg: #f3efe9;
    --paper: #fffdf9;
    --ink: #1d2b2b;
    --muted: #5a6468;
    --line: rgba(29, 43, 43, 0.12);
    --accent: #d8b98a;
    --accent-strong: #ff5a00;
    --shadow: 0 18px 40px rgba(29, 43, 43, 0.12);
    --serif-font: "Source Serif 4", Georgia, serif;
    --sans-font: "Segoe UI", Helvetica, Arial, sans-serif;
    --body-size: clamp(1.05rem, 0.96rem + 0.3vw, 1.2rem);
    --hero-title-size: clamp(4.2rem, 7vw, 8rem);
    --hero-subtitle-size: clamp(1.2rem, 1rem + 0.8vw, 1.8rem);
    --section-title-size: clamp(2.4rem, 1.6rem + 1.4vw, 3.5rem);
    --category-label-size: clamp(2rem, 1.5rem + 1.8vw, 3.2rem);
    --card-title-size: clamp(1.8rem, 1.5rem + 0.8vw, 2.2rem);
    --card-summary-size: clamp(1rem, 0.95rem + 0.25vw, 1.15rem);
}

@font-face {
    font-family: "Source Serif 4";
    src: url('/theme/fonts/SourceSerif4Variable-Roman.otf.woff2') format('woff2');
    font-style: normal;
    font-weight: 200 900;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 17px;
}

body {
    margin: 0;
    font-family: var(--sans-font);
    background: linear-gradient(180deg, #eef2ee 0%, var(--bg) 100%);
    color: var(--ink);
    line-height: 1.7;
    font-size: var(--body-size);
}

img {
    max-width: 100%;
    display: block;
}

p,
h1,
h2,
h3 {
    margin-top: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

.page-shell {
    min-height: 100vh;
}

.container {
    width: min(1200px, calc(100% - 2rem));
    margin: 0 auto;
}

.site-header {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 1200;
}

.header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
    min-height: 72px;
}

.site-brand {
    grid-column: 1;
    justify-self: start;
    display: flex;
    align-items: center;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;

}

.site-brand-logo {
    display: block;
    width: 260px;
    height: auto;

}

.site-nav {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.site-nav a {
    transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--ink);
}

.header-utilities {
    grid-column: 4;
    grid-row: 1;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 38px;
    padding: 0.55rem;
    border: 1px solid var(--line);
    border-radius: 0px;
    background: transparent;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 4px 0;
    background: var(--ink);
}

.search-toggle {
    width: 42px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
}

.search-toggle svg {
    display: block;
    width: 21px;
    height: 21px;
    margin: auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
}

.search-toggle:focus-visible {
    outline: 2px solid var(--accent-strong);
    outline-offset: 3px;
}

.site-lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
    color: var(--muted)
}

.site-lang-switcher__link,
.site-lang-switcher__current {
    color: inherit;
    font-weight: 400;
    text-decoration: none;
}

.site-lang-switcher__link {
    opacity: 0.55;
    transition: opacity 0.2s ease;
}

.site-lang-switcher__link:hover,
.site-lang-switcher__link:focus-visible {
    opacity: 1;
}

.site-lang-switcher__current {
    color: inherit;
    border-bottom: 1px solid currentColor;
    padding-bottom: 0px;
}

.site-lang-switcher__separator {
    opacity: 0.45;
}

.site-search {
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 22px rgba(29, 43, 43, 0.08);
}

.site-search[hidden] {
    display: none;
}

.site-search__inner {
    padding: 1rem 0 1.15rem;
}

.site-search__label {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--muted);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-search__input {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--line);
    border-radius: 0px;
    background: var(--paper);
    color: var(--ink);
    font: inherit;
}

.site-search__input:focus {
    outline: 2px solid var(--accent-strong);
    outline-offset: 1px;
}

.site-search__results {
    display: grid;
    gap: 0.25rem;
    max-height: min(55vh, 420px);
    margin-top: 0.65rem;
    overflow-y: auto;
}

.site-search__result {
    display: block;
    padding: 0.65rem 0.75rem;
    border-radius: 0px;
}

.site-search__result:hover,
.site-search__result:focus-visible {
    background: rgba(216, 185, 138, 0.22);
    outline: none;
}

.site-search__result strong,
.site-search__result small {
    display: block;
}

.site-search__result strong {
    font-size: 1rem;
}

.site-search__result small,
.site-search__empty {
    color: var(--muted);
    font-size: 0.85rem;
}

.site-search__empty {
    margin: 0.5rem 0 0;
}

.home-page {
    margin-top: -1.5rem;
}

.site-main {
    padding: 1.5rem 0 3rem;
}

.hero {
    position: relative;
    min-height: calc(100vh - 72px);
    min-height: calc(100svh - 72px);
    display: flex;
    align-items: end;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #2d3a33;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('/images/hero/panorama.jpg');
    background-size: cover;
    background-position: center center;
    transform: scale(1.02);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(14, 21, 20, 0.72) 0%, rgba(14, 21, 20, 0.25) 40%, rgba(14, 21, 20, 0.45) 100%);
}

.hero__content {
    position: relative;
    z-index: 1;
    width: min(1200px, calc(100% - 2rem));
    padding: 3rem 0 3.25rem;
    color: #fff;
}

.hero__scroll-link {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    z-index: 1;
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    color: #fff;
    opacity: 0.8;
    transform: translateX(-50%);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.hero__scroll-link svg {
    width: 1.35rem;
    height: 1.35rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.hero__scroll-link:hover,
.hero__scroll-link:focus-visible {
    opacity: 1;
    transform: translate(-50%, 3px);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.9rem;
    font-size: 0.82rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
}

.eyebrow--dark {
    color: var(--muted);
}

.hero h1 {
    margin-bottom: 0.75rem;
    font-size: var(--hero-title-size);
    line-height: 0.9;
    letter-spacing: -0.06em;
}

.hero__tagline {
    max-width: 42rem;
    font-size: var(--hero-subtitle-size);
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.9);
}

.homepage-about {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    min-height: calc(100vh - 72px);
    min-height: calc(100svh - 72px);
    margin-top: 4rem;
    scroll-margin-top: 72px;
}

.homepage-about__image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.homepage-about__content > p {
    max-width: 640px;
    margin-bottom: 1.25rem;
    color: var(--muted);
}

.homepage-about__link {
    color: var(--ink);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.category-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin: 2.5rem auto 0;
    width: min(1200px, calc(100% - 2rem));
}

.category-card {
    position: relative;
    display: flex;
    align-items: end;
    min-height: 290px;
    padding: 1.5rem;
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow);
    background-size: cover;
    background-position: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover,
.category-card:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(29, 43, 43, 0.18);
}

.category-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13, 20, 18, 0.2) 0%, rgba(13, 20, 18, 0.7) 100%);
}

.category-card--bergsteigen {
    background-image: url('/images/categories/bergsteigen.jpg');
}

.category-card--bikepacking {
    background-image: url('/images/categories/bikepacking.jpg');
}

.category-card--berglaufen {
    background-image: url('/images/categories/berglaufen.jpg');
}

.category-card__label {
    position: relative;
    z-index: 1;
    font-size: var(--category-label-size);
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #fff;
}

.latest-posts {
    width: min(1200px, calc(100% - 2rem));
    margin: 4rem auto 0;
}

.all-tours {
    width: min(1200px, calc(100% - 2rem));
    margin: 4rem auto 0;
}

.all-tours__map {
    width: 100%;
    height: 440px;
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(29, 43, 43, 0.06);
    background: #dfe7dd;
}

.all-tours__map .leaflet-container {
    width: 100%;
    height: 100%;
    background: #dfe7dd;
}

.all-tours__map .leaflet-tooltip small {
    color: var(--muted);
}

.all-tours__marker,
.all-tours__cluster {
    display: grid;
    place-items: center;
    border: 2px solid #fffdf9;
    border-radius: 50%;
    background: var(--accent-strong);
    color: #fff;
    box-shadow: 0 3px 10px rgba(29, 43, 43, 0.25);
    font-weight: 700;
}

.all-tours__marker,
.all-tours__cluster {
    font-size: 0.85rem;
}
.all-tours__reset-control {
    padding: 0.45rem 0.7rem;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--paper);
    color: var(--ink);
    box-shadow: 0 2px 8px rgba(29, 43, 43, 0.14);
    cursor: pointer;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 600;
}

.all-tours__reset-control:hover,
.all-tours__reset-control:focus-visible {
    background: #fff;
}

.section-heading {
    margin-bottom: 1.5rem;
}

.section-heading h2 {
    font-size: var(--section-title-size);
    line-height: 1.1;
    letter-spacing: -0.05em;
    margin-bottom: 0;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.post-card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--line);
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(29, 43, 43, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card:has(> .post-card__link:hover),
.post-card:has(> .post-card__link:focus-visible) {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 20px 38px rgba(29, 43, 43, 0.13);
}

.post-card__link {
    display: block;
    height: 100%;
}

.post-card__link:focus-visible {
    outline: 3px solid var(--accent-strong);
    outline-offset: -3px;
}

@media (prefers-reduced-motion: reduce) {
    .post-card {
        transition: box-shadow 0.2s ease;
    }

    .post-card:has(> .post-card__link:hover),
    .post-card:has(> .post-card__link:focus-visible) {
        transform: none;
    }
}

.post-card__image-wrap {
    display: block;
    height: 190px;
    background: linear-gradient(135deg, rgba(184, 168, 117, 0.75), rgba(63, 85, 67, 0.9));
    overflow: hidden;
}

.post-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: linear-gradient(135deg, rgba(184, 168, 117, 0.75), rgba(63, 85, 67, 0.9));
}

.post-card__image--placeholder {
    height: 190px;
}

.post-card__body {
    padding: 1.1rem 1.15rem 1.3rem;
}

.post-card__meta {
    color: var(--muted);
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.post-card h3 {
    margin-bottom: 0.45rem;
    font-size: clamp(1.4rem, 1.2rem + 0.5vw, 2rem);
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.post-card p {
    color: var(--muted);
    font-size: clamp(0.95rem, 0.9rem + 0.12vw, 1.05rem);
    line-height: 1.6;
    margin-bottom: 0;
}

.empty-state {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--muted);
}

.category-page {
    padding-top: 2rem;
}

.category-hero {
    position: relative;
    display: flex;
    align-items: end;
    width: 100vw;
    min-height: calc(100vh - 72px);
    min-height: calc(100svh - 72px);
    margin-top: -3.5rem;
    margin-left: calc(50% - 50vw);
    margin-bottom: 2rem;
    padding: 3rem max(1rem, calc((100vw - 1200px) / 2)) 8rem;
    border: 0;
    border-radius: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.category-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(14, 21, 20, 0.7), rgba(14, 21, 20, 0.25));
}

.category-hero__content {
    position: relative;
    z-index: 1;
    max-width: 48rem;
    color: #fff;
}

.category-hero__content .eyebrow {
    color: rgba(255, 255, 255, 0.8);
}

.category-hero__content h1 {
    margin-bottom: 0.5rem;
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.05em;
    color: #fff;
}

.category-hero .category-page__intro {
    max-width: 42rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1rem, 0.95rem + 0.3vw, 1.2rem);
}

.category-page__header {
    margin-bottom: 2rem;
}

.category-page__header h1 {
    margin-bottom: 0.75rem;
    font-size: clamp(2.8rem, 5vw, 4.6rem);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.category-page__intro {
    max-width: 44rem;
    font-size: clamp(1.05rem, 0.95rem + 0.35vw, 1.35rem);
    color: var(--muted);
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 1.5rem;
}

.category-filter {
    padding: 0.45rem 0.8rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font: inherit;
    font-size: 0.9rem;
}

.category-filter:hover,
.category-filter:focus-visible,
.category-filter.is-active {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
}

.tour-type-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 2rem;
}

#category-content {
    scroll-margin-top: 72px;
}

.tour-type-filter {
    padding: 0.45rem 0.8rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font: inherit;
    font-size: 0.9rem;
}

.tour-type-filter:hover,
.tour-type-filter:focus-visible,
.tour-type-filter.is-active {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
}

.category-post-card[hidden] {
    display: none;
}

.category-posts-grid {
    margin-top: 1rem;
}

.category-post-card {
    min-height: 100%;
}

.article-page {
    padding-top: 2rem;
}

.article-header {
    margin-bottom: 1.5rem;
}

.article-header h1 {
    margin-bottom: 0.75rem;
    font-size: clamp(2.7rem, 5vw, 5rem);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.9rem;
    color: var(--muted);
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.article-hero {
    margin-bottom: 2rem;
}

.article-hero img {
    width: 100%;
    max-height: 560px;
    object-fit: cover;
    border-radius: 0;
    box-shadow: var(--shadow);
}

.article-details {
    margin-bottom: 2rem;
}

.article-details__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    padding: 1.2rem 1.3rem;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--line);
    border-radius: 6px;
}

.article-details__grid div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.article-details__grid span {
    color: var(--muted);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.article-details__grid strong {
    font-size: 1.15rem;
}

.article-body {
    max-width: 820px;
    margin: 0 auto 2.5rem;
    font-size: clamp(1.05rem, 0.98rem + 0.26vw, 1.2rem);
    line-height: 1.8;
}

.article-navigation {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
}

.article-navigation__item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.75rem 0;
}

.article-navigation__item span {
    color: var(--muted);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.article-navigation__item strong {
    font-size: 1.05rem;
    line-height: 1.35;
}

.article-navigation__item:hover strong,
.article-navigation__item:focus-visible strong {
    color: var(--accent-strong);
}

.article-navigation__item--previous {
    justify-self: start;
}

.article-navigation__item--next {
    justify-self: end;
    text-align: right;
}

.related-articles {
    margin-top: 4rem;
}

.related-articles .section-heading {
    margin-bottom: 1.5rem;
}

.article-lightbox-trigger {
    cursor: zoom-in;
}

.article-lightbox-trigger:hover {
    filter: brightness(0.94);
}

.lightbox-open {
    overflow: hidden;
}

.map-expanded {
    overflow: hidden;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    padding: 4.5rem 3vw 3vh;
    background: rgba(14, 21, 20, 0.88);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
}

.lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.lightbox__figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: min(94vw, 1400px);
    max-height: calc(100vh - 7.5rem);
    margin: 0;
    text-align: center;
}

.lightbox__image {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: calc(100vh - 10.5rem);
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    border-radius: 0;
    cursor: zoom-out;
}

.lightbox__caption {
    max-width: min(94vw, 1000px);
    max-height: 8vh;
    overflow: auto;
    margin-top: 0.75rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
    text-align: center;
}

.lightbox__caption[hidden] {
    display: none;
}

.lightbox__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: rgba(14, 21, 20, 0.55);
    color: #fff;
    cursor: pointer;
    font-size: 1.7rem;
    line-height: 1;
}

.lightbox__close:hover,
.lightbox__close:focus-visible {
    background: rgba(14, 21, 20, 0.85);
}

.article-body > p,
.article-body > ul,
.article-body > ol,
.article-body > blockquote,
.article-body > h2,
.article-body > h3,
.article-body > h4,
.article-body > figure {
    margin-bottom: 1.5rem;
}

.article-body h2,
.article-body h3,
.article-body h4 {
    margin-top: 2.25rem;
    line-height: 1.2;
    letter-spacing: -0.04em;
}

.article-body img,
.article-body figure img {
    display: block;
    width: 75%;
    height: auto;
    border-radius: 0;
    margin: 1rem auto 0.75rem;
}

.article-body figure {
    margin: 2rem 0;
}

.article-body .article-photo {
    width: 75%;
    height: auto;
    object-fit: contain;
    margin-left: auto;
    margin-right: auto;
}

.article-body .article-photo-wide {
    width: min(1120px, calc(100vw - 2rem));
    height: auto;
    object-fit: contain;
    margin-left: 50%;
    transform: translateX(-50%);
}

.article-body .photo-grid {
    display: grid;
    gap: 1.25rem;
    margin: 2rem 0;
}

.article-body .photo-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-body .photo-grid img,
.article-body .photo-grid figure {
    width: 100%;
    margin: 0;
}

.article-body .photo-grid img {
    height: auto;
    object-fit: contain;
}

.article-body figcaption,
.article-body .wp-caption-text,
.article-body .caption {
    margin-top: 0.6rem;
    color: var(--muted);
    font-size: 0.92rem;
    text-align: center;
}

.article-body .photo-grid figcaption {
    margin-bottom: 0;
}

.article-body blockquote {
    margin: 2rem 0;
    padding-left: 1.25rem;
    border-left: 3px solid var(--accent-strong);
    color: var(--ink);
    font-style: italic;
}

.article-body a {
    text-decoration: underline;
    text-underline-offset: 0.12em;
}

.article-gpx {
    margin-top: 1rem;
    padding: 1.5rem 1.25rem;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.6);
}

.article-gpx h2 {
    margin-bottom: 0.9rem;
    font-size: clamp(1.8rem, 1.5rem + 1vw, 2.6rem);
}

.article-gpx__map {
    width: 100%;
    height: clamp(280px, 30vw, 340px);
    border-radius: 0px;
    overflow: hidden;
    background: #dfe7dd;
    border: 1px solid rgba(29, 43, 43, 0.1);
    transition: height 0.3s ease, width 0.3s ease, position 0.3s ease, inset 0.3s ease, border-radius 0.3s ease, z-index 0.3s ease;
}

.article-gpx__map--expanded {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    max-height: none !important;
    min-width: 100vw !important;
    min-height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
    background: #dfe7dd !important;
    z-index: 1250 !important;
    transform: none !important;
}

.article-gpx__map--expanded .leaflet-container {
    width: 100vw !important;
    height: 100vh !important;
}

.article-gpx__map .leaflet-container {
    width: 100%;
    height: 100%;
    background: #dfe7dd;
}

.article-gpx__map .leaflet-pane,
.article-gpx__map .leaflet-control,
.article-gpx__map .leaflet-top,
.article-gpx__map .leaflet-bottom,
.article-gpx__map .leaflet-tooltip,
.article-gpx__map .leaflet-popup {
    z-index: 1;
}

.leaflet-control-layers {
    margin: 0.55rem 0 0 0.55rem;
    border: 1px solid rgba(29, 43, 43, 0.12);
    border-radius: 0px;
    box-shadow: 0 3px 12px rgba(29, 43, 43, 0.12);
    z-index: 1;
}

.leaflet-control-layers .leaflet-control-layers-list {
    font-size: 0.76rem;
}

.leaflet-control-layers label {
    font-size: 0.76rem;
}

.article-gpx__profile {
    margin-top: 0.9rem;
    padding: 0.8rem 0.8rem 0.65rem;
    border: 1px solid var(--line);
    border-radius: 0px;
    background: rgba(255, 255, 255, 0.72);
}

.article-gpx__profile-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.35rem;
}

.article-gpx__profile-heading h3 {
    margin: 0;
    font-size: 1.15rem;
}

.article-gpx__profile-heading span {
    color: var(--muted);
    font-size: 0.82rem;
}

.elevation-profile {
    display: block;
    width: 100%;
    height: auto;
    min-height: 120px;
    touch-action: none;
}

.article-gpx__profile .elevation-profile__chart {
    position: relative;
}

.elevation-profile__grid-line {
    stroke: rgba(29, 43, 43, 0.1);
    stroke-width: 1;
    stroke-dasharray: 3 5;
}

.elevation-profile__axis {
    stroke: var(--line);
    stroke-width: 1;
}

.elevation-profile__line {
    fill: none;
    stroke: var(--accent-strong);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
}

.elevation-profile__hover-line {
    display: none;
    stroke: var(--ink);
    stroke-dasharray: 4 4;
    stroke-width: 1.5;
    pointer-events: none;
}

.elevation-profile__label {
    fill: var(--muted);
    font-family: inherit;
    font-size: 13px;
}

.elevation-profile__label--end {
    text-anchor: end;
}

.elevation-profile__tooltip {
    display: none;
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    padding: 0.35rem 0.55rem;
    border-radius: 0px;
    background: var(--ink);
    color: #fff;
    font-size: 0.78rem;
    line-height: 1.2;
    white-space: nowrap;
    pointer-events: none;
}

.leaflet-custom-gpx-control {
    border: 1px solid rgba(29, 43, 43, 0.15) !important;
    border-radius: 0px !important;
    box-shadow: 0 3px 10px rgba(29, 43, 43, 0.12);
    overflow: hidden;
}

.leaflet-expand-map-control {
    border: 1px solid rgba(29, 43, 43, 0.15) !important;
    border-radius: 0px !important;
    box-shadow: 0 3px 10px rgba(29, 43, 43, 0.12);
    overflow: hidden;
}

.leaflet-custom-gpx-control__button,
.leaflet-expand-map-control__button {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    padding: 0.45rem 0.7rem;
    border: 0;
    background: rgba(255, 255, 255, 0.96);
    color: var(--ink);
    font: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
}

.leaflet-custom-gpx-control__button:hover,
.leaflet-custom-gpx-control__button:focus-visible,
.leaflet-expand-map-control__button:hover,
.leaflet-expand-map-control__button:focus-visible {
    background: #fff;
    outline: none;
}

.leaflet-custom-gpx-control__button span:first-child {
    font-size: 0.9rem;
    line-height: 1;
}

@media (max-width: 640px) {
    .leaflet-custom-gpx-control__button {
        padding: 0.62rem 0.8rem;
        font-size: 0.82rem;
    }
    .site-brand-logo {
    width: 190px;
    }
}

.page-content {
    padding-top: 2rem;
}

.about-page {
    max-width: 1200px;
    margin: 0 auto;
}

.about-intro {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
    align-items: center;
    column-gap: clamp(2rem, 6vw, 5rem);
    max-width: 1200px;
    margin: 0;
    text-align: left;
}

.about-intro > .eyebrow,
.about-intro > h1,
.about-intro > .about-intro__lead {
    grid-column: 1;
}

.about-intro h1 {
    max-width: 650px;
    margin: 0 0 1.25rem;
    font-size: clamp(2.4rem, 4vw, 4.2rem);
    line-height: 1;
    letter-spacing: -0.06em;
}

.about-intro__lead {
    max-width: 560px;
    margin: 0 0 4rem;
    color: var(--muted);
    font-size: clamp(1.05rem, 0.95rem + 0.35vw, 1.35rem);
}

.about-intro__image {
    grid-column: 2;
    grid-row: 1 / span 3;
    width: 100%;
    height: min(600px, calc(100vh - 180px));
    height: min(600px, calc(100svh - 180px));
    object-fit: cover;
    margin: 0;
    border-radius: 0;
}

.about-people,
.about-why {
    margin-top: 6rem;
}

.about-section-heading {
    margin-bottom: 2rem;
}

.about-section-heading h2,
.about-why h2 {
    margin-bottom: 0;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: -0.05em;
}

.about-person {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: "image content";
    align-items: center;
    gap: clamp(2rem, 6vw, 5rem);
    min-height: 550px;
    margin-top: 4rem;
}

.about-person--image-right {
    grid-template-areas: "content image";
}

.about-person__image {
    grid-area: image;
    width: 100%;
    height: min(500px, 436vw);
    max-height: 500px;
    object-fit: cover;
    border-radius: 0;
    background: linear-gradient(135deg, #b8a875, #3f5543);
}

.about-person__content {
    grid-area: content;
}

.about-person h3 {
    margin-bottom: 0.35rem;
    font-size: 1.55rem;
    letter-spacing: -0.03em;
}

.about-person p,
.about-why p {
    max-width: 650px;
    color: var(--muted);
}

.about-why {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(2.5rem, 5vw, 5rem);
    max-width: 1200px;
    margin-top: 4rem;
}

.about-why__text {
    max-width: 650px;
}

.about-why__images {
    display: grid;
    gap: 1rem;
}

.about-why__images img {
    display: block;
    width: 100%;
    object-fit: cover;
    border-radius: 0;
}

.about-why__images img:first-child {
    height: 260px;
}

.about-why__images img:last-child {
    height: 260px;
}

.about-why h2 {
    margin-bottom: 0.75rem;
    font-size: clamp(2.1rem, 3.5vw, 3.2rem);
}

.about-why p {
    font-size: 1.15rem;
    margin-bottom: 0.85rem;
}

.about-cta {
    margin: 4rem 0 1rem;
}

.about-cta__link {
    display: inline-block;
    padding: 0.75rem 1.1rem;
    border-radius: 0px;
    background: var(--ink);
    color: #fff;
    font-weight: 600;
}

.about-cta__link:hover,
.about-cta__link:focus-visible {
    background: var(--accent-strong);
}

.site-footer {
    padding: 2.5rem 0 3rem;
}

.footer-inner {
    border-top: 1px solid var(--line);
    padding-top: 1.25rem;
    color: var(--muted);
}

@media (max-width: 900px) {
    .posts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero h1 {
        font-size: clamp(3.2rem, 10vw, 5.4rem);
    }

    .hero__tagline {
        font-size: clamp(1.1rem, 2.2vw, 1.5rem);
    }
}

@media (max-width: 640px) {
    .header-inner {
        display: flex;
        position: relative;
        justify-content: space-between;
        min-height: 64px;
    }

    .nav-toggle {
        display: block;
        border: 0;
        background: transparent;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        padding: 0.75rem 1rem 1rem;
        border-bottom: 1px solid var(--line);
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 8px 18px rgba(29, 43, 43, 0.08);
    }

    .site-nav.is-open {
        display: grid;
        gap: 0.25rem;
    }

    .site-nav a {
        padding: 0.65rem 0;
        font-size: 0.95rem;
    }

    .hero {
        min-height: calc(100vh - 64px);
        min-height: calc(100svh - 64px);
    }

    .category-hero {
        min-height: calc(100vh - 64px);
        min-height: calc(100svh - 64px);
        background-position: var(--category-mobile-position, center);
        padding: 2.25rem 1rem;
    }

    .hero__content {
        padding: 2.25rem 0;
        transform: translateY(-70px);
    }

    .hero h1 {
        font-size: clamp(2.7rem, 16vw, 4rem);
    }

    .hero__tagline {
        font-size: clamp(1rem, 4vw, 1.3rem);
    }

    .category-label {
        font-size: clamp(1.7rem, 7vw, 2.3rem);
    }

    .section-heading h2 {
        font-size: clamp(2rem, 8vw, 2.6rem);
    }

    .homepage-about {
        grid-template-columns: 1fr;
        gap: 3rem;
        min-height: calc(100vh - 64px);
        min-height: calc(100svh - 64px);
        scroll-margin-top: 64px;
    }

    .homepage-about__content {
        order: -1;
    }

    #category-content {
        scroll-margin-top: 64px;
    }

    .category-nav,
    .posts-grid {
        grid-template-columns: 1fr;
    }

    .all-tours__map {
        height: 320px;
    }

    .about-people,
    .about-why {
        margin-top: 4rem;
    }

    .about-why {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-why__images {
        gap: 1.5rem;
    }

    .about-why__images img:first-child,
    .about-why__images img:last-child {
        height: clamp(240px, 70vw, 420px);
    }

    .about-person,
    .about-person--image-right {
        grid-template-columns: 1fr;
        grid-template-areas:
            "image"
            "content";
        gap: 2rem;
        min-height: 0;
    }

    .about-person__image {
        height: clamp(280px, 75vw, 440px);
        max-height: none;
    }

    .about-intro__image {
        grid-column: auto;
        grid-row: auto;
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        border-radius: 0;
    }

    .about-intro {
        grid-template-columns: 1fr;
    }

    .category-card {
        min-height: 220px;
    }

    .article-header h1 {
        font-size: clamp(2.4rem, 12vw, 3.2rem);
    }

    .article-details__grid {
        grid-template-columns: 1fr 1fr;
    }

    .article-body {
        font-size: 1.05rem;
    }

    .article-body .photo-grid-2 {
        grid-template-columns: 1fr;
    }

    .article-navigation {
        grid-template-columns: 1fr;
    }

    .article-navigation__item--next {
        justify-self: stretch;
        text-align: left;
    }
}