/* AMAR Radio page ([amar_radio_station], amar-radio/station.php; mock-up A chosen 2026-10-12).
   The rules hang on #ars so they beat the theme's general ones (.entry-content button, .ev-page p and img). Colour of
   the chosen programme: --c on #ars (each card and week slot carries its own). Bands reach the window's edges. */

body.amar-station-page { overflow-x: clip; }
/* navy behind the page, as the head and the bands: the head and the on-air band meet on a fraction of a pixel, and
   Safari let the light page colour show there as a thin line, and as a white flash while the sticky head caught up */
body.editorial.amar-station-page, body.amar-station-page .site-main > .panel { background-color: #32365f; }
body.amar-station-page .site-main > .ed-strip { margin-bottom: 0; }
body.amar-station-page .site-main > .ed-strip + .panel { margin-top: 0 !important; }
body.amar-station-page .site-main > .ed-strip + .panel > .panel__body { padding-top: 0; padding-bottom: 0; }
body.amar-station-page .entry-content > .ev-page:last-child { margin-bottom: 0; }

#ars { --c: #32365f; --ink: #1c1c1c; --muted: #55554f; --line: #d6d6d2; --soft: #f2f2f0; color: var(--ink); font-size: 16px; line-height: 1.5; }
#ars p, #ars h2, #ars ol, #ars li { max-width: none; margin: 0; padding: 0; }
#ars li { list-style: none; }
#ars a { color: inherit; }
#ars [hidden] { display: none !important; }
#ars .ars-band { margin-inline: calc(50% - 50vw); padding-inline: calc(50vw - 50%); }
#ars section { scroll-margin-top: calc(var(--head-b, 160px) + 12px); }
#ars .ars-arrow { display: inline-block; }
[dir="rtl"] #ars .ars-arrow { transform: scaleX(-1); }
#ars .ars-o { unicode-bidi: isolate; }

/* ---------------- on air ---------------- */
#ars .ars-air { background: var(--c); color: #fff; padding-block: 48px 40px; transition: background-color .35s ease; }
#ars .ars-air__in { display: flex; flex-wrap: wrap; align-items: center; gap: 36px 64px; }
#ars .ars-disc { flex: 0 1 400px; min-width: 220px; }
#ars .ars-disc__img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
#ars .ars-disc__drawn { width: 100%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: repeating-radial-gradient(circle at 50% 50%, #141414 0 1.6px, #272727 1.6px 3.2px); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
#ars .ars-disc__label { width: 38%; aspect-ratio: 1; box-sizing: border-box; border-radius: 50%; background: var(--c); border: 3px solid rgba(255, 255, 255, .85); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px; text-align: center; font-size: 12px; font-weight: 800; letter-spacing: .08em; line-height: 1.25; text-transform: uppercase; color: #fff; transition: background-color .35s ease; }
#ars .ars-disc__label i { width: 12px; height: 12px; border-radius: 50%; background: #f2f2f0; margin: 10px 0; }
#ars .ars-air__copy { flex: 1 1 480px; min-width: 0; }
#ars .ars-status { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
#ars .ars-status__on { display: inline-flex; align-items: center; }
#ars .ars-status__desc { font-weight: 600; letter-spacing: .02em; text-transform: none; opacity: .85; }
#ars .ars-lamp { display: inline-block; flex: none; width: 10px; height: 10px; margin-inline-end: 10px; border-radius: 50%; background: #ffcf5a; box-shadow: 0 0 0 4px rgba(255, 207, 90, .25); }
#ars .ars-title { margin-top: 20px; color: #fff; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.05; font-weight: 600; letter-spacing: -.025em; text-transform: none; }
#ars .ars-title2 { margin-top: 8px; font-size: clamp(20px, 2.2vw, 32px); line-height: 1.35; }
#ars .ars-by { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
#ars .ars-by__face { flex: none; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 2px solid rgba(255, 255, 255, .7); }
#ars .ars-by__name { font-size: 22px; font-weight: 700; line-height: 1.25; }
#ars .ars-by__name a { text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .5); }
#ars .ars-by__name a:hover { border-bottom-color: #fff; }
#ars .ars-by__name2 { font-size: 17px; opacity: .85; }
#ars .ars-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
#ars .ars-tag--form { display: inline-block; background: #fff; color: var(--c); padding: 3px 10px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; transform: rotate(-2deg); }
#ars .ars-tag--co { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
#ars .ars-tag--year { border: 1px solid rgba(255, 255, 255, .85); padding: 1px 8px; font-size: 14px; font-weight: 600; }
#ars .ars-air .ars-prog { margin-top: 24px; }
#ars .ars-prog__bar { position: relative; height: 6px; background: rgba(255, 255, 255, .25); }
#ars .ars-prog__bar i, #ars .ars-card__bar i { position: absolute; inset-block: 0; inset-inline-start: 0; width: var(--p, 0%); background: #fff; }
#ars .ars-prog p { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; font-size: 14px; font-variant-numeric: tabular-nums; opacity: .88; }

#ars .ars-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 22px; }
#ars button.ars-play { display: inline-flex; align-items: center; gap: 16px; min-height: 76px; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; color: #fff; font: inherit; cursor: pointer; box-shadow: none; }
#ars button.ars-play:hover, #ars button.ars-play:focus { background: none; color: #fff; }
#ars .ars-play__disc { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); transition: transform .15s ease; }
#ars button.ars-play:hover .ars-play__disc { transform: scale(1.04); }
#ars button.ars-play:focus-visible { outline: 3px solid #fff; outline-offset: 6px; }
#ars .ars-play__disc svg { width: 30px; height: 30px; fill: var(--c); transition: fill .35s ease; }
#ars .ars-i-pause, #ars.is-playing .ars-i-play { display: none; }
#ars.is-playing .ars-i-pause { display: block; }
#ars.is-loading .ars-play__disc { animation: ars-pulse 1.2s ease-in-out infinite; }
@keyframes ars-pulse { 50% { box-shadow: 0 0 0 10px rgba(255, 255, 255, .25); } }
#ars .ars-play__t { font-size: 18px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
#ars .ars-vol { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
#ars .ars-vol input { width: 120px; accent-color: #fff; }
@media (pointer: coarse) { #ars .ars-vol { display: none; } } /* phones ignore the page's volume */
#ars .ars-next { flex: 1 1 260px; font-size: 15px; opacity: .92; }
#ars .ars-next b { font-weight: 800; }
#ars .ars-msg:empty { display: none; }
#ars .ars-msg { margin-top: 12px; font-size: 14px; font-weight: 600; }

#ars .ars-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0 28px; margin-top: 40px; }
#ars .ars-links:empty { display: none; }
#ars .ars-link { display: block; padding: 16px 0 6px; border-top: 1px solid rgba(255, 255, 255, .35); color: #fff; text-decoration: none; }
#ars .ars-link__k { display: block; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .78; }
#ars .ars-link__v { display: block; margin-top: 6px; font-size: 18px; font-weight: 700; line-height: 1.3; }
#ars .ars-link__s { display: block; margin-top: 4px; font-size: 14px; line-height: 1.4; opacity: .82; }
#ars a.ars-link:hover .ars-link__v { text-decoration: underline; text-underline-offset: 4px; }

/* ---------------- sections ---------------- */
#ars .ars-sec { padding-block: 72px; }
#ars .ars-h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 60px; }
#ars .ars-h h2 { max-width: 720px; color: inherit; font-size: clamp(30px, 3.4vw, 46px); line-height: .98; font-weight: 700; letter-spacing: -.035em; text-transform: uppercase; }
#ars .ars-h > p { max-width: 560px; font-size: 18px; line-height: 1.55; color: #3a3a37; }

/* the dial: one card per programme */
#ars .ars-cards { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; margin-top: 40px; }
#ars button.ars-card { display: flex; flex-direction: column; align-items: stretch; min-width: 0; min-height: 300px; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 0; background: #fff; color: var(--ink); font: inherit; text-align: start; text-transform: none; letter-spacing: 0; cursor: pointer; box-shadow: none; transition: border-color .15s ease, background-color .2s ease; }
#ars button.ars-card:hover { border-color: var(--c); background: #fff; color: var(--ink); }
#ars button.ars-card[aria-pressed="true"], #ars button.ars-card[aria-pressed="true"]:hover { border-color: var(--c); background: var(--c); color: #fff; }
#ars button.ars-card:focus-visible { outline: 3px solid var(--c); outline-offset: 3px; }
#ars .ars-card__top { display: block; height: 10px; background: var(--c); }
#ars .ars-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; padding: 16px 16px 0; }
#ars .ars-card__name { font-size: 21px; font-weight: 800; line-height: 1.15; letter-spacing: -.01em; }
#ars .ars-card__name2 { font-size: 16px; font-weight: 600; }
#ars .ars-card__desc { display: block; min-height: 56px; padding: 6px 16px 0; font-size: 13px; line-height: 1.4; opacity: .85; }
#ars .ars-card__now { display: block; margin-top: auto; padding: 12px 16px 16px; border-top: 1px solid #e2e2de; }
#ars button.ars-card[aria-pressed="true"] .ars-card__now { border-top-color: rgba(255, 255, 255, .3); }
#ars .ars-card__state { display: block; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
#ars .ars-card__s-here, #ars .ars-card__s-playing, #ars [aria-pressed="true"] .ars-card__s-now, #ars.is-playing [aria-pressed="true"] .ars-card__s-here { display: none; }
#ars [aria-pressed="true"] .ars-card__s-here, #ars.is-playing [aria-pressed="true"] .ars-card__s-playing { display: inline; }
#ars .ars-card__who { display: block; margin-top: 6px; overflow: hidden; font-size: 15px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
#ars .ars-card__t { display: -webkit-box; min-height: 2.7em; margin-top: 2px; overflow: hidden; font-size: 14px; line-height: 1.35; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
#ars .ars-card__bar { position: relative; display: block; height: 3px; margin-top: 12px; background: #e2e2de; }
#ars .ars-card__bar i { background: var(--c); }
#ars [aria-pressed="true"] .ars-card__bar { background: rgba(255, 255, 255, .3); }
#ars [aria-pressed="true"] .ars-card__bar i { background: #fff; }
#ars .ars-card__left { display: block; min-height: 1.4em; margin-top: 6px; font-size: 12px; font-variant-numeric: tabular-nums; opacity: .8; }

/* just played · on air · coming up */
#ars .ars-band--grey { background: var(--soft); }
#ars .ars-band--white { background: #fff; }
#ars .ars-chip-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 14px; font-size: 16px; }
#ars .ars-chip { background: var(--c); color: #fff; padding: 4px 10px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; transition: background-color .35s ease; }
#ars .ars-clock { font-size: 14px; color: var(--muted); }
#ars .ars-rows { margin-top: 32px; border-top: 2px solid var(--ink); }
#ars .ars-row { display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(0, 280px) 64px 170px; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
#ars .ars-row--past { color: #5d5d58; }
#ars .ars-row--now { margin-inline: -16px; padding: 18px 16px; border-bottom: 0; background: var(--c); color: #fff; transition: background-color .35s ease; }
#ars .ars-row--none { display: block; color: var(--muted); }
#ars .ars-row__at { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
#ars .ars-row--now .ars-row__at { font-weight: 800; }
#ars .ars-row__what { min-width: 0; }
#ars .ars-row__live { display: flex; align-items: center; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
#ars .ars-row__live .ars-lamp { width: 8px; height: 8px; margin-inline-end: 8px; box-shadow: none; }
#ars .ars-row__who, #ars .ars-row__t { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#ars .ars-row__who { font-weight: 700; }
#ars .ars-row--now .ars-row__who { margin-top: 4px; font-size: 18px; font-weight: 800; }
#ars .ars-row__t2 { color: #5f5f5a; }
#ars .ars-row__meta { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
#ars .ars-row__d { font-variant-numeric: tabular-nums; }
#ars .ars-row__go a { font-size: 14px; font-weight: 700; text-decoration: none; }
#ars .ars-row__go a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* the week */
#ars .ars-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; margin-top: 40px; }
#ars .ars-day { display: flex; flex-direction: column; gap: 10px; min-height: 200px; padding-top: 12px; border-top: 2px solid var(--ink); }
#ars .ars-day__h { display: flex; justify-content: space-between; align-items: center; gap: 6px; font-size: 14px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
#ars .ars-day__today { background: var(--ink); color: #fff; padding: 3px 8px; font-size: 11px; }
#ars .ars-slot { display: flex; flex-direction: column; gap: 6px; padding: 14px; background: var(--c); color: #fff; }
#ars .ars-slot--fill { flex: 1; background: var(--soft); color: #3a3a37; }
#ars .ars-slot__time { font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; }
#ars .ars-slot__t { font-size: 18px; font-weight: 800; line-height: 1.15; }
#ars .ars-slot__l { font-size: 14px; line-height: 1.4; }
#ars .ars-edit { margin-top: 18px; font-size: 14px; font-weight: 700; }

/* choose a record yourself */
#ars .ars-band--navy { background: #32365f; color: #fff; padding-block: 60px; }
#ars .ars-more h2 { color: #fff; font-size: 30px; font-weight: 700; letter-spacing: -.02em; text-transform: uppercase; }
#ars .ars-more__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 28px; margin-top: 28px; }
#ars .ars-more__grid a { display: block; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .4); color: #fff; text-decoration: none; }
#ars .ars-more__t { display: block; font-size: 20px; font-weight: 800; }
#ars .ars-more__s { display: block; margin-top: 6px; font-size: 15px; color: #d6d8ea; }
#ars .ars-more__grid a:hover .ars-more__t { text-decoration: underline; text-underline-offset: 4px; }

/* Arabic: no capitals to set, no letter spacing */
.lang-ar #ars :is(.ars-status, .ars-tag, .ars-play__t, .ars-vol, .ars-link__k, .ars-h h2, .ars-card__state, .ars-chip, .ars-row__live, .ars-row__meta, .ars-day__h, .ars-more h2) { letter-spacing: 0; }
.lang-ar #ars .ars-h h2 { line-height: 1.2; }
.lang-ar #ars .ars-title { letter-spacing: 0; line-height: 1.3; }

/* ---------------- narrower windows ---------------- */
@media (max-width: 1279px) {
	#ars .ars-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	#ars .ars-days { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	#ars .ars-row { grid-template-columns: 70px minmax(0, 1fr) minmax(0, 220px) 56px 140px; }
}
@media (max-width: 900px) {
	#ars .ars-row { grid-template-columns: 60px minmax(0, 1fr) 52px; row-gap: 2px; }
	#ars .ars-row__meta { grid-column: 2; grid-row: 2; font-size: 12px; }
	#ars .ars-row__d { grid-column: 3; grid-row: 1; text-align: end; }
	#ars .ars-row__go { display: none; }
	#ars .ars-days { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	#ars .ars-air { padding-block: 24px 28px; }
	#ars .ars-air__in { gap: 18px; }
	#ars .ars-disc { flex: 0 0 132px; min-width: 0; }
	#ars .ars-air__copy { flex: 1 1 100%; }
	#ars .ars-status { font-size: 12px; }
	#ars .ars-title { margin-top: 14px; font-size: 28px; }
	#ars .ars-by__name { font-size: 18px; }
	#ars .ars-by__face { width: 42px; height: 42px; }
	#ars button.ars-play { min-height: 64px; }
	#ars .ars-play__disc { width: 64px; height: 64px; }
	#ars .ars-links { grid-template-columns: minmax(0, 1fr); margin-top: 24px; }
	#ars .ars-link { padding-block: 12px; }
	#ars .ars-link__v { font-size: 16px; }
	#ars .ars-sec { padding-block: 44px; }
	#ars .ars-h > p { font-size: 15px; }
	#ars .ars-cards { display: flex; gap: 8px; overflow-x: auto; margin-inline: calc(50% - 50vw); padding: 0 calc(50vw - 50%) 6px; scroll-snap-type: x proximity; }
	#ars button.ars-card { flex: 0 0 200px; min-height: 236px; scroll-snap-align: start; }
	#ars .ars-card__desc { min-height: 40px; }
	#ars .ars-row { grid-template-columns: 50px minmax(0, 1fr) 44px; gap: 2px 10px; padding-block: 11px; font-size: 14px; }
	#ars .ars-row__at { font-size: 14px; }
	#ars .ars-row--now .ars-row__who { font-size: 15px; }
	#ars .ars-days { grid-template-columns: minmax(0, 1fr); gap: 0; }
	#ars .ars-day { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 8px 10px; min-height: 0; padding: 10px 0; border-top: 0; border-bottom: 1px solid #e2e2de; }
	#ars .ars-day:first-child { border-top: 2px solid var(--ink); }
	#ars .ars-day__h { flex-direction: column; align-items: flex-start; font-size: 13px; }
	#ars .ars-day > .ars-slot { grid-column: 2; padding: 10px 12px; }
	#ars .ars-slot__t { font-size: 16px; }
	#ars .ars-band--navy { padding-block: 36px; }
	#ars .ars-more h2 { font-size: 22px; }
}

/* ---------------- the tuner: the seven programmes at the bottom of the page head (user 2026-10-12, Tuner 1) ----------------
   page-head.js moves [data-head-tools] out of #ars into the head's tools row, so these rules are not under #ars. The
   head is navy: each tab's mark uses the programme's lighter tint (--t); the chosen tab is white with the on-air red. */
.ars-tuner-wrap { display: flex; align-items: stretch; gap: 10px; width: 100%; }
.ars-tuner { flex: 1 1 auto; min-width: 0; display: flex; gap: 6px; }
.ed-strip button.ars-tab, button.ars-tab {
	flex: 1 1 0; min-width: 0; min-height: 0; display: flex; flex-direction: column; align-items: stretch;
	margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none;
	background: rgba(255, 255, 255, .08); color: #fff; font: inherit; text-align: start; text-transform: none; letter-spacing: 0; cursor: pointer;
	transition: background-color .15s ease;
}
.ed-strip button.ars-tab:hover, button.ars-tab:hover { background: rgba(255, 255, 255, .17); color: #fff; }
.ed-strip button.ars-tab[aria-selected="true"], button.ars-tab[aria-selected="true"] { background: #fff; color: #1c1c1c; }
button.ars-tab:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.ars-tab__bar { display: block; height: 4px; background: var(--t, #aab2ea); }
.ars-tab[aria-selected="true"] > .ars-tab__bar { background: #ff4a2b; }
.ars-tab__name { display: block; padding: 8px 10px 0; overflow: hidden; font-size: 14.5px; font-weight: 800; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.ars-tuner.is-playing .ars-tab[aria-selected="true"] .ars-tab__name::before {
	content: ""; display: inline-block; width: 8px; height: 8px; margin-inline-end: 6px; border-radius: 50%; background: #ff4a2b; vertical-align: .08em;
	animation: ars-dot 1.6s ease-in-out infinite;
}
@keyframes ars-dot { 50% { opacity: .35; } }
.ars-tab__part { display: block; padding: 0 10px 9px; }
.ars-tab__who { display: block; min-height: 1.3em; margin-top: 2px; overflow: hidden; font-size: 12px; line-height: 1.3; opacity: .85; text-overflow: ellipsis; white-space: nowrap; }
.ars-tab__prog { position: relative; display: block; height: 2px; margin-top: 8px; background: rgba(255, 255, 255, .22); }
.ars-tab__prog i { position: absolute; inset-block: 0; inset-inline-start: 0; width: var(--p, 0%); background: #fff; }
.ars-tab[aria-selected="true"] .ars-tab__prog { background: #e2e2de; }
.ars-tab[aria-selected="true"] .ars-tab__prog i { background: #32365f; }
.ars-tuner-wrap .ars-headlink { flex: 0 0 auto; align-self: stretch; min-height: 44px; }
/* once the head is stuck under the bar: names only */
.ed-strip.is-stuck .ars-tab__part { display: none; }
.ed-strip.is-stuck .ars-tab__name { padding-block: 9px 10px; }
.lang-ar .ars-tab__name { font-size: 15px; }
.lang-ar .ars-tab__who { font-size: 12.5px; }
@media (max-width: 1279px) {
	.ars-tab__name { font-size: 13.5px; }
	.ars-tuner-wrap .ars-cabinet__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
	.ars-tuner-wrap .ars-headlink { padding: 0 13px; }
}
@media (max-width: 1023px) {
	.ars-tuner { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
	.ars-tuner::-webkit-scrollbar { display: none; }
	.ed-strip button.ars-tab, button.ars-tab { flex: 0 0 132px; scroll-snap-align: start; }
	.ars-tuner-wrap .ars-headlink { width: 44px; padding: 0; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .ars-tuner.is-playing .ars-tab[aria-selected="true"] .ars-tab__name::before { animation: none; } }


/* ================================================================ responsive QA 2026-11-05 (upgrade/responsive-2026-11-05) */
/* phones: the second-language title gets its own line and its own ellipsis, so it is cut at its end, not its start
   (it showed meaningless fragments); wider screens keep the single line, where the rows fit */
@media (max-width: 640px) { #ars .ars-row__t2 { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } }
/* phones and phones held sideways: the drawn label is too small for words; it stays round with its spindle hole
   (company and year are in the tags and the disc's label) */
@media (max-width: 640px), (max-width: 1023px) and (max-height: 500px) {
	#ars .ars-disc__label { padding: 0; overflow: hidden; }
	#ars .ars-disc__label span { display: none; }
	#ars .ars-disc__label i { width: 8px; height: 8px; margin: 0; }
}
@media (min-width: 641px) and (max-width: 1023px) and (max-height: 500px) {
	#ars .ars-air { padding-block: 24px 28px; }
	#ars .ars-air__in { flex-wrap: nowrap; gap: 28px; }
	#ars .ars-disc { flex: 0 0 180px; min-width: 0; }
	#ars .ars-air__copy { flex: 1 1 auto; }
	#ars .ars-disc__label i { width: 10px; height: 10px; }
}
/* visitors, phones and tablets: the Cabinet button joins the end of the links row instead of a docked row of its own */
@media (max-width: 1023px) {
	body.amar-station-page .ed-strip.has-nav:not(:has(.ars-tuner)) .ed-strip__tools { position: absolute; inset-block-start: 1px; inset-inline-end: 0; display: block; padding: 0; border-top: 0; background: none; box-shadow: none; clip-path: none; }
	body.amar-station-page .ed-strip.has-nav:not(:has(.ars-tuner)) .ed-strip__nav { padding-inline-end: 56px; }
	body.amar-station-page .ed-strip.is-stuck:not(:has(.ars-tuner)) .ars-tuner-wrap .ars-headlink { width: 36px; min-height: 36px; }
}
/* Arabic: the performer link's underline no longer strikes the Latin name below it */
.lang-ar #ars .ars-by__name a { border-bottom: 0; text-decoration-line: underline; text-decoration-thickness: 1px; text-decoration-color: rgba(255, 255, 255, .5); text-underline-offset: 4px; }
.lang-ar #ars .ars-by__name a:hover { text-decoration-color: #fff; }
/* portrait tablets: the record and its title share the row, so LISTEN is in the first screen */
@media (min-width: 641px) and (max-width: 1023px) and (min-height: 501px) {
	#ars .ars-air__in { flex-wrap: nowrap; gap: 32px; }
	#ars .ars-disc { flex: 0 0 clamp(220px, 32vw, 300px); min-width: 0; }
	#ars .ars-air__copy { flex: 1 1 auto; }
	#ars .ars-disc__label { padding: 0; overflow: hidden; }
	#ars .ars-disc__label span { display: none; }
	#ars .ars-disc__label i { width: 10px; height: 10px; margin: 0; }
}
@media (min-width: 1024px) and (max-width: 1279px) { #ars .ars-air__copy { flex-basis: 440px; } }
/* the second-language title of the row on air is readable on its coloured band (it was grey on colour, 1.8:1) */
#ars .ars-row--now .ars-row__t2 { color: rgba(255, 255, 255, .78); }

/* responsive QA 2026-11-05, polish */
@media (min-width: 1024px) and (max-width: 1279px) { body.amar-station-page .ed-strip:not(:has(.ars-tuner)) .ars-tuner-wrap .ars-cabinet__t { position: static; width: auto; height: auto; overflow: visible; clip-path: none; } }
body.amar-station-page .ed-strip.is-stuck:not(.has-rail) .ed-strip__in { border-bottom: 1px solid var(--sec-line); }
body.amar-station-page .ed-strip.has-rail.is-stuck .ed-strip__tools { border-bottom: 1px solid var(--sec-line); }
#ars .ars-nw { white-space: nowrap; } #ars .ars-row__go a { white-space: nowrap; } /* arrows stay with their last word (responsive QA) */
