/* ==========================================================================
   ALLTAGSFUCHS ARTICLE MAGAZINE LAYER v2
   Nur normaler Dokumentfluss. Kein fixed, sticky oder Overlay.
   ========================================================================== */

/* Aktualität */
.af-article-update-status {
	display: flex;
	align-items: center;
	gap: 8px;
	max-width: 800px;
	margin: -5px auto 18px;
	color: #77716b;
	font-size: 12px;
	line-height: 1.45;
}

.af-article-update-status__mark {
	flex: 0 0 7px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #ff7518;
	box-shadow: 0 0 0 4px rgba(255,117,24,.10);
}

.af-article-update-status time {
	color: #514b45;
	font-weight: 600;
}

/* Früher Lesetipp */
.af-inline-discovery {
	max-width: 760px;
	margin: 34px auto;
	padding: 0;
	border-top: 1px solid #e8e2db;
	border-bottom: 1px solid #e8e2db;
}

.af-inline-discovery__link {
	display: grid;
	grid-template-columns: 132px minmax(0,1fr);
	align-items: stretch;
	color: inherit;
	text-decoration: none !important;
}

.af-inline-discovery__media {
	min-height: 132px;
	overflow: hidden;
	background: #f3f0ed;
}

.af-inline-discovery__media picture,
.af-inline-discovery__media img,
.af-inline-discovery__img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 132px;
	object-fit: cover;
}

.af-inline-discovery__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	padding: 17px 20px;
}

.af-inline-discovery__label {
	margin-bottom: 5px;
	color: #8c857e;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .13em;
	text-transform: uppercase;
}

.af-inline-discovery__kicker {
	margin-bottom: 4px;
	color: #ff7518;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.af-inline-discovery__title {
	display: block;
	color: #1e1e1e;
	font-size: 1rem;
	line-height: 1.32;
	font-weight: 700;
}

.af-inline-discovery__excerpt {
	display: block;
	margin-top: 6px;
	color: #6f6963;
	font-size: .83rem;
	line-height: 1.48;
}

.af-inline-discovery__link:hover .af-inline-discovery__title {
	color: #e05c00;
}

/* Abschluss */
.af-mag-end {
	max-width: 800px;
	margin: 48px auto 34px;
	padding-top: 26px;
	border-top: 2px solid #191919;
}

.af-mag-end__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 26px;
	margin-bottom: 18px;
}

.af-mag-end__eyebrow {
	display: block;
	margin-bottom: 5px;
	color: #ff7518;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.af-mag-end__head h2 {
	margin: 0 !important;
	padding: 0 !important;
	color: #171717;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.35rem, 2.5vw, 1.85rem);
	line-height: 1.15;
	font-weight: 700;
}

.af-mag-end__head h2::after {
	content: none !important;
}

.af-mag-end__head > p {
	max-width: 310px;
	margin: 0;
	color: #746e68;
	font-size: .82rem;
	line-height: 1.45;
	text-align: right;
}

.af-mag-end__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0,1fr));
	gap: 16px;
}

.af-mag-end-card {
	min-width: 0;
	overflow: hidden;
	border: 1px solid #e8e2db;
	background: #fff;
}

.af-mag-end-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none !important;
}

.af-mag-end-card__media {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #f2f0ed;
}

.af-mag-end-card__media picture,
.af-mag-end-card__media img,
.af-mag-end-card__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .25s ease;
}

.af-mag-end-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 17px 18px 18px;
}

.af-mag-end-card__topline {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 9px;
}

.af-mag-end-card__label {
	color: #8b837c;
	font-size: 9px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.af-mag-end-card__meta {
	color: #aaa29b;
	font-size: 10px;
	white-space: nowrap;
}

.af-mag-end-card__kicker {
	margin-bottom: 5px;
	color: #ff7518;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.af-mag-end-card__title {
	margin: 0 !important;
	padding: 0 !important;
	color: #202020;
	font-size: 1.05rem;
	line-height: 1.3;
	font-weight: 700;
}

.af-mag-end-card__title::after {
	content: none !important;
}

.af-mag-end-card__excerpt {
	margin: 9px 0 0;
	color: #68625c;
	font-size: .84rem;
	line-height: 1.52;
}

.af-mag-end-card__action {
	display: block;
	margin-top: auto;
	padding-top: 14px;
	color: #ff7518;
	font-size: .75rem;
	font-weight: 700;
}

.af-mag-end-card__link:hover .af-mag-end-card__title {
	color: #e05c00;
}

.af-mag-end-card__link:hover .af-mag-end-card__media img {
	transform: scale(1.025);
}

.af-mag-end__author {
	display: flex;
	align-items: baseline;
	justify-content: flex-end;
	gap: 5px;
	margin-top: 15px;
	color: #928b84;
	font-size: .76rem;
}

.af-mag-end__author a {
	color: #4c4742;
	font-weight: 700;
	text-decoration: none;
}

.af-mag-end__author a:hover {
	color: #ff7518;
}

/* Dark Mode */
html.dark-mode .af-article-update-status {
	color: var(--af-text-muted, #aaa);
}

html.dark-mode .af-article-update-status time {
	color: var(--af-text-body, #ddd);
}

html.dark-mode .af-inline-discovery {
	border-color: var(--af-border, #353535);
}

html.dark-mode .af-inline-discovery__title,
html.dark-mode .af-mag-end__head h2,
html.dark-mode .af-mag-end-card__title {
	color: var(--af-text-head, #f4f4f4);
}

html.dark-mode .af-inline-discovery__excerpt,
html.dark-mode .af-mag-end__head > p,
html.dark-mode .af-mag-end-card__excerpt {
	color: var(--af-text-body, #ccc);
}

html.dark-mode .af-mag-end {
	border-top-color: var(--af-text-head, #eee);
}

html.dark-mode .af-mag-end-card {
	background: var(--af-bg-card, #1c1c1c);
	border-color: var(--af-border, #353535);
}

html.dark-mode .af-mag-end__author a {
	color: var(--af-text-body, #ddd);
}

@media (max-width: 700px) {
	.af-mag-end__head {
		display: block;
	}

	.af-mag-end__head > p {
		margin-top: 7px;
		text-align: left;
	}
}

@media (max-width: 640px) {
	.af-article-update-status {
		margin-top: -7px;
		margin-bottom: 16px;
		font-size: 11px;
	}

	.af-inline-discovery {
		margin: 28px auto;
	}

	.af-inline-discovery__link {
		grid-template-columns: 96px minmax(0,1fr);
	}

	.af-inline-discovery__media,
	.af-inline-discovery__media picture,
	.af-inline-discovery__media img,
	.af-inline-discovery__img {
		min-height: 118px;
	}

	.af-inline-discovery__body {
		padding: 13px 14px;
	}

	.af-inline-discovery__excerpt {
		display: none;
	}

	.af-mag-end {
		margin-top: 38px;
		padding-top: 22px;
	}

	.af-mag-end__grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.af-mag-end-card__link {
		display: grid;
		grid-template-columns: 112px minmax(0,1fr);
	}

	.af-mag-end-card__media {
		aspect-ratio: auto;
		min-height: 150px;
	}

	.af-mag-end-card__body {
		padding: 14px 15px;
	}

	.af-mag-end-card__excerpt {
		display: none;
	}

	.af-mag-end-card__action {
		padding-top: 10px;
	}

	.af-mag-end__author {
		justify-content: flex-start;
	}
}

@media (max-width: 420px) {
	.af-inline-discovery__link {
		grid-template-columns: 82px minmax(0,1fr);
	}

	.af-mag-end-card__link {
		grid-template-columns: 96px minmax(0,1fr);
	}

	.af-mag-end-card__media {
		min-height: 138px;
	}

	.af-mag-end-card__topline {
		display: block;
	}

	.af-mag-end-card__meta {
		display: block;
		margin-top: 2px;
	}

	.af-mag-end-card__title {
		font-size: .98rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.af-mag-end-card__media img {
		transition: none;
	}

	.af-mag-end-card__link:hover .af-mag-end-card__media img {
		transform: none;
	}
}