/* hinundhier – Veranstaltungskalender: nur innerhalb von .content-vk.
   Eigene Palette aus der verbindlichen offcanvas.css (14.10.2026).
   style.css, Bootstrap und Offcanvas bleiben unabhängig. */
.content-vk {
  --content-bg: #f9f7f2;
  --content-surface: #fffdfa;
  --content-ink: #1f2a1b; /* verbindlicher HH-Textton */
  --content-muted: #55676a;
  --content-heading: #3e757a;
  --content-soft: #e9f0ed;
  --content-hover: #e2ece8;
  --content-active: #3e757a;
  --content-active-ink: #ffffff;
  --content-accent:  #3e757a; /* #a95238; */
  --content-stroke: #d7dcd5;
  --content-focus: #a95238;
  color: var(--content-ink);
}
.content-vk .page-title {
  font-size: clamp(1.2rem, 1.05rem + 1.1vw, 1.8rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--content-heading);
}
.content-vk .page-title span { font-size: .95em; font-weight: 400; color: #3e757a; /* var(--content-ink); */ }
/* Gemeinsame, feste Kopfhoehe beider Bootstrap-Spalten.
   Beide header verwenden exakt dieselbe Hoehe und denselben unteren Abstand.
   Bei laengeren Ortsnamen gegebenenfalls --vk-column-header-height erhoehen. */
.content-vk {
  --vk-column-header-height: 9rem;
  --vk-column-header-gap: 1.5rem;
}

.content-vk .content-page-header,
.content-vk .sidebar-header {
  box-sizing: border-box;
  height: var(--vk-column-header-height);
  margin-bottom: var(--vk-column-header-gap);
}

.content-vk .content-page-header {
  display: flex;
  align-items: center;
  justify-content: center;
}

.content-vk .page-title {
  margin: 0;
  padding: 0;
}

/* Sidebar gehoert zum Seitenlayout, nicht zu den Veranstaltungskarten. */
.content-vk .sidebar-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.45rem;
  padding: 1rem 0.9rem;
  border-left: 3px solid var(--hh-primary, #365763); /* var(--hh-accent, #e6a50a); */
  background-color: var(--hh-primary-soft, #e5eff1);
}

.content-vk .sidebar-eyebrow {
  color: var(--hh-primary-dark, #25404a);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.content-vk .sidebar-title {
  margin: 0;
  color: var(--hh-primary, #365763);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 650;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.content-vk .sidebar-section + .sidebar-section {
  margin-top: 1.5rem;
}
.content-vk .content-page-body { line-height: 1.6; overflow-wrap: break-word; }
.content-vk .content-page-body p { margin-bottom: 1.25rem; }
.content-vk .vk-ansicht { padding: 0 .8rem; }
.content-vk .vk-view-controls { gap: .5rem; }
.content-vk .view-label { color: var(--content-ink); font-weight: 600; }
.content-vk #siteTab { display: flex; gap: .3rem; }
.content-vk #siteTab .nav-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.75rem; padding: .55rem .75rem;
  color: var(--content-heading); background: transparent;
  border: 1px solid var(--content-stroke); border-radius: 3px;
  font-size: .89rem; line-height: 1.3;
  box-shadow: none;
  transition: color .15s ease, background-color .15s ease, border-color .15s ease;
}
.content-vk #siteTab .nav-link:hover {
  color: var(--content-heading); background: var(--content-hover); border-color: var(--content-heading);
}
.content-vk #siteTab .nav-link.active,
.content-vk #siteTab .nav-link[aria-selected="true"] {
  color: var(--content-active-ink); background: var(--content-active); border-color: var(--content-active);
}
.content-vk #siteTab .nav-link:active:not(.active) {
  color: var(--content-accent); background: var(--content-soft);
}
.content-vk :is(a, button, [tabindex]):focus-visible {
  outline: 3px solid var(--content-focus) !important;
  outline-offset: 2px; box-shadow: none !important;
}
.content-vk #siteTabContent { max-width: 76rem; margin: 0 auto; padding: 0 0 1.25rem; }
.content-vk .vk-empty-state {
  padding: 1.5rem 1rem; color: var(--content-muted);
  background: var(--content-bg); border: 1px solid var(--content-stroke); border-radius: 3px;
}
/* Reservierte Bausteine für später dynamisch geladene Veranstaltungen. */
.content-vk .vk-event-card {
  background: var(--content-surface); border: 1px solid var(--content-stroke); border-radius: 3px;
}
.content-vk .vk-event-card :is(h2, h3) { color: var(--content-heading); }
.content-vk .vk-event-link { color: var(--content-heading); text-underline-offset: .2em; }
.content-vk .vk-event-link:hover { color: var(--content-accent); }
@media (min-width: 576px) {
  .content-vk .vk-ansicht { padding-inline: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .content-vk #siteTab .nav-link { transition: none; }
}

/* Platzhalterbild auf der Startseite oberhalb der H1. */
.content-vk .vk-hero {
  width: 100%;
}

.content-vk .vk-hero img {
  display: block;
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: 35% 30%; /* left = 0 / right = 100 + top= 0 / bottom = 100 */
}

/* Smartphone: geringere Hero-Höhe, unverzerrter Bildausschnitt. */
@media (max-width: 575.98px) {
  .content-vk .vk-hero img {
    height: 250px;
    object-fit: cover;
    object-position: 35% 25%; /* left = 0 / right = 100 + top= 0 / bottom = 100 */
  }
}

/* Hero-Image je Ortsseite */
/* Platzhalterbild auf der Startseite oberhalb der H1. */
.content-vk .vk-hero-ot {
  width: 100%;
}

.content-vk .vk-hero-ot img {
  display: block;
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: 0px 200px;
}

/* Smartphone: geringere Hero-Höhe, unverzerrter Bildausschnitt. */
@media (max-width: 575.98px) {
  .content-vk .vk-hero-ot img {
    height: 250px;
  }
}

.content-vk .info-box {
  padding: 1rem;
  color: var(--content-muted);
  background: var(--content-bg);
  border: 1px solid var(--content-stroke);
  border-radius: 3px;
  overflow-wrap: break-word;
}

/* Wiederverwendbar: kein zusätzlicher Abstand nach dem letzten Element. */
.content-vk .info-box > :last-child { margin-bottom: 0; }
