/* ========================================================================= */
/* LAYOUT – Container, Wellen-Trenner, statische Seiten (Impressum/DS)        */
/* ========================================================================= */

.sa-container { max-width: var(--sa-maxw); margin: 0 auto; }

/* Consent-Platzhalter (Borlabs-Fallback fuer externe Einbettungen). */
.sa-consent-placeholder {
	background: #fff; border: 1px dashed var(--sa-border); border-radius: var(--sa-radius);
	padding: 24px; text-align: center; font-size: 14px; color: var(--sa-muted);
}

/* Wellenfoermige Sektions-Trenner. */
.sa-wave-divider { display: block; width: 100%; height: 56px; }
.sa-wave-divider--sm { height: 44px; }
.sa-wave-divider--flip { transform: scaleY(-1); } /* Wellen am unteren Rand einer Section. */

/* Statische Inhaltsseiten (Datenschutz, Impressum, 404, Suche …). */
.sa-page { max-width: 800px; margin: 0 auto; padding: 60px 32px 80px; }
.sa-page h1 { font-weight: 800; font-size: 40px; color: var(--sa-ink); margin: 0 0 24px; line-height: 1.1; }
.sa-page h2 { font-weight: 800; font-size: 24px; color: var(--sa-ink); margin: 36px 0 12px; }
.sa-page h3 { font-weight: 700; font-size: 18px; color: var(--sa-ink); margin: 24px 0 8px; }
.sa-page p, .sa-page li { font-size: 16px; line-height: 1.7; color: var(--sa-text); }
.sa-page a { color: var(--sa-ink); text-decoration: underline; }
.sa-page__back { display: inline-block; margin-top: 40px; font-weight: 700; }

/* --- Blog-/Archiv-/Suchseiten (single, archive, search) --- */
.sa-content { max-width: var(--sa-maxw); }
.sa-content__header { margin-bottom: 32px; }
.sa-content__layout { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.sa-content__main { flex: 1 1 480px; min-width: 0; }
.sa-sidebar { flex: 0 1 280px; }

.sa-entry { padding: 0 0 28px; margin: 0 0 28px; border-bottom: 1px solid var(--sa-border); }
.sa-entry:last-child { border-bottom: 0; }
.sa-entry__title { font-weight: 800; font-size: 22px; margin: 0 0 6px; }
.sa-entry__title a { color: var(--sa-ink); text-decoration: none; }
.sa-entry__title a:hover { color: var(--sa-accent); }
.sa-entry__meta { font-size: 13px; color: var(--sa-muted-2); margin-bottom: 10px; }
.sa-entry__excerpt { font-size: 15px; line-height: 1.6; color: var(--sa-text); }
.sa-entry--single .sa-entry__content { font-size: 16px; line-height: 1.75; color: var(--sa-text); }
.sa-entry__thumb { margin: 20px 0; border-radius: var(--sa-radius); overflow: hidden; }

/* --- Suchformular --- */
.sa-searchform { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0; }
.sa-searchform__input {
	flex: 1 1 220px; box-sizing: border-box;
	border: 1px solid var(--sa-border); border-radius: 10px;
	padding: 12px 14px; font-size: 15px; font-family: var(--sa-font-body);
	color: var(--sa-ink-2); background: #fff;
}

/* --- Widgets --- */
.sa-widget { margin-bottom: 28px; }
.sa-widget__title { font-weight: 800; font-size: 16px; color: var(--sa-ink); margin: 0 0 10px; }
.sa-widget ul { list-style: none; margin: 0; padding: 0; }
.sa-widget li { margin: 6px 0; }

/* --- Pagination --- */
.pagination, .nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.nav-links .page-numbers {
	display: inline-block; padding: 8px 14px; border-radius: 8px;
	background: #fff; color: var(--sa-ink); font-weight: 700; text-decoration: none;
}
.nav-links .page-numbers.current { background: var(--sa-accent); color: var(--sa-on-accent); }
