:root {
  --primary-bg: #23001F;
  --card-bg: rgba(60, 0, 80, 0.4);
  --text: #FFFFFF;
  --accent: #FF6F61;
  --muted: #DDD1E0;
  --highlight: #FFD700;
  --alt-accent: #FFFFFF;
  --sidebar-text: #DDD1E0;
  --hover-accent: #FFD700;
  --button-bg: #5E2C6F;
  --scroll-bg: rgba(255, 255, 255, 0.10);
  --box-shadow-light: rgba(255, 255, 255, 0.2);
}

.sticky-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(90deg, rgba(98, 0, 119, 0.9) 0%, rgba(48, 0, 59, 0.9) 100%);
  color: var(--text);
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 4px;
  z-index: 9999;
  font-family: 'Poppins', sans-serif;
}

.player-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  flex-wrap: nowrap;
  overflow: hidden;
  max-width: 100%;
}

.player-cover {
  flex-shrink: 0;
  min-width: 60px;
}

.player-cover img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 0 8px var(--box-shadow-light);
}

.player-info {
  display: flex;
  flex-direction: column;
  min-width: 6rem;
  max-width: 10rem;
  flex-shrink: 0;
}

.text-artist {
  font-size: 1rem;
  font-weight: 700;
  color: var(--highlight);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.text-title {
  font-size: 0.97rem;
  font-weight: 500;
  color: #FFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.text-show {
  font-size: 0.90rem;
  font-weight: 400;
  color: var(--highlight);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-extra {
  flex-grow: 1;
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
  padding: 0 4px;
  font-family: 'Roboto', sans-serif;
}

.player-controls {
  display: flex;
  align-items: center;
}

.dedicatii-scroll-box {
  overflow: hidden;
  padding: 5px;
  background: var(--scroll-bg);
  border-radius: 15px;
  position: relative;
  color: var(--text);
}

.dedicatie {
  text-align: center;
  padding: 5px 0;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.dedicatie.active {
  display: block;
  opacity: 1;
}

.mode-horizontal .dedicatii-container {
  white-space: nowrap;
  animation: marquee linear infinite;
  animation-duration: 45s;
}

.mode-horizontal .dedicatie {
  display: inline-block;
  margin-right: 7px;
  opacity: 0.8;
}

@keyframes marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

@media screen and (max-width: 500px) {
  .player-extra { display: none; }
  .player-wrapper {
    justify-content: space-between;
    width: 100%;
  }
  .player-info {
    flex: 1;
    min-width: 0;
    max-width: none;
    margin: 0 8px;
    overflow: hidden;
  }

  .text-title {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }
}

#player-toggle {
  width: 60px;
  height: 60px;
  background: var(--button-bg);
  border: none;
  border-radius: 12px;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.6s ease-in-out, box-shadow 0.4s ease-in-out;
}

#player-toggle:hover {
  background: var(--highlight);
  box-shadow: 0 0 7px var(--highlight), 0 0 12px var(--highlight);
}

#player-toggle i {
  font-size: 2.1rem;
  line-height: 1;
}

.radio90hit .radio-show-card {
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.4rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 6px rgba(0,0,0,0.3);
}

.radio90hit .radio-show-card .thumb img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.radio90hit .radio-show-card h4 a {
  color: var(--accent);
  font-weight: bold;
  text-decoration: none;
}

.radio90hit .radio-show-card .presenter {
  font-style: italic;
  color: var(--muted);
  margin-top: 0.25rem;
}

.radio90hit .radio-show-card .short-desc-wrapper {
  font-size: 0.9rem;
  color: var(--text);
  margin-top: 0.5rem;
}

.radio90hit .radio-show-card .see-more-btn {
  margin-top: 0.5rem;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 4px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
}
.radio90hit .radio-show-card .see-more-btn:hover {
  background: var(--accent);
  color: var(--text);
}

.sidebar .radio90hit,
.widget-area .radio90hit,
.widget .radio90hit {
  font-family: system-ui, sans-serif;
  font-size: 0.95rem;
  color: var(--sidebar-text);
}

.sidebar .radio90hit .now-show-card,
.widget-area .radio90hit .now-show-card {
  background: var(--card-bg);
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 0 6px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
}

.radio90hit * {
  box-sizing: border-box;
}

.radio90hit .program-day {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 2rem;
  color: var(--text);
}

.radio90hit .program-day h3 {
  color: var(--highlight);
  font-weight: bold;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.radio90hit .program-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text);
  box-shadow: 0 0 6px rgba(0,0,0,0.3);
}

.radio90hit .thumb img {
  width: auto;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
}

.radio90hit .info {
  flex: 1;
}

.radio90hit .title a {
  color: var(--accent);
  font-weight: bold;
  text-decoration: none;
  font-size: 1.05rem;
}

.radio90hit .presenter {
  color: var(--muted);
  font-style: italic;
  margin-bottom: 0.25rem;
}

.radio90hit .desc {
  color: var(--text);
  font-size: 0.9rem;
}

.radio90hit.now-show {
  padding: 1rem;
  font-family: system-ui, sans-serif;
  color: var(--text);
}

.now-show-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--card-bg);
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
  font-size: 0.95rem;
}

.now-show-card .now-thumb {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
}

.now-show-card .now-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.now-show-card .now-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.now-show-card h4 {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
  line-height: 1.2;
}

.now-show-card h4 a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.now-show-card h4 a:hover {
  color: var(--highlight);
}

.now-show-card .now-presenter {
  font-style: italic;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.now-show-card .now-desc {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.4;
  max-height: 4.5em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  margin-bottom: 0.3rem;
}

.now-show-card .now-readmore {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  margin-top: 0.2rem;
}

.now-show-card .now-readmore:hover {
  color: var(--highlight);
}

@media (max-width: 600px) {
  .now-show-card {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .now-show-card .now-thumb {
    width: 100%;
    height: auto;
  }

  .now-show-card .now-thumb img {
    width: 100%;
    height: auto;
  }
}
/* 🔧 Reparație layout: sidebar în dreapta pentru pagini cu ast-page-builder-template */
@media (min-width: 769px) {
  /* doar pentru desktop */
  .ast-page-builder-template.ast-right-sidebar #primary {
      width: 70% !important;
      float: left !important;
  }

  .ast-page-builder-template.ast-right-sidebar #secondary {
      width: 30% !important;
      float: right !important;
      display: block !important;
  }
}

@media (max-width: 768px) {
  /* pe mobil ascundem sidebar-ul */
  .ast-page-builder-template.ast-right-sidebar #secondary {
      display: none !important;
  }

  .ast-page-builder-template.ast-right-sidebar #primary {
      width: 100% !important;
      float: none !important;
  }
}

/* === Radio 90 Hit v11.0 core === */
:root{--r90h-bg:#0b0d12;--r90h-fg:#e6e8ec;--r90h-muted:#aab0bb;--r90h-card:#131722;--r90h-border:#2a3140;--r90h-accent:#5bbcff}
.light-mode{--r90h-bg:#fff;--r90h-fg:#0b0d12;--r90h-muted:#495262;--r90h-card:#f5f6f8;--r90h-border:#dde2ea;--r90h-accent:#006ad4}
html,body{background:var(--r90h-bg);color:var(--r90h-fg)}
a{color:var(--r90h-accent)}
#radio90hit-player.sticky-player{position:fixed;left:0;right:0;bottom:0;z-index:9999;display:grid;grid-template-columns:auto 1fr auto;gap:1rem;padding:.75rem 1rem;background:var(--r90h-card);border-top:1px solid var(--r90h-border)}
#radio90hit-player .player-info{display:flex;flex-direction:column;min-width:0}
#now-artist,#now-title,#now-show{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#now-artist{color:var(--r90h-muted);font-size:.95rem}
#now-title{font-weight:700;font-size:1.05rem}
#now-show{margin-top:.2rem;font-size:.9rem}
.player-cover{width:96px;height:96px;flex:0 0 96px;border-radius:8px;overflow:hidden}
.player-extra{min-width:0;overflow:hidden}
.player-controls button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:999px;border:1px solid var(--r90h-border);background:transparent}
@media (max-width:768px){#radio90hit-player.sticky-player{grid-template-columns:auto 1fr auto;gap:.75rem}.player-extra{display:none}}
#theme-toggle{position:fixed;right:12px;bottom:112px;z-index:10000}
