/* ==========================================================================
   ALLTAGSFUCHS HOME LIVE LAYER
   Eigene Datei, damit der bestehende style-af-front.css-Split unangetastet bleibt.
   ========================================================================== */

.af-live-layer {
	margin: -22px 0 62px;
	padding: 24px 0 0;
	border-top: 1px solid var(--af-color-line-soft);
}

.af-live-layer-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 28px;
	margin-bottom: 20px;
}

.af-live-eyebrow {
	display: block;
	margin-bottom: 5px;
	color: var(--af-color-accent);
	font-size: .67rem;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.af-live-layer-head h2 {
	margin: 0;
	color: #171717;
	font-family: var(--af-serif);
	font-size: clamp(1.45rem, 2.5vw, 2rem);
	font-weight: 400;
	line-height: 1.1;
}

.af-live-layer-head > p {
	max-width: 430px;
	margin: 0;
	color: #777;
	font-size: .88rem;
	line-height: 1.5;
	text-align: right;
}

.af-live-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.af-live-card {
	min-width: 0;
	background: #fff;
	border: 1px solid #ebe6e0;
	border-radius: var(--af-radius);
	overflow: hidden;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.af-live-card:hover {
	transform: translateY(-2px);
	border-color: rgba(255,117,24,.3);
	box-shadow: 0 8px 22px rgba(0,0,0,.06);
}

.af-live-card-link {
	display: grid;
	grid-template-columns: 92px minmax(0,1fr);
	height: 100%;
	min-height: 122px;
}

.af-live-card-media {
	width: 92px;
	height: 100%;
	min-height: 122px;
	overflow: hidden;
	background: #f1efec;
}

.af-live-card-img,
.af-live-card-media picture,
.af-live-card-media picture img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.af-live-card-fallback {
	width: 100%;
	height: 100%;
	background: linear-gradient(145deg, #f2e9df 0%, #e7ded5 100%);
}

.af-live-card-body {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 13px 14px 12px;
}

.af-live-card-label {
	margin-bottom: 7px;
	color: var(--af-color-accent);
	font-size: .64rem;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.af-live-card-title {
	margin: 0;
	color: #222;
	font-size: .94rem;
	font-weight: 700;
	line-height: 1.35;
}

.af-live-card-meta {
	display: flex;
	align-items: center;
	gap: 5px;
	margin-top: auto;
	padding-top: 11px;
	color: #85817c;
	font-size: .7rem;
	line-height: 1.3;
}

.af-live-card-avatar {
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	object-fit: cover;
}

.af-live-card-dot {
	color: #bbb4ac;
}

.af-side-updated .af-side-title {
	margin-bottom: 2px;
}

.af-updated-item {
	display: grid;
	grid-template-columns: 42px minmax(0,1fr);
	gap: 10px;
	padding: 11px 0;
	border-bottom: 1px solid #ece8e3;
	text-decoration: none;
}

.af-updated-item:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.af-updated-date {
	padding-top: 2px;
	color: var(--af-color-accent);
	font-size: .7rem;
	font-weight: 800;
	letter-spacing: .03em;
}

.af-updated-title {
	color: #2b2b2b;
	font-size: .86rem;
	font-weight: 600;
	line-height: 1.38;
}

.af-updated-item:hover .af-updated-title {
	color: var(--af-color-accent);
}

.af-stream-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 5px;
	margin: 2px 0 7px;
	color: #8a857f;
	font-size: .72rem;
	line-height: 1.35;
}

.af-stream-meta-avatar {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	object-fit: cover;
}

.af-stream-meta-dot {
	color: #c7c1ba;
}

@media (max-width: 1080px) {
	.af-live-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.af-live-layer {
		margin-top: -28px;
		margin-bottom: 46px;
	}

	.af-live-layer-head {
		display: block;
	}

	.af-live-layer-head > p {
		margin-top: 8px;
		text-align: left;
	}

	.af-live-grid {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.af-live-card-link {
		grid-template-columns: 88px minmax(0,1fr);
		min-height: 108px;
	}

	.af-live-card-media {
		width: 88px;
		min-height: 108px;
	}

	.af-live-card-body {
		padding: 11px 12px;
	}

	.af-live-card-title {
		font-size: .91rem;
	}

	.af-live-card-meta {
		padding-top: 8px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.af-live-card {
		transition: none;
	}

	.af-live-card:hover {
		transform: none;
	}
}