@font-face {
    font-family: Kalam;
    src: url("Kalam-Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

.jp-structure {
    --struktur-sand: #d8c49f;
    --struktur-red: #962e24;
    --struktur-paper: #fffdf6;
    width: min(90%, 1120px);
    margin-inline: auto;
    color: #262321;
    font: 1.125rem/1.6 system-ui, sans-serif;
    overflow-wrap: anywhere;
}
.jp-structure section { margin-block: 36px 56px; }
.jp-structure .einleitung { padding: 32px 0 18px; max-width: 70ch; }
.jp-site .jp-structure h1,
.jp-site .jp-structure h2,
.jp-site .jp-structure h3 {
    font: 700 1.5rem/1.15 Kalam, Georgia, serif;
    margin: 0 0 .55em;
}
.jp-site .jp-structure h1 { font-size: clamp(2rem, 6vw, 4.2rem); }
.jp-structure section > h2 { font-size: clamp(1.45rem, 3.8vw, 2.4rem); }
.jp-structure p { margin: 0 0 .6em; }
.jp-structure a { color: inherit; text-decoration: underline; text-underline-offset: .18em; }
.jp-structure a:hover { color: var(--struktur-red); }
.jp-structure a:focus-visible { outline: 2px solid var(--struktur-red); outline-offset: 4px; }
.jp-structure .motto { font: italic 1.4rem/1.4 Georgia, serif; color: var(--struktur-red); }
.jp-structure .profilbild-link { display: block; margin-top: 1rem; }
.jp-structure :is(.profilbild-link, .reisekarte) img { display: block; width: 100%; height: auto; }
.jp-structure :is(.themen, .aktuell) { background: var(--struktur-sand); padding: clamp(19px, 4vw, 36px); }
.jp-structure .karten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.jp-structure .karten article {
    background: var(--struktur-paper);
    border: 1.5px solid #3c332b;
    box-shadow: 3px 3px #3c332b;
    padding: clamp(16px, 3vw, 26px);
}
.jp-structure .karten article p { margin: .5em 0; }
.jp-structure .links { list-style: none; padding: 0; display: flex; gap: 4px 16px; flex-wrap: wrap; }
.jp-structure .links a { display: inline-block; padding-block: 4px; }
.jp-structure .pfad,
.jp-structure figcaption { font-size: .875rem; }
.jp-structure .reisekarte { margin: 0 0 2rem; }
.jp-structure figcaption { margin-top: .5rem; }

@media (max-width: 640px) {
    .jp-structure .karten { grid-template-columns: 1fr; }
}

body:has(.jp-structure) .jp-header .jp-brand { font-family: Kalam, Georgia, serif; }

body:has(.jp-structure-home) .jp-search {
    display: none;
}

.jp-site .jp-structure-home .themen > h1 {
    font-size: clamp(1.9rem, 4vw, 3rem);
}

.jp-structure .jp-beitragsbild {
    margin-bottom: 1rem;
    aspect-ratio: 8 / 5;
    background: var(--struktur-paper);
}

.jp-structure .jp-beitragsbild img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jp-structure :is(.aktuell, .jp-structure-column) .jp-beitragsbild {
    max-width: 42rem;
}