/* Block „Presse“ */
.ep-presse__filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }

/* Zeitleiste: Jahreszahl links, Einträge rechts */
.ep-presse__jahr { display: grid; grid-template-columns: 8rem 1fr; gap: 0 2rem; padding-top: 1.5rem; border-top: 3px solid var(--wp--preset--color--grund, #14201B); margin-bottom: 3rem; }
.ep-presse__jahr[hidden] { display: none; }
.ep-presse__jahrzahl { font-size: clamp(2.5rem, 5vw, 4rem) !important; line-height: .9 !important; margin: 0 !important; color: var(--wp--preset--color--tanne, #2E5B45); position: sticky; top: 6rem; align-self: start; }
.ep-presse__liste { list-style: none; margin: 0; padding: 0; }
.ep-pe { display: grid; grid-template-columns: minmax(9rem, 13rem) 1fr; gap: .5rem 1.75rem; padding: 1.25rem 0; border-bottom: 1px solid var(--wp--preset--color--linie, #DDD3BF); align-items: start; }
.ep-pe:first-child { padding-top: 0; }
.ep-pe.hat-bild { grid-template-columns: minmax(9rem, 13rem) 1fr 7.5rem; }
.ep-pe[hidden] { display: none; }
.ep-pe__medium { display: block; color: var(--wp--preset--color--tanne, #2E5B45); line-height: 1.25; }
.ep-pe__meta { display: block; font-size: var(--wp--preset--font-size--klein, .9375rem); color: var(--wp--preset--color--gedaempft, #55605A); margin-top: .2rem; }
.ep-pe__titel { font-weight: 600; font-size: 1.125rem; line-height: 1.35; text-decoration-color: var(--wp--preset--color--linie, #DDD3BF); text-underline-offset: 4px; }
a.ep-pe__titel:hover { text-decoration-color: currentColor; }
a.ep-pe__titel[target="_blank"]::after { content: " ↗"; font-weight: 400; }
.ep-pe__zitat { font-family: var(--wp--preset--font-family--head, sans-serif); font-weight: 400; font-style: normal; font-size: 1.25rem; line-height: 1.35; margin: .6rem 0 0; }
.ep-pe__links { display: flex; gap: 1.25rem; margin: .5rem 0 0; font-size: var(--wp--preset--font-size--klein, .9375rem); font-weight: 600; }
.ep-pe__bild { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--wp--preset--color--linie, #DDD3BF); background: var(--wp--preset--color--karte, #FBF8F1); cursor: zoom-in; }
.ep-pe__bild img { display: block; width: 100%; height: 6.5rem; object-fit: cover; object-position: top; }
@media (max-width: 760px) {
	.ep-presse__jahr { grid-template-columns: 1fr; }
	.ep-presse__jahrzahl { position: static; margin-bottom: 1rem !important; }
	.ep-pe, .ep-pe.hat-bild { grid-template-columns: 1fr 5.5rem; }
	.ep-pe__kopf, .ep-pe__inhalt { grid-column: 1; }
	.ep-pe__bild { grid-column: 2; grid-row: 1 / span 2; }
	.ep-pe:not(.hat-bild) { grid-template-columns: 1fr; }
}

/* Lupe */
.ep-lupe { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1100px); max-height: 92vh; overflow: visible; }
.ep-lupe::backdrop { background: rgba(20, 32, 27, .9); }
.ep-lupe img { display: block; max-width: 100%; max-height: 88vh; border-radius: 14px; box-shadow: 0 12px 32px rgba(0,0,0,.4); background: #fff; }
.ep-lupe__x { position: absolute; top: -2.75rem; right: 0; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 0; font-size: 1.75rem; line-height: 1; cursor: pointer; background: var(--wp--preset--color--papier, #F4EFE4); color: var(--wp--preset--color--grund, #14201B); }

/* Pressestimmen */
.ep-presse--stimmen { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 2.5rem 3rem; }
.ep-stimme { margin: 0; padding-top: 1.25rem; border-top: 3px solid currentColor; }
.ep-stimme blockquote { margin: 0; padding: 0; border: 0; }
.ep-stimme blockquote p { font-family: var(--wp--preset--font-family--head, sans-serif); font-weight: 400; font-style: normal; font-size: clamp(1.375rem, 2.4vw, 1.75rem); line-height: 1.3; margin: 0; }
.ep-stimme figcaption { margin-top: 1rem; font-size: var(--wp--preset--font-size--klein, .9375rem); font-weight: 700; color: var(--wp--preset--color--tanne, #2E5B45); display: flex; gap: .75rem; flex-wrap: wrap; }
.ep-stimme figcaption a { color: inherit; text-decoration: none; }
.ep-stimme figcaption a:hover { text-decoration: underline; }
.ep-stimme figcaption span { opacity: .75; }
.has-grund-background-color .ep-stimme figcaption { color: var(--wp--preset--color--glut, #D9963F); }
.has-tanne-background-color .ep-stimme figcaption { color: var(--wp--preset--color--papier, #F4EFE4); }

/* Kacheln */
.ep-presse--kacheln { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: 1.5rem; }
.ep-pk { position: relative; display: flex; flex-direction: column; background: var(--wp--preset--color--karte, #FBF8F1); border: 1px solid var(--wp--preset--color--linie, #DDD3BF); border-radius: 10px; overflow: hidden; color: var(--wp--preset--color--grund, #14201B); }
.ep-pk__bild { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--wp--preset--color--papier, #F4EFE4); }
.ep-pk__bild img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.ep-pk__bild--medium { display: flex; align-items: center; justify-content: center; padding: 1rem; text-align: center; font-family: var(--wp--preset--font-family--head, sans-serif); font-weight: 900; font-size: 1.75rem; line-height: 1; color: var(--wp--preset--color--tanne, #2E5B45); }
.ep-pk__text { display: grid; gap: .4rem; padding: 1.25rem 1.5rem 1.5rem; }
.ep-pk__meta { font-size: var(--wp--preset--font-size--klein, .9375rem); color: var(--wp--preset--color--gedaempft, #55605A); }
.ep-pk__titel { font-weight: 700; line-height: 1.3; text-decoration: none; color: inherit !important; }
a.ep-pk__titel::after { content: ""; position: absolute; inset: 0; }

/* Schlichte Liste (Startseite): Datum links, Titel und Medium rechts, nur Linien */
.ep-presse--liste { list-style: none; margin: 0; padding: 0; }
.ep-pl { display: grid; grid-template-columns: 11rem 1fr; gap: .25rem 2rem; padding: 1.1rem 0; border-top: 1px solid var(--wp--preset--color--linie, #DDD3BF); }
.ep-pl:last-child { border-bottom: 1px solid var(--wp--preset--color--linie, #DDD3BF); }
.ep-pl__datum { color: var(--wp--preset--color--gedaempft, #55605A); font-variant-numeric: tabular-nums; }
.ep-pl__text { display: grid; gap: .15rem; }
.ep-pl__titel { font-weight: 700; line-height: 1.3; color: inherit; text-decoration-color: var(--wp--preset--color--tanne, #2E5B45); text-underline-offset: 4px; }
span.ep-pl__titel { text-decoration: none; }
.ep-pl__medium { font-size: var(--wp--preset--font-size--klein, .9375rem); color: var(--wp--preset--color--gedaempft, #55605A); }
@media (max-width: 640px) { .ep-pl { grid-template-columns: 1fr; } }

/* Sticker (Startseite, auf Grund): links die neueste Pressestimme groß,
   rechts die neuesten Einträge als bunte, leicht schräge Aufkleber.
   Farben der Reihe nach Punk, Papier, Glut, Tanne. Auf Punk ist alle Schrift
   mindestens 19 px fett (Kontrast, siehe design/DESIGN.md 4b). */
.ep-presse--sticker { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.ep-presse--sticker.ohne-stimme { grid-template-columns: minmax(0, 1fr); }
.ep-st-stimme { margin: 0; }
.ep-st-stimme blockquote { margin: 0; padding: 0; border: 0; }
.ep-st-stimme blockquote p { margin: 0; font-family: var(--wp--preset--font-family--head, sans-serif); font-weight: 400; font-size: clamp(2.25rem, 1.4rem + 3vw, 4.25rem); line-height: 1.03; text-indent: -.42em; text-wrap: balance; }
.ep-st-stimme figcaption { margin-top: 1.25rem; font-size: var(--wp--preset--font-size--klein, .9375rem); line-height: 1.45; }
.ep-st-stimme figcaption a { font-weight: 700; margin-left: .35rem; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.ep-sticker { list-style: none; margin: 0; padding: 1rem 0; display: flex; flex-wrap: wrap; gap: 1.5rem 1.25rem; align-items: flex-start; }
.ep-sticker > li { flex: 0 1 19rem; max-width: 19rem; }
.ep-st {
	display: inline-flex; flex-direction: column; gap: .35rem; max-width: 19rem;
	padding: 1.1rem 1.4rem 1.25rem; border-radius: 18px; text-decoration: none !important;
	box-shadow: 0 10px 24px rgba(0, 0, 0, .28); transition: transform .2s ease;
}
a.ep-st:hover, a.ep-st:focus-visible { transform: rotate(0) translateY(-4px) scale(1.03) !important; }
.ep-st__art { display: flex; gap: .5rem; align-items: center; font-size: .9375rem; font-weight: 700; line-height: 1.3; }
.ep-st__art svg { flex: none; }
.ep-st__medium { font-family: var(--wp--preset--font-family--head, sans-serif); font-weight: 900; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.25rem); line-height: 1; overflow-wrap: anywhere; }
.ep-st__titel { font-size: .9375rem; line-height: 1.35; }
.ep-sticker > li:nth-child(4n+1) .ep-st { background: var(--wp--preset--color--punk, #D8407E); color: var(--wp--preset--color--papier, #F4EFE4) !important; transform: rotate(-3deg); }
.ep-sticker > li:nth-child(4n+1) .ep-st :is(.ep-st__art, .ep-st__titel) { font-size: 1.1875rem; font-weight: 700; }
.ep-sticker > li:nth-child(4n+2) .ep-st { background: var(--wp--preset--color--papier, #F4EFE4); color: var(--wp--preset--color--grund, #14201B) !important; transform: rotate(2deg) translateY(.75rem); }
.ep-sticker > li:nth-child(4n+3) .ep-st { background: var(--wp--preset--color--glut, #D9963F); color: var(--wp--preset--color--grund, #14201B) !important; transform: rotate(-1.5deg); }
.ep-sticker > li:nth-child(4n+4) .ep-st { background: var(--wp--preset--color--tanne, #2E5B45); color: var(--wp--preset--color--papier, #F4EFE4) !important; box-shadow: inset 0 0 0 2px rgba(244, 239, 228, .5), 0 10px 24px rgba(0, 0, 0, .28); transform: rotate(2.5deg) translateY(.5rem); }
.ep-st:focus-visible { outline-color: var(--wp--preset--color--glut, #D9963F); }
@media (max-width: 860px) {
	.ep-presse--sticker { grid-template-columns: minmax(0, 1fr); }
	.ep-sticker > li { flex-basis: auto; max-width: 100%; }
	.ep-st { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) { a.ep-st:hover, a.ep-st:focus-visible { transform: none !important; } }
