/* Homepage digital-edition band — [me_magazine_teaser] */
.me-teaser {
	--accent: #fd4f5a;
	--gold: #b8924a;
	--ease: cubic-bezier(.2, .8, .2, 1);
	position: relative;
	overflow: hidden;
	isolation: isolate;
	background: #141414;
	color: #fff;
	font-family: "DM Sans", sans-serif;
	border-radius: 4px;
}
.me-teaser a { text-decoration: none; color: inherit; }
.me-teaser__bg {
	position: absolute;
	inset: -20%;
	background: center / cover no-repeat;
	filter: blur(60px) saturate(1.2);
	opacity: .35;
	z-index: -2;
}
.me-teaser::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(ellipse at 25% 50%, rgba(20, 20, 20, 0) 0%, rgba(20, 20, 20, .8) 60%, #141414 100%);
}
.me-teaser__inner {
	display: grid;
	grid-template-columns: minmax(280px, 0.8fr) 1.2fr;
	gap: 48px;
	align-items: center;
	max-width: 1400px;
	margin: 0 auto;
	padding: 56px 56px 60px 32px;
}

/* 3D book */
.me-teaser__stage {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 440px;
	perspective: 1600px;
}
.me-teaser__book {
	--rx: 6deg;
	--ry: -24deg;
	--t: 18px;
	position: relative;
	display: block;
	width: 290px;
	height: 375px;
	transform-style: preserve-3d;
	transform: rotateX(var(--rx)) rotateY(var(--ry));
	transition: transform .5s var(--ease);
	animation: me-teaser-bob 7s ease-in-out infinite;
}
@keyframes me-teaser-bob { 50% { translate: 0 -10px; } }
.me-teaser__face { position: absolute; inset: 0; display: block; }
.me-teaser__front {
	transform: translateZ(calc(var(--t) / 2));
	border-radius: 2px 5px 5px 2px;
	overflow: hidden;
	box-shadow: inset 4px 0 8px rgba(0, 0, 0, .35);
}
.me-teaser__front img { display: block; width: 100%; height: 100%; object-fit: cover; }
.me-teaser__glare {
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at var(--gx, 30%) var(--gy, 20%), rgba(255, 255, 255, .35), rgba(255, 255, 255, 0) 45%);
	mix-blend-mode: overlay;
	pointer-events: none;
}
.me-teaser__back { transform: translateZ(calc(var(--t) / -2)) rotateY(180deg); background: #0c0c0c; }
.me-teaser__pages {
	left: calc(100% - var(--t) / 2);
	width: var(--t);
	top: 4px;
	bottom: 4px;
	transform: rotateY(90deg);
	background: repeating-linear-gradient(90deg, #f3f0ea 0 1px, #d9d4ca 1px 2px);
}
.me-teaser__floor {
	position: absolute;
	bottom: 18px;
	left: 50%;
	width: 300px;
	height: 50px;
	transform: translateX(-50%);
	background: radial-gradient(ellipse at center, rgba(0, 0, 0, .7), rgba(0, 0, 0, 0) 70%);
	filter: blur(8px);
}

/* Copy */
.me-teaser__kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--gold);
}
.me-teaser__kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.me-teaser .me-teaser__title {
	margin: 14px 0 14px;
	font-family: Aleo, serif;
	font-size: clamp(44px, 5vw, 76px);
	font-weight: 700;
	line-height: .95;
	letter-spacing: -.02em;
	color: #fff;
}
.me-teaser__title em { font-style: italic; font-weight: 400; color: var(--gold); }
.me-teaser .me-teaser__deck { margin: 0 0 26px; max-width: 52ch; font-size: 17px; line-height: 1.55; color: rgba(255, 255, 255, .7); }
.me-teaser__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-bottom: 34px; }
.me-teaser .me-teaser__btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 50px;
	padding: 0 26px;
	border-radius: 999px;
	background: var(--accent);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	box-shadow: 0 10px 30px rgba(253, 79, 90, .35);
	transition: transform .3s var(--ease), box-shadow .3s;
}
.me-teaser .me-teaser__btn:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(253, 79, 90, .5); color: #fff; }
.me-teaser__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.me-teaser__meta { font-size: 13px; color: rgba(255, 255, 255, .55); }

.me-teaser__strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 22px; }
.me-teaser__pick { display: block; min-width: 0; }
.me-teaser__thumb { display: block; aspect-ratio: 1.546; border-radius: 4px; overflow: hidden; background: #222; margin-bottom: 10px; }
.me-teaser__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.me-teaser__pick:hover .me-teaser__thumb img { transform: scale(1.08); }
.me-teaser__pick small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 3px; }
.me-teaser__pick > span:last-child { display: block; font-family: Aleo, serif; font-size: 14px; line-height: 1.25; color: #fff; }

@media (max-width: 1019px) {
	.me-teaser__inner { grid-template-columns: 1fr; gap: 8px; padding: 40px 20px 44px; text-align: center; }
	.me-teaser__stage { height: 380px; }
	.me-teaser__book { width: 240px; height: 311px; }
	.me-teaser__kicker::before { display: none; }
	.me-teaser .me-teaser__deck { margin-left: auto; margin-right: auto; }
	.me-teaser__ctas { justify-content: center; }
	.me-teaser__strip { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 42%; overflow-x: auto; scroll-snap-type: x mandatory; text-align: left; scrollbar-width: none; }
	.me-teaser__strip::-webkit-scrollbar { display: none; }
	.me-teaser__pick { scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) {
	.me-teaser__book { animation: none; }
}

/* Read counter badge */
.me-mag .me-reads, .me-teaser .me-reads { display: inline-flex; align-items: center; gap: 6px; }
.me-mag .me-reads[hidden], .me-teaser .me-reads[hidden] { display: none; }
.me-mag .me-reads svg, .me-teaser .me-reads svg { width: 15px; height: 15px; fill: none; stroke: #fd4f5a; stroke-width: 2; }
.me-mag .me-reads b { color: #fff; font-weight: 500; }
.me-teaser .me-reads--teaser { font-size: 13px; color: rgba(255, 255, 255, .55); }
.me-teaser .me-reads--teaser b { color: #fff; font-weight: 500; }
