/* Studio74 — Minimal Dark Radio */

:root {
  --bg:           #09090b;
  --surface:      #0f0f12;
  --border:       rgba(255, 255, 255, 0.06);
  --border-hi:    rgba(255, 255, 255, 0.12);
  --text:         #f4f4f5;
  --muted:        #71717a;
  --red:          #e31b2f;
  --red-dark:     #c41827;
  --red-glow:     rgba(227, 27, 47, 0.32);
  --green:        #22c55e;
  --yellow:       #eab308;
}

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

/* ─── Router ────────────────────────────────────────── */
#router-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: var(--red);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
}

#page-content {
  transition: opacity 0.15s;
}

#page-content.page-loading {
  opacity: 0.45;
  pointer-events: none;
}

@keyframes page-fade-in {
  from { opacity: 0; transform: translateY(7px); }
  to   { opacity: 1; transform: translateY(0); }
}

#page-content.page-enter {
  animation: page-fade-in 0.28s ease;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

body.mobile-nav-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

img   { display: block; max-width: 100%; }
a     { color: inherit; text-decoration: none; }
button, input { font: inherit; }

/* ─── Container ────────────────────────────────────── */
.container {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 48px);
}

/* ─── Topbar ────────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(9, 9, 11, 0.82);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 60px;
  padding: 0 40px;
}

.topbar-actions {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-hi);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}

.nav-toggle:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle:active {
  transform: scale(0.97);
}

.nav-toggle-box {
  display: grid;
  gap: 4px;
}

.nav-toggle-box span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  z-index: 39;
  padding: 14px 18px 20px;
  background: rgba(9, 9, 11, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform: translateY(-110%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.mobile-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-inner {
  width: min(100%, 680px);
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

.mobile-nav-link::after {
  content: "↗";
  color: var(--muted);
}

.mobile-nav-link:hover {
  border-color: var(--border-hi);
}


.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.brand-copy         { display: grid; gap: 1px; }

.brand-copy strong {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}

.brand-copy span {
  font-size: 0.72rem;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #9a9aaa;
}

.nav {
  display: flex;
  gap: 22px;
}

.nav a {
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.15s;
}

.nav a:hover { color: var(--text); }

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-hi);
  border-radius: 4px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  transition: background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
  user-select: none;
}

.live-pill.tone-live {
  background: transparent;
  border-color: var(--red);
  color: var(--red);
  box-shadow: 0 0 10px var(--red-glow);
}

.live-pill.tone-error {
  background: rgba(227, 27, 47, 0.12);
  border-color: rgba(227, 27, 47, 0.3);
  color: #f87171;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.tone-live .live-dot { animation: pulse-dot 1.2s ease-in-out infinite; }

/* ─── Hero + Parallax ──────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #06060a;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(9, 9, 11, 0.68) 0%,
    rgba(9, 9, 11, 0.80) 45%,
    rgba(9, 9, 11, 0.97) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 380px;
  align-items: start;
  gap: 72px;
  width: 100%;
  max-width: 1100px;
  padding: 88px 60px 72px;
}

/* ─── Columna izquierda: marca ─── */
.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* ─── Eyebrow ─── */
.eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 20px;
}

/* ─── Hero title ─── */
.hero-title {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 900;
  font-size: clamp(4.5rem, 9vw, 10rem);
  line-height: 0.85;
  letter-spacing: -0.03em;
}

.hero-title span { color: var(--red); }

.hero-sub {
  margin: 18px 0 0;
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 400;
  color: #9a9aaa;
  letter-spacing: 0.1em;
}

.hero-rule {
  width: 48px;
  height: 2px;
  background: var(--red);
  margin: 28px 0;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

.hero-meta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 1.8s ease infinite;
  flex-shrink: 0;
}

/* ─── Columna derecha: reproductor ─── */
.hero-player {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding-top: 2.2rem;
}

.player-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: min(100%, 196px);
}

.player-volume-inline {
  width: min(100%, 168px);
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
  opacity: 0.78;
}

.player-volume-icon {
  width: 14px;
  height: 14px;
  color: var(--muted);
}

.player-volume-slider {
  --volume-fill: 100%;
  width: 100%;
  height: 3px;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  outline: none;
}

.player-volume-slider::-webkit-slider-runnable-track {
  height: 3px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red) var(--volume-fill), rgba(255, 255, 255, 0.14) var(--volume-fill));
}

.player-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(227, 27, 47, 0.14);
  cursor: pointer;
  margin-top: -3.5px;
}

.player-volume-slider::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(227, 27, 47, 0.14);
  cursor: pointer;
}

.player-volume-slider::-moz-range-track {
  height: 3px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.player-volume-slider::-moz-range-progress {
  height: 3px;
  border-radius: 999px;
  background: var(--red);
}

.player-volume-value {
  min-width: 34px;
  text-align: right;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ─── Play button hub ─── */
.player-hub {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

#ripples {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.ripple {
  position: absolute;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 1.5px solid var(--red);
  animation: ripple-out 2.2s ease-out infinite;
  pointer-events: none;
  opacity: 0;
}

.ripple-1 { animation-delay: 0s; }
.ripple-2 { animation-delay: 0.7s; }
.ripple-3 { animation-delay: 1.4s; }

.play-btn {
  position: relative;
  z-index: 1;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 1.5px solid var(--border-hi);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.play-btn.active {
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 0 0 1px var(--red-glow), 0 18px 44px var(--red-glow);
}

.play-btn:not(:disabled):hover { transform: scale(1.06); }

.play-btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

/* ─── Track info ─── */
.track-info {
  display: grid;
  gap: 4px;
}

.track-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.track-artist {
  margin: 0;
  font-size: 0.83rem;
  color: var(--muted);
}

/* ─── Status line ─── */
.status-line {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.status-line .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-live  .status-dot { background: var(--green); }
.status-error .status-dot { background: #f87171; }
.status-idle  .status-dot { background: var(--yellow); }


/* ─── Ticker bar ─ forma de trapecio ────────────────── */
.ticker-bar {
  display: flex;
  align-items: stretch;
  background: var(--red);
  color: #fff;
  overflow: hidden;
  /* trapecio invertido: estrecho arriba (36px por lado), rectangular abajo */
  clip-path: polygon(36px 0, calc(100% - 36px) 0, 100% 100%, 0 100%);
}

.ticker-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px 11px 40px; /* extra izquierda para el corte superior */
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  white-space: nowrap;
  flex-shrink: 0;
}

.ticker-content { overflow: hidden; flex: 1; }

.ticker-track {
  display: flex;
  gap: 64px;
  min-width: max-content;
  white-space: nowrap;
  padding: 11px 40px 11px 24px; /* extra derecha para el corte superior */
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  animation: ticker 24s linear infinite;
}

/* ─── Sections ──────────────────────────────────────── */
.section {
  padding: 68px 0;
  border-top: 1px solid var(--border);
}

.section-alt { background: var(--surface); }

/* ─── Fondo de imagen en sección Programación ───────── */
.section-bg-studio {
  position: relative;
  overflow: hidden;
}
.section-bg-studio::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("img/cover3.jpeg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.10;
  pointer-events: none;
  z-index: 0;
}
.section-bg-studio .container {
  position: relative;
  z-index: 1;
}

/* ─── Galería ────────────────────────────────────────── */
.gallery-section {
  padding-bottom: 68px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: 270px 270px;
  gap: 5px;
  margin-top: 32px;
  padding: 0 clamp(24px, 4vw, 48px);
}

.gallery-item {
  overflow: hidden;
  position: relative;
  background: var(--surface);
}

.gallery-item--main {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.section-header { margin-bottom: 30px; }

.section-header .eyebrow { margin-bottom: 8px; }

.section-header h2 {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  line-height: 1.1;
}

/* ─── History — simple divider list ─────────────────── */
.history-list { display: grid; }

.history-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.history-item:last-child { border-bottom: none; }

.history-time {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.05em;
  min-width: 44px;
  font-variant-numeric: tabular-nums;
}

.history-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted);
  flex-shrink: 0;
}

.history-meta { flex: 1; min-width: 0; display: grid; gap: 2px; }

.history-meta strong {
  font-size: 0.9rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-meta span {
  font-size: 0.78rem;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ─── Schedule — divider rows ───────────────────────── */
.schedule-list { display: grid; }

.schedule-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.schedule-item:last-child { border-bottom: none; }

.schedule-time {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-top: 3px;
  line-height: 1.4;
}

.schedule-info { display: grid; gap: 3px; }

.schedule-info h3 {
  margin: 0;
  font-size: 0.97rem;
  font-weight: 700;
  line-height: 1.3;
}

.schedule-info strong {
  font-size: 0.77rem;
  color: var(--muted);
  font-weight: 600;
}

.schedule-info p {
  margin: 4px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ─── Footer ────────────────────────────────────────── */
.footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(9, 9, 11, 0.86) 0%, rgba(9, 9, 11, 0.96) 100%),
    #09090b;
  padding: 44px 0 16px;
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("img/banner-horizontal.jpeg");
  background-size: cover;
  background-position: center top;
  opacity: 0.14;
  pointer-events: none;
  z-index: 0;
}
.footer::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0.5;
}
.footer-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 48px);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: clamp(36px, 8vw, 120px);
  align-items: end;
  padding: 0 0 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.footer-logo {
  width: min(100%, 140px);
  object-fit: contain;
  opacity: 0.95;
  transition: opacity 0.2s, transform 0.2s;
}

.footer-logo:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.footer-kicker {
  display: none;
}

.footer-heading {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.65rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
  max-width: 16ch;
}

.footer-heading span {
  color: var(--red);
}

.footer-copy {
  display: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.footer-card {
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.footer-card-title {
  margin: 0 0 14px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.footer-link-list {
  display: grid;
  gap: 9px;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0;
  width: fit-content;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.15s, transform 0.15s;
}

.footer-link::before {
  content: none;
}

.footer-link:hover {
  color: #ffffff;
  transform: translateX(2px);
}

.footer-contact-list {
  display: grid;
  gap: 10px;
}

.footer-contact-item {
  display: grid;
  gap: 3px;
}

.footer-contact-label {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.footer-contact-value {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  overflow-wrap: anywhere;
}

.footer-tagline {
  margin: 0;
  font-size: 0.75rem;
  font-style: italic;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 18px 0 0;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.58);
  transition: color 0.15s, transform 0.18s;
  text-decoration: none;
}

.footer-social:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.footer-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: currentColor;
  transition: color 0.18s, transform 0.15s;
}

.footer-social:hover .footer-social-icon {
  color: var(--red);
  transform: scale(1.05);
}

.footer-social-label {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 0 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 18px;
  font-size: 0.66rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  flex-wrap: wrap;
}

.footer-bottom-copy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-sep { opacity: 0.35; }

.footer-bottom-right {
  font-size: 0.66rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

/* ─── Mini player · pill flotante centrado ──────────── */
.mini-player {
  position: fixed;
  bottom: 28px;
  right: 32px;
  z-index: 35;
  display: flex;
  align-items: center;
  gap: 14px;
  height: 44px;
  padding: 0 18px;
  background: rgba(14, 14, 17, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.55);
  transition: box-shadow 0.25s;
  white-space: nowrap;
}

.mini-player.is-playing {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.55), 0 0 22px var(--red-glow);
}

.mini-signal {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 18px;
  flex-shrink: 0;
}

.mini-label {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  align-self: center;
  padding: 0 3px;
  user-select: none;
}

.mini-button {
  width: 30px;
  min-width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s, transform 0.1s;
}

.mini-button:hover {
  background: var(--red-dark);
  transform: scale(1.07);
}

/* ─── Equalizer bars ────────────────────────────────── */
.equalizer-bar {
  width: 3px;
  height: 14px;
  background: var(--red);
  border-radius: 2px;
  transform-origin: bottom;
  transform: scaleY(0.2);
  opacity: 0.35;
  transition: opacity 0.3s;
}

.is-playing .equalizer-bar { opacity: 1; }

.is-playing .equalizer-bar:nth-child(1) { animation: eq1 0.85s ease-in-out infinite; }
.is-playing .equalizer-bar:nth-child(2) { animation: eq2 1.10s ease-in-out infinite; }
.is-playing .equalizer-bar:nth-child(3) { animation: eq3 0.72s ease-in-out infinite; }
.is-playing .equalizer-bar:nth-child(4) { animation: eq4 1.30s ease-in-out infinite; }

/* ─── Keyframes ─────────────────────────────────────── */
@keyframes ripple-out {
  0%   { transform: scale(1);   opacity: 0.5; }
  100% { transform: scale(2.6); opacity: 0; }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.35; }
}

/* ─── Badge combinado: hora + clima ─────────────────── */
.topbar-right {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

.topbar-socials {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topbar-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  transition: color 0.15s, border-color 0.15s, background 0.15s, transform 0.15s;
}

.topbar-social:hover {
  color: #fff;
  background: rgba(227, 27, 47, 0.12);
  border-color: rgba(227, 27, 47, 0.34);
  transform: translateY(-1px);
}

.nav-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-hi);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.05em;
  color: var(--text);
  white-space: nowrap;
  user-select: none;
}

.nav-badge-period {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
  background: rgba(234, 179, 8, 0.14);
  border: 1px solid rgba(234, 179, 8, 0.25);
  border-radius: 4px;
  padding: 1px 5px;
  line-height: 1.4;
}

.nav-badge-icon {
  width: 11px;
  height: 11px;
  color: var(--muted);
  flex-shrink: 0;
}

.nav-badge-sep {
  color: var(--muted);
  opacity: 0.5;
  font-weight: 400;
}

.nav-badge-temp {
  color: #7dd3fc;
  font-weight: 700;
}

/* ─── Portada con crossfade ─────────────────────────── */
@keyframes art-fade {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}

.hero-art {
  width: 100%;
  max-width: 160px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  animation: art-fade 0.55s ease;
  flex-shrink: 0;
}

.mini-art img {
  animation: art-fade 0.55s ease;
}

/* ─── Soundwave animada ─────────────────────────────── */
.soundwave {
  display: flex;
  align-items: center;
  gap: 2px;
  width: 100%;
  max-width: 168px;
  height: 28px;
  margin: 0 auto;
}

.soundwave-bar {
  flex: 1;
  height: 100%;
  background: var(--red);
  border-radius: 2px;
  transform: scaleY(0.08);
  transform-origin: center;
  opacity: 0.25;
  animation: wave-bar 1.1s ease-in-out infinite;
  animation-play-state: paused;
  transition: opacity 0.4s;
}

.soundwave.playing .soundwave-bar {
  animation-play-state: running;
  opacity: 1;
}

.soundwave-bar:nth-child(odd)  { animation-duration: 0.9s; }
.soundwave-bar:nth-child(3n)   { animation-duration: 1.3s; }

@keyframes wave-bar {
  0%, 100% { transform: scaleY(0.08); }
  50%       { transform: scaleY(1); }
}

@keyframes eq1 {
  0%, 100% { transform: scaleY(0.2); }
  50%      { transform: scaleY(1);   }
}
@keyframes eq2 {
  0%       { transform: scaleY(0.7); }
  30%      { transform: scaleY(0.15); }
  70%      { transform: scaleY(1);   }
  100%     { transform: scaleY(0.7); }
}
@keyframes eq3 {
  0%, 100% { transform: scaleY(0.35); }
  40%      { transform: scaleY(1);    }
  65%      { transform: scaleY(0.2);  }
}
@keyframes eq4 {
  0%       { transform: scaleY(0.9);  }
  25%      { transform: scaleY(0.15); }
  60%      { transform: scaleY(0.75); }
  100%     { transform: scaleY(0.9);  }
}

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

/* ─── Responsive ────────────────────────────────────── */
@media (max-width: 900px) {
  .hero { background-attachment: scroll; }
}

@media (max-width: 1100px) {
  .topbar-inner { padding: 0 24px; }
  .nav { gap: 14px; }
  .nav a { font-size: 0.68rem; }
  .hero-inner {
    gap: 48px;
    padding-left: 36px;
    padding-right: 36px;
  }
}

@media (max-width: 920px) {
  .mobile-nav { display: block; }

  .topbar-inner {
    grid-template-columns: 1fr auto;
    gap: 16px;
  }

  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-badge { display: none !important; }
  .topbar-socials { display: none; }

  .topbar-actions {
    gap: 10px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 84px 32px 56px;
    gap: 40px;
  }

  .hero-brand,
  .hero-meta {
    align-items: center;
    text-align: center;
  }

  .hero-player {
    width: 100%;
    padding-top: 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, minmax(220px, 52vw));
  }

  .gallery-item--main {
    grid-row: span 1;
  }

  .footer-top {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 32px;
  }

  .footer-socials {
    flex-wrap: wrap;
  }

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

  .timeline-card-img {
    min-height: unset;
    height: 220px;
  }
}

@media (max-width: 640px) {
  .container,
  .footer-inner { padding-left: 18px; padding-right: 18px; }
  .gallery-grid { padding-left: 18px; padding-right: 18px; }
  .topbar-inner { padding: 0 18px; }
  .topbar-actions { gap: 8px; }
  .mobile-nav { padding: 12px 16px 18px; }
  .mobile-nav-link { font-size: 0.74rem; }
  .live-pill {
    padding: 6px 10px;
    letter-spacing: 0.14em;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 80px 24px 52px;
    gap: 48px;
  }
  .hero { min-height: auto; }
  .hero-brand { align-items: center; text-align: center; }
  .hero-meta  { align-items: center; }
  .hero-sub { letter-spacing: 0.06em; }
  .play-btn   { width: 86px; height: 86px; font-size: 1.2rem; }
  .ripple     { width: 86px; height: 86px; }

  .section     { padding: 52px 0; }

  .schedule-item { grid-template-columns: 1fr; gap: 12px; }
  .schedule-time { min-width: auto; }

  .footer {
    padding: 38px 0 18px;
  }
  .footer::before {
    background-position: 58% top;
    opacity: 0.11;
  }
  .footer-inner { text-align: left; }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 26px;
    align-items: start;
    padding-bottom: 24px;
  }
  .footer-brand-section,
  .footer-card,
  .footer-contact-item { text-align: left; }
  .footer-brand-section { align-items: flex-start; }
  .footer-logo {
    width: min(100%, 118px);
    margin: 0;
  }
  .footer-heading {
    max-width: 12ch;
    font-size: 1.35rem;
  }
  .footer-copy { max-width: none; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 0;
    width: 100%;
  }
  .footer-card {
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .footer-card:last-child {
    padding-bottom: 0;
  }
  .footer-card-title {
    margin-bottom: 12px;
    font-size: 0.6rem;
  }
  .footer-link-list {
    gap: 10px;
  }
  .footer-link,
  .footer-contact-value {
    font-size: 0.9rem;
  }
  .footer-link { justify-content: flex-start; }
  .footer-contact-list,
  .footer-socials { justify-content: flex-start; }
  .footer-contact-list {
    gap: 14px;
  }
  .footer-contact-label {
    font-size: 0.58rem;
  }
  .footer-socials {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
    padding-top: 20px;
  }
  .footer-social {
    width: 100%;
    min-height: 26px;
  }
  .footer-social-label {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
  }
  .footer-bottom {
    justify-content: flex-start;
    text-align: left;
    gap: 12px;
    padding-top: 18px;
    margin-top: 18px;
    font-size: 0.62rem;
    line-height: 1.55;
    letter-spacing: 0.04em;
  }
  .footer-bottom-copy {
    display: grid;
    gap: 6px;
    justify-content: flex-start;
    width: 100%;
  }
  .footer-sep { display: none; }
  .footer-bottom-right {
    width: 100%;
  }

  .mini-player {
    left: 16px;
    right: 16px;
    bottom: 18px;
    padding: 0 16px;
    gap: 12px;
    justify-content: space-between;
  }
  .mini-live   { display: none; }
  .mini-signal { display: none; }
  .slider-nav {
    width: 38px;
    height: 38px;
  }
  .noticias-slider-wrap {
    gap: 10px;
  }
  .noticia-body {
    padding: 16px 16px 18px;
  }
}

/* ─── Noticias — sección principal ─────────────────── */
.noticias-container {
  max-width: 1100px;
}

/* ─── Slider ─────────────────────────────────────────── */
.noticias-slider-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}

.slider-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.slider-track {
  display: flex;
  gap: 20px;
  transition: transform 0.46s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.slider-nav {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-hi);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s, opacity 0.2s;
}

.slider-nav:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
}

.slider-nav:disabled {
  opacity: 0.2;
  cursor: default;
}

.slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: var(--border-hi);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.22s, width 0.22s;
}

.slider-dot.active {
  width: 26px;
  background: var(--red);
}

/* Grid (usado en noticias.php) */
.noticias-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.noticia-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.noticia-card:hover {
  border-color: var(--red);
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
}

.noticia-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.noticia-img {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0f0f14;
}

.noticia-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.42s ease;
}

.noticia-card:hover .noticia-img img {
  transform: scale(1.06);
}

.noticia-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #111116 0%, #1a1a22 100%);
}

.noticia-categoria {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  background: var(--red);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 4px;
}

.noticia-body {
  padding: 20px;
  display: grid;
  gap: 8px;
}

.noticia-body h2,
.noticia-body h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.noticia-body time {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

.noticia-body p {
  margin: 0;
  font-size: 0.81rem;
  color: var(--muted);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-ver-todas {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 26px;
  border: 1px solid var(--border-hi);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.15s, border-color 0.15s;
}

.btn-ver-todas:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.28);
}

.noticias-vacio {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  padding: 56px 0;
}

/* ─── Category nav ───────────────────────────────────── */
.cat-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 0 6px;
  margin-top: 28px;
}

.cat-nav::-webkit-scrollbar { display: none; }

.cat-nav-item {
  display: inline-flex;
  align-items: center;
  padding: 7px 18px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  color: var(--muted);
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.cat-nav-item:hover {
  color: var(--text);
  border-color: var(--border-hi);
}

.cat-nav-item.active {
  border-color: var(--red);
  background: rgba(227, 27, 47, 0.1);
  color: var(--red);
}

/* ─── Timeline ───────────────────────────────────────── */
.timeline-section {
  padding: 60px 0 88px;
}

.timeline-container {
  max-width: 800px;
}

.timeline-day-group {
  margin-bottom: 60px;
}

.timeline-day-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  margin: 0 0 0 48px;
}

.timeline {
  position: relative;
  margin-top: 4px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 20px;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  padding: 24px 0 24px 48px;
  border-bottom: 1px solid var(--border);
}

.timeline-item:last-child { border-bottom: none; padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: 5px;
  top: 30px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 1.5px var(--red);
  z-index: 1;
}

.timeline-time {
  display: block;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.timeline-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.timeline-card:hover {
  border-color: var(--border-hi);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.timeline-card-img {
  display: block;
  overflow: hidden;
  background: #0a0a0e;
  min-height: 140px;
}

.timeline-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.timeline-card:hover .timeline-card-img img {
  transform: scale(1.06);
}

.timeline-card-body {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.timeline-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}

.timeline-title a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.15s;
}

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

.timeline-excerpt {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.timeline-read-more {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: none;
  transition: opacity 0.15s;
  align-self: flex-start;
}

.timeline-read-more:hover { opacity: 0.7; }

.timeline-card.no-img {
  grid-template-columns: 1fr;
}

/* subtítulo en página de noticias/categoría */
.noticias-page-subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 6px 0 0;
}

/* ─── Noticias — página listado ─────────────────────── */
.noticias-page-hero {
  padding: 72px 0 48px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.noticias-page-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
}

/* ─── Paginación ─────────────────────────────────────── */
.paginacion {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 7px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--surface);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
  white-space: nowrap;
}

.page-btn:hover { color: var(--text); border-color: var(--border-hi); }

.page-btn-active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* ─── Artículo individual ───────────────────────────── */
.articulo-wrap {
  min-height: 80vh;
}

.articulo-hero-img {
  position: relative;
  width: 100%;
  height: clamp(240px, 40vw, 480px);
  overflow: hidden;
  background: #0a0a0e;
}

.articulo-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.articulo-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, var(--bg) 100%);
}

.articulo-container {
  max-width: 740px;
  padding-top: 56px;
  padding-bottom: 88px;
}

/* Sin imagen hero: el container es el primer hijo → más espacio superior */
.articulo-wrap > .container:first-child {
  padding-top: 76px;
}

.articulo-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.noticia-categoria-inline {
  background: var(--red);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}

.articulo-meta time {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
}

.articulo-titulo {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 36px;
}

/* Estilos para el contenido generado por Quill */
.ql-editor-output {
  font-size: 1rem;
  line-height: 1.8;
  color: #d4d4d8;
  overflow-wrap: anywhere;
}

.ql-editor-output h2 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  margin: 2em 0 0.6em;
  color: var(--text);
}

.ql-editor-output h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 1.6em 0 0.5em;
  color: var(--text);
}

.ql-editor-output p  { margin: 0 0 1.2em; }
.ql-editor-output ul,
.ql-editor-output ol { padding-left: 1.6em; margin: 0 0 1.2em; }
.ql-editor-output li { margin-bottom: 0.4em; }

.ql-editor-output a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ql-editor-output blockquote {
  border-left: 3px solid var(--red);
  padding: 8px 0 8px 18px;
  margin: 1.4em 0;
  color: var(--muted);
  font-style: italic;
}

.ql-editor-output strong { color: var(--text); }

/* Imágenes embebidas en el contenido */
.ql-editor-output img {
  max-width: 100%;
  border-radius: 8px;
  margin: 1.2em 0;
  display: block;
}

.ql-editor-output pre,
.ql-editor-output table {
  max-width: 100%;
  overflow-x: auto;
  display: block;
}

/* Videos embebidos (YouTube / Vimeo) */
.ql-editor-output iframe,
.ql-editor-output .ql-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 10px;
  margin: 1.6em 0;
}

/* Separador "more" — oculto en la página pública */
.ql-editor-output hr.more-separator { display: none; }

.articulo-footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* ─── Card destacada (primera noticia) ──────────────── */
.noticia-card--featured {
  grid-column: span 2;
}

.noticia-card--featured .noticia-img {
  aspect-ratio: 21 / 9;
}

.noticia-card--featured .noticia-body {
  padding: 24px 24px 20px;
  gap: 10px;
}

.noticia-card--featured .noticia-body h2 {
  font-size: 1.2rem;
  -webkit-line-clamp: 3;
}

.noticia-card--featured .noticia-body p {
  font-size: 0.85rem;
  -webkit-line-clamp: 4;
}

/* ─── Botón "Leer nota" en hover ────────────────────── */
.noticia-read-more {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  margin-top: 2px;
}

.noticia-card:hover .noticia-read-more {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Share bar (artículo) ───────────────────────────── */
.share-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 40px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.share-label {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 6px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}

.share-btn:hover {
  color: var(--text);
  border-color: var(--border-hi);
}

.share-btn--copied {
  color: var(--green) !important;
  border-color: var(--green) !important;
}

/* ─── Responsive noticias ────────────────────────────── */
@media (max-width: 960px) {
  .noticias-grid { grid-template-columns: repeat(2, 1fr); }
  .noticias-container { max-width: 100%; }
}

@media (max-width: 640px) {
  .noticias-grid { grid-template-columns: 1fr; }
  .noticia-card--featured { grid-column: span 1; }
  .noticia-card--featured .noticia-img { aspect-ratio: 16 / 9; }
  .noticia-card--featured .noticia-body h2 { font-size: 1rem; }
  .noticias-page-hero { padding: 52px 0 36px; }
  .articulo-container { padding-top: 44px; padding-bottom: 72px; }
  .articulo-wrap > .container:first-child { padding-top: 60px; }
  .articulo-meta {
    flex-wrap: wrap;
    gap: 10px;
  }
  .articulo-titulo { letter-spacing: -0.01em; }

  /* Timeline responsive */
  .timeline-card {
    grid-template-columns: 1fr;
  }
  .timeline-card-img {
    height: 180px;
    min-height: unset;
  }
  .timeline-card-body {
    padding: 16px;
  }
  .timeline-day-label { margin-left: 36px; }
  .timeline-item { padding-left: 36px; }
}
