/*
Theme Name: Twenty Twenty-Four
Theme URI: https://wordpress.org/themes/twentytwentyfour/
Author: the WordPress team
Author URI: https://wordpress.org
Description: Twenty Twenty-Four is designed to be flexible, versatile and applicable to any website. Its collection of templates and patterns tailor to different needs, such as presenting a business, blogging and writing or showcasing work. A multitude of possibilities open up with just a few adjustments to color and typography. Twenty Twenty-Four comes with style variations and full page designs to help speed up the site building process, is fully compatible with the site editor, and takes advantage of new design tools introduced in WordPress 6.4.
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.0
Version: 1.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfour
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/* Zustellerforum: Hintergrundbild auf allen Unterseiten, nicht auf der Startseite */
body:not(.home) {
	background-image: linear-gradient(rgba(15,39,66,.12), rgba(15,39,66,.12)), url('https://zustellerforum.de/wp-content/uploads/2022/05/Zeitungsbriefkasten.jpg');
	background-size: cover;
	background-position: center center;
	background-attachment: fixed;
	background-repeat: no-repeat;
}

body:not(.home) main {
	background: transparent;
}

body:not(.home) .entry-content {
	--zf-accent: #b83232;
	--zf-accent-soft: rgba(184,50,50,.10);
	--zf-accent-deep: #7f2424;
	background:
		linear-gradient(135deg, var(--zf-accent-soft), rgba(255,255,255,0) 34%),
		rgba(255,255,255,.96);
	border-radius: 16px;
	border-top: 8px solid var(--zf-accent);
	box-shadow: 0 10px 32px rgba(0,0,0,.18);
	margin-top: 28px;
	margin-bottom: 36px;
	padding: clamp(24px,4vw,48px);
	overflow: hidden;
}

/* Farbwelten nach Themenbereich */
body.page-id-584 .entry-content,
body.page-id-612 .entry-content,
body.page-id-622 .entry-content {
	--zf-accent: #b83232;
	--zf-accent-soft: rgba(184,50,50,.11);
	--zf-accent-deep: #7f2424;
}

body.page-id-585 .entry-content,
body.page-id-625 .entry-content,
body.page-id-626 .entry-content {
	--zf-accent: #39705b;
	--zf-accent-soft: rgba(57,112,91,.12);
	--zf-accent-deep: #28503f;
}

body.page-id-586 .entry-content {
	--zf-accent: #c28a22;
	--zf-accent-soft: rgba(194,138,34,.13);
	--zf-accent-deep: #80580f;
}

body.page-id-587 .entry-content {
	--zf-accent: #2f6f8f;
	--zf-accent-soft: rgba(47,111,143,.12);
	--zf-accent-deep: #1f4d64;
}

body.page-id-588 .entry-content,
body.page-id-589 .entry-content {
	--zf-accent: #59697b;
	--zf-accent-soft: rgba(89,105,123,.11);
	--zf-accent-deep: #344150;
}

/* Überschriften, Listen und Links erhalten einen zurückhaltenden Farbakzent */
body:not(.home) .entry-content h1 {
	color: var(--zf-accent-deep);
	letter-spacing: -.02em;
}

body:not(.home) .entry-content h2 {
	color: var(--zf-accent-deep);
	border-left: 5px solid var(--zf-accent);
	padding-left: .65em;
	margin-top: 1.7em;
}

body:not(.home) .entry-content h3 {
	color: var(--zf-accent-deep);
}

body:not(.home) .entry-content li::marker {
	color: var(--zf-accent);
}

body:not(.home) .entry-content a:not(.wp-block-button__link) {
	text-decoration-color: var(--zf-accent);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

body:not(.home) .entry-content .wp-block-button__link {
	background: var(--zf-accent) !important;
	border-radius: 8px;
	box-shadow: 0 5px 14px rgba(0,0,0,.12);
	transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

body:not(.home) .entry-content .wp-block-button__link:hover,
body:not(.home) .entry-content .wp-block-button__link:focus-visible {
	background: var(--zf-accent-deep) !important;
	transform: translateY(-1px);
	box-shadow: 0 7px 17px rgba(0,0,0,.16);
}

/* Bildakzente auf allen Inhaltsseiten außer der Startseite. Die vier neuen Zustellmotive
   werden mit vorhandenen Motiven aus der Mediathek kombiniert. */
body:not(.home) .entry-content::before {
	content: "";
	float: right;
	width: min(42%, 430px);
	height: 245px;
	margin: 0 0 28px clamp(22px,3vw,38px);
	border-radius: 14px;
	background-size: cover;
	background-position: center;
	box-shadow: 0 8px 24px rgba(0,0,0,.18);
	border: 4px solid rgba(255,255,255,.92);
	outline: 3px solid var(--zf-accent-soft);
}

/* Betriebsrat: Zustellung bei klarem Morgenlicht */
body.page-id-584 .entry-content::before {
	background-image: url('https://zustellerforum.de/wp-content/uploads/2026/08/2fa538b5-bcfe-430a-8bbb-cd113ddddfe7.png');
}

/* Aufgepasst: vorhandenes Motiv aus der Mediathek */
body.page-id-612 .entry-content::before {
	background-image: url('https://zustellerforum.de/wp-content/uploads/2026/08/Betriebsrat-–-Zusammenarbeit.jpg');
}

/* BR Aktuelles: Zustellung bei Regen */
body.page-id-622 .entry-content::before {
	background-image: url('https://zustellerforum.de/wp-content/uploads/2026/08/23625427-58fe-4a2e-b09e-1dd6a4c93ace.png');
}

/* SBV: Zustellerin bei winterlichen Bedingungen */
body.page-id-585 .entry-content::before {
	background-image: url('https://zustellerforum.de/wp-content/uploads/2026/08/9ee7cb09-7ab2-4879-a0fa-fe1211e16d77.png');
}

/* SBV-Newsletter: vorhandenes Zustellmotiv */
body.page-id-625 .entry-content::before {
	background-image: url('https://zustellerforum.de/wp-content/uploads/2022/05/Zeitungsbriefkaesten-breit.jpg');
	background-position: center 42%;
}

/* SBV Aktuelles: Zustellung in nebliger Morgendämmerung */
body.page-id-626 .entry-content::before {
	background-image: url('https://zustellerforum.de/wp-content/uploads/2026/08/94504534-7ae1-471d-8fb9-c7e9521de20e.png');
}

body.page-id-586 .entry-content::before {
	background-image: url('https://zustellerforum.de/wp-content/uploads/2022/05/Logo-ZF-gross.jpg');
}

body.page-id-587 .entry-content::before {
	background-image: url('https://zustellerforum.de/wp-content/uploads/2022/05/E-Mail-Adress-1.jpg');
}

body.page-id-588 .entry-content::before {
	background-image: url('https://zustellerforum.de/wp-content/uploads/2022/05/Zeitungsbriefkasten.jpg');
	background-position: center 40%;
}

body.page-id-589 .entry-content::before {
	background-image: url('https://zustellerforum.de/wp-content/uploads/2022/05/cropped-cropped-Zeitungsbriefkaesten.jpg');
	background-position: center 45%;
}

/* Kleine farbige Informationsflächen für Absätze, die bereits als Gruppe/Spalte angelegt sind */
body:not(.home) .entry-content .wp-block-group.has-background,
body:not(.home) .entry-content .wp-block-column.has-background {
	border-radius: 12px;
	box-shadow: 0 4px 14px rgba(0,0,0,.08);
}

@media (max-width: 760px) {
	body:not(.home) .entry-content::before {
		float: none;
		display: block;
		width: 100%;
		height: 190px;
		margin: 0 0 24px 0;
	}
}

/* Fußzeile mit Impressum und Datenschutz auf allen Seiten klar lesbar halten */
footer.wp-block-template-part {
	background: #0f2742 !important;
	color: #ffffff !important;
}

footer.wp-block-template-part > .wp-block-group {
	background: #0f2742 !important;
	color: #ffffff !important;
	border-top: 0 !important;
	margin-top: 0 !important;
	padding-top: 32px !important;
	padding-bottom: 32px !important;
}

footer.wp-block-template-part .wp-block-columns,
footer.wp-block-template-part .wp-block-column,
footer.wp-block-template-part .wp-block-list {
	background: transparent !important;
}

footer.wp-block-template-part a,
footer.wp-block-template-part .wp-block-site-title,
footer.wp-block-template-part .wp-block-site-title a,
footer.wp-block-template-part h3,
footer.wp-block-template-part p,
footer.wp-block-template-part li {
	color: #ffffff !important;
}

footer.wp-block-template-part a {
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: rgba(255,255,255,.85);
	text-underline-offset: 3px;
}
