@charset "utf-8";
/* =====================================================================================================
   „Bitte hilf mir!“ auf der Startseite (lädt das Plugin nur dort).
   A: Leiste unter dem Startbild (Modul „Eigener Inhalt“, Position top-a, nach dem Startbild)
   B: Eintrag oben in der rechten Spalte (Modul „Eigener Inhalt“, Position right-content, vor der Stufen-Liste)
   Beide nutzen dasselbe Logo: /media/com_dpsgschutz/images/bitte-hilf-mir-logo.webp
   B übernimmt das Raster der Stufen-Liste aus template.css („newsflash right“). Joomla setzt um eigenen
   Inhalt noch <div class="mod-custom">, deshalb hier die Regeln mit diesem Zwischenschritt.
===================================================================================================== */

/*---------- A: Leiste ----------*/
.top-a .bhm-leiste {
	box-sizing: border-box;
	width: var(--site-width, 85%);
	max-width: calc(100% - 2 * var(--gap));
	margin: var(--gap) auto;
}

.top-a .bhm-leiste .infokasten {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: var(--gap);
	margin: 0;
}

.bhm-leiste__logo {
	flex: none;
	width: clamp(56px, 4.5vw, 72px);
	height: auto;
	aspect-ratio: 1;
	object-fit: contain;
}

.bhm-leiste__text {
	flex: 1 1 320px;
	margin: 0;
}

/* Handy: Logo und Text nebeneinander, Knopf darunter */
@media (max-width: 1020px) {
	.bhm-leiste__text { flex-basis: 180px; }
	.top-a .bhm-leiste .btn { flex: 1 1 100%; }
}

.bhm-leiste__text b {
	color: var(--dpsg-blue);
	font-weight: var(--text-font-weight-bold);
}

/*---------- B: rechte Spalte ----------*/
div.content-border > .new .right-content .mod-custom > .bhm-eintrag {
	display: flex;
	flex-flow: column;
	row-gap: var(--gap);
	margin-bottom: var(--gap);
}

/* Trennlinie zur Stufen-Liste wie zwischen den Stufen */
div.content-border > .new .right-content .mod-custom > .bhm-eintrag > .mod-articlesnews__item:last-child {
	border-bottom: 1px solid;
}

div.content-border > .new .right-content .mod-custom > .bhm-eintrag h2 {
	grid-column: 2 / 3;
	grid-row: 1 / 2;
}

div.content-border > .new .right-content .mod-custom > .bhm-eintrag p {
	grid-column: 2 / 3;
	grid-row: 2 / 3;
	margin-bottom: var(--gap-smal);
}

div.content-border > .new .right-content .mod-custom > .bhm-eintrag figure {
	object-fit: cover;
	grid-column: 1 / 2;
	grid-row: 1 / 3;
	margin: 0;
}

div.content-border > .new .right-content .mod-custom > .bhm-eintrag figure picture {
	display: block;
}

div.content-border > .new .right-content .mod-custom > .bhm-eintrag figure img {
	display: block;
	width: 100%;
	height: auto;
}

div.content-border > .new .right-content .mod-custom > .bhm-eintrag .readmore {
	grid-column: 2 / 3;
	grid-row: 3 / 4;
}

/* Handy: die rechte Spalte steht unter den Neuigkeiten und beginnt mit einer Linie (template.css).
   Die Linie gehört jetzt über „Bitte hilf mir!“; zur Stufen-Liste trennt deren eigene obere Linie. */
@media (max-width: 1020px) {
	div.content-border > .new .right-content .mod-custom > .bhm-eintrag {
		padding-top: var(--gap);
		border-top: 1px solid;
		border-image: linear-gradient(to left, var(--background-1), var(--background-1), var(--hover-color), var(--background-1), var(--background-1)) 100;
		margin-bottom: 0;
	}

	div.content-border > .new .right-content .mod-custom > .bhm-eintrag > .mod-articlesnews__item:last-child {
		border-bottom: unset;
	}
}
