:root {
  --red: #c62828;
  --red-dark: #a61f1f;
  --black: #171717;
  --text: #292929;
  --muted: #737373;
  --line: #e5e5e5;
  --soft: #f7f7f7;
  --card: #ffffff;
  --overlay: rgba(0, 0, 0, 0.52);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font: 16px/1.6 Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--red);
}

.site-header {
  --site-header-logo-height: 44px;
  position: relative;
  z-index: 20;
  min-height: 86px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px 36px;
  border-bottom: 1px solid #dedede;
  padding: 12px max(24px, calc((100% - 1400px) / 2));
  background: #fff;
  color: #242424;
  font: 16px/1.4 Arial, Helvetica, sans-serif;
}

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

.site-header a {
  color: inherit;
  text-decoration: none;
}

.site-header .site-brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #292929;
  justify-self: start;
}

.site-header .site-brand img {
  width: auto;
  height: var(--site-header-logo-height);
  max-width: 240px;
  display: block;
  object-fit: contain;
}

.site-header .site-brand-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.site-header .site-brand-title {
  color: #292929;
  font-size: 21px;
  line-height: 1.1;
  font-weight: 700;
  white-space: nowrap;
}

.site-header .site-brand-claim {
  color: #6b6b6b;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 500;
  white-space: nowrap;
}

.site-header .site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 11px;
  justify-self: center;
  min-width: 0;
}

.site-header .site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 0;
  color: #111;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-header .site-nav a + a::before {
  margin-right: 14px;
  color: #cfcfcf;
  content: "|";
}

.site-header .site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 3px;
  background: #84c6d3;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
  content: "";
}

.site-header .site-nav a:hover,
.site-header .site-nav a.is-active {
  color: #111;
}

.site-header .site-nav a:hover::after,
.site-header .site-nav a.is-active::after {
  transform: scaleX(1);
}

.site-header .site-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 4px;
  padding: 10px 18px;
  color: #fff;
  background: #c62828;
  font-weight: 600;
  white-space: nowrap;
  justify-self: end;
}

.site-header .site-login:hover {
  background: #a61f1f;
}

.site-header .site-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  min-width: 46px;
  min-height: 46px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  padding: 0;
  color: #111;
  background: #fff;
  cursor: pointer;
  justify-self: end;
}

.site-header .site-menu-toggle:hover {
  background: #f6f6f6;
}

.site-header .site-menu-toggle-line,
.site-header .site-menu-toggle-line::before,
.site-header .site-menu-toggle-line::after {
  width: 20px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
  content: "";
}

.site-header .site-menu-toggle-line {
  position: relative;
}

.site-header .site-menu-toggle-line::before {
  position: absolute;
  top: -6px;
  left: 0;
}

.site-header .site-menu-toggle-line::after {
  position: absolute;
  top: 6px;
  left: 0;
}

.site-header.mobile-open .site-menu-toggle-line {
  background: transparent;
}

.site-header.mobile-open .site-menu-toggle-line::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header.mobile-open .site-menu-toggle-line::after {
  top: 0;
  transform: rotate(-45deg);
}

#site-footer-widgets {
  color: #fff;
  background: #111111;
  font: 14px/1.6 Arial, Helvetica, sans-serif;
  padding: 40px 0;
}

#site-footer-widgets *,
#site-footer-widgets *::before,
#site-footer-widgets *::after {
  box-sizing: border-box;
}

#site-footer-widgets .footer-inner {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

#site-footer-widgets .footer-widgets {
  display: grid;
  grid-template-columns: 4fr 3fr 3fr;
  gap: 24px;
}

#site-footer-widgets .footer-widget {
  min-width: 0;
  overflow-wrap: anywhere;
}

#site-footer-widgets .footer-widget-title {
  margin: 0 0 8px;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}

#site-footer-widgets .footer-widget-body,
#site-footer-widgets .footer-credit,
#site-footer-widgets .footer-copyright {
  overflow-wrap: anywhere;
}

#site-footer-widgets .footer-widget-body {
  color: #fff;
  font-size: 13px;
  line-height: 1.6;
}

#site-footer-widgets .footer-widget-body,
#site-footer-widgets .footer-widget-body * {
  color: #bebbbb !important;
  font-size: 15px !important;
}

#site-footer-widgets .footer-widget-body > :first-child,
#site-footer-widgets .footer-credit > :first-child,
#site-footer-widgets .footer-copyright > :first-child {
  margin-top: 0;
}

#site-footer-widgets .footer-widget-body > :last-child,
#site-footer-widgets .footer-credit > :last-child,
#site-footer-widgets .footer-copyright > :last-child {
  margin-bottom: 0;
}

#site-footer-widgets .footer-widget-body h2,
#site-footer-widgets .footer-widget-body h3,
#site-footer-widgets .footer-widget-body h4,
#site-footer-widgets .footer-credit h2,
#site-footer-widgets .footer-credit h3,
#site-footer-widgets .footer-credit h4,
#site-footer-widgets .footer-copyright h2,
#site-footer-widgets .footer-copyright h3,
#site-footer-widgets .footer-copyright h4 {
  margin-bottom: 10px;
  color: #fff;
  line-height: 1.3;
}

#site-footer-widgets .footer-widget-body a,
#site-footer-widgets .footer-credit a,
#site-footer-widgets .footer-copyright a {
  color: #fff;
  text-decoration: none;
}

#site-footer-widgets .footer-widget-body a:hover,
#site-footer-widgets .footer-credit a:hover,
#site-footer-widgets .footer-copyright a:hover {
  text-decoration: none;
}

#site-footer-widgets .footer-widget-body ul,
#site-footer-widgets .footer-widget-body ol,
#site-footer-widgets .footer-credit ul,
#site-footer-widgets .footer-credit ol,
#site-footer-widgets .footer-copyright ul,
#site-footer-widgets .footer-copyright ol {
  padding-left: 18px;
}

#site-footer-widgets .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid #383838;
  margin-top: 24px;
  padding-top: 16px;
  color: #c8c8c8;
  font-size: 13px;
}

#site-footer-widgets .footer-credit {
  text-align: left;
}

#site-footer-widgets .footer-copyright {
  text-align: right;
}

body.radio-player-active {
  padding-bottom: 96px !important;
}

#persistent-radio-player {
  position: fixed;
  z-index: 9999;
  right: 0;
  bottom: -50px;
  left: 0;
  min-height: 100px;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) minmax(260px, 1.4fr) minmax(150px, .7fr);
  align-items: center;
  gap: 24px;
  border-top: 1px solid #333;
  padding: 12px max(24px, calc((100% - 1320px) / 2));
  color: #fff;
  background: #101012;
  font: 14px/1.4 Arial, Helvetica, sans-serif;
}

#persistent-radio-player[hidden] {
  display: none !important;
}

#persistent-radio-player * {
  box-sizing: border-box;
}

#persistent-radio-player .rp-track {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

#persistent-radio-player .rp-logo {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 50%;
  border: 2px solid #525252;
  object-fit: cover;
  background: #292929;
}

#persistent-radio-player .rp-info {
  min-width: 0;
}

#persistent-radio-player .rp-title {
  overflow: hidden;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#persistent-radio-player .rp-state {
  color: #aaa;
  font-size: 12px;
}

#persistent-radio-player .rp-stations-toggle {
  border-radius: 3px;
}

#persistent-radio-player .rp-stations-toggle[aria-expanded="true"] {
  color: #fff;
  background: #292929;
}

#persistent-radio-player .rp-stations-toggle svg {
  width: 20px;
  height: 20px;
}

#persistent-radio-player .rp-station-menu {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 100%;
  left: 0;
  max-height: min(60vh, 420px);
  overflow-y: auto;
  border: 1px solid #303030;
  border-bottom: 0;
  color: #fff;
  background: #080808;
  box-shadow: 0 -8px 28px rgb(0 0 0 / 28%);
}

#persistent-radio-player .rp-station-menu[hidden] {
  display: none !important;
}

#persistent-radio-player .rp-station-option {
  width: 100%;
  min-height: 70px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 14px;
  border: 0;
  border-bottom: 1px solid #292929;
  border-radius: 0;
  padding: 8px 18px;
  text-align: left;
}

#persistent-radio-player .rp-station-option:hover,
#persistent-radio-player .rp-station-option:focus-visible {
  background: #202020;
}

#persistent-radio-player .rp-station-option:focus-visible {
  outline: 2px solid #c62828;
  outline-offset: -2px;
}

#persistent-radio-player .rp-station-option-logo {
  width: 52px;
  height: 52px;
  border-radius: 2px;
  object-fit: cover;
  background: #252525;
}

#persistent-radio-player .rp-station-option-details {
  min-width: 0;
  display: grid;
  gap: 2px;
}

#persistent-radio-player .rp-station-option-name,
#persistent-radio-player .rp-station-option-description {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#persistent-radio-player .rp-station-option-name {
  font-size: 14px;
  font-weight: 600;
}

#persistent-radio-player .rp-station-option-description {
  color: #aaa;
  font-size: 12px;
}

#persistent-radio-player .rp-station-option-play {
  display: flex;
  align-items: center;
  justify-content: center;
}

#persistent-radio-player .rp-station-option-play svg {
  width: 22px;
  height: 22px;
}

#persistent-radio-player .rp-center {
  min-width: 0;
}

#persistent-radio-player .rp-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 7px;
}

#persistent-radio-player button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  border: 0;
  border-radius: 50%;
  padding: 8px;
  color: #fff;
  background: transparent;
  cursor: pointer;
}

#persistent-radio-player button:hover {
  background: #292929;
}

#persistent-radio-player button svg {
  display: block;
  width: 18px;
  height: 18px;
}

#persistent-radio-player .rp-play {
  width: 46px;
  height: 46px;
  border: 2px solid #fff;
}

#persistent-radio-player .rp-play svg {
  width: 20px;
  height: 20px;
}

#persistent-radio-player .rp-progress-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
}

#persistent-radio-player .rp-line {
  position: relative;
  height: 4px;
  overflow: hidden;
  border-radius: 4px;
  background: #484848;
}

#persistent-radio-player .rp-line::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 18%;
  border-radius: inherit;
  background: #c62828;
  content: "";
}

#persistent-radio-player.is-playing .rp-line::before {
  animation: rp-live 2s ease-in-out infinite alternate;
}

@keyframes rp-live {
  from { width: 12%; }
  to { width: 34%; }
}

#persistent-radio-player .rp-live-label {
  color: #c8c8c8;
  font-size: 11px;
}

#persistent-radio-player .rp-volume {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

#persistent-radio-player .rp-volume svg {
  width: 18px;
  height: 18px;
}

#persistent-radio-player input[type="range"] {
  width: min(140px, 100%);
  accent-color: #c62828;
}

#persistent-radio-player .rp-error {
  position: absolute;
  right: 16px;
  bottom: calc(100% + 8px);
  margin: 0;
  border-radius: 4px;
  padding: 7px 10px;
  color: #fff;
  background: #c62828;
  font-size: 12px;
}

#persistent-radio-player .rp-error[hidden] {
  display: none !important;
}

.page-home .home-news-header button {
  min-height: 44px;
  border: 0;
  border-radius: 4px;
  padding: 10px 16px;
  color: #fff;
  background: var(--red);
  font: inherit;
  cursor: pointer;
}

.page-home .home-news-header button:hover {
  background: var(--red-dark);
}

body.page-home main {
  width: min(1400px, 100%);
  margin: 0 auto;
  padding: 120px 24px 64px;
}

body.page-home section {
  margin-bottom: 48px;
}

body.page-home h1,
body.page-home h2,
body.page-home h3 {
  color: var(--black);
  font-weight: 600;
  line-height: 1.2;
}

body.page-home h1 {
  margin: 0 0 8px;
  font-size: clamp(32px, 5vw, 48px);
}

body.page-home h2 {
  margin: 0 0 24px;
  font-size: clamp(24px, 3vw, 32px);
}

body.page-home h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.hero {
  position: relative;
  display: flex;
  width: calc(100vw - 2px);
  min-height: clamp(440px, 52vw, 660px);
  align-items: end;
  overflow: hidden;
  margin-right: calc(50% - 50vw);
  margin-bottom: 52px;
  margin-left: calc(50% - 50vw);
  border-top: 1px solid #d7d7d7;
  border-bottom: 1px solid #d7d7d7;
  padding: 48px max(24px, calc((100vw - 1400px) / 2 + 24px));
  color: #fff;
  background: #222 center/cover no-repeat;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(200, 15, 15, 0.32) 0%, rgba(185, 0, 0, 0.44) 100%),
    linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.20) 100%);
  content: "";
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: #222 center/cover no-repeat;
  transition: opacity .9s ease;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1400px, 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: inherit;
  margin: 0 auto;
}

.hero-copy {
  max-width: min(1100px, 92vw);
  margin-top: auto;
}

.page-home .hero h1,
.page-home .hero p {
  color: #fff;
}

.hero h1 {
  margin: 0;
  font-size: 5em;
  line-height: 0.92;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  text-shadow: 0 4px 24px rgba(0,0,0,.28);
}

.hero p {
  margin: 14px 0 0;
  max-width: 720px;
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 700;
  text-shadow: 0 2px 14px rgba(0,0,0,.28);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 24px;
}

.card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.card img {
  display: block;
  width: 100%;
  height: 208px;
  object-fit: cover;
  background: var(--soft);
}

.card-body {
  padding: 16px;
}

.card-body p {
  color: var(--muted);
}

.meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

#palinsesto {
    width: 80%;
    margin-right: auto;
    margin-left: auto;
    padding-top: 50px;
    padding-bottom: 50px;
}

.schedule-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.schedule-day {
  min-height: 46px;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  padding: 8px 12px;
  color: var(--black);
  background: #ececec;
  font-size: 16px;
  font-weight: 700;
}

.schedule-day:hover,
.schedule-day.active {
  border-color: #111;
  color: #fff;
  background: var(--black);
}

.schedule-title {
  margin: 0 0 18px;
  text-align: center;
  text-transform: uppercase;
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 800;
}

.schedule-list {
  display: grid;
  gap: 14px;
}

.program-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 160px;
  align-items: center;
  gap: 24px;
  padding: 16px;
  border-radius: 10px;
  background: #f3f3f3;
}

.program-thumb,
.program-thumb-placeholder {
  width: 160px;
  height: 106px;
  display: block;
  border-radius: 10px;
  background: #ddd;
  object-fit: cover;
}

.program-thumb-placeholder {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 600;
}

.program-copy {
  min-width: 0;
}

.program-copy h3 {
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 700;
}

.program-copy p {
  margin: 0;
  color: #3b3b3b;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.program-time-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.program-time {
  color: var(--black);
  font-size: 18px;
  font-weight: 500;
  white-space: nowrap;
}

.onair-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border-radius: 999px;
  padding: 6px 14px;
  color: #fff;
  background: var(--red);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.schedule-empty {
  padding: 20px;
  color: var(--muted);
  text-align: center;
  background: #f3f3f3;
}

.home-news {
  display: grid;
  gap: 20px;
  margin-bottom: 56px;
}

.home-news-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.home-news-header h2 {
  margin-bottom: 0;
  line-height: 1;
}

.home-news-header a {
  flex: 0 0 auto;
}

.home-news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 1fr);
  gap: 16px;
}

#home-news-hero {
  min-width: 0;
}

.home-news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.news-featured-card,
.news-featured-hero {
  display: block;
  width: 100%;
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-radius: 10px;
  color: #fff;
  background: #242424 center/cover no-repeat;
}

.news-featured-card::before,
.news-featured-hero::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.65) 100%);
  content: "";
}

.news-featured-card {
  min-height: 230px;
}

.news-featured-hero,
.news-featured-slider {
  min-height: 470px;
}

.news-featured-slider {
  position: relative;
}

.news-featured-slider-nav {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-home .news-featured-slider-dot {
  width: 10px;
  min-width: 10px;
  height: 10px;
  min-height: 10px;
  flex: 0 0 10px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  opacity: 0.45;
  background: #fff;
}

.page-home .news-featured-slider-dot:hover {
  background: #fff;
}

.page-home .news-featured-slider-dot.active {
  opacity: 1;
  background: var(--red);
}

.news-featured-content,
.news-featured-hero-content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
}

.news-featured-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
}

.news-featured-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 4px;
  padding: 4px 10px;
  color: #fff;
  background: #ef2e2e;
  font-size: 14px;
  font-weight: 700;
  text-transform: lowercase;
}

.page-home .news-featured-card h3,
.page-home .news-featured-hero h3 {
  margin: 10px 0 0;
  color: #fff;
  line-height: 1.08;
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-featured-card h3 {
  font-size: clamp(22px, 2.5vw, 28px);
}

.news-featured-hero h3 {
  font-size: 2.2em;
}

.news-featured-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.news-featured-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 0;
  padding: 10px 20px;
  color: #fff;
  background: #34b448;
  font-weight: 700;
  white-space: nowrap;
}

.news-featured-empty {
  padding: 28px;
  color: var(--muted);
  text-align: center;
  background: #f3f3f3;
}

.home-carousel {
  margin-bottom: 56px;
}

.home-carousel-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
  text-align: center;
}

.home-carousel-header h2 {
  width: 100%;
  margin-bottom: 0;
  line-height: 1;
  text-align: center;
}

.home-carousel-shell {
  position: relative;
  display: block;
  padding: 0 72px;
}

.home-carousel-shell.home-carousel-shell-static {
  padding: 0;
}

.home-carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 56px;
  height: 56px;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0;
  color: var(--black);
  background: rgba(255, 255, 255, 0.96);
  font-size: 24px;
  line-height: 1;
  transform: translateY(-50%);
}

#home-carousel-prev {
  left: 0;
}

#home-carousel-next {
  right: 0;
}

.home-carousel-arrow:hover {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.home-carousel-viewport {
  width: 100%;
  overflow: hidden;
}

.home-carousel-track {
  --home-carousel-columns: 3;
  display: grid;
  grid-template-columns: repeat(var(--home-carousel-columns), minmax(0, 1fr));
  align-items: start;
  gap: 16px;
}

.home-carousel-card {
  width: 100%;
  display: block;
  align-self: flex-start;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  -webkit-clip-path: inset(0 round 14px);
  clip-path: inset(0 round 14px);
  background-color: #ffffff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  box-sizing: border-box;
}

.home-carousel-arrow[hidden] {
  display: none;
}

.home-carousel-shell.home-carousel-shell-static .home-carousel-arrow {
  display: none !important;
}


.page-home .error {
  color: var(--red);
}

body.page-news main {
  width: min(1120px, calc(100% - 40px));
  min-height: 55vh;
  margin: 0 auto;
  padding: 44px 0 64px;
}

body.page-news h1 {
  margin: 0 0 8px;
  color: var(--black);
  font-size: clamp(32px, 5vw, 46px);
  line-height: 1.15;
}

.page-intro {
  margin: 0 0 28px;
  color: var(--muted);
}

.news-list {
  display: grid;
  gap: 22px;
}

.news-card {
  display: grid;
  grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.news-card.no-image {
  grid-template-columns: minmax(0, 1fr);
}

.news-image-link {
  display: block;
  min-height: 190px;
  background: var(--soft);
}

.news-image {
  width: 100%;
  height: 100%;
  min-height: 190px;
  display: block;
  object-fit: cover;
}

.news-card-body {
  min-width: 0;
  padding: 20px;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 13px;
}

.news-category {
  color: var(--red);
  font-weight: 600;
}

.news-title {
  margin: 0 0 10px;
  color: var(--black);
  font-size: 23px;
  line-height: 1.25;
}

.news-excerpt {
  color: #555;
}

.news-excerpt p:first-child {
  margin-top: 0;
}

.read-more {
  display: inline-block;
  margin-top: 10px;
  color: var(--red);
  font-weight: 600;
}

.empty,
.page-news .error {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 18px;
  background: var(--soft);
}

.page-news .error {
  color: var(--red);
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.pagination a,
.pagination span {
  min-width: 40px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 7px 12px;
}

.pagination a:hover,
.pagination .current {
  border-color: var(--red);
  color: #fff;
  background: var(--red);
}

body.page-article {
  background: #f4f4f4;
}

.article-page {
  width: 100%;
  margin: 0;
  padding: 0;
}

.page-article article {
  width: 100%;
}

.article-hero {
  position: relative;
  width: calc(100vw - 2px);
  min-height: clamp(360px, 46vw, 680px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  color: #fff;
  background: #1d1d1d;
}

.article-hero-image,
.article-hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.article-hero-image {
  object-fit: cover;
  object-position: center;
  filter: grayscale(0.12);
}

.article-hero-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.16) 0%, rgba(0,0,0,0.44) 42%, rgba(0,0,0,0.78) 100%);
}

.article-hero-content {
  position: relative;
  z-index: 1;
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto;
  padding: 84px 0 36px;
}

.page-article .article-title {
  margin: 0 0 14px;
  max-width: 1000px;
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
  font-weight: 800;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.36);
}

.page-article .article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: rgba(255,255,255,0.98);
  font-size: 14px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.28);
}

.article-meta .dot-separator {
  opacity: 0.6;
}

.page-article .article-category {
  color: #fff;
  font-weight: 600;
}

.article-content {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 64px;
  color: var(--text);
  background: transparent;
}

.article-share {
  max-width: 970px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto 28px;
  padding: 16px 0 22px;
  border-bottom: 1px solid #dfdfdf;
}

.article-share-label {
  color: #555;
  font-size: 15px;
}

.article-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.article-share-button {
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e2e2;
  border-radius: 4px;
  padding: 0;
  color: #222;
  background: #f2f2f2;
  line-height: 1;
}

.article-share-button svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

.article-share-button:hover {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.article-share-print {
  border: 1px solid #e2e2e2;
  font: inherit;
  cursor: pointer;
}
OLD

to = <<'NEW'
.article-share-button {
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e2e2;
  border-radius: 4px;
  padding: 0;
  color: #222;
  background: #f2f2f2;
  line-height: 1;
}

.article-share-button svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

.article-share-button:hover {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.article-share-print {
  border: 1px solid #e2e2e2;
  font: inherit;
  cursor: pointer;
}

.article-content > * {
  max-width: 970px;
  margin-left: auto;
  margin-right: auto;
}

.article-content p,
.article-content li,
.article-content blockquote,
.article-content div {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #1d1d1d;
}

.article-content h2,
.article-content h3,
.article-content h4 {
  margin: 1.2em 0 0.7em;
  color: #111111;
  line-height: 1.2;
}

.article-content h2 {
  font-size: clamp(1.7rem, 2vw, 2.3rem);
}

.article-content h3 {
  font-size: clamp(1.4rem, 1.7vw, 1.8rem);
}

.article-content img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  margin: 18px auto;
}

.article-content blockquote {
  margin: 24px 0;
  padding-left: 18px;
  border-left: 4px solid var(--red);
  color: #333;
  font-style: italic;
  background: rgba(216,22,22,0.03);
}

.article-content ul,
.article-content ol {
  padding-left: 20px;
}

.article-content a,
.not-found a,
.back,
.template-card-link,
.read-more {
  color: var(--red);
}

.not-found {
  width: min(820px, calc(100% - 32px));
  min-height: 50vh;
  margin: 0 auto;
  padding: 52px 0 64px;
}

.not-found h1 {
  margin: 0 0 16px;
  color: var(--black);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
}

.not-found p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.05rem;
}

.not-found a,
.back,
.template-card-link {
  font-weight: 700;
}

body.page-page .content {
  width: min(980px, calc(100% - 30px));
  margin: 0 auto;
  padding: 38px 0 80px;
}

body.page-page h1 {
  margin: 0 0 18px;
  color: var(--black);
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.15;
}

.article-body {
  color: var(--text);
  font-size: 1.04rem;
  line-height: 1.9;
}

.article-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 18px 0;
}

.article-body blockquote {
  margin: 24px 0;
  padding-left: 18px;
  border-left: 4px solid var(--red);
  color: #333;
  font-style: italic;
}

.page-template-section {
  margin-top: 38px;
}

.template-grid {
  display: grid;
  gap: 22px;
}

.template-grid-programs {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.template-grid-blog {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.template-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.template-card-image-wrap {
  display: block;
  aspect-ratio: 16 / 10;
  background: #f7f7f7;
}

.template-card-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.template-card-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #8b8b8b;
  font-size: 14px;
  text-align: center;
  padding: 18px;
  background: #f3f3f3;
}

.template-card-body {
  padding: 18px;
}

.template-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
}

.template-card-tag {
  color: var(--red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.template-card-title {
  margin: 0 0 10px;
  color: var(--black);
  font-size: 24px;
  line-height: 1.2;
}

.template-program-schedule {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.template-program-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  color: #555;
  font-size: 14px;
  font-weight: 700;
}

.template-program-days {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.template-program-day-box {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--black);
  background: #fafafa;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
}

.template-card-text {
  color: #555;
  font-size: 15px;
  line-height: 1.7;
}

.template-card-link {
  display: inline-block;
  margin-top: 14px;
}

.template-empty {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  color: var(--muted);
  background: #fafafa;
}

@media (max-width: 1100px) {
  .template-grid-programs,
  .template-grid-blog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.radio-player-active {
    padding-bottom: 144px !important;
  }

  #persistent-radio-player {
    min-height: 136px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
    padding: 10px 16px;
  }

  #persistent-radio-player .rp-track {
    grid-column: 1;
  }

  #persistent-radio-player .rp-center {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  #persistent-radio-player .rp-controls {
    position: absolute;
    top: 14px;
    right: 16px;
  }

  #persistent-radio-player .rp-volume {
    grid-column: 2;
    grid-row: 1;
    margin-right: 56px;
  }

  #persistent-radio-player .rp-logo {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  #persistent-radio-player .rp-reconnect {
    display: none;
  }

  #persistent-radio-player .rp-volume input[type="range"] {
    display: none;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: 360px;
    margin-bottom: 32px;
    padding: 24px 16px;
  }

  .hero-inner {
    justify-content: flex-end;
  }

  .hero h1 {
    font-size: min(5em, 18vw);
  }

  .hero p {
    margin-top: 10px;
    font-size: 18px;
  }

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

  #palinsesto {
    width: 100%;
  }

  .schedule-days {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .schedule-day {
    min-height: 42px;
    font-size: 14px;
  }

  .program-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .program-thumb,
  .program-thumb-placeholder {
    width: 100%;
    height: 190px;
  }

  .program-time-box {
    align-items: flex-start;
  }

  .home-news-layout,
  .home-news-grid {
    grid-template-columns: 1fr;
  }

  .news-featured-hero {
    min-height: 320px;
  }

  .home-news {
    margin-bottom: 40px;
  }

  .home-carousel-shell {
    padding: 0 52px;
  }

  .home-carousel-arrow {
    width: 44px;
    height: 44px;
    min-height: 44px;
    font-size: 20px;
  }

}


@media (max-width: 700px) {
  .site-header {
    min-height: 68px;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 12px;
    padding: 12px 16px;
  }

  .site-header .site-brand {
    gap: 10px;
  }

  .site-header .site-brand img {
    max-width: 180px;
  }

  .site-header .site-brand-title {
    font-size: 18px;
  }

  .site-header .site-brand-claim {
    font-size: 12px;
  }

  .site-header .site-nav {
    grid-column: 1 / -1;
    width: 100%;
    display: none;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    border-top: 1px solid #e6e6e6;
    margin-top: 2px;
    padding-top: 10px;
  }

  .site-header.mobile-open .site-nav {
    display: flex;
    flex-direction: column;
  }

  .site-header .site-nav a {
    width: 100%;
    min-height: 42px;
    border-bottom: 1px solid #f0f0f0;
    padding: 10px 0;
    font-size: 13px;
  }

  .site-header .site-nav a + a::before {
    display: none;
  }

  .site-header .site-nav a::after {
    right: auto;
    bottom: 0;
    left: 0;
    width: 48px;
  }

  .site-header .site-login {
    min-height: 40px;
    padding: 8px 14px;
    font-size: 14px;
  }

  .site-header .site-menu-toggle {
    display: inline-flex;
  }

  #site-footer-widgets .footer-inner {
    width: calc(100% - 32px);
  }

  #site-footer-widgets .footer-widgets {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  #site-footer-widgets .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  #site-footer-widgets .footer-credit,
  #site-footer-widgets .footer-copyright {
    text-align: left;
  }

  body.page-page .content {
    width: min(980px, calc(100% - 24px));
    padding: 30px 0 70px;
  }

  .template-grid-programs,
  .template-grid-blog {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body.page-news main {
    width: min(100% - 32px, 1120px);
    padding-top: 30px;
  }

  .news-card {
    grid-template-columns: 1fr;
  }

  .news-image-link,
  .news-image {
    height: 210px;
    min-height: 210px;
  }

  .news-card-body {
    padding: 16px;
  }

  .news-title {
    font-size: 21px;
  }
}

@media (max-width: 640px) {
  .article-hero {
    min-height: 360px;
  }

  .article-hero-content {
    width: calc(100% - 32px);
    padding-top: 44px;
    padding-bottom: 24px;
  }

  .page-article .article-title {
    font-size: 2.3rem;
  }

  .article-content {
    width: calc(100% - 32px);
    padding-top: 22px;
  }

  .article-share {
    align-items: flex-start;
    flex-direction: column;
  }
}
