/* ==========================================================================
   Festivali — main stylesheet
   Light by default; html.rtsh-dark switches to dark (same class as rtsh.al).
   ========================================================================== */

/* Fonts ------------------------------------------------------------------- */
@font-face { font-family: "Gotham Pro"; src: url("../fonts/GothamPro-Light.woff2") format("woff2"), url("../fonts/GothamPro-Light.woff") format("woff"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Gotham Pro"; src: url("../fonts/GothamPro.woff2") format("woff2"), url("../fonts/GothamPro.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Gotham Pro"; src: url("../fonts/GothamPro-Medium.woff2") format("woff2"), url("../fonts/GothamPro-Medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Gotham Pro"; src: url("../fonts/GothamPro-Bold.woff2") format("woff2"), url("../fonts/GothamPro-Bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Gotham Pro"; src: url("../fonts/GothamPro-Black.woff2") format("woff2"), url("../fonts/GothamPro-Black.woff") format("woff"); font-weight: 900; font-style: normal; font-display: swap; }

/* Tokens ------------------------------------------------------------------ */
:root {
	/* Brand (rtsh.al) */
	--red: #cb1212;
	--red-dark: #a50e0e;
	--violet: #6d3cff;

	/* Light */
	--bg: #ffffff;
	--bg-2: #f4f5f7;
	--surface: #ffffff;
	--surface-2: #f0f1f4;
	--line: #e8e9ed;
	--line-2: #d6d9df;
	--text: #1d1f24;
	--text-2: #3c414b;
	--muted: #6f7480;
	--accent: var(--red);
	--accent-2: var(--red-dark);
	--accent-soft: rgba(203, 18, 18, .08);
	--gold: #b07a1e;
	--gold-bg: #f1c56b;
	--shadow: 0 18px 40px -22px rgba(20, 24, 33, .28);
	--shadow-lg: 0 40px 80px -36px rgba(20, 24, 33, .4);
	--ph-a: #eef0f4;
	--ph-b: #dde1e8;
	--ph-icon: rgba(0, 0, 0, .18);
	--glass-bg: rgba(255, 255, 255, .78);
	--glass-line: rgba(0, 0, 0, .06);
	--cell-bg: var(--bg-2);
	--hero-bg:
		radial-gradient(70% 90% at 92% 0%, rgba(203, 18, 18, .12), transparent 60%),
		radial-gradient(60% 80% at 0% 100%, rgba(109, 60, 255, .08), transparent 60%),
		linear-gradient(180deg, #fff, #f7f7f9);
	--aurora-opacity: .16;
	--kicker-grad: linear-gradient(180deg, #ef3b3b 0%, #cb1212 55%, #7d0909 100%);
	--number-grad: linear-gradient(180deg, #e9b65a, #b07a1e);
	--banner-opacity: .1;

	--font: "Gotham Pro", "Helvetica Neue", Arial, sans-serif;
	--radius: 16px;
	--radius-sm: 10px;
	--wrap: 1320px;
	--gutter: clamp(16px, 4vw, 40px);
	--rh-top-h: 72px;
	--rh-lower-h: 52px;
	--ease: cubic-bezier(.2, .7, .2, 1);

	color-scheme: light;
}

html.rtsh-dark {
	--bg: #121316;
	--bg-2: #17191d;
	--surface: #1c1e23;
	--surface-2: #24272d;
	--line: #2c2f36;
	--line-2: #3a3d44;
	--text: #e6e6e8;
	--text-2: #c9cbd0;
	--muted: #9a9ea6;
	--accent: #ff5a5a;
	--accent-2: #ff7a7a;
	--accent-soft: rgba(255, 90, 90, .12);
	--gold: #f1c56b;
	--shadow: 0 18px 40px -22px rgba(0, 0, 0, .8);
	--shadow-lg: 0 40px 80px -36px rgba(0, 0, 0, .9);
	--ph-a: #222c3c;
	--ph-b: #121a28;
	--ph-icon: rgba(255, 255, 255, .22);
	--glass-bg: rgba(28, 30, 35, .72);
	--glass-line: rgba(255, 255, 255, .1);
	--cell-bg: rgba(0, 0, 0, .28);
	--hero-bg:
		radial-gradient(70% 90% at 90% 0%, rgba(109, 60, 255, .25), transparent 60%),
		radial-gradient(60% 80% at 0% 0%, rgba(203, 18, 18, .3), transparent 60%),
		#0d0f13;
	--aurora-opacity: .45;
	--kicker-grad: linear-gradient(180deg, #fff 10%, #ffd9a0 55%, #e88a3a 100%);
	--number-grad: linear-gradient(180deg, #fff2c9, #f1c56b 60%, #b07a25);
	--banner-opacity: .35;
	color-scheme: dark;
}

/* Reset ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--rh-lower-h) + 24px); background: var(--bg); }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
	overflow-x: clip; /* unlike "hidden", clip does not break the sticky header */
	transition: background-color .3s, color .3s;
}
body.lightbox-open { overflow: hidden; }
/* Menu open: the page is frozen in place (body fixed, see main.js) and the header stays on top. */
html.rh-lock body { position: fixed; left: 0; right: 0; width: 100%; overflow: hidden; }
html.rh-lock .rh { position: fixed; top: 0; left: 0; right: 0; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0; line-height: 1.12; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 2000; background: var(--red); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 12px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap-narrow { width: min(820px, 100% - 2 * var(--gutter)); }

.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ==========================================================================
   Header — modelled on rtsh.al (header v2)
   ========================================================================== */
.rh { position: sticky; top: 0; z-index: 1000; width: 100%; }
.rh-top { position: relative; z-index: 30; height: var(--rh-top-h); background: var(--red); color: #fff; transition: background-color .3s; }
.rh-inner { height: 100%; display: flex; align-items: center; gap: 24px; }

.rh-logo-link { display: flex; align-items: center; gap: 16px; flex: none; color: #fff; line-height: 0; }
.rh-logo { display: block; width: 122px; height: 53px; color: currentColor; transition: color .3s; }
.rh-logo svg { display: block; width: 100%; height: 100%; }
img.rh-logo { object-fit: contain; object-position: left center; }
.rh-site { padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, .45); font-size: 11px; font-weight: 700; line-height: 1.3; letter-spacing: .18em; text-transform: uppercase; max-width: 9em; }

.rh-links { flex: 1; min-width: 0; }
.rh-links > ul { list-style: none; display: flex; justify-content: flex-end; gap: 6px; }
.rh-links > ul > li > a {
	position: relative; display: flex; align-items: center; height: 38px; padding: 0 13px; border-radius: 19px;
	color: #fff; font-size: 15px; font-weight: 500; letter-spacing: .01em; white-space: nowrap;
	transition: background-color .2s, color .25s;
}
.rh-links > ul > li > a::after {
	content: ""; position: absolute; bottom: 6px; left: calc(13px + (100% - 26px) * .05); width: calc((100% - 26px) * .9);
	height: 2px; border-radius: 2px; background: currentColor; transform: scaleX(0); transition: transform .22s ease;
}
.rh-links > ul > li > a:hover { background: rgba(255, 255, 255, .15); }
.rh-links > ul > li > a:hover::after, .rh-links > ul > li.is-current > a::after { transform: scaleX(1); }
.rh-links > ul > li.is-current > a { background: rgba(255, 255, 255, .1); }

.rh-round {
	display: grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%;
	background: rgba(255, 255, 255, .14); color: #fff; transition: background .2s, transform .2s;
}
.rh-round:hover { background: rgba(255, 255, 255, .24); }
.rh-round:active { transform: scale(.92); }
.rh-round .icon { width: 18px; height: 18px; }

/* Mode button: moon in light, sun in dark */
.rh-mode-btn svg { grid-area: 1 / 1; transition: transform .45s cubic-bezier(.3, 1.4, .5, 1), opacity .25s; }
.mode-sun { opacity: 0; transform: rotate(-90deg) scale(.4); }
html.rtsh-dark .mode-sun { opacity: 1; transform: none; }
html.rtsh-dark .mode-moon { opacity: 0; transform: rotate(90deg) scale(.4); }

/* Expanding search (desktop) */
.rh-sx { position: relative; width: 40px; height: 40px; flex: none; margin: 0; }
.rh-sx input {
	position: absolute; right: 0; top: 0; width: 40px; height: 40px; border: 0; border-radius: 20px;
	padding: 0 46px 0 18px; background: #fff; color: #222; font-size: 14px; outline: none;
	opacity: 0; pointer-events: none; box-shadow: 0 6px 20px transparent;
	transition: width .38s cubic-bezier(.22, .9, .3, 1), opacity .2s, box-shadow .3s;
	-webkit-appearance: none; appearance: none;
}
.rh-sx.open input { width: 320px; opacity: 1; pointer-events: auto; box-shadow: 0 6px 20px rgba(0, 0, 0, .15); }
.rh-sx input::-webkit-search-cancel-button { display: none; }
.rh-sx button { position: absolute; right: 0; top: 0; }
.rh-sx.open button { background: transparent; color: #555; }
.rh.is-searching .rh-links > ul > li > a { opacity: .3; pointer-events: none; }

/* Mobile actions */
.rh-actions { display: none; align-items: center; gap: 2px; margin-left: auto; }
.rh-actions button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: #fff; }
.rh-actions .icon { width: 23px; height: 23px; }

/* Second bar: festival menu */
.rh-lower { position: relative; z-index: 20; height: var(--rh-lower-h); background: var(--surface); border-bottom: 1px solid var(--line); transition: background-color .3s, box-shadow .3s; }
.rh.is-stuck .rh-lower { box-shadow: 0 6px 20px -12px rgba(0, 0, 0, .25); }
.rh-lower-inner { height: 100%; display: flex; align-items: center; gap: 16px; }
.rh-fest { flex: 1; min-width: 0; }
.rh-fest .menu { list-style: none; display: flex; align-items: center; gap: 4px; margin-left: -12px; }
.rh-fest .menu > li { position: relative; display: flex; align-items: center; }
.rh-fest .menu > li > a {
	position: relative; display: flex; align-items: center; height: var(--rh-lower-h); padding: 0 12px;
	font-size: 15px; font-weight: 500; color: var(--text); white-space: nowrap; transition: color .2s;
}
.rh-fest .menu > li > a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--accent); transform: scaleX(0); transition: transform .22s ease; }
.rh-fest .menu > li > a:hover,
.rh-fest .menu > .current-menu-item > a,
.rh-fest .menu > .current-menu-ancestor > a { color: var(--accent); }
.rh-fest .menu > li > a:hover::after,
.rh-fest .menu > .current-menu-item > a::after,
.rh-fest .menu > .current-menu-ancestor > a::after { transform: scaleX(1); }
.rh-fest .menu-item-has-children > a { padding-right: 2px; }
.submenu-toggle { display: grid; place-items: center; width: 22px; height: 22px; margin-right: 6px; padding: 0; border: 0; background: none; color: var(--muted); }
.submenu-toggle .icon { width: 13px; height: 13px; transition: transform .2s; }
.rh-fest .menu > li:hover > .submenu-toggle .icon, .rh-fest .menu > li.is-open > .submenu-toggle .icon { transform: rotate(180deg); }
.rh-fest .sub-menu {
	list-style: none; position: absolute; left: 0; top: 100%; min-width: 220px; padding: 8px 0; z-index: 5;
	background: var(--surface); border-radius: 0 0 10px 10px; box-shadow: 0 12px 28px rgba(0, 0, 0, .14);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s;
}
.rh-fest .menu > li:hover > .sub-menu, .rh-fest .menu > li:focus-within > .sub-menu, .rh-fest .menu > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.rh-fest .sub-menu a { display: block; padding: 9px 18px; font-size: 14px; color: var(--text); white-space: nowrap; }
.rh-fest .sub-menu a:hover { background: var(--bg-2); color: var(--accent); }

/* Dropdown refinements */
.rh-fest .menu > li > a .menu-label { pointer-events: none; }
.rh-fest .menu > li:nth-last-child(-n+2) > .sub-menu { left: auto; right: 0; }
.rh-fest .sub-menu { transition: opacity .18s ease, transform .18s ease, visibility .18s; }

.rh-lower-end { display: flex; align-items: center; gap: 14px; flex: none; }
.rh-live { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 14px; border-radius: 16px; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.rh-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: rh-pulse 1.6s infinite; }
@keyframes rh-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); } 70% { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
.rh-social { list-style: none; display: flex; gap: 2px; }
.rh-social a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--muted); transition: color .2s, background .2s; }
.rh-social a:hover { color: var(--accent); background: var(--accent-soft); }
.rh-social .icon { width: 17px; height: 17px; }

/* Off-canvas menu (mobile) — same as the rtsh.al mobile menu */
.rh-overlay { position: fixed; inset: 0; z-index: 100000; background: rgba(0, 0, 0, .53); opacity: 0; transition: opacity .3s; }
.rh-overlay.show { opacity: 1; }
.rh-overlay[hidden] { display: none !important; }
.rh-drawer { position: fixed; top: 0; left: 0; bottom: 0; z-index: 100001; width: min(320px, 86%); display: flex; flex-direction: column; background: var(--surface); color: var(--text); box-shadow: 4px 0 20px rgba(0, 0, 0, .13); transform: translateX(-100%); visibility: hidden; transition: transform .3s ease, visibility 0s linear .3s; }
.rh-drawer.open { transform: none; visibility: visible; transition: transform .3s ease, visibility 0s; }
body.admin-bar .rh-drawer { top: 46px; }
@media (min-width: 783px) { body.admin-bar .rh-drawer { top: 32px; } }
.rh-drawer ul { list-style: none; margin: 0; padding: 0; }
.rh-drawer [hidden] { display: none !important; }
.rh-drawer a:focus-visible, .rh-drawer button:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }

.rh-drawer-search { display: flex; flex: none; align-items: center; gap: 8px; padding: 12px 15px; border-bottom: 1px solid var(--line); }
.rh-drawer-search form { position: relative; flex: 1; margin: 0; }
.rh-drawer-search input { width: 100%; height: 42px; padding: 0 42px 0 16px; border: 1px solid var(--line-2); border-radius: 21px; background: var(--surface); color: var(--text); font-size: 16px; outline: none; -webkit-appearance: none; appearance: none; }
.rh-drawer-search input:focus { border-color: var(--red); }
.rh-drawer-search form button { position: absolute; right: 2px; top: 0; width: 40px; height: 42px; padding: 0; border: 0; background: none; color: var(--muted); display: grid; place-items: center; }
.rh-drawer-search form .icon { width: 17px; height: 17px; }
.rh-drawer-close { flex: none; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: var(--bg-2); color: var(--text-2); display: grid; place-items: center; -webkit-appearance: none; appearance: none; }
.rh-drawer-close .icon { width: 18px; height: 18px; }
.rh-live-drawer { flex: none; align-self: flex-start; margin: 10px 15px 0; }
/* Mobile header: white LIVE pill before the search icon, red pulsing dot */
.rh-live-mob { height: 28px; margin-right: 6px; padding: 0 11px; gap: 6px; border-radius: 14px; background: #fff; color: var(--red); font-size: 11px; }
.rh-live-mob .rh-live-dot { background: var(--red); animation-name: rh-pulse-red; }
@keyframes rh-pulse-red { 0% { box-shadow: 0 0 0 0 rgba(203, 18, 18, .6); } 70% { box-shadow: 0 0 0 6px rgba(203, 18, 18, 0); } 100% { box-shadow: 0 0 0 0 rgba(203, 18, 18, 0); } }
html.rtsh-dark .rh-live-mob { background: var(--red); color: #fff; }
html.rtsh-dark .rh-live-mob .rh-live-dot { background: #fff; animation-name: rh-pulse; }

.rh-tabs { display: flex; flex: none; }
.rh-tabs button { flex: 1; height: 50px; border: 0; border-bottom: 2px solid var(--line); background: var(--surface); color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; transition: .2s; }
.rh-tabs button[aria-selected="true"] { background: var(--bg-2); color: var(--text); border-bottom-color: var(--red); }

.rh-panels { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.rh-nav-list > li { border-bottom: 1px solid var(--line); }
.rh-row { display: flex; align-items: stretch; }
.rh-row > a { flex: 1; display: flex; align-items: center; gap: 14px; min-height: 50px; padding: 14px 18px; font-size: 14px; font-weight: 500; }
.rh-row > a:hover, .rh-nav-list > li.is-current > .rh-row > a { color: var(--red); }
.rh-row > a .icon { flex: none; width: 20px; height: 18px; color: var(--red); }
.rh-toggle { flex: none; width: 52px; padding: 0; border: 0; border-left: 1px solid var(--line); background: none; color: var(--muted); display: grid; place-items: center; }
.rh-toggle .icon { width: 16px; height: 16px; transition: transform .25s; }
.rh-toggle[aria-expanded="true"] { background: var(--bg-2); color: var(--red); }
.rh-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.rh-sub { max-height: 0; overflow: hidden; background: var(--bg-2); transition: max-height .3s ease; }
.rh-sub a { display: flex; align-items: center; gap: 10px; padding: 12px 18px 12px 52px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-2); }
.rh-sub a:hover, .rh-sub a[aria-current] { color: var(--red); }

.rh-mode-row { display: flex; flex: none; align-items: center; gap: 12px; width: calc(100% - 28px); margin: 6px 14px 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: transparent; color: inherit; font-size: 15px; font-weight: 600; text-align: left; }
.rh-mode-row-ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--bg-2); color: var(--text-2); }
.rh-mode-row-ico .icon { grid-area: 1 / 1; width: 18px; height: 18px; transition: transform .45s cubic-bezier(.3, 1.4, .5, 1), opacity .25s; }
.rh-mode-row-lbl { flex: 1; }
.rh-mode-switch { position: relative; width: 44px; height: 26px; border-radius: 13px; background: #d5d7db; transition: background .25s; }
.rh-mode-switch i { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .27); transition: transform .25s cubic-bezier(.3, 1.3, .5, 1); }
html.rtsh-dark .rh-mode-switch { background: var(--red); }
html.rtsh-dark .rh-mode-switch i { transform: translateX(18px); }

.rh-drawer-foot { flex: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; padding: 14px; border-top: 1px solid var(--line); }
.rh-drawer-foot a { width: 36px; height: 36px; border-radius: 50%; background: var(--bg-2); color: var(--text-2); display: grid; place-items: center; transition: background .2s, color .2s; }
.rh-drawer-foot a:hover { background: var(--red); color: #fff; }
.rh-drawer-foot .icon { width: 17px; height: 17px; }
html.rtsh-dark .rh-drawer { background: #1c1e23; }
html.rtsh-dark .rh-sub { background: #16181c; }
html.rtsh-dark .rh-row > a .icon, html.rtsh-dark .rh-row > a:hover, html.rtsh-dark .rh-nav-list > li.is-current > .rh-row > a, html.rtsh-dark .rh-sub a:hover { color: #ff5a5a; }
@media (min-width: 1100px) { .rh-drawer, .rh-overlay { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .rh-drawer, .rh-drawer *, .rh-overlay { transition: none !important; } }
.rh-home-link { font-weight: 700 !important; }

/* Dark header: dark grey bar, red logo, thin red line (as on rtsh.al) */
html.rtsh-dark .rh-top { background: #1c1e23; }
html.rtsh-dark .rh-logo { color: var(--red); }
html.rtsh-dark img.rh-logo { filter: brightness(0) saturate(100%) invert(14%) sepia(92%) saturate(5000%) hue-rotate(354deg) brightness(88%) contrast(98%); }
html.rtsh-dark .rh-site { border-left-color: rgba(255, 255, 255, .2); }
html.rtsh-dark .rh-links > ul > li > a:hover,
html.rtsh-dark .rh-links > ul > li.is-current > a { color: #ff5a5a; background: rgba(255, 255, 255, .07); }
html.rtsh-dark .rh-round { background: #2a2d33; color: #e6e6e8; }
html.rtsh-dark .rh-round:hover { background: #33373e; }
html.rtsh-dark .rh-sx input { background: #2a2d33; color: #e6e6e8; }
html.rtsh-dark .rh-sx.open button { color: #aaa; }
html.rtsh-dark .rh-lower { background: #1c1e23; border-bottom: 3px solid var(--red); }

/* ==========================================================================
   Components
   ========================================================================== */

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	min-height: 50px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
	font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
	transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s, color .25s;
	white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(4px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 16px 36px -16px rgba(203, 18, 18, .7); }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost { border-color: var(--line-2); background: var(--surface); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.btn-block { width: 100%; margin-top: 16px; }

.link-more { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--accent); white-space: nowrap; }
.link-more:hover { color: var(--accent-2); }
.link-more .icon { transition: transform .2s; }
.link-more:hover .icon { transform: translateX(3px); }

.kicker {
	display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px;
	font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--accent);
}
.kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }

.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
html.rtsh-dark .tag, html.rtsh-dark .kicker, html.rtsh-dark .link-more { color: var(--accent-2); }

.empty-state { padding: 48px 24px; border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--muted); text-align: center; }

.ph { display: grid; place-items: center; width: 100%; height: 100%; min-height: 160px; background: linear-gradient(160deg, var(--ph-a), var(--ph-b)); color: var(--ph-icon); }
.ph .icon { width: 42px; height: 42px; }

/* Hero -------------------------------------------------------------------- */
.hero {
	position: relative; isolation: isolate; overflow: hidden;
	min-height: min(78vh, 760px); display: flex; align-items: flex-end;
	padding: 110px 0 90px; border-bottom: 1px solid var(--line);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--hero-bg); }
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kenburns 24s ease-in-out infinite alternate; }
.aurora { position: absolute; border-radius: 50%; filter: blur(80px); opacity: var(--aurora-opacity); will-change: transform; }
.aurora.a1 { width: 52vw; height: 52vw; left: -12vw; top: -18vw; background: radial-gradient(circle, var(--red), transparent 65%); animation: drift1 18s ease-in-out infinite alternate; }
.aurora.a2 { width: 46vw; height: 46vw; right: -10vw; top: 0; background: radial-gradient(circle, var(--violet), transparent 65%); animation: drift2 22s ease-in-out infinite alternate; }
.aurora.a3 { width: 38vw; height: 38vw; left: 35vw; bottom: -22vw; background: radial-gradient(circle, #f1c56b, transparent 65%); opacity: calc(var(--aurora-opacity) * .6); animation: drift1 26s ease-in-out infinite alternate-reverse; }
.grain {
	position: absolute; inset: 0; opacity: .06; pointer-events: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes drift1 { to { transform: translate(8vw, 6vw) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-10vw, 8vw) scale(.9); } }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1.5%, -1%); } }

/* A hero photo is always shown with a dark overlay and white text, in both modes. */
.hero.has-image {
	--text: #fff; --text-2: #dfe4ec; --muted: #c3cad5; --line-2: rgba(255, 255, 255, .3);
	--glass-bg: rgba(20, 22, 28, .55); --glass-line: rgba(255, 255, 255, .14); --cell-bg: rgba(0, 0, 0, .3);
	--kicker-grad: linear-gradient(180deg, #fff 10%, #ffd9a0 55%, #e88a3a 100%);
	color: var(--text); border-bottom: 0;
}
.hero.has-image .hero-bg::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(10, 12, 16, .92) 0%, rgba(10, 12, 16, .6) 45%, rgba(10, 12, 16, .1) 80%), linear-gradient(0deg, rgba(10, 12, 16, .7) 0%, transparent 40%);
}
.hero.has-image .aurora { opacity: .2; }
.hero.has-image .btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; }

.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); gap: 48px; align-items: end; }
.hero-kicker {
	font-size: clamp(56px, 11vw, 150px); font-weight: 900; line-height: .9; letter-spacing: -.045em; text-transform: uppercase;
	background: var(--kicker-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
	padding-bottom: .04em;
}
.hero-title { margin-top: 18px; font-size: clamp(20px, 2.4vw, 30px); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text); }
.hero-text { margin-top: 14px; max-width: 560px; font-size: clamp(16px, 1.4vw, 19px); font-weight: 300; color: var(--text-2); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 34px; }

.glass {
	background: var(--glass-bg); border: 1px solid var(--glass-line); border-radius: 22px;
	backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: var(--shadow-lg);
}
.countdown-card { justify-self: end; width: 100%; max-width: 440px; padding: 26px; color: var(--text); }
.countdown-label { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.countdown div { display: flex; flex-direction: column; align-items: center; padding: 14px 4px; border-radius: 14px; background: var(--cell-bg); }
.countdown b { font-size: clamp(28px, 3.2vw, 42px); font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown span { margin-top: 6px; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.countdown-date { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; color: var(--text-2); }
.countdown-date .icon { color: var(--accent); }

.scroll-cue { position: absolute; left: 50%; bottom: 24px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid var(--line-2); border-radius: 999px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--text); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* Timeline inside the hero */
.hero.has-steps { flex-direction: column; align-items: stretch; justify-content: flex-end; padding-bottom: 48px; }
.hero-steps { margin-top: clamp(40px, 6vw, 72px); padding: 22px 26px 18px; border-radius: 20px; background: var(--glass-bg); border: 1px solid var(--glass-line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow); }
.hero-steps-label { margin-bottom: 16px; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.hero-steps .step { padding-top: 30px; }
.hero-steps .step strong { font-size: 14px; }
.hero-steps .step-dot { background: var(--surface); }

/* Step info: tooltip on hover / keyboard focus (desktop) */
.step.has-info { cursor: help; outline: 0; }
.step-info-icon { display: inline-block; width: 13px; height: 13px; margin-left: 5px; vertical-align: -1px; color: var(--muted); }
.step.has-info:hover .step-dot, .step.has-info:focus-visible .step-dot { transform: scale(1.15); }
.step-dot { transition: transform .2s; }
.step .step-tip {
	position: absolute; left: -10px; bottom: calc(100% + 10px); z-index: 20; width: max-content; max-width: 260px;
	padding: 10px 14px; border-radius: 12px; background: #1b1d22; color: #fff;
	font-size: 13px; font-weight: 400; line-height: 1.45; box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; pointer-events: none;
}
.step-tip::after { content: ""; position: absolute; left: 18px; top: 100%; border: 7px solid transparent; border-top-color: #1b1d22; }
html.rtsh-dark .step-tip { background: #f1f2f4; color: #1b1d22; }
html.rtsh-dark .step-tip::after { border-top-color: #f1f2f4; }
.step:last-child .step-tip, .step:nth-last-child(2) .step-tip { left: auto; right: 0; }
.step:last-child .step-tip::after, .step:nth-last-child(2) .step-tip::after { left: auto; right: 18px; }
.step.has-info:hover .step-tip, .step.has-info:focus-visible .step-tip { opacity: 1; visibility: visible; transform: none; }
.step.has-info:focus-visible strong { text-decoration: underline; text-underline-offset: 4px; }
[data-steps-card] { position: relative; }
.steps-pop {
	position: absolute; z-index: 30; width: max-content; max-width: min(280px, calc(100% - 24px));
	padding: 10px 14px; border-radius: 12px; background: #1b1d22; color: #fff; font-size: 13px; line-height: 1.45;
	box-shadow: var(--shadow); animation: pop .18s var(--ease);
}
.steps-pop strong { display: block; margin-bottom: 2px; font-size: 12px; letter-spacing: .04em; }
.steps-pop::after { content: ""; position: absolute; left: var(--arrow-x, 20px); top: 100%; margin-left: -7px; border: 7px solid transparent; border-top-color: #1b1d22; }
html.rtsh-dark .steps-pop { background: #f1f2f4; color: #1b1d22; }
html.rtsh-dark .steps-pop::after { border-top-color: #f1f2f4; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.countdown-card.is-tba .countdown b { color: var(--muted); }

/* Sections ---------------------------------------------------------------- */
.section { position: relative; padding: clamp(56px, 8vw, 110px) 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(26px, 4vw, 40px); }
.section-title { font-size: clamp(28px, 4.2vw, 52px); font-weight: 900; letter-spacing: -.03em; text-transform: uppercase; }
.section-actions { display: flex; align-items: center; gap: 20px; }
.section-foot { display: flex; align-items: center; justify-content: flex-end; gap: 16px; margin-top: 8px; }
.section-foot .btn { min-height: 46px; }
.section-note { margin-top: 10px; max-width: 620px; font-size: 15px; color: var(--muted); }
.coming-soon { display: flex; align-items: center; gap: 20px; padding: 28px; border-radius: var(--radius); border: 1px dashed var(--line-2); background: var(--bg-2); }
.coming-soon-icon { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.coming-soon-icon .icon { width: 26px; height: 26px; }
.coming-soon strong { display: block; font-size: 18px; }
.coming-soon p { margin-top: 4px; color: var(--muted); }

/* Steps */
/* Desktop: steps share the width, the last one only takes its own width, so the line ends at the right edge. */
.steps { list-style: none; display: flex; position: relative; }
.steps > .step { flex: 1 1 0; min-width: 0; }
.steps > .step:last-child { flex: 0 0 auto; padding-right: 0; }
.step { position: relative; padding: 34px 16px 0 0; display: flex; flex-direction: column; gap: 4px; }
.step-dot { position: absolute; top: 0; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-2); }
.step strong { font-size: 15px; }
.step .step-text { font-size: 13px; color: var(--muted); }
.step.done .step-dot { background: var(--red); border-color: var(--red); }
.step::before { content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 2px; background: var(--line-2); }
.step.done::before { background: var(--red); }
.step:last-child::before { display: none; } /* the line ends at the last dot */
.step-dot { z-index: 1; }
.step.active .step-dot { border-color: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft); }
.step.active .step-dot::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--accent); }
.step.active strong { color: var(--accent); }

/* Rails */
.rail {
	--pad: max(var(--gutter), (100% - var(--wrap)) / 2);
	display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 23vw, 290px); gap: 20px;
	overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
	padding: 6px var(--pad) 28px; scroll-padding-inline: var(--pad); scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-winners { grid-auto-columns: clamp(260px, 30vw, 360px); }
.rail-nav { display: flex; gap: 8px; }
.rail-nav button { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); transition: background .2s, border-color .2s, color .2s, opacity .2s; }
.rail-nav button:hover:not(:disabled) { background: var(--red); border-color: var(--red); color: #fff; }
.rail-nav button:disabled { opacity: .35; cursor: default; }
.rail-nav .icon { width: 18px; height: 18px; }

/* Song card (text sits on the photo, always white) */
.song-card { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; background: var(--surface-2); box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.song-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.song-media, .song-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.song-media img { transition: transform .8s var(--ease); }
.song-card:hover .song-media img { transform: scale(1.06); }
.song-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(8, 10, 14, .9) 100%); }
.card-link { position: absolute; inset: 0; z-index: 2; } /* photo + whole card open the song page */
.song-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 18px 18px 20px; color: #fff; pointer-events: none; }
.song-body a { pointer-events: auto; position: relative; z-index: 3; }
.song-number { display: block; font-size: 12px; font-weight: 900; color: #f1c56b; letter-spacing: .1em; margin-bottom: 4px; }
.song-title { font-size: 17px; font-weight: 700; line-height: 1.2; }
.song-sub { margin-top: 4px; font-size: 13px; color: rgba(255, 255, 255, .8); }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.song-card.has-video, .video-frame[data-video]:not(.is-playing) { cursor: pointer; }
.song-link { position: relative; z-index: 2; }
.song-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.play-btn {
	position: absolute; top: 14px; right: 14px; z-index: 4; display: grid; place-items: center; width: 46px; height: 46px; padding: 0;
	border-radius: 50%; border: 0; background: rgba(255, 255, 255, .22); color: #fff;
	backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .25s var(--ease), background .25s;
}
.play-btn .icon { width: 18px; height: 18px; margin-left: 2px; }
.play-btn:hover, .song-card:hover .play-btn { background: var(--red); transform: scale(1.08); }
.song-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }

/* Post card */
.news-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.news-grid .is-featured { grid-row: span 2; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.post-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-media img { transform: scale(1.05); }
.post-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 22px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.post-meta time { display: inline-flex; align-items: center; gap: 6px; }
.post-title { font-size: 18px; font-weight: 700; line-height: 1.3; }
.post-title a { transition: color .2s; }
.post-card:hover .post-title a { color: var(--accent); }
html.rtsh-dark .post-card:hover .post-title a { color: var(--accent-2); }
.post-excerpt { color: var(--muted); font-size: 15px; }
.post-card.is-featured .post-media { aspect-ratio: auto; flex: 1; min-height: 280px; }
.post-card.is-featured .post-title { font-size: clamp(22px, 2.2vw, 30px); }
.post-card .tag { position: relative; z-index: 2; }

/* Winner card */
.winner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.winner-card { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.winner-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--gold-bg); }
.winner-media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--surface-2); }
.winner-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.winner-card:hover .winner-media img { transform: scale(1.05); }
.winner-badge { position: absolute; left: 14px; bottom: -1px; z-index: 1; display: flex; flex-direction: column; align-items: center; min-width: 64px; padding: 8px 10px 6px; border-radius: 12px 12px 0 0; background: var(--gold-bg); color: #1c1305; font-size: 26px; font-weight: 900; line-height: 1; }
.winner-badge small { font-size: 9px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 2px; }
.winner-body { padding: 18px 20px 22px; }
.esc-result { display: flex; align-items: center; gap: 14px; margin: 18px 0; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.esc-mark { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, #1b2a8f, #e0115f); color: #fff; font-size: 22px; font-weight: 900; }
.esc-result > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.esc-kicker { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.esc-result strong { font-size: 16px; line-height: 1.35; }
.esc-result small { font-size: 13px; color: var(--muted); }
.esc-gjysmefinale .esc-mark, .esc-jo .esc-mark, .esc-anuluar .esc-mark { background: var(--bg-2); color: var(--muted); }
.winner-esc { margin-top: 8px; font-size: 13px; color: var(--muted); }
.winner-esc span { display: inline-block; margin-right: 4px; padding: 2px 8px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.winner-year { font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--gold); }
.winner-title { margin-top: 4px; font-size: 19px; }
.winner-song { margin-top: 4px; font-size: 14px; color: var(--muted); }

/* Artists ------------------------------------------------------------------ */
.artist-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 20px; }
.artist-card { position: relative; }
.artist-media { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 50%; background: var(--surface-2); box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s; }
.artist-media img, .artist-media .ph { width: 100%; height: 100%; object-fit: cover; }
.artist-card:hover .artist-media { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.artist-trophy { position: absolute; right: 8%; bottom: 6%; display: inline-flex; align-items: center; gap: 2px; padding: 6px 8px; border-radius: 999px; background: var(--gold-bg); color: #1c1305; font-size: 12px; font-weight: 900; box-shadow: 0 6px 14px rgba(0, 0, 0, .2); }
.artist-trophy .icon { width: 14px; height: 14px; }
.artist-body { padding: 14px 4px 0; text-align: center; }
.artist-name { font-size: 16px; }
.artist-card:hover .artist-name a { color: var(--accent); }
.artist-meta { margin-top: 2px; font-size: 13px; color: var(--muted); }
.artist-hero .video-frame { aspect-ratio: 1; border-radius: 50%; }

/* Filters panel (artists) */
.filter-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.filter-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.filter-count { color: var(--muted); }
.filter-count strong { color: var(--text); font-size: 18px; }
.filter-open { display: none; min-height: 42px; padding: 0 18px; font-size: 13px; }
.filter-panel { position: sticky; top: calc(var(--rh-lower-h) + 3px + 20px); display: flex; flex-direction: column; gap: 22px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.filter-panel-head { display: flex; align-items: center; justify-content: space-between; }
.filter-panel-head .aside-title { margin: 0; }
.filter-reset { padding: 0; border: 0; background: none; color: var(--accent); font-size: 13px; font-weight: 700; }
.filter-panel .filter-search { min-width: 0; }
.filter-group h3 { margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.filter-group .chip { height: 34px; padding: 0 12px; font-size: 13px; }
.filter-select { width: 100%; height: 44px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); color: var(--text); font: inherit; font-size: 14px; }
.filter-toggle { display: flex; align-items: center; gap: 10px; font-weight: 500; cursor: pointer; }
.filter-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.filter-switch { position: relative; flex: none; width: 40px; height: 24px; border-radius: 12px; background: var(--line-2); transition: background .2s; }
.filter-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .2s; }
.filter-toggle input:checked + .filter-switch { background: var(--red); }
.filter-toggle input:checked + .filter-switch::after { transform: translateX(16px); }
.filter-toggle input:focus-visible + .filter-switch { outline: 2px solid var(--accent); outline-offset: 2px; }
.filter-toggle .icon { width: 16px; height: 16px; color: var(--gold); }
.filter-done { display: none; }
body.admin-bar .filter-panel { top: calc(var(--rh-lower-h) + 3px + 20px + 32px); }
.filter-close { display: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--bg-2); color: var(--text); place-items: center; }
.filter-close .icon { width: 20px; height: 20px; }
.filter-backdrop { position: fixed; inset: 0; z-index: 1190; background: rgba(0, 0, 0, .45); animation: fade .2s; }
html.rh-lock-filters, html.rh-lock-filters body { overflow: hidden; }
.filter-panel > * { flex-shrink: 0; } /* the panel scrolls on mobile: never squash its controls */
.filter-panel .filter-search { height: 50px; min-width: 0; width: 100%; border-width: 2px; padding: 0 14px; }
.filter-panel .filter-search input { font-size: 16px; } /* 16px: no zoom on iOS */
.ed-picker { border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; }
.ed-search { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border-bottom: 1px solid var(--line); }
.ed-search .icon { width: 16px; height: 16px; color: var(--muted); }
.ed-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font-size: 16px; }
.ed-list { max-height: 220px; overflow-y: auto; overscroll-behavior: contain; padding: 4px; }
.ed-option { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 10px; border-radius: 8px; font-size: 14px; font-weight: 500; cursor: pointer; }
.ed-option span { color: var(--muted); font-weight: 400; }
.ed-option:hover { background: var(--bg-2); }
.ed-option input { accent-color: var(--red); width: 16px; height: 16px; }
.ed-option:has(input:checked) { background: var(--accent-soft); color: var(--accent); }
.load-more-wrap { display: flex; justify-content: center; margin-top: 32px; }
.load-more { min-width: 240px; }
.load-more span { color: var(--muted); font-weight: 500; }
[data-browser].is-loading [data-b-items] { opacity: .45; transition: opacity .2s; }

/* All editions page */
/* Editions + winners page: view switch */
.eb-toolbar { margin-bottom: 18px; }
.eb-views { display: inline-flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--bg-2); }
.eb-views button { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border: 0; border-radius: 10px; background: none; color: var(--muted); font-size: 14px; font-weight: 700; transition: background .18s, color .18s; }
.eb-views button .icon { width: 17px; height: 17px; }
.eb-views button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.eb-views button[aria-pressed="true"] .icon { color: var(--red); }
.eb-item > .winner-card { height: 100%; }
.edition-song { font-style: italic; }
.edition-card { align-items: flex-start; }
.edition-card .esc-badge { margin-top: 6px; padding: 3px 10px 3px 3px; gap: 7px; box-shadow: none; font-size: 12px; }
.edition-card .esc-badge-mark { width: 24px; height: 24px; font-size: 11px; }
.edition-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.edition-card { display: flex; align-items: center; gap: 16px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: transform .18s ease, box-shadow .18s ease; }
.edition-card:hover, .edition-card:focus-visible { transform: translateY(-2px); box-shadow: var(--shadow); }
.edition-num { display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none; width: 64px; height: 64px; border-radius: 12px; background: var(--red); color: #fff; font-size: 24px; font-weight: 900; line-height: 1; }
.edition-num small { font-size: 9px; letter-spacing: .2em; text-transform: uppercase; }
.edition-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.edition-info strong { font-size: 17px; }
.edition-info small { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); }
.edition-info .icon { width: 13px; height: 13px; color: var(--gold); }
.source-note { margin-top: 14px; font-size: 12px; color: var(--muted); }
.source-note a { text-decoration: underline; }

/* Result badge */
.result-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.result-badge .icon { width: 14px; height: 14px; }
.result-badge.is-win { background: var(--gold-bg); color: #1c1305; }
.result-badge.is-small { margin-bottom: 8px; padding: 4px 9px; font-size: 10px; }
.result-badge.is-small .icon { width: 12px; height: 12px; }
.song-hero-copy .result-badge { margin-bottom: 14px; }

/* Artist history */
.history { list-style: none; border-top: 1px solid var(--line); }
.history-row { display: grid; grid-template-columns: 110px 1fr auto; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.history-row.is-win .history-edition a, .history-row.is-win .history-edition span { color: var(--gold); }
.history-edition { display: flex; flex-direction: column; font-weight: 900; font-size: 18px; letter-spacing: -.01em; }
.history-edition a:hover { color: var(--accent); }
.history-edition small { font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: .06em; }
.history-song { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 17px; font-weight: 500; }
.history-song a:hover { color: var(--accent); }
.history-play { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line-2); border-radius: 50%; background: var(--surface); color: var(--text); transition: all .2s; }
.history-play:hover { background: var(--red); border-color: var(--red); color: #fff; }
.history-play .icon { width: 16px; height: 16px; margin-left: 2px; }
.stat-row li.is-gold b { color: var(--gold); }

/* Edition page */
.section-tight { padding: 32px 0; }
.credits-grid > .is-wide { grid-column: 1 / -1; }
.podium { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.podium-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.podium-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.podium-card.place-1 { border-color: var(--gold-bg); box-shadow: 0 0 0 1px var(--gold-bg); }
.podium-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.podium-media img, .podium-media .ph { width: 100%; height: 100%; object-fit: cover; }
.podium-body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 20px; }
.podium-place { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.place-1 .podium-place { color: var(--gold); }
.podium-place .icon { width: 15px; height: 15px; }
.podium-body strong { font-size: 19px; }
.podium-body small { font-size: 14px; color: var(--muted); }
.winner-hero-number a { color: inherit; }

/* Lyrics */
.lyrics { position: relative; columns: 2 260px; column-gap: 48px; font-size: 18px; line-height: 1.75; color: var(--text-2); }
.lyrics p { margin: 0 0 1.4em; break-inside: avoid; }
.lyrics.is-collapsed { max-height: 460px; overflow: hidden; }
.lyrics.is-collapsed::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(180deg, transparent, var(--bg)); }
.lyrics-more { margin-top: 12px; }

/* Ranking (edition page) */
.ranking { list-style: none; border-top: 1px solid var(--line); }
.ranking-row { display: grid; grid-template-columns: 48px 1fr auto; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ranking-pos { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--bg-2); font-weight: 900; font-size: 15px; }
.ranking-row.is-top .ranking-pos { background: var(--gold-bg); color: #1c1305; }
.ranking-name { display: flex; flex-direction: column; }
.ranking-name strong { font-size: 16px; }
.ranking-name small { font-size: 14px; color: var(--muted); }
.ranking-name:hover strong { color: var(--accent); }

/* Mosaic */

/* Photos: uniform grid, every photo the same size */
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.photo { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 14px; background: var(--surface-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .3s; }
.photo:hover img { transform: scale(1.06); filter: brightness(1.08); }

/* Albums */
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.album-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.album-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.album-cover { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.album-cover img, .album-cover .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.album-card:hover .album-cover img { transform: scale(1.05); }
.album-count { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(0, 0, 0, .6); color: #fff; font-size: 12px; font-weight: 700; }
.album-count .icon { width: 14px; height: 14px; }
.album-body { display: flex; flex-direction: column; gap: 2px; padding: 14px 18px 18px; }
.album-body small { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.album-body strong { font-size: 17px; }

/* Page header */
.page-header { position: relative; isolation: isolate; overflow: hidden; padding: clamp(64px, 10vw, 130px) 0 clamp(36px, 5vw, 60px); background: var(--bg-2); border-bottom: 1px solid var(--line); }
.page-header-bg { position: absolute; inset: -20px; z-index: -1; background-size: cover; background-position: center; filter: blur(2px) saturate(1.1); opacity: var(--banner-opacity); }
.page-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 140% at 0% 0%, rgba(203, 18, 18, .16), transparent 60%), linear-gradient(180deg, transparent 40%, var(--bg-2)); }
.page-title { font-size: clamp(34px, 6vw, 76px); font-weight: 900; letter-spacing: -.035em; text-transform: uppercase; }
.page-title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.esc-badge { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--text); font-size: 13px; line-height: 1.25; transition: transform .2s, border-color .2s; }
a.esc-badge:hover { transform: translateY(-2px); border-color: var(--line-2); }
.esc-badge-mark { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #1b2a8f, #e0115f); color: #fff; font-size: 15px; font-weight: 900; }
.esc-badge-text b { display: block; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.esc-badge.esc-gjysmefinale .esc-badge-mark, .esc-badge.esc-jo .esc-badge-mark, .esc-badge.esc-anuluar .esc-badge-mark { background: var(--bg-2); color: var(--muted); }
.history-song .esc-badge { padding: 3px 10px 3px 3px; gap: 7px; box-shadow: none; font-size: 12px; }
.history-song .esc-badge-mark { width: 24px; height: 24px; font-size: 11px; }
.page-lead { margin-top: 14px; max-width: 640px; font-size: 18px; font-weight: 300; color: var(--text-2); }

/* Toolbar / chips */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-bottom: 32px; padding-bottom: 4px; }
.chips-scroll::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: 14px; font-weight: 500; color: var(--text-2); transition: all .2s; }
.chip:hover { border-color: var(--text); color: var(--text); }
.chip.is-active { background: var(--red); border-color: var(--red); color: #fff; font-weight: 700; }
.filter-search, .search-inline {
	display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 6px 0 18px; min-width: min(100%, 340px);
	border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); transition: border-color .2s, box-shadow .2s;
}
.filter-search:focus-within, .search-inline:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.filter-search .icon, .search-inline > .icon { color: var(--muted); }
.filter-search input, .search-inline input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; font-size: 15px; }
.search-inline { max-width: 620px; margin-bottom: 40px; }
.search-inline .btn { min-height: 38px; padding: 0 18px; font-size: 12px; }
.is-filtered-out { display: none !important; }

/* Song single */
.song-hero, .winner-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(44px, 7vw, 96px) 0; border-bottom: 1px solid var(--line); }
.song-hero-bg { position: absolute; inset: -60px; z-index: -1; background-size: cover; background-position: center; filter: blur(60px) saturate(1.3); opacity: calc(var(--banner-opacity) * 1.6); transform: scale(1.1); }
.song-hero::after, .winner-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent, var(--bg)); }
.song-hero-grid { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.video-frame { position: relative; overflow: hidden; border-radius: 22px; aspect-ratio: 4 / 5; background: var(--surface-2); box-shadow: var(--shadow-lg); }
.video-frame > img, .video-frame > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-frame.is-playing { aspect-ratio: 16 / 9; background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play-btn-lg { top: 50%; left: 50%; right: auto; width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--red); box-shadow: 0 0 0 12px rgba(203, 18, 18, .25); }
.play-btn-lg .icon { width: 30px; height: 30px; }
.song-hero-title { font-size: clamp(36px, 6vw, 80px); font-weight: 900; letter-spacing: -.035em; line-height: .98; }
.song-hero-sub { margin-top: 12px; font-size: clamp(18px, 2vw, 24px); font-weight: 300; color: var(--text-2); font-style: italic; }
.credits { display: grid; margin: 32px 0 0; border-top: 1px solid var(--line); }
.credits > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.credits dt { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.credits dd { margin: 0; font-weight: 500; }
.credits-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; border: 0; margin: 0 0 40px; }
.credits-grid > div { display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.credits-grid dt { margin-bottom: 4px; }

/* Winner single */
.winner-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.winner-hero .kicker { color: var(--gold); }
.winner-hero .kicker .icon { width: 16px; height: 16px; }
.winner-hero .kicker::before { display: none; }
.winner-hero-number { font-size: clamp(64px, 10vw, 140px); font-weight: 900; line-height: .9; letter-spacing: -.05em; background: var(--number-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.winner-hero-number span { display: block; font-size: 14px; letter-spacing: .3em; text-transform: uppercase; -webkit-text-fill-color: var(--muted); color: var(--muted); margin-bottom: 8px; }
.winner-hero-title { margin-top: 18px; font-size: clamp(30px, 4vw, 54px); font-weight: 900; letter-spacing: -.03em; }
.winner-hero-media { overflow: hidden; border-radius: 22px; box-shadow: var(--shadow-lg); }
.winner-hero-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.stat-row { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.stat-row li { display: flex; flex-direction: column; min-width: 110px; padding: 14px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.stat-row b { font-size: 26px; font-weight: 900; line-height: 1.1; }
.stat-row span { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* Audio player (song page, below the photo) */
.audio-player { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 10px 14px 10px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.ap-play { display: grid; place-items: center; flex: none; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: var(--red); color: #fff; transition: transform .15s; }
.ap-play:active { transform: scale(.94); }
.ap-play .icon { width: 18px; height: 18px; }
.ap-play .ap-icon-play { margin-left: 2px; }
.ap-play .ap-icon-pause, .audio-player.is-playing .ap-icon-play { display: none; }
.audio-player.is-playing .ap-icon-pause { display: block; }
.ap-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ap-title { overflow: hidden; font-size: 13px; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.ap-bar { width: 100%; height: 4px; margin: 0; accent-color: var(--red); cursor: pointer; }
.ap-time { flex: none; min-width: 40px; font-size: 12px; font-variant-numeric: tabular-nums; color: var(--muted); text-align: right; }

/* Article */
.article-header { padding: clamp(44px, 7vw, 90px) 0 32px; }
.article-title { margin-top: 18px; font-size: clamp(30px, 4.6vw, 58px); font-weight: 900; letter-spacing: -.03em; line-height: 1.05; }
.article-lead { margin-top: 18px; font-size: 20px; font-weight: 300; color: var(--text-2); }
.article-cover { margin-bottom: clamp(28px, 4vw, 40px); }
.article-cover img { width: 100%; max-height: 720px; object-fit: cover; border-radius: 22px; }
/* News: title + smaller photo in the main column, the sidebar next to them from the top. */
.article-layout-post { padding-top: clamp(36px, 5vw, 64px); padding-bottom: 35px; }
.article-layout-post .article-header { padding: 0 0 24px; }
.article-layout-post .article-title { font-size: clamp(28px, 3.6vw, 46px); }
.article-layout-post .article-cover img { aspect-ratio: 16 / 9; max-height: 460px; border-radius: 18px; }
.article-cover figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
/* Sticky sidebar: below the sticky festival bar (+3px dark border, +WP admin bar), so its title stays visible. */
.article-aside { position: sticky; top: calc(var(--rh-lower-h) + 40px); padding-bottom: 35px; }
body.admin-bar .article-aside { top: calc(var(--rh-lower-h) + 72px); }
.aside-title { font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.mini-post { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mini-post:last-of-type { border-bottom: 0; }
.mini-thumb { width: 76px; height: 76px; overflow: hidden; border-radius: 12px; background: var(--surface-2); }
.mini-thumb img, .mini-thumb .ph { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.mini-thumb .ph .icon { width: 22px; height: 22px; }
.mini-post strong { display: block; font-size: 14px; font-weight: 500; line-height: 1.35; transition: color .2s; }
.mini-post small { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }
.mini-post:hover strong { color: var(--accent); }

.prose { font-size: 18px; line-height: 1.75; color: var(--text-2); }
.prose > * + * { margin-top: 1.2em; }
.prose h2, .prose h3, .prose h4 { color: var(--text); margin-top: 1.8em; }
.prose h2 { font-size: 1.6em; }
.prose h3 { font-size: 1.3em; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
html.rtsh-dark .prose a { color: var(--accent-2); }
.prose img, .prose .wp-block-image img { border-radius: 14px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--red); font-size: 1.15em; font-style: italic; color: var(--text); }
.prose iframe, .prose .wp-block-embed { width: 100%; border-radius: 14px; overflow: hidden; }
.prose iframe[src*="youtube"] { aspect-ratio: 16 / 9; height: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: .9em; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 40px; }
.hero-cta .share { margin-top: 0; }
.share-label { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.share-btn { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); transition: all .2s; }
.share-btn:hover, .share-btn.is-copied { background: var(--red); color: #fff; border-color: var(--red); }
.share-btn .icon { width: 17px; height: 17px; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; padding-bottom: 35px; }
.post-nav a { display: block; height: 100%; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); transition: border-color .2s, box-shadow .2s; }
.post-nav a:hover { box-shadow: var(--shadow); }
.post-nav small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.post-nav span { font-weight: 500; line-height: 1.35; }
.post-nav .next { grid-column: 2; text-align: right; }

.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 700; font-size: 14px; transition: all .2s; }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--red); color: #fff; border-color: var(--red); }
.pagination .page-numbers.dots { border: 0; }

/* Gallery */
.gallery-wrap { position: relative; min-height: 200px; }
.gallery-grid { columns: 4 260px; column-gap: 14px; transition: opacity .3s; }
.gallery-wrap.is-loading .gallery-grid { opacity: .25; }
.gallery-item { display: block; margin-bottom: 14px; overflow: hidden; border-radius: 14px; background: var(--surface-2); break-inside: avoid; }
.gallery-item img { width: 100%; transition: transform .7s var(--ease); }
.gallery-item:hover img { transform: scale(1.04); }
.spinner { position: absolute; top: 80px; left: 50%; width: 44px; height: 44px; margin-left: -22px; border-radius: 50%; border: 3px solid var(--line-2); border-top-color: var(--red); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Lightbox (always dark) */
.lightbox { position: fixed; inset: 0; z-index: 1500; display: flex; align-items: center; justify-content: center; background: rgba(6, 8, 12, .94); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: fade .25s var(--ease); }
.lightbox-stage { position: relative; display: flex; flex-direction: column; align-items: center; max-width: min(92vw, 1400px); max-height: 88vh; }
.lightbox-stage img { max-width: 100%; max-height: 80vh; width: auto; border-radius: 12px; box-shadow: 0 40px 100px rgba(0, 0, 0, .6); animation: zoomIn .3s var(--ease); }
.lightbox-video { width: min(92vw, 1280px); aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; animation: zoomIn .3s var(--ease); }
.lightbox-video iframe { width: 100%; height: 100%; border: 0; }
.lightbox-caption { margin-top: 14px; font-size: 14px; color: #b9c0cb; text-align: center; }
.lightbox-count { position: absolute; top: 24px; left: 24px; font-size: 13px; font-weight: 700; letter-spacing: .1em; color: #b9c0cb; }
.lightbox .icon-btn { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); color: #fff; }
.lightbox .icon-btn:hover { background: rgba(255, 255, 255, .18); }
.lightbox .icon { width: 19px; height: 19px; }
.lightbox-close { top: 18px; right: 18px; }
.lightbox-prev, .lightbox-next { top: 50%; margin-top: -22px; }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }
@keyframes zoomIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* 404 */
.error-404 { position: relative; isolation: isolate; overflow: hidden; min-height: 70vh; display: flex; align-items: center; padding: 100px 0; text-align: center; }
.error-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.error-code { font-size: clamp(120px, 22vw, 260px); font-weight: 900; line-height: .85; letter-spacing: -.06em; background: var(--kicker-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-404 .search-inline { width: 100%; margin: 12px 0 0; }

/* Footer */
.site-footer { position: relative; padding: 64px 0 0; background: var(--bg-2); border-top: 3px solid var(--red); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 52px; }
.footer-logo { display: inline-block; margin-bottom: 18px; color: var(--red); line-height: 0; }
.footer-logo .rh-logo { width: 140px; height: 61px; }
html:not(.rtsh-dark) .footer-logo img.rh-logo { filter: brightness(0) saturate(100%) invert(14%) sepia(92%) saturate(5000%) hue-rotate(354deg) brightness(88%) contrast(98%); }
.footer-brand p { max-width: 320px; font-size: 14px; color: var(--muted); }
.footer-col h2 { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col .sub-menu { margin-top: 10px; padding-left: 14px; }
.footer-col .submenu-toggle { display: none; }
.footer-col li { display: block; font-size: 15px; color: var(--text-2); }
.footer-col a { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text-2); transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-col .icon { width: 16px; height: 16px; color: var(--muted); }
.footer-col li:has(> .icon) { display: flex; align-items: flex-start; gap: 10px; }
.footer-col li > .icon { margin-top: 4px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.to-top:hover { color: var(--accent); }

/* Intro animation for above-the-fold content: pure CSS, always ends visible. */
[data-intro] { animation: intro .9s var(--ease) both; }
.hero-copy > [data-intro]:nth-child(2) { animation-delay: .08s; }
.hero-copy > [data-intro]:nth-child(3) { animation-delay: .16s; }
.hero-copy > [data-intro]:nth-child(4) { animation-delay: .24s; }
.hero-grid > [data-intro]:nth-child(2) { animation-delay: .3s; }
.hero-steps[data-intro] { animation-delay: .4s; }
@keyframes intro { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Scroll reveal: only hidden once main.js has started (html.reveal-ready), so content never stays hidden if JS fails. */
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }

/* Responsive -------------------------------------------------------------- */
/* Desktop: the red bar scrolls away, the festival bar stays on top (sticky with a negative offset). */
@media (min-width: 1100px) {
	.rh { top: calc(-1 * var(--rh-top-h)); }
	body.admin-bar .rh { top: calc(32px - var(--rh-top-h)); }
}

@media (max-width: 1250px) {
	.rh-site { display: none; }
	.rh-social { display: none; }
	.rh-fest .menu > li > a { padding: 0 9px; font-size: 14px; }
}

@media (max-width: 1099px) {
	:root { --rh-top-h: 64px; --rh-lower-h: 0px; }
	.rh-links, .rh-sx, .rh-top .rh-mode-btn, .rh-lower { display: none; }
	.rh-actions { display: flex; }
	.rh-logo { width: 106px; height: 46px; }
	.rh-site { display: block; font-size: 10px; padding-left: 12px; }
	html.rtsh-dark .rh-top { box-shadow: inset 0 -3px 0 var(--red); }
	body.admin-bar .rh { top: 46px; }
	html { scroll-padding-top: calc(var(--rh-top-h) + 16px); }
	.article-aside { top: calc(var(--rh-top-h) + 24px); }
	body.admin-bar .article-aside { top: calc(var(--rh-top-h) + 70px); }

	.news-grid { grid-template-columns: 1fr 1fr; }
	.news-grid .is-featured { grid-column: span 2; grid-row: auto; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
	.filter-layout { grid-template-columns: 1fr; }
	.filter-open { display: inline-flex; }
	.filter-panel { position: fixed; inset: auto 0 0 0; z-index: 1200; max-height: 85vh; overflow-y: auto; border-radius: 22px 22px 0 0; transform: translateY(105%); transition: transform .3s var(--ease); }
	.filter-panel.is-open { transform: none; box-shadow: 0 -20px 60px rgba(0, 0, 0, .35); }
	.filter-done { display: inline-flex; }
	.filter-close { display: grid; }
	.filter-panel .filter-reset { margin-left: auto; margin-right: 8px; }
	.hero { min-height: auto; padding: 64px 0 96px; }
	.hero-grid { grid-template-columns: 1fr; gap: 36px; }
	.countdown-card { justify-self: stretch; max-width: none; }
	.song-hero-grid, .winner-hero-grid { grid-template-columns: 1fr; }
	.song-hero-media { max-width: 440px; }
	.article-layout { grid-template-columns: 1fr; }
	.article-aside { position: static; }
	.photo-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
	.album-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
}

@media (max-width: 960px) {
	/* Timeline on mobile: the same card as on desktop, moved by main.js below the hero,
	   dots in one horizontal row that scrolls; tapping a dot shows its info bubble. */
	.steps-slot:not(:empty) { padding: 20px var(--gutter) 4px; background: var(--bg); }
	.hero.has-steps { padding-bottom: 48px; }
	.hero.has-steps .hero-steps { margin-top: 36px; }
	.steps-slot .hero-steps { width: auto; margin: 0; background: var(--surface); backdrop-filter: none; -webkit-backdrop-filter: none; }
	.hero-steps, .steps-card { padding: 18px 0 6px; }
	.hero-steps .hero-steps-label { padding-inline: 20px; margin-bottom: 14px; }
	.steps-scroll { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: 20px; scrollbar-width: none; padding: 0 20px 14px; }
	.steps-scroll::-webkit-scrollbar { display: none; }
	.steps-scroll .steps { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 132px; width: max-content; min-width: 100%; }
	.steps-scroll .steps > .step:last-child { padding-right: 14px; }
	.steps-scroll .step { scroll-snap-align: center; padding: 32px 14px 0 0; }
	/* Hover tooltips can't escape the scroll box on touch screens: main.js shows .steps-pop instead. */
	.step .step-tip { display: none; }
	.step.is-selected .step-dot { transform: scale(1.2); box-shadow: 0 0 0 6px var(--accent-soft); }
}

@media (max-width: 782px) {
	body.admin-bar .rh { top: 0; }
}

@media (max-width: 640px) {
	.rh-site { display: none; }
	.section-head { flex-direction: column; align-items: flex-start; }
	.section-actions { width: 100%; justify-content: space-between; }
	.rail-nav { display: none; }
	.section-foot { justify-content: flex-end; }
	.rail { grid-auto-columns: 72%; gap: 14px; }
	.rail-winners { grid-auto-columns: 82%; }
	.news-grid { grid-template-columns: 1fr; }
	.news-grid .is-featured { grid-column: auto; }
	.song-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.song-title { font-size: 15px; }
	.song-body { padding: 14px; }
	.play-btn { width: 38px; height: 38px; top: 10px; right: 10px; }
	.countdown { gap: 6px; }
	.credits > div { grid-template-columns: 1fr; gap: 2px; }
	/* Year · edition · songs: one row of three, smaller */
	.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.stat-row li { min-width: 0; padding: 10px 8px; text-align: center; }
	.stat-row b { font-size: 18px; }
	.stat-row span { font-size: 9px; letter-spacing: .08em; }
	.artist-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
	.history-row { grid-template-columns: 76px 1fr auto; gap: 12px; }
	.history-song { font-size: 15px; }
	.post-nav { grid-template-columns: 1fr; }
	.post-nav .next { grid-column: auto; }
	.footer-grid { grid-template-columns: 1fr; gap: 32px; }
	.footer-bottom { flex-direction: column; }
	.prose { font-size: 17px; }
	.lightbox-prev, .lightbox-next { top: auto; bottom: 18px; margin: 0; }
	.toolbar { flex-direction: column; align-items: stretch; }
	.chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.chips::-webkit-scrollbar { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.reveal-ready [data-reveal], [data-intro] { opacity: 1; transform: none; animation: none; }
}

/* WordPress core classes */
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption-text, .gallery-caption { font-size: 13px; color: var(--muted); }

/* Editions page on phones: the two views share the width */
@media (max-width: 640px) {
	.eb-views { display: grid; grid-template-columns: 1fr 1fr; }
	.eb-views button { justify-content: center; }
}

/* ==========================================================================
   Desktop menu (as in the design): dark bar, uppercase, gold current item,
   white dropdown cards with a small arrow on top.
   ========================================================================== */
.rh-lower { --nav-gold: #f5c542; background: #0d1224; border-bottom: 0; color: #fff; }
html.rtsh-dark .rh-lower { background: #0d1224; border-bottom: 3px solid var(--red); }
.rh-fest .menu { gap: clamp(4px, 1.6vw, 26px); }
.rh-fest .menu > li > a { padding: 0 6px; font-size: 15px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: #fff; }
.rh-fest .menu > li > a::after { left: 6px; right: 6px; bottom: 9px; height: 2px; border-radius: 2px; background: var(--nav-gold); }
.rh-fest .menu > li > a:hover,
.rh-fest .menu > .current-menu-item > a,
.rh-fest .menu > .current-menu-ancestor > a,
.rh-fest .menu > li.is-open > a { color: var(--nav-gold); }
.rh-fest .menu > .current-menu-item > .submenu-toggle,
.rh-fest .menu > .current-menu-ancestor > .submenu-toggle,
.rh-fest .menu > li:hover > .submenu-toggle { color: var(--nav-gold); }
.rh-fest .submenu-toggle { color: rgba(255, 255, 255, .85); margin-right: 0; }
.rh-fest .submenu-toggle .icon { width: 14px; height: 14px; stroke-width: 2.6; }
/* Dropdown: centred under its item, arrow on top */
.rh-fest .sub-menu { left: 50%; top: calc(100% - 2px); min-width: 240px; padding: 10px 0; border-radius: 4px; background: var(--surface); box-shadow: 0 18px 40px -8px rgba(0, 0, 0, .35); transform: translate(-50%, 6px); }
.rh-fest .menu > li:hover > .sub-menu, .rh-fest .menu > li:focus-within > .sub-menu, .rh-fest .menu > li.is-open > .sub-menu { transform: translate(-50%, 0); }
.rh-fest .sub-menu::before { content: ""; position: absolute; top: -7px; left: 50%; margin-left: -8px; border: 8px solid transparent; border-top: 0; border-bottom-color: var(--surface); }
.rh-fest .menu > li:first-child > .sub-menu { left: 0; transform: translate(0, 6px); }
.rh-fest .menu > li:first-child:hover > .sub-menu, .rh-fest .menu > li:first-child:focus-within > .sub-menu, .rh-fest .menu > li:first-child.is-open > .sub-menu { transform: none; }
.rh-fest .menu > li:first-child > .sub-menu::before { left: 48px; }
.rh-fest .menu > li:last-child > .sub-menu { left: auto; right: 0; transform: translate(0, 6px); }
.rh-fest .menu > li:last-child:hover > .sub-menu, .rh-fest .menu > li:last-child:focus-within > .sub-menu, .rh-fest .menu > li:last-child.is-open > .sub-menu { transform: none; }
.rh-fest .menu > li:last-child > .sub-menu::before { left: auto; right: 40px; }
.rh-fest .menu > li:nth-last-child(2) > .sub-menu { left: 50%; right: auto; }
.rh-fest .sub-menu a { padding: 11px 22px; font-size: 16px; font-weight: 400; line-height: 1.35; white-space: normal; color: var(--text); }
.rh-fest .sub-menu a:hover, .rh-fest .sub-menu .current-menu-item > a { background: var(--bg-2); color: var(--accent); }
.rh-lower .rh-social a { color: rgba(255, 255, 255, .75); }
.rh-lower .rh-social a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
@media (max-width: 1240px) {
	.rh-fest .menu > li > a { font-size: 14px; }
	.rh-fest .sub-menu a { font-size: 15px; }
}

/* ==========================================================================
   Pages (Historiku, Rregullore …): title and text in the same column
   ========================================================================== */
.page-header-article { padding: clamp(48px, 7vw, 92px) 0 clamp(28px, 4vw, 44px); }
.page-header-article .page-title { font-size: clamp(34px, 5vw, 60px); line-height: 1.02; }
.page-article-body { padding: clamp(32px, 4vw, 48px) 0 clamp(64px, 8vw, 100px); }
.page-article-body .prose > :first-child { margin-top: 0; }

/* YouTube picture used when a song has no photo */
.yt-thumb { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Song page
   ========================================================================== */
.sp-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(40px, 6vw, 88px) 0; background: #101320; color: #fff; }
.sp-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 120% at 0% 0%, rgba(203, 18, 18, .55), transparent 60%), radial-gradient(60% 90% at 100% 100%, rgba(80, 40, 160, .35), transparent 60%); }
.sp-hero.has-photo::before { background: linear-gradient(90deg, rgba(10, 12, 22, .92) 30%, rgba(10, 12, 22, .65)), linear-gradient(0deg, rgba(10, 12, 22, .9), transparent 50%); }
.sp-hero-bg { position: absolute; inset: -40px; z-index: -2; background-size: cover; background-position: center; filter: blur(28px) saturate(1.3); transform: scale(1.08); }
.sp-hero-grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.sp-cover { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 18px; background: #1b1f2e; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); }
.sp-cover img { width: 100%; height: 100%; object-fit: cover; }
.sp-cover .ph { display: grid; place-items: center; height: 100%; color: rgba(255, 255, 255, .35); }
.sp-cover-play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 76px; height: 76px; margin: -38px 0 0 -38px; padding: 0; border: 0; border-radius: 50%; background: var(--red); color: #fff; box-shadow: 0 12px 30px rgba(203, 18, 18, .5); transition: transform .2s; }
.sp-cover-play:hover { transform: scale(1.08); }
.sp-cover-play .icon { width: 30px; height: 30px; margin-left: 4px; }
.sp-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.sp-kicker a { color: #ff7a7a; }
.sp-kicker a + span::before { content: "·"; margin-right: 10px; }
.sp-hero .result-badge { margin-bottom: 14px; }
.sp-hero .result-badge:not(.is-win) { background: rgba(255, 255, 255, .12); color: #fff; }
.sp-title { font-size: clamp(40px, 6.4vw, 88px); font-weight: 900; letter-spacing: -.035em; line-height: .95; }
.sp-artist { margin-top: 12px; font-size: clamp(19px, 2.2vw, 26px); font-weight: 500; color: rgba(255, 255, 255, .85); }
.sp-artist a { border-bottom: 1px solid rgba(255, 255, 255, .3); transition: border-color .2s, color .2s; }
.sp-artist a:hover { color: #fff; border-color: #fff; }
.sp-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.sp-facts:empty { display: none; }
.sp-facts li { display: flex; align-items: baseline; gap: 8px; padding: 9px 16px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); }
.sp-facts b { font-size: 17px; font-weight: 800; }
.sp-facts span { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .65); }
.sp-hero .audio-player { max-width: 460px; margin-top: 24px; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); box-shadow: none; color: #fff; }
.sp-hero .ap-time { color: rgba(255, 255, 255, .7); }
.sp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.sp-hero .btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff; }
.sp-hero .btn-ghost:hover { border-color: #fff; }

.sp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 4vw, 56px); align-items: start; padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(48px, 6vw, 80px); }
.sp-layout.no-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.sp-layout.no-main .sp-side { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); grid-column: 1 / -1; align-items: start; }
.sp-main { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.sp-side { position: sticky; top: calc(var(--rh-lower-h) + 24px); display: flex; flex-direction: column; gap: 16px; }
body.admin-bar .sp-side { top: calc(var(--rh-lower-h) + 56px); }
.sp-side .esc-result { margin: 0; }
.sp-card { padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.sp-card-title { margin-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.sp-credits { margin: 0; }
.sp-credits > div { padding: 11px 0; border-bottom: 1px solid var(--line); }
.sp-credits > div:last-child { border-bottom: 0; padding-bottom: 0; }
.sp-credits dt { font-size: 12px; color: var(--muted); }
.sp-credits dd { margin: 2px 0 0; font-size: 16px; font-weight: 600; }
.sp-edition { display: flex; align-items: center; gap: 14px; transition: border-color .2s, transform .2s; }
.sp-edition:hover { border-color: var(--line-2); transform: translateY(-2px); }
.sp-edition .edition-num { width: 54px; height: 54px; font-size: 20px; }
.sp-edition-text { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.sp-edition-text small { color: var(--muted); }
.sp-edition > .icon { width: 18px; height: 18px; color: var(--muted); }
.sp-share .share { margin: 0; }
.sp-side .source-note { margin: 0 4px; }

/* Lyrics */
.lyrics-card { --lyr-size: 19px; position: relative; padding: clamp(22px, 3.4vw, 40px); border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.lyrics-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 20px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.lyrics-kicker { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.lyrics-title { margin-top: 6px; font-size: clamp(24px, 3vw, 34px); font-weight: 900; letter-spacing: -.02em; line-height: 1.1; }
.lyrics-by { margin-top: 6px; font-size: 14px; color: var(--muted); }
.lyrics-tools { display: flex; gap: 6px; flex: none; }
.lyrics-tools button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--line-2); border-radius: 50%; background: var(--surface); color: var(--text); font-size: 15px; font-weight: 800; line-height: 1; transition: border-color .2s, color .2s; }
.lyrics-tools button small { font-size: 11px; }
.lyrics-tools button:hover { border-color: var(--accent); color: var(--accent); }
.lyrics-tools button.is-copied { border-color: var(--accent); background: var(--accent); color: #fff; }
.lyrics-tools .icon { width: 16px; height: 16px; }
.lyrics-card .lyrics { columns: auto; font-size: var(--lyr-size); line-height: 1.85; color: var(--text); }
.lyrics-card .stanza { position: relative; margin: 0 0 1.5em; }
.lyrics-card .stanza:last-child { margin-bottom: 0; }
.lyrics-card .stanza.is-chorus { padding: 14px 18px 14px 20px; border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; background: var(--accent-soft); font-weight: 500; }
.stanza-label { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 700; letter-spacing: .16em; line-height: 1.4; text-transform: uppercase; color: var(--accent); }
.lyrics-card .lyrics.is-collapsed::after { background: linear-gradient(180deg, transparent, var(--surface)); }
.lyrics-card .lyrics-more { margin-top: 18px; }

@media (max-width: 960px) {
	.sp-hero-grid { grid-template-columns: 1fr; }
	.sp-cover { width: min(300px, 78%); }
	.sp-layout { grid-template-columns: minmax(0, 1fr); }
	.sp-side { position: static; order: -1; }
}
@media (max-width: 640px) {
	.sp-hero { padding: 28px 0 36px; }
	.sp-cover { width: 62%; margin: 0 auto; }
	.sp-hero-copy { text-align: center; }
	.sp-kicker, .sp-actions { justify-content: center; }
	.sp-hero .audio-player { margin-left: auto; margin-right: auto; text-align: left; }
	.sp-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.sp-facts li { flex-direction: column; align-items: center; gap: 2px; padding: 9px 6px; border-radius: 12px; }
	.sp-facts span { font-size: 9px; letter-spacing: .08em; }
	.sp-actions .btn { flex: 1; justify-content: center; }
	.lyrics-card { --lyr-size: 17px; border-radius: 16px; }
	.lyrics-head { flex-direction: column; }
}
.lyrics-tools button { display: inline-flex; align-items: baseline; justify-content: center; gap: 1px; padding-top: 2px; }
.sp-cover .ph { background: linear-gradient(160deg, #262b3f, #151827); color: rgba(255, 255, 255, .3); }
.sp-share .share-label { flex-basis: 100%; margin-bottom: 4px; }
.coming-soon-top { margin-bottom: 32px; }
@media (max-width: 640px) { .coming-soon-top { align-items: flex-start; gap: 14px; padding: 20px; } .coming-soon-top .coming-soon-icon { width: 46px; height: 46px; } }

/* Song page: one layout for every song */
.sp-info { padding: clamp(28px, 4vw, 44px) 0 0; }
.sp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; align-items: stretch; }
.sp-cards > * { margin: 0; }
.sp-cards .sp-share { display: flex; align-items: center; }
.sp-body { display: flex; flex-direction: column; gap: 28px; padding-top: clamp(28px, 4vw, 44px); }
.sp-source { margin: 28px 0 0; padding-bottom: 8px; }
.song-page > .section-alt { margin-top: clamp(40px, 5vw, 64px); }
.song-page > :last-child:not(.section-alt) { padding-bottom: clamp(40px, 5vw, 64px); }

/* Desktop menu: white bar, black text, red current item (dark mode: dark bar) */
.rh-lower { --nav-gold: var(--red); background: var(--surface); border-bottom: 1px solid var(--line); color: var(--text); }
.rh-fest .menu > li > a { color: var(--text); }
.rh-fest .submenu-toggle { color: var(--muted); }
.rh-lower .rh-social a { color: var(--muted); }
.rh-lower .rh-social a:hover { color: var(--accent); background: var(--accent-soft); }
.rh-fest .sub-menu { border: 1px solid var(--line); }
.rh-fest .sub-menu::after { content: ""; position: absolute; top: -8px; left: 50%; margin-left: -9px; border: 9px solid transparent; border-top: 0; border-bottom-color: var(--line); z-index: -1; }
.rh-fest .menu > li:first-child > .sub-menu::after { left: 47px; }
.rh-fest .menu > li:last-child > .sub-menu::after { left: auto; right: 39px; }
html.rtsh-dark .rh-lower { --nav-gold: #ff5a5a; background: #1c1e23; border-bottom: 3px solid var(--red); }
html.rtsh-dark .rh-fest .menu > li > a { color: #fff; }

/* The menu bar stays white in dark mode too */
html.rtsh-dark .rh-lower { --surface: #fff; --text: #1d1f24; --text-2: #3c414b; --muted: #6f7480; --line: #e8e9ed; --line-2: #d6d9df; --bg-2: #f4f5f7; --accent: #cb1212; --accent-soft: rgba(203, 18, 18, .08); --nav-gold: #cb1212; background: #fff; border-bottom: 1px solid #e8e9ed; color: #1d1f24; }
html.rtsh-dark .rh-fest .menu > li > a { color: #1d1f24; }

/* Song with lyrics / text: sidebar cards stacked */
.sp-layout { padding-bottom: 0; }
.sp-side > * { margin: 0; }
.sp-side .sp-share { display: block; }

/* Filters: a wider sidebar (artists + songs) */
@media (min-width: 961px) { .filter-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 44px; } }

/* Artist page */
@media (min-width: 961px) { .ap-hero-grid { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); } }
.ap-photo { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 50%; background: #1b1f2e; box-shadow: 0 0 0 6px rgba(255, 255, 255, .08), 0 30px 60px -20px rgba(0, 0, 0, .7); }
.ap-photo img { width: 100%; height: 100%; object-fit: cover; }
.ap-photo .ph { display: grid; place-items: center; height: 100%; background: linear-gradient(160deg, #262b3f, #151827); color: rgba(255, 255, 255, .3); }
.ap-photo .ph .icon { width: 64px; height: 64px; }
.ap-excerpt { font-size: clamp(16px, 1.6vw, 19px); font-weight: 400; max-width: 620px; }
.sp-facts li.is-gold { background: rgba(245, 197, 66, .16); border-color: rgba(245, 197, 66, .35); }
.sp-facts li.is-gold b { color: #f5c542; }
.ap-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.ap-social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); color: #fff; transition: background .2s, transform .2s; }
.ap-social a:hover { background: var(--red); border-color: var(--red); transform: translateY(-2px); }
.ap-social .icon { width: 18px; height: 18px; }
.artist-page .sp-layout { padding-bottom: clamp(48px, 6vw, 80px); }
.ap-section-title { margin-bottom: 16px; font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.ap-history { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; }
.ap-item { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); transition: border-color .2s, box-shadow .2s, transform .2s; }
.ap-item:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-1px); }
.ap-item.is-win { border-color: rgba(214, 158, 46, .5); background: linear-gradient(90deg, rgba(245, 197, 66, .12), var(--surface) 60%); }
.ap-thumb { flex: none; width: 64px; height: 64px; overflow: hidden; border-radius: 12px; background: var(--bg-2); }
.ap-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ap-thumb .ph { display: grid; place-items: center; height: 100%; color: var(--muted); }
.ap-thumb .ph .icon { width: 22px; height: 22px; }
.ap-item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ap-item-meta { display: flex; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ap-item-meta a { color: var(--accent); }
.ap-item.is-win .ap-item-meta a { color: var(--gold); }
.ap-item-meta span + span::before, .ap-item-meta a + span::before { content: "·"; margin-right: 8px; }
.ap-item-title { font-size: 19px; font-weight: 700; line-height: 1.3; }
.ap-item-title:hover { color: var(--accent); }
.ap-item-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.ap-item-badges:empty { display: none; }
.ap-item-badges .result-badge { padding: 4px 10px; font-size: 11px; }
.ap-item-badges .esc-badge { padding: 3px 10px 3px 3px; gap: 7px; box-shadow: none; font-size: 12px; }
.ap-item-badges .esc-badge-mark { width: 24px; height: 24px; font-size: 11px; }
.ap-bio { margin-top: 12px; }
.ap-others .mini-post { margin-bottom: 4px; }
.ap-others .btn { margin-top: 12px; }
@media (max-width: 960px) {
	.ap-photo { width: min(240px, 60%); }
	.artist-page .sp-side { order: 2; }
}
@media (max-width: 640px) {
	.ap-photo { margin: 0 auto; }
	.ap-social { justify-content: center; }
	.ap-item { gap: 12px; padding: 12px; }
	.ap-thumb { width: 52px; height: 52px; }
	.ap-item-title { font-size: 17px; }
}
@media (max-width: 640px) { .ap-hero .sp-facts { grid-template-columns: repeat(auto-fit, minmax(76px, 1fr)); } .ap-hero .sp-facts b { font-size: 15px; } }

/* ==========================================================================
   Timeline (Historiku: winners; Eurovision page)
   ========================================================================== */
.tl { --tl-x: 92px; position: relative; list-style: none; margin: 24px 0 0; padding: 0; }
.tl::before { content: ""; position: absolute; top: 8px; bottom: 8px; left: var(--tl-x); width: 2px; background: linear-gradient(180deg, var(--accent), var(--line) 30%, var(--line)); }
.tl-item { position: relative; display: grid; grid-template-columns: calc(var(--tl-x) - 18px) minmax(0, 1fr); gap: 36px; align-items: center; padding: 7px 0; }
.tl-item::before { content: ""; position: absolute; left: calc(var(--tl-x) - 6px); top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--surface); border: 3px solid var(--accent); box-sizing: border-box; }
.tl-year { text-align: right; font-size: 22px; font-weight: 900; letter-spacing: -.02em; color: var(--text); font-variant-numeric: tabular-nums; }
.tl-card { display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); transition: border-color .2s, box-shadow .2s, transform .2s; }
.tl-card:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateX(3px); }
.tl-thumb { flex: none; width: 58px; height: 58px; overflow: hidden; border-radius: 12px; background: var(--bg-2); }
.tl-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tl-thumb .ph { display: grid; place-items: center; height: 100%; color: var(--muted); }
.tl-thumb .ph .icon { width: 20px; height: 20px; }
.tl-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tl-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 12px; font-weight: 600; color: var(--muted); }
.tl-meta a { color: var(--accent); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.tl-meta span { display: inline-flex; align-items: center; gap: 4px; }
.tl-meta .icon { width: 13px; height: 13px; }
.tl-title { font-size: 18px; font-weight: 800; line-height: 1.25; }
.tl-title:hover { color: var(--accent); }
.tl-artist { font-size: 14px; color: var(--text-2); }
.tl-artist a:hover { color: var(--accent); }
.tl-side { flex: none; }
.tl-side .esc-badge { padding: 3px 10px 3px 3px; gap: 7px; box-shadow: none; font-size: 12px; }
.tl-side .esc-badge-mark { width: 26px; height: 26px; font-size: 12px; }
.tl-result { flex: none; display: flex; align-items: center; gap: 10px; text-align: left; }
.tl-result .esc-badge-mark { width: 44px; height: 44px; font-size: 18px; }
.tl-result-text { display: flex; flex-direction: column; font-size: 13px; line-height: 1.3; }
.tl-result-text small { color: var(--muted); }
.tl-item.esc-gjysmefinale .esc-badge-mark, .tl-item.esc-jo .esc-badge-mark, .tl-item.esc-anuluar .esc-badge-mark { background: var(--bg-2); color: var(--muted); }
.tl-item.esc-finale::before { border-color: #e0115f; }

.hist-timeline { margin-top: clamp(40px, 6vw, 64px); }
.hist-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.hist-head .section-title { font-size: clamp(26px, 3.4vw, 40px); }
.hist-timeline .chips-scroll { margin-bottom: 8px; }
.hist-esc-link { display: flex; align-items: center; gap: 14px; margin-top: 32px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(90deg, rgba(27, 42, 143, .08), rgba(224, 17, 95, .08)); transition: transform .2s, border-color .2s; }
.hist-esc-link:hover { transform: translateY(-2px); border-color: var(--line-2); }
.hist-esc-link .esc-badge-mark { width: 44px; height: 44px; font-size: 18px; }
.hist-esc-link > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.hist-esc-link small { color: var(--muted); }
.hist-esc-link > .icon { width: 18px; height: 18px; color: var(--muted); }

.esc-intro { margin-bottom: 28px; }
.esc-stats { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 0 0 22px; padding: 0; }
.esc-stats li { display: flex; flex-direction: column; gap: 2px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.esc-stats b { font-size: 34px; font-weight: 900; line-height: 1; letter-spacing: -.03em; }
.esc-stats sup { font-size: 14px; margin-left: 1px; }
.esc-stats span { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.esc-stats .is-best { border: 0; background: linear-gradient(135deg, #1b2a8f, #e0115f); color: #fff; }
.esc-stats .is-best span { color: rgba(255, 255, 255, .8); }

@media (max-width: 640px) {
	.tl { --tl-x: 7px; }
	.tl-item { grid-template-columns: 1fr; gap: 6px; padding: 8px 0 8px 26px; }
	.tl-item::before { top: 18px; margin-top: 0; }
	.tl-year { text-align: left; font-size: 18px; }
	.tl-card { flex-wrap: wrap; padding: 10px; }
	.tl-card:hover { transform: none; }
	.tl-thumb { width: 48px; height: 48px; }
	.tl-title { font-size: 16px; }
	.tl-side, .tl-result { flex-basis: 100%; padding-left: 62px; }
	.tl-result .esc-badge-mark { width: 34px; height: 34px; font-size: 14px; }
}
@media (max-width: 640px) {
	.esc-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.esc-stats li { padding: 14px 10px; }
	.esc-stats b { font-size: 26px; }
	.esc-stats span { font-size: 9px; letter-spacing: .06em; }
}
.esc-edit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 24px; padding: 14px 16px; border: 1px dashed var(--line-2); border-radius: 14px; background: var(--bg-2); }
.esc-edit small { color: var(--muted); }
