/* Now a Major Motion Podcast — continuous play & cookie choice */

/* A light touch while the next page is on its way. */
html.nammp-cp-loading #main {
	opacity: .55;
	transition: opacity .15s ease .12s;
}
@media (prefers-reduced-motion: reduce) {
	html.nammp-cp-loading #main { transition: none; }
}

/* ---------- Cookie question ---------- */
.nammp-cookies {
	position: fixed;
	z-index: 100000; /* above the sticky player */
	left: 16px;
	bottom: calc(var(--nammp-player-inset, 0px) + 16px);
	width: min(440px, calc(100vw - 32px));
	max-height: calc(100vh - var(--nammp-player-inset, 0px) - 32px);
	overflow: auto;
	padding: 20px 22px 18px;
	background: var(--nammp-space-2, #fbf3e8);
	color: var(--nammp-cream-text, #3d2c24);
	border: 2px solid var(--nammp-cream, #2a1d17);
	border-radius: 14px;
	box-shadow: 0 18px 40px -18px rgba(60, 35, 20, .55);
	font-size: .95rem;
	line-height: 1.5;
	animation: nammp-cookies-in .3s cubic-bezier(.2, .7, .2, 1) both;
}
.nammp-cookies.is-leaving { opacity: 0; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease; }
@keyframes nammp-cookies-in {
	from { opacity: 0; transform: translateY(12px); }
	to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	.nammp-cookies { animation: none; }
	.nammp-cookies.is-leaving { transition: none; }
}

.nammp-cookies__title {
	margin: 0 0 .6em !important;
	font-size: 1.15rem !important;
	line-height: 1.25 !important;
	color: var(--nammp-cream, #2a1d17) !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
}
.nammp-cookies__title::before { display: none !important; }
.nammp-cookies__text p { margin: 0 0 .7em; }
.nammp-cookies__text a { color: var(--nammp-coral-text, #9e3530); text-decoration: underline; }
.nammp-cookies__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 14px;
}
.nammp-cookies__btn {
	flex: 1 1 140px;
	min-height: 44px;
	padding: .6em 1.2em;
	border-radius: 999px;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	border: 2px solid var(--nammp-cream, #2a1d17);
}
.nammp-cookies__btn--yes {
	background: var(--nammp-sticker, linear-gradient(115deg, #d75555 0%, #e0635d 45%, #de906a 100%));
	color: var(--nammp-ink, #1c0f0d);
}
.nammp-cookies__btn--no {
	background: transparent;
	color: var(--nammp-cream, #2a1d17);
}
.nammp-cookies__btn:hover { filter: brightness(1.05); }
.nammp-cookies__now { margin: 10px 0 0; font-size: .85rem; color: var(--nammp-muted-text, #5a463b); }

@media (max-width: 689.98px) {
	.nammp-cookies { left: 12px; right: 12px; width: auto; bottom: calc(var(--nammp-player-inset, 0px) + 12px); padding: 16px 18px; font-size: .9rem; }
}

/* ---------- "Cookie settings" in the footer ---------- */
.nammp-cookie-settings {
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	color: inherit;
	text-decoration: underline;
	cursor: pointer;
}
.nammp-cookie-settings:hover { color: var(--nammp-coral-text, #9e3530); }

/* ---------- Cookie categories ---------- */
.nammp-cookies { width: min(500px, calc(100vw - 32px)); }
.nammp-cookies__intro { margin: 0 0 .8em; }
.nammp-cookies__cats { display: grid; gap: 10px; }
.nammp-cookies__cat {
	padding: 10px 12px;
	border: 1px solid rgba(42, 29, 23, .18);
	border-radius: 10px;
	background: rgba(255, 255, 255, .45);
}
.nammp-cookies__cat-head { display: flex; align-items: center; gap: 10px; }
.nammp-cookies__cat-head label { font-weight: 700; cursor: pointer; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nammp-cookies__check {
	width: 22px; height: 22px; margin: 0; flex: none;
	accent-color: #9e3530;
	cursor: pointer;
}
.nammp-cookies__check[disabled] { cursor: default; opacity: .7; }
.nammp-cookies__always {
	font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
	padding: 2px 8px; border-radius: 999px; background: rgba(42, 29, 23, .1);
}
.nammp-cookies__cat-text { padding-left: 32px; font-size: .88em; }
.nammp-cookies__cat-text p { margin: .35em 0 0; }
.nammp-cookies__miss { color: var(--nammp-muted-text, #5a463b); font-style: italic; }
.nammp-cookies code { font-size: .92em; padding: 0 .25em; border-radius: 4px; background: rgba(42, 29, 23, .08); white-space: nowrap; }
.nammp-cookies__policy { margin: .8em 0 0; font-size: .88em; }
.nammp-cookies__policy a { color: var(--nammp-coral-text, #9e3530); text-decoration: underline; }
.nammp-cookies__btn { flex: 1 1 120px; text-align: center; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
@media (max-width: 689.98px) {
	.nammp-cookies { max-height: calc(100vh - var(--nammp-player-inset, 0px) - 24px); }
	.nammp-cookies__cat-text { padding-left: 0; }
}

/* ---------- Trailer pop-up ---------- */
html.nammp-video-open { overflow: hidden; }
.nammp-video {
	width: min(1100px, calc(100vw - 32px));
	max-width: none;
	max-height: calc(100vh - 32px);
	padding: 0;
	border: 0;
	background: transparent;
	color: #fbf3e8;
	overflow: visible;
}
.nammp-video::backdrop { background: rgba(20, 10, 8, .86); }
.nammp-video[open] { animation: nammp-video-in .25s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes nammp-video-in { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .nammp-video[open] { animation: none; } }
.nammp-video__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.nammp-video__title {
	margin: 0 !important; font-size: 1.05rem !important; line-height: 1.3 !important;
	color: #fbf3e8 !important; text-transform: none !important; letter-spacing: 0 !important;
}
.nammp-video__title::before { display: none !important; }
.nammp-video__close {
	flex: none; width: 44px; height: 44px; display: grid; place-items: center;
	border-radius: 999px; border: 2px solid rgba(251, 243, 232, .7);
	background: rgba(20, 10, 8, .5); color: #fbf3e8; cursor: pointer; padding: 0;
}
.nammp-video__close:hover { background: #9e3530; border-color: #9e3530; }
.nammp-video__stage {
	position: relative;
	aspect-ratio: 16 / 9;
	max-height: calc(100vh - 110px);
	margin: 0 auto;
	background: #000;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .7);
}
.nammp-video__stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.nammp-video__ask {
	position: absolute; inset: 0; display: grid; place-items: center; padding: 16px;
	background: linear-gradient(rgba(20, 10, 8, .72), rgba(20, 10, 8, .82)), var(--nammp-video-thumb) center / cover no-repeat;
	overflow: auto;
}
.nammp-video__ask-card {
	max-width: 520px; padding: 20px 22px; border-radius: 14px;
	background: var(--nammp-space-2, #fbf3e8); color: var(--nammp-cream-text, #3d2c24);
	border: 2px solid var(--nammp-cream, #2a1d17); font-size: .95rem; line-height: 1.5;
}
.nammp-video__ask-card p { margin: 0 0 .7em; }
.nammp-video__ask-title { font-weight: 700; font-size: 1.1rem; color: var(--nammp-cream, #2a1d17); }
.nammp-video__ask-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
@media (max-width: 689.98px) {
	.nammp-video { width: calc(100vw - 16px); }
	.nammp-video__ask-card { padding: 14px 16px; font-size: .88rem; }
}
@media (max-width: 689.98px) and (orientation: portrait) {
	.nammp-video__stage:has(.nammp-video__ask) { aspect-ratio: auto; min-height: 340px; }
}
