/* Julikat article layout: Bootstrap row + col-lg-9 / col-lg-3, sticky sidebar. */
:root {
  --jk-cream: var(--julikat-creme);
  --jk-linen: var( --julikat-linen);
  --jk-light: var(--julikat-olive-light);
  --jk-olive: var(--julikat-olive);
  --jk-deep: var(--julikat-olive-deep);
  --jk-ink: var(--julikat-ink);
  --jk-header-height: 72px;
  --jk-sticky-gap: 18px;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
}
body {
  background: var(--jk-cream);
  color: var(--jk-ink);
}
.jk-demo-header {
  height: var(--jk-header-height);
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 5vw, 70px);
  background: var(--jk-cream);
  border-bottom: 1px solid #dedbd0;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
}
.jk-wordmark {
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  color: var(--jk-ink);
  font: 28px Georgia, serif;
  letter-spacing: 0;
}
.jk-wordmark span:last-child {
  display: flex;
  flex-direction: column;
}
.jk-wordmark small {
  font: 8px Arial, sans-serif;
  letter-spacing: 0.22em;
}
.jk-monogram {
  border: 1px solid var(--jk-deep);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
}
.jk-article-hero {
  min-height: clamp(350px, 49vw, 600px);
  background: linear-gradient(0deg, #17191177, #25282036),
    url("../hero.webp") center 52% / cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.jk-article-hero__inner {
  padding: 50px 20px;
  max-width: 840px;
}
.jk-eyebrow,
.jk-side-label {
  font-size: 0.67rem;
  letter-spacing: 0.18em;
  font-weight: 700;
}
.jk-article-hero h1 {
  font: 400 clamp(2.6rem, 5.7vw, 5.5rem) / 1.04 Georgia, serif;
  margin: 15px 0;
}
.jk-article-hero p {
  font-size: clamp(0.98rem, 1.4vw, 1.2rem);
}
.jk-meta {
  min-height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px 18px;
  flex-wrap: wrap;
  padding: 12px 18px;
  border-bottom: 1px solid #e1ddcf;
  font-size: 0.76rem;
}
.jk-chip {
  border: 1px solid #babaa9;
  border-radius: 22px;
  padding: 4px 11px;
}
.jk-article-container {
  width: min(100% - 48px, 1320px);
  margin: 0 auto;
  padding: 44px 0 100px;
}
.jk-article-row {
  --bs-gutter-x: clamp(24px, 3vw, 44px);
  align-items: stretch;
}
.jk-article-main {
  min-width: 0;
  line-height: 1.85;
  font-size: 1rem;
}
.jk-lead {
  font-size: 1.12rem;
}
.jk-article-main h2 {
  font: 400 clamp(1.65rem, 2.4vw, 2.3rem) / 1.2 Georgia, serif;
  margin: 0 0 16px;
}
.jk-article-main p {
  margin: 0 0 20px;
}
.jk-article-section {
  padding-top: 22px;
  margin-bottom: 45px;
  scroll-margin-top: 100px;
}
.jk-article-section figure {
  margin: 25px 0;
}
.jk-article-section figure img {
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 3px;
}
.jk-article-section figcaption {
  font-size: 0.74rem;
  color: #697063;
  margin-top: 6px;
}
.jk-tip {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--jk-linen);
  padding: 17px 19px;
  margin: 25px 0;
  border-radius: 2px;
}
.jk-tip span {
  background: var(--jk-cream);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  text-align: center;
  color: var(--jk-deep);
}
.jk-tip p {
  margin: 0;
  font-size: 0.91rem;
}
.jk-article-end {
  padding: 25px 0;
  border-top: 1px solid #dedbd0;
}
.jk-comments-preview {
  border-top: 1px solid #dedbd0;
  padding: 40px 0;
}
.jk-article-aside {
  min-width: 0;
  position: relative;
}
.jk-aside-sticky {
  position: sticky;
  /* --jk-aside-shift (≤ 0) setzt JavaScript/sticky-aside.js: lange Seitenspalten scrollen mit,
     bis ihr Ende unten am Bildschirmrand steht, und laufen beim Hochscrollen wieder mit */
  top: calc(var(--jk-header-height) + var(--jk-sticky-gap) + var(--jk-aside-shift, 0px));
}
/* Mit sticky-aside.js: kein eigener Scrollbereich mehr – die Spalte scrollt synchron mit der Seite */
.jk-aside-sticky--sync .jk-aside-scroll {
  max-height: none;
  overflow: visible;
  overscroll-behavior: auto;
}
.jk-aside-scroll {
  max-height: calc(
    100dvh - var(--jk-header-height) - var(--jk-sticky-gap) - 16px
  );
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #b6baa8 transparent;
  padding: 0 3px 2px 0;
}
.jk-side-card {
  background: #fffefb;
  border: 1px solid #e2dfd5;
  padding: clamp(14px, 1.4vw, 22px);
  margin: 0 0 15px;
  min-width: 0;
}
.jk-side-card h2 {
  font: 400 clamp(1.15rem, 1.45vw, 1.5rem) / 1.23 Georgia, serif;
  margin: 0 0 14px;
}
.jk-side-label {
  color: var(--jk-deep);
  margin: 0 0 7px;
}
.jk-side-card small {
  font-size: 0.7rem;
  color: #70766a;
}
.jk-map svg {
  display: block;
  width: 100%;
  height: auto;
}
.jk-toc {
  list-style: none;
  margin: 0;
  padding: 0;
}
.jk-toc li + li {
  margin-top: 3px;
}
.jk-toc a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 3px;
  text-decoration: none;
  color: var(--jk-ink);
  font-size: 0.81rem;
  line-height: 1.5;
  border-radius: 3px;
}
.jk-toc a > span {
  border: 1px solid #b1b7a7;
  color: var(--jk-deep);
  border-radius: 50%;
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  font-size: 0.7rem;
}
.jk-toc a:hover,
.jk-toc a.is-active {
  color: var(--jk-deep);
  background: var(--jk-light);
}
.jk-pins {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin: 8px 0 15px;
}
.jk-pins img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.jk-outline-button {
  display: block;
  border: 1px solid var(--jk-deep);
  color: var(--jk-deep);
  text-align: center;
  text-decoration: none;
  border-radius: 30px;
  padding: 9px;
  font-size: 0.8rem;
}
.jk-side-card--olive {
  background: var(--jk-deep);
  border-color: var(--jk-deep);
  color: #fff;
}
.jk-side-card--olive p {
  font-size: 0.84rem;
}
.jk-white-button {
  display: inline-block;
  background: var(--jk-cream);
  color: #34382d;
  text-decoration: none;
  font-size: 0.78rem;
  padding: 9px 14px;
  border-radius: 25px;
}
.jk-demo-footer {
  background: var(--jk-olive);
  color: #fff;
  padding: 90px 20px;
  text-align: center;
}
.jk-aside-scroll:focus-visible {
  outline: 2px solid var(--jk-deep);
}
@media (max-width: 991.98px) {
  .jk-article-container {
    padding-top: 35px;
  }
}
@media (max-width: 600px) {
  .jk-demo-header > div {
    display: none;
  }
  .jk-article-container {
    width: min(100% - 30px, 1320px);
  }
  .jk-aside-scroll {
    grid-template-columns: 1fr;
  }
  .jk-article-hero {
    min-height: 360px;
  }
  .jk-meta {
    gap: 8px;
  }
  .jk-article-section {
    margin-bottom: 26px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Julikat article layout: Bootstrap row + col-lg-9 / col-lg-3, sticky sidebar. */
/* Ende */

/* Julikat well. */
div.well {
	display: inline-block;
    padding: 0.8rem;
    border: 1px solid var(--bs-primary);
    border-radius: 0.25rem;
}

div.well > p {
    margin: 0;
}

/* Julikat well */

/* Bildunterschrift der Core-Elemente (Media/Type/*.html) – vorher aus theme-tile.css,
   die nicht mehr eingebunden ist (dort stand auch das globale "figure { display:inline-block }") */
figure .caption {
    margin-top: .4rem;
    color: var(--bs-secondary-color);
    font-size: var(--julikat-fs-sm);
    line-height: 1.5;
    word-wrap: break-word;
}

/* Ende */
