/**
 * Kopie aus wp-content/plugins/jagdverband/assets/paragraph-blocks.css, Stand 21.10.2026, seit Phase 7 im Theme; Regeln
 * unverändert, auch die für Vendor-Klassen – Aufräumen in der Nacharbeit.
 *
 * @package Jagdverband_Theme
 */

/* Kacheln: full viewport width — Drupal .list.mb-6 sits outside .imagetext .container */
.single-article .content.text.col-12 .list.mb-6,
.post-type-article .content.text.col-12 .list.mb-6 {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/* Gray paper sections: break out to full width like Drupal field_paragraf_grau */
.single-article .content.text.col-12 .paper-bg,
.post-type-article .content.text.col-12 .paper-bg {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/* Nested .container inside breakout wrappers keeps content aligned */
.single-article .content.text.col-12 .paper-bg > .container,
.post-type-article .content.text.col-12 .paper-bg > .container {
	max-width: 1275px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 25px;
	padding-right: 25px;
	box-sizing: border-box;
}

/* Paragraph blocks inside post content: no extra WP block margins */
.single-article .content.text.col-12 .wp-block-post-content > [class*="wp-block-jagdverband-"],
.post-type-article .content.text.col-12 .wp-block-post-content > [class*="wp-block-jagdverband-"] {
	margin-top: 0;
	margin-bottom: 0;
}

/* Kacheln — square tiles (Drupal image style "quadrat" 407×405) */
.tiles .tile > a {
	display: block;
}

.tiles .tile img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

/* Quicksearch input — Drupal tiles-filter */
.tiles-filter .quicksearch {
	width: 100%;
	border: 1px solid #dee2e6;
	padding: 0.5rem 0.75rem;
	font-size: 1rem;
}
