/*
Theme Name: Radio Spazio Blu
Theme URI: https://radiospazioblu.com
Author: Radio Spazio Blu
Description: Tema per Radio Spazio Blu (Gaeta) ricostruito dal sito storico radiospazioblu.com recuperato da archive.org. Layout scuro con menu verticale colorato, pulsante "Ascoltaci in diretta" con player integrato, slider dei programmi, carosello eventi, news locali, music news, editoriali, schede di programmi e staff.
Version: 1.1.0
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: radiospazioblu
Tags: dark, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, theme-options, threaded-comments, translation-ready, news, entertainment
*/

/* ==========================================================================
   1. Variabili
   ========================================================================== */
:root {
	--rsb-accent: #2f94e8;
	--rsb-accent-light: #6fe2ff;
	--rsb-accent-dark: #015ea7;
	--rsb-red: #ef2b3e;

	--rsb-bg: #000;
	--rsb-panel: #2e2e2e;
	--rsb-panel-2: #252525;
	--rsb-panel-3: #202020;
	--rsb-ink: #171717;
	--rsb-ink-2: #151515;
	--rsb-bottom: #29292a;
	--rsb-line: #3d3d3e;
	--rsb-border: #454649;

	--rsb-text: #adadad;
	--rsb-text-strong: #c3c4c7;
	--rsb-muted: #838383;
	--rsb-white: #fff;

	/* Colori delle voci del menu principale (come il sito originale). */
	--rsb-c1: #eabb00;
	--rsb-c2: #aabd06;
	--rsb-c3: #35bd06;
	--rsb-c4: #0694bd;
	--rsb-c5: #bd06b2;
	--rsb-c6: #bd063a;

	--rsb-font: "Open Sans", Arial, Helvetica, sans-serif;
	--rsb-font-head: "PT Sans", Arial, Helvetica, sans-serif;
	--rsb-font-narrow: "PT Sans Narrow", "Arial Narrow", Arial, sans-serif;
	--rsb-font-display: "Oswald", "PT Sans Narrow", Arial, sans-serif;

	--rsb-rail: 170px;
	--rsb-gap: 30px;
	--rsb-pad: 30px;
	--rsb-header-h: 206px;
	--rsb-ease: cubic-bezier(.25, .8, .25, 1);
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: 20px;
}

body {
	margin: 0;
	min-width: 320px;
	background: #001c3b url(assets/images/bg1.jpg) center top / max(2500px, 100%) auto no-repeat fixed;
	color: var(--rsb-text);
	font: 400 14px/1.65 var(--rsb-font);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img,
video,
iframe,
embed,
object {
	max-width: 100%;
}

img {
	height: auto;
	vertical-align: middle;
	border: 0;
}

a {
	color: #dcdcdc;
	text-decoration: underline;
	text-underline-offset: 2px;
	transition: color .25s ease-out, background-color .25s ease-out, border-color .25s ease-out;
}

a:hover {
	color: var(--rsb-white);
	text-decoration: none;
}

a[href^="tel:"] {
	color: inherit;
	text-decoration: none;
}

::selection {
	background: #888;
	color: #fff;
}

:focus-visible {
	outline: 2px solid var(--rsb-accent-light);
	outline-offset: 2px;
}

p {
	margin: 0 0 1em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 .5em;
	color: var(--rsb-white);
	font-family: var(--rsb-font-head);
	font-weight: 400;
	line-height: 1.25;
}

h1 { font-size: 30px; font-weight: 700; }
h2 { font-size: 22px; }
h3 { font-size: 20px; }
h4 { font-size: 17px; color: var(--rsb-text-strong); }
h5 { font-size: 15px; }
h6 { font-size: 14px; }

hr {
	height: 2px;
	margin: 25px 0;
	border: 0;
	background: linear-gradient(to bottom, #222 50%, #3a3a3a 50%);
}

blockquote {
	margin: 1.5em 0;
	padding: 20px 25px;
	border-left: 4px solid var(--rsb-accent);
	background: var(--rsb-ink-2);
	color: #b7b7b7;
	font-style: italic;
}

blockquote cite {
	display: block;
	margin-top: .5em;
	color: var(--rsb-muted);
	font-size: 13px;
	font-style: normal;
}

table {
	width: 100%;
	margin: 0 0 1.5em;
	border-collapse: collapse;
}

th,
td {
	padding: 8px 10px;
	border-bottom: 1px solid var(--rsb-line);
	text-align: left;
}

th {
	color: var(--rsb-white);
	font-family: var(--rsb-font-head);
}

code,
kbd,
pre {
	font-family: ui-monospace, Menlo, Consolas, monospace;
	font-size: 13px;
}

pre {
	overflow: auto;
	padding: 15px;
	background: var(--rsb-ink);
}

figure {
	margin: 0;
}

address {
	font-style: normal;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	border: 0;
	white-space: nowrap;
	word-wrap: normal !important;
}

.skip-link:focus {
	position: fixed !important;
	top: 10px;
	left: 10px;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 12px 18px;
	clip: auto;
	clip-path: none;
	background: var(--rsb-white);
	color: #000;
	font-weight: 700;
	text-decoration: none;
}

.upper {
	text-transform: uppercase;
}

.icon {
	display: inline-block;
	flex-shrink: 0;
	vertical-align: middle;
}

/* ==========================================================================
   3. Struttura
   ========================================================================== */
.site-deco {
	position: fixed;
	top: 0;
	left: 50%;
	z-index: 0;
	width: 473px;
	height: 626px;
	margin-left: -710px;
	background: url(assets/images/bg3.png) 0 0 no-repeat;
	pointer-events: none;
}

.site {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: var(--rsb-rail) minmax(0, 1fr);
	grid-template-areas:
		".    header"
		"rail box";
	column-gap: var(--rsb-gap);
	max-width: calc(1170px + var(--rsb-pad));
	margin: 0 auto;
	padding: 0 15px;
}

.site-header {
	grid-area: header;
	position: relative;
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	gap: 20px;
	min-height: var(--rsb-header-h);
}

.site-rail {
	grid-area: rail;
	min-width: 0;
}

.site-box {
	grid-area: box;
	min-width: 0;
	margin-bottom: 40px;
	padding: 0 var(--rsb-pad);
	background: var(--rsb-panel);
	box-shadow: 0 0 40px rgba(0, 0, 0, .45);
}

.site-content {
	padding-bottom: 10px;
}

/* ==========================================================================
   4. Testata
   ========================================================================== */
.site-branding {
	position: relative;
	z-index: 3;
	align-self: flex-start;
	margin: 6px 0 -12px calc(-1 * var(--rsb-pad));
}

.site-branding img {
	display: block;
	width: auto;
	max-width: 282px;
	max-height: 200px;
	filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .55));
}

.custom-logo-link {
	display: inline-block;
}

.header-tools {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: flex-end;
}

.header-tools .top-navigation {
	margin-bottom: auto;
}

.top-navigation ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 0 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.top-navigation a {
	display: block;
	border-top: 2px solid transparent;
	color: #b6b6b6;
	font: 400 13px/40px var(--rsb-font-head);
	text-decoration: none;
}

.top-navigation a:hover,
.top-navigation a:focus,
.top-navigation .current-menu-item > a {
	border-color: var(--rsb-accent-dark);
	color: var(--rsb-white);
}

/* --- Pulsante "Ascoltaci in diretta" ---------------------------------- */
.live-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	width: 230px;
	height: 66px;
	margin: 0;
	padding: 0 120px 0 16px;
	overflow: visible;
	border: 0;
	border-radius: 4px 4px 0 0;
	background: linear-gradient(180deg, #b63c8b 0%, #a3367d 50%, #902f6e 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22);
	color: var(--rsb-white);
	font: inherit;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
	transition: filter .25s ease-out;
}

.live-btn::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(180deg, #f74a5b 0%, #f43d4f 50%, #ef2b3e 100%);
	opacity: 0;
	transition: opacity .3s ease-out;
}

.live-btn:hover::before,
.live-btn:focus-visible::before,
.rsb-live-playing .live-btn::before,
.rsb-live-loading .live-btn::before {
	opacity: 1;
}

.live-btn > * {
	position: relative;
}

.live-btn::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	width: 113px;
	height: 72px;
	background: url(assets/images/mic.png) right bottom no-repeat;
	pointer-events: none;
	transition: transform .35s var(--rsb-ease);
	transform-origin: 70% 100%;
}

.live-btn:hover,
.live-btn:focus-visible {
	color: var(--rsb-white);
}

.live-btn:hover::after {
	transform: rotate(-4deg) scale(1.04);
}

.live-btn__text {
	display: block;
	min-width: 0;
}

.live-btn__txt1 {
	display: block;
	font: 700 18px/20px var(--rsb-font-narrow);
	text-transform: uppercase;
	white-space: nowrap;
}

.live-btn__txt2 {
	display: block;
	font: 400 12px/16px var(--rsb-font);
	text-transform: uppercase;
	white-space: nowrap;
}

.live-btn__icon {
	position: absolute;
	right: 82px;
	bottom: 8px;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(0, 0, 0, .55);
	box-shadow: 0 0 0 2px rgba(255, 255, 255, .7);
}

.live-btn__icon .icon {
	width: 18px;
	height: 18px;
	grid-area: 1 / 1;
}

.live-btn__icon .icon-play {
	margin-left: 2px;
}

.live-btn__icon .icon-pause,
.live-btn__eq {
	display: none;
}

.live-btn__eq {
	grid-area: 1 / 1;
	align-items: flex-end;
	gap: 2px;
	height: 16px;
}

.live-btn__eq i {
	display: block;
	width: 3px;
	height: 100%;
	background: var(--rsb-white);
	transform-origin: bottom;
	animation: rsb-eq 1s ease-in-out infinite;
}

.live-btn__eq i:nth-child(2) { animation-delay: -.4s; }
.live-btn__eq i:nth-child(3) { animation-delay: -.7s; }
.live-btn__eq i:nth-child(4) { animation-delay: -.2s; }

@keyframes rsb-eq {
	0%, 100% { transform: scaleY(.25); }
	50% { transform: scaleY(1); }
}

.rsb-live-playing .live-btn .icon-play,
.rsb-live-loading .live-btn .icon-play {
	display: none;
}

.rsb-live-playing .live-btn:hover .icon-pause {
	display: block;
}

.rsb-live-playing .live-btn:not(:hover) .live-btn__eq {
	display: flex;
}

.rsb-live-loading .live-btn .icon-pause {
	display: block;
	animation: rsb-pulse 1s ease-in-out infinite;
}

@keyframes rsb-pulse {
	50% { opacity: .35; }
}

.live-btn--block {
	width: 100%;
	margin-top: 15px;
	border-radius: 4px;
}

.live-btn--hero {
	margin-top: 20px;
	border-radius: 4px;
}

/* ==========================================================================
   5. Menu principale (colonna sinistra)
   ========================================================================== */
.main-navigation {
	position: relative;
	z-index: 60;
}

.menu-toggle {
	display: none;
}

.nav-main,
.nav-main .sub-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav-main > li {
	--c: var(--rsb-c1);
	position: relative;
	margin-bottom: 2px;
	border-radius: 4px 0 0 4px;
	background: linear-gradient(180deg, #313131 0%, #272727 50%, #1c1c1c 100%);
}

.nav-main > li:nth-child(6n + 2) { --c: var(--rsb-c2); }
.nav-main > li:nth-child(6n + 3) { --c: var(--rsb-c3); }
.nav-main > li:nth-child(6n + 4) { --c: var(--rsb-c4); }
.nav-main > li:nth-child(6n + 5) { --c: var(--rsb-c5); }
.nav-main > li:nth-child(6n + 6) { --c: var(--rsb-c6); }

.nav-main > li > a {
	position: relative;
	display: block;
	min-height: 66px;
	padding: 14px 34px 12px 20px;
	overflow: hidden;
	border-radius: 4px 0 0 4px;
	box-shadow: inset -4px 0 0 rgba(0, 0, 0, .4);
	text-decoration: none;
}

.nav-main > li:not(.menu-item-has-children) > a::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 18px;
	width: 0;
	height: 0;
	margin-top: -4px;
	border-width: 4px 0 4px 4px;
	border-style: solid;
	border-color: transparent transparent transparent var(--rsb-muted);
	transition: transform .3s var(--rsb-ease), border-color .3s;
}

/* Linguetta colorata a sinistra (nav1…nav6.png): 4px visibili, 11px al passaggio. */
.nav-ico {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 11px;
	background: var(--c);
	transform: translateX(-7px);
	transition: transform .3s ease-out;
}

.nav-ico::after {
	content: "";
	position: absolute;
	top: 50%;
	right: -3px;
	width: 0;
	height: 0;
	margin-top: -3px;
	border-width: 3px 0 3px 3px;
	border-style: solid;
	border-color: transparent transparent transparent var(--c);
}

.nav-main .txt1 {
	display: block;
	color: #ccc;
	font: 400 18px/20px var(--rsb-font-narrow);
	transition: color .3s ease-out;
}

.nav-main .txt2 {
	display: block;
	overflow: hidden;
	color: var(--rsb-muted);
	font-size: 11px;
	line-height: 15px;
	text-overflow: ellipsis;
	white-space: nowrap;
	transition: color .3s ease-out;
}

.nav-main > li > a:hover .txt1,
.nav-main > li > a:focus-visible .txt1,
.nav-main > li.is-open > a .txt1,
.nav-main > .current-menu-item > a .txt1,
.nav-main > .current-menu-ancestor > a .txt1,
.nav-main > .current-menu-parent > a .txt1 {
	color: var(--c);
}

.nav-main > li > a:hover .txt2,
.nav-main > li > a:focus-visible .txt2,
.nav-main > li.is-open > a .txt2,
.nav-main > .current-menu-item > a .txt2,
.nav-main > .current-menu-ancestor > a .txt2 {
	color: var(--rsb-white);
}

.nav-main > li > a:hover .nav-ico,
.nav-main > li > a:focus-visible .nav-ico,
.nav-main > li.is-open > a .nav-ico,
.nav-main > .current-menu-item > a .nav-ico,
.nav-main > .current-menu-ancestor > a .nav-ico {
	transform: translateX(0);
}

.nav-main > li > a:hover .txt1,
.nav-main > li > a:focus-visible .txt1,
.nav-main > li.is-open > a .txt1,
.nav-main > .current-menu-item > a .txt1,
.nav-main > .current-menu-ancestor > a .txt1 {
	transform: translateX(4px);
}

.nav-main .txt1,
.nav-main .txt2 {
	transition: color .3s ease-out, transform .3s ease-out;
}

.nav-main > li > a:hover::after,
.nav-main > li > a:focus-visible::after {
	border-left-color: var(--c);
	transform: translateX(5px);
}

.submenu-toggle {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 34px;
	height: 66px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--rsb-muted);
	cursor: pointer;
}

.submenu-toggle .icon {
	width: 14px;
	height: 14px;
	transition: transform .3s var(--rsb-ease);
}

.submenu-toggle:hover,
.nav-main > li.is-open > .submenu-toggle,
.nav-main > li:hover > .submenu-toggle {
	color: var(--c);
}

/* Sottomenu */
.nav-main .sub-menu {
	position: absolute;
	top: 0;
	left: 100%;
	z-index: 109;
	display: none;
	min-width: 230px;
	background: var(--rsb-panel-3);
	box-shadow: 0 14px 30px rgba(0, 0, 0, .55);
}

.nav-main .sub-menu::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 3px;
	background: var(--c);
}

.nav-main .sub-menu li {
	border-top: 1px solid var(--rsb-panel);
	border-bottom: 1px solid #111;
}

.nav-main .sub-menu a {
	position: relative;
	display: block;
	padding: 13px 40px 13px 20px;
	color: #bbb;
	font: 400 18px/20px var(--rsb-font-narrow);
	text-decoration: none;
	white-space: nowrap;
}

.nav-main .sub-menu a::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 15px;
	width: 6px;
	height: 6px;
	margin-top: -3px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	opacity: .5;
	transform: rotate(45deg);
}

.nav-main .sub-menu a:hover,
.nav-main .sub-menu a:focus-visible,
.nav-main .sub-menu .current-menu-item > a {
	background-color: #303030;
	color: var(--rsb-white);
}

.nav-main .sub-menu .current-menu-item > a {
	color: var(--c);
}

.nav-main > li.is-open > .sub-menu {
	display: block;
}

@media (min-width: 768px) and (hover: hover) {
	.nav-main > li:hover > .sub-menu {
		display: block;
	}
}

@media (min-width: 768px) {
	.nav-main > li:focus-within > .sub-menu {
		display: block;
	}
}

/* --- Social ----------------------------------------------------------- */
.social {
	display: flex;
	flex-wrap: wrap;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.social a {
	position: relative;
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	background: var(--social-bg, #333);
	background-image: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(0, 0, 0, .18));
	color: var(--rsb-white);
	transition: opacity .25s, transform .25s var(--rsb-ease);
}

.social a::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 4px;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .35));
}

.social a.has-img {
	background: none;
}

.social a img {
	display: block;
	width: 100%;
	height: 100%;
}

.social a:hover,
.social a:focus-visible {
	color: var(--rsb-white);
	opacity: .75;
}

.social--rail {
	flex-direction: column;
	align-items: flex-end;
	margin-top: 40px;
}

.social--rail a {
	border-radius: 4px 0 0 4px;
}

.social--footer a,
.social--inline a {
	width: 36px;
	height: 36px;
	border-radius: 3px;
}

.social--footer .icon,
.social--inline .icon {
	width: 20px;
	height: 20px;
}

.social--inline {
	margin-top: 20px;
}

/* ==========================================================================
   6. Homepage
   ========================================================================== */

/* --- Slider ----------------------------------------------------------- */
.hero-slider,
.hero-default,
.show-banner {
	position: relative;
	margin: 0 calc(-1 * var(--rsb-pad));
	overflow: hidden;
	background: #111;
}

.hero-slider {
	aspect-ratio: 1200 / 480;
}

.hero-slider__track,
.hero-slide {
	position: absolute;
	inset: 0;
}

.hero-slide {
	visibility: hidden;
	opacity: 0;
	transition: opacity 1.2s ease, visibility 0s linear 1.2s;
}

.hero-slide.is-active {
	z-index: 1;
	visibility: visible;
	opacity: 1;
	transition: opacity 1.2s ease;
}

.hero-slide__link,
.hero-slide__img {
	display: block;
	width: 100%;
	height: 100%;
}

.hero-slide__img {
	object-fit: cover;
}

.hero-slide__caption {
	position: absolute;
	right: 0;
	bottom: 34px;
	z-index: 2;
	padding: 10px 22px 12px 24px;
	border-left: 4px solid var(--rsb-accent);
	background: rgba(15, 15, 15, .82);
	color: var(--rsb-white);
	font-family: var(--rsb-font-display);
	text-transform: uppercase;
	pointer-events: none;
}

.hero-slide.is-active .hero-slide__caption {
	animation: rsb-caption-in .9s var(--rsb-ease) .4s both;
}

@keyframes rsb-caption-in {
	from { opacity: 0; transform: translateX(30px); }
	to { opacity: 1; transform: none; }
}

.hero-slide__caption .txt1 {
	display: block;
	font-size: 15px;
	font-weight: 400;
	line-height: 20px;
	letter-spacing: .04em;
}

.hero-slide__caption .txt2 {
	display: block;
	color: var(--rsb-accent-light);
	font-size: 28px;
	font-weight: 700;
	line-height: 34px;
}

.hero-slider__nav {
	position: absolute;
	top: 50%;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-top: -22px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, .55);
	color: var(--rsb-white);
	opacity: 0;
	cursor: pointer;
	transition: opacity .3s, background-color .3s;
}

.hero-slider__nav--prev { left: 16px; }
.hero-slider__nav--next { right: 16px; }

.hero-slider:hover .hero-slider__nav,
.hero-slider__nav:focus-visible {
	opacity: 1;
}

.hero-slider__nav:hover {
	background: var(--rsb-accent);
}

.hero-slider__progress {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 3;
	height: 3px;
	background: rgba(0, 0, 0, .35);
}

.hero-slider__progress span {
	display: block;
	width: 0;
	height: 100%;
	background: var(--rsb-accent);
}

.hero-default {
	display: grid;
	place-items: center;
	min-height: 280px;
	padding: 40px var(--rsb-pad);
	background:
		radial-gradient(ellipse at 30% 20%, rgba(47, 148, 232, .45), transparent 60%),
		radial-gradient(ellipse at 80% 90%, rgba(1, 94, 167, .55), transparent 55%),
		#101820;
	text-align: center;
}

.hero-default__kicker {
	margin: 0;
	color: var(--rsb-accent-light);
	font: 400 16px/1.2 var(--rsb-font-display);
	letter-spacing: .2em;
	text-transform: uppercase;
}

.hero-default__title {
	margin: 6px 0 0;
	color: var(--rsb-white);
	font: 700 clamp(30px, 5vw, 54px)/1.05 var(--rsb-font-display);
	text-transform: uppercase;
}

/* --- Banner ----------------------------------------------------------- */
.home-banners {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
	padding: 20px 0 0;
}

.home-banners .widget {
	margin: 0;
}

.home-banners .widget:nth-child(even) {
	text-align: right;
}

.home-banners img {
	display: inline-block;
}

/* --- Carosello eventi ------------------------------------------------- */
.events-carousel {
	position: relative;
	margin: 20px 0 0;
}

.events-carousel__track {
	display: grid;
	grid-auto-columns: calc((100% - 3 * 20px) / 4);
	grid-auto-flow: column;
	gap: 20px;
	margin: 0;
	padding: 0;
	overflow-x: auto;
	list-style: none;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}

.events-carousel__track::-webkit-scrollbar {
	display: none;
}

.card-event {
	scroll-snap-align: start;
}

.card-event a,
.card-show a {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--rsb-panel-3);
	text-decoration: none;
}

.card-event__img,
.card-show__img {
	position: relative;
	display: block;
	aspect-ratio: 258 / 168;
	overflow: hidden;
	background: var(--rsb-ink);
}

.card-event__img img,
.card-show__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s var(--rsb-ease);
}

.card-event a:hover img,
.card-show a:hover img {
	transform: scale(1.06);
}

.card-event__title {
	display: block;
	flex: 1;
	padding: 10px 12px 12px;
	color: #c8c8c8;
	font: 400 16px/20px var(--rsb-font-display);
	text-align: center;
	transition: background-color .3s ease-out, color .3s ease-out;
}

.card-event a:hover .card-event__title,
.card-event a:focus-visible .card-event__title {
	background: var(--rsb-red);
	color: var(--rsb-white);
}

.events-carousel__controls {
	position: absolute;
	top: calc(50% - 40px);
	right: 0;
	display: flex;
	align-items: stretch;
	gap: 2px;
	filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .5));
}

.carousel-btn {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 0;
	background: var(--rsb-ink);
	color: #ccc;
	cursor: pointer;
	transition: background-color .25s, color .25s;
}

.carousel-btn:hover,
.carousel-btn:focus-visible {
	background: var(--rsb-accent);
	color: var(--rsb-white);
}

.events-carousel__label {
	display: flex;
	align-items: center;
	padding: 0 14px;
	background: var(--rsb-ink);
	color: var(--rsb-white);
	font: 700 19px/1 var(--rsb-font-head);
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}

.events-carousel__label:hover {
	background: var(--rsb-red);
}

/* --- Colonne notizie + staff ------------------------------------------ */
.home-columns {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
	gap: var(--rsb-gap);
	padding-top: 10px;
}

.block-title,
.widget-title,
.comments-title,
.comment-reply-title {
	position: relative;
	margin: 0 0 15px;
	padding: 25px 70px 10px 0;
	border-bottom: 1px solid #1a1a1a;
	box-shadow: 0 1px 0 #3c3c3c;
	color: var(--rsb-white);
	font: 400 22px/26px var(--rsb-font-head);
}

.block-title__more,
.widget-more {
	position: absolute;
	right: 0;
	bottom: 12px;
	color: #bbb;
	font: 400 14px/20px var(--rsb-font-narrow);
	text-transform: uppercase;
}

.widget-panel .widget-more {
	right: 20px;
}

.news-block {
	margin-bottom: 10px;
}

.news-item {
	display: flow-root;
	padding: 0 0 18px;
}

.news-item + .news-item {
	padding-top: 18px;
	border-top: 1px solid var(--rsb-line);
}

.news-item__thumb {
	float: left;
	width: 120px;
	margin: 3px 20px 6px 0;
	padding: 1px;
	background: var(--rsb-border);
	transition: background-color .3s;
}

.news-item__thumb:hover {
	background: #d3d5da;
}

.news-item__thumb img {
	display: block;
	width: 100%;
}

.news-block--local .news-item__thumb {
	float: right;
	margin: 3px 0 6px 20px;
}

.news-item__title {
	margin: 0 0 8px;
	font: 400 17px/22px var(--rsb-font-head);
}

.news-item__title a {
	color: var(--rsb-text-strong);
	text-decoration: none;
}

.news-item__title a:hover {
	color: var(--rsb-accent);
}

.news-item__excerpt p {
	margin: 0;
}

.news-block--editorial .news-item__title {
	font-size: 20px;
	line-height: 26px;
}

/* ==========================================================================
   7. Widget e colonna laterale
   ========================================================================== */
.widget {
	margin-bottom: 25px;
}

.widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.widget-panel,
.home-aside .widget_rsb_staff {
	padding-bottom: 10px;
	background: var(--rsb-panel-2);
}

.home-aside .widget:first-child {
	margin-top: 10px;
}

.widget-panel > .widget-title,
.home-aside .widget_rsb_staff > .widget-title {
	padding: 15px 70px 10px 20px;
}

.staff-list__item a {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 8px 20px;
	text-decoration: none;
}

.staff-list__img {
	display: grid;
	flex: 0 0 53px;
	place-items: center;
	width: 53px;
	height: 53px;
	padding: 1px;
	background: var(--rsb-border);
	color: var(--rsb-muted);
	transition: background-color .3s;
}

.staff-list__img img {
	display: block;
	width: 51px;
	height: 51px;
	object-fit: cover;
}

.staff-list__caption {
	min-width: 0;
}

.staff-list .txt1 {
	display: block;
	color: var(--rsb-accent);
	font: 400 16px/20px var(--rsb-font);
	transition: color .3s;
}

.staff-list .txt2 {
	display: block;
	color: var(--rsb-muted);
	font-size: 12px;
	line-height: 16px;
}

.staff-list .txt2 .staff-show {
	display: block;
}

.staff-list__item a:hover .txt1 {
	color: var(--rsb-accent-light);
}

.staff-list__item a:hover .staff-list__img {
	background: #d3d5da;
}

/* Elenchi con freccia (footer, widget) */
.list-arrows {
	margin: 0;
	padding: 0;
	list-style: none;
}

.list-arrows li,
.widget_categories li,
.widget_archive li,
.widget_pages li,
.widget_nav_menu li,
.widget_recent_entries li,
.widget_meta li {
	padding: 5px 0;
	border-bottom: 1px solid var(--rsb-line);
	color: #919191;
	font: 400 13px/20px var(--rsb-font-head);
}

.list-arrows a,
.widget_categories a,
.widget_archive a,
.widget_pages a,
.widget_nav_menu a,
.widget_recent_entries a,
.widget_meta a {
	position: relative;
	display: block;
	padding-right: 18px;
	color: #919191;
	text-decoration: none;
}

.list-arrows a::after,
.widget_categories a::after,
.widget_archive a::after,
.widget_pages a::after,
.widget_nav_menu a::after,
.widget_recent_entries a::after,
.widget_meta a::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 4px;
	width: 5px;
	height: 5px;
	margin-top: -3px;
	border-top: 1px solid currentColor;
	border-right: 1px solid currentColor;
	transform: rotate(45deg);
	transition: right .25s;
}

.list-arrows a:hover,
.widget_categories a:hover,
.widget_archive a:hover,
.widget_pages a:hover,
.widget_nav_menu a:hover,
.widget_recent_entries a:hover,
.widget_meta a:hover {
	color: var(--rsb-white);
}

.list-arrows a:hover::after {
	right: 0;
}

.list-arrows small {
	color: #666;
}

.widget_search .search-form,
.search-form {
	position: relative;
	display: flex;
	max-width: 420px;
}

.search-field {
	flex: 1;
	min-width: 0;
	height: 42px;
	padding: 10px 46px 10px 12px;
	border: 1px solid var(--rsb-ink);
	border-radius: 0;
	background: var(--rsb-ink);
	box-shadow: inset 0 3px 20px 3px var(--rsb-ink);
	color: var(--rsb-text);
	font: inherit;
}

.search-field:focus {
	border-color: var(--rsb-text);
	outline: none;
	color: var(--rsb-white);
}

.search-submit {
	position: absolute;
	top: 0;
	right: 0;
	display: grid;
	place-items: center;
	width: 44px;
	height: 42px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--rsb-muted);
	cursor: pointer;
}

.search-submit:hover {
	color: var(--rsb-white);
}

/* ==========================================================================
   8. Contenuti interni
   ========================================================================== */
.content-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--rsb-gap);
}

.has-sidebar .content-layout {
	grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
}

.content-main {
	padding-top: 10px;
	padding-bottom: 20px;
}

.content-aside {
	padding-top: 30px;
}

/* Titolo d'archivio "a linguetta" (h1 > span originale) */
.page-heading {
	margin: 0 0 20px;
	padding-top: 25px;
}

.page-heading__title {
	margin: 0;
	padding: 0;
}

.page-heading__title span {
	display: inline-block;
	margin-left: calc(-1 * var(--rsb-pad));
	padding: 0 var(--rsb-pad);
	background: var(--rsb-ink);
	color: var(--rsb-white);
	font: 700 30px/62px var(--rsb-font-head);
	text-transform: uppercase;
}

.page-heading__title em {
	color: var(--rsb-accent);
	font-style: normal;
}

.page-heading__desc {
	max-width: 760px;
	margin-top: 15px;
}

.page-heading__desc p:last-child {
	margin-bottom: 0;
}

/* Articolo in elenco */
.entry-list {
	display: flow-root;
	padding: 0 0 25px;
}

.entry-list + .entry-list {
	padding-top: 5px;
	border-top: 1px solid var(--rsb-line);
}

.entry-list__header {
	margin-bottom: 12px;
}

.entry-list__title {
	margin: 0;
	padding: 20px 0 8px;
	font: 400 22px/1.3 var(--rsb-font-head);
}

.entry-list__title a {
	color: var(--rsb-accent);
	text-decoration: none;
}

.entry-list__title a:hover {
	color: #e03445;
}

.entry-list__thumb {
	float: left;
	width: 258px;
	max-width: 40%;
	margin: 4px 20px 10px 0;
	padding: 1px;
	background: var(--rsb-border);
}

.entry-list__thumb img {
	display: block;
	width: 100%;
}

.entry-list__excerpt p {
	margin-bottom: .6em;
}

/* Meta (data a "badge", come mod-articles-category-date) */
.entry-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
	font: 400 14px/20px var(--rsb-font-narrow);
}

.entry-meta__date {
	padding: 4px 10px;
	background: var(--rsb-ink-2);
	color: #8a8a8a;
}

.entry-meta__cats a {
	color: var(--rsb-muted);
	text-transform: uppercase;
}

.entry-meta__cats a:hover {
	color: var(--rsb-accent);
}

/* Pulsante button1 */
.button1,
.wp-block-button__link,
input[type="submit"],
button.button1 {
	display: inline-block;
	margin: 10px 0;
	padding: 0 18px 0 22px;
	border: 0;
	border-left: 4px solid var(--rsb-accent);
	border-radius: 0;
	background: var(--rsb-ink-2);
	color: #bfbfbf;
	font: 400 16px/36px var(--rsb-font-narrow);
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: color .3s ease-out, border-color .3s ease-out, background-color .3s ease-out;
}

.button1:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover {
	border-left-color: var(--rsb-accent-light);
	background: #0d0d0d;
	color: var(--rsb-accent);
}

/* Articolo / pagina */
.entry-header {
	margin-bottom: 15px;
}

.entry-title {
	margin: 0 0 10px;
	padding: 25px 0 10px;
	border-bottom: 1px solid #1e1e1e;
	box-shadow: 0 1px 0 #3c3c3c;
	color: var(--rsb-white);
	font: 700 26px/1.25 var(--rsb-font-head);
}

.entry-thumb {
	margin: 0 0 20px;
}

.entry-thumb img {
	display: block;
	width: 100%;
}

.entry-thumb figcaption,
.wp-caption-text,
.wp-element-caption {
	margin-top: 6px;
	color: var(--rsb-muted);
	font-size: 12px;
	text-align: center;
}

.entry-thumb--left {
	float: left;
	max-width: 45%;
	margin: 5px 25px 15px 0;
}

.entry-content {
	display: flow-root;
}

.entry-content a {
	color: var(--rsb-accent);
}

.entry-content a:hover {
	color: var(--rsb-accent-light);
}

.entry-content ul,
.entry-content ol {
	margin: 0 0 1em;
	padding-left: 1.4em;
}

.entry-content h2,
.entry-content h3 {
	margin-top: 1.4em;
}

.entry-content > *:last-child {
	margin-bottom: 0;
}

.alignleft {
	float: left;
	margin: 5px 20px 10px 0;
}

.alignright {
	float: right;
	margin: 5px 0 10px 20px;
}

.aligncenter {
	display: block;
	margin-right: auto;
	margin-left: auto;
}

.alignwide,
.alignfull {
	margin-right: calc(-1 * var(--rsb-pad));
	margin-left: calc(-1 * var(--rsb-pad));
	max-width: none;
	width: auto;
}

.wp-block-image img {
	height: auto;
}

.wp-block-pullquote {
	border-color: var(--rsb-accent);
	color: var(--rsb-white);
}

.wp-block-separator {
	border: 0;
}

.has-rsb-blue-color { color: #2f94e8; }
.has-rsb-cyan-color { color: #6fe2ff; }
.has-rsb-red-color { color: #ef2b3e; }
.has-rsb-yellow-color { color: #eabb00; }
.has-rsb-white-color { color: #fff; }
.has-rsb-text-color { color: #adadad; }
.has-rsb-panel-color { color: #2e2e2e; }
.has-rsb-black-color { color: #151515; }
.has-rsb-blue-background-color { background-color: #2f94e8; }
.has-rsb-cyan-background-color { background-color: #6fe2ff; }
.has-rsb-red-background-color { background-color: #ef2b3e; }
.has-rsb-yellow-background-color { background-color: #eabb00; }
.has-rsb-white-background-color { background-color: #fff; }
.has-rsb-text-background-color { background-color: #adadad; }
.has-rsb-panel-background-color { background-color: #2e2e2e; }
.has-rsb-black-background-color { background-color: #151515; }

.entry-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	margin-top: 25px;
	padding-top: 15px;
	border-top: 1px solid var(--rsb-line);
}

.entry-tags a {
	display: inline-block;
	margin: 0 4px 4px 0;
	padding: 2px 10px;
	background: var(--rsb-ink-2);
	color: var(--rsb-muted);
	font: 400 14px/22px var(--rsb-font-narrow);
	text-decoration: none;
}

.entry-tags a:hover {
	background: var(--rsb-accent);
	color: var(--rsb-white);
}

.share-links {
	display: flex;
	align-items: center;
	gap: 6px;
}

.share-links__label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-right: 4px;
	color: var(--rsb-muted);
	font: 400 14px/1 var(--rsb-font-narrow);
	text-transform: uppercase;
}

.share-links__item {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	background: var(--rsb-ink-2);
	color: #bbb;
}

.share-links__item:hover {
	background: var(--rsb-accent);
	color: var(--rsb-white);
}

.page-links {
	clear: both;
	margin-top: 20px;
}

.child-pages {
	display: flex;
	flex-wrap: wrap;
	gap: 0 10px;
	clear: both;
	margin-top: 20px;
}

/* Navigazione tra articoli */
.post-navigation {
	margin: 30px 0 10px;
}

.post-navigation .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2px;
}

.post-navigation a {
	display: block;
	height: 100%;
	padding: 14px 18px;
	background: var(--rsb-panel-3);
	text-decoration: none;
}

.post-navigation .nav-next {
	grid-column: 2;
	text-align: right;
}

.post-navigation a:hover {
	background: var(--rsb-ink);
}

.post-navigation .nav-subtitle {
	display: block;
	color: var(--rsb-muted);
	font: 400 13px/18px var(--rsb-font-narrow);
	text-transform: uppercase;
}

.post-navigation .nav-title {
	display: block;
	color: var(--rsb-text-strong);
	font: 400 16px/22px var(--rsb-font-head);
}

/* Paginazione */
.pagination {
	margin: 20px 0;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}

.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	background: var(--rsb-ink-2);
	color: #bbb;
	font: 400 16px/1 var(--rsb-font-narrow);
	text-decoration: none;
}

.pagination .page-numbers.current,
.pagination a.page-numbers:hover {
	background: var(--rsb-accent);
	color: var(--rsb-white);
}

/* Commenti */
.comments-area {
	margin-top: 30px;
}

.comment-list,
.comment-list .children {
	margin: 0;
	padding: 0;
	list-style: none;
}

.comment-list .children {
	margin-left: 30px;
}

.comment-body {
	margin-bottom: 15px;
	padding: 15px 20px;
	background: var(--rsb-ink-2);
}

.comment-meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 6px;
	margin-bottom: 8px;
	font-size: 12px;
}

.comment-author .avatar {
	float: left;
	margin-right: 10px;
	border-radius: 50%;
}

.comment-author .fn {
	color: var(--rsb-white);
	font-style: normal;
}

.comment-metadata a {
	color: var(--rsb-muted);
}

.reply a {
	color: var(--rsb-accent);
	font: 400 14px/1 var(--rsb-font-narrow);
	text-transform: uppercase;
}

.comment-form label {
	display: block;
	margin-bottom: 4px;
	color: var(--rsb-text-strong);
}

.comment-form-cookies-consent label {
	display: inline;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="number"],
input[type="password"],
textarea,
select {
	width: 100%;
	max-width: 100%;
	padding: 10px 12px;
	border: 1px solid #000;
	border-radius: 0;
	background: var(--rsb-ink);
	color: var(--rsb-text);
	font: inherit;
}

input[type="checkbox"],
input[type="radio"] {
	accent-color: var(--rsb-accent);
}

input:focus,
textarea:focus,
select:focus {
	border-color: var(--rsb-text);
	outline: none;
}

textarea {
	min-height: 124px;
}

/* --- Programmi -------------------------------------------------------- */
.card-grid {
	display: grid;
	gap: 25px;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
}

.card-grid--shows {
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.card-grid--staff {
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.card-show__body {
	display: block;
	flex: 1;
	padding: 12px 15px 14px;
	text-align: center;
	transition: background-color .3s ease-out;
}

.card-show__title {
	display: block;
	color: #e0e0e0;
	font: 400 19px/24px var(--rsb-font-display);
	text-transform: uppercase;
}

.card-show a:hover .card-show__body {
	background: var(--rsb-red);
}

.card-show a:hover .schedule .txt1,
.card-show a:hover .schedule .txt2 {
	color: var(--rsb-white);
}

.schedule .txt1,
.schedule .txt2 {
	display: block;
	text-transform: uppercase;
}

.schedule--card {
	margin-top: 4px;
	font: 400 13px/18px var(--rsb-font-narrow);
}

.schedule--card .txt1 {
	color: var(--rsb-muted);
}

.schedule--card .txt2 {
	color: var(--rsb-accent);
}

.schedule--inline {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0 8px;
	margin-top: 4px;
	font: 400 14px/20px var(--rsb-font-narrow);
}

.schedule--inline .txt1 {
	color: var(--rsb-muted);
}

.schedule--inline .txt2 {
	color: var(--rsb-accent);
}

.schedule--box {
	padding: 0 20px;
	font-family: var(--rsb-font-display);
}

.schedule--box .txt1 {
	color: var(--rsb-white);
	font-size: 16px;
	line-height: 22px;
}

.schedule--box .txt2 {
	color: var(--rsb-accent-light);
	font-size: 28px;
	font-weight: 700;
	line-height: 34px;
}

.widget-panel .live-btn--block {
	width: calc(100% - 40px);
	margin: 15px 20px 10px;
}

.show-banner {
	aspect-ratio: 1200 / 480;
}

.show-banner img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.show-banner .hero-slide__caption {
	animation: rsb-caption-in .9s var(--rsb-ease) .2s both;
}

.show-layout {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
	gap: var(--rsb-gap);
}

.show-layout__aside {
	padding-top: 30px;
}

.back-link {
	margin: 10px 0 0;
}

/* --- Staff ------------------------------------------------------------ */
.filter-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 2px;
	margin: 0 0 25px;
}

.filter-tabs a {
	padding: 8px 16px;
	background: var(--rsb-ink-2);
	color: #bbb;
	font: 400 16px/20px var(--rsb-font-narrow);
	text-decoration: none;
	text-transform: uppercase;
}

.filter-tabs a:hover,
.filter-tabs a[aria-current="page"] {
	background: var(--rsb-accent);
	color: var(--rsb-white);
}

.card-staff a {
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
}

.card-staff__img {
	display: block;
	aspect-ratio: 1;
	overflow: hidden;
	background: var(--rsb-ink);
}

.card-staff__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s var(--rsb-ease), filter .6s;
}

.card-staff a:hover img {
	transform: scale(1.05);
}

.card-staff__caption {
	display: block;
	flex: 1;
	padding: 15px;
	background: var(--rsb-panel-3);
	text-align: center;
	transition: background-color .3s ease-out;
}

.card-staff .txt1 {
	display: block;
	padding-bottom: 6px;
	color: #c8c8c8;
	font: 400 19px/22px var(--rsb-font-narrow);
}

.card-staff .txt2 {
	display: block;
	color: #939393;
	font-size: 12px;
	line-height: 17px;
}

.card-staff .staff-show {
	display: block;
}

.card-staff a:hover .card-staff__caption {
	background: var(--rsb-red);
}

.card-staff a:hover .txt1,
.card-staff a:hover .txt2 {
	color: var(--rsb-white);
}

.staff-profile {
	display: grid;
	grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
	gap: var(--rsb-gap);
	padding-top: 30px;
}

.staff-profile__img {
	align-self: start;
	padding: 1px;
	background: var(--rsb-border);
}

.staff-profile__img img {
	display: block;
	width: 100%;
}

.staff-profile .entry-title {
	padding-top: 0;
}

.staff-profile__role {
	margin: 0;
	color: var(--rsb-accent);
	font: 400 20px/1.3 var(--rsb-font-narrow);
	text-transform: uppercase;
}

.staff-profile__terms a {
	display: inline-block;
	margin: 6px 4px 0 0;
	padding: 2px 10px;
	background: var(--rsb-ink-2);
	color: var(--rsb-muted);
	font: 400 13px/20px var(--rsb-font-narrow);
	text-decoration: none;
	text-transform: uppercase;
}

.staff-profile__shows {
	margin: 0 0 20px;
	padding: 15px 20px;
	background: var(--rsb-panel-2);
}

.staff-profile__shows-title {
	margin: 0 0 6px;
	color: var(--rsb-white);
	font: 700 14px/20px var(--rsb-font);
	text-transform: uppercase;
}

.staff-profile__shows ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.staff-profile__shows li {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0 12px;
	padding: 6px 0;
	border-bottom: 1px solid var(--rsb-line);
}

.staff-profile__shows li:last-child {
	border-bottom: 0;
}

.staff-profile__shows a {
	color: var(--rsb-white);
	font: 400 18px/24px var(--rsb-font-display);
	text-decoration: none;
	text-transform: uppercase;
}

.staff-profile__shows a:hover {
	color: var(--rsb-accent);
}

.thumb-fallback {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	background: radial-gradient(circle at 50% 40%, #2a3440, #111 70%);
}

.thumb-fallback img {
	width: 60% !important;
	height: auto !important;
	object-fit: contain !important;
	opacity: .55;
}

/* --- Contatti --------------------------------------------------------- */
.contacts-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
	gap: var(--rsb-gap);
	margin-bottom: 25px;
}

.google-map {
	position: relative;
	min-height: 320px;
	padding: 1px;
	background: var(--rsb-border);
}

.google-map iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 320px;
	border: 0;
	filter: grayscale(.4) contrast(1.05);
}

/* --- 404 -------------------------------------------------------------- */
.page-404 {
	padding: 40px 0 30px;
	text-align: center;
}

.page-404__code {
	margin: 0;
	color: var(--rsb-white);
	font: 700 clamp(100px, 18vw, 170px)/1 var(--rsb-font-head);
	text-shadow: 0 0 40px rgba(47, 148, 232, .35);
}

.page-404__title {
	font: 400 clamp(32px, 6vw, 60px)/1.1 var(--rsb-font-head);
}

.page-404 .search-form {
	margin: 20px auto;
}

/* --- Modulo di contatto ---------------------------------------------- */
.contact-form {
	margin: 10px 0 25px;
	text-transform: none;
}

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

.contact-form__field {
	margin: 0 0 15px;
}

.contact-form__field--wide {
	grid-column: 1 / -1;
}

.contact-form__field label {
	display: block;
	margin-bottom: 5px;
	color: var(--rsb-text-strong);
	font: 400 15px/1.4 var(--rsb-font-narrow);
	text-transform: uppercase;
}

.contact-form .required {
	color: var(--rsb-accent);
}

.contact-form__privacy {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

.contact-form__privacy input {
	flex: none;
	margin-top: 3px;
}

.contact-form__field.contact-form__privacy label {
	margin: 0;
	color: var(--rsb-text);
	font: inherit;
	font-size: 13px;
	text-transform: none;
}

.contact-form__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.contact-form__submit {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 20px;
	align-items: center;
	margin: 0;
}

.contact-form__submit small {
	color: var(--rsb-muted);
}

.contact-form__notice {
	margin: 0 0 20px;
	padding: 12px 15px;
	border-left: 4px solid;
	background: var(--rsb-ink);
	color: var(--rsb-text-strong);
}

.contact-form__notice--ok {
	border-color: var(--rsb-c3);
}

.contact-form__notice--error {
	border-color: var(--rsb-red);
}

@media (max-width: 600px) {
	.contact-form__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* --- Banner a rotazione e pubblicità ---------------------------------- */
.rsb-rotator__item {
	display: block;
}

.rsb-rotator__item[hidden] {
	display: none;
}

.rsb-rotator img {
	display: block;
	width: 100%;
	height: auto;
}

.home-banners .rsb-rotator img {
	width: auto;
	max-width: 100%;
}

.home-banners .widget:nth-child(even) .rsb-rotator img {
	margin-left: auto;
}

/* Il margine sta sul widget: se l'annuncio non c'è, la fascia non lascia vuoti. */
.home-wide .widget,
.content-top .widget {
	margin: 20px 0 0;
}

.widget-ad {
	min-width: 0;
	text-align: center;
}

/* Lo spazio pubblicitario compare solo quando Google lo riempie davvero. */
.widget-ad:has(ins[data-ad-status="unfilled"]),
.widget-ad:not(:has(ins[data-ad-status="filled"])) .widget-ad__label {
	display: none;
}

.widget-ad__label {
	display: block;
	margin-bottom: 4px;
	color: var(--rsb-muted);
	font-size: 10px;
	letter-spacing: .08em;
}

/* ==========================================================================
   9. Fascia inferiore e footer
   ========================================================================== */
.site-mainbottom {
	margin: 20px calc(-1 * var(--rsb-pad)) 0;
	padding: 0 var(--rsb-pad) 25px;
	border-top: 1px solid #363636;
	background: linear-gradient(180deg, #222 0, #222 3px, #29292a 3px) #29292a;
}

.mainbottom-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr);
	gap: var(--rsb-gap);
}

.bot-title,
.site-mainbottom .widget-title {
	margin: 0;
	padding: 20px 0 10px;
	background: none;
	box-shadow: none;
	border: 0;
	color: var(--rsb-white);
	font: 700 14px/20px var(--rsb-font);
	text-transform: uppercase;
}

.site-mainbottom .widget {
	margin-bottom: 0;
}

.contact-box {
	margin-top: 20px;
	padding: 20px 30px;
	background: var(--rsb-panel);
}

.contact-box__label,
.contact-box__name {
	color: var(--rsb-white);
	font: 700 14px/20px var(--rsb-font);
	text-transform: uppercase;
}

.contact-box__phone {
	padding-bottom: 20px;
	color: var(--rsb-white);
	font: 700 24px/30px var(--rsb-font);
	text-transform: uppercase;
}

.contact-box__name {
	padding-bottom: 10px;
}

.contact-box__text {
	padding-bottom: 10px;
	color: var(--rsb-text);
}

.contact-box__text a {
	color: #9a9a9a;
}

.contact-box__text a:hover {
	color: var(--rsb-white);
}

.contact-box--page {
	margin-top: 0;
	background: var(--rsb-panel-2);
}

.site-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 20px;
	margin: 0 calc(-1 * var(--rsb-pad));
	padding: 20px var(--rsb-pad);
	background: var(--rsb-ink-2);
}

.copyright {
	margin: 0;
	color: #5f5f5f;
	font-size: 12px;
	line-height: 20px;
}

/* Torna su */
.to-top {
	position: fixed;
	right: 12px;
	bottom: 12px;
	z-index: 900;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 4px;
	background: rgba(23, 23, 23, .92);
	box-shadow: 0 4px 14px rgba(0, 0, 0, .5);
	color: #ccc;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity .3s, transform .3s, visibility 0s .3s, background-color .25s;
}

.to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity .3s, transform .3s, background-color .25s;
}

.to-top:hover {
	background: var(--rsb-accent);
	color: var(--rsb-white);
}

.rsb-live-playing .to-top,
.rsb-live-loading .to-top {
	bottom: 78px;
}

/* ==========================================================================
   10. Barra del player
   ========================================================================== */
.live-bar {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 64px;
	padding: 8px max(16px, calc((100vw - 1170px) / 2));
	border-top: 2px solid var(--rsb-red);
	background: rgba(12, 12, 12, .96);
	box-shadow: 0 -6px 30px rgba(0, 0, 0, .6);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	animation: rsb-bar-in .35s var(--rsb-ease);
}

.live-bar[hidden] {
	display: none;
}

@keyframes rsb-bar-in {
	from { transform: translateY(100%); }
	to { transform: none; }
}

.live-bar__toggle {
	display: grid;
	flex: 0 0 46px;
	place-items: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--rsb-red);
	color: var(--rsb-white);
	cursor: pointer;
}

.live-bar__toggle .icon {
	grid-area: 1 / 1;
}

.live-bar__toggle .icon-pause,
.rsb-live-playing .live-bar__toggle .icon-play,
.rsb-live-loading .live-bar__toggle .icon-play {
	display: none;
}

.rsb-live-playing .live-bar__toggle .icon-pause,
.rsb-live-loading .live-bar__toggle .icon-pause {
	display: block;
}

.live-bar__info {
	display: flex;
	flex: 1;
	flex-wrap: wrap;
	align-items: center;
	gap: 2px 10px;
	min-width: 0;
}

.live-bar__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--rsb-red);
	box-shadow: 0 0 0 0 rgba(239, 43, 62, .7);
	animation: rsb-dot 1.6s infinite;
}

@keyframes rsb-dot {
	70% { box-shadow: 0 0 0 10px rgba(239, 43, 62, 0); }
	100% { box-shadow: 0 0 0 0 rgba(239, 43, 62, 0); }
}

.live-bar__status {
	color: var(--rsb-white);
	font: 700 16px/20px var(--rsb-font-narrow);
	text-transform: uppercase;
}

.live-bar__name {
	overflow: hidden;
	color: var(--rsb-muted);
	font-size: 13px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.live-bar__volume {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #bbb;
}

.live-bar__volume input {
	width: 110px;
	accent-color: var(--rsb-red);
}

.live-bar__close {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #999;
	cursor: pointer;
}

.live-bar__close:hover {
	color: var(--rsb-white);
}

/* ==========================================================================
   11. Responsive
   ========================================================================== */
@media (min-width: 1200px) {
	.site-deco {
		margin-left: -760px;
	}
}

@media (max-width: 1199px) {
	:root {
		--rsb-rail: 140px;
		--rsb-gap: 20px;
		--rsb-pad: 20px;
	}

	.site-deco {
		margin-left: -600px;
	}

	.events-carousel__track {
		grid-auto-columns: calc((100% - 2 * 20px) / 3);
	}

	.nav-main > li > a {
		padding-left: 16px;
	}

	.social--rail a {
		width: 56px;
		height: 56px;
	}
}

@media (max-width: 979px) {
	:root {
		--rsb-rail: 118px;
		--rsb-header-h: 170px;
	}

	.site-branding img {
		max-width: 220px;
	}

	.nav-main > li > a {
		min-height: 58px;
		padding: 11px 24px 10px 12px;
	}

	.nav-main .txt1 {
		font-size: 16px;
	}

	.nav-main .txt2 {
		font-size: 10px;
	}

	.submenu-toggle {
		width: 24px;
		height: 58px;
	}

	.nav-main > li:not(.menu-item-has-children) > a::after {
		right: 10px;
	}

	.home-columns,
	.has-sidebar .content-layout,
	.show-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.home-aside,
	.content-aside {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
		gap: 0 var(--rsb-gap);
		padding-top: 0;
	}

	.mainbottom-grid {
		grid-template-columns: 1fr 1fr;
	}

	.mainbottom-col--contacts {
		grid-column: 1 / -1;
	}

	.contacts-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.events-carousel__track {
		grid-auto-columns: calc((100% - 20px) / 2);
	}

	.live-btn {
		width: 210px;
		padding-right: 100px;
	}

	.live-btn::after {
		width: 96px;
		background-size: 96px auto;
	}

	.live-btn__icon {
		right: 66px;
	}
}

@media (max-width: 767px) {
	:root {
		--rsb-pad: 16px;
		--rsb-gap: 16px;
		--rsb-header-h: 0;
	}

	body {
		font-size: 15px;
		background-attachment: scroll;
	}

	.site-deco {
		display: none;
	}

	.site {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"header"
			"rail"
			"box";
		padding: 0;
	}

	.site-header {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		align-items: center;
		gap: 10px;
		padding: 8px var(--rsb-pad) 0;
	}

	.site-branding {
		margin: 0;
	}

	.site-branding img {
		max-width: 118px;
	}

	.header-tools {
		justify-content: center;
		gap: 8px;
	}

	.header-tools .top-navigation {
		margin-bottom: 0;
	}

	.top-navigation ul {
		gap: 0 12px;
	}

	.top-navigation a {
		font-size: 12px;
		line-height: 22px;
	}

	.site-header .live-btn {
		width: 190px;
		height: 56px;
		padding: 0 84px 0 14px;
		border-radius: 4px;
	}

	.site-header .live-btn::after {
		width: 78px;
		height: 50px;
		background-size: contain;
	}

	.site-header .live-btn__icon {
		right: 52px;
		bottom: 6px;
		width: 30px;
		height: 30px;
	}

	.live-btn__txt1 {
		font-size: 17px;
	}

	.site-rail {
		padding: 10px 0 0;
	}

	/* Menu mobile */
	.menu-toggle {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		height: 56px;
		margin: 0;
		padding: 0 var(--rsb-pad);
		border: 0;
		background: linear-gradient(180deg, #3d3d3d 0%, #2c2c2c 48%, #222 52%, #262626 100%);
		color: #ccc;
		font: 400 18px/1 var(--rsb-font-narrow);
		text-transform: uppercase;
		cursor: pointer;
	}

	.menu-toggle__bars {
		display: grid;
		gap: 5px;
		order: 2;
	}

	.menu-toggle__bars span {
		display: block;
		width: 26px;
		height: 3px;
		border-radius: 2px;
		background: currentColor;
		transition: transform .3s var(--rsb-ease), opacity .3s;
	}

	.main-navigation.is-open .menu-toggle {
		color: var(--rsb-white);
	}

	.main-navigation.is-open .menu-toggle__bars span:nth-child(1) {
		transform: translateY(8px) rotate(45deg);
	}

	.main-navigation.is-open .menu-toggle__bars span:nth-child(2) {
		opacity: 0;
	}

	.main-navigation.is-open .menu-toggle__bars span:nth-child(3) {
		transform: translateY(-8px) rotate(-45deg);
	}

	html:not(.js) .menu-toggle {
		display: none;
	}

	.js .main-navigation:not(.is-open) .nav-main {
		display: none;
	}

	.nav-main {
		padding-top: 2px;
	}

	.nav-main > li,
	.nav-main > li > a {
		border-radius: 0;
	}

	.nav-main > li > a {
		min-height: 56px;
		padding: 10px 56px 10px var(--rsb-pad);
		box-shadow: none;
	}

	.nav-main .txt1 {
		font-size: 18px;
	}

	.submenu-toggle {
		width: 56px;
		height: 56px;
	}

	.nav-main > li.is-open > .submenu-toggle .icon {
		transform: rotate(90deg);
	}

	.nav-main .sub-menu {
		position: static;
		min-width: 0;
		box-shadow: none;
	}

	.nav-main .sub-menu a {
		padding-left: calc(var(--rsb-pad) + 14px);
		white-space: normal;
	}

	.social--rail {
		flex-direction: row;
		justify-content: center;
		margin: 12px 0;
	}

	.social--rail a {
		width: 44px;
		height: 44px;
		border-radius: 4px;
	}

	.social--rail .icon {
		width: 22px;
		height: 22px;
	}

	.site-box {
		margin-bottom: 0;
		box-shadow: none;
	}

	.hero-slide__caption {
		bottom: 12px;
		padding: 6px 12px 7px 14px;
	}

	.hero-slide__caption .txt1 {
		font-size: 11px;
		line-height: 14px;
	}

	.hero-slide__caption .txt2 {
		font-size: 18px;
		line-height: 22px;
	}

	.hero-slider__nav {
		display: none;
	}

	.events-carousel__track {
		grid-auto-columns: 72%;
		gap: 12px;
	}

	.events-carousel__controls {
		position: static;
		justify-content: flex-end;
		margin-top: 10px;
		filter: none;
	}

	.events-carousel__label {
		font-size: 16px;
	}

	.news-item__thumb,
	.news-block--local .news-item__thumb {
		width: 90px;
	}

	.page-heading__title span {
		font-size: 22px;
		line-height: 1.3;
		padding-top: 12px;
		padding-bottom: 12px;
	}

	.entry-title {
		font-size: 22px;
	}

	.entry-list__thumb {
		float: none;
		width: 100%;
		max-width: none;
		margin: 0 0 12px;
	}

	.entry-thumb--left,
	.alignleft,
	.alignright {
		float: none;
		max-width: 100%;
		margin: 0 0 15px;
	}

	.staff-profile {
		grid-template-columns: minmax(0, 1fr);
	}

	.staff-profile__img {
		max-width: 320px;
	}

	.card-grid--staff {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px;
	}

	.card-staff .txt1 {
		font-size: 17px;
	}

	.mainbottom-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}

	.contact-box {
		padding: 18px 20px;
	}

	.site-footer {
		justify-content: center;
		text-align: center;
	}

	.post-navigation .nav-links {
		grid-template-columns: 1fr;
	}

	.post-navigation .nav-next {
		grid-column: 1;
	}

	.live-bar {
		gap: 10px;
		padding: 8px 12px;
	}

	.live-bar__volume {
		display: none;
	}

	.live-bar__name {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}
}

@media print {
	body {
		background: #fff;
		color: #000;
	}

	.site-rail,
	.site-header .header-tools,
	.site-mainbottom,
	.live-bar,
	.to-top,
	.share-links,
	.site-deco {
		display: none !important;
	}

	.site,
	.site-box {
		display: block;
		background: none;
		box-shadow: none;
	}
}
