/* Taxonomie-Archive „Dokumententyp" & „Thema" (MKT-976).
   Bringt das generische Bricks-Posts-Element auf den Card-Look der Übersicht
   (Grid-Gap, Cards, Typografie). Wird NUR auf diesen Archiven geladen und
   adressiert die Bricks-Standardklassen (.brxe-posts …) – kein Eingriff in den
   Bricks-Baum, funktioniert lokal wie live (unabhängig von der Element-ID). */

/* --- Archiv-Titel ("Dokumententyp: Blog") --- */
.bricks-archive-title-wrapper {
	padding-top: 48px;
	margin-bottom: 30px;
}
.bricks-archive-title-wrapper .title {
	font-size: clamp(1.9rem, 3vw, 2.6rem);
	line-height: 1.15;
}
.bricks-archive-title-wrapper .title span {
	color: var(--primary, #db1f3e);
}

/* Luft zwischen Grid und Kontakt-Block */
#brx-content > .brxe-container {
	padding-bottom: 64px;
}

/* --- Grid: 3 Spalten, 30px Gap (wie der Hub) --- */
.brxe-posts .bricks-layout-wrapper {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 30px !important;
}
.brxe-posts .bricks-layout-item {
	margin: 0 !important;
	list-style: none;
}

/* --- Card --- */
.brxe-posts .bricks-layout-inner {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border-radius: var(--radius-l, 14px);
	overflow: hidden;
	box-shadow: var(--shadow-card, 0 6px 24px rgba(0, 0, 0, 0.06));
}

/* Bild oben, einheitliche Höhe */
.brxe-posts .image-wrapper {
	margin: 0;
}
.brxe-posts .image-wrapper img,
.brxe-posts img.image {
	display: block;
	width: 100%;
	height: 210px;
	object-fit: cover;
}

/* --- Textbereich --- */
.brxe-posts .content-wrapper {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 22px 24px 26px;
}
.brxe-posts .content-wrapper h3 {
	margin: 0;
	font-size: 1.35rem;
	line-height: 1.3;
	font-weight: 600;
}
.brxe-posts .content-wrapper h3 a {
	color: var(--td-charcoal, #1f2937);
	text-decoration: none;
}
.brxe-posts .content-wrapper h3 a:hover {
	color: var(--primary, #db1f3e);
}
/* Datum als Eyebrow nach oben ziehen */
.brxe-posts .content-wrapper > div:nth-of-type(1) {
	order: -1;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--td-muted, #6b7280);
}
/* Auszug */
.brxe-posts .content-wrapper > div:nth-of-type(2) {
	font-size: 1rem;
	line-height: 1.55;
	color: var(--td-muted, #6b7280);
}

@media (max-width: 991px) {
	.brxe-posts .bricks-layout-wrapper {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}
@media (max-width: 767px) {
	.brxe-posts .bricks-layout-wrapper {
		grid-template-columns: 1fr !important;
		gap: 24px !important;
	}
	.bricks-archive-title-wrapper {
		padding-top: 28px;
	}
}
