/* Hallo Rottweil: Signet auf Artikeln, Logo und Menü im Hallo-Kopf. Farben und Schrift aus dem Theme. */
:root {
    --nrwz-hallo-green: #88b04b;
    --nrwz-hallo-green-paper: #f3f8ec;
}

/* Signet unter dem NRWZ-Kopf, nur sichtbar bei Herkunft aus dem Portal. */
.nrwz-hallo-signet[hidden] { display: none !important; }
.nrwz-hallo-signet {
    background: var(--nrwz-hallo-green-paper);
    border-bottom: 2px solid var(--nrwz-hallo-green);
}
.nrwz-hallo-signet__inner {
    max-width: var(--rb-width, 1280px);
    margin: 0 auto;
    padding: 0 20px;
}
.nrwz-hallo-signet__link {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-height: 44px;
    color: inherit;
    font: inherit;
    font-size: .95rem;
    text-decoration: none;
}
.nrwz-hallo-signet__logo { display: block; width: auto; height: 20px; }
.nrwz-hallo-signet__label::before { content: '← '; }
.nrwz-hallo-signet__link:hover .nrwz-hallo-signet__label { text-decoration: underline; }
.nrwz-hallo-signet__link:focus-visible { outline: 3px solid currentColor; outline-offset: 2px; }
@media (max-width: 599px) {
    .nrwz-hallo-signet__inner { padding: 0 12px; }
    .nrwz-hallo-signet__logo { height: 16px; }
    .nrwz-hallo-signet__link { font-size: .875rem; gap: .5rem; }
}
/* Per [nrwz_hallo_zurueck] im Artikel gesetzt: wie eine Kachel im Text. */
.entry-content .nrwz-hallo-signet, .single-content .nrwz-hallo-signet { margin: 0 0 1.2rem; border: 1px solid var(--nrwz-hallo-green); border-radius: .3rem; }

/* Logo im Hallo-Kopf. */
/* Block nur so breit wie das Logo, damit die Kooperationszeile umbricht und das Menü daneben Platz hat. */
.nrwz-hallo-brand { display: flex; flex-direction: column; gap: 6px; max-width: var(--nrwz-hallo-brand-width, 600px); }
.nrwz-hallo-brand__logo { display: block; line-height: 0; }
/* Breite über width statt max-width: Theme/Elementor setzen img { max-width: 100% } mit höherem Vorrang. */
.nrwz-hallo-brand .nrwz-hallo-brand__logo img { display: block; width: min(100%, var(--nrwz-hallo-logo-width, 340px)); max-width: 100%; height: auto; }
/* 0.14.0: Logo 340 statt 420 px; die Kooperationszeile steht auf dem Desktop in einer Zeile (14 px), vollständig. */
.nrwz-hallo-brand__tagline { margin: 0; font-size: 14px; line-height: 1.35; opacity: .85; }
@media (max-width: 599px) {
    .nrwz-hallo-brand .nrwz-hallo-brand__logo img { width: min(100%, var(--nrwz-hallo-logo-width-mobile, 240px)); } /* 0.11.2: einzeiliges Logo, 240 px; das gestapelte nur unter 300 px */
    .nrwz-hallo-brand { max-width: 100%; gap: .25rem; }
    .nrwz-hallo-brand__tagline { font-size: .66rem; line-height: 1.35; max-width: none; }
}

/* Menü im Hallo-Kopf (0.13.0): Reiter statt Pillen, damit es als Navigation erkennbar ist. Systemschrift 16 px,
   Trefferfläche 44 px, aktuelle Seite mit rotem Balken. Desktop rechts neben dem Logo, mobil darunter und wischbar
   (rechter Rand blendet aus, damit man sieht, dass es weitergeht). */
.nrwz-hallo-menu__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.nrwz-hallo-menu__list a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 10px;
    border-bottom: 3px solid transparent;
    color: var(--hr-ink, #1a1a1a);
    font-family: var(--hr-ui, system-ui, sans-serif);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}
.nrwz-hallo-menu__list a:hover { border-bottom-color: var(--hr-line, #d9d4cc); }
.nrwz-hallo-menu__list .current-menu-item > a,
.nrwz-hallo-menu__list a[aria-current="page"] { border-bottom-color: var(--hr-accent, #bb2727); }
.nrwz-hallo-menu__list a:focus-visible { outline: 3px solid var(--hr-accent, #bb2727); outline-offset: -3px; }
@media (max-width: 767px) {
    .nrwz-hallo-menu { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent); }
    .nrwz-hallo-menu::-webkit-scrollbar { display: none; }
    .nrwz-hallo-menu__list { flex-wrap: nowrap; padding-right: 32px; }
    .nrwz-hallo-menu__list a { font-size: 15px; }
}
/* Tablet (0.13.1): Logo (420 px) und Menü (480 px) passen erst ab etwa 960 px nebeneinander. Darunter brach das
   Menü neben dem Logo in zwei Zeilen um. Bis 1023 px steht es deshalb wie auf dem Handy in einer Zeile unter dem Logo. */
@media (min-width: 768px) and (max-width: 1023px) {
    .elementor-location-header .e-con:has(.nrwz-hallo-brand) > .e-con-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
    .elementor-location-header .e-con:has(.nrwz-hallo-brand) > .e-con-inner > .elementor-element:has(.nrwz-hallo-menu) { width: 100%; max-width: 100%; }
    .nrwz-hallo-menu__list { flex-wrap: nowrap; }
}
/* 0.14.0: Kopf kompakter. Innenabstand 12 statt 18/14 px (Handy 10/6), Logo 340 px (oben). Das Menü behält 44 px Trefferfläche. */
.elementor-location-header .e-con.e-con:has(.nrwz-hallo-brand) { --padding-top: 12px; --padding-bottom: 12px; }
@media (min-width: 1024px) {
    .elementor-location-header .e-con.e-con:has(.nrwz-hallo-brand) { --gap: 16px; --column-gap: 16px; }
    .elementor-location-header .e-con:has(.nrwz-hallo-brand) > .e-con-inner > .elementor-element:has(.nrwz-hallo-menu) { flex-shrink: 0; }
}
@media (max-width: 767px) {
    .elementor-location-header .e-con.e-con:has(.nrwz-hallo-brand) { --padding-top: 10px; --padding-bottom: 6px; --row-gap: 6px; --gap: 6px; }
}

/* Hallo-Seiten ohne Elementor (Termine): Foxiz-Rahmen 1140 px mit je 20 px Rand = 1100 px Inhalt,
   wie die Elementor-Blöcke der Stadt-, Kreis- und LGS-Seite. Nur auf Seiten mit dem Hallo-Kopf. */
body:has(.nrwz-hallo-brand) .single-page > .rb-small-container { max-width: 1140px; }
/* 0.14.0: Seitentitel ohne Elementor (Termine) näher an den Inhalt: Foxiz setzt 30 px oben, 48 px über dem Titel und 30 px darunter. */
body:has(.nrwz-hallo-brand) .single-page > .page-header { padding-top: 24px; margin-bottom: 16px; }
body:has(.nrwz-hallo-brand) .single-page > .page-header .s-title { margin-top: 0; }
/* 0.13.0: Ab 1300 px rückt die Werbeschiene (nrwz-rail) die Elementor- und Foxiz-Container nach rechts, diesen Rahmen aber nicht:
   Auf der Termine-Seite lag die Schiene bei 1440 px über dem Inhalt. Gleiche Formel wie die Schiene, nur für diesen Rahmen. */
@media (min-width: 1300px) {
    html:not(.nrwz-steady-member) body:has(.nrwz-rail):has(.nrwz-hallo-brand) .single-page > .rb-small-container {
        margin-left: calc(max(min(calc(var(--nrwz-rail-w) + 2 * var(--nrwz-rail-g) + var(--nrwz-rail-s)), calc(100% - 1100px)), calc((100% - 1100px) / 2)) - 20px);
        margin-right: auto;
    }
}

/* Die NRWZ-Leiste im Hallo-Kopf (Container mit dem foxiz-logo) pflegt die Redaktion in Elementor.
   Das Plugin setzt dort bewusst keine Regeln mehr (bis 0.9.7: Höhe 40 px, Logo 24 px). */


/* =====================================================================================================
   0.13.0: Gestaltungssystem der Hallo-Seiten (alle Seiten mit Hallo-Kopf, nicht Kopf und Fuß).
   Ersetzt die Regeln aus 0.11.2–0.11.4. Abstände auf 8-px-Raster, Abschnitte durch Weißraum und eine Linie
   über dem Titel getrennt (Elementor-Trenner entfallen), Titel als gerade Serife mit kurzem Akzentbalken.
   Inhaltsbreite bleibt 1100 px: Ab 1440 px steht links die 300-px-Werbeschiene (nrwz-rail), daneben ist nicht mehr Platz.
   ===================================================================================================== */
body:has(.nrwz-hallo-brand) {
    --hr-ink: #1a1a1a;
    --hr-muted: #5c5c5c;
    --hr-line: #d9d4cc;
    --hr-accent: var(--g-color, #bb2727);
    /* 0.14.2: LGS-Bereiche in den Primärfarben der Landesgartenschau: Greenery, Creme, Schwarz. Greenery nur für Flächen,
       Linien und Streifen; als Schrift hätte es auf Creme nur 2,4 : 1. Sekundärfarben nur zur Farbkodierung
       (Violett „Wichtig“, Türkis „Hinweis“); Herbstrot bleibt weg, weil es dem Rot der Redaktion zu nahe kommt. */
    --lgs-greenery: #88b04b;
    --lgs-creme: #fffbf3;
    --lgs-schwarz: #000;
    --lgs-violett: #857b9c;
    --lgs-tuerkis: #59aba6;
    --hr-coop: var(--lgs-greenery);
    --hr-coop-ink: var(--lgs-schwarz);
    --hr-ui: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --hr-serif: Georgia, "Times New Roman", serif;
    --hr-head: var(--headline-family, "NRWZ Headline"), var(--hr-ui);
    --hr-section: 48px;
    --hr-title-gap: 24px;
    --hr-gutter: 16px;
}
@media (max-width: 767px) {
    body:has(.nrwz-hallo-brand) { --hr-section: 32px; --hr-title-gap: 16px; }
}

/* Rhythmus: Trenner-Container ausblenden; die Abschnitte bekommen ihren Abstand über den Titel. */
body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header):not(.elementor-location-footer) > .e-con:is(:has(> .e-con-inner > .elementor-widget-divider:only-child), :has(> .elementor-widget-divider:only-child)) { display: none; }
body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header):not(.elementor-location-footer) > .e-con { --padding-top: 0px; --padding-bottom: 0px; margin-top: 0; }
body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header):not(.elementor-location-footer) > .e-con:last-child { margin-block: var(--hr-section); }
body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header):not(.elementor-location-footer) > .e-con:has(:is(#landesgartenschau, #kooperation)) { margin-top: var(--hr-section); }
body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header):not(.elementor-location-footer) > .e-con:first-child + .e-con:not(:has(.hr-jump)), body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header):not(.elementor-location-footer) > .e-con:has(.hr-jump) + .e-con { margin-top: 24px; }
/* Seitenrand 16 px, solange das Fenster schmaler ist als Inhalt plus Rand (Handy und Tablet; vorher 0–10 px). */
@media (max-width: 1139px) {
    body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header):not(.elementor-location-footer) > .e-con { --padding-left: var(--hr-gutter); --padding-right: var(--hr-gutter); }
    .elementor-location-header .e-con:has(.nrwz-hallo-brand) { --padding-left: var(--hr-gutter); --padding-right: var(--hr-gutter); }
}
/* Aufmacher (0.14.0): Höhe folgt dem Inhalt, nicht dem Bild. Foxiz setzt die Bildhöhe über padding-bottom, und das Textfeld
   hat feste Außenabstände; eine lange Schlagzeile ragte dann über das Bild. Jetzt füllt das Bild die Höhe der Zeile (cover),
   der Text steht mittig mit 20–36 px Innenabstand. Unter 1024 px Fensterbreite stehen Bild (16:9) und Text untereinander,
   damit der Schlagzeile nie weniger als rund 400 px bleiben. Schlagzeile 26–28 px (untereinander) bzw. 30–34 px (nebeneinander),
   Zeilenhöhe 1,18, ausgeglichener Umbruch, nie gekürzt. Die Ladepriorität des Bildes setzt HeroImage.php.
   (Eine Container-Abfrage scheidet aus: Chrome misst Elementor-Elemente mit Größeneinschluss bei Breite 0, der Block wurde über 5.000 px hoch.) */
/* Foxiz-Spaltenabstand (-15 px Rand, 15 px Innenabstand) aufheben: Das Textfeld ragte sonst 30 px über den Block. */
body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) .p-list-box-1 .list-holder { --list-holder-margin: 0px; --list-holder-spacing: 0px; height: auto; }
body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) .p-list-box-1 .p-content { display: flex; flex-direction: column; justify-content: center; min-width: 0; margin: 0; padding: clamp(20px, 2.5vw, 36px); }
body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) .p-list-box-1 .entry-title { margin: 0 0 12px; font-size: clamp(30px, .5vw + 26px, 34px); line-height: 1.18; text-wrap: balance; overflow: visible; display: block; -webkit-line-clamp: unset; }
body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) .p-list-box-1 .entry-summary { margin-bottom: 12px; }
@media (min-width: 1024px) {
    body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) .p-list-box-1 .list-holder { min-height: 360px; }
    body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) .p-list-box-1 .list-feat-holder { flex: 0 0 57%; width: 57%; align-self: stretch; }
    body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) .p-list-box-1 :is(.feat-holder, .p-featured) { height: 100%; min-height: 100%; }
    body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) .p-list-box-1 .p-featured { position: relative; padding-bottom: 0; aspect-ratio: auto; }
    body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) .p-list-box-1 .p-featured img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
    body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) .p-list-box-1 .p-content { flex: 1 1 0; }
}
@media (max-width: 1023px) {
    body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) .p-list-box-1 .list-holder { flex-flow: column nowrap !important; }
    body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) .p-list-box-1 .list-holder > * { width: 100% !important; max-width: 100% !important; flex: 0 0 auto; }
    body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) .p-list-box-1 .entry-title { font-size: clamp(26px, 1vw + 22px, 28px); }
}
body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header):not(.elementor-location-footer) .elementor-widget-foxiz-heading > .elementor-widget-container { padding-left: 0; padding-right: 0; }
body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header):not(.elementor-location-footer) .nrwz-hallo-module { margin-bottom: 0; }
/* Erklärzeilen und Fließtext: 17 px statt der 20-px-Wurzelschrift von NRWZ.de. */
body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header):not(.elementor-location-footer) .elementor-widget-text-editor { font-size: 17px; line-height: 1.55; }
body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header):not(.elementor-location-footer) .elementor-widget-text-editor p { margin-bottom: 8px; }
body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header):not(.elementor-location-footer) .elementor-widget-text-editor p:last-child { margin-bottom: 0; }

/* Rubrikentitel: Linie über dem Titel mit 56-px-Akzentbalken, Georgia fett, gerade, 24–28 px, Textfarbe. */
body:has(.nrwz-hallo-brand) :is(.elementor:not(.elementor-location-header):not(.elementor-location-footer), .entry-content) .block-h { margin: var(--hr-section) 0 var(--hr-title-gap); }
body:has(.nrwz-hallo-brand) :is(.elementor:not(.elementor-location-header):not(.elementor-location-footer), .entry-content) .block-h .heading-inner { position: relative; align-items: baseline; gap: 4px 16px; padding-top: 14px; border: 0; border-top: 1px solid var(--hr-ink); }
body:has(.nrwz-hallo-brand) :is(.elementor:not(.elementor-location-header):not(.elementor-location-footer), .entry-content) .block-h .heading-inner::before { content: ""; position: absolute; top: -1px; left: 0; width: 56px; height: 4px; background: var(--hr-accent); }
body:has(.nrwz-hallo-brand) :is(.elementor:not(.elementor-location-header):not(.elementor-location-footer), .entry-content) .block-h .heading-inner::after { display: none; }
body:has(.nrwz-hallo-brand) :is(.elementor:not(.elementor-location-header):not(.elementor-location-footer), .entry-content) .block-h .heading-title,
body:has(.nrwz-hallo-brand) :is(.elementor:not(.elementor-location-header):not(.elementor-location-footer), .entry-content) .block-h .heading-title :is(a, span) { display: inline; margin: 0; padding: 0; border: 0; color: var(--hr-ink); font-family: var(--hr-serif); font-size: clamp(24px, 1.1vw + 14px, 28px); font-style: normal; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; text-transform: none; }
body:has(.nrwz-hallo-brand) :is(.elementor:not(.elementor-location-header):not(.elementor-location-footer), .entry-content) .block-h .heading-title a { text-decoration: none; }
body:has(.nrwz-hallo-brand) :is(.elementor:not(.elementor-location-header):not(.elementor-location-footer), .entry-content) .block-h .heading-title a:hover { color: var(--hr-accent); }
body:has(.nrwz-hallo-brand) :is(.elementor:not(.elementor-location-header):not(.elementor-location-footer), .entry-content) .block-h .heading-title a:focus-visible { outline: 3px solid var(--hr-accent); outline-offset: 3px; }
body:has(.nrwz-hallo-brand) :is(.elementor:not(.elementor-location-header):not(.elementor-location-footer), .entry-content) .block-h .heading-title a::after { content: "›"; margin-left: .25em; color: var(--hr-accent); font-weight: 400; }
body:has(.nrwz-hallo-brand) :is(.elementor:not(.elementor-location-header):not(.elementor-location-footer), .entry-content) .block-h .heading-tagline { color: var(--hr-muted); font-family: var(--hr-ui); font-size: 14px; }
@media (max-width: 767px) {
    body:has(.nrwz-hallo-brand) :is(.elementor:not(.elementor-location-header):not(.elementor-location-footer), .entry-content) .block-h .heading-inner { flex-wrap: wrap; }
    body:has(.nrwz-hallo-brand) :is(.elementor:not(.elementor-location-header):not(.elementor-location-footer), .entry-content) .block-h .heading-tagline { flex: 1 0 100%; order: 2; margin: 0; text-align: left; }
}
/* Titel in Spalten (LGS-Kasten): 20 px, ohne Abstand nach oben. */
body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) .e-con .e-con .e-con .block-h { margin-top: 0; }
body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) .e-con .e-con .e-con .block-h .heading-title :is(a, span) { font-size: 20px; }

/* Knöpfe „weiter zu …“: Umriss in der Akzentfarbe, im LGS-Kasten grün. */
body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) .elementor-widget-button .elementor-button { min-height: 44px; background: transparent; color: var(--hr-accent); border: 2px solid currentColor; border-radius: 6px; font-family: var(--hr-ui); font-size: 15px; font-weight: 700; }
body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) .elementor-widget-button .elementor-button:is(:hover, :focus-visible) { background: transparent; color: var(--hr-accent); text-decoration: underline; text-underline-offset: .18em; }
body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) .elementor-widget-button .elementor-button .elementor-button-text { color: inherit; }

/* Kooperationskasten (offizielle Inhalte der Landesgartenschau): grün, kompakt, klar beschriftet.
   Die Elementor-Box ist 1140 px breit eingestellt und lief rechts aus dem Raster; hier auf die Inhaltsbreite begrenzt. */
body:has(.nrwz-hallo-brand) .e-con-inner:has(> :is(#landesgartenschau, #kooperation)) { max-width: min(100%, 1100px); }
body:has(.nrwz-hallo-brand) :is(#landesgartenschau, #kooperation) { --padding-top: 24px; --padding-bottom: 24px; --padding-left: 24px; --padding-right: 24px; --gap: 16px; --row-gap: 16px; border-radius: 6px; }
/* Spalten nicht umbrechen lassen: Elementor rechnet sonst auf dem Handy die Mindesthöhe aus der schmalsten Breite (1.300 px Leerfläche). */
body:has(.nrwz-hallo-brand) :is(#landesgartenschau, #kooperation) .e-con { --flex-wrap: nowrap; }
body:has(.nrwz-hallo-brand) :is(#landesgartenschau, #kooperation) .block-h { margin-top: 0; }
body:has(.nrwz-hallo-brand) :is(#landesgartenschau, #kooperation) > .elementor-widget-text-editor:has(+ .elementor-widget-foxiz-heading) { color: var(--hr-muted); font-family: var(--hr-ui); font-size: 14px; }
body:has(.nrwz-hallo-brand) :is(#landesgartenschau, #kooperation) > .elementor-widget-text-editor:has(+ .elementor-widget-foxiz-heading) strong { color: var(--hr-coop-ink); }
body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) :is(#landesgartenschau, #kooperation, #lgs) .block-h .heading-inner { border-top-color: var(--hr-coop); }
body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) :is(#landesgartenschau, #kooperation, #lgs) .block-h .heading-inner::before { background: var(--hr-coop); }
body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) :is(#landesgartenschau, #kooperation, #lgs) .block-h .heading-title :is(a, span) { color: var(--hr-coop-ink); }
body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) :is(#landesgartenschau, #kooperation, #lgs) .block-h .heading-title a::after { color: var(--hr-coop-ink); }
/* Knopf im LGS-Bereich: Greenery-Fläche, schwarze Schrift (8,4 : 1). */
body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) :is(#landesgartenschau, #kooperation, #lgs) .elementor-widget-button .elementor-button { background: var(--hr-coop); border-color: var(--hr-coop); color: var(--hr-coop-ink); }
body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) :is(#landesgartenschau, #kooperation, #lgs) .elementor-widget-button .elementor-button:is(:hover, :focus-visible) { background: var(--hr-coop); color: var(--hr-coop-ink); }
@media (max-width: 767px) {
    body:has(.nrwz-hallo-brand) :is(#landesgartenschau, #kooperation) { --padding-top: 16px; --padding-bottom: 16px; --padding-left: 16px; --padding-right: 16px; }
}

/* Sprungleiste „Auf dieser Seite“ ([nrwz_hallo_sprungleiste]): bleibt beim Scrollen oben, Kopf scrollt weg. */
/* Hintergrund nur in Inhaltsbreite: Die volle Breite würde die Werbeschiene links verdecken. */
body:has(.nrwz-hallo-brand) .elementor > .e-con:has(.hr-jump) { position: sticky; top: 0; z-index: 40; background: transparent; pointer-events: none; }
body:has(.nrwz-hallo-brand) .elementor > .e-con:has(.hr-jump) > .e-con-inner { background: #fff; border-bottom: 1px solid var(--hr-line); pointer-events: auto; }
@media (max-width: 767px) {
    body:has(.nrwz-hallo-brand) .elementor > .e-con:has(.hr-jump) { background: #fff; border-bottom: 1px solid var(--hr-line); pointer-events: auto; }
    body:has(.nrwz-hallo-brand) .elementor > .e-con:has(.hr-jump) > .e-con-inner { border-bottom: 0; }
}
body.admin-bar:has(.nrwz-hallo-brand) .elementor > .e-con:has(.hr-jump) { top: 32px; }
@media (max-width: 782px) { body.admin-bar:has(.nrwz-hallo-brand) .elementor > .e-con:has(.hr-jump) { top: 0; } }
.hr-jump { overflow-x: auto; scrollbar-width: none; }
.hr-jump::-webkit-scrollbar { display: none; }
.hr-jump__list { display: flex; gap: 0 4px; margin: 0; padding: 0; list-style: none; white-space: nowrap; }
.hr-jump__list a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--hr-muted, #5c5c5c); font-family: var(--hr-ui, system-ui, sans-serif); font-size: 15px; font-weight: 600; text-decoration: none; }
.hr-jump__list li:first-child a { padding-left: 0; }
.hr-jump__list a:hover { color: var(--hr-ink, #1a1a1a); text-decoration: underline; text-underline-offset: .2em; }
.hr-jump__list a:focus-visible { outline: 3px solid var(--hr-accent, #bb2727); outline-offset: -3px; }
/* Eintrag zur Kooperation: Schrift wie die übrigen Einträge, dazu ein Greenery-Unterstrich (Greenery ist als Schrift zu hell). */
.hr-jump__list a:is([href="#landesgartenschau"], [href="#kooperation"]) { box-shadow: inset 0 -2px 0 var(--hr-coop, #88b04b); }
/* 0.14.0: Abschnitt, in dem man gerade liest (portal-navigation.js setzt aria-current). Dunkler Unterstrich, nicht grün und
   nicht rot: Rot markiert die Seite im Hauptmenü, Grün die Gartenschau-Kooperation. */
.hr-jump__list a[aria-current="location"] { color: var(--hr-ink, #1a1a1a); box-shadow: inset 0 -3px 0 var(--hr-ink, #1a1a1a); }
.hr-jump__list a[aria-current="location"]:is([href="#landesgartenschau"], [href="#kooperation"]) { color: var(--hr-coop-ink, #000); box-shadow: inset 0 -3px 0 var(--hr-ink, #1a1a1a); }
@media (max-width: 767px) {
    .hr-jump { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent); }
    .hr-jump__list { padding-right: 32px; }
}
body:has(.hr-jump) :is(.e-con[id], .block-h[id], section[id]) { scroll-margin-top: 64px; }
@media (prefers-reduced-motion: no-preference) { html:has(.hr-jump) { scroll-behavior: smooth; } }

/* Artikelkarten (Foxiz): ganze Karte klickbar über den Titellink (keine verschachtelten Links), dezenter Hover,
   deutlicher Fokus. Rubrik und Autor bleiben eigene Links über der Fläche. */
body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) .p-wrap { position: relative; }
body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) .p-wrap .entry-title .p-url::after { content: ""; position: absolute; inset: 0; z-index: 1; }
body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) .p-wrap :is(.p-categories, .p-meta) { z-index: 2; }
body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) .p-wrap .p-meta, body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) .p-list-2 .p-categories { position: relative; }
body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) .p-wrap:hover .entry-title a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) .p-wrap .p-url:focus-visible { outline: none; }
body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) .p-wrap:has(.p-url:focus-visible) { outline: 3px solid var(--hr-accent); outline-offset: 4px; }
body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) .p-wrap :is(.p-meta, .meta-el) { font-size: 13px; }
/* Große Karten: Bilder 16:9, Schlagzeile 19–21 px, Teaser 16 px auf drei Zeilen. */
body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) .p-grid-1 .feat-holder { margin-bottom: 12px; }
body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) .p-grid-1 .p-featured { aspect-ratio: 16 / 9; height: auto; padding-bottom: 0; }
body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) :is(.p-grid-1, .p-list-2) .p-featured img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) .p-grid-1 .entry-title { font-size: clamp(19px, .5vw + 14px, 21px); line-height: 1.3; }
body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) .p-list-box-1 .entry-summary { font-size: 16px; line-height: 1.5; } /* Unterzeile aus dem Auszug, wie von der Redaktion gepflegt */
body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) .p-grid-1 .entry-summary { display: -webkit-box; overflow: hidden; font-size: 16px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
/* Nachrichtenlisten: 16:9-Bild links (Desktop bis 220 px, Handy 120 px), Schlagzeile daneben. */
body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) .p-list-2 .list-holder { --list-holder-spacing: 0px; --list-holder-margin: 0px; display: flex; flex-flow: row nowrap; align-items: flex-start; gap: 16px; }
body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) .p-list-2 .list-feat-holder { flex: 0 0 38%; width: 38%; max-width: 220px; margin: 0; }
body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) .p-list-2 .p-featured { aspect-ratio: 16 / 9; height: auto; padding-bottom: 0; }
body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) .p-list-2 .p-content { flex: 1; min-width: 0; }
body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) .p-list-2 .entry-title { font-size: clamp(18px, .3vw + 15px, 19px); line-height: 1.3; }
@media (max-width: 767px) {
    /* Foxiz setzt das Listenbild auf dem Handy mit !important auf volle Breite; hier bewusst eine kompakte Liste. */
    body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) .p-list-2 .list-feat-holder { flex: 0 0 var(--hr-thumb); width: var(--hr-thumb) !important; min-width: 0; max-width: var(--hr-thumb) !important; margin-bottom: 0; }
    body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) .p-list-2 .entry-title { font-size: 17px; }
    body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) .p-list-2 .p-categories { margin-bottom: 4px; }
}

/* 0.14.0: Mobile Rubriken nach dem Prinzip „ein Aufmacher, der Rest kompakt“ (alle Foxiz-Raster der Hallo-Seiten:
   Schramberg, Oberndorf/Sulz, Rund um Rottweil, Gartenschau-Berichte, Kultur, Lesetipps …). Desktop und Tablet bleiben mehrspaltig.
   Erster Beitrag groß in 16:9, alle weiteren mit Bild links (88–120 px nach Fensterbreite) und Schlagzeile rechts; Teaser und
   Ortsmarke entfallen nur in diesen kompakten Zeilen, der Beitrag selbst bleibt unverändert und ganz klickbar.
   Abstand zwischen Einträgen 20 px mit dezenter Linie statt rund 60 px (Foxiz: 30 px Lücke plus 30 px Innenabstand). */
body:has(.nrwz-hallo-brand) { --hr-thumb: clamp(88px, 28vw, 120px); }
@media (max-width: 767px) {
    /* Einspaltig: Foxiz-Spaltenabstand (negativer Rand plus Innenabstand) auflösen, damit Bilder und Linien am Seitenrand stehen. */
    body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) :is(.block-grid-1, .block-list-2) .block-inner { row-gap: 0; margin-inline: 0; }
    body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) :is(.block-grid-1, .block-list-2) .block-inner > .p-wrap { padding-inline: 0; }
    body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) .p-list-2 { padding-block: 10px !important; border-bottom: 1px solid var(--hr-line); }
    body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) .p-list-2:first-child { padding-top: 0 !important; }
    body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) .p-list-2:last-child { border-bottom: 0; }
    body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) .block-grid-1 .p-grid-1:first-child { padding-bottom: 16px; }
    body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) .block-grid-1 .p-grid-1:not(:first-child) { display: grid; grid-template-columns: var(--hr-thumb) minmax(0, 1fr); column-gap: 12px; align-items: start; padding-block: 10px; border-top: 1px solid var(--hr-line); }
    body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) .block-grid-1 .p-grid-1:not(:first-child) .feat-holder { grid-column: 1; grid-row: 1 / span 2; margin: 0; }
    body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) .block-grid-1 .p-grid-1:not(:first-child) :is(.entry-title, .p-meta) { grid-column: 2; min-width: 0; }
    body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) .block-grid-1 .p-grid-1:not(:first-child) .entry-title { margin: 0 0 4px; font-size: 17px; line-height: 1.3; }
    body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) .block-grid-1 .p-grid-1:not(:first-child) :is(.entry-summary, .p-categories) { display: none; }
    body:has(.nrwz-hallo-brand) .elementor:not(.elementor-location-header) .block-grid-1 .p-grid-1:not(:first-child) .p-meta { margin: 0; }
}
