/* ==========================================================================
   Neyam – Theme-Styles (ergänzend zu theme.json)
   ========================================================================== */

:root {
	--neyam-radius-s: var(--wp--custom--radius--small, 10px);
	--neyam-radius-m: var(--wp--custom--radius--medium, 18px);
	--neyam-radius-l: var(--wp--custom--radius--large, 28px);
	--neyam-ease: cubic-bezier(.2, .7, .2, 1);
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: #F3D9E6; color: #241B21; }

/* Keine Lücken zwischen Kopfzeile, Inhalt und Fusszeile */
.wp-site-blocks > * { margin-block-start: 0; }
.wp-site-blocks > main, .wp-site-blocks > .wp-block-group { margin-block-start: 0; }

/* Fokus sichtbar für Tastaturnutzer */
:where(a, button, summary, input, .wp-block-button__link):focus-visible {
	outline: 3px solid var(--wp--preset--color--accent);
	outline-offset: 3px;
	border-radius: 6px;
}

/* Überschriften in dunklen/farbigen Abschnitten übernehmen die Textfarbe */
.has-text-color :where(h1, h2, h3, h4, h5, h6),
.has-text-color :where(h1, h2, h3, h4, h5, h6) a { color: inherit; }

h1 em, h2 em { font-style: italic; color: var(--wp--preset--color--primary); font-weight: 500; }
.has-text-color h1 em, .has-text-color h2 em { color: var(--wp--preset--color--accent); }

/* --------------------------------------------------------------------------
   Kopfzeile
   -------------------------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
}
.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.neyam-header {
	background: rgba(255, 255, 255, .92) !important;
	backdrop-filter: saturate(160%) blur(12px);
	-webkit-backdrop-filter: saturate(160%) blur(12px);
	border-bottom: 1px solid var(--wp--preset--color--border);
}
.neyam-brand .wp-block-site-logo img { display: block; height: auto; }
.neyam-brand .wp-block-site-title { margin: 0; }
.neyam-tagline { max-width: 15.5rem; margin: 0; }
.neyam-header__right { margin-left: auto; }

.neyam-nav .wp-block-navigation-item__content { position: relative; padding: .4rem 0; color: var(--wp--preset--color--contrast); }
.neyam-nav .wp-block-navigation-item__content::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
	background: var(--wp--preset--color--primary); transform: scaleX(0); transform-origin: left;
	transition: transform .25s var(--neyam-ease);
}
.neyam-nav .wp-block-navigation-item__content:hover::after,
.neyam-nav .current-menu-item > .wp-block-navigation-item__content::after { transform: scaleX(1); }
.neyam-nav .current-menu-item > .wp-block-navigation-item__content { color: var(--wp--preset--color--primary); }

.neyam-header__cta .wp-block-button__link { padding: .7em 1.3em; font-size: .95rem; }

/* Mobiles Menü */
.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close { color: var(--wp--preset--color--primary); }
.wp-block-navigation__responsive-container-open svg { width: 30px; height: 30px; }
.wp-block-navigation__responsive-container.is-menu-open { padding: 1.5rem 1.5rem 2rem; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 3.5rem; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.75rem; font-weight: 600; padding: .35rem 0;
}

@media (max-width: 900px) {
	.neyam-tagline { display: none; }
}
@media (max-width: 600px) {
	.neyam-header__cta .wp-block-button__link { padding: .6em 1em; font-size: .875rem; }
	.neyam-brand .wp-block-site-title { font-size: 1.25rem !important; letter-spacing: .14em; }
	.neyam-brand .wp-block-site-logo img { width: 32px !important; }
	.neyam-header__right { gap: .75rem !important; }
}
@media (max-width: 380px) {
	.neyam-header__cta { display: none; }
}

/* --------------------------------------------------------------------------
   Allgemeine Bausteine
   -------------------------------------------------------------------------- */

/* Obertitel (Absatz-Stil «Obertitel») */
.is-style-eyebrow {
	display: flex; align-items: center; gap: .6rem;
	font-size: .8125rem !important; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	color: var(--wp--preset--color--primary);
	margin-bottom: 0 !important;
}
.is-style-eyebrow::before {
	content: ""; width: 1.75rem; height: 2px; background: currentColor; border-radius: 2px; opacity: .8;
}
.has-text-color .is-style-eyebrow, .has-text-color.is-style-eyebrow { color: var(--wp--preset--color--accent); }
.is-style-eyebrow + * { margin-top: .75rem !important; }

/* Zentrierte Abschnittstitel */
.neyam-section-head { text-align: center; }
.neyam-section-head .is-style-eyebrow { justify-content: center; }
.neyam-section-head > * { margin-left: auto !important; margin-right: auto !important; }

/* Karte (Gruppen-Stil «Karte») */
.is-style-neyam-card {
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--neyam-radius-m);
	padding: clamp(1.5rem, 3vw, 2rem);
	box-shadow: var(--wp--preset--shadow--soft);
	transition: transform .3s var(--neyam-ease), box-shadow .3s var(--neyam-ease);
	height: 100%;
	gap: .75rem !important;
}
.is-style-neyam-card:hover { transform: translateY(-4px); box-shadow: var(--wp--preset--shadow--lifted); }
.is-style-neyam-card > * { margin: 0 !important; }
.is-style-neyam-card a { color: var(--wp--preset--color--primary); }

/* Symbole */
.neyam-icon { margin: 0 0 .5rem !important; }
.neyam-icon img {
	width: 56px !important; height: 56px !important; padding: 12px; box-sizing: border-box;
	background: var(--wp--preset--color--blush); border-radius: 16px !important;
}

/* Weiches Bild (Bild-Stil «Weich mit Schatten») */
.is-style-neyam-soft img, .wp-block-post-featured-image.is-style-neyam-soft img {
	border-radius: var(--neyam-radius-l) !important;
	box-shadow: var(--wp--preset--shadow--lifted);
}

/* Häkchen-Liste */
ul.is-style-checks { list-style: none; padding-left: 0; display: grid; gap: .65rem; }
ul.is-style-checks li { position: relative; padding-left: 2rem; }
ul.is-style-checks li::before {
	content: ""; position: absolute; left: 0; top: .2em; width: 1.3rem; height: 1.3rem; border-radius: 50%;
	background: var(--wp--preset--color--primary) 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='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 62% no-repeat;
}

/* Pillen-Liste (z. B. Distrikte) */
ul.is-style-pills { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
ul.is-style-pills li {
	padding: .4rem .95rem; border-radius: 999px; font-weight: 600; font-size: .9375rem;
	background: var(--wp--preset--color--blush); color: var(--wp--preset--color--primary-dark);
}

/* Schlichte Liste (Fusszeile) */
ul.is-style-plain { list-style: none; padding: 0; display: grid; gap: .5rem; }

/* Buttons – zusätzliche Stile */
.wp-block-button__link { transition: background-color .2s, color .2s, transform .2s var(--neyam-ease), box-shadow .2s; }
.wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -8px rgba(86, 26, 62, .45); }
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent; color: var(--wp--preset--color--primary);
	border: 2px solid currentColor; padding: calc(.85em - 2px) calc(1.6em - 2px);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--wp--preset--color--primary); color: #fff; border-color: var(--wp--preset--color--primary); }
.wp-block-button.is-style-light > .wp-block-button__link { background: #fff; color: var(--wp--preset--color--primary-dark); }
.wp-block-button.is-style-light > .wp-block-button__link:hover { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--contrast); }
.wp-block-button.is-style-outline-light > .wp-block-button__link {
	background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, .7); padding: calc(.85em - 2px) calc(1.6em - 2px);
}
.wp-block-button.is-style-outline-light > .wp-block-button__link:hover { background: #fff; color: var(--wp--preset--color--primary-dark); border-color: #fff; }

.neyam-note { color: var(--wp--preset--color--muted); display: flex; align-items: center; gap: .5rem; }
.neyam-note::before {
	content: ""; width: 1.1rem; height: 1.1rem; flex: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E6B4F' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* --------------------------------------------------------------------------
   Inhaltsbereich: Abschnitte nahtlos aneinanderreihen
   -------------------------------------------------------------------------- */
.neyam-content { padding-top: var(--wp--preset--spacing--60); padding-bottom: var(--wp--preset--spacing--70); }
.neyam-content:has(> .alignfull:first-child) { padding-top: 0; }
.neyam-content:has(> .alignfull:last-child) { padding-bottom: 0; }
.neyam-content > .alignfull { margin-top: 0 !important; margin-bottom: 0 !important; }
.neyam-content > .alignfull + :not(.alignfull) { margin-top: var(--wp--preset--spacing--60) !important; }
.neyam-content > :not(.alignfull) + .alignfull { margin-top: var(--wp--preset--spacing--60) !important; }
.neyam-content > h2 { margin-top: var(--wp--preset--spacing--60); }
.neyam-content > h3 { margin-top: var(--wp--preset--spacing--50); }

/* Seitenkopf */
.neyam-page-head > * { margin-left: auto; margin-right: auto; }
.neyam-page-head .wp-block-post-title, .neyam-page-head h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.neyam-lead, .neyam-page-head .wp-block-post-excerpt { font-size: var(--wp--preset--font-size--large); color: var(--wp--preset--color--muted); }
.neyam-page-head .wp-block-post-excerpt__excerpt { margin: 0; }
.neyam-page-head--overlap { padding-bottom: clamp(5rem, 12vw, 9rem) !important; }
.neyam-feature { margin-top: clamp(-8rem, -10vw, -4rem) !important; position: relative; z-index: 2; }
.neyam-no-thumb .neyam-feature { display: none; }
.neyam-no-thumb .neyam-page-head--overlap { padding-bottom: var(--wp--preset--spacing--60) !important; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.neyam-hero { overflow: hidden; position: relative; }
.neyam-hero::before {
	content: ""; position: absolute; width: 42rem; height: 42rem; right: -12rem; top: -14rem; border-radius: 50%;
	background: radial-gradient(closest-side, rgba(233, 162, 59, .18), transparent 70%); pointer-events: none;
}
.neyam-hero h1 { margin-top: .75rem; }
.neyam-hero__media { position: relative; }
.neyam-hero__img img { border-radius: var(--neyam-radius-l) !important; box-shadow: var(--wp--preset--shadow--lifted); }
.neyam-hero__badge {
	position: absolute; left: clamp(-2rem, -3vw, -1rem); bottom: -1.75rem; max-width: 17rem;
	background: #fff; border-radius: var(--neyam-radius-m); padding: 1rem 1.25rem;
	box-shadow: var(--wp--preset--shadow--lifted); gap: .9rem !important; align-items: center !important;
}
.neyam-hero__badge p { margin: 0; font-size: .9rem; line-height: 1.35; color: var(--wp--preset--color--muted); }
.neyam-hero__badge p.neyam-hero__badge-num {
	flex: none; white-space: nowrap;
	font-family: var(--wp--preset--font-family--heading); font-size: 2.4rem; font-weight: 700; line-height: 1;
	color: var(--wp--preset--color--primary);
}
@media (max-width: 781px) {
	.neyam-hero__badge { position: relative; left: auto; bottom: auto; margin: -2.5rem auto 0 1rem !important; }
}

/* --------------------------------------------------------------------------
   Zahlen
   -------------------------------------------------------------------------- */
.neyam-stats { position: relative; overflow: hidden; }
.neyam-stat { gap: .25rem !important; padding-left: 1.25rem; border-left: 2px solid rgba(233, 162, 59, .6); }
.neyam-stat p { margin: 0; opacity: .85; }
.neyam-stat p.neyam-stat__num {
	font-family: var(--wp--preset--font-family--heading); font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 600;
	line-height: 1; opacity: 1; color: #fff;
}

/* --------------------------------------------------------------------------
   Projekt- und Beitragskarten
   -------------------------------------------------------------------------- */
.neyam-project-card {
	height: 100%; gap: 0 !important; overflow: hidden;
	background: var(--wp--preset--color--base); border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--neyam-radius-m); box-shadow: var(--wp--preset--shadow--soft);
	transition: transform .3s var(--neyam-ease), box-shadow .3s var(--neyam-ease);
}
.neyam-project-card:hover { transform: translateY(-5px); box-shadow: var(--wp--preset--shadow--lifted); }
.neyam-project-card .wp-block-post-featured-image { margin: 0; width: 100%; overflow: hidden; border-radius: 0 !important; }
.neyam-project-card .wp-block-post-featured-image img { border-radius: 0 !important; transition: transform .6s var(--neyam-ease); }
.neyam-project-card:hover .wp-block-post-featured-image img { transform: scale(1.05); }
.neyam-project-card__body { padding: 1.4rem 1.5rem 1.6rem; gap: .6rem !important; flex: 1; }
.neyam-project-card__body > * { margin: 0 !important; }
.neyam-project-card .wp-block-post-title a:hover { color: var(--wp--preset--color--primary); }
.neyam-project-card .wp-block-post-excerpt { color: var(--wp--preset--color--muted); }
.neyam-project-card .wp-block-post-excerpt__excerpt { margin: 0 0 .75rem; }
.neyam-project-card .wp-block-post-excerpt__more-text { margin: 0; }
.neyam-project-card .wp-block-post-excerpt__more-link {
	font-weight: 600; text-decoration: none; color: var(--wp--preset--color--primary);
}
.neyam-project-card .wp-block-post-excerpt__more-link::after { content: " →"; transition: margin .2s; }
.neyam-project-card:hover .wp-block-post-excerpt__more-link::after { margin-left: .25rem; }
.neyam-project-card .wp-block-post-date { color: var(--wp--preset--color--muted); }

/* Platzhalter, wenn kein Beitragsbild gesetzt ist */
.neyam-placeholder {
	aspect-ratio: 3 / 2; width: 100%; display: grid; place-items: center;
	background: var(--wp--preset--gradient--plum);
}
.neyam-placeholder img { width: 64px; height: 64px; opacity: .95; filter: brightness(0) invert(1); }

/* --------------------------------------------------------------------------
   Schritte
   -------------------------------------------------------------------------- */
.neyam-step {
	background: #fff; border-radius: var(--neyam-radius-m); padding: clamp(1.5rem, 3vw, 2rem);
	gap: .6rem !important; height: 100%; position: relative;
}
.neyam-step > * { margin: 0 !important; }
.neyam-step p.neyam-step__num {
	font-family: var(--wp--preset--font-family--heading); font-size: 3rem; font-weight: 700; line-height: 1;
	color: transparent; -webkit-text-stroke: 1.5px var(--wp--preset--color--primary);
}

/* --------------------------------------------------------------------------
   Galerie
   -------------------------------------------------------------------------- */
.neyam-gallery.wp-block-gallery { gap: clamp(.5rem, 1.5vw, 1rem) !important; }
.neyam-gallery .wp-block-image { border-radius: var(--neyam-radius-m); overflow: hidden; }
.neyam-gallery .wp-block-image img { border-radius: 0 !important; transition: transform .6s var(--neyam-ease); aspect-ratio: 4 / 3; }
.neyam-gallery .wp-block-image:hover img { transform: scale(1.05); }

/* --------------------------------------------------------------------------
   FAQ (Details-Block)
   -------------------------------------------------------------------------- */
.wp-block-details { margin: 0 !important; }
.wp-block-details summary {
	list-style: none; cursor: pointer; position: relative; padding-right: 2.5rem;
	font-family: var(--wp--preset--font-family--heading); font-size: 1.2rem; font-weight: 600; line-height: 1.35;
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after {
	content: ""; position: absolute; right: 0; top: 50%; width: 1.75rem; height: 1.75rem; margin-top: -.875rem;
	border-radius: 50%; background: var(--wp--preset--color--blush) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A2C64' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 55% no-repeat;
	transition: transform .25s var(--neyam-ease);
}
.wp-block-details[open] summary::after { transform: rotate(45deg); }
.wp-block-details summary:hover { color: var(--wp--preset--color--primary); }
.wp-block-details > :not(summary) { color: var(--wp--preset--color--muted); margin-top: .75rem; }
.neyam-faq .wp-block-details:first-child { border-top: 1px solid var(--wp--preset--color--border); }

/* --------------------------------------------------------------------------
   Spendenaufruf & Bankkarte
   -------------------------------------------------------------------------- */
.neyam-cta { position: relative; overflow: hidden; }
.neyam-cta::after {
	content: ""; position: absolute; width: 36rem; height: 36rem; left: -10rem; bottom: -20rem; border-radius: 50%;
	background: radial-gradient(closest-side, rgba(233, 162, 59, .25), transparent 70%); pointer-events: none;
}
.neyam-cta > * { position: relative; z-index: 1; }
.neyam-bank {
	background: #fff; color: var(--wp--preset--color--contrast); border-radius: var(--neyam-radius-l);
	padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .35);
}
.neyam-bank h3 { color: var(--wp--preset--color--contrast) !important; margin: 0 0 .25rem; }
.neyam-bank p { margin: 0; }
.neyam-bank__row {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; width: 100%;
	padding: .7rem 0; border-bottom: 1px dashed var(--wp--preset--color--border);
}
.neyam-bank__row span { color: var(--wp--preset--color--muted); font-size: .9rem; }
.neyam-bank__row strong { font-weight: 600; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.neyam-bank__note { color: var(--wp--preset--color--green); padding-top: .5rem; }

/* Hinweisbox Finanzbedarf */
.neyam-need {
	border-radius: var(--neyam-radius-m); padding: clamp(1.5rem, 3vw, 2.25rem) !important;
	border-left: 5px solid var(--wp--preset--color--accent);
}
.neyam-need > * { margin-top: .6rem; }
.neyam-need > :first-child { margin-top: 0; }

/* Grosses Zitat */
.neyam-bigquote { text-align: center; }
.neyam-bigquote__text {
	font-family: var(--wp--preset--font-family--heading); font-style: italic; font-weight: 500;
	font-size: clamp(1.6rem, 3.5vw, 2.4rem); line-height: 1.3; color: var(--wp--preset--color--primary-dark);
}
.neyam-bigquote__by { text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: var(--wp--preset--color--primary); }

/* Karte der Distrikte */
.neyam-map img { background: #EAF4F8; padding: 1rem; border-radius: var(--neyam-radius-l) !important; width: 100%; }
.neyam-map figcaption { text-align: center; }

/* --------------------------------------------------------------------------
   Tabellen
   -------------------------------------------------------------------------- */
.wp-block-table { overflow-x: auto; }
.wp-block-table table { border-collapse: separate; border-spacing: 0; width: 100%; border: 1px solid var(--wp--preset--color--border); border-radius: var(--neyam-radius-s); overflow: hidden; }
.wp-block-table td, .wp-block-table th { border: 0; border-bottom: 1px solid var(--wp--preset--color--border); padding: .8rem 1rem; text-align: left; vertical-align: top; }
.wp-block-table tr:last-child td { border-bottom: 0; }
.wp-block-table thead { border-bottom: 0; }
.wp-block-table thead th { background: var(--wp--preset--color--blush); color: var(--wp--preset--color--primary-dark); font-weight: 700; }
.wp-block-table tfoot td { background: var(--wp--preset--color--surface); font-weight: 700; border-top: 1px solid var(--wp--preset--color--border); }
.wp-block-table.is-style-facts td:first-child { width: 38%; color: var(--wp--preset--color--muted); font-weight: 600; background: var(--wp--preset--color--surface); }
.wp-block-table.is-style-facts tbody tr:nth-child(odd) td:last-child { background: #fff; }
.wp-block-table figcaption { text-align: left; }

/* --------------------------------------------------------------------------
   Fusszeile
   -------------------------------------------------------------------------- */
.neyam-footer a { color: #fff; text-decoration: none; }
.neyam-footer a:hover { color: var(--wp--preset--color--accent); text-decoration: underline; }
.neyam-footer .wp-block-site-title a { color: #fff; }
.neyam-footer__logo img { filter: brightness(0) invert(1); opacity: .9; }
.neyam-footer__muted, .neyam-footer ul { color: rgba(255, 255, 255, .72); }
.neyam-footer__title {
	font-family: var(--wp--preset--font-family--body) !important; font-size: .8125rem !important; font-weight: 700 !important;
	letter-spacing: .14em; text-transform: uppercase; color: var(--wp--preset--color--accent) !important;
}
.neyam-footer__bottom {
	margin-top: var(--wp--preset--spacing--60) !important; padding-top: var(--wp--preset--spacing--40);
	border-top: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .6);
}
.neyam-footer__bottom p { margin: 0; }

/* --------------------------------------------------------------------------
   Formulare (z. B. Contact Form 7) & Suche
   -------------------------------------------------------------------------- */
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 textarea,
.wp-block-search__input {
	width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--wp--preset--color--border); border-radius: var(--neyam-radius-s);
	font: inherit; background: #fff; transition: border-color .2s, box-shadow .2s;
}
.wpcf7 input:focus, .wpcf7 textarea:focus, .wp-block-search__input:focus {
	outline: none; border-color: var(--wp--preset--color--primary); box-shadow: 0 0 0 4px rgba(138, 44, 100, .12);
}
.wpcf7 input[type="submit"], .wp-block-search__button {
	background: var(--wp--preset--color--primary); color: #fff; border: 0; border-radius: 999px; padding: .85rem 1.6rem;
	font: inherit; font-weight: 600; cursor: pointer;
}
.wpcf7 input[type="submit"]:hover, .wp-block-search__button:hover { background: var(--wp--preset--color--primary-dark); }

/* Pagination */
.wp-block-query-pagination { margin-top: var(--wp--preset--spacing--50); gap: .5rem; }
.wp-block-query-pagination-numbers .page-numbers {
	display: inline-grid; place-items: center; min-width: 2.5rem; height: 2.5rem; border-radius: 999px; text-decoration: none;
}
.wp-block-query-pagination-numbers .page-numbers.current { background: var(--wp--preset--color--primary); color: #fff; }

/* --------------------------------------------------------------------------
   Sanftes Einblenden beim Scrollen
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
	.neyam-reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--neyam-ease), transform .8s var(--neyam-ease); }
	.neyam-reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* --------------------------------------------------------------------------
   Mobile Feinschliff
   -------------------------------------------------------------------------- */
@media (max-width: 781px) {
	.wp-block-columns { gap: var(--wp--preset--spacing--50) !important; }
	.neyam-stat { padding-left: 1rem; }
	.neyam-footer .wp-block-columns { gap: var(--wp--preset--spacing--40) !important; }
	.wp-block-table.is-style-facts td:first-child { width: 45%; }
	.wp-block-table td, .wp-block-table th { padding: .65rem .75rem; }
}

/* Spendenbeträge & Schlusssatz */
p.neyam-amount {
	font-family: var(--wp--preset--font-family--heading); font-size: clamp(1.75rem, 2.6vw, 2.3rem); font-weight: 700; line-height: 1.05;
	color: var(--wp--preset--color--primary); margin: 0; white-space: nowrap;
}
.neyam-closing {
	max-width: 44rem; margin-left: auto !important; margin-right: auto !important;
	font-family: var(--wp--preset--font-family--heading); font-style: italic; font-size: var(--wp--preset--font-size--large);
	color: var(--wp--preset--color--primary-dark);
}
