/* arthro.fibrose Funktionen: Magazin-Karten und Termine. Farben kommen aus den globalen Farben von GeneratePress. */

.af-magazin {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.af-karte {
	background: var(--base-3, #fff);
	border-radius: 8px;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.af-karte__bild {
	aspect-ratio: 330 / 175;
	display: block;
	overflow: hidden;
}

.af-karte__bild img {
	display: block;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
	width: 100%;
}

.af-karte:hover .af-karte__bild img {
	transform: scale(1.03);
}

.af-karte__inhalt {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 28px 22px 24px;
}

.af-karte__label {
	color: var(--contrast-3, #5f6e69);
	font-size: 10px;
	letter-spacing: .14em;
	margin: 0 0 14px;
	text-transform: uppercase;
}

.af-karte__titel {
	font-size: 22px;
	font-weight: 400;
	letter-spacing: -.01em;
	line-height: 1.25;
	margin: 0 0 14px;
}

.af-karte__titel a {
	color: var(--contrast, #203c37);
	text-decoration: none;
}

.af-karte__titel a:hover {
	color: var(--accent, #547f72);
}

.af-karte__auszug {
	color: var(--contrast-2, #55635e);
	font-size: 13px;
	line-height: 1.6;
	margin: 0 0 24px;
}

.af-karte__mehr {
	align-items: center;
	border-top: 1px solid var(--base, #d9e1dd);
	color: var(--contrast, #203c37);
	display: flex;
	font-size: 12px;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 14px;
	text-decoration: none;
}

.af-karte__mehr:hover,
.af-karte__mehr:focus-visible {
	color: var(--accent, #547f72);
}

/* Termine */

.af-termine {
	display: grid;
	gap: 12px;
}

.af-termin {
	align-items: center;
	background: var(--contrast, #203c37);
	color: #fff;
	display: flex;
	gap: 24px;
	justify-content: space-between;
	padding: 18px 20px;
}

.af-termin p {
	margin: 0;
}

.af-termin__label {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .06em;
	opacity: .85;
	text-transform: uppercase;
}

.af-termin__titel {
	font-size: 18px;
	line-height: 1.35;
	margin-top: 4px !important;
}

.af-termin__titel a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.af-termin__info {
	font-size: 12px;
	opacity: .85;
	text-align: right;
}

@media (max-width: 900px) {
	.af-magazin {
		grid-template-columns: 1fr;
		margin-left: auto;
		margin-right: auto;
		max-width: 560px;
	}
}

@media (max-width: 767px) {

	.af-termin {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
	}

	.af-termin__info {
		text-align: left;
	}
}
