/**
 * RA Radio page.
 *
 * Built from Love's mock-up (Claude artifact XAfxS9kdMaa2t1FoxxEWke,
 * 1 November 2026). Palette, type and layout are hers; the markup is
 * rendered by templates/radio-page.php from content she edits in wp-admin.
 *
 * Loaded only on pages that contain the [ra_radio] shortcode, which is why
 * the rules at the bottom that reach outside .rafm are safe.
 */

/* Everything is scoped to .rafm and forced, because Astra and Elementor
   both style headings, paragraphs and buttons globally. */

.rafm {
	--maroon: #4d1721;
	--cream:  #e6d8bd;
	--sand:   #ccc0a8;
	--burnt:  #b05b1d;
	--ink:    #373535;
	--ink2:   #4a4646;
	--muted:  #57524f;

	/* Full bleed. max-width is forced because WordPress's content-width
	   layout caps direct children of .entry-content, which otherwise
	   stops the coloured bands short of the right edge. */
	width: 100vw;
	max-width: none !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: 0 !important;
	overflow-x: hidden;
	font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif !important;
	color: var(--ink) !important;
	background: var(--cream);
}

.rafm *, .rafm *::before, .rafm *::after { box-sizing: border-box; }

.rafm h1, .rafm h2, .rafm h3, .rafm p { margin: 0 !important; }

/* 1200px, exactly as her design. */
.rafm__wrap { max-width: 1200px; margin: 0 auto !important; padding: 0 clamp(16px, 4vw, 40px); }

.rafm a:focus-visible,
.rafm button:focus-visible,
.rafm input:focus-visible { outline: 3px solid var(--burnt); outline-offset: 2px; }

/* ---------- headings ---------- */

.rafm__h1,
.rafm__h2,
.rafm__cardh {
	font-family: 'Bebas Neue', Impact, sans-serif !important;
	font-weight: 400 !important;
	line-height: 1 !important;
	text-transform: none !important;
}

.rafm__h1 {
	font-size: clamp(50px, 7vw, 92px) !important;
	line-height: .92 !important;
	letter-spacing: .5px !important;
	color: var(--cream) !important;
}

.rafm__h2 {
	font-size: clamp(38px, 5vw, 56px) !important;
	color: var(--maroon) !important;
}

.rafm__h2--cream { color: var(--cream) !important; }

.rafm__sub { margin: 8px 0 0 !important; font-size: 16px !important; color: var(--muted) !important; }
.rafm__sub--sand { color: var(--sand) !important; }

.rafm__label {
	font-size: 12px !important;
	font-weight: 700 !important;
	letter-spacing: 1.5px !important;
	color: var(--sand) !important;
}

.rafm__eyebrow {
	display: block;
	font-size: 13px !important;
	font-weight: 700 !important;
	letter-spacing: 2px !important;
	color: var(--sand) !important;
}

/* ---------- sections ---------- */

.rafm__sec { padding: 72px 0; }
.rafm__sec--cream  { background: var(--cream); }
.rafm__sec--ink    { background: var(--ink); }
.rafm__sec--maroon { background: var(--maroon); }
.rafm__sec--white  { background: #fff; }

/* ---------- hero ---------- */

.rafm__hero { background: var(--maroon); padding: 56px 0 64px; }

.rafm__herogrid { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }

.rafm__herotext { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }

.rafm__logo { display: inline-block; align-self: flex-start; background: #fff; border-radius: 8px; padding: 10px 14px; }
.rafm__logo img { height: 72px; width: auto; display: block; }

.rafm__lede {
	font-size: 18px !important;
	line-height: 1.55 !important;
	color: var(--sand) !important;
	max-width: 520px;
}

.rafm__pills { display: flex; flex-wrap: wrap; gap: 10px; }

.rafm__pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 16px;
	border-radius: 6px;
	border: 1px solid var(--sand);
	color: var(--cream) !important;
	text-decoration: none !important;
	font-weight: 600 !important;
	font-size: 14px !important;
}

.rafm__pill:hover { background: var(--cream); color: var(--maroon) !important; border-color: var(--cream); }

/* ---------- player card ---------- */

.rafm__player {
	flex: 1 1 440px;
	min-width: 0;
	background: var(--ink);
	border-radius: 14px;
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 22px;
	box-shadow: 0 20px 40px rgba(0,0,0,.25);
}

.rafm__playertop { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.rafm__onair {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--burnt);
	color: #fff !important;
	font-weight: 700 !important;
	font-size: 13px !important;
	letter-spacing: 1px !important;
	padding: 6px 12px;
	border-radius: 999px;
}

.rafm__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cream); }

.rafm__from { font-size: 14px !important; color: var(--sand) !important; }

.rafm__nowrow { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }

.rafm__art {
	width: 120px;
	height: 120px;
	border-radius: 10px;
	background: var(--maroon);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

/* The station's own artwork for whatever is on air, pulled from radio.co.
   It covers the equaliser rather than replacing it, so the tile is never
   empty while the image loads or if it never arrives. */
.rafm__art { position: relative; overflow: hidden; }

.rafm__artimg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.rafm__artimg[hidden] { display: none !important; }

.rafm__nowtext { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }

.rafm__now {
	font-family: 'Bebas Neue', Impact, sans-serif !important;
	font-weight: 400 !important;
	font-size: 36px !important;
	line-height: 1 !important;
	color: var(--cream) !important;
}

.rafm__nowsub { font-size: 15px !important; color: var(--sand) !important; }

.rafm__eq { display: flex; align-items: flex-end; gap: 6px; height: 64px; }
.rafm__eq span { display: block; width: 10px; border-radius: 2px; background: var(--burnt); height: 30%; }
.rafm__eq span:nth-child(2) { height: 70%; }
.rafm__eq span:nth-child(3) { height: 45%; }
.rafm__eq span:nth-child(4) { height: 85%; }
.rafm__eq span:nth-child(5) { height: 55%; }
.rafm__eq.is-on span { animation: rafmEq 1s ease-in-out infinite; }
.rafm__eq.is-on span:nth-child(2) { animation-delay: .15s; }
.rafm__eq.is-on span:nth-child(3) { animation-delay: .3s; }
.rafm__eq.is-on span:nth-child(4) { animation-delay: .45s; }
.rafm__eq.is-on span:nth-child(5) { animation-delay: .6s; }

/* The orange tile would hide orange bars, so they turn cream there. */
.rafm__cover--burnt .rafm__eq span { background: var(--cream); }

/* Every tile carries the bars, including one with an uploaded cover. On a
   photo they sit on top in cream with a soft shadow, so they read on any
   picture, light or dark. */
.rafm__cover .rafm__eq { position: relative; z-index: 1; }
.rafm__cover--img .rafm__eq span { background: var(--cream); box-shadow: 0 1px 6px rgba(0, 0, 0, .55); }

@keyframes rafmEq { 0%, 100% { height: 20%; } 50% { height: 95%; } }
@media (prefers-reduced-motion: reduce) { .rafm__eq.is-on span { animation: none; } }

.rafm__controls { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

.rafm .rafm__play {
	width: 72px;
	height: 72px;
	border-radius: 50% !important;
	border: 0 !important;
	background: var(--burnt) !important;
	background-image: none !important;
	color: #fff !important;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 !important;
	box-shadow: none !important;
	cursor: pointer;
	flex-shrink: 0;
}

/* SVG does not obey the plain hidden attribute the way HTML does, so the
   play and pause icons would both show without this. */
.rafm__play svg[hidden] { display: none !important; }

.rafm__vol { flex: 1 1 180px; display: flex; flex-direction: column; gap: 6px; }
.rafm__vol input[type="range"] {
	width: 100%;
	height: 24px;
	accent-color: var(--burnt) !important;
	-webkit-appearance: none;
	appearance: none;
	background: transparent !important;
	border: 0 !important;
	padding: 0 !important;
	cursor: pointer;
}

/* accent-color on its own left a blue thumb on her machine, so the track and
   the thumb are drawn here instead. The two vendor blocks cannot be merged:
   a browser drops the whole rule when it meets a selector it does not know. */
.rafm__vol input[type="range"]::-webkit-slider-runnable-track {
	height: 6px; border-radius: 999px; background: var(--cream);
}
.rafm__vol input[type="range"]::-moz-range-track {
	height: 6px; border-radius: 999px; background: var(--cream);
}
.rafm__vol input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none; appearance: none;
	width: 18px; height: 18px; margin-top: -6px;
	border-radius: 50%; border: 0;
	background: var(--burnt);
}
.rafm__vol input[type="range"]::-moz-range-thumb {
	width: 18px; height: 18px;
	border-radius: 50%; border: 0;
	background: var(--burnt);
}

.rafm__lock {
	display: flex;
	gap: 12px;
	align-items: center;
	background: var(--ink2);
	border-radius: 8px;
	padding: 14px 16px;
	flex-wrap: wrap;
}

.rafm__lock span { flex: 1 1 200px; font-size: 14px !important; color: var(--cream) !important; }
.rafm__lock[hidden] { display: none; }

.rafm .rafm__trial {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	padding: 0 16px;
	border-radius: 6px;
	background: var(--cream) !important;
	color: var(--ink) !important;
	font-weight: 700 !important;
	font-size: 14px !important;
	text-decoration: none !important;
}

.rafm__hint { font-size: 14px !important; color: var(--sand) !important; }
.rafm__hint[hidden] { display: none; }

.rafm__next { border-top: 1px solid var(--ink2); padding-top: 16px; font-size: 14px; color: var(--sand); }
.rafm__next strong { color: var(--cream); }

/* ---------- lineup ---------- */

.rafm__days { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }

.rafm .rafm__day {
	min-height: 44px;
	padding: 0 16px !important;
	border-radius: 999px !important;
	border: 1px solid var(--ink) !important;
	background: transparent !important;
	background-image: none !important;
	color: var(--ink) !important;
	font-family: inherit !important;
	font-weight: 700 !important;
	font-size: 14px !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	box-shadow: none !important;
	cursor: pointer;
}

.rafm .rafm__day.is-on {
	background: var(--maroon) !important;
	border-color: var(--maroon) !important;
	color: var(--cream) !important;
}

.rafm__slots { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }

.rafm__slot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 20px;
	padding: 16px 20px;
	border-radius: 10px;
	background: rgba(255,255,255,.55);
}

.rafm__slot.is-now { background: #fff; box-shadow: 0 0 0 2px var(--burnt); }

.rafm__time { flex: 0 0 150px; font-weight: 700 !important; font-size: 15px !important; color: var(--ink) !important; }
.rafm__slotmid { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rafm__show { font-weight: 700 !important; font-size: 17px !important; color: var(--ink) !important; }
.rafm__host { font-size: 14px !important; color: var(--muted) !important; }

.rafm__kind {
	font-size: 12px !important;
	font-weight: 700 !important;
	letter-spacing: 1px !important;
	text-transform: uppercase;
	color: var(--ink) !important;
	border: 1px solid var(--ink);
	border-radius: 999px;
	padding: 4px 10px;
	white-space: nowrap;
}

.rafm__nowbadge {
	font-size: 12px !important;
	font-weight: 700 !important;
	letter-spacing: 1px !important;
	color: #fff !important;
	background: var(--burnt);
	border-radius: 999px;
	padding: 5px 10px;
	white-space: nowrap;
}

/* ---------- mixes ---------- */

.rafm__mixhead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; }

.rafm__filters { display: flex; flex-wrap: wrap; gap: 8px; }

.rafm .rafm__filter {
	min-height: 44px;
	padding: 0 16px !important;
	border-radius: 999px !important;
	border: 1px solid var(--sand) !important;
	background: transparent !important;
	background-image: none !important;
	color: var(--cream) !important;
	font-family: inherit !important;
	font-weight: 700 !important;
	font-size: 14px !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	box-shadow: none !important;
	cursor: pointer;
}

.rafm .rafm__filter.is-on {
	background: var(--cream) !important;
	border-color: var(--cream) !important;
	color: var(--ink) !important;
}

.rafm__mixes { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }

.rafm__mix { background: var(--ink2); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }

.rafm__cover {
	position: relative;
	aspect-ratio: 16 / 10;
	display: flex;
	align-items: center;
	justify-content: center;
}

.rafm__sublock {
	position: absolute;
	top: 12px;
	left: 12px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(0,0,0,.55);
	color: var(--cream) !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	padding: 5px 10px;
	border-radius: 999px;
}

.rafm__mixfoot { padding: 16px; display: flex; align-items: center; gap: 12px; }
.rafm__mixtext { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.rafm__mixtitle { font-weight: 700 !important; font-size: 16px !important; color: var(--cream) !important; }
.rafm__mixmeta { font-size: 14px !important; color: var(--sand) !important; }

.rafm .rafm__mixplay {
	width: 48px;
	height: 48px;
	border-radius: 50% !important;
	border: 0 !important;
	background: var(--burnt) !important;
	background-image: none !important;
	color: #fff !important;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 !important;
	box-shadow: none !important;
	cursor: pointer;
	flex-shrink: 0;
}

/* A player of its own on each mix: she asked for what the old page had,
   where every mix could be scrubbed without touching the live station. */
.rafm__mixico[hidden] { display: none !important; }

.rafm__mixplayer {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0 16px 14px;
	background: var(--ink2);
	border-radius: 0 0 10px 10px;
}

.rafm__mixplayer[hidden] { display: none !important; }

.rafm .rafm__mixplayer input[type="range"].rafm__mixseek {
	flex: 1 1 auto;
	height: 18px;
	-webkit-appearance: none !important;
	appearance: none !important;
	background: transparent !important;
	border: 0 !important;
	padding: 0 !important;
	cursor: pointer;
	accent-color: var(--burnt) !important;
}

.rafm .rafm__mixplayer input[type="range"].rafm__mixseek::-webkit-slider-runnable-track { height: 4px; border-radius: 999px; background: var(--sand) !important; }
.rafm .rafm__mixplayer input[type="range"].rafm__mixseek::-moz-range-track { height: 4px; border-radius: 999px; background: var(--sand) !important; }
.rafm .rafm__mixplayer input[type="range"].rafm__mixseek::-webkit-slider-thumb {
	-webkit-appearance: none; appearance: none;
	width: 14px; height: 14px; margin-top: -5px;
	border-radius: 50%; border: 0; background: var(--burnt) !important;
}
.rafm .rafm__mixplayer input[type="range"].rafm__mixseek::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; border: 0; background: var(--burnt) !important; }

.rafm__mixtime {
	flex: 0 0 auto;
	font-size: 12px !important;
	font-variant-numeric: tabular-nums;
	color: var(--sand) !important;
	white-space: nowrap;
}

.rafm__mix.is-playing .rafm__mixtitle { color: var(--burnt) !important; }

/* ---------- podcast ---------- */

.rafm__podgrid { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }

.rafm__podart {
	flex: 0 0 auto;
	width: 200px;
	height: 200px;
	border-radius: 14px;
	background: var(--burnt);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* The promo artwork is 16:9, so it is given a width rather than the square
   the placeholder tile used. */
.rafm__podart--img {
	width: 360px;
	height: auto;
	aspect-ratio: auto;
	background: transparent;
	border-radius: 14px;
	overflow: hidden;
	display: block;
}

.rafm__podart--img img { width: 100%; height: auto; display: block; border-radius: 14px; }

.rafm__podtext { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.rafm__podcopy { font-size: 17px !important; line-height: 1.55 !important; color: var(--sand) !important; max-width: 560px; }

.rafm__notify { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.rafm__notifyfield { flex: 1 1 260px; display: flex; flex-direction: column; gap: 6px; }
/* Was near-black, sampled from her own render, and she could barely read it
   on the maroon. Her brand orange at a larger, heavier size, as asked. */
.rafm__notifylabel { font-size: 18px !important; font-weight: 700 !important; color: var(--burnt) !important; letter-spacing: .01em; }

.rafm__notify input {
	min-height: 48px;
	padding: 0 14px;
	border-radius: 6px;
	border: 1px solid var(--sand);
	background: #fff;
	color: var(--ink);
	font-size: 16px;
	font-family: inherit;
}

.rafm .rafm__notify button {
	min-height: 48px;
	padding: 0 20px !important;
	border-radius: 6px !important;
	border: 0 !important;
	background: var(--burnt) !important;
	background-image: none !important;
	color: #fff !important;
	font-family: inherit !important;
	font-weight: 700 !important;
	font-size: 15px !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	box-shadow: none !important;
	cursor: pointer;
}

.rafm__notifydone { font-size: 16px !important; font-weight: 600 !important; color: var(--cream) !important; }
.rafm__notifydone[hidden] { display: none; }
.rafm__notifydone.is-bad { color: #ffb4a2 !important; }

/* ---------- events ---------- */

.rafm__events { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }

.rafm__event {
	background: #fff;
	border-radius: 12px;
	padding: 18px 20px;
	display: flex;
	flex-wrap: wrap;
	gap: 16px 24px;
	align-items: center;
}

.rafm__date {
	width: 76px;
	height: 76px;
	border-radius: 10px;
	background: var(--maroon);
	color: var(--cream);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.rafm__mon { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; }
.rafm__dayn { font-family: 'Bebas Neue', Impact, sans-serif; font-size: 36px; line-height: 1; }

.rafm__evtext { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.rafm__evtitle { font-weight: 700 !important; font-size: 18px !important; color: var(--ink) !important; }
.rafm__evmeta { font-size: 14px !important; color: var(--muted) !important; }

.rafm .rafm__evcta {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	padding: 0 18px;
	border-radius: 6px;
	border: 2px solid var(--maroon);
	color: var(--maroon) !important;
	font-weight: 700 !important;
	font-size: 14px !important;
	text-decoration: none !important;
	background: transparent !important;
}

.rafm .rafm__evcta:hover { background: var(--maroon) !important; color: var(--cream) !important; }

/* ---------- listen anywhere ---------- */

.rafm__ways { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-top: 24px; }

.rafm__way { background: var(--cream); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.rafm__wayh { font-weight: 700 !important; font-size: 18px !important; color: var(--ink) !important; }
.rafm__wayp { font-size: 15px !important; color: var(--muted) !important; }

.rafm .rafm__waylink {
	font-weight: 700 !important;
	font-size: 15px !important;
	color: var(--maroon) !important;
	padding: 8px 0;
	align-self: flex-start;
}

.rafm .rafm__waylink:hover { color: var(--burnt) !important; }

/* ---------- subscribe + advertise ---------- */

.rafm__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }

.rafm__card { border-radius: 14px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.rafm__card--burnt { background: var(--burnt); }
.rafm__card--grey  { background: var(--ink2); }

.rafm__cardh { font-size: 44px !important; color: #fff !important; }
.rafm__cardh--cream { color: var(--cream) !important; }

.rafm__cardp { font-size: 16px !important; line-height: 1.55 !important; color: #fff !important; }
.rafm__cardp--sand { color: var(--sand) !important; }

.rafm .rafm__btnsolid {
	align-self: flex-start;
	min-height: 48px;
	display: inline-flex;
	align-items: center;
	padding: 0 22px;
	border-radius: 6px;
	background: #fff !important;
	color: var(--maroon) !important;
	font-weight: 700 !important;
	font-size: 15px !important;
	text-decoration: none !important;
}

.rafm .rafm__btnghost {
	align-self: flex-start;
	min-height: 48px;
	display: inline-flex;
	align-items: center;
	padding: 0 22px;
	border-radius: 6px;
	border: 2px solid var(--cream);
	color: var(--cream) !important;
	font-weight: 700 !important;
	font-size: 15px !important;
	text-decoration: none !important;
	background: transparent !important;
}

.rafm .rafm__btnghost:hover { background: var(--cream) !important; color: var(--maroon) !important; }

/* ---------- the old header player ----------
   The dark blue "Live Radio" card lives in the header template, so it
   shows on every page. On this page the hero card IS the player, and two
   players would fight each other for the same stream. This hides the
   header one here only — this stylesheet is inside the page's own HTML
   widget, so it cannot affect any other page.

   6dd6025 is the whole header row that holds it. It contains nothing
   else - two empty containers and the player - so the row goes too,
   otherwise it leaves a white band above the hero. */

.elementor-element-6dd6025,
.elementor-element-1e44c81,
.rp-radio-player { display: none !important; }

/* ---------- the gap above the hero ----------
   This block sits inside Astra's content wrapper and two Elementor
   containers, all of which add their own padding. The page is edge to
   edge, so that padding shows as a white band above the maroon hero.
   Same as above: this stylesheet only loads on this page. */

#content .ast-container { padding-top: 0 !important; padding-bottom: 0 !important; }

.elementor-element-26686e9,
.elementor-element-023519c { padding: 0 !important; margin: 0 !important; }

.elementor-element-26686e9 > .e-con-inner { padding: 0 !important; max-width: none !important; }

/* ---------- phone ---------- */

@media (max-width: 820px) {
	.rafm__sec { padding: 48px 0; }
	.rafm__hero { padding: 40px 0 48px; }
	.rafm__player { padding: 22px 18px; }
	.rafm__art { width: 96px; height: 96px; }
	.rafm__time { flex: 1 1 100%; }
	.rafm__podart { width: 140px; height: 140px; }
	.rafm__podart--img { width: 100%; height: auto; max-width: 420px; }
	.rafm__card { padding: 24px; }
	.rafm__cardh { font-size: 34px !important; }
}

/* ---------- rendered by PHP, switched by JS ----------
   Several of these elements are flex or grid containers, and an element with
   display set still shows when it carries the hidden attribute. Each one that
   JS toggles therefore needs saying out loud. */

.rafm__slots[hidden],
.rafm__mix[hidden],
.rafm__nowbadge[hidden],
.rafm__evcta[hidden] { display: none !important; }

/* Cover art, when a mix has a featured image. */
.rafm__cover img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* The lock and the gate are in the markup for everyone and taken away for
   subscribers, rather than the other way round. If the JavaScript never runs,
   a visitor sees the gate, which is the safe failure. */

.rafm.is-member .rafm__sublock,
.rafm.is-member .rafm__lock { display: none !important; }

/* ---------- "Are you a DJ?" ---------- */

/* On the cream section, so the type is ink rather than the cream used in the
   podcast block. Fields are forced because Astra styles inputs globally. */
.rafm__djintro {
	max-width: 62ch;
	margin: 0 0 22px !important;
	font-size: 17px !important;
	color: var(--ink) !important;
}

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

.rafm__djfield--wide { grid-column: 1 / -1; }

.rafm__djfield { display: flex; flex-direction: column; gap: 6px; }

.rafm__djlabel {
	font-size: 15px !important;
	font-weight: 700 !important;
	color: var(--ink) !important;
}

.rafm__djhint {
	font-size: 13px !important;
	color: #5f5a56 !important;
}

.rafm .rafm__dj input,
.rafm .rafm__dj textarea {
	width: 100%;
	font: inherit;
	font-size: 16px !important;
	padding: 12px 14px !important;
	border: 1px solid #cfc6b5 !important;
	border-radius: 6px !important;
	background: #fff !important;
	color: var(--ink) !important;
	box-shadow: none !important;
}

.rafm .rafm__dj textarea { resize: vertical; min-height: 110px; }

.rafm .rafm__dj input:focus,
.rafm .rafm__dj textarea:focus {
	outline: 2px solid var(--burnt);
	outline-offset: 1px;
	border-color: var(--burnt) !important;
}

.rafm .rafm__djsend {
	margin-top: 18px;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--burnt) !important;
	background-image: none !important;
	color: #fff !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	padding: 14px 32px !important;
	box-shadow: none !important;
	cursor: pointer;
}

.rafm .rafm__djsend:disabled { opacity: .6; cursor: default; }

.rafm__djdone {
	margin-top: 14px !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	color: var(--burnt) !important;
}

.rafm__djdone[hidden] { display: none; }
.rafm__djdone.is-bad { color: #a32d1e !important; }

@media (max-width: 680px) {
	.rafm__djgrid { grid-template-columns: 1fr; }
}
