/*
Theme Name: Simply Read Modern
Description: Modernisiertes Erscheinungsbild für Elozucht Fürstenberg – Child-Theme von Simply Read. Inhalte, Beiträge und Bilder bleiben unverändert.
Template: simply-read
Version: 1.3.1
Text Domain: simply-read-modern
*/

/* ---------- Grundwerte ---------- */
:root {
	--srm-bg: #FBF8F1;
	--srm-surface: #FFFFFF;
	--srm-soft: #F4EEDF;
	--srm-line: #E2DACA;
	--srm-text: #23261F;
	--srm-text-2: #45483F;
	--srm-muted: #6B6457;
	--srm-accent: #9A6A1E;
	--srm-accent-dark: #7A5416;
	--srm-dark: #2B2A24;
	--srm-radius: 20px;
	--srm-shadow: 0 1px 2px rgba(40, 32, 16, .06), 0 8px 24px rgba(40, 32, 16, .06);
	--srm-font: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--srm-display: 'Bricolage Grotesque', 'Nunito Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body,
body.custom-background {
	background: var(--srm-bg) !important;
	color: var(--srm-text);
	font-family: var(--srm-font);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

#container { background: transparent; }

a { color: var(--srm-accent-dark); text-decoration: underline; text-underline-offset: 3px; }
a:hover, a:focus { color: #5A3D0F; }
:focus-visible { outline: 3px solid var(--srm-accent); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3 {
	font-family: var(--srm-display);
	font-weight: 700;
	letter-spacing: -0.015em;
	color: var(--srm-text);
}

img { max-width: 100%; height: auto; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

.srm-skip {
	position: absolute; left: 12px; top: -60px; z-index: 10000;
	background: var(--srm-text); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.srm-skip:focus { top: 12px; color: #fff; }

.srm-wrap,
#inner-content.wrap,
#inner-footer.wrap {
	width: 100%;
	max-width: 1240px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 24px;
	padding-right: 24px;
	box-sizing: border-box;
}

.srm-btn {
	display: inline-flex; align-items: center; gap: 8px;
	background: var(--srm-accent); color: #fff !important;
	font-family: var(--srm-font); font-weight: 700; font-size: 16px; line-height: 1.2;
	padding: 13px 24px; border: 0; border-radius: 999px;
	text-decoration: none; cursor: pointer;
	transition: background .2s ease, transform .2s ease;
}
.srm-btn:hover, .srm-btn:focus { background: var(--srm-accent-dark); color: #fff; }

/* ---------- Header ---------- */
.srm-header {
	position: sticky; top: 0; z-index: 999;
	background: rgba(255, 255, 255, .96);
	backdrop-filter: saturate(1.4) blur(8px);
	border-bottom: 1px solid #ECE6D8;
}
.admin-bar .srm-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .srm-header { top: 0; position: relative; } }

.srm-header__inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: 14px 32px; padding-top: 14px; padding-bottom: 14px;
}
.srm-logo { display: block; line-height: 0; flex: 0 1 auto; min-width: 0; }
.srm-logo img { height: 80px; width: auto; max-width: 100%; }

/* Beim Scrollen schrumpft der Header zu einer schmalen Leiste */
.srm-header { transition: box-shadow .3s ease; }
.srm-header__inner { transition: padding .3s ease; }
.srm-logo img { transition: height .3s ease, max-width .3s ease; }
.srm-header.is-scrolled { box-shadow: 0 4px 18px rgba(40, 32, 16, .08); }
.srm-header.is-scrolled .srm-header__inner { padding-top: 6px; padding-bottom: 6px; }
.srm-header.is-scrolled .srm-logo img { height: 46px; }
@media (prefers-reduced-motion: reduce) {
	.srm-header, .srm-header__inner, .srm-logo img { transition: none; }
}

.srm-nav { display: flex; align-items: center; gap: 8px; }
.srm-nav nav { display: block; }

.srm-menu, .srm-menu ul { list-style: none; margin: 0; padding: 0; }
.srm-menu li:before { content: none !important; }
.srm-menu { display: flex; align-items: center; gap: 4px; }
.srm-menu > li { position: relative; }
.srm-menu > li > a {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 10px 14px; border-radius: 999px;
	color: var(--srm-text); font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap;
	transition: background .15s ease;
}
.srm-menu > li > a:hover,
.srm-menu > li.is-open > a,
.srm-menu > li > a:focus-visible { background: var(--srm-soft); color: var(--srm-text); }
.srm-menu > .current-menu-item > a,
.srm-menu > .current-menu-ancestor > a { color: var(--srm-accent-dark); }
.srm-menu .srm-ico { transition: transform .2s ease; }
.srm-menu > li.is-open .srm-ico { transform: rotate(180deg); }

.srm-menu .sub-menu {
	position: absolute; left: 0; top: calc(100% + 8px);
	min-width: 260px; padding: 8px;
	background: var(--srm-surface); border-radius: 16px;
	box-shadow: 0 12px 40px rgba(40, 32, 16, .16);
	opacity: 0; visibility: hidden; transform: translateY(-14px) scale(.96); transform-origin: top left;
	transition: opacity .55s ease, transform .65s cubic-bezier(.16, 1, .3, 1), visibility .65s;
}
/* Menüpunkte gleiten nacheinander herein */
.srm-menu .sub-menu > li { opacity: 0; transform: translateY(-8px); transition: opacity .5s ease, transform .6s cubic-bezier(.16, 1, .3, 1); }
.srm-menu > li.is-open > .sub-menu > li,
.srm-menu > li:focus-within > .sub-menu > li { opacity: 1; transform: none; }
.srm-menu .sub-menu > li:nth-child(2) { transition-delay: .07s; }
.srm-menu .sub-menu > li:nth-child(3) { transition-delay: .14s; }
.srm-menu .sub-menu > li:nth-child(4) { transition-delay: .21s; }
.srm-menu .sub-menu > li:nth-child(5) { transition-delay: .28s; }
.srm-menu .sub-menu > li:nth-child(6) { transition-delay: .35s; }
.srm-menu .sub-menu > li:nth-child(n+7) { transition-delay: .42s; }
.srm-menu > li.is-open > .sub-menu,
.srm-menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1200px) {
	.srm-menu > li:hover > .sub-menu { opacity: 1; visibility: visible; transform: none; }
	.srm-menu > li:hover > .sub-menu > li { opacity: 1; transform: none; }
	.srm-menu > li:hover .srm-ico { transform: rotate(180deg); }
}
.srm-menu .sub-menu a {
	display: block; padding: 10px 14px; border-radius: 10px;
	color: var(--srm-text); text-decoration: none; font-size: 15.5px; line-height: 1.35;
}
.srm-menu .sub-menu a:hover, .srm-menu .sub-menu a:focus { background: var(--srm-soft); }
.srm-menu .sub-menu .current-menu-item > a { color: var(--srm-accent-dark); font-weight: 700; }

.srm-tools { display: flex; align-items: center; gap: 4px; margin-left: 4px; }
.srm-icon-btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; border-radius: 999px; border: 0;
	background: transparent; color: var(--srm-text); cursor: pointer; text-decoration: none;
}
.srm-icon-btn:hover { background: var(--srm-soft); color: var(--srm-text); }
.srm-icon-btn--filled { background: var(--srm-soft); }
.srm-icon-btn--filled:hover { background: #EBE2CC; }

.srm-burger {
	display: none; align-items: center; gap: 10px;
	height: 44px; padding: 0 16px; border: 0; border-radius: 999px;
	background: var(--srm-soft); color: var(--srm-text);
	font: 700 15px/1 var(--srm-font); cursor: pointer;
}
.srm-burger__bars { display: inline-flex; flex-direction: column; gap: 4px; }
.srm-burger__bars span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.srm-burger[aria-expanded="true"] .srm-burger__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.srm-burger[aria-expanded="true"] .srm-burger__bars span:nth-child(2) { opacity: 0; }
.srm-burger[aria-expanded="true"] .srm-burger__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.srm-search { border-top: 1px solid #ECE6D8; background: var(--srm-surface); }
.srm-search__form { display: flex; gap: 10px; padding-top: 14px; padding-bottom: 14px; }
.srm-search__form input[type="search"] {
	flex: 1 1 auto; min-width: 0; height: 48px; margin: 0;
	padding: 0 18px; border: 1.5px solid var(--srm-line); border-radius: 999px;
	background: var(--srm-bg); font: 400 16px var(--srm-font); color: var(--srm-text);
	box-shadow: none;
}
.srm-search__form input[type="search"]:focus { border-color: var(--srm-accent); outline: none; background: #fff; }

@media (max-width: 1199px) {
	.srm-header__inner { flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
	.srm-logo { flex: 1 1 0; }
	.srm-logo img { width: 100%; height: auto; max-width: 480px; }
	.srm-header.is-scrolled .srm-logo img { height: auto; max-width: 280px; }
	.srm-burger { display: inline-flex; }
	.srm-nav {
		display: none; flex: 1 0 100%;
		flex-direction: column; align-items: stretch; gap: 8px;
		padding: 8px 0 6px; border-top: 1px solid #ECE6D8;
	}
	.srm-nav.is-open { display: flex; }
	.srm-menu { flex-direction: column; align-items: stretch; gap: 2px; }
	.srm-menu > li > a { display: flex; justify-content: space-between; border-radius: 12px; padding: 12px 14px; }
	.srm-menu .sub-menu {
		position: static; min-width: 0; box-shadow: none; border-radius: 12px;
		background: var(--srm-bg); padding: 4px; margin: 2px 0 6px;
		opacity: 1; visibility: visible; transform: none; display: none;
	}
	.srm-menu > li.is-open > .sub-menu { display: block; }
	.srm-tools { margin: 4px 0 0; padding-top: 8px; border-top: 1px solid #ECE6D8; }
}
/* Schmale Handys: Menü-Knopf nur als Symbol, damit das Logo mehr Platz hat */
@media (max-width: 480px) {
	.srm-header__inner { gap: 10px; padding-left: 16px; padding-right: 16px; }
	.srm-burger { width: 48px; padding: 0; justify-content: center; }
	.srm-header.is-scrolled .srm-logo img { max-width: 210px; }
	.srm-burger__label {
		position: absolute; width: 1px; height: 1px; overflow: hidden;
		clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
	}
}

/* ---------- Wurf-Ampel ---------- */
.srm-ampel-wrap { padding-top: 24px; }
.srm-ampel-wrap + .srm-hero { padding-top: 20px; }
.srm-ampel {
	--a-bg: #F1EFEA; --a-border: #E2DDD2; --a-dot: #A39C8E; --a-eyebrow: #6B6457; --a-title: #3A3830; --a-text: #55524A;
	display: flex; align-items: center; gap: 22px;
	padding: 20px 24px; border-radius: 20px;
	background: var(--a-bg); border: 1px solid var(--a-border);
}
.srm-ampel--welpen  { --a-bg: #EAF4EC; --a-border: #CFE6D4; --a-dot: #2F8F55; --a-eyebrow: #2F6B45; --a-title: #1F4A30; --a-text: #3B4A3F; }
.srm-ampel--geplant { --a-bg: #FBF1DE; --a-border: #F0DDB4; --a-dot: #D08A1C; --a-eyebrow: #8A5A12; --a-title: #5E3D0C; --a-text: #5A4A33; }
.srm-ampel__dot { flex: 0 0 auto; width: 16px; height: 16px; border-radius: 50%; background: var(--a-dot); }
.srm-ampel--geplant .srm-ampel__dot { box-shadow: 0 0 0 5px rgba(208, 138, 28, .18); }
.srm-ampel--welpen .srm-ampel__dot { animation: srm-ampelpuls 2s ease-out infinite; }
@keyframes srm-ampelpuls {
	0% { box-shadow: 0 0 0 0 rgba(47, 143, 85, .55); }
	70% { box-shadow: 0 0 0 12px rgba(47, 143, 85, 0); }
	100% { box-shadow: 0 0 0 0 rgba(47, 143, 85, 0); }
}
.srm-ampel__body { flex: 1 1 auto; min-width: 0; }
.srm-ampel__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--a-eyebrow); }
.srm-ampel__title { font-family: var(--srm-display); font-weight: 700; font-size: 24px; line-height: 1.2; color: var(--a-title); margin-top: 2px; }
.srm-ampel__text { font-size: 16px; line-height: 1.5; color: var(--a-text); margin-top: 2px; }
.srm-ampel__text a { color: var(--a-title); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--a-dot); }
.srm-ampel__text a:hover, .srm-ampel__text a:focus { text-decoration-color: currentColor; }
.srm-ampel__puppies { flex: 0 0 auto; display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.srm-ampel__puppies li:before { content: none !important; }
.srm-ampel__puppies li { display: inline-flex; margin: 0; }
.srm-ampel__pup {
	width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
	font-size: 22px; line-height: 1; font-weight: 700; margin: 0;
}
.srm-ampel__puppies .is-free .srm-ampel__pup { background: #2F8F55; color: #fff; }
.srm-ampel__puppies .is-taken .srm-ampel__pup { background: #E6E3DC; color: #9A958A; }
a.srm-ampel__pup { text-decoration: none !important; transition: transform .15s ease, box-shadow .15s ease; }
a.srm-ampel__pup:hover, a.srm-ampel__pup:focus-visible { transform: translateY(-2px) scale(1.06); box-shadow: 0 6px 14px rgba(35, 38, 31, .18); }
.srm-ampel__count {
	flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center;
	min-width: 92px; height: 64px; padding: 0 10px; box-sizing: border-box;
	border-radius: 14px; background: #fff; border: 1px solid var(--a-border); color: var(--a-eyebrow);
}
.srm-ampel__count strong { font-family: var(--srm-display); font-size: 22px; line-height: 1; }
.srm-ampel__count span { font-size: 12px; font-weight: 700; }
.srm-ampel__btn {
	flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px;
	padding: 13px 22px; border-radius: 999px; text-decoration: none; font-weight: 700; white-space: nowrap;
	background: #fff; border: 1.5px solid #CFC5B0; color: var(--srm-text) !important;
	transition: background .2s ease, transform .2s ease;
}
.srm-ampel--welpen .srm-ampel__btn { background: #2F7D4F; border-color: #2F7D4F; color: #fff !important; }
.srm-ampel--geplant .srm-ampel__btn { background: var(--srm-accent); border-color: var(--srm-accent); color: #fff !important; }
.srm-ampel__btn:hover { transform: translateY(-1px); }
.srm-ampel--welpen .srm-ampel__btn:hover { background: #24653F; }
.srm-ampel--geplant .srm-ampel__btn:hover { background: var(--srm-accent-dark); }
@media (max-width: 860px) {
	.srm-ampel { flex-wrap: wrap; gap: 12px 14px; padding: 18px; align-items: flex-start; }
	.srm-ampel__dot { margin-top: 6px; width: 14px; height: 14px; }
	.srm-ampel__body { flex: 1 1 calc(100% - 40px); }
	.srm-ampel__title { font-size: 21px; }
	.srm-ampel__text { font-size: 15px; }
	.srm-ampel__puppies, .srm-ampel__count { margin-left: 28px; }
	.srm-ampel__count { flex-direction: row; gap: 6px; height: auto; padding: 6px 12px; min-width: 0; }
	.srm-ampel__btn { flex: 1 1 100%; justify-content: center; min-height: 46px; box-sizing: border-box; }
}
@media (max-width: 700px) { .srm-ampel-wrap { padding: 14px 12px 0; } .srm-ampel-wrap + .srm-hero { padding-top: 14px; } }
@media (prefers-reduced-motion: reduce) { .srm-ampel--welpen .srm-ampel__dot { animation: none; } }

/* ---------- Slider ---------- */
.srm-hero { padding-top: 32px; }
.srm-hero__stage {
	position: relative; min-height: 520px; overflow: hidden;
	border-radius: 26px; background: #2A2A22; isolation: isolate;
}
.srm-slide {
	position: absolute; inset: 0; display: flex; align-items: flex-end;
	opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s;
}
.srm-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.srm-slide__img {
	position: absolute; inset: 0; width: 100% !important; height: 100% !important;
	object-fit: cover; object-position: center 40%; z-index: -1;
}
.srm-slide:after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(180deg, rgba(22, 20, 14, 0) 30%, rgba(22, 20, 14, .82) 100%);
}
.srm-slide__body { max-width: 720px; padding: 40px 44px 104px; color: #fff; }
.srm-slide__body time { font-size: 14px; font-weight: 700; color: #F3DDAE; }
.srm-slide__title { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.05; letter-spacing: -0.02em; margin: 8px 0 12px; color: #fff; }
/* auch bereits besuchte Beiträge: Das Eltern-Theme färbt a:visited schwarz */
.srm-slide__title a, .srm-slide__title a:visited { color: #EEEAE2; text-decoration: none; text-shadow: 0 2px 14px rgba(0, 0, 0, .45); }
.srm-slide__title a:hover, .srm-slide__title a:focus { color: #fff; }
.srm-slide__text { margin: 0 0 22px; font-size: 18px; color: #F2EFE6; }

.srm-hero__nav {
	position: absolute; z-index: 2; left: 44px; bottom: 36px;
	display: flex; align-items: center; gap: 10px;
}
.srm-round {
	width: 46px; height: 46px; border-radius: 999px;
	border: 1.5px solid rgba(255, 255, 255, .65); background: rgba(255, 255, 255, .12);
	color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
	transition: background .15s ease;
}
.srm-round:hover, .srm-round:focus-visible { background: rgba(255, 255, 255, .28); }
.srm-dots { display: flex; align-items: center; padding: 0 4px; }
.srm-dot {
	position: relative; width: 22px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
}
.srm-dot:before {
	content: ""; position: absolute; left: 8px; top: 19px; width: 6px; height: 6px;
	border-radius: 3px; background: rgba(255, 255, 255, .55); transition: width .25s ease, left .25s ease;
}
.srm-dot.is-active { width: 34px; }
.srm-dot.is-active:before { width: 22px; left: 6px; background: #fff; }

@media (max-width: 700px) {
	.srm-hero { padding-top: 16px; padding-left: 12px; padding-right: 12px; }
	.srm-hero__stage { min-height: 460px; border-radius: 20px; }
	.srm-slide__body { padding: 24px 22px 92px; }
	.srm-slide__text { font-size: 16px; }
	.srm-hero__nav { left: 22px; bottom: 24px; }
}

/* ---------- Beitragsliste ---------- */
.srm-posts { padding-top: 72px; padding-bottom: 80px; }
.srm-section-head { display: flex; align-items: center; gap: 20px; margin-bottom: 32px; }
.srm-h2 { font-size: clamp(28px, 3vw, 36px); line-height: 1.1; margin: 0; }
.srm-line { flex: 1 1 auto; height: 1px; background: var(--srm-line); }

.srm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
@media (max-width: 360px) { .srm-grid { grid-template-columns: 1fr; } }

.srm-card {
	background: var(--srm-surface); border-radius: var(--srm-radius); overflow: hidden;
	box-shadow: var(--srm-shadow); transition: transform .2s ease, box-shadow .2s ease;
}
.srm-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(40, 32, 16, .06), 0 16px 36px rgba(40, 32, 16, .1); }
@media (prefers-reduced-motion: reduce) { .srm-card, .srm-card:hover { transform: none; transition: none; } }
.srm-card__link { display: flex; flex-direction: column; height: 100%; color: var(--srm-text); text-decoration: none; }
.srm-card__link:hover, .srm-card__link:focus { color: var(--srm-text); }
.srm-card__img { display: block; width: 100%; height: 210px !important; object-fit: cover; }
.srm-card__img--empty { background: var(--srm-soft); }
.srm-card__body { display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; padding: 22px 24px 26px; }
.srm-card__body time { font-size: 14px; font-weight: 700; color: var(--srm-muted); }
.srm-card__title { font-size: 23px; line-height: 1.2; margin: 0; }
.srm-card__body p { margin: 0; font-size: 16px; color: var(--srm-text-2); }
.srm-more { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--srm-accent-dark); }

.srm-pager { display: flex; justify-content: center; gap: 12px; margin-top: 44px; }
.srm-pager a {
	border: 1.5px solid #CFC5B0; background: var(--srm-surface); color: var(--srm-text);
	font-weight: 700; padding: 13px 28px; border-radius: 999px; text-decoration: none;
}
.srm-pager a:hover, .srm-pager a:focus { border-color: var(--srm-accent); color: var(--srm-accent-dark); }

/* ---------- Beiträge & Seiten (Vorlagen des Eltern-Themes) ---------- */
#content { margin-top: 0; }
#content > .article-header {
	background: transparent; padding: 56px 0 8px; margin: 0; border: 0; box-shadow: none;
}
.single-title, .page-title {
	font-size: clamp(32px, 4.2vw, 50px); line-height: 1.1; letter-spacing: -0.02em;
	margin: 0; text-align: left; color: var(--srm-text);
}
#content > #inner-content.wrap { padding-top: 16px; padding-bottom: 72px; }
#main { box-sizing: border-box; }
.hentry { background: transparent; }
body .byline { color: var(--srm-muted); font-size: 15px; margin: 4px 0 24px; }
body .byline a { color: var(--srm-muted); }
.entry-content { font-size: 17.5px; line-height: 1.75; color: var(--srm-text); }
.entry-content h2 { font-size: 30px; margin: 1.6em 0 .5em; }
.entry-content h3 { font-size: 24px; margin: 1.4em 0 .4em; }
.entry-content img { border-radius: 14px; }
.entry-content ul li:before,
.comment_content ul li:before { font-family: var(--srm-font); color: var(--srm-accent); }
.entry-content ol > li:before,
.comment_content ol > li:before { font-family: var(--srm-font); }
.entry-content blockquote { border-left: 0; background: var(--srm-soft); border-radius: 14px; padding: 18px 22px; margin: 1.5em 0; }

.next-prev-post { border-color: var(--srm-line) !important; }
.next-prev-post p { font-family: var(--srm-font) !important; font-size: 13px !important; letter-spacing: .08em; color: var(--srm-muted); }
.next-prev-post a { font-family: var(--srm-display); font-weight: 700; text-decoration: none; color: var(--srm-text); }
body .related { border-color: var(--srm-line); }
body .related h3, body #comments-title { font-family: var(--srm-display); }
body .related ul li a { color: var(--srm-text); font-weight: 600; }
body .related ul li a img { border-radius: 12px; margin-bottom: 6px; }
body .hentry footer { border-color: var(--srm-line); }
body .comment-reply-link { background: var(--srm-accent); border-radius: 999px; }

/* Sidebar */
#sidebar1, #sidebar2, .sidebar { font-size: 16px; }
.sidebar .widget, .sidebar .wp-block-group {
	background: var(--srm-surface); border-radius: 16px; padding: 20px 22px; margin-bottom: 20px;
	box-shadow: var(--srm-shadow);
}
.sidebar .widgettitle, .sidebar h2, .sidebar h3 { font-size: 20px; margin-top: 0; }

/* Formulare (z. B. Kontaktformular) */
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"],
.wpcf7 input[type="url"], .wpcf7 input[type="number"], .wpcf7 textarea, .wpcf7 select,
.comment-respond input[type="text"], .comment-respond input[type="email"], .comment-respond textarea {
	width: 100%; max-width: 100%; box-sizing: border-box;
	border: 1.5px solid var(--srm-line); border-radius: 12px; background: #fff;
	padding: 12px 14px; font: 400 16px var(--srm-font); color: var(--srm-text); box-shadow: none;
}
.wpcf7 input:focus, .wpcf7 textarea:focus, .comment-respond input:focus, .comment-respond textarea:focus { border-color: var(--srm-accent); outline: none; }
.wpcf7 input[type="submit"], .comment-respond input[type="submit"] {
	background: var(--srm-accent); color: #fff; border: 0; border-radius: 999px;
	padding: 13px 28px; font: 700 16px var(--srm-font); cursor: pointer;
}
.wpcf7 input[type="submit"]:hover, .comment-respond input[type="submit"]:hover { background: var(--srm-accent-dark); }

/* Paginierung auf Archivseiten */
body.home .pagination, body.blog .pagination { background: transparent; }
body .pagination li a, body .pagination li span { font-family: var(--srm-display); font-size: 20px; border-radius: 999px; }

/* ---------- Footer ---------- */
.srm-footer { background: var(--srm-dark); color: #D8D3C6; margin-top: 0; }
.srm-footer__inner {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
	gap: 24px 40px; padding-top: 44px; padding-bottom: 36px;
}
.srm-ezfg {
	display: inline-block; line-height: 0; background: #fff;
	padding: 12px 16px; border-radius: 14px; transition: transform .2s ease;
}
.srm-ezfg:hover { transform: translateY(-2px); }
.srm-ezfg img { height: 52px; width: auto; }
.srm-footer__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; font-weight: 600; }
.srm-footer__nav a {
	display: inline-flex; align-items: center; gap: 8px;
	color: #F2EEE3; text-decoration: none; padding: 10px 0;
}
.srm-footer__nav a:hover, .srm-footer__nav a:focus { color: #fff; text-decoration: underline; }
.srm-footer__bottom { border-top: 1px solid #44423A; font-size: 14px; color: #B5AF9F; }
.srm-footer__bottom .srm-wrap { padding-top: 18px; padding-bottom: 18px; }
@media (max-width: 600px) {
	.srm-footer__inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- Dezente Animationen ---------- */
.srm-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.srm-reveal.is-visible { opacity: 1; transform: none; }

/* Slider: Foto zoomt ganz langsam, Text blendet weich ein */
@keyframes srm-kenburns { from { transform: scale(1); } to { transform: scale(1.06); } }
@keyframes srm-fadeup { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.srm-slide.is-active .srm-slide__img { animation: srm-kenburns 9s ease-out forwards; }
.srm-slide.is-active .srm-slide__body > * { animation: srm-fadeup .8s ease both; }
.srm-slide.is-active .srm-slide__body > :nth-child(2) { animation-delay: .1s; }
.srm-slide.is-active .srm-slide__body > :nth-child(3) { animation-delay: .2s; }
.srm-slide.is-active .srm-slide__body > :nth-child(4) { animation-delay: .3s; }

/* Beitragsbilder zoomen beim Darüberfahren leicht */
.srm-card__img { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.srm-card:hover .srm-card__img { transform: scale(1.04); }
.srm-btn, .srm-pager a, .srm-ezfg { transition: background .2s ease, transform .2s ease, border-color .2s ease; }
.srm-btn:hover, .srm-pager a:hover { transform: translateY(-1px); }

@media (prefers-reduced-motion: reduce) {
	.srm-reveal { opacity: 1; transform: none; transition: none; }
	.srm-slide.is-active .srm-slide__img, .srm-slide.is-active .srm-slide__body > * { animation: none; }
	.srm-card:hover .srm-card__img, .srm-btn:hover, .srm-pager a:hover { transform: none; }
}

/* ---------- Moderne Beitragsgestaltung (Block-Editor) ---------- */
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2.wp-block-heading {
	font-size: clamp(26px, 3vw, 32px); line-height: 1.2; margin: 1.9em 0 .55em;
	padding-top: .1em;
}
.entry-content h2.wp-block-heading:first-child { margin-top: 0; }
.entry-content h2.wp-block-heading:before {
	content: ""; display: block; width: 44px; height: 4px; border-radius: 2px;
	background: var(--srm-accent); margin-bottom: 14px;
}
.entry-content h3.wp-block-heading { font-size: 22px; line-height: 1.3; margin: 1.6em 0 .4em; }
.entry-content .srm-lead { font-size: 20px; line-height: 1.6; color: var(--srm-text); }

.entry-content .srm-callout {
	background: #FBF1DE; border-radius: 20px; padding: 22px 26px; margin: 1.6em 0;
	text-align: center;
}
.entry-content .srm-callout p { margin: 0; font-family: var(--srm-display); font-size: clamp(20px, 2.4vw, 24px); line-height: 1.35; color: #5E3D0C; }
.entry-content .srm-callout p strong { font-weight: 700; }
.entry-content .srm-callout--closing { background: var(--srm-text); margin-top: 2em; }
.entry-content .srm-callout--closing p { color: #fff; }
.entry-content .srm-callout--closing a, .entry-content .srm-callout--closing a:visited { color: #F2C77B; text-decoration-color: rgba(242, 199, 123, .6); }
.entry-content .srm-callout--closing a:hover, .entry-content .srm-callout--closing a:focus { color: #fff; text-decoration-color: #fff; }
/* Hinweis-Kasten (z. B. „bereits vermittelt“) */
.entry-content .srm-callout--notice { background: #E7F1E4; border-left: 5px solid #4F8A4B; }
.entry-content .srm-callout--notice p { font-family: inherit; font-size: 18px; color: #23402A; }
.entry-content .srm-callout--notice p strong { font-family: var(--srm-display); }
.entry-content .srm-callout--notice a { color: #2F6B2C; font-weight: 700; }
/* Eckdaten-Kasten, Karten nebeneinander, Kontakt-Kasten */
.entry-content .srm-callout--facts p { font-family: inherit; font-size: 17px; font-weight: 600; letter-spacing: .01em; }
.entry-content .srm-cards { gap: 18px; margin: 1.4em 0; align-items: stretch !important; }
.entry-content .srm-cards > .wp-block-column { align-self: stretch !important; }
.entry-content .srm-card { height: 100%; padding: 22px 24px; border-radius: 20px; background: #fff; box-shadow: 0 8px 26px rgba(35, 38, 31, .08); border-top: 4px solid var(--srm-accent); }
.entry-content .srm-card p { margin: 0 0 .6em; }
.entry-content .srm-card p:first-child strong { font-family: var(--srm-display); font-size: 20px; color: var(--srm-accent-dark); }
.entry-content .srm-callout--contact p { font-size: 18px; margin: 0 0 .35em; }
.entry-content .srm-callout--contact p:last-child { margin: .8em 0 0; font-family: var(--srm-display); font-size: 22px; }

.entry-content .srm-split { gap: 28px; margin: 1.6em 0; }
.entry-content .srm-split .wp-block-image { margin: 0; }
.entry-content .srm-split .wp-block-image img { width: 100%; height: auto; border-radius: 20px; }
.entry-content .srm-split p { font-size: 19px; line-height: 1.6; }

.entry-content .wp-block-pullquote.srm-pullquote {
	border: 0; margin: 2em 0; padding: 26px 30px 26px 34px; text-align: left;
	background: #F3F1EA; border-radius: 20px; position: relative;
}
.entry-content .wp-block-pullquote.srm-pullquote:before {
	content: "“"; position: absolute; left: 20px; top: -6px; font-family: var(--srm-display);
	font-size: 90px; line-height: 1; color: var(--srm-accent); opacity: .5;
}
.entry-content .wp-block-pullquote.srm-pullquote blockquote { margin: 0; padding: 0 0 0 26px; border: 0; background: none; }
.entry-content .wp-block-pullquote.srm-pullquote blockquote:before { content: none; }
.entry-content .wp-block-pullquote.srm-pullquote p { font-family: var(--srm-display); font-size: clamp(20px, 2.5vw, 25px); line-height: 1.4; font-weight: 600; margin: 0; color: var(--srm-text); }

.entry-content .wp-block-gallery.srm-gallery { gap: 12px; margin: 1.6em 0; }
.entry-content .wp-block-gallery.srm-gallery .wp-block-image img { border-radius: 16px; }
.entry-content .wp-block-gallery.srm-gallery.columns-2 .wp-block-image { aspect-ratio: 4 / 5; }
.entry-content .wp-block-gallery.srm-gallery.columns-3 .wp-block-image:first-child { flex-basis: 100% !important; aspect-ratio: 16 / 10; }
.entry-content .wp-block-gallery.srm-gallery.columns-3 .wp-block-image:not(:first-child) { aspect-ratio: 1 / 1; }
.entry-content .wp-block-gallery.srm-gallery .wp-block-image img { height: 100% !important; object-fit: cover; }
/* Das Eltern-Theme setzt Bilder auf volle Breite – Rasterbreiten hier festlegen */
.entry-content .wp-block-gallery.srm-gallery > figure.wp-block-image { flex-grow: 0 !important; margin: 0 !important; }
.entry-content .wp-block-gallery.srm-gallery.columns-2 > figure.wp-block-image { width: calc(50% - 6px) !important; flex-basis: calc(50% - 6px) !important; }
.entry-content .wp-block-gallery.srm-gallery.columns-3 > figure.wp-block-image { width: calc(33.333% - 8px) !important; flex-basis: calc(33.333% - 8px) !important; }
.entry-content .wp-block-gallery.srm-gallery.columns-3 > figure.wp-block-image:first-child { width: 100% !important; flex-basis: 100% !important; }
/* Bildunterschriften in Galerien: gut lesbares Glas-Etikett statt blasser Verlauf */
.entry-content .wp-block-gallery.srm-gallery .wp-block-image { position: relative; }
.entry-content .wp-block-gallery.srm-gallery .wp-block-image figcaption { position: absolute; left: 8px; right: auto; bottom: 8px; max-width: calc(100% - 16px); max-height: none; width: auto; margin: 0; padding: 6px 10px; border-radius: 10px; background: rgba(35, 38, 31, .62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font-size: 13.5px; line-height: 1.35; text-align: left; overflow: visible; }
/* Galerie mit Bildunterschrift unter dem Foto (für längere Texte) */
.entry-content .wp-block-gallery.srm-gallery.srm-gallery--below { align-items: flex-start; }
.entry-content .wp-block-gallery.srm-gallery.srm-gallery--below > figure.wp-block-image { aspect-ratio: auto !important; display: block; }
.entry-content .wp-block-gallery.srm-gallery.srm-gallery--below .wp-block-image img { aspect-ratio: auto; height: auto !important; width: 100%; object-fit: contain; }
.entry-content .wp-block-gallery.srm-gallery.srm-gallery--below .wp-block-image figcaption { position: static; max-width: none; padding: 10px 4px 0; border-radius: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; color: var(--srm-text); font-size: 15px; line-height: 1.45; }
/* 3er-Raster ohne großes erstes Bild bzw. 2er-Raster mit großem ersten Bild – damit keine Reihe halb leer bleibt */
.entry-content .wp-block-gallery.srm-gallery.srm-gallery--flat.columns-3 > figure.wp-block-image:first-child { width: calc(33.333% - 8px) !important; flex-basis: calc(33.333% - 8px) !important; aspect-ratio: 1 / 1; }
.entry-content .wp-block-gallery.srm-gallery.srm-gallery--hero.columns-2 > figure.wp-block-image:first-child { width: 100% !important; flex-basis: 100% !important; aspect-ratio: 16 / 10; }
.entry-content .wp-block-gallery.srm-gallery.srm-gallery--wide .wp-block-image { aspect-ratio: 4 / 3; }
.entry-content .srm-memory { padding: 18px; border-radius: 22px; background: var(--srm-bg-soft, #F4EEE4); }
.entry-content .srm-memory .wp-block-image img { filter: saturate(.75); }
.entry-content .srm-memory figcaption { margin-top: 8px; font-size: 14px; text-align: center; opacity: .75; }
@media (max-width: 600px) {
	.entry-content .srm-lead, .entry-content .srm-split p { font-size: 18px; }
	.entry-content .srm-callout { padding: 18px 20px; }
	.entry-content .wp-block-gallery.srm-gallery { gap: 8px; }
	.entry-content .wp-block-gallery.srm-gallery.columns-3 > figure.wp-block-image { width: calc(33.333% - 6px) !important; flex-basis: calc(33.333% - 6px) !important; }
	.entry-content .wp-block-gallery.srm-gallery.columns-2 > figure.wp-block-image { width: calc(50% - 4px) !important; flex-basis: calc(50% - 4px) !important; }
}

/* Archiv als kompaktes Auswahlfeld */
.srm-archive__title { font-family: var(--srm-display); font-size: 20px !important; margin: 0 0 10px !important; }
.srm-archive select, .wp-block-archives-dropdown select {
	width: 100%; min-height: 46px; box-sizing: border-box; margin: 0;
	padding: 10px 40px 10px 14px; border: 1.5px solid var(--srm-line); border-radius: 12px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2323261F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
	-webkit-appearance: none; appearance: none;
	font: 600 16px var(--srm-font); color: var(--srm-text); cursor: pointer;
}
.srm-archive select:focus { border-color: var(--srm-accent); outline: none; }
.sidebar .wp-block-jetpack-slideshow { border-radius: 16px; overflow: hidden; }
.sidebar .widget:empty, .sidebar .widget:not(:has(*)) { display: none; }

/* Alter „Nach oben“-Button passend einfärben */
.smooth-back-to-top-button { z-index: 998; }

/* Footer-Links: auch bereits besuchte Links hell (das Eltern-Theme färbt a:visited schwarz) */
.srm-footer a, .srm-footer a:visited { color: #F2EEE3; }
.srm-footer a:hover, .srm-footer a:focus { color: #F2C77B; }

/* „Nach oben“-Knopf (Plugin Smooth Back To Top): Akzentfarbe, weißer Pfeil, heller Fortschrittsring */
.smooth-back-to-top-button { background: var(--srm-accent) !important; box-shadow: 0 6px 18px rgba(35, 38, 31, .28), inset 0 0 0 2px rgba(255, 255, 255, .3) !important; }
.smooth-back-to-top-button:hover, .smooth-back-to-top-button:focus-visible { background: var(--srm-accent-dark) !important; }
.smooth-back-to-top-button::after { color: #fff !important; }
.smooth-back-to-top-button svg.progress-circle path { stroke: #fff !important; stroke-width: 4 !important; }

/* Geschlechtssymbole (SVG aus srm_sex_icon) – überall gleich kräftig */
.srm-sym { display: inline-block; width: 1.25em; height: 1.25em; vertical-align: -0.25em; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.srm-sex .srm-sym { width: 1.15em; height: 1.15em; margin-right: 2px; vertical-align: -0.22em; }
.srm-ampel__pup .srm-sym { width: 22px; height: 22px; margin: 0; vertical-align: 0; stroke-width: 2.4; }
.srm-parent small .srm-sym { width: 1.35em; height: 1.35em; vertical-align: -0.3em; }
.srm-parent__ph .srm-sym { width: 24px; height: 24px; vertical-align: 0; }

/* Schlagwörter: Das Eltern-Theme trennt sie nur mit „,“ ohne Leerzeichen → eine lange, unteilbare Zeile,
   die am Handy seitliches Verschieben verursacht. Als umbrechende Kärtchen darstellen. */
.tag-links { overflow-wrap: anywhere; line-height: 2.1; }
.tag-links a, .tag-links a:visited { display: inline-block; margin: 0 2px 0 4px; padding: 0 10px; border-radius: 999px; background: #EFE8DA; color: var(--srm-accent-dark); line-height: 1.9; text-decoration: none; font-size: .92em; }
.tag-links a:hover, .tag-links a:focus { background: var(--srm-accent); color: #fff; }

/* Sicherheitsnetz: Seiten lassen sich nie seitlich verschieben (clip statt hidden, damit „sticky“ weiter funktioniert) */
html, body { overflow-x: clip; }

/* Rassen-Galerie: gleich hohe Fotos, Name + Bildnachweis darunter */
.entry-content .wp-block-gallery.srm-gallery.srm-gallery--breeds .wp-block-image img { aspect-ratio: 4 / 3; object-fit: cover; }
.entry-content .srm-gallery--breeds figcaption strong { display: block; font-family: var(--srm-display); font-size: 17px; }
.entry-content .srm-gallery--breeds figcaption small { font-size: 11.5px; opacity: .7; }
.entry-content .srm-gallery--breeds figcaption a { color: inherit; }

/* Zahlen-Kacheln */
.entry-content .srm-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 1.2em 0; }
.entry-content .srm-stats > div { background: #fff; border-radius: 18px; padding: 18px 16px; text-align: center; box-shadow: 0 8px 22px rgba(35, 38, 31, .07); border-top: 4px solid var(--srm-accent); }
.entry-content .srm-stats strong { display: block; font-family: var(--srm-display); font-size: clamp(26px, 4vw, 36px); color: var(--srm-accent-dark); line-height: 1.1; }
.entry-content .srm-stats span { display: block; margin-top: 6px; font-size: 14px; color: var(--srm-muted, #6b6a62); }
@media (max-width: 600px) { .entry-content .srm-stats { grid-template-columns: 1fr; } }
.entry-content .srm-source { font-size: 14px; opacity: .75; }
.entry-content .srm-gallery--breeds img.wp-image-2504 { object-position: 70% 12%; } /* Eurasier: Kopf oben rechts im Bild */

/* Checkliste mit Häkchen (z. B. „Das bekommt euer Welpe mit“) */
.entry-content ul.srm-checklist { list-style: none; margin: .6em 0 0; padding: 0; }
.entry-content ul.srm-checklist li { position: relative; padding: 6px 0 6px 34px; border-bottom: 1px dashed #E2DACA; }
.entry-content ul.srm-checklist li:last-child { border-bottom: 0; }
.entry-content ul.srm-checklist li::before { content: "" !important; position: absolute; left: 0; top: 8px; width: 22px; height: 22px; border-radius: 50%; background: #2F8F55 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Pfotenspuren im Seitenhintergrund (liegen hinter allen Inhalten) */
.srm-paws { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.srm-paw {
	position: absolute; width: 26px; height: 26px; opacity: 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%237A5416'%3E%3Cellipse cx='12' cy='16' rx='5.2' ry='4.4'/%3E%3Cellipse cx='5.2' cy='10' rx='2.1' ry='2.7'/%3E%3Cellipse cx='9.4' cy='5.6' rx='2.1' ry='2.8'/%3E%3Cellipse cx='14.6' cy='5.6' rx='2.1' ry='2.8'/%3E%3Cellipse cx='18.8' cy='10' rx='2.1' ry='2.7'/%3E%3C/svg%3E") center / contain no-repeat;
	animation: srm-paw 4.2s ease-out forwards;
}
@keyframes srm-paw { 0% { opacity: 0; } 8% { opacity: .45; } 55% { opacity: .38; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .srm-paws { display: none; } }

/* Roll-Buttons: Schrift rollt beim Darüberfahren weg und hell wieder herein, Pfeil-Kreis schnellt nach rechts */
.srm-roll-btn { display: inline-flex !important; align-items: center; gap: 14px; overflow: hidden; }
.srm-roll-btn.has-ico { padding-right: 6px !important; }
.srm-roll { position: relative; display: block; overflow: hidden; line-height: 1.25; }
.srm-roll__ghost { display: block; visibility: hidden; white-space: nowrap; }
.srm-roll__a, .srm-roll__b { position: absolute; inset: 0; display: block; white-space: nowrap; transition: transform .5s cubic-bezier(.65, 0, .35, 1); }
.srm-roll__b { transform: translateY(-150%); color: #FBF4EB; }
.srm-roll-btn:hover .srm-roll__a, .srm-roll-btn:focus-visible .srm-roll__a { transform: translateY(150%); }
.srm-roll-btn:hover .srm-roll__b, .srm-roll-btn:focus-visible .srm-roll__b { transform: none; }
.srm-roll__ico { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; background: #3D2517; color: #FBF4EB; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; box-shadow: inset 0 2px 4px rgba(0, 0, 0, .25); }
.srm-roll__ico > span { display: inline-flex; }
.srm-roll__ico svg { width: 15px; height: 15px; }
.srm-roll-btn:hover .srm-roll__ico > span, .srm-roll-btn:focus-visible .srm-roll__ico > span { animation: srm-roll-through .6s cubic-bezier(.65, 0, .35, 1); }
/* Pfeil fährt rechts aus dem Kreis und kommt links wieder herein */
@keyframes srm-roll-through { 0% { transform: none; } 48% { transform: translateX(34px); } 49% { transform: translateX(-34px); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) {
	.srm-roll__a, .srm-roll__b { transition: none; }
	.srm-roll-btn:hover .srm-roll__ico > span { animation: none; }
}
