/* =========================================================================
   SHOGUN MODERN — globales Design (child of zeeDynamic 1.7.9), v2.0
   Mutiges Editorial: Barlow Condensed (Display) + Open Sans (Fliesstext),
   Hinomaru-Rot als Akzent, warme Papier-Grundfarbe, weisse Karten.
   Header-Bild (Samurai-Emblem) bleibt ERHALTEN (Vorgabe Andreas 2026-11-25).
   Kein CDN, alle Fonts lokal.
   ========================================================================= */

/* ------------------------------------------------------------------ Fonts
   Barlow Condensed lokal (Fontsource, latin-ext) — kein CDN. */
@font-face {
	font-family: 'Barlow Condensed';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('../fonts/barlow-condensed-500.woff2') format('woff2');
}
@font-face {
	font-family: 'Barlow Condensed';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('../fonts/barlow-condensed-600.woff2') format('woff2');
}
@font-face {
	font-family: 'Barlow Condensed';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../fonts/barlow-condensed-700.woff2') format('woff2');
}

:root {
	--sg-red:        #C1121F;   /* Hinomaru-Rot (Markenrot, AA auf Weiss 6.4:1) */
	--sg-red-dark:   #8F0D16;   /* Hover/Inhalts-Links (8.3:1) */
	--sg-red-tint:   #FBEFF0;   /* dezenter Rottint (Hover-Zeilen) */
	--sg-ink:        #1B1B1B;   /* Text auf Weiss */
	--sg-ink-soft:   #474747;   /* Sekundaertext (AA 8.4:1) */
	--sg-ink-mute:   #6E6E6E;   /* Meta (AA 4.9:1) */
	--sg-paper:      #F4F1EA;   /* warme Papier-Grundfarbe (Echo des Header-Bilds) */
	--sg-white:      #FFFFFF;
	--sg-border:     #E5E0D5;
	--sg-maxw:       1320px;    /* Container (mutiger: breiter als 1140px) */
	--sg-gutter:     28px;
	--sg-radius:     14px;      /* runde Karten */
	--sg-radius-sm:  8px;       /* Bilder, Inputs */
	--sg-shadow:     0 8px 24px rgba(27, 27, 27, .06);
	--sg-shadow-hi:  0 16px 38px rgba(27, 27, 27, .11);
	--sg-disp:       'Barlow Condensed', 'Open Sans', system-ui, sans-serif;
	--sg-body:       'Open Sans', system-ui, -apple-system, sans-serif;
}

/* ------------------------------------------------------------------ Base */
body {
	background: var(--sg-paper);
	color: var(--sg-ink);
	font-family: var(--sg-body);
	font-size: 17px;
	line-height: 1.55;
}

/* Bessere Basis-Farben fuer vererbbare Elemente. */
.site {
	max-width: var(--sg-maxw);
	background: var(--sg-white);
}

.container {
	padding-left: var(--sg-gutter);
	padding-right: var(--sg-gutter);
}

::selection {
	background: var(--sg-red);
	color: var(--sg-white);
}

/* ================================================================= HEADER
   Das Samurai-Header-Bild bleibt erhalten. Die Regel koennte auch aus dem
   Customizer-CSS (wp-custom-css, Inline am Ende von wp_head) kommen — daher
   !important, damit das Theme-Design sie verlaesslich beherrscht
   (Fallstrick 16/39). Bild liegt als Theme-Asset (ueberlebt Upload-Loeschung). */
.site-header {
	background: var(--sg-paper);
}

.header-main {
	box-sizing: border-box;
	padding-top: 1.1rem;
	padding-bottom: 1.1rem;
	background: #EAEAEA url("../img/shogun-header.jpg") no-repeat left center !important;
	background-size: 100% auto !important;
	/* Beide Spalten (Logo links, Suche rechts) vertikal mittig im Header. */
	display: flex;
	align-items: center;
	justify-content: space-between;
}

/* Container-Höhe = Bild-Format (1140:181): die Sonne/Samurai wird nie
   vertikal abgeschnitten. Content, der höher ist (sehr schmale Viewports),
   dehnt die Box einfach — das Bild bleibt zentriert. (Andreas 2026-11-25) */
@media (min-width: 60.06em) {
	.header-main {
		aspect-ratio: 1140 / 181;
	}
}

/* Clearfix-Pseudos (Parent) sind in einem Flex-Container eigene Items —
   space-between hätte sie in die Lücken geworfen und den Titel ~190px
   nach rechts in die Sonne geschoben. Bei Floats brauchte es sie, bei
   Flex nicht. (Bugfix 2026-11-25) */
.header-main::before,
.header-main::after {
	display: none;
}

/* Branding links: grosses rotes Display-Title (Francois One wird hier
   bewusst ersetzt — Barlow Condensed ist der mutigere Look). */
.site-branding {
	float: none;
	margin: 0;
}

/* Zweizeiliges Masthead: "SHOGUN-" / "MAGAZIN". Die max-width (5.5em,
   skaliert mit der Schrift) zwingt den Bruch an dem Bindestrich, damit
   der Titel garantiert VOR dem Samurai-Emblem endet (vermessen: bei
   54px endet Zeile 2 ~75px vor dem Kreisrand). */
.site-title,
.site-title:link,
.site-title a:link,
.site-title a:visited {
	margin: 0.1em 0.25em 0 0;
	max-width: 5.5em;
	color: var(--sg-red) !important;
	font-family: var(--sg-disp);
	font-weight: 700;
	font-size: clamp(30px, 4.2vw, 54px) !important;
	line-height: 1.05;
	letter-spacing: .5px;
	text-transform: uppercase;
	transition: color .2s ease;
}

.site-title a:hover,
.site-title a:active {
	color: var(--sg-red-dark) !important;
}

.site-description {
	/* Customizer-Tagline ist derselbe Slogan wie das Text-Widget rechts
	   unter der Suche — Duplikat ausblenden (Subtitle steht seit dem
	   Redesign 1x, rechtsbündig unter der Suche). */
	display: none;
	margin: .1em 0 0 .3em;
	font-size: .95rem;
	color: var(--sg-ink-soft);
}

/* Header-Widgets: RECHTS, als Spalte — Suchfeld oben, Subtitle (Text-Widget
   mit <h3>) DARUNTER, rechtsbguendig. Damit kollidiert der Subtitle nicht
   mehr mit dem Samurai-Emblem (Vorgabe Andreas 2026-11-25). */
.header-widgets {
	float: none;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: .5rem;
}

.header-widget {
	float: none;
	margin: 0;
	width: auto;
}

/* Suchformular: modernes Input-+Button-Paar. */
.search-form {
	display: flex;
	align-items: stretch;
}

.search-field {
	min-width: 220px;
	border: 2px solid var(--sg-border);
	border-right: none;
	border-radius: var(--sg-radius-sm) 0 0 var(--sg-radius-sm);
	padding: .55em .9em;
	margin: 0;
	font-size: .95rem;
	background: var(--sg-white);
	color: var(--sg-ink);
}

.search-submit {
	margin: 0;
	padding: 0 1.05em;
	border: none;
	border-radius: 0 var(--sg-radius-sm) var(--sg-radius-sm) 0;
	background: var(--sg-red) !important;
	cursor: pointer;
}

.search-submit:hover,
.search-submit:active {
	background: var(--sg-red-dark) !important;
}

.search-submit span,
.search-submit .genericon-search {
	color: var(--sg-white);
	font-size: 1.1rem;
}

/* Subtitle im Text-Widget (h3): unter der Suche, rechtsbguendig, edel-grau. */
.header-widget .textwidget h3 {
	margin: 0;
	font-family: var(--sg-disp);
	font-weight: 600;
	font-size: 1.15rem;
	line-height: 1.2;
	letter-spacing: .4px;
	color: var(--sg-ink-soft);
	text-align: right;
}

/* ==================================================================== NAV
   Weisse Leiste mit roter 3px-Linie (Signatur statt anthrazitfarbigem
   Balken). ID-Prefix #masthead, damit Parent-Pseudo-Klassen keinen
   Zugriff haben (Fallstrick 12). */
.primary-navigation {
	background: var(--sg-white);
	border-bottom: 3px solid var(--sg-red);
}

#masthead .main-navigation-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

#masthead .main-navigation-menu a {
	color: var(--sg-ink);
	font-family: var(--sg-disp);
	font-weight: 600;
	font-size: 1.08rem;
	letter-spacing: .8px;
	text-transform: uppercase;
	padding: .95em 1.5em;
	transition: background .18s ease, color .18s ease;
}

#masthead .main-navigation-menu a:hover,
#masthead .main-navigation-menu a:active {
	background: var(--sg-red);
	color: var(--sg-white) !important;
}

#masthead .main-navigation-menu > .current-menu-item > a,
#masthead .main-navigation-menu > .current-menu-ancestor > a {
	background: var(--sg-red);
	color: var(--sg-white) !important;
}

#masthead .main-navigation-menu > .menu-item-has-children > a:after {
	color: var(--sg-ink);
}

/* Dropdowns: weisse Karten mit rotem Akzent. */
#masthead .main-navigation-menu ul {
	background: var(--sg-white);
	border-top: 2px solid var(--sg-red);
	border-radius: 0 0 var(--sg-radius-sm) var(--sg-radius-sm);
	box-shadow: var(--sg-shadow-hi);
}

#masthead .main-navigation-menu ul a {
	color: var(--sg-ink);
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: .5px;
	padding: .75em 1.4em;
}

#masthead .main-navigation-menu ul a:hover,
#masthead .main-navigation-menu ul a:active {
	background: var(--sg-red-tint);
	color: var(--sg-red-dark) !important;
}

/* ================================================================ CONTENT
   Layout bleibt zeeDynamics Float (72/28) — KEIN grid (Fallstrick 1/31). */
.site-content {
	padding-top: 2.4rem;
	padding-bottom: 3.2rem;
	background: var(--sg-white);
}

.content-area {
	width: 72%;
	padding-right: calc(var(--sg-gutter) * 2);
}

.sidebar {
	width: 28%;
}

/* Blog-Index: den dunklen "Letzte Beitraege"-Balken komplett entfernen
   (doppeltes h1 + leere Kachel — Fallstrick 37). */
.home .page-header {
	display: none;
}

/* ------------------------------------------------------------------ Posts
   Runde, ruhige Karten mit Hover-Lift. */
.content-area .type-post,
.content-area .type-page {
	background: var(--sg-white);
	border: 1px solid var(--sg-border);
	border-radius: var(--sg-radius);
	box-shadow: var(--sg-shadow);
	padding: 1.7rem 1.8rem;
	margin-bottom: 1.8rem;
	transition: box-shadow .2s ease;
}

.content-area .type-post:hover,
.content-area .type-page:hover {
	box-shadow: var(--sg-shadow-hi);
}

.entry-title {
	font-family: var(--sg-disp);
	font-weight: 700;
	font-size: 1.95rem;
	line-height: 1.12;
	margin: .15rem 0 .45rem;
}

/* Seiten-Templates (z. B. /termine): Abstand zwischen Seiten-Überschrift
   und Inhalt (wie bei den Standard-Seiten) */
.site-main > .entry-header {
	margin: 0 0 1.3rem;
}

.entry-title a:link,
.entry-title a:visited {
	color: var(--sg-ink);
	text-decoration: none;
	transition: color .18s ease;
}

.entry-title a:hover,
.entry-title a:active,
.entry-title a:focus {
	color: var(--sg-red);
}

.entry-meta {
	font-size: .85rem;
	color: var(--sg-ink-mute);
	margin-bottom: .35rem;
}

.entry-meta a {
	color: var(--sg-ink-mute);
	text-decoration: none;
}

/* Kategorie als rote Pille — mutiger Akzent statt grauem Meta-Text. */
.meta-category a {
	display: inline-block;
	background: var(--sg-red);
	color: var(--sg-white) !important;
	border-radius: 999px;
	padding: .18em .95em;
	margin-right: .4em;
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .5px;
	text-transform: uppercase;
}

.meta-category a:hover {
	background: var(--sg-red-dark);
}

.entry-content {
	font-size: 1.02rem;
}

.entry-content > * + * {
	margin-top: 1rem;
}

.entry-content a:link,
.entry-content a:visited {
	color: var(--sg-red-dark);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.entry-content a:hover,
.entry-content a:active,
.entry-content a:focus {
	color: var(--sg-red);
}

/* WP-Caption-Figuren tragen Inline style="width:NNNpx" (z. B. 534px) —
   auf schmalen Viewports ueberlaeuft das. max-width klemmt die
   Inline-Breite, das innere Bild skaliert per max-width:100% mit. */
.entry-content figure,
.entry-content .wp-caption {
	max-width: 100%;
}

.entry-content img {
	border-radius: var(--sg-radius-sm);
}

.entry-content figure {
	margin: 1.2rem 0;
}

.entry-content .wp-caption-text,
.entry-content figcaption {
	font-size: .9rem;
	color: var(--sg-ink-soft);
}

/* Inhalts-Headlines: Display-Schrift, kräftig. */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
	font-family: var(--sg-disp);
	font-weight: 600;
	line-height: 1.2;
	color: var(--sg-ink);
}

.entry-content h1 { font-size: 1.9rem; }
.entry-content h2 { font-size: 1.6rem; }
.entry-content h3 { font-size: 1.35rem; }

/* Kategorie-/Tag-Pillen am Beitragsende (Parent-Default uebersteuern). */
.entry-categories .meta-categories a,
.entry-tags .meta-tags a {
	display: inline-block;
	padding: .25em .85em;
	margin: 0 .25em .2em 0;
	background: var(--sg-red);
	color: var(--sg-white) !important;
	border-radius: 999px;
	text-decoration: none;
	font-size: .8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .4px;
}

.entry-categories .meta-categories a:hover {
	background: var(--sg-red-dark);
}

/* "Weiterlesen"-Button (falls genutzt). */
.more-link {
	display: inline-block;
	background: var(--sg-red);
	color: var(--sg-white) !important;
	border-radius: 999px;
	padding: .4em 1.1em;
	font-family: var(--sg-disp);
	font-weight: 600;
	text-decoration: none;
}

.more-link:hover,
.more-link:focus {
	background: var(--sg-red-dark);
}

/* ------------------------------------------------------------ Pagination
   Rote Pillen (Parent gibt .pagination a:link color:#fff — mit
   Pseudo-Klassen-Spezifitaet uebersteuert, Fallstrick aus octagon). */
.pagination .page-numbers,
a.page-numbers:link,
a.page-numbers:visited {
	color: var(--sg-red-dark);
	font-weight: 600;
	background: var(--sg-white);
	border: 1px solid var(--sg-border);
	border-radius: 999px;
	padding: .35em .95em;
	margin-right: .3em;
	text-decoration: none;
}

.pagination .page-numbers.current,
a.page-numbers:hover,
a.page-numbers:focus {
	background: var(--sg-red);
	color: var(--sg-white) !important;
	border-color: var(--sg-red);
}

.post-navigation a:link,
.post-navigation a:visited {
	font-family: var(--sg-disp);
	font-weight: 600;
	font-size: 1.1rem;
	color: var(--sg-ink);
	text-decoration: none;
}

.post-navigation a:hover {
	color: var(--sg-red);
}

/* ============================================================== WIDGETS
   Runde weisse Karten, dunkler #333-Balken des Parents wird entfernt,
   Titel mit rotem Akzentstrich (Fallstrick 35). */
.widget {
	background: var(--sg-white);
	border: 1px solid var(--sg-border);
	border-radius: var(--sg-radius);
	box-shadow: var(--sg-shadow);
	padding: 1.25rem 1.35rem;
	margin-bottom: 1.6rem;
}

/* Verschachtelte Widget-Container (Slideshow-Widget gibt innen ein zweites
   <div class="widget"> aus) nicht doppelt kartieren (Fallstrick 36). */
.widget .widget {
	background: none;
	border: none;
	box-shadow: none;
	border-radius: 0;
	padding: 0;
	margin: 0;
}

.widget-header {
	background: none !important;
	margin: 0 0 .9rem;
	padding: 0;
}

.widget-header .widget-title,
.widget .widget-title {
	font-family: var(--sg-disp);
	font-weight: 600;
	font-size: 1.12rem;
	letter-spacing: .5px;
	text-transform: uppercase;
	color: var(--sg-ink);
	border-bottom: 2px solid var(--sg-red);
	padding: 0 0 .4rem;
	margin: 0;
}

.widget-title a:link,
.widget-title a:visited {
	color: var(--sg-ink);
	text-decoration: none;
}

.widget-title a:hover,
.widget-title a:active {
	color: var(--sg-red-dark);
}

/* Widget-Links: Tinte mit rotem Hover (ruhiger als reine Rot-Links). */
.widget a:link,
.widget a:visited {
	color: var(--sg-ink);
	text-decoration: none;
}

.widget a:hover,
.widget a:active,
.widget a:focus {
	color: var(--sg-red-dark);
	text-decoration: underline;
}

/* Listen in Widgets: sauber getrennt statt Buegel-Kreise. */
.widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.widget ul li {
	padding: .32rem 0;
	border-bottom: 1px solid var(--sg-border);
}

.widget ul li:last-child {
	border-bottom: none;
}

/* Slideshow (MetaSlider) als saubere Karte. */
/* Slideshow: neutraler Papierton (Slider ist aktuell leer — eine schwarze
   Box wuerde wie ein Loch wirken). */
.widget .metaslider,
.widget .ml-slider-wrap {
	border-radius: var(--sg-radius-sm);
	overflow: hidden;
	background: #EDEAE3;
}

/* ============================================================= TERMINE
   Event-Tabelle: weisse Karte, Rottint-Hover, Barlow-Condensed-Daten,
   Datum darf nie umbrechen (Fallstrick 19: width auf th+td, nowrap). */
.site-main > .event-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	table-layout: fixed;
	background: var(--sg-white);
	border: 1px solid var(--sg-border);
	border-radius: var(--sg-radius);
	box-shadow: var(--sg-shadow);
	overflow: hidden;
}

/* Spalten-Kopfzeile (wie octagon.at/termine): dunkle Leiste, weisse
   Großbuchstaben, rote Linie darunter. table-layout:fixed → Spaltenbreiten
   nur hier (erste Zeile) und im td-Regelwerk. */
.event-table thead th {
	background: var(--sg-ink);
	color: var(--sg-white);
	font-family: var(--sg-disp);
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	font-size: .8rem;
	padding: .7rem 1.1rem;
	text-align: left;
	border-bottom: 3px solid var(--sg-red);
}

.event-table thead th:nth-child(2) {
	width: 225px;
}

.event-table thead th:nth-child(3) {
	width: 64px;
}

.event-table .event-row {
	border-bottom: 1px solid var(--sg-border);
}

.event-table .event-row:last-child {
	border-bottom: none;
}

.event-table .event-row:nth-child(even) {
	background: #FAF8F2;
}

.event-table .event-row:hover {
	background: var(--sg-red-tint);
}

.event-table .event-text {
	padding: .85rem 1.1rem;
	font-size: .98rem;
	overflow-wrap: anywhere;
}

.event-table .event-date {
	padding: .85rem 1rem;
	width: 225px;
	white-space: nowrap;
	text-align: left;
	font-family: var(--sg-disp);
	font-weight: 600;
	font-size: 1.08rem;
	color: var(--sg-ink);
}

.event-table .event-date a:link,
.event-table .event-date a:visited {
	color: var(--sg-red-dark);
	text-decoration: none;
}

.event-table .event-date a:hover,
.event-table .event-date a:focus {
	text-decoration: underline;
}

.event-table .event-flag {
	padding: .85rem .6rem;
	width: 64px;
	text-align: center;
}

.event-table .flag {
	max-width: 30px;
	height: auto;
}

.no-events {
	text-align: center;
	padding: 2.5rem 1rem;
	color: var(--sg-ink-mute);
	font-size: 1.05rem;
}

.error {
	color: var(--sg-red-dark);
	padding: 1rem 1.2rem;
	background: var(--sg-red-tint);
	border: 1px solid #EFC9CC;
	border-radius: var(--sg-radius-sm);
	margin: 1rem 0;
}

/* ============================================================= LINKS
   Links-Seite: Kategorie-Headlines mit roter Linie + Link-Karten. */
.links-page-title {
	font-family: var(--sg-disp);
	font-weight: 700;
	font-size: 2.3rem;
	line-height: 1.1;
	margin: 0 0 1.6rem;
	color: var(--sg-ink);
}

.links-cat h2 {
	font-family: var(--sg-disp);
	font-weight: 600;
	font-size: 1.55rem;
	line-height: 1.2;
	color: var(--sg-ink);
	margin: 2.1rem 0 .9rem;
	padding-bottom: .35rem;
	border-bottom: 2px solid var(--sg-red);
}

.links-cat:first-of-type h2 {
	margin-top: 0;
}

.links-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
	gap: .9rem;
}

.links-item {
	background: var(--sg-white);
	border: 1px solid var(--sg-border);
	border-radius: 12px;
	box-shadow: var(--sg-shadow);
	padding: 1rem 1.15rem;
	transition: box-shadow .2s ease, transform .2s ease;
}

.links-item:hover {
	box-shadow: var(--sg-shadow-hi);
	transform: translateY(-2px);
}

.links-item a:link,
.links-item a:visited {
	display: block;
	font-family: var(--sg-disp);
	font-weight: 600;
	font-size: 1.2rem;
	line-height: 1.2;
	color: var(--sg-ink);
	text-decoration: none;
	transition: color .18s ease;
}

.links-item a:hover,
.links-item a:active,
.links-item a:focus {
	color: var(--sg-red);
}

.links-desc {
	display: block;
	margin-top: .35rem;
	font-size: .9rem;
	line-height: 1.45;
	color: var(--sg-ink-soft);
}

/* ================================================================ FOOTER
   Dunkle Leiste (bleibt dunkel — nur Farbe auf Tinte abgestimmt). */
.footer-wrap {
	background: var(--sg-ink);
	color: #D9D9D9;
	margin-top: 2.5rem;
}

.site-footer {
	padding: 1.6rem 0;
	font-size: .9rem;
}

.site-footer a:link,
.site-footer a:visited {
	color: var(--sg-white);
	text-decoration: underline;
}

.site-footer a:hover {
	color: #FF8A93;
}

/* ============================================================== REVEAL
   Fail-safe: nur verstecken wenn JS-Klasse gesetzt; nach 2.5s alles an
   (Fallstrick 2). */
html.js-reveal .reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity .5s ease, transform .5s ease;
}

html.js-reveal .reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* ============================================================ RESPONSIVE
   Stack-Breakpoint exakt auf dem Parent-Nav-Breakpoint (60em = 960px) —
   keine "tote Zone" (Fallstrick 29). Mobile-Header: Emblem-Crop zentriert
   ueber dem zentrierten Titel (Header-Bild bleibt auch mobil erhalten). */
@media only screen and (max-width: 60em) {

	.header-main {
		background: var(--sg-paper) url("../img/shogun-emblem.jpg") center top no-repeat !important;
		background-size: 150px auto !important;
		padding-top: 185px !important;
		padding-bottom: 1.3rem;
		flex-direction: column;
		align-items: center;
	}

	.site-branding {
		float: none;
		margin: 0;
		text-align: center;
	}

	.site-title,
	.site-title a:link,
	.site-title a:visited {
		font-size: clamp(30px, 9vw, 44px);
		display: inline-block;
	}

	.site-description {
		text-align: center;
		margin-left: 0;
	}

	.header-widgets {
		float: none;
		width: 100%;
		align-items: center;
		margin-top: 1.1rem;
	}

	.search-form {
		width: 100%;
		max-width: 380px;
	}

	.search-field {
		min-width: 0;
		width: 100%;
	}

	.header-widget .textwidget h3 {
		text-align: center;
		font-size: 1.05rem;
	}

	/* Nav: Burger dunkel auf weisser Leiste, eigenes CSS-Hamburger-Icon
	   statt weissem Genericons-Glyph (Fallstrick 27). */
	#main-navigation-toggle {
		display: block;
		width: 100%;
		padding: .8em 1.2em;
		background: none;
		border: none;
		border-bottom: 1px solid var(--sg-border);
		text-align: left;
		font-family: var(--sg-disp);
		font-weight: 600;
		font-size: 1.1rem;
		letter-spacing: .6px;
		text-transform: uppercase;
		color: var(--sg-ink);
	}

	#main-navigation-toggle:hover,
	#main-navigation-toggle:focus,
	#main-navigation-toggle:active {
		background: var(--sg-red-tint);
		color: var(--sg-red-dark);
	}

	#main-navigation-toggle:after {
		content: '' !important;
		font-family: none !important;
		float: none;
		margin: 0;
	}

	#main-navigation-toggle::before {
		content: '';
		display: inline-block;
		vertical-align: middle;
		margin-right: .8em;
		width: 22px;
		height: 3px;
		background: currentColor;
		box-shadow: 0 -7px 0 currentColor, 0 7px 0 currentColor;
	}

	/* Offenes Mobil-Menue: weisse Leiste, Tinte-Links (weiss-auf-weiss
	   des Parents uebersteuern, Fallstrick 27). */
	.main-navigation-menu {
		border-top: none;
	}

	.main-navigation-menu a,
	.main-navigation-menu a:link,
	.main-navigation-menu a:visited {
		display: block;
		clear: left;
		padding: .95em 1.2em;
		border-bottom: 1px solid var(--sg-border);
		background: var(--sg-white);
		color: var(--sg-ink) !important;
		font-family: var(--sg-disp);
		font-weight: 600;
		font-size: 1.12rem;
		letter-spacing: .5px;
		text-transform: uppercase;
	}

	.main-navigation-menu a:hover,
	.main-navigation-menu a:active {
		background: var(--sg-red-tint) !important;
		color: var(--sg-red-dark) !important;
	}

	/* Inhalt einspaltig. */
	.content-area,
	.sidebar {
		float: none;
		width: 100%;
		padding-right: 0;
	}

	.content-area .type-post,
	.content-area .type-page {
		padding: 1.3rem 1.2rem;
	}

	.entry-title {
		font-size: 1.6rem;
	}
}

/* Termin-Tabelle mobil: Flagge weg, Datum bleibt (es IST die Info).
   Der "Land"-th geht mit, sonst wär die Spalte leer. */
@media (max-width: 768px) {
	.event-table .event-flag,
	.event-table thead th:nth-child(3) {
		display: none;
	}

	.event-table .event-date {
		width: auto;
		font-size: 1rem;
	}

	.event-table .event-text {
		font-size: .95rem;
	}
}

/* ================================================================ ACCESS
   Fokus-Ring nur bei Tastatur-Navigation (WCAG 2.4.7) — kein Blitz beim
   Mausklick (Fallstrick 34). */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 3px solid var(--sg-red);
	outline-offset: 2px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
input:focus:not(:focus-visible),
textarea:focus:not(:focus-visible),
select:focus:not(:focus-visible) {
	outline: none;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
		scroll-behavior: auto !important;
	}

	html.js-reveal .reveal {
		opacity: 1;
		transform: none;
	}
}

/* ================================================================= PRINT */
@media print {
	.header-main,
	.primary-navigation,
	.header-widgets,
	.footer-wrap {
		background: var(--sg-white) !important;
		color: var(--sg-ink) !important;
	}

	.site-title a,
	.site-description,
	.header-widget .textwidget h3 {
		color: var(--sg-ink) !important;
	}

	a[href]::after {
		content: " (" attr(href) ")";
	}
}
