/*
Theme Name: Sonnenstaatland (SSL)
Theme URI: https://sonnenstaatland.st
Author: Sonnenstaatland Redaktion
Description: Ein kontrastreiches redaktionelles Magazin mit markantem Zeitungskopf, ausgewogenem Footer und integrierter Diskussion.
Version: 9.4.1
Requires at least: 6.6
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wordpress-template-ssl
Tags: block-theme, full-site-editing, blog, news, two-columns, right-sidebar
*/

/* ==========================================================================
   0. SCHRIFTEN: Inter (Text) + Source Serif 4 (Überschriften), beide SIL Open Font License 1.1,
   lokal ausgeliefert, keine externen Anfragen. Lizenzen: assets/fonts/LICENSE-*.txt
   ========================================================================== */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/Inter-Variable.woff") format("woff");
}

@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 100 600;
  font-display: swap;
  src: url("assets/fonts/Inter-Italic.woff") format("woff");
}

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/SourceSerif4-Variable.woff") format("woff");
}

@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 700 900;
  font-display: swap;
  src: url("assets/fonts/Inter-BoldItalic.woff") format("woff");
}

/* ==========================================================================
   1. DESIGN TOKENS & SYSTEM-VARIABLEN (V9.0)
   ========================================================================== */
:root {
  --c-brand: #304c60;
  --c-brand-deep: #203b4e;
  --c-gold: #d4ac4b;
  --c-ink: #1d303c;
  --c-text: #384b56;
  --c-muted: #56656e;
  --c-border: #d7dfdf;
  --c-bg-soft: #f1f4f0;
  --c-bg-warm: #f8f5eb;
  --c-surface: #ffffff;
  --c-accent: #2d536d;
  --c-accent-dk: #183c55;
  --c-coral: #765d5d;
  --c-teal: #3f6e75;
  --c-sunwash: #f8f4e8;

  --menu-ink: #294756;
  --menu-hover: #edf2f3;
  --menu-active: #e4edf0;
  --menu-rule: #dce4e5;

  --ff-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ff-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ff-wordmark: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --page-width: 1280px;
  --reading-width: 740px;
  --page-gutter: clamp(20px, 3vw, 36px);
}

/* ==========================================================================
   2. BASIS, RESET & TYPOGRAFIE
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background-color: #d5dfda;
  background-image:
    linear-gradient(180deg, rgba(220, 230, 224, 0.28), rgba(222, 230, 225, 0.52)),
    url("assets/images/ssl-bg-blur-small.jpg");
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;
  color: var(--c-text);
  font: 16px/1.65 var(--ff-sans);
  -webkit-font-smoothing: antialiased;
}

.wp-site-blocks {
  padding: 0;
}

.wp-site-blocks > * {
  margin-block-start: 0;
}

a {
  color: var(--c-accent);
  text-decoration: none;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration: underline;
}

:where(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: 3px solid var(--c-gold);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.wp-block-post-title,
.wp-block-post-title a,
.has-serif-font-family,
.has-display-font-family {
  font-family: var(--ff-sans);
  color: var(--c-ink);
  line-height: 1.25;
  letter-spacing: -0.025em;
  font-weight: 700;
  overflow-wrap: anywhere;
}

p {
  margin: 0 0 1em;
}

img {
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

button,
input,
textarea,
select {
  font: inherit;
  font-family: var(--ff-sans);
}

.top-anchor {
  display: block;
  height: 0;
  overflow: hidden;
}

.ssl-skip-link {
  position: fixed;
  top: -9999px;
  left: 16px;
  z-index: 100000;
  padding: 10px 16px;
  background: #ffffff;
  color: var(--c-ink);
  border: 2px solid var(--c-accent);
  border-radius: 3px;
  font-weight: 700;
}

.ssl-skip-link:focus {
  top: 12px;
}

.ssl-eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent);
}

/* ==========================================================================
   3. TOP HEADER (REDAKTIONELLER ZEITUNGSKOPF)
   ========================================================================== */
.ssl-top-header {
  background: linear-gradient(135deg, #162e3d 0%, #1e3d50 60%, #183344 100%);
  border-top: 4px solid var(--c-accent);
  border-bottom: 2px solid var(--c-gold);
  box-shadow: 0 4px 18px rgba(10, 24, 32, 0.4);
  color: #ffffff;
}

.ssl-top-inner {
  width: min(calc(100% - 56px), var(--page-width));
  margin: 0 auto;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}

.ssl-top-header .site-description {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}

.ssl-top-header .logo {
  flex-shrink: 0;
}

.ssl-top-header .site_logo {
  display: block;
  width: 90px;
  height: 57px;
  background: url("assets/images/SSL-LOGO-26.png") center/contain no-repeat;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.45));
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.ssl-top-header .site-description:hover .site_logo {
  transform: scale(1.02);
}

.ssl-brand-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.ssl-brand-copy .ssl-site-name {
  display: block;
  font-family: var(--ff-wordmark);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.ssl-brand-copy .ssl-brand-motto {
  margin: 5px 0 0;
  color: #dfc888;
  font-family: var(--ff-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  line-height: 1.4;
}

.ssl-brand-copy .ssl-brand-address,
.ssl-brand-copy .ssl-brand-office {
  display: none;
}

.ssl-utility-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.ssl-utility-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--ff-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.ssl-utility-links a {
  display: inline-block;
  color: #e0ecf1;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
  text-decoration: none;
}

.ssl-utility-links a:hover,
.ssl-utility-links a[aria-current],
.ssl-utility-links a[aria-current="page"],
.ssl-utility-links a.is-active-section {
  color: #ffffff;
  border-bottom-color: var(--c-gold);
  text-decoration: none;
}

.ssl-social-links {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.ssl-social-link {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e1edf2;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
}

.ssl-social-link:hover {
  color: #162f40;
  background: var(--c-gold);
  border-color: var(--c-gold);
  transform: translateY(-1px);
  text-decoration: none;
}

.ssl-social-link svg {
  display: block;
  fill: currentColor;
}

/* ==========================================================================
   4. SEITENHÜLLE (MAIN WRAP), HAUPTNAVIGATION & SUCHE
   ========================================================================== */
main.wrap {
  width: min(calc(100% - 56px), var(--page-width));
  margin: 32px auto 58px;
  background: #ffffff;
  border: 0;
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(10, 32, 42, 0.08);
  overflow: visible;
}

main.wrap:has(> .ssl-intro),
main.wrap:has(> .ssl-page-header) {
  background: transparent;
}

main.wrap > * {
  margin-block-start: 0;
  margin-block-end: 0;
}

.ssl-topnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 12px var(--page-gutter);
  background: #fbfcfc;
  border: 0;
  border-bottom: 1px solid #dce4e5;
  border-radius: 4px 4px 0 0;
  margin: 0;
}

.ssl-topnav .ssl-main-nav {
  min-width: 0;
  color: var(--menu-ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.015em;
  text-transform: none;
}

.ssl-main-nav .wp-block-navigation__container {
  gap: 4px 12px;
}

.ssl-topnav .ssl-main-nav .wp-block-navigation-item__content,
.ssl-topnav .ssl-main-nav a {
  display: block;
  color: var(--menu-ink);
  background: transparent;
  padding: 10px 12px;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.ssl-topnav .ssl-main-nav .wp-block-navigation-item__content:is(:hover, :focus-visible),
.ssl-topnav .ssl-main-nav a:is(:hover, :focus-visible) {
  color: #183c55;
  background: var(--menu-hover);
  text-decoration: none;
}

.ssl-topnav .ssl-main-nav .current-menu-item > .wp-block-navigation-item__content,
.ssl-topnav .ssl-main-nav .wp-block-navigation-item__content[aria-current="page"] {
  color: #183c55;
  background: var(--menu-active);
  border-bottom: 2px solid #b79138;
}

.ssl-topnav :is(.preview-menu-toggle, .wp-block-navigation__responsive-container-open) {
  color: var(--menu-ink);
}

.ssl-main-nav .wp-block-navigation__submenu-container {
  z-index: 100;
  color: var(--c-ink);
  background: #ffffff;
  border-color: var(--c-border);
  box-shadow: 0 8px 25px rgba(29, 48, 60, 0.1);
}

.ssl-main-nav .wp-block-navigation__responsive-container.is-menu-open {
  padding: 28px;
  color: var(--menu-ink);
  background: #ffffff;
}

.ssl-main-nav .wp-block-navigation__responsive-container-close {
  top: 20px;
  right: 20px;
}

.ssl-topnav .ssl-main-nav .preview-overlay-menu.is-open {
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(32, 59, 78, 0.12);
  border: 1px solid var(--menu-rule);
}

.ssl-topnav-search.wp-block-search {
  width: 260px;
  flex-shrink: 0;
  margin: 0;
}

.ssl-inline-search.wp-block-search {
  max-width: 480px;
  margin: 18px 0 24px;
}

.wp-block-search__inside-wrapper {
  display: flex;
  padding: 0;
  background: #f5f7f7;
  border: 1px solid #d4dfe2;
  border-radius: 3px;
}

.wp-block-search__inside-wrapper:focus-within {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
  background: #ffffff;
}

.wp-block-search__input {
  min-width: 0;
  width: 100%;
  padding: 9px 12px;
  border: 0;
  background: transparent;
  color: var(--c-ink);
  font-size: 12.5px;
  font-weight: 400;
}

.wp-block-search__button {
  margin: 0;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-accent);
  color: #ffffff;
  border: 0;
  border-radius: 0 2px 2px 0;
  cursor: pointer;
}

.wp-block-search__button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.ssl-topnav-search .wp-block-search__button {
  color: #304c60;
  background: transparent;
}

.ssl-topnav-search .wp-block-search__button:hover {
  color: var(--c-accent-dk);
}

/* ==========================================================================
   5. STARTSEITEN-BÜHNE (.ssl-intro) & ARCHIV-/SUCH-KOPF (.ssl-page-header)
   ========================================================================== */
.ssl-intro {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 36px clamp(24px, 4vw, 48px) 38px;
  overflow: hidden;
  isolation: isolate;
  background-color: #163040;
  background-image:
    linear-gradient(90deg, rgba(22, 48, 64, 0.97) 0%, rgba(28, 60, 78, 0.88) 58%, rgba(28, 60, 78, 0.56) 100%),
    url("assets/images/ssl-bg-blur-small.jpg");
  background-position: center 45%;
  background-size: cover;
  background-repeat: no-repeat;
  border: 0;
  border-bottom: 1px solid #dce4e5;
}

.ssl-intro::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin-top: 22px;
  background: var(--c-gold);
  border-radius: 2px;
}

.ssl-intro-kicker {
  margin: 0 0 12px;
  color: #e3c66f;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.ssl-intro h1,
.ssl-intro .ssl-intro-title {
  margin: 0;
  color: #ffffff;
  font-family: var(--ff-sans);
  font-size: clamp(32px, 3.6vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.ssl-intro-copy {
  margin: 14px 0 0;
  max-width: 680px;
  color: #e0eaed;
  font-size: 16px;
  line-height: 1.65;
}

.ssl-page-header {
  position: relative;
  isolation: isolate;
  width: 100%;
  margin: 0;
  padding: 34px var(--page-gutter) 36px;
  background-color: #162e3d;
  background-image:
    linear-gradient(105deg, rgba(22, 46, 61, 0.96) 0%, rgba(30, 61, 79, 0.9) 65%, rgba(28, 56, 73, 0.78) 100%),
    url("assets/images/ssl-bg-blur-small.jpg");
  background-position: center 42%;
  background-size: cover;
  background-repeat: no-repeat;
  border: 0;
  border-bottom: 3px solid var(--c-gold);
  color: #dbe6ea;
}

.ssl-page-header .ssl-eyebrow {
  color: #dfc888;
  margin-bottom: 8px;
}

.ssl-page-header h1 {
  margin: 0;
  color: #ffffff;
  font-family: var(--ff-sans);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.ssl-page-header .wp-block-term-description,
.ssl-page-header p:not(.ssl-eyebrow) {
  max-width: 65ch;
  margin: 12px 0 0;
  color: #d6e3e8;
  font-size: 15px;
  line-height: 1.65;
}

/* ==========================================================================
   6. HAUPTRASTER, BEITRAGS-FEED, KARTEN & LEITARTIKEL
   ========================================================================== */
.ssl-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 248px;
  align-items: start;
  gap: 38px;
  padding: 38px var(--page-gutter);
  margin: 0;
  background: #ffffff;
  border-radius: 0 0 4px 4px;
}

.ssl-grid > *,
.ssl-col-main {
  min-width: 0;
  margin: 0;
}

.ssl-feed-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 28px;
  padding: 0;
  border: 0;
  color: var(--c-ink);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 750;
}

.ssl-feed-title::before {
  content: "";
  display: block;
  width: 5px;
  height: 18px;
  background: var(--c-gold);
  border-radius: 1px;
}

.ssl-feed-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #dce4e5;
  display: block;
}

.ssl-feed-posts {
  margin: 0;
}

.ssl-feed-posts > .wp-block-post-template {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.ssl-feed-posts .wp-block-post-template > li {
  min-width: 0;
  margin: 0;
}

.ssl-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 0;
  margin: 0;
  padding: 0;
  background: #ffffff;
  border: 1px solid #d5e0e4;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(20, 42, 56, 0.04);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.ssl-card:hover {
  border-color: #b7c8ce;
  box-shadow: 0 6px 20px rgba(20, 42, 56, 0.08);
}

.ssl-card-img {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  margin: 0;
  background: #eef2f4;
  border-radius: 0;
  border-bottom: 1px solid #e2ebee;
  overflow: hidden;
}

.ssl-card-img a {
  display: block;
  width: 100%;
  height: 100%;
}

.ssl-card-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ssl-card-img a:hover img {
  transform: scale(1.025);
}

/* Platzhalter-Cover für Beiträge ohne Beitragsbild im 2-Spalten-Raster */
.ssl-card-img--placeholder,
.ssl-feed-posts > .wp-block-post-template > li .ssl-card:not(:has(.ssl-card-img))::before {
  aspect-ratio: 16 / 9;
  width: 100%;
  margin: 0;
  background:
    radial-gradient(circle at 50% 45%, rgba(212, 172, 75, 0.14) 0%, rgba(20, 42, 56, 0) 68%),
    linear-gradient(135deg, rgba(22, 46, 61, 0.95) 0%, rgba(32, 62, 82, 0.88) 100%),
    url("assets/images/ssl-bg-blur-small.jpg") center / cover no-repeat;
  border-bottom: 2px solid var(--c-gold);
  overflow: hidden;
}

.ssl-feed-posts > .wp-block-post-template > li .ssl-card:not(:has(.ssl-card-img))::before {
  content: "";
  display: block;
  background:
    url("assets/images/SSL-LOGO-26.png") center / 78px 50px no-repeat,
    radial-gradient(circle at 50% 45%, rgba(212, 172, 75, 0.14) 0%, rgba(20, 42, 56, 0) 68%),
    linear-gradient(135deg, rgba(22, 46, 61, 0.95) 0%, rgba(32, 62, 82, 0.88) 100%),
    url("assets/images/ssl-bg-blur-small.jpg") center / cover no-repeat;
}

.ssl-card-placeholder-art {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.ssl-card-placeholder-crest {
  display: block;
  width: 78px;
  height: 50px;
  background: url("assets/images/SSL-LOGO-26.png") center / contain no-repeat;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.4));
  opacity: 0.9;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.ssl-card-img--placeholder a:hover .ssl-card-placeholder-crest {
  transform: scale(1.05);
  opacity: 1;
}

.ssl-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  margin: 0;
  padding: 20px 22px 18px;
  min-width: 0;
}

.ssl-card-body > * {
  margin: 0;
}

.ssl-story-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px 8px;
}

.is-style-ssl-badge {
  color: #416b7d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.035em;
}

.is-style-ssl-badge a {
  display: inline-block;
  color: #365f73;
  padding: 2px 0;
}

.ssl-story-type {
  color: #214a60;
  font-weight: 750;
}

.ssl-meta-separator {
  color: #96a7ae;
}

.ssl-expired-label {
  color: var(--c-muted);
  font-size: 12px;
  font-weight: 500;
}

.is-style-ssl-badge .ssl-part-label {
  color: var(--c-teal);
  border-bottom: 1px solid #a9c0c4;
}

.ssl-card .wp-block-post-title {
  font-family: var(--ff-sans);
  font-size: 22px;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.ssl-card .wp-block-post-title a {
  color: #173343;
}

.ssl-card .wp-block-post-title a:hover {
  color: #2b5d79;
  text-decoration: none;
}

.ssl-card .wp-block-post-excerpt {
  color: #546872;
  font-size: 14px;
  line-height: 1.65;
}

.ssl-card .wp-block-post-excerpt p {
  margin: 0;
}

.ssl-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  margin-top: auto;
  padding-top: 13px;
  border-top: 1px solid #e6eef0;
  color: var(--c-muted);
  font-size: 12px;
}

.ssl-card-meta .wp-block-read-more {
  color: #1f4e68;
  font-size: 12px;
  font-weight: 700;
}

/* --- LEITARTIKEL (FEATURED POST: MIT & OHNE BILD HARMONISIERT) --- */
.ssl-feed-featured > .wp-block-post-template > li:first-child {
  grid-column: 1 / -1;
}

.ssl-feed-featured > .wp-block-post-template > li:first-child .ssl-card {
  background: linear-gradient(135deg, #f7fafb 0%, #eef5f7 100%);
  border: 1px solid #d4dfe3;
  border-radius: 5px;
  box-shadow: 0 4px 18px rgba(23, 54, 66, 0.05);
  margin-bottom: 10px;
}

.ssl-feed-featured > .wp-block-post-template > li:first-child .ssl-card:hover {
  transform: none;
}

/* Leitartikel: Kein künstlicher Platzhalter-Kasten, damit Text-Leitartikel volle Breite nutzen */
.ssl-feed-featured > .wp-block-post-template > li:first-child .ssl-card .ssl-card-img--placeholder,
.ssl-feed-featured > .wp-block-post-template > li:first-child .ssl-card::before {
  display: none;
  content: none;
}

/* Leitartikel MIT Bild */
.ssl-feed-featured > .wp-block-post-template > li:first-child .ssl-card:has(.ssl-card-img img) {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 26px 28px 28px;
  border-top: 4px solid var(--c-gold);
}

.ssl-feed-featured > .wp-block-post-template > li:first-child .ssl-card:has(.ssl-card-img img) .ssl-card-img {
  margin: 0;
  aspect-ratio: 16 / 10;
  background: #e6eef1;
  border: 1px solid #d5e0e4;
  border-radius: 3px;
}

.ssl-feed-featured > .wp-block-post-template > li:first-child .ssl-card:has(.ssl-card-img img) .ssl-card-img img {
  object-fit: cover;
  max-height: 350px;
}

.ssl-feed-featured > .wp-block-post-template > li:first-child .ssl-card:has(.ssl-card-img img) .ssl-card-body {
  padding: 0;
  gap: 13px;
  height: 100%;
}

.ssl-feed-featured > .wp-block-post-template > li:first-child .ssl-card:has(.ssl-card-img img) .wp-block-post-title {
  font-size: clamp(25px, 2.5vw, 32px);
  font-weight: 800;
  line-height: 1.18;
}

/* Leitartikel OHNE Bild (Fallback) */
.ssl-feed-featured > .wp-block-post-template > li:first-child .ssl-card:not(:has(.ssl-card-img img)) {
  padding: 30px 34px 32px;
  border-left: 5px solid var(--c-gold);
}

.ssl-feed-featured > .wp-block-post-template > li:first-child .ssl-card:not(:has(.ssl-card-img img)) .ssl-card-body {
  padding: 0;
}

.ssl-feed-featured > .wp-block-post-template > li:first-child .ssl-card:not(:has(.ssl-card-img img)) .wp-block-post-title {
  font-size: clamp(28px, 2.9vw, 36px);
  font-weight: 800;
  line-height: 1.18;
  color: #122c3a;
  margin: 6px 0 12px;
}

.ssl-feed-featured > .wp-block-post-template > li:first-child .ssl-card .wp-block-post-excerpt {
  font-size: 15px;
  line-height: 1.65;
  color: #435b67;
  max-width: 68ch;
}

.ssl-feed-featured > .wp-block-post-template > li:first-child .ssl-card .wp-block-post-excerpt p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

.ssl-feed-featured > .wp-block-post-template > li:first-child .ssl-card .ssl-card-meta {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #d9e4e7;
}

.ssl-feed-featured > .wp-block-post-template > li:first-child .ssl-card .wp-block-read-more {
  background: #173648;
  color: #ffffff;
  padding: 9px 18px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 12.5px;
  transition: background 0.2s ease, transform 0.15s ease;
}

.ssl-feed-featured > .wp-block-post-template > li:first-child .ssl-card .wp-block-read-more:hover {
  background: #234c62;
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-1px);
}

/* Empty State & Pagination */
.ssl-empty-state {
  padding: 28px;
  background: #f3f7f8;
  border: 1px solid #d6e1e4;
  border-left: 4px solid var(--c-gold);
  border-radius: 4px;
}

.ssl-empty-state h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.ssl-empty-state p {
  margin: 0;
  color: var(--c-muted);
}

.wp-block-query-pagination,
.wp-block-comments-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 28px 0 0;
  font-size: 13px;
}

.wp-block-query-pagination:empty {
  display: none;
}

.wp-block-query-pagination a,
.wp-block-query-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 11px;
  min-width: 34px;
  min-height: 34px;
  border-radius: 3px;
  font-weight: 600;
}

.wp-block-query-pagination a:hover {
  background: var(--menu-hover);
  text-decoration: none;
}

.wp-block-query-pagination .current {
  background: #203b4e;
  color: #ffffff;
}

/* ==========================================================================
   7. SEITENLEISTE (SIDEBAR) & BUTTONS
   ========================================================================== */
.ssl-sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 0;
}

.ssl-sb-section {
  margin: 0;
}

.ssl-sb-title {
  margin: 0 0 12px;
  padding: 0 0 11px;
  color: #294756;
  background: transparent;
  border: 0;
  border-bottom: 2px solid #c8d4d8;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.ssl-sidebar ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ssl-sidebar-nav,
.ssl-footer-nav {
  display: block;
  width: 100%;
  min-width: 0;
  font-size: 13px;
}

.ssl-sidebar-nav :is(.wp-block-navigation__responsive-container, .wp-block-navigation__responsive-container-content, .wp-block-navigation__container),
.ssl-footer-nav :is(.wp-block-navigation__responsive-container, .wp-block-navigation__responsive-container-content, .wp-block-navigation__container) {
  width: 100%;
  min-width: 0;
}

.ssl-sidebar-nav .wp-block-navigation__container,
.ssl-footer-nav .wp-block-navigation__container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.ssl-sidebar .ssl-sidebar-nav .wp-block-navigation-item,
.ssl-sidebar .wp-block-categories-list li {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--menu-rule);
  background: transparent;
  color: #64727b;
  font-size: 13px;
  line-height: 1.5;
}

.ssl-sidebar .ssl-sidebar-nav .wp-block-navigation-item__content,
.ssl-sidebar .wp-block-categories-list li > a {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-left: 3px solid transparent;
  color: var(--menu-ink);
  background: transparent;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.ssl-sidebar .wp-block-categories-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  padding-right: 0;
}

.ssl-sidebar .wp-block-categories-list li > a {
  width: auto;
  flex: 1;
  padding: 11px 8px 11px 14px;
}

.ssl-sidebar .wp-block-categories-list li > .ssl-category-count {
  display: inline-flex;
  align-items: center;
  padding: 11px 12px 11px 4px;
  color: #64727b;
  font-size: 12px;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
}

.ssl-sidebar .wp-block-categories-list li > ul {
  flex-basis: 100%;
  margin: 0 0 8px 14px;
  padding: 0 0 0 10px;
  border: 0;
  border-left: 2px solid #c5d4d8;
}

.ssl-sidebar .wp-block-categories-list li > ul > li:last-child {
  border-bottom: 0;
}

/* Einzel-Hover pro Menüpunkt – Ober- und Unterkategorien bleiben strikt getrennt */
.ssl-sidebar .ssl-sidebar-nav .wp-block-navigation-item__content:is(:hover, :focus-visible),
.ssl-sidebar .wp-block-categories-list li:has(> a:is(:hover, :focus-visible), > .ssl-category-count:hover) > :is(a, .ssl-category-count) {
  color: #183c55;
  background: var(--menu-hover);
  text-decoration: none;
}

.ssl-sidebar .ssl-sidebar-nav .wp-block-navigation-item__content:is(:hover, :focus-visible),
.ssl-sidebar .wp-block-categories-list li:has(> a:is(:hover, :focus-visible), > .ssl-category-count:hover) > a {
  border-left-color: #7895a3;
}

/* Fallback für Browser ohne :has() */
.ssl-sidebar .wp-block-categories-list li > a:is(:hover, :focus-visible) {
  color: #183c55;
  background: var(--menu-hover);
  border-left-color: #7895a3;
  text-decoration: none;
}

.ssl-sidebar .ssl-sidebar-nav .current-menu-item > .wp-block-navigation-item__content,
.ssl-sidebar .ssl-sidebar-nav .wp-block-navigation-item__content[aria-current="page"],
.ssl-sidebar .wp-block-categories-list li.current-cat > :is(a, .ssl-category-count),
.ssl-sidebar .wp-block-categories-list li:has(> a[aria-current="page"]) > :is(a, .ssl-category-count) {
  color: #183c55;
  background: var(--menu-active);
  font-weight: 700;
}

.ssl-sidebar .ssl-sidebar-nav .current-menu-item > .wp-block-navigation-item__content,
.ssl-sidebar .ssl-sidebar-nav .wp-block-navigation-item__content[aria-current="page"],
.ssl-sidebar .wp-block-categories-list li.current-cat > a,
.ssl-sidebar .wp-block-categories-list li > a[aria-current="page"] {
  color: #183c55;
  background: var(--menu-active);
  border-left-color: #b79138;
  font-weight: 700;
}

.ssl-sidebar .wp-block-categories-list li.current-cat-parent > a {
  color: #183c55;
  font-weight: 700;
}

.ssl-sidebar-nav .wp-block-navigation__submenu-container,
.ssl-footer-nav .wp-block-navigation__submenu-container {
  position: static;
  visibility: visible;
  opacity: 1;
  width: auto;
  height: auto;
  overflow: visible;
  background: transparent;
  color: inherit;
  border: 0;
  border-left: 1px solid #9cb0ba;
  padding-left: 12px;
  margin: 0 0 8px 8px;
}

.ssl-sidebar-nav .wp-block-navigation-submenu__toggle,
.ssl-footer-nav .wp-block-navigation-submenu__toggle {
  display: none;
}

/* Sidebar Promo Box */
.ssl-sb-promo {
  padding: 26px 22px;
  background: linear-gradient(145deg, #183748 0%, #102835 100%);
  border: 1px solid #23475c;
  border-top: 4px solid var(--c-gold);
  border-radius: 4px;
  box-shadow: 0 4px 18px rgba(16, 40, 53, 0.12);
  color: #ffffff;
}

.ssl-sb-promo .ssl-eyebrow {
  color: #dfc888;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
}

.ssl-sb-promo h2 {
  color: #ffffff;
  font-size: 22px;
  font-weight: 750;
  line-height: 1.25;
  margin: 0 0 10px;
}

.ssl-sb-promo p:not(.ssl-eyebrow) {
  color: #d1dde4;
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0 0 18px;
}

.ssl-sb-promo .wp-block-buttons {
  margin: 0;
}

/* Buttons */
.wp-block-button {
  padding: 0;
  background: transparent;
}

.wp-block-button__link,
.wp-element-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: #315b72;
  color: #ffffff;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.wp-block-button__link:hover,
.wp-element-button:hover {
  background: #203f54;
  color: #ffffff;
  text-decoration: none;
}

.is-style-ssl-outline .wp-block-button__link {
  border-color: var(--c-accent);
  color: var(--c-accent);
  background: transparent;
}

.is-style-ssl-outline .wp-block-button__link:hover {
  background: var(--menu-hover);
  color: var(--c-accent-dk);
}

.ssl-sb-promo .wp-block-button__link {
  background: var(--c-gold);
  color: #142a38;
  font-weight: 750;
  border-radius: 3px;
}

.ssl-sb-promo .wp-block-button__link:hover {
  background: #ecd174;
  color: #0e202b;
  transform: translateY(-1px);
}

/* ==========================================================================
   8. LESESPALTE, EINZELBEITRAG, SEITEN & ARTIKELNAVIGATION
   ========================================================================== */
.ssl-grid.ssl-grid--reading {
  grid-template-columns: minmax(0, 1fr) 274px;
  justify-content: stretch;
  column-gap: 36px;
  padding-top: 36px;
  background: #ffffff;
}

.ssl-reading-column {
  --article-inset: 26px;
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
}

.ssl-reading-column--wide {
  max-width: 860px;
  margin: 0 auto;
  padding: 34px var(--page-gutter) 42px;
}

.ssl-back-link {
  margin: 0 0 24px;
  font-size: 12.5px;
  font-weight: 600;
}

.ssl-back-link a {
  color: #3a6477;
}

.ssl-article {
  margin: 0;
  padding: 0;
}

.ssl-article > .ssl-article-hero {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 5px 5px 0 0;
  background: #edf2f4;
}

.ssl-article > .ssl-article-hero:not(:has(img)) {
  display: none;
}

.ssl-article > .ssl-article-hero img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  border-radius: 0;
  background: #edf2f4;
}

.ssl-reading-column .ssl-article-header {
  background: #f1f5f6;
  padding: 26px var(--article-inset);
  margin: 0 0 28px;
  border: 0;
  border-radius: 5px;
}

.ssl-article:has(> .ssl-article-hero img) > .ssl-article-header {
  border-radius: 0 0 5px 5px;
}

.ssl-reading-column .ssl-article-meta {
  display: block;
  margin: 0 0 13px;
}

.ssl-reading-column .ssl-article-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 12px;
  line-height: 1.5;
  color: #526b79;
}

.ssl-article-categories .wp-block-post-terms__prefix,
.ssl-article-categories .wp-block-post-terms__separator {
  display: none;
}

.ssl-reading-column .ssl-article-categories a {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  color: #254e66;
  background: #dce8ef;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 700;
  text-decoration: none;
}

.ssl-reading-column .ssl-article-categories a:is(:hover, :focus-visible) {
  background: #cbdce6;
  color: #163c54;
}

.ssl-reading-column .ssl-article-title {
  margin: 0 0 16px;
  font-family: var(--ff-sans);
  font-size: clamp(27px, 2.7vw, 34px);
  font-weight: 750;
  line-height: 1.22;
  letter-spacing: -0.025em;
  color: #153140;
  text-wrap: pretty;
}

.ssl-article--page .ssl-article-header .ssl-article-title:last-child {
  margin-bottom: 0;
}

.ssl-article-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  color: #526875;
  font: 500 13px/1.5 var(--ff-sans);
}

.ssl-article-details > * {
  margin: 0 !important;
}

.ssl-byline,
.ssl-byline .wp-block-post-author,
.ssl-byline .wp-block-post-author__content {
  display: inline-flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 4px !important;
  width: auto !important;
  margin: 0 !important;
  font: inherit !important;
  color: inherit !important;
}

.ssl-byline .wp-block-post-author__byline,
.ssl-byline .wp-block-post-author__name,
.ssl-article-details .wp-block-post-date,
.ssl-article-details .wp-block-post-date time {
  display: inline !important;
  width: auto !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
  font: 500 13px/1.5 var(--ff-sans) !important;
  color: inherit !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.ssl-article-details .wp-block-post-date::before {
  content: "·";
  margin-right: 10px;
  opacity: 0.65;
}

/* Beiträge ohne Beitragsbild: Dunkler SSL-Aufmacher mit Wasserzeichen-Wappen */
.ssl-article:not(.ssl-article--page):not(:has(> .ssl-article-hero img)) > .ssl-article-header {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: 38px;
  background:
    linear-gradient(90deg, rgba(32, 59, 78, 0.96), rgba(32, 59, 78, 0.86)),
    url("assets/images/ssl-bg-blur-small.jpg") center / cover;
}

.ssl-article:not(.ssl-article--page):not(:has(> .ssl-article-hero img)) > .ssl-article-header::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 18px 0 auto;
  width: 180px;
  background: url("assets/images/SSL-LOGO-26.png") center / contain no-repeat;
  opacity: 0.12;
}

.ssl-article:not(.ssl-article--page):not(:has(> .ssl-article-hero img)) .ssl-article-title {
  color: #ffffff;
}

.ssl-article:not(.ssl-article--page):not(:has(> .ssl-article-hero img)) .ssl-article-details,
.ssl-article:not(.ssl-article--page):not(:has(> .ssl-article-hero img)) .ssl-byline {
  color: #d6e2e8;
}

.ssl-article:not(.ssl-article--page):not(:has(> .ssl-article-hero img)) .ssl-article-categories a {
  background: #e6d193;
  color: #203b4e;
}

.ssl-article:not(.ssl-article--page):not(:has(> .ssl-article-hero img)) .ssl-article-categories a:is(:hover, :focus-visible) {
  background: #f3e1ab;
}

/* Statische Seiten & 404 ohne Beitragsbild: Sachlicher redaktioneller Seitenkopf */
.ssl-article.ssl-article--page:not(:has(> .ssl-article-hero img)) > .ssl-article-header {
  padding-block: 28px;
  background: linear-gradient(135deg, #f5f9fa 0%, #ecf3f5 100%);
  border: 1px solid #d6e1e4;
  border-left: 4px solid var(--c-gold);
}

/* Lesetext (Prose) */
.ssl-reading-column .ssl-prose {
  width: 100%;
  max-width: 100%;
  padding-inline: var(--article-inset);
  color: #364b57;
  font-family: var(--ff-sans);
  font-size: 17px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.ssl-reading-column .ssl-prose .wp-block-post-content {
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
}

.ssl-reading-column .wp-block-post-content > *,
.ssl-reading-column .ssl-prose .wp-block-post-content > :is(.alignwide, .alignfull) {
  width: 100%;
  max-width: 100%;
}

.ssl-reading-column .wp-block-post-content > :not(.alignleft):not(.alignright) {
  margin-inline: 0;
}

.ssl-prose .wp-block-post-content > :first-child {
  margin-top: 0;
}

.ssl-prose p,
.ssl-prose ul,
.ssl-prose ol {
  margin-top: 0;
  margin-bottom: 1.25em;
}

.ssl-prose h2 {
  margin: 1.7em 0 0.65em;
  color: #1d3946;
  font-size: 24px;
  font-weight: 700;
}

.ssl-prose h3 {
  margin: 1.5em 0 0.65em;
  color: #213f4c;
  font-size: 20px;
}

.ssl-prose a {
  text-decoration: underline;
}

.ssl-prose :is(.wp-block-button__link, .wp-element-button) {
  text-decoration: none;
}

.ssl-prose blockquote,
.is-style-ssl-callout {
  margin: 25px 0;
  padding: 20px 24px;
  border: 1px solid #d6e1e4;
  border-left: 4px solid var(--c-gold);
  border-radius: 3px;
  background: #f4f8f9;
}

.ssl-prose blockquote p:last-child,
.is-style-ssl-callout p:last-child {
  margin-bottom: 0;
}

.ssl-prose pre {
  overflow: auto;
  padding: 18px;
  background: var(--c-bg-soft);
  border-radius: 3px;
  font-size: 13px;
}

.ssl-prose .wp-block-table {
  overflow-x: auto;
}

.ssl-prose table {
  border-collapse: collapse;
  width: 100%;
}

.ssl-prose th,
.ssl-prose td {
  padding: 10px 12px;
  border: 1px solid var(--c-border);
  text-align: left;
}

.ssl-prose th {
  background: #f1f5f6;
  color: var(--c-ink);
}

.ssl-prose figcaption {
  margin-top: 7px;
  color: var(--c-muted);
  font-size: 12px;
  line-height: 1.5;
}

/* Schlagwörter, Serien-Navigation & Vorheriger/Nächster Beitrag */
.ssl-article-tags {
  margin-top: 24px;
  padding-inline: var(--article-inset);
  font-size: 12px;
}

.ssl-article-tags:empty {
  display: none;
}

.ssl-article-tags a {
  display: inline-block;
  padding: 4px 10px;
  margin: 0 4px 4px 0;
  background: #e6ece9;
  color: #385c6b;
  border-radius: 3px;
  font-weight: 600;
}

.ssl-article-tags a:hover {
  background: #d6e2df;
  text-decoration: none;
}

.ssl-series-nav {
  margin: 28px 0;
  padding: 22px 24px;
  background: #edf3f1;
  border: 1px solid #cedbd7;
  border-left: 4px solid var(--c-teal);
  border-radius: 4px;
}

.ssl-series-nav h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.ssl-series-progress {
  margin: 0 0 12px;
  font-size: 12px;
  color: var(--c-muted);
}

.ssl-series-nav ol {
  margin: 0;
  padding-left: 21px;
  font-size: 13.5px;
}

.ssl-series-nav li {
  padding: 6px 0 6px 4px;
}

.ssl-series-nav .is-current a {
  color: var(--c-ink);
  font-weight: 700;
}

.ssl-series-directions {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid #cedbd7;
  font-size: 12.5px;
  font-weight: 650;
}

.ssl-post-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
  padding-top: 26px;
  margin-top: 30px;
  border-top: 1px solid var(--c-border);
  font-size: 13px;
}

.ssl-post-nav:not(:has(a)) {
  display: none;
}

.ssl-post-nav > *,
.ssl-post-nav .wp-block-post-navigation-link {
  display: flex;
  margin: 0 !important;
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
  padding: 0;
  background: transparent;
  border: 0;
  min-width: 0;
}

.ssl-post-nav .post-navigation-link-next {
  grid-column: 2;
  justify-content: flex-end;
  text-align: right;
}

.ssl-post-nav .wp-block-post-navigation-link:empty {
  display: none;
}

.ssl-post-nav a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  height: 100%;
  min-height: 52px;
  padding: 13px 20px;
  background: linear-gradient(180deg, #f7fafb 0%, #edf3f5 100%);
  border: 1px solid #c9d8de;
  border-left: 3px solid var(--c-gold);
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(20, 48, 62, 0.05);
  color: #173748;
  font: 700 13.5px/1.35 var(--ff-sans);
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.15s ease;
}

.ssl-post-nav .post-navigation-link-next a {
  justify-content: flex-end;
  border-left: 1px solid #c9d8de;
  border-right: 3px solid var(--c-gold);
}

.ssl-post-nav a:is(:hover, :focus-visible) {
  background: #183748;
  border-color: #183748;
  border-left-color: var(--c-gold);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(20, 48, 62, 0.14);
  text-decoration: none;
  transform: translateY(-1px);
}

.ssl-post-nav .post-navigation-link-next a:is(:hover, :focus-visible) {
  border-left-color: #183748;
  border-right-color: var(--c-gold);
}

.ssl-post-nav .post-navigation-link__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font: inherit;
  letter-spacing: 0.01em;
  text-transform: none;
  color: inherit;
}

.ssl-post-nav .post-navigation-link__title {
  display: none;
}

/* ==========================================================================
   9. KOMMENTARE & DISKUSSION (.ssl-comments)
   ========================================================================== */
.ssl-comments {
  width: 100%;
  margin: 34px 0 0;
  padding: 26px;
  background: #f4f7f7;
  border: 1px solid #d8e2e4;
  border-radius: 5px;
}

.ssl-comments-intro {
  padding-bottom: 20px;
  margin: 0 0 22px;
  border-bottom: 1px solid #d2dde0;
}

.ssl-comments-intro .ssl-eyebrow {
  margin: 0 0 7px;
}

.ssl-comments-intro h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 8px;
}

.ssl-comments-intro p:last-child {
  margin: 0;
  font-size: 13.5px;
  color: var(--c-muted);
}

.ssl-comments .wp-block-comments-title {
  margin: 0 0 20px;
  font-size: 17px;
  font-weight: 700;
}

.ssl-comments .wp-block-comment-template {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.ssl-comments .wp-block-comment-template > li {
  margin: 0 0 20px;
  padding: 0 0 20px;
  border-bottom: 1px solid #d6e0e2;
}

.ssl-comments .children {
  list-style: none;
  margin: 20px 0 0;
  padding-left: 20px;
  border-left: 2px solid #bfd0d5;
}

.ssl-comment-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  margin: 0;
}

.ssl-comment-row .wp-block-avatar img {
  border-radius: 50%;
}

.ssl-comment-body {
  min-width: 0;
}

.ssl-comment-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  margin: 0 0 9px;
}

.ssl-comment-meta .wp-block-comment-author-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-ink);
}

.ssl-comment-meta .wp-block-comment-date {
  font-size: 12px;
  color: var(--c-muted);
}

.ssl-comment-meta a {
  color: inherit;
}

.ssl-comments .wp-block-comment-content {
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.ssl-comment-actions {
  display: flex;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
}

/* Block-Layout "flow" setzt sonst margin-top zwischen Geschwistern (blockGap) und
   schiebt "Bearbeiten"/Datum in der Flex-Zeile nach unten. */
.ssl-comment-actions > *,
.ssl-comment-meta > * {
  margin: 0;
}

.ssl-comments .comment-respond {
  padding: 22px;
  background: #ffffff;
  border: 1px solid #d6e0e3;
  border-radius: 4px;
}

.ssl-comments .comment-reply-title {
  margin: 0 0 14px;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 700;
}

.ssl-comments .comment-reply-title small {
  font-size: 12px;
}

.ssl-comments .comment-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin: 0;
}

.ssl-comments .comment-form > p {
  margin: 0;
  min-width: 0;
}

.ssl-comments :is(.comment-notes, .logged-in-as, .comment-form-comment, .comment-form-url, .comment-form-cookies-consent, .form-submit, .must-log-in) {
  grid-column: 1 / -1;
}

.ssl-comments .logged-in-as,
.ssl-comments .comment-notes,
.ssl-comments .must-log-in {
  margin-bottom: 2px;
  color: var(--c-muted);
  font-size: 12px;
  line-height: 1.7;
}

.ssl-comments .comment-form label {
  display: block;
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--c-ink);
}

.ssl-comments :is(textarea, input:not([type="checkbox"]):not([type="submit"])),
.post-password-form input[type="password"] {
  width: 100%;
  padding: 10px 12px;
  background: #ffffff;
  border: 1px solid #b8c8ce;
  color: var(--c-ink);
  border-radius: 3px;
  font: 14px/1.6 var(--ff-sans);
}

.ssl-comments textarea {
  height: 150px;
  min-height: 140px;
  max-height: 500px;
  resize: vertical;
}

.ssl-comments .comment-form-cookies-consent label {
  display: inline;
  font-weight: 400;
  font-size: 12px;
}

.ssl-comments .comment-form-cookies-consent input {
  margin: 0 7px 0 0;
  vertical-align: middle;
}

.ssl-comments input[type="submit"] {
  padding: 10px 18px;
  border: 0;
  border-radius: 3px;
  background: #315b72;
  color: #ffffff;
  font: 650 12.5px/1.5 var(--ff-sans);
  cursor: pointer;
  transition: background 0.2s ease;
}

.ssl-comments input[type="submit"]:hover {
  background: #203f54;
}

/* Cloudflare Turnstile / Antispam-Widget im Kommentarformular
   Das Widget (div/iframe) landet direkt vor dem Absenden-Button. Damit der
   Button nicht mehr aus der Karte rutscht oder aufgeblasen wird, bekommen
   Widget und Button-Zeile eine feste, saubere Struktur. */
.ssl-comments .comment-form :is(.cf-turnstile, .cf-turnstile-wrapper, [class*="turnstile"], .wp-block-cloudflare-turnstile) {
  grid-column: 1 / -1;
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  min-height: 0;
  margin: 0;
}

.ssl-comments .comment-form .cf-turnstile iframe,
.ssl-comments .comment-form [class*="turnstile"] iframe {
  max-width: 100%;
}

.ssl-comments .comment-form .form-submit {
  display: block;
  grid-column: 1 / -1;
  align-self: start;
  height: auto;
  min-height: 0;
  margin: 4px 0 0;
  padding: 0;
  background: transparent;
  clear: both;
}

.ssl-comments .comment-form .form-submit :is(input[type="submit"], button, .wp-block-button__link, .wp-element-button) {
  display: inline-block;
  width: auto;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 10px 18px;
  line-height: 1.5;
  white-space: normal;
}

/* ==========================================================================
   10. ARCHIV-HUB & BLOCK-PATTERNS
   ========================================================================== */
.ssl-archive-hub {
  margin-top: 38px;
  padding: 28px 28px 30px;
  background: linear-gradient(180deg, #f5f9fa 0%, #edf4f6 100%);
  border: 1px solid #d2dfe3;
  border-top: 3px solid var(--c-gold);
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(20, 48, 62, 0.04);
}

.ssl-archive-heading {
  padding-bottom: 18px;
  border-bottom: 1px solid #d6e2e6;
}

.ssl-archive-heading .ssl-eyebrow {
  color: #8c6d1f;
  margin-bottom: 6px;
}

.ssl-archive-heading h2 {
  margin: 0 0 8px;
  font-family: var(--ff-sans);
  font-size: 23px;
  font-weight: 750;
  line-height: 1.28;
  color: #163343;
}

.ssl-archive-heading > p:last-child {
  margin: 0;
  font-size: 13.5px;
  color: var(--c-muted);
}

.ssl-archive-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 20px;
}

.ssl-archive-columns h3 {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #294756;
}

.ssl-topic-links,
.ssl-year-links {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12.5px;
}

/* Skaliert harmonisch für 5 bis 15+ Kategorien im mehrspaltigen Kachel-Raster */
.ssl-topic-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 10px;
}

.ssl-topic-links li {
  margin: 0;
  padding: 0;
  border: 0;
}

.ssl-topic-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  height: 100%;
  padding: 9px 12px;
  background: #ffffff;
  border: 1px solid #d4e0e4;
  border-left: 3px solid #6c8c9b;
  border-radius: 4px;
  color: #1d3d4e;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.ssl-topic-links a:hover {
  background: #ffffff;
  border-color: #9ab3bf;
  border-left-color: var(--c-gold);
  color: #122a38;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(20, 48, 62, 0.07);
  transform: translateY(-1px);
}

.ssl-topic-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ssl-topic-count {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  padding: 1px 7px;
  background: #eaf1f3;
  border-radius: 999px;
  color: #496573;
  font-size: 12px;
  font-weight: 700;
}

.ssl-topic-links a:hover .ssl-topic-count {
  background: #183748;
  color: #ffffff;
}

.ssl-archive-columns > div + div {
  padding-top: 18px;
  border-top: 1px solid #d6e2e6;
}

.ssl-year-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ssl-year-links a {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  background: #1f4156;
  border: 1px solid #1f4156;
  color: #ffffff;
  border-radius: 4px;
  font-weight: 650;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.ssl-year-links a:hover {
  background: #142c3b;
  border-color: var(--c-gold);
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-1px);
}

/* Block-Patterns (Dossier-Grid & Verzeichnis) */
.ssl-section-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  border-bottom: 2px solid #c8d4d8;
  padding: 0 0 12px;
  margin-bottom: 24px;
}

.ssl-section-sub {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--c-muted);
}

.ssl-article-card,
.ssl-sidebar-widget {
  padding: 22px;
  background: #f5f8f9;
  border: 1px solid #d6e1e4;
  border-top: 3px solid var(--c-gold);
  border-radius: 4px;
}

.ssl-card-meta-footer {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #dce5e7;
  font-size: 12px;
  color: var(--c-muted);
}

.ssl-widget-header h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.ssl-nav-tree {
  list-style: none;
  padding-left: 0;
  margin: 0;
  font-size: 13.5px;
}

.ssl-nav-tree li {
  padding: 6px 0;
  border-bottom: 1px solid #e1eaec;
}

.ssl-nav-tree ul {
  list-style: none;
  padding-left: 16px;
  margin-top: 6px;
  border-left: 2px solid #c5d4d8;
}

/* ==========================================================================
   11. FOOTER (HARMONISCHES 3-SPALTEN-LAYOUT)
   ========================================================================== */
.ssl-site-footer {
  margin: 0;
  padding: 0;
  background: #142a38;
  color: #d1dde4;
  border-top: 3px solid var(--c-gold);
}

.ssl-ft-inner {
  width: min(calc(100% - 56px), var(--page-width));
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 44px 0 0;
}

.ssl-ft-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 52px;
  align-items: start;
  margin: 0;
}

.ssl-ft-grid > * {
  min-width: 0;
  margin: 0;
}

.ssl-site-footer .ssl-ft-brand {
  position: static;
  text-align: left;
  padding: 0 28px 0 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.ssl-ft-brand > p:first-child {
  margin: 0 0 14px;
}

.ssl-ft-brand .ssl-ft-crest {
  display: block;
  width: 68px;
  height: 43px;
  margin: 0;
  background: url("assets/images/SSL-LOGO-26.png") left center / contain no-repeat;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.ssl-ft-brand .ssl-ft-brand-title {
  margin: 0 0 6px;
  color: #ffffff;
  font-family: var(--ff-sans);
  font-size: 24px;
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.ssl-ft-brand .ssl-ft-office {
  margin: 0 0 3px;
  color: #dfc888;
  font-family: var(--ff-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.5;
}

.ssl-ft-brand .ssl-ft-address {
  margin: 0 0 8px;
  color: #9cb0bd;
  font-family: var(--ff-sans);
  font-size: 12px;
  line-height: 1.5;
}

.ssl-ft-brand .ssl-ft-motto {
  display: block;
  margin: 10px 0 0;
  color: #e5cb86;
  font-family: var(--ff-sans);
  font-size: 14px;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.ssl-ft-brand .ssl-ft-platforms {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.ssl-ft-brand .ssl-ft-platforms a {
  color: #e0edf1;
  text-decoration: none;
  transition: color 0.15s ease;
}

.ssl-ft-brand .ssl-ft-platforms a:hover {
  color: var(--c-gold);
}

.ssl-ft-brand .ssl-ft-platforms span {
  color: var(--c-gold);
}

.ssl-ft-heading {
  margin: 0 0 16px;
  padding: 0 0 10px;
  color: #dfc888;
  font-family: var(--ff-sans);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(223, 200, 136, 0.25);
  line-height: 1.4;
}

.ssl-ft-links,
.ssl-ft-links ul,
.ssl-footer-nav .wp-block-navigation__container {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ssl-ft-links li,
.ssl-footer-nav .wp-block-navigation-item {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.5;
}

.ssl-footer-nav .wp-block-navigation-item__content {
  display: block;
  padding: 0;
  font-size: 13px;
}

.ssl-site-footer a {
  color: #d1dde4;
  text-decoration: none;
  transition: color 0.15s ease;
}

.ssl-site-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.ssl-ft-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 22px 0 28px;
  margin: 36px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #8fa5b3;
  font-size: 12px;
}

.ssl-ft-bottom p {
  margin: 0;
}

.ssl-ft-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.ssl-ft-meta a {
  color: #9cb1bf;
}

.ssl-ft-meta a:hover {
  color: #ffffff;
}

/* ==========================================================================
   12. RESPONSIVE BREAKPOINTS & PRINT
   ========================================================================== */
@media (max-width: 1080px) {
  .ssl-grid {
    grid-template-columns: minmax(0, 1fr) 224px;
    gap: 30px;
  }
  .ssl-grid.ssl-grid--reading {
    grid-template-columns: minmax(0, 1fr) 240px;
    column-gap: 28px;
  }
  .ssl-feed-featured > .wp-block-post-template > li:first-child .ssl-card:has(.ssl-card-img img) {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .ssl-feed-featured > .wp-block-post-template > li:first-child .ssl-card:has(.ssl-card-img img) .ssl-card-img img {
    max-height: 300px;
  }
  .ssl-ft-grid {
    gap: 36px;
  }
}

@media (max-width: 860px) {
  .ssl-grid,
  .ssl-grid.ssl-grid--reading {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .ssl-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    padding-top: 26px;
    border-top: 1px solid var(--c-border);
  }
  .ssl-sb-promo {
    grid-column: 1 / -1;
  }
  .ssl-ft-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .ssl-site-footer .ssl-ft-brand {
    grid-column: 1 / -1;
    padding-right: 0;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(223, 200, 136, 0.2);
  }
}

@media (max-width: 720px) {
  .ssl-top-inner {
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px 0;
  }
  .ssl-utility-bar {
    width: 100%;
    justify-content: space-between;
    margin-top: 4px;
  }
}

@media (max-width: 600px) {
  body {
    background-image:
      linear-gradient(rgba(220, 230, 224, 0.4), rgba(222, 230, 225, 0.62)),
      url("assets/images/ssl-bg-blur-small.jpg");
    background-size: auto 100%, auto 1050px;
    background-position: center top;
    background-attachment: scroll;
  }
  main.wrap {
    width: calc(100% - 24px);
    margin: 14px auto 32px;
  }
  .ssl-top-inner {
    width: calc(100% - 32px);
    padding: 14px 0;
  }
  .ssl-top-header .site-description {
    gap: 14px;
    width: 100%;
  }
  .ssl-top-header .site_logo {
    width: 74px;
    height: 47px;
  }
  .ssl-brand-copy .ssl-site-name {
    font-size: 25px;
  }
  .ssl-brand-copy .ssl-brand-motto {
    font-size: 9px;
    letter-spacing: 0.08em;
  }
  .ssl-utility-links {
    font-size: 12px;
    gap: 14px;
  }
  .ssl-topnav {
    gap: 14px;
    padding: 12px 16px;
  }
  .ssl-topnav .ssl-main-nav .preview-overlay-menu.is-open {
    padding: 8px;
    gap: 2px;
  }
  .ssl-topnav .ssl-main-nav .preview-overlay-menu.is-open li {
    width: 100%;
  }
  .ssl-topnav-search.wp-block-search {
    width: min(220px, calc(100% - 54px));
  }
  .ssl-intro {
    padding: 28px 20px 30px;
  }
  .ssl-intro h1,
  .ssl-intro .ssl-intro-title {
    font-size: 28px;
  }
  .ssl-intro-copy {
    font-size: 15px;
  }
  .ssl-page-header {
    padding: 26px 20px 28px;
  }
  .ssl-page-header h1 {
    font-size: 26px;
  }
  .ssl-grid,
  .ssl-grid.ssl-grid--reading {
    padding: 24px 20px 28px;
  }
  .ssl-feed-posts > .wp-block-post-template {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .ssl-feed-featured > .wp-block-post-template > li:first-child .ssl-card:has(.ssl-card-img img),
  .ssl-feed-featured > .wp-block-post-template > li:first-child .ssl-card:not(:has(.ssl-card-img img)) {
    padding: 20px;
  }
  .ssl-feed-featured > .wp-block-post-template > li:first-child .ssl-card .wp-block-post-title {
    font-size: 24px;
  }
  .ssl-sidebar {
    grid-template-columns: 1fr;
  }
  .ssl-sb-promo {
    grid-column: auto;
  }
  .ssl-reading-column {
    --article-inset: 20px;
  }
  .ssl-reading-column .ssl-article-header {
    padding: 20px;
  }
  .ssl-reading-column .ssl-article-title {
    font-size: 25px;
  }
  .ssl-reading-column .ssl-prose {
    font-size: 16px;
  }
  .ssl-reading-column--wide {
    padding: 24px 20px 30px;
  }
  .ssl-article > .ssl-article-hero img {
    max-height: 300px;
  }
  .ssl-post-nav {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .ssl-post-nav .post-navigation-link-next {
    grid-column: 1;
  }
  .ssl-archive-hub {
    padding: 20px 18px 22px;
  }
  .ssl-topic-links {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
  .ssl-comments {
    margin-top: 28px;
    padding: 18px;
  }
  .ssl-comments-intro h2 {
    font-size: 22px;
  }
  .ssl-comments .comment-respond {
    padding: 16px;
  }
  .ssl-comments .comment-form {
    grid-template-columns: 1fr;
  }
  .ssl-comments .comment-form > p {
    grid-column: 1;
  }
  .ssl-comments input[type="submit"],
  .ssl-comments .comment-form .form-submit :is(input[type="submit"], button, .wp-block-button__link, .wp-element-button) {
    width: 100%;
  }
  .ssl-ft-inner {
    width: calc(100% - 36px);
    padding: 32px 0 0;
  }
  .ssl-ft-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .ssl-site-footer .ssl-ft-brand {
    padding-bottom: 20px;
  }
  .ssl-ft-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

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

@media print {
  .ssl-top-header,
  .ssl-topnav,
  .ssl-col-side,
  .ssl-site-footer,
  .ssl-comments,
  .ssl-skip-link,
  .ssl-back-link,
  .ssl-post-nav {
    display: none;
  }
  body,
  main.wrap {
    background: #ffffff;
  }
  main.wrap {
    width: 100%;
    margin: 0;
    border: 0;
    box-shadow: none;
  }
  .ssl-grid,
  .ssl-grid.ssl-grid--reading {
    display: block;
    padding: 0;
  }
  .ssl-reading-column {
    max-width: 100%;
  }
  a {
    color: inherit;
  }
}

/* ==========================================================================
   11. VERSION 9.1 – Lange Artikel, Zitate, Weiterlesen, Raster, Druck
   ========================================================================== */

/* --- Letzte einzelne Karte im 2-Spalten-Raster: horizontale Breitkarte --- */
@media (min-width: 721px) {
  .ssl-feed-featured > .wp-block-post-template > li:last-child:nth-child(even):not(:first-child),
  .ssl-feed-posts:not(.ssl-feed-featured) > .wp-block-post-template > li:last-child:nth-child(odd):not(:first-child) {
    grid-column: 1 / -1;
  }

  .ssl-feed-featured > .wp-block-post-template > li:last-child:nth-child(even):not(:first-child) .ssl-card,
  .ssl-feed-posts:not(.ssl-feed-featured) > .wp-block-post-template > li:last-child:nth-child(odd):not(:first-child) .ssl-card {
    flex-direction: row;
    align-items: stretch;
  }

  .ssl-feed-featured > .wp-block-post-template > li:last-child:nth-child(even):not(:first-child) .ssl-card-img,
  .ssl-feed-posts:not(.ssl-feed-featured) > .wp-block-post-template > li:last-child:nth-child(odd):not(:first-child) .ssl-card-img,
  .ssl-feed-featured > .wp-block-post-template > li:last-child:nth-child(even):not(:first-child) .ssl-card:not(:has(.ssl-card-img))::before,
  .ssl-feed-posts:not(.ssl-feed-featured) > .wp-block-post-template > li:last-child:nth-child(odd):not(:first-child) .ssl-card:not(:has(.ssl-card-img))::before {
    flex: 0 0 42%;
    width: 42%;
    min-height: 190px;
    aspect-ratio: auto;
    border-bottom: 0;
    border-right: 1px solid #e2ebee;
  }

  .ssl-feed-featured > .wp-block-post-template > li:last-child:nth-child(even):not(:first-child) .ssl-card-img img,
  .ssl-feed-posts:not(.ssl-feed-featured) > .wp-block-post-template > li:last-child:nth-child(odd):not(:first-child) .ssl-card-img img {
    position: absolute;
    inset: 0;
  }
}

/* --- Inhaltsverzeichnis --- */
.ssl-toc {
  margin: 0 var(--article-inset) 28px;
  padding: 0;
  background: var(--c-bg-soft);
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-gold);
  border-radius: 3px;
  font-size: 14px;
}

.ssl-toc summary {
  padding: 12px 18px;
  color: var(--c-ink);
  font-weight: 700;
  cursor: pointer;
}

.ssl-toc ol {
  margin: 0;
  padding: 0 18px 14px 40px;
}

.ssl-toc ol ol {
  padding: 4px 0 2px 18px;
  list-style-type: lower-alpha;
}

.ssl-toc li {
  margin: 4px 0;
  line-height: 1.5;
}

.ssl-toc a {
  color: var(--c-accent);
}

/* --- Lesezeit / Aktualisiert --- */
.ssl-article-facts {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 0;
}

.ssl-article-facts > span + span::before,
.ssl-article-details > .ssl-article-facts:not(:first-child)::before {
  content: "·";
  margin-right: 10px;
  opacity: 0.65;
}

/* --- Lesefortschritt & Nach-oben --- */
.ssl-progress {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: 3px;
  pointer-events: none;
}

.ssl-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--c-gold);
  transform: scaleX(0);
  transform-origin: left center;
}

.ssl-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--c-brand-deep);
  color: #ffffff;
  border: 1px solid var(--c-gold);
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(20, 42, 56, 0.28);
  transition: background 0.2s ease, transform 0.2s ease;
}

.ssl-to-top[hidden] {
  display: none;
}

.ssl-to-top:is(:hover, :focus-visible) {
  background: var(--c-accent);
  color: #ffffff;
  transform: translateY(-2px);
}

/* --- Redaktions-Elemente ------------------------------------------------
   Gelten im Beitrag UND im Block-Editor (inkl. Vorlagen-Vorschau).
   "body" am Anfang: im Editor ersetzt WordPress es durch .editor-styles-wrapper;
   im Frontend hebt es die Spezifität über das Core-Block-CSS. */

/* Standard-Zitat (ohne gewählten Stil) */
body .wp-block-quote:not([class*="is-style-ssl-"]):not(.is-style-plain) {
  margin: 25px 0;
  padding: 20px 24px;
  border: 1px solid #d6e1e4;
  border-left: 4px solid var(--c-gold);
  border-radius: 3px;
  background: #f4f8f9;
}

body .wp-block-quote > :last-child,
body .wp-block-pullquote blockquote > :last-child {
  margin-bottom: 0;
}

body .wp-block-quote cite {
  display: block;
  margin-top: 10px;
  color: var(--c-muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

/* Stil "SSL Statement (groß)" */
body .wp-block-quote.is-style-ssl-statement {
  position: relative;
  margin: 2em 0;
  padding: 6px 0 6px 64px;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--c-ink);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.5;
}

body .wp-block-quote.is-style-ssl-statement::before {
  content: "\201C";
  position: absolute;
  top: -6px;
  left: 0;
  color: var(--c-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 92px;
  font-weight: 700;
  line-height: 1;
}

body .wp-block-quote.is-style-ssl-statement p {
  font-size: inherit;
  line-height: inherit;
}

/* Pullquote (Standard) */
body .wp-block-pullquote {
  margin: 2em 0;
  padding: 24px 8px;
  border: 0;
  border-top: 3px solid var(--c-gold);
  border-bottom: 1px solid var(--c-border);
  color: var(--c-ink);
  font-size: inherit;
  line-height: 1.4;
  text-align: center;
}

body .wp-block-pullquote blockquote {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

body .wp-block-pullquote p {
  margin: 0;
  color: var(--c-ink);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
}

body .wp-block-pullquote cite {
  display: block;
  margin-top: 12px;
  color: var(--c-muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Stil "SSL Hervorgehobenes Zitat" */
body .wp-block-pullquote.is-style-ssl-highlight {
  padding: 28px 24px;
  background: var(--c-brand-deep);
  border: 0;
  border-top: 3px solid var(--c-gold);
  border-radius: 3px;
}

body .wp-block-pullquote.is-style-ssl-highlight :is(p, cite) {
  color: #ffffff;
}

body .wp-block-pullquote.is-style-ssl-highlight cite {
  color: #e9d8a6;
}

/* Hinweisbox & Quellenkasten: kein Leerraum oben/unten im Kasten */
body :is(.is-style-ssl-callout, .is-style-ssl-source) > :first-child {
  margin-top: 0;
}

body :is(.is-style-ssl-callout, .is-style-ssl-source) > :last-child {
  margin-bottom: 0;
}

/* Stil "SSL Quellenkasten" (Gruppe) */
body .is-style-ssl-source {
  margin: 25px 0;
  padding: 16px 20px;
  background: #ffffff;
  border: 1px dashed #9db3bb;
  border-radius: 3px;
  font-size: 14px;
  line-height: 1.6;
}

body .is-style-ssl-source > .wp-block-heading {
  margin: 0 0 8px;
  color: var(--c-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body .is-style-ssl-source :is(ul, ol) {
  margin: 0;
  padding-left: 1.2em;
}

body .is-style-ssl-source li {
  margin: 0 0 4px;
}

/* Stil "SSL Goldlinie" (Trennlinie) – mittig, kurz, gold */
body hr.wp-block-separator.is-style-ssl-gold,
.ssl-reading-column .wp-block-post-content > hr.wp-block-separator.is-style-ssl-gold {
  width: 80px;
  max-width: 80px;
  height: 0;
  margin: 2em auto;
  background: none;
  border: 0;
  border-top: 3px solid var(--c-gold);
  opacity: 1;
}

/* Fußnoten (Core-Block "Fußnoten") */
body sup.fn a {
  padding: 0 2px;
  font-weight: 700;
  text-decoration: none;
}

body .wp-block-footnotes {
  margin: 2.5em 0 0;
  padding: 1.1em 0 0 1.6em;
  border-top: 1px solid var(--c-border);
  color: var(--c-text);
  font-size: 14px;
  line-height: 1.6;
}

body .wp-block-footnotes li {
  margin-bottom: 0.5em;
}

/* Ausklappbare Abschnitte (Core-Block "Details") */
body .wp-block-details {
  margin: 1.2em 0;
  padding: 0;
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: 3px;
}

body .wp-block-details summary {
  padding: 12px 18px;
  background: var(--c-bg-soft);
  color: var(--c-ink);
  font-weight: 700;
  cursor: pointer;
}

body .wp-block-details[open] summary {
  border-bottom: 1px solid var(--c-border);
}

body .wp-block-details > :not(summary) {
  margin-inline: 18px;
}

body .wp-block-details > :nth-child(2) {
  margin-top: 14px;
}

body .wp-block-details > :last-child {
  margin-bottom: 14px;
}

/* --- Mehr aus dieser Kategorie --- */
.ssl-related {
  margin: 36px 0 0;
}

.ssl-related .ssl-related-title {
  margin: 0 0 16px;
  color: var(--c-ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ssl-related .wp-block-post-template {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ssl-related .wp-block-post-template > li {
  min-width: 0;
  margin: 0;
}

.ssl-related .ssl-card-body {
  gap: 8px;
  padding: 14px 16px 16px;
}

.ssl-related .wp-block-post-title {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
}

.ssl-related .wp-block-post-date {
  color: var(--c-muted);
  font-size: 12px;
}

@media (max-width: 720px) {
  .ssl-related .wp-block-post-template {
    grid-template-columns: 1fr;
  }
  .ssl-toc {
    margin-inline: 0;
  }
  body .wp-block-quote.is-style-ssl-statement {
    padding-left: 48px;
    font-size: 18px;
  }
  body .wp-block-quote.is-style-ssl-statement::before {
    font-size: 72px;
  }
}

/* --- Druckansicht für lange Artikel --- */
@media print {
  .ssl-progress,
  .ssl-to-top,
  .ssl-toc,
  .ssl-related,
  .ssl-article-tags {
    display: none !important;
  }
  .ssl-prose a[href^="http"]::after {
    content: " (" attr(href) ")";
    color: #444444;
    font-size: 0.85em;
    word-break: break-all;
  }
  .ssl-prose p,
  .ssl-prose li {
    orphans: 3;
    widows: 3;
  }
  .ssl-prose h2,
  .ssl-prose h3 {
    break-after: avoid;
  }
}


/* ==========================================================================
   13. VERSION 9.3 – Redaktioneller Feinschliff
   Typografie, Seitenkopf, mitlaufendes Inhaltsverzeichnis, Aufklappbereiche,
   Tabellen, Linkkarten, "Behauptung & Fakt"
   ========================================================================== */
:root {
  --ff-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --measure: 44rem;
}

/* --- Überschriften in Serifenschrift (UI, Navigation und Labels bleiben Inter) --- */
.ssl-reading-column .ssl-article-title,
.ssl-prose :is(h2, h3),
.ssl-card .wp-block-post-title,
.ssl-intro .ssl-intro-title,
.ssl-sb-promo h2,
.ssl-related .wp-block-post-title,
.ssl-archive-heading h2,
.ssl-comments-intro h2,
.ssl-page-header h1,
.ssl-series-nav h2,
.ssl-empty-state h3,
body .wp-block-quote.is-style-ssl-statement,
body .wp-block-pullquote p {
  font-family: var(--ff-serif);
  font-weight: 700;
  letter-spacing: -0.005em;
}

body .wp-block-quote.is-style-ssl-statement {
  font-weight: 600;
}

/* Beschriftungen in Kästen bleiben in der Textschrift */
body .is-style-ssl-source > .wp-block-heading {
  font-family: var(--ff-sans);
  letter-spacing: 0.08em;
}

/* --- Lesemaß: Fließtext ~70 Zeichen, mittig in der Spalte --- */
.ssl-reading-column {
  --article-inset: max(26px, calc((100% - var(--measure)) / 2));
}

.ssl-reading-column .ssl-prose {
  color: #26363f;
  font-size: 18px;
  line-height: 1.75;
}

/* Einleitungsabsatz */
.ssl-prose .wp-block-post-content > p:first-child {
  color: var(--c-ink);
  font-size: 1.12em;
  line-height: 1.65;
}

.ssl-prose h2 {
  margin: 2.1em 0 0.6em;
  color: #152f3d;
  font-size: 29px;
  line-height: 1.25;
}

.ssl-prose h3 {
  margin: 1.7em 0 0.5em;
  color: #1b3846;
  font-size: 22px;
  line-height: 1.3;
}

.ssl-prose :is(h2, h3)[id] {
  scroll-margin-top: 28px;
}

/* Ruhigere Links im Text */
.ssl-prose a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(45, 83, 109, 0.45);
}

.ssl-prose a:is(:hover, :focus-visible) {
  text-decoration-color: currentColor;
}

/* "#"-Link an Zwischenüberschriften (erscheint bei Mausberührung) */
.ssl-prose .ssl-anchor {
  margin-left: 0.3em;
  color: var(--c-gold);
  font-family: var(--ff-sans);
  font-weight: 600;
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.ssl-prose :is(h2, h3):hover .ssl-anchor,
.ssl-prose .ssl-anchor:focus-visible {
  opacity: 1;
}

/* --- Kopfbereich: Titel auf Weiß statt grauem Kasten --- */
.ssl-article.ssl-article--page:not(:has(> .ssl-article-hero img)) > .ssl-article-header,
.ssl-article:has(> .ssl-article-hero img) > .ssl-article-header {
  margin-bottom: 30px;
  padding-top: 26px;
  padding-bottom: 24px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--c-border);
  border-radius: 0;
}

.ssl-article.ssl-article--page:not(:has(> .ssl-article-hero img)) > .ssl-article-header {
  padding-top: 6px;
}

/* Trennlinie unter dem Kopf exakt so breit wie der Lesetext */
.ssl-article.ssl-article--page:not(:has(> .ssl-article-hero img)) > .ssl-article-header,
.ssl-article:has(> .ssl-article-hero img) > .ssl-article-header {
  margin-inline: var(--article-inset);
  padding-inline: 0;
}

.ssl-reading-column .ssl-article-title {
  color: #152f3d;
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.ssl-article--page .ssl-article-header .ssl-article-title {
  margin-bottom: 14px;
}

.ssl-article--page .ssl-article-header .ssl-article-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 18px;
  background: var(--c-gold);
}

.ssl-article--page .ssl-article-details {
  color: var(--c-muted);
}

/* --- Inhaltsverzeichnis im Text --- */
.ssl-toc--inline {
  margin-bottom: 34px;
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-left: 3px solid var(--c-gold);
  border-radius: 4px;
  font-size: 15px;
}

.ssl-toc--inline summary {
  padding: 13px 20px;
  color: var(--c-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ssl-toc--inline > details > ol {
  padding: 0 20px 16px 40px;
  columns: 2 16rem;
  column-gap: 32px;
}

.ssl-toc--inline li {
  margin: 0;
  padding: 3px 0;
  break-inside: avoid;
}

.ssl-toc--inline a {
  color: var(--c-accent);
  text-decoration: none;
}

.ssl-toc--inline a:is(:hover, :focus-visible) {
  text-decoration: underline;
}

/* --- Mitlaufendes Inhaltsverzeichnis in der Seitenleiste --- */
.ssl-grid--reading > .ssl-col-side {
  align-self: stretch;
}

.ssl-grid--reading > .ssl-col-side > .ssl-sidebar {
  height: 100%;
}

.ssl-toc--sidebar {
  position: sticky;
  top: 24px;
  max-height: calc(100vh - 48px);
  margin: 0;
  overflow-y: auto;
  background: none;
  border: 0;
  font-size: 13px;
}

.ssl-toc--sidebar .ssl-toc-title {
  margin: 0 0 12px;
  padding: 0 0 11px;
  color: #294756;
  border-bottom: 2px solid var(--c-border);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ssl-toc--sidebar ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ssl-toc--sidebar ol ol {
  padding: 0;
}

.ssl-toc--sidebar li {
  margin: 0;
}

.ssl-toc--sidebar a {
  display: block;
  padding: 6px 0 6px 13px;
  border-left: 2px solid var(--c-border);
  color: #3b5664;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.ssl-toc--sidebar ol ol a {
  padding-left: 25px;
  font-size: 12.5px;
}

.ssl-toc--sidebar a:hover {
  color: var(--c-ink);
}

.ssl-toc--sidebar a.is-active {
  border-left-color: var(--c-gold);
  color: var(--c-ink);
  font-weight: 700;
}

@media (max-width: 860px) {
  .ssl-toc--sidebar {
    display: none;
  }
}

/* --- Aufklappbereiche: hell, Pfeil rechts, aufeinanderfolgende als ein Block --- */
body .wp-block-details {
  margin: 0;
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: 0;
}

body .wp-block-details:not(.wp-block-details + .wp-block-details) {
  margin-top: 1.4em;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

body .wp-block-details:not(:has(+ .wp-block-details)) {
  margin-bottom: 1.4em;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

body .wp-block-details + .wp-block-details {
  border-top: 0;
}

body .wp-block-details > summary {
  position: relative;
  display: block;
  padding: 15px 52px 15px 20px;
  background: transparent;
  border: 0;
  color: var(--c-ink);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.45;
  list-style: none;
  cursor: pointer;
  transition: background 0.15s ease;
}

body .wp-block-details > summary::-webkit-details-marker {
  display: none;
}

body .wp-block-details > summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 22px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--c-accent);
  border-bottom: 2px solid var(--c-accent);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}

body .wp-block-details > summary:hover {
  background: var(--c-bg-soft);
}

body .wp-block-details[open] {
  box-shadow: inset 3px 0 0 var(--c-gold);
}

body .wp-block-details[open] > summary {
  background: var(--c-bg-soft);
  border-bottom: 1px solid var(--c-border);
}

body .wp-block-details[open] > summary::after {
  transform: translateY(-25%) rotate(-135deg);
}

body .wp-block-details > :not(summary) {
  margin-inline: 22px;
}

body .wp-block-details > :nth-child(2) {
  margin-top: 18px;
}

body .wp-block-details > :last-child {
  margin-bottom: 20px;
}

/* Stil "SSL Behauptung & Fakt" */
body .wp-block-details.is-style-ssl-claim > summary::before {
  content: "Behauptung";
  display: inline-block;
  margin-right: 10px;
  padding: 2px 7px;
  border-radius: 3px;
  background: #f6e6e2;
  color: #8a3b2e;
  font-family: var(--ff-sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.6;
  text-transform: uppercase;
  vertical-align: 2px;
}

body .wp-block-details.is-style-ssl-claim .is-style-ssl-fact {
  padding: 14px 18px;
  background: #eef6f1;
  border-left: 3px solid #3f7d5c;
  border-radius: 3px;
}

body .is-style-ssl-fact > :first-child {
  margin-top: 0;
}

body .is-style-ssl-fact > :last-child {
  margin-bottom: 0;
}

/* --- Tabellen: ruhig, Begriffsspalte fett, oben ausgerichtet --- */
body .wp-block-table {
  margin: 1.6em 0;
  overflow-x: auto;
}

body .wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15.5px;
  line-height: 1.6;
}

body .wp-block-table :is(th, td) {
  padding: 13px 16px;
  border: 0;
  border-bottom: 1px solid var(--c-border);
  text-align: left;
  vertical-align: top;
}

body .wp-block-table thead {
  border: 0;
}

body .wp-block-table thead th {
  background: transparent;
  border-bottom: 2px solid var(--c-ink);
  color: var(--c-ink);
  font-weight: 700;
}

body .wp-block-table tbody tr:nth-child(odd) {
  background: #f7f9f8;
}

body .wp-block-table tbody td:first-child {
  color: var(--c-ink);
  font-weight: 650;
}

body .wp-block-table table.has-fixed-layout td:first-child:nth-last-child(2) {
  width: 30%;
}

body .wp-block-table figcaption {
  margin-top: 8px;
  color: var(--c-muted);
  font-size: 13px;
}

/* --- Stil "SSL Linkkarten" (Liste) --- */
body ul.wp-block-list.is-style-ssl-linkcards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 1.4em 0;
  padding: 0;
  list-style: none;
}

body .is-style-ssl-linkcards > li {
  position: relative;
  margin: 0;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: 5px;
  color: var(--c-muted);
  font-size: 14px;
  line-height: 1.5;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body .is-style-ssl-linkcards > li:hover {
  border-color: #b7c8ce;
  box-shadow: 0 4px 14px rgba(20, 42, 56, 0.07);
}

body .is-style-ssl-linkcards > li > a:first-child {
  display: block;
  margin-bottom: 3px;
  color: var(--c-ink);
  font-size: 15.5px;
  font-weight: 700;
  text-decoration: none;
}

body .is-style-ssl-linkcards > li > a:first-child::after {
  content: " →";
  color: var(--c-gold);
}

body .is-style-ssl-linkcards > li > a:first-child::before {
  content: "";
  position: absolute;
  inset: 0;
}

@media (max-width: 720px) {
  body ul.wp-block-list.is-style-ssl-linkcards {
    grid-template-columns: 1fr;
  }
  /* Das Raster hat auf dem Handy schon Innenabstand – Text nutzt die volle Breite */
  .ssl-reading-column {
    --article-inset: 0px;
  }
  body .wp-block-details > summary {
    padding: 14px 44px 14px 16px;
  }
  body .wp-block-details > :not(summary) {
    margin-inline: 16px;
  }
  body .wp-block-details.is-style-ssl-claim > summary::before {
    display: table;
    margin: 0 0 6px;
  }
  .ssl-reading-column .ssl-prose {
    font-size: 17px;
  }
  .ssl-prose h2 {
    font-size: 24px;
  }
  .ssl-prose h3 {
    font-size: 20px;
  }
  .ssl-reading-column .ssl-article-title {
    font-size: 28px;
  }
  .ssl-toc--inline > details > ol {
    columns: 1;
  }
}

@media print {
  .ssl-toc--sidebar,
  .ssl-anchor {
    display: none !important;
  }
}

/* Beiträge ohne Beitragsbild (dunkler Kopf-Kasten) behalten immer Innenabstand */
.ssl-article:not(.ssl-article--page):not(:has(> .ssl-article-hero img)) > .ssl-article-header {
  padding-inline: max(20px, var(--article-inset));
}

/* Der Abstand kommt bereits vom Flex-Gap */
.ssl-article-details > .ssl-article-facts:not(:first-child)::before {
  margin-right: 0;
}

/* ==========================================================================
   v9.4 – Eckdaten, Personenkarten, Handy-Meta-Zeile
   ========================================================================== */

/* Handy: Meta-Zeile ohne Trennpunkte (verhindert Punkt am Zeilenanfang) */
@media (max-width: 720px) {
  .ssl-article-details {
    gap: 4px 16px;
  }
  .ssl-article-details > *::before,
  .ssl-article-facts > span + span::before,
  .ssl-article-details > .ssl-article-facts:not(:first-child)::before {
    display: none;
  }
}

/* Stil "SSL Eckdaten" (Gruppe): Beschriftung links, Wert rechts */
body .is-style-ssl-facts {
  margin: 28px 0;
  padding: 6px 22px;
  background: #f4f7f9;
  border: 1px solid #d5dfe4;
  border-left: 4px solid var(--c-gold, #d9a93b);
  border-radius: 3px;
  font-size: 16px;
  line-height: 1.55;
}

body .is-style-ssl-facts > .wp-block-heading {
  margin: 14px 0 4px;
  color: var(--c-muted);
  font-family: var(--ff-sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body .is-style-ssl-facts > p {
  position: relative;
  margin: 0;
  padding: 10px 0 10px 8.5rem;
  border-top: 1px solid #e1e8ec;
}

body .is-style-ssl-facts > :is(p, .wp-block-heading):first-child,
body .is-style-ssl-facts > .wp-block-heading + p {
  border-top: 0;
}

body .is-style-ssl-facts > p > strong:first-child {
  position: absolute;
  left: 0;
  top: 10px;
  width: 7.5rem;
  color: var(--c-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

@media (max-width: 560px) {
  body .is-style-ssl-facts > p {
    padding-left: 0;
  }
  body .is-style-ssl-facts > p > strong:first-child {
    position: static;
    display: block;
    width: auto;
    margin-bottom: 2px;
  }
}

/* Personenkarten: Gruppe .ssl-people mit Gruppen .ssl-person */
.ssl-people {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0;
}

.ssl-people > .ssl-person {
  position: relative;
  margin: 0;
  padding: 16px 18px 14px;
  background: #fff;
  border: 1px solid #d5dfe4;
  border-top: 3px solid var(--c-gold, #d9a93b);
  border-radius: 3px;
  font-size: 15px;
  line-height: 1.55;
}

.ssl-people .ssl-person > * {
  margin-top: 0;
  margin-bottom: 8px;
}

.ssl-people .ssl-person > :last-child {
  margin-bottom: 0;
}

.ssl-people .ssl-person .wp-block-heading {
  font-family: var(--ff-serif);
  font-size: 19px;
  line-height: 1.25;
}

.ssl-people .ssl-person .ssl-person-role {
  color: var(--c-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ssl-people .ssl-person a {
  font-weight: 700;
}

@media (max-width: 720px) {
  .ssl-people {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   v9.4.1 – Feinschliff
   ========================================================================== */

/* Kurzes Inhaltsverzeichnis (3–4 Überschriften): nur zeigen, wenn die
   mitlaufende Seitenleiste darunter gestapelt ist (Tablet/Handy) */
@media (min-width: 861px) {
  .ssl-toc--inline.ssl-toc--short {
    display: none;
  }
}

/* Eckdaten: luftiger, Schriftgröße wie Fließtext-nah */
body .is-style-ssl-facts {
  padding: 14px 24px 12px;
  font-size: 17px;
}

body .is-style-ssl-facts > .wp-block-heading {
  margin: 0 0 8px;
}

body .is-style-ssl-facts > p {
  padding-top: 11px;
  padding-bottom: 11px;
}

body .is-style-ssl-facts > p > strong:first-child {
  top: 13px;
  font-size: 13px;
}
