/* Cable Visión TV — Programación & Visión Noticias (sin fotos de conductores) */
.cvtv-schedule-hero {
  background: linear-gradient(135deg, #e8403c 0%, #c92b27 100%);
  color: #ffffff;
  padding: clamp(36px, 5vw, 68px) var(--pad, clamp(20px, 4vw, 68px));
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid #040505;
}

.cvtv-schedule-hero .hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Banner Visión Noticias recreado fielmente */
.cvtv-vn-banner {
  background: #de2c27;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  padding: clamp(24px, 4vw, 44px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}

.cvtv-vn-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

/* Floating broadcast decorative icons (vector doodles) */
.cvtv-vn-decor {
  position: absolute;
  pointer-events: none;
  opacity: 0.9;
  z-index: 1;
}

.cvtv-vn-decor svg {
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
}

.cvtv-vn-decor.decor-megaphone {
  top: 16px;
  left: 20px;
}

.cvtv-vn-decor.decor-note {
  bottom: 20px;
  left: 24px;
}

.cvtv-vn-decor.decor-mic {
  top: 18px;
  right: 28px;
}

.cvtv-vn-decor.decor-camera {
  bottom: 24px;
  right: 24px;
}

/* Main title branding */
.cvtv-vn-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 36px);
  margin-bottom: clamp(24px, 3.5vw, 36px);
  position: relative;
  z-index: 2;
}

.cvtv-vn-n-logo {
  flex-shrink: 0;
  width: clamp(64px, 8vw, 110px);
  height: clamp(64px, 8vw, 110px);
}

.cvtv-vn-n-logo svg {
  width: 100%;
  height: 100%;
  display: block;
}

.cvtv-vn-titles {
  display: flex;
  flex-direction: column;
}

.cvtv-vn-kicker {
  font-family: var(--display, 'Barlow Condensed', sans-serif);
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1;
}

.cvtv-vn-main-title {
  font-family: var(--display, 'Barlow Condensed', sans-serif);
  font-size: clamp(48px, 7.5vw, 98px);
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 0.95;
  margin: 0;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}

/* Divider line and schedule pills */
.cvtv-vn-schedule-strip {
  border-top: 2px solid rgba(255, 255, 255, 0.45);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.cvtv-vn-slots {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(12px, 2.5vw, 24px);
}

.cvtv-vn-slot {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cvtv-vn-slot-badge {
  display: inline-block;
  padding: 4px 14px;
  border: 1.5px solid #ffffff;
  border-radius: 999px;
  font-family: var(--body, 'Manrope', sans-serif);
  font-weight: 800;
  font-size: clamp(11px, 1.2vw, 13px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}

.cvtv-vn-slot-time {
  font-family: var(--display, 'Barlow Condensed', sans-serif);
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.cvtv-vn-channel-pill {
  background: #ffffff;
  color: #040505;
  padding: 8px 20px;
  border-radius: 999px;
  font-family: var(--body, 'Manrope', sans-serif);
  font-weight: 800;
  font-size: clamp(13px, 1.3vw, 16px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cvtv-vn-channel-pill strong {
  color: #e8403c;
}

/* Intro text below banner */
.cvtv-schedule-intro {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.cvtv-schedule-intro p {
  font-size: clamp(16px, 1.4vw, 19px);
  color: rgba(255, 255, 255, 0.95);
  max-width: 65ch;
  margin: 0;
  line-height: 1.5;
}

.cvtv-schedule-intro .cvtv-live-cta {
  background: #040505;
  color: #ffffff;
  padding: 12px 22px;
  border-radius: 6px;
  font-family: var(--body, 'Manrope', sans-serif);
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.cvtv-schedule-intro .cvtv-live-cta:hover {
  background: #222226;
  transform: translateY(-2px);
}

/* Filter controls bar */
.cvtv-schedule-controls {
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.cvtv-controls-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px var(--pad, clamp(20px, 4vw, 68px));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Day selector tabs */
.cvtv-day-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cvtv-day-tab {
  background: #f1f1f3;
  border: 1px solid #dcdce0;
  color: #333338;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--body, 'Manrope', sans-serif);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cvtv-day-tab:hover {
  background: #e5e5ea;
  color: #040505;
}

.cvtv-day-tab.is-active,
.cvtv-day-tab[aria-pressed="true"] {
  background: #040505;
  border-color: #040505;
  color: #ffffff;
}

/* Time slot pills */
.cvtv-slot-filters {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.cvtv-slot-btn {
  background: transparent;
  border: 1px solid transparent;
  color: #55555c;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cvtv-slot-btn:hover {
  color: #040505;
  background: #f7f7f9;
}

.cvtv-slot-btn.is-active,
.cvtv-slot-btn[aria-pressed="true"] {
  color: #e8403c;
  background: #fdf2f2;
  border-color: #fbd6d5;
  font-weight: 700;
}

/* Main Grid & Program Cards */
.cvtv-schedule-body {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 64px) var(--pad, clamp(20px, 4vw, 68px));
}

.cvtv-live-now-notice {
  background: #040505;
  color: #ffffff;
  border-radius: 12px;
  padding: 18px 24px;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border-left: 6px solid #e8403c;
}

.cvtv-live-now-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cvtv-pulse-dot {
  width: 12px;
  height: 12px;
  background: #e8403c;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(232, 64, 60, 0.7);
  animation: cvtv-pulse 1.8s infinite;
}

@keyframes cvtv-pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(232, 64, 60, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(232, 64, 60, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(232, 64, 60, 0); }
}

.cvtv-live-now-label {
  font-family: var(--display, 'Barlow Condensed', sans-serif);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e8403c;
  font-weight: 800;
  display: block;
}

.cvtv-live-now-title {
  font-family: var(--display, 'Barlow Condensed', sans-serif);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  margin: 0;
  color: #ffffff;
}

.cvtv-live-now-btn {
  background: #e8403c;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.cvtv-live-now-btn:hover {
  background: #c72d2b;
}

/* Program Grid Layout */
.cvtv-program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
}

/* Individual Card (Strictly NO photos) */
.cvtv-program-card {
  background: #ffffff;
  border: 1px solid #e2e2e6;
  border-radius: 12px;
  padding: 26px 30px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.cvtv-program-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  border-color: #d0d0d8;
}

/* Flagship / Visión Noticias Card variant */
.cvtv-program-card.is-flagship {
  border-left: 6px solid #e8403c;
  padding-left: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #fffbfa 100%);
}

.cvtv-program-card.is-now-playing {
  border: 2px solid #e8403c;
  box-shadow: 0 8px 24px rgba(232, 64, 60, 0.15);
}

.cvtv-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.cvtv-card-time {
  font-family: var(--display, 'Barlow Condensed', sans-serif);
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 800;
  color: #e8403c;
  letter-spacing: 0.02em;
}

.cvtv-card-category {
  font-family: var(--body, 'Manrope', sans-serif);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 4px;
  background: #f1f1f3;
  color: #44444a;
}

.cvtv-program-card.is-flagship .cvtv-card-category {
  background: #fde8e7;
  color: #b32724;
}

.cvtv-card-title {
  font-family: var(--display, 'Barlow Condensed', sans-serif);
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 800;
  line-height: 1.1;
  color: #040505;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.cvtv-card-summary {
  font-family: var(--body, 'Manrope', sans-serif);
  font-size: 14.5px;
  line-height: 1.6;
  color: #55555e;
  margin: 0 0 20px;
  flex-grow: 1;
}

.cvtv-card-footer {
  border-top: 1px solid #f0f0f2;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #777780;
}

.cvtv-card-tunein {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.cvtv-card-action {
  color: #e8403c;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s ease;
}

.cvtv-card-action:hover {
  color: #a8221f;
  text-decoration: underline;
}

/* Empty state when filtering */
.cvtv-schedule-empty {
  text-align: center;
  padding: 48px 24px;
  background: #f8f8fa;
  border-radius: 12px;
  border: 1px dashed #d5d5dc;
  color: #666670;
}

/* Broadcast information box at bottom */
.cvtv-tune-box {
  margin-top: 48px;
  background: #040505;
  color: #ffffff;
  border-radius: 14px;
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cvtv-tune-copy h3 {
  font-family: var(--display, 'Barlow Condensed', sans-serif);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  margin: 0 0 8px;
  color: #ffffff;
}

.cvtv-tune-copy p {
  margin: 0;
  color: #aaaaaf;
  font-size: 15px;
  max-width: 60ch;
}

.cvtv-tune-channels {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cvtv-channel-tag {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 18px;
  border-radius: 8px;
  font-family: var(--display, 'Barlow Condensed', sans-serif);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.cvtv-channel-tag strong {
  color: #e8403c;
}

/* Responsive queries */
@media (max-width: 768px) {
  .cvtv-vn-center {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .cvtv-vn-schedule-strip {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .cvtv-vn-slots {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .cvtv-program-grid {
    grid-template-columns: 1fr;
  }
  .cvtv-vn-decor {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cvtv-pulse-dot {
    animation: none;
  }
  .cvtv-program-card {
    transition: none !important;
    transform: none !important;
  }
}
