/*
Theme Name: NZ Betra 2
Theme URI: https://nz-betra.de/
Description: Astra-Child-Theme fuer die Narrenzunft Betra, neues Design (eigenes Theme neben "NZ Betra", jederzeit umschaltbar): modernes Layout mit Titelbild-Startseite, Karten und Vereinsfarben. Schriften (Barlow, SIL OFL 1.1) liegen im Theme, keine externen Ressourcen.
Author: nz-betra.de
Template: astra
Version: 2.4.2
Requires at least: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nzb-betra
*/

/* Farben, Schriftgroessen und Header/Footer-Aufbau kommen aus inc/astra-defaults.php. */

/* ==== Schriften (lokal, latin) ==== */
@font-face {
	font-family: "Barlow";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/barlow-400.woff2") format("woff2");
}
@font-face {
	font-family: "Barlow";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("assets/fonts/barlow-600.woff2") format("woff2");
}
@font-face {
	font-family: "Barlow Condensed";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("assets/fonts/barlow-condensed-700.woff2") format("woff2");
}

:root {
	--nzb-ink: #1E2418;
	--nzb-muted: #5B6652;
	--nzb-green: #8AB63D;
	--nzb-green-dark: #4F7A1F;
	--nzb-orange: #C2380B;
	--nzb-orange-dark: #8F2908;
	--nzb-tint: #F4F7EF;
	--nzb-line: #E1E7D8;
	--nzb-footer: #23380F;
	--nzb-radius: 12px;
	--nzb-wrap: 1200px;
	--nzb-gutter: 32px;
}
@media (max-width: 820px) {
	:root { --nzb-gutter: 20px; }
}

/* ==== Grundlagen ==== */
body {
	line-height: 1.65;
	color: var(--nzb-ink);
}
h1, h2, h3, h4, h5, h6,
.entry-content :where(h1, h2, h3, h4, h5, h6) {
	line-height: 1.1;
	letter-spacing: 0;
}
.entry-content p { margin-bottom: 1.1em; }
.entry-content a:where(:not(.wp-element-button):not(.nzb-gruppe):not(.nzb-kachel):not(.nzb-dl__button)) {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
/* Karten, Kacheln und Buttons nie unterstreichen (Astra unterstreicht Inhaltslinks). */
.entry-content a.nzb-gruppe,
.entry-content a.nzb-kachel,
.entry-content a.nzb-dl__button,
.entry-content .wp-block-button__link,
.entry-content .nzb-posts a { text-decoration: none; }
a:focus-visible,
button:focus-visible,
.wp-element-button:focus-visible {
	outline: 3px solid var(--nzb-orange);
	outline-offset: 3px;
}
::selection { background: var(--nzb-green); color: #1A2610; }

/* ==== Header ==== */
#masthead {
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 2px 10px rgba(30, 36, 24, 0.12);
}
.admin-bar #masthead { top: 32px; }
@media (max-width: 782px) {
	.admin-bar #masthead { top: 46px; }
}
@media (max-width: 600px) {
	.admin-bar #masthead { top: 0; } /* WP-Adminleiste scrollt hier mit */
}
#masthead .site-branding { padding: 0; }

/* Hauptmenue */
#ast-hf-menu-1 > .menu-item > .menu-link {
	padding: 0 10px;
	font-weight: 600;
	white-space: nowrap;
}
/* "Termine" steht als Button daneben: Menuepunkt auf dem Desktop nicht doppelt zeigen (mobil bleibt er). */
#ast-hf-menu-1 > .menu-item:has(> .menu-link[href$="/termine/"]) { display: none; }
/* Auf Gruen: Hover/aktiv als dunkler Balken unter dem Menuepunkt statt Farbwechsel. */
#ast-hf-menu-1 > .menu-item > .menu-link { box-shadow: inset 0 -3px 0 transparent; transition: box-shadow 0.15s ease-out; }
#ast-hf-menu-1 > .menu-item > .menu-link:hover,
#ast-hf-menu-1 > .menu-item.focus > .menu-link,
#ast-hf-menu-1 > .current-menu-item > .menu-link,
#ast-hf-menu-1 > .current-menu-ancestor > .menu-link { color: #1A2610; box-shadow: inset 0 -3px 0 #1A2610; }
#ast-hf-menu-1 .sub-menu {
	padding: 8px;
	border: 1px solid var(--nzb-line);
	border-radius: var(--nzb-radius);
	box-shadow: 0 12px 28px rgba(30, 36, 24, 0.14);
	background: #fff;
}
#ast-hf-menu-1 .sub-menu .menu-item { border: 0; }
#ast-hf-menu-1 .sub-menu .menu-link {
	padding: 9px 12px;
	border: 0;
	border-radius: 8px;
	font-size: 15px;
	color: var(--nzb-ink);
}
#ast-hf-menu-1 .sub-menu .menu-link:hover,
#ast-hf-menu-1 .sub-menu .current-menu-item > .menu-link {
	background: var(--nzb-tint);
	color: var(--nzb-orange);
}

/* Termine-Button im Header */
.ast-header-button-1 .ast-custom-button,
.ast-header-button-1 .ast-custom-button-link .ast-custom-button {
	padding: 11px 18px;
	border: 0;
	border-radius: 8px;
	background: var(--nzb-orange);
	color: #fff;
	font-weight: 600;
	font-size: 15px;
	line-height: 1.2;
	white-space: nowrap;
}
.ast-header-button-1 .ast-custom-button:hover,
.ast-header-button-1 .ast-custom-button-link:hover .ast-custom-button {
	background: var(--nzb-orange-dark);
	color: #fff;
}
#masthead .ast-builder-layout-element.ast-header-button-1 { margin-left: 10px; }

/* Mobil: Hamburger und aufklappendes Menue */
.ast-mobile-header-wrap .menu-toggle.main-header-menu-toggle {
	width: 48px;
	height: 48px;
	border: 1px solid #DCE2D3;
	border-radius: 10px;
	background: #fff;
	color: var(--nzb-ink);
}
.ast-mobile-header-wrap .menu-toggle .ast-mobile-svg { fill: var(--nzb-ink); }
.ast-mobile-header-content,
#ast-mobile-header .ast-mobile-header-content {
	background: #fff;
	border-top: 1px solid rgba(26, 38, 16, 0.2);
	box-shadow: 0 16px 24px rgba(30, 36, 24, 0.12);
}
#ast-hf-mobile-menu .menu-item > .menu-link {
	padding: 13px var(--nzb-gutter);
	line-height: 22px;
	font-weight: 600;
	border-color: #EEF1EA;
}
#ast-hf-mobile-menu .sub-menu .menu-link {
	padding-left: calc(var(--nzb-gutter) + 16px);
	font-weight: 400;
}

/* ==== Pfadnavigation (Unterseiten) ==== */
.nzb-breadcrumb {
	max-width: calc(860px + 2 * var(--nzb-gutter)); /* buendig mit der Lesebreite der Unterseiten */
	margin: 0 auto;
	text-align: left;
	padding: 28px var(--nzb-gutter) 0;
	font-size: 14px;
	color: var(--nzb-muted);
}
.nzb-breadcrumb a {
	color: var(--nzb-muted);
	text-decoration: none;
}
.nzb-breadcrumb a:hover { color: var(--nzb-orange); text-decoration: underline; }
.nzb-breadcrumb__sep { padding: 0 8px; opacity: 0.6; }
.nzb-breadcrumb__current { color: var(--nzb-ink); font-weight: 600; }

/* ==== Inhaltsbereich ==== */
.site-content > .ast-container {
	max-width: var(--nzb-wrap);
	padding-left: var(--nzb-gutter);
	padding-right: var(--nzb-gutter);
}
/* Unterseiten: angenehme Lesebreite. */
.ast-no-sidebar:not(.nzb-front-sections) #primary {
	max-width: 860px;
	margin: 20px auto 96px;
}
header.entry-header .entry-title { margin-bottom: 8px; }

/* Startseite: volle Breite ohne Abstaende (Abschnitte bringen ihre eigenen mit). */
.nzb-front-sections .site-content > .ast-container { max-width: none; padding: 0; }
.nzb-front-sections #primary,
.nzb-front-sections #primary > .site-main > article { margin: 0; padding: 0; }
.nzb-front-sections .entry-content > :last-child { margin-bottom: 0; }
/* Gruppen-Karten unter dem Inhalt der Seite "Maskengruppen" */
.entry-content > .nzb-gruppen { margin-top: 40px; }

/* ==== Startseite: Abschnitte ==== */
.nzb-section {
	padding-block: 88px;
	/* !important: Astra setzt eigene Innenabstaende fuer Gruppen mit voller Breite. */
	padding-inline: max(var(--nzb-gutter), calc((100% - var(--nzb-wrap)) / 2 + var(--nzb-gutter))) !important;
	margin: 0 !important;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	column-gap: 16px;
	align-items: end;
}
.nzb-section > * { grid-column: 1 / -1; margin-top: 0; }
.nzb-section--tint { background: var(--nzb-tint); }
.nzb-eyebrow {
	margin: 0 0 6px !important;
	color: var(--nzb-green-dark);
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.nzb-section__title {
	grid-column: 1 / 2;
	margin: 0 0 32px !important;
	font-size: 44px;
}
.nzb-more {
	grid-column: 2 / 3;
	grid-row: 2;
	margin: 0 0 36px !important;
	font-weight: 600;
}
.nzb-more a { text-decoration: none !important; }
.nzb-more a::after { content: " →"; }
.nzb-section > .nzb-eyebrow { grid-column: 1 / -1; }

/* Titelbild */
.nzb-hero.wp-block-cover {
	min-height: 620px;
	margin: 0 !important;
	padding: 0 max(var(--nzb-gutter), calc((100% - var(--nzb-wrap)) / 2 + var(--nzb-gutter))) 64px;
	background: var(--nzb-footer);
}
.nzb-hero.wp-block-cover::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(20, 28, 12, 0.05) 30%, rgba(20, 28, 12, 0.82) 100%);
}
.nzb-hero .wp-block-cover__inner-container {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 780px;
	color: #fff;
}
body .nzb-hero.wp-block-cover .wp-block-cover__inner-container p.nzb-hero__badge {
	display: inline-block;
	margin: 0 0 18px !important;
	padding: 6px 12px;
	border-radius: 6px;
	background: var(--nzb-green);
	color: #1A2610;
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.04em;
}
.nzb-hero .nzb-hero__title {
	margin: 0 0 12px;
	color: #fff;
	font-size: 72px;
	line-height: 1;
}
body .nzb-hero.wp-block-cover .wp-block-cover__inner-container p.nzb-hero__text {
	margin: 0 0 28px !important;
	max-width: 620px;
	font-size: 20px;
	line-height: 1.5;
	color: #EEF3E6;
}

/* Buttons */
.nzb-btn .wp-block-button__link {
	padding: 15px 24px;
	border-radius: 10px;
	background: var(--nzb-orange);
	color: #fff;
	font-weight: 600;
	font-size: 16px;
	text-decoration: none;
}
.nzb-btn .wp-block-button__link:hover { background: var(--nzb-orange-dark); color: #fff; }
.nzb-btn--hell .wp-block-button__link { background: #fff; color: var(--nzb-ink); }
.nzb-btn--hell .wp-block-button__link:hover { background: var(--nzb-tint); color: var(--nzb-ink); }

/* Termine */
.nzb-termine.wp-block-columns { gap: 24px; margin: 0; }
.nzb-termin.wp-block-column {
	display: grid;
	grid-template-columns: 76px minmax(0, 1fr);
	column-gap: 20px;
	align-items: center;
	align-content: center;
	padding: 20px;
	border: 1px solid var(--nzb-line);
	border-radius: var(--nzb-radius);
	background: #fff;
}
.nzb-termin > * { grid-column: 2; margin: 0 !important; }
.nzb-termin__datum {
	grid-column: 1 !important;
	grid-row: 1 / span 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 84px;
	border-radius: 10px;
	background: var(--nzb-green-dark);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1.1;
}
.nzb-termin__datum strong {
	font-family: "Barlow Condensed", sans-serif;
	font-size: 38px;
	font-weight: 700;
	letter-spacing: 0;
}
.nzb-termin__tag { font-size: 13px; font-weight: 600; color: var(--nzb-muted); }
.nzb-termin .nzb-termin__titel { font-size: 24px; margin: 2px 0 !important; }
.nzb-termin__ort { font-size: 15px; color: var(--nzb-muted); }

/* Maskengruppen-Karten */
.nzb-gruppen {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}
.nzb-gruppe {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 14px;
	background: var(--nzb-green);
	color: #fff;
	text-decoration: none;
	transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
}
.nzb-gruppe img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease-out;
}
.nzb-gruppe__name {
	position: absolute;
	inset: auto 0 0;
	padding: 40px 18px 16px;
	background: linear-gradient(180deg, rgba(20, 28, 12, 0) 0%, rgba(20, 28, 12, 0.85) 100%);
	font-family: "Barlow Condensed", sans-serif;
	font-size: 26px;
	font-weight: 700;
	line-height: 1;
}
.nzb-gruppe__name::after { content: " →"; }
.nzb-gruppe--ohne-bild .nzb-gruppe__name { background: none; color: #1A2610; }
/* Kleine alte Grafiken: unverzerrt auf hellem Grund, Name auf gruenem Band. */
.nzb-gruppe--figur { background: var(--nzb-tint); border: 1px solid var(--nzb-line); }
.nzb-gruppe--figur img {
	inset: 14px 14px 58px;
	width: calc(100% - 28px);
	height: calc(100% - 72px);
	object-fit: contain;
}
.nzb-gruppe--figur .nzb-gruppe__name { padding: 14px 18px; background: var(--nzb-green-dark); }
.nzb-gruppe--figur:hover img { transform: scale(1.04); }
.nzb-gruppe:hover,
.nzb-gruppe:focus-visible { color: #fff; transform: translateY(-3px); box-shadow: 0 10px 24px rgba(30, 36, 24, 0.16); }
.nzb-gruppe:hover img { transform: scale(1.05); }

/* Pinnwand-Karten (Block "Neueste Beitraege") */
.nzb-posts.wp-block-latest-posts.is-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
}
.nzb-posts.is-grid li {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: auto !important;
	margin: 0 !important;
	padding: 24px;
	border: 1px solid var(--nzb-line);
	border-radius: var(--nzb-radius);
	background: #fff;
}
.nzb-posts .wp-block-latest-posts__post-title {
	order: 2;
	font-family: "Barlow Condensed", sans-serif;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.1;
	color: var(--nzb-ink);
	text-decoration: none !important;
}
.nzb-posts .wp-block-latest-posts__post-title:hover { color: var(--nzb-orange); }
.nzb-posts .wp-block-latest-posts__post-date { order: 1; font-size: 13px; color: var(--nzb-muted); }
.nzb-posts .wp-block-latest-posts__post-excerpt { order: 3; margin: 0; color: #4A5342; }
.nzb-posts .wp-block-latest-posts__post-excerpt a { font-weight: 600; }

/* Pinnwand-Notizen (Plugin Korkwand, Block "Neueste Notizen") als Karten */
.nzb-pins .korkwand-latest__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.nzb-pins .korkwand-latest__item {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 24px 24px 24px 28px;
	border: 1px solid var(--nzb-line);
	border-radius: var(--nzb-radius);
	background: #fff;
	transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
}
.nzb-pins .korkwand-latest__item::before {
	content: "";
	position: absolute;
	top: 18px;
	left: 0;
	width: 4px;
	height: 28px;
	border-radius: 0 4px 4px 0;
	background: var(--nzb-orange);
}
.nzb-pins .korkwand-latest__item:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(30, 36, 24, 0.12); }
.nzb-pins .korkwand-latest__item > a,
.nzb-pins .korkwand-latest__label {
	order: 2;
	font-family: "Barlow Condensed", sans-serif;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.15;
	color: var(--nzb-ink);
	text-decoration: none !important;
}
.nzb-pins .korkwand-latest__item > a::after { content: ""; position: absolute; inset: 0; } /* ganze Karte klickbar */
.nzb-pins .korkwand-latest__item > a:hover { color: var(--nzb-orange); }
.nzb-pins .korkwand-latest__item time { order: 1; font-size: 13px; color: var(--nzb-muted); opacity: 1; }
.nzb-pins .korkwand-latest__author { order: 3; font-size: 13px; }
.nzb-pins .korkwand-latest__empty {
	padding: 24px;
	border: 1px dashed var(--nzb-line);
	border-radius: var(--nzb-radius);
	background: #fff;
	font-size: 16px;
	opacity: 1;
	color: var(--nzb-muted);
}
@media (max-width: 820px) {
	.nzb-pins .korkwand-latest__list { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}

/* Schnellzugriff */
.nzb-kacheln {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}
.nzb-kachel {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-height: 132px;
	padding: 22px;
	border: 1px solid var(--nzb-line);
	border-radius: var(--nzb-radius);
	color: var(--nzb-ink);
	text-decoration: none;
	transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
}
.nzb-kachel:hover,
.nzb-kachel:focus-visible { color: var(--nzb-ink); transform: translateY(-3px); box-shadow: 0 10px 24px rgba(30, 36, 24, 0.12); }
.nzb-kachel__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: #EEF5E2;
	color: var(--nzb-green-dark);
}
.nzb-kachel__titel { font-family: "Barlow Condensed", sans-serif; font-size: 24px; font-weight: 700; }
.nzb-kachel__text { font-size: 14px; color: var(--nzb-muted); }

.nzb-hinweis { padding: 12px 16px; border-radius: 8px; background: #FBE7DF; color: var(--nzb-orange-dark); }

@media (max-width: 1024px) {
	.nzb-gruppen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nzb-kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
	.nzb-section { padding-block: 56px; }
	.nzb-section__title { font-size: 34px; margin-bottom: 20px !important; }
	.nzb-more { grid-column: 1 / -1; grid-row: auto; order: 9; margin: 20px 0 0 !important; }
	.nzb-hero.wp-block-cover { min-height: 560px; padding-bottom: 40px; }
	.nzb-hero.wp-block-cover::after { background: linear-gradient(180deg, rgba(20, 28, 12, 0.1) 10%, rgba(20, 28, 12, 0.88) 60%); }
	.nzb-hero .nzb-hero__title { font-size: 44px; }
	body .nzb-hero.wp-block-cover .wp-block-cover__inner-container p.nzb-hero__text { font-size: 18px; }
	.nzb-hero__buttons.wp-block-buttons { gap: 12px; }
	.nzb-termine.wp-block-columns { gap: 14px; }
	.nzb-gruppen { gap: 14px; }
	.nzb-gruppe__name { padding: 32px 12px 12px; font-size: 21px; }
	.nzb-posts.wp-block-latest-posts.is-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.nzb-kacheln { gap: 12px; }
	.nzb-kachel { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
	.nzb-gruppe, .nzb-gruppe img, .nzb-kachel { transition: none; }
	.nzb-gruppe:hover, .nzb-kachel:hover { transform: none; }
	.nzb-gruppe:hover img { transform: none; }
}

/* ==== Bestehende Bausteine aus 1.x (Startseiten-Markup "Featured") ==== */
.nzb-featured {
	margin: 0 0 30px;
	padding: 24px;
	border: 1px solid var(--nzb-line);
	border-radius: var(--nzb-radius);
}
.nzb-featured h2 { margin: 12px 0 8px; }
.nzb-badge {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 6px;
	background: #FBE7DF;
	color: var(--nzb-orange-dark);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
}

/* Tabellen im Inhalt (z. B. Termine) */
.entry-content .wp-block-table table { border-collapse: collapse; }
.entry-content .wp-block-table td,
.entry-content .wp-block-table th {
	padding: 8px 16px 8px 0;
	border: 0;
	border-bottom: 1px solid var(--nzb-line);
}

/* Bilder im Inhalt: leicht gerundet */
.entry-content img { border-radius: 8px; }
/* E-Mail-Bilder (Narrenrat): Originalgroesse, nie stauchen. Die Joomla-Tabellen haben feste
   Breiten (z. B. 47 %), die die Adress-Spalte auf ~70 px druecken: Breite freigeben. */
.entry-content img.nzb-mail {
	display: inline-block;
	max-width: none;
	border-radius: 0;
	vertical-align: middle;
}
.entry-content table:has(img.nzb-mail) {
	width: auto !important;
	height: auto !important;
	max-width: 100%;
}
.entry-content table:has(img.nzb-mail) td,
.entry-content table:has(img.nzb-mail) th { height: auto !important; }
.entry-content td:has(> img.nzb-mail) { white-space: nowrap; width: auto !important; }
@media (max-width: 600px) {
	/* Handy: jede Zeile als Block (Amt, Name, Adresse untereinander) statt gestauchter Spalten */
	.entry-content table:has(img.nzb-mail),
	.entry-content table:has(img.nzb-mail) tbody,
	.entry-content table:has(img.nzb-mail) tr,
	.entry-content table:has(img.nzb-mail) td { display: block; width: auto !important; }
	.entry-content table:has(img.nzb-mail) { border: 0; }
	.entry-content table:has(img.nzb-mail) tr { padding: 10px 0; border-bottom: 1px solid var(--nzb-line); }
	.entry-content table:has(img.nzb-mail) td { padding: 2px 0; border: 0; }
}

/* ==== Footer (Vereinsgruen, dunkle Schrift) ==== */
.site-primary-footer-wrap {
	padding-top: 64px;
	padding-bottom: 40px;
	color: #1A2610;
}
.site-primary-footer-wrap .widget-title,
.site-primary-footer-wrap h2,
.site-primary-footer-wrap h3 {
	margin-bottom: 14px;
	color: #1A2610;
	font-size: 22px;
}
.site-primary-footer-wrap a,
.site-primary-footer-wrap .widget a { color: #1A2610; text-decoration: none; }
.site-primary-footer-wrap a:hover { color: #1A2610; text-decoration: underline; text-underline-offset: 3px; }
.site-primary-footer-wrap ul { margin: 0; list-style: none; }
.site-primary-footer-wrap li { margin-bottom: 8px; }
.site-below-footer-wrap { padding-top: 20px; padding-bottom: 28px; }
.ast-footer-copyright a,
.ast-footer-copyright a:hover,
.ast-footer-copyright a:focus { color: #1A2610; }
.ast-footer-copyright a:hover { text-decoration: underline; }
/* Wappen links neben der Copyright-Zeile, mobil zentriert darueber */
.ast-footer-copyright p { display: flow-root; margin: 0; }
.ast-footer-copyright .nzb-wappen {
	float: left;
	width: auto;
	height: 56px;
	margin: 0 16px 0 0;
}
@media (max-width: 544px) {
	.ast-footer-copyright .nzb-wappen { float: none; display: block; margin: 0 auto 10px; }
}
/* Fokusrahmen auf Gruen dunkel statt Orange */
#masthead a:focus-visible, #masthead button:focus-visible,
.site-footer a:focus-visible { outline-color: #1A2610; }

/* Scroll-Up */
#ast-scroll-top {
	width: 44px;
	height: 44px;
	line-height: 44px;
	border-radius: 50%;
	box-shadow: 0 6px 16px rgba(30, 36, 24, 0.25);
}

/* ==========================================================================
   Download-Liste (Download Monitor, Template "nzb")
   Shortcode: [downloads template="nzb" orderby="title" order="ASC"]
   ========================================================================== */
.dlm-downloads:has(.nzb-dl) {
	display: grid;
	gap: 12px;
	list-style: none;
	margin: 0 0 2em;
	padding: 0;
}
.dlm-downloads:has(.nzb-dl) > li { margin: 0; padding: 0; }
.nzb-dl {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 20px;
	border: 1px solid var(--nzb-line);
	border-radius: var(--nzb-radius);
	background: #fff;
}
.nzb-dl__title {
	margin-bottom: 4px;
	font-family: "Barlow Condensed", sans-serif;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.15;
}
.nzb-dl__file { font-size: 14px; color: var(--nzb-muted); word-break: break-word; }
.nzb-dl__file a { color: var(--nzb-muted); }
.nzb-dl__type {
	display: inline-block;
	margin-right: 6px;
	padding: 0 6px;
	border-radius: 4px;
	background: #FBE7DF;
	color: var(--nzb-orange-dark);
	font-size: 11px;
	font-weight: 600;
	line-height: 18px;
	vertical-align: 1px;
}
a.nzb-dl__button,
a.nzb-dl__button:visited {
	flex-shrink: 0;
	display: inline-block;
	padding: 10px 18px;
	border-radius: 8px;
	background: var(--nzb-green-dark);
	color: #fff;
	font-weight: 600;
	text-decoration: none;
}
a.nzb-dl__button:hover,
a.nzb-dl__button:focus-visible { background: var(--nzb-footer); color: #fff; }
@media (max-width: 575px) {
	.nzb-dl { flex-direction: column; align-items: flex-start; gap: 10px; }
}
