/* Abfuhrtermine FP Eitzing — Ausgabe des Shortcodes [fpe_abfuhrtermine]
 * Bewusst OHNE feste px-Breiten: die abgeloeste Bricks-Section hatte einen
 * fixen 1100px-Container (row/nowrap), der nicht schrumpfte und unter 1100px
 * horizontalen Scroll erzeugte (gemessen: 122px @1024, 368 @768, 746 @375).
 */

.fpe-abfuhr {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.fpe-abfuhr *,
.fpe-abfuhr *::before,
.fpe-abfuhr *::after {
	box-sizing: border-box;
}

.fpe-abfuhr__leer {
	margin: 0;
	opacity: .7;
}

.fpe-abfuhr__jahr {
	margin: 0 0 1.5rem;
	font-weight: 700;
	opacity: .65;
}

/* --- Jahresuebersicht ------------------------------------------------- */

/* 🔴 Bricks stylt JEDES <section> als "display:flex; flex-direction:column; align-items:center".
   Ohne diesen Reset erbt das Monatsraster align-items:center und schrumpft auf seine
   Mindestbreite (gemessen: 160px statt 1100px, mittig statt Raster). */
.fpe-abfuhr--jahr .fpe-abfuhr__fraktion {
	display: block;
	margin: 0 0 2.5rem;
}

.fpe-abfuhr--jahr .fpe-abfuhr__fraktion:last-child {
	margin-bottom: 0;
}

.fpe-abfuhr__titel {
	margin: 0 0 .75rem;
	font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem);
	line-height: 1.2;
}

/* Monate: fliessendes Raster statt fixer Spalten -> kein Overflow, kein Media-Query noetig */
.fpe-abfuhr__monate {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 1rem;
	width: 100%;
}

.fpe-abfuhr__monat {
	min-width: 0; /* verhindert, dass Grid-Items durch Inhalt aufblaehen */
	border-top: 2px solid currentColor;
	padding-top: .5rem;
	opacity: .9;
}

.fpe-abfuhr__monatsname {
	display: block;
	font-weight: 700;
	margin-bottom: .35rem;
}

.fpe-abfuhr__tage {
	list-style: none;
	margin: 0;
	padding: 0;
}

.fpe-abfuhr__tage li {
	padding: .15rem 0;
	overflow-wrap: anywhere;
}

.fpe-abfuhr__tage li.ist-vorbei {
	opacity: .4;
	text-decoration: line-through;
}

/* --- Naechste Termine ------------------------------------------------- */

.fpe-abfuhr--naechste {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1.25rem;
}

.fpe-abfuhr__kachel {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .4rem;
	text-align: center;
	min-width: 0;
}

.fpe-abfuhr__punkt {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	display: block;
}

.fpe-abfuhr__label {
	color: #17527a;
	font-weight: 500;
}

.fpe-abfuhr__datum {
	color: #0b1e2d;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .5px;
}
