/* Nur was das Theme „Newspaper“ nicht selbst mitbringt. Akzentfarbe aus dem Theme. */

.ah-kasten .td-adspot-title,
.ah-karte .td-adspot-title,
.ah-profil .td-adspot-title {
	display: block;
	margin-bottom: 8px;
	text-align: left;
}

.ah-logo {
	display: block;
	width: 160px;
	max-width: 100%;
	height: auto;
}

.ah-profil .ah-logo {
	width: 260px;
	margin: 8px 0 16px;
}

/* Firmenkasten unter Beiträgen und Firmenkarte */
.ah-kasten,
.ah-karte {
	clear: both;
	margin: 30px 0;
	padding: 16px 20px 20px;
	border-top: 3px solid var(--td_theme_color, #ea4e25);
	background: #f7f7f7;
}

.ah-karte {
	max-width: 420px;
}

.ah-kasten__body,
.ah-karte__main {
	display: flex;
	gap: 20px;
	align-items: center;
	color: inherit;
}

.ah-karte__main span {
	display: flex;
	flex-direction: column;
	font-size: 14px;
	line-height: 1.4;
}

.ah-kasten .ah-kasten__body p {
	margin: 0 0 6px;
	font-size: 15px;
	line-height: 1.5;
}

.ah-kasten .ah-kasten__name {
	font-weight: 700;
	font-size: 17px;
}

.ah-kasten__links a {
	display: inline-block;
	white-space: nowrap;
	margin-right: 16px;
	font-weight: 600;
}

@media (max-width: 600px) {
	.ah-kasten__body,
	.ah-karte__main {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* Profil: Kontakt in der Seitenleiste */
.ah-kontakt dl {
	margin: 0;
}

.ah-kontakt dt {
	margin-top: 12px;
	font-size: 12px;
	text-transform: uppercase;
	color: #767676;
}

.ah-kontakt dd {
	margin: 2px 0 0;
	overflow-wrap: anywhere;
}

/* Kachel im Seiteninhalt (Werben-Seite) so klein wie unter „Verwandte Artikel“ */
.td-post-content .td-related-row .td-module-title,
.td-page-content .td-related-row .td-module-title {
	margin: 8px 0 0;
	font-size: 13px;
	line-height: 18px;
	font-weight: 500;
}

/* Mehrere Firmenkarten: Verzeichnis und „Inserenten dieser Ausgabe“ */
.ah-raster {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 20px;
}

.ah-raster .ah-karte {
	max-width: none;
	margin: 0;
}

.ah-raster .ah-karte__main {
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}

.ah-inserenten {
	margin: 0 0 30px;
}

.ah-inserenten .td-adspot-title {
	text-align: left;
	margin-bottom: 8px;
}

.ah-inserenten .ah-raster {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.ah-inserenten .ah-karte {
	padding: 12px;
	border-top: 0;
	font-size: 13px;
}

/* Logo so breit wie die Karte, damit es neben dem Text nicht untergeht (Marion, 30.10.2026). */
.ah-inserenten .ah-logo {
	width: 100%;
	max-width: 200px;
	max-height: 120px;
	object-fit: contain;
	object-position: left center;
}

.ah-inserenten .ah-karte__main span {
	font-size: 12px;
	line-height: 1.35;
}

.ah-inserenten .ah-karte__main strong {
	font-size: 14px;
}

.ah-inserenten details .ah-raster {
	margin-top: 12px;
}

.ah-inserenten summary {
	margin-top: 12px;
	cursor: pointer;
	font-weight: 600;
	color: var(--td_theme_color, #ea4e25);
}

@media (max-width: 767px) {
	.ah-inserenten .ah-raster {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.ah-filter {
	margin-bottom: 10px;
}

.ah-filter .ah-aktiv a {
	background-color: var(--td_theme_color, #ea4e25);
}

/* Stellenanzeigen */
.ah-stellen {
	margin: 0 !important;
	padding: 0;
	list-style: none;
}

.ah-stellen .ah-stelle {
	margin: 0 !important;
	border-bottom: 1px solid #eaeaea;
	list-style: none;
}

.ah-stellen .ah-stelle a {
	display: flex;
	flex-direction: column;
	padding: 12px 0;
	color: inherit;
}

.ah-stellen .ah-stelle span {
	font-size: 13px;
	color: #767676;
}

.ah-eckdaten {
	margin-bottom: 24px;
}

.ah-eckdaten th {
	width: 30%;
	text-align: left;
	font-weight: 400;
	color: #767676;
}

.ah-bewerben {
	display: inline-block;
	padding: 10px 18px;
	background: var(--td_theme_color, #ea4e25);
	color: #fff !important;
	font-weight: 600;
}

.td-main-sidebar .ah-karte__main {
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}

.ah-verzeichnis .td-adspot-title {
	text-align: left;
}
