/*
Theme Name: QVTV
Template: asap
Version: 1.1.111
*/

/* =========================================================
   QUÉ VER TV - TEMA HIJO
   Diseño moderno tipo guía / cartelera de TV
   Base: Asap Theme + QVTV Core
   ========================================================= */


/* =========================================================
   QVTV - FUENTES LOCALES
   Sustituye el @font-face inline del tema padre Asap.
   ========================================================= */

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 300;
  src: url("../asap/assets/fonts/poppins-300.woff2") format("woff2"),
       url("../asap/assets/fonts/poppins-300.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  src: url("../asap/assets/fonts/poppins-400.woff2") format("woff2"),
       url("../asap/assets/fonts/poppins-400.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  src: url("../asap/assets/fonts/poppins-700.woff2") format("woff2"),
       url("../asap/assets/fonts/poppins-700.woff") format("woff");
  font-display: swap;
}

/* =========================================================
   PALETA GLOBAL
   ========================================================= */

:root {
  --qvtv-bg: #f4f7fb;
  --qvtv-surface: #ffffff;
  --qvtv-surface-2: #eef4ff;
  --qvtv-surface-3: #f8fbff;
  --qvtv-ink: #101828;
  --qvtv-muted: #667085;
  --qvtv-soft: #98a2b3;
  --qvtv-line: #d9e2ec;

  --qvtv-brand: #0b1f3a;
  --qvtv-brand-soft: #102a4d;
  --qvtv-brand-2: #2563eb;
  --qvtv-accent: #06b6d4;
  --qvtv-live: #e11d48;
  --qvtv-now: #facc15;

  --qvtv-green: #16a34a;
  --qvtv-purple: #7c3aed;
  --qvtv-orange: #ea580c;
  --qvtv-pink: #c026d3;

  --qvtv-radius-sm: 10px;
  --qvtv-radius: 16px;
  --qvtv-radius-lg: 22px;

  --qvtv-shadow-sm: 0 6px 18px rgba(16, 24, 40, 0.05);
  --qvtv-shadow: 0 12px 34px rgba(16, 24, 40, 0.08);
}

/* =========================================================
   BASE GENERAL
   ========================================================= */

html {
  scroll-behavior: smooth;
}

body {
  background: var(--qvtv-bg) !important;
  color: var(--qvtv-ink);
  text-rendering: optimizeLegibility;
}

a {
  color: var(--qvtv-brand-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--qvtv-brand);
}

p {
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--qvtv-ink);
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  line-height: 1.15;
}

h3 {
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
  line-height: 1.2;
}

.entry-content {
  font-size: 1rem;
  line-height: 1.72;
}

.entry-content p {
  margin-bottom: 1rem;
}

#page,
.site,
.main,
.main-content,
.content-area,
.entry-content,
.page-content,
.site-content,
#content {
  background: transparent !important;
}

/* =========================================================
   CABECERA
   ========================================================= */

.site-header,
.header,
.header-main,
#header {
  background: var(--qvtv-brand) !important;
  color: #ffffff;
  border-bottom: 4px solid var(--qvtv-now) !important;
  box-shadow: none;
}

.site-header a,
.header a,
.header-main a,
#header a {
  color: #ffffff;
  text-decoration: none;
}

.site-title,
.site-title a,
.logo,
.logo a {
  color: #ffffff !important;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.site-title::after,
.logo::after {
  content: "";
  display: inline-block;
  width: .46em;
  height: .46em;
  margin-left: .24em;
  border-radius: 999px;
  background: var(--qvtv-now);
  vertical-align: middle;
}

.site-description {
  color: rgba(255, 255, 255, .78);
  font-size: .92rem;
}

.main-navigation a,
.menu a,
.nav-menu a {
  font-weight: 750;
  text-decoration: none;
}

.main-navigation a:hover,
.menu a:hover,
.nav-menu a:hover {
  color: var(--qvtv-now) !important;
}

/* =========================================================
   PORTADA / HOME
   ========================================================= */

.home .entry-title,
.front-page .entry-title,
.home .page-title,
.front-page .page-title,
.home .post-title,
.front-page .post-title,
.home .single-title,
.front-page .single-title,
.home .yoast-breadcrumbs,
.front-page .yoast-breadcrumbs,
.home .breadcrumbs,
.front-page .breadcrumbs,
.home .breadcrumb,
.front-page .breadcrumb {
  display: none !important;
}

.home .entry-header,
.front-page .entry-header {
  display: none !important;
}

.home .entry-content,
.front-page .entry-content,
.home .page-content,
.front-page .page-content {
  margin-top: 0 !important;
  padding-top: 28px;
}

/* Mantener visible el H1 generado por el plugin en la portada */
.home .qvtv-hero h1,
.home .qvtv-home-hero h1,
.home .qvtv-intro h1,
.front-page .qvtv-hero h1,
.front-page .qvtv-home-hero h1,
.front-page .qvtv-intro h1 {
  display: block !important;
}

/* =========================================================
   CONTENIDO GENERAL
   ========================================================= */

article,
.entry,
.page,
.single,
.archive {
  color: var(--qvtv-ink);
}

.entry-title,
.page-title {
  color: var(--qvtv-ink);
}

.wp-block-cover,
.wp-block-group,
.wp-block-columns {
  border-radius: 0;
}

/* =========================================================
   BOTONES GENERALES
   ========================================================= */

button,
input[type="submit"],
.wp-block-button__link {
  background: var(--qvtv-brand);
  color: #ffffff;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  padding: .68rem 1rem;
  text-decoration: none;
}

button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
  background: var(--qvtv-brand-2);
  color: #ffffff;
}

/* =========================================================
   PLUGIN QVTV - BASE VISUAL
   ========================================================= */

.qvtv-wrap {
  margin: 30px 0;
}

.qvtv-head {
  border-bottom: 1px solid var(--qvtv-line);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.qvtv-title {
  color: var(--qvtv-brand);
  font-size: clamp(1.45rem, 2.5vw, 2.2rem);
  letter-spacing: -0.04em;
  margin-bottom: 6px;
}

.qvtv-sub {
  color: var(--qvtv-muted);
  max-width: 760px;
}

/* =========================================================
   HERO QVTV
   ========================================================= */

.qvtv-hero,
.qvtv-home-hero,
.qvtv-intro,
.qvtv-featured-hero,
.qvtv-main-hero {
  background: linear-gradient(135deg, #ffffff 0%, #f7fbff 100%) !important;
  border: 1px solid var(--qvtv-line) !important;
  border-top: 5px solid var(--qvtv-brand-2) !important;
  border-radius: var(--qvtv-radius-lg) !important;
  box-shadow: var(--qvtv-shadow) !important;
  overflow: hidden;
}

.qvtv-hero-inner,
.qvtv-hero-content,
.qvtv-intro-inner {
  position: relative;
}

.qvtv-eyebrow,
.qvtv-label,
.qvtv-kicker,
.qvtv-hero-label {
  color: var(--qvtv-brand-2) !important;
  font-weight: 900 !important;
  letter-spacing: .13em !important;
  text-transform: uppercase;
}

.qvtv-hero h1,
.qvtv-home-hero h1,
.qvtv-intro h1,
.qvtv-main-hero h1,
.qvtv-title-main {
  color: var(--qvtv-ink) !important;
  letter-spacing: -0.06em !important;
}

.qvtv-hero p,
.qvtv-home-hero p,
.qvtv-intro p,
.qvtv-main-hero p {
  color: var(--qvtv-muted) !important;
}

.qvtv-clock,
.qvtv-timebox,
.qvtv-hero-side,
.qvtv-now-card,
.qvtv-hour-card,
.qvtv-date-card {
  background: var(--qvtv-brand) !important;
  color: #ffffff !important;
  border-radius: 18px !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.qvtv-clock *,
.qvtv-timebox *,
.qvtv-hero-side *,
.qvtv-now-card *,
.qvtv-hour-card *,
.qvtv-date-card * {
  color: inherit;
}

.qvtv-clock strong,
.qvtv-timebox strong,
.qvtv-hero-side strong,
.qvtv-now-card strong {
  color: #ffffff !important;
}

.qvtv-stat,
.qvtv-pill,
.qvtv-count,
.qvtv-badge {
  background: #ffffff !important;
  border: 1px solid var(--qvtv-line) !important;
  color: #344054 !important;
  box-shadow: 0 4px 12px rgba(16, 24, 40, 0.04);
}

/* =========================================================
   CATEGORÍAS / EXPLORAR
   ========================================================= */

.qvtv-catbar,
.qvtv-tabs,
.qvtv-categories,
.qvtv-category-bar,
.qvtv-filterbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 24px;
  padding: 14px;
  background: #ffffff !important;
  border: 1px solid var(--qvtv-line) !important;
  border-radius: 20px !important;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.05);
}

.qvtv-catbar a,
.qvtv-tabs a,
.qvtv-categories a,
.qvtv-category-bar a,
.qvtv-filterbar a {
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--qvtv-surface-2) !important;
  border: 1px solid #bfdbfe !important;
  color: #1d4ed8 !important;
  font-size: .88rem;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
}

.qvtv-catbar a:hover,
.qvtv-tabs a:hover,
.qvtv-categories a:hover,
.qvtv-category-bar a:hover,
.qvtv-filterbar a:hover {
  background: var(--qvtv-brand-2) !important;
  border-color: var(--qvtv-brand-2) !important;
  color: #ffffff !important;
}

/* =========================================================
   BOTONES DEL PLUGIN
   ========================================================= */

.qvtv-btn,
.qvtv-card .qvtv-btn,
.qvtv-row .qvtv-btn,
.qvtv-timeline .qvtv-btn,
.qvtv-wrap a.qvtv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--qvtv-brand-2) !important;
  color: #ffffff !important;
  border: 1px solid var(--qvtv-brand-2) !important;
  border-radius: 999px !important;
  font-weight: 850;
  box-shadow: none !important;
  text-decoration: none !important;
}

.qvtv-btn:hover,
.qvtv-card .qvtv-btn:hover,
.qvtv-row .qvtv-btn:hover,
.qvtv-timeline .qvtv-btn:hover,
.qvtv-wrap a.qvtv-btn:hover {
  background: var(--qvtv-brand) !important;
  color: #ffffff !important;
  border-color: var(--qvtv-brand) !important;
}

.qvtv-row .qvtv-btn,
.qvtv-programacion .qvtv-btn,
.qvtv-list .qvtv-btn {
  background: var(--qvtv-surface-2) !important;
  color: #1d4ed8 !important;
  border: 1px solid #bfdbfe !important;
  padding: 7px 12px !important;
  font-size: .82rem !important;
}

.qvtv-row .qvtv-btn:hover,
.qvtv-programacion .qvtv-btn:hover,
.qvtv-list .qvtv-btn:hover {
  background: var(--qvtv-brand-2) !important;
  color: #ffffff !important;
  border-color: var(--qvtv-brand-2) !important;
}

/* =========================================================
   TARJETAS / LISTAS / GRIDS
   ========================================================= */

.qvtv-card,
.qvtv-row {
  background: #ffffff !important;
  border: 1px solid var(--qvtv-line) !important;
  box-shadow: var(--qvtv-shadow-sm) !important;
}

.qvtv-card {
  border-radius: var(--qvtv-radius) !important;
}

.qvtv-row {
  border-radius: 14px !important;
}

.qvtv-card:hover,
.qvtv-row:hover {
  border-color: #93c5fd !important;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.09) !important;
}

.qvtv-time {
  color: var(--qvtv-brand-2) !important;
  font-weight: 900;
}

.qvtv-program,
.qvtv-row-title,
.qvtv-channel-name {
  color: var(--qvtv-ink) !important;
  font-weight: 850;
}

.qvtv-muted,
.qvtv-next {
  color: var(--qvtv-muted) !important;
}

.qvtv-logo {
  background: #ffffff !important;
  border: 1px solid var(--qvtv-line) !important;
  border-radius: 12px !important;
}

.qvtv-grid,
.qvtv-wrap .qvtv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.qvtv-wrap .qvtv-card {
  min-height: auto !important;
  padding: 18px !important;
}

.qvtv-wrap .qvtv-card .qvtv-channel {
  margin-bottom: 10px;
}

.qvtv-wrap .qvtv-card .qvtv-channel-name {
  font-size: 1.05rem;
  line-height: 1.1;
}

.qvtv-wrap .qvtv-card .qvtv-time {
  font-size: .92rem;
  color: var(--qvtv-muted) !important;
  margin-bottom: 12px;
}

.qvtv-wrap .qvtv-card .qvtv-program {
  font-size: 1.1rem;
  margin-top: 10px;
  margin-bottom: 4px;
}

.qvtv-wrap .qvtv-card .qvtv-next {
  font-size: .95rem;
  margin-bottom: 12px;
}

.qvtv-wrap .qvtv-card .qvtv-btn {
  margin-top: 8px;
  padding: 8px 14px;
  font-size: .86rem;
}

/* Una sola tarjeta en "Ahora en TV": evitar que ocupe todo el ancho */
.qvtv-wrap .qvtv-grid:has(.qvtv-card:only-child) {
  grid-template-columns: minmax(280px, 520px);
}

/* =========================================================
   PARRILLA DE HOME
   ========================================================= */

.qvtv-home-grid,
.qvtv-home-parrilla,
.qvtv-channel-grid,
.qvtv-parrilla-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
  gap: 16px;
}

.qvtv-home-grid:has(.qvtv-card:only-child),
.qvtv-home-parrilla:has(.qvtv-card:only-child),
.qvtv-channel-grid:has(.qvtv-card:only-child),
.qvtv-parrilla-grid:has(.qvtv-card:only-child) {
  max-width: 390px !important;
}

.qvtv-home-grid img,
.qvtv-home-parrilla img,
.qvtv-channel-grid img,
.qvtv-parrilla-card img,
.qvtv-home-card img {
  width: 100% !important;
  max-height: 150px !important;
  object-fit: cover !important;
  border-radius: 12px !important;
}

/* =========================================================
   PESTAÑAS DE DÍAS / FECHAS
   ========================================================= */

.qvtv-date-tabs,
.qvtv-day-tabs,
.qvtv-days,
.qvtv-date-nav {
  display: flex;
  width: 100%;
  overflow-x: auto;
  background: #ffffff;
  border: 1px solid var(--qvtv-line);
  border-radius: 14px;
  scrollbar-width: thin;
}

.qvtv-date-tabs a,
.qvtv-day-tabs a,
.qvtv-days a,
.qvtv-date-nav a,
.qvtv-date-tabs button,
.qvtv-day-tabs button,
.qvtv-days button,
.qvtv-date-nav button {
  flex: 1 0 160px;
  min-width: 140px;
  text-align: center;
  background: #ffffff !important;
  color: var(--qvtv-muted) !important;
  border: 0 !important;
  border-right: 1px solid var(--qvtv-line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 12px 14px !important;
  text-decoration: none !important;
}

.qvtv-date-tabs a:last-child,
.qvtv-day-tabs a:last-child,
.qvtv-days a:last-child,
.qvtv-date-nav a:last-child,
.qvtv-date-tabs button:last-child,
.qvtv-day-tabs button:last-child,
.qvtv-days button:last-child,
.qvtv-date-nav button:last-child {
  border-right: 0 !important;
}

.qvtv-date-tabs .is-active,
.qvtv-day-tabs .is-active,
.qvtv-days .is-active,
.qvtv-date-nav .is-active,
.qvtv-date-tabs a[aria-current="page"],
.qvtv-day-tabs a[aria-current="page"],
.qvtv-days a[aria-current="page"],
.qvtv-date-nav a[aria-current="page"] {
  background: var(--qvtv-surface-2) !important;
  color: var(--qvtv-brand-2) !important;
  box-shadow: inset 0 -3px 0 var(--qvtv-brand-2) !important;
}

/* =========================================================
   TIMELINE / PROGRAMACIÓN DE CANAL
   ========================================================= */

.qvtv-timeline {
  background: #ffffff !important;
  border: 1px solid var(--qvtv-line) !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.05) !important;
}

.qvtv-timeline-item {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 88px minmax(0, 1fr) auto !important;
  gap: 18px !important;
  align-items: center !important;
  min-height: 0 !important;
  padding: 14px 18px !important;
  background: #ffffff !important;
  border-bottom: 1px solid var(--qvtv-line) !important;
}

.qvtv-timeline-item:last-child {
  border-bottom: 0 !important;
}

.qvtv-timeline-item.is-current {
  background: #fff7f9 !important;
}

.qvtv-timeline-item.is-current::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 4px;
  background: var(--qvtv-live) !important;
  border-radius: 0 999px 999px 0;
  box-shadow: 0 0 0 rgba(225, 29, 72, 0.45);
  animation: qvtv-live-pulse-line 1.8s ease-in-out infinite;
}

.qvtv-timeline-time {
  grid-column: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 6px !important;
}

.qvtv-timeline-time strong {
  font-size: 1.05rem !important;
  line-height: 1 !important;
  color: var(--qvtv-brand-2) !important;
  font-weight: 900 !important;
}

.qvtv-timeline-body {
  grid-column: 2 !important;
  min-width: 0 !important;
  max-width: none !important;
}

.qvtv-timeline-title {
  font-size: 1rem !important;
  line-height: 1.2 !important;
  margin: 0 0 4px !important;
  color: var(--qvtv-ink) !important;
  font-weight: 900 !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

.qvtv-timeline-meta {
  margin: 0 !important;
  color: var(--qvtv-muted) !important;
  font-size: .9rem !important;
  line-height: 1.35 !important;
}

.qvtv-timeline-desc,
.qvtv-timeline-description {
  margin-top: 8px !important;
  color: var(--qvtv-muted) !important;
  font-size: .9rem !important;
  line-height: 1.45 !important;
}

.qvtv-timeline-img,
.qvtv-timeline-image,
.qvtv-program-image {
  display: none !important;
}

.qvtv-progress {
  width: 180px !important;
  height: 3px !important;
  margin: 7px 0 4px !important;
  background: #e5e7eb !important;
  border-radius: 999px !important;
  overflow: hidden !important;
}

.qvtv-progress span {
  display: block !important;
  height: 100% !important;
  background: var(--qvtv-live) !important;
}

.qvtv-remaining {
  font-size: .78rem !important;
  color: var(--qvtv-live) !important;
  font-weight: 900 !important;
}

.qvtv-timeline .qvtv-live,
.qvtv-timeline .qvtv-chip.qvtv-live {
  font-size: .72rem !important;
  padding: 4px 9px !important;
  border-radius: 999px !important;
}

.qvtv-timeline-item.is-current .qvtv-live,
.qvtv-timeline-item.is-current .qvtv-chip.qvtv-live {
  background: #fff1f2 !important;
  color: var(--qvtv-live) !important;
  border-color: #fecdd3 !important;
  box-shadow: 0 0 0 rgba(225, 29, 72, 0.35);
  animation: qvtv-live-pulse-chip 1.8s ease-in-out infinite;
}

.qvtv-timeline .qvtv-btn {
  grid-column: 3 !important;
  white-space: nowrap !important;
  padding: 7px 12px !important;
  font-size: .82rem !important;
}

@keyframes qvtv-live-pulse-line {
  0% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.38); }
  70% { box-shadow: 0 0 0 7px rgba(225, 29, 72, 0); }
  100% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0); }
}

@keyframes qvtv-live-pulse-chip {
  0% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.28); }
  70% { box-shadow: 0 0 0 6px rgba(225, 29, 72, 0); }
  100% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .qvtv-timeline-item.is-current::before,
  .qvtv-timeline-item.is-current .qvtv-live,
  .qvtv-timeline-item.is-current .qvtv-chip.qvtv-live {
    animation: none !important;
  }
}

/* =========================================================
   CHIPS / BADGES
   ========================================================= */

.qvtv-chip {
  background: var(--qvtv-surface-2) !important;
  color: var(--qvtv-brand-2) !important;
  border: 1px solid #bfdbfe !important;
  font-weight: 800;
}

.qvtv-live {
  background: #fff1f2 !important;
  color: var(--qvtv-live) !important;
  border-color: #fecdd3 !important;
}

.qvtv-chip.qvtv-movie,
.qvtv-chip.peliculas,
.qvtv-chip.película,
.qvtv-chip.pelicula {
  background: #f3e8ff !important;
  border-color: #ddd6fe !important;
  color: var(--qvtv-purple) !important;
}

.qvtv-chip.qvtv-sports,
.qvtv-chip.deportes {
  background: #ecfdf3 !important;
  border-color: #bbf7d0 !important;
  color: var(--qvtv-green) !important;
}

.qvtv-chip.qvtv-news,
.qvtv-chip.noticias {
  background: #fff7ed !important;
  border-color: #fed7aa !important;
  color: var(--qvtv-orange) !important;
}

.qvtv-chip.qvtv-series,
.qvtv-chip.series {
  background: #eff6ff !important;
  border-color: #bfdbfe !important;
  color: var(--qvtv-brand-2) !important;
}

.qvtv-chip.qvtv-kids,
.qvtv-chip.ninos,
.qvtv-chip.niños {
  background: #fef9c3 !important;
  border-color: #fde68a !important;
  color: #a16207 !important;
}

.qvtv-chip.qvtv-reality,
.qvtv-chip.reality {
  background: #fdf4ff !important;
  border-color: #f5d0fe !important;
  color: var(--qvtv-pink) !important;
}

/* =========================================================
   AVISO LEGAL / ESTADOS VACÍOS
   ========================================================= */

.qvtv-disclaimer {
  background: #f8fafc !important;
  border: 1px solid var(--qvtv-line) !important;
  color: var(--qvtv-muted) !important;
  border-radius: 13px !important;
  font-size: .88rem;
}

.qvtv-disclaimer strong {
  color: var(--qvtv-brand) !important;
}

.qvtv-empty {
  background: #ffffff !important;
  border: 1px dashed var(--qvtv-line) !important;
  color: var(--qvtv-muted) !important;
  border-radius: 14px !important;
}

/* =========================================================
   WIDGETS / SIDEBAR
   ========================================================= */

.sidebar,
.widget-area {
  font-size: .95rem;
}

.widget {
  background: #ffffff !important;
  border: 1px solid var(--qvtv-line) !important;
  border-radius: var(--qvtv-radius) !important;
  padding: 16px;
  box-shadow: var(--qvtv-shadow-sm) !important;
}

.widget-title,
.widget h2,
.widget h3 {
  color: var(--qvtv-brand);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

/* =========================================================
   MIGAS DE PAN
   ========================================================= */

.yoast-breadcrumbs,
.breadcrumbs,
.breadcrumb {
  font-size: .86rem;
  color: var(--qvtv-muted);
  margin: 12px 0 18px;
}

.yoast-breadcrumbs a,
.breadcrumbs a,
.breadcrumb a {
  color: var(--qvtv-brand-2);
  text-decoration: none;
}

.yoast-breadcrumbs a:hover,
.breadcrumbs a:hover,
.breadcrumb a:hover {
  color: var(--qvtv-brand);
}

/* =========================================================
   TABLAS
   ========================================================= */

table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
}

th,
td {
  border: 1px solid var(--qvtv-line);
  padding: 10px;
}

th {
  background: var(--qvtv-surface-2);
  color: var(--qvtv-brand);
  font-weight: 900;
}

/* =========================================================
   FORMULARIOS
   ========================================================= */

input,
textarea,
select {
  border: 1px solid var(--qvtv-line);
  border-radius: 10px;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(37, 99, 235, .18);
  border-color: var(--qvtv-brand-2);
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer,
.footer,
#footer {
  background: #081525 !important;
  color: rgba(255, 255, 255, .82);
  border-top: 4px solid var(--qvtv-now) !important;
}

.site-footer a,
.footer a,
#footer a {
  color: #ffffff;
}

/* =========================================================
   CANALES A ANCHO COMPLETO
   ========================================================= */

.single-qvtv_canal .sidebar,
.single-qvtv_canal .widget-area,
.single-qvtv_canal aside {
  display: none !important;
}

.single-qvtv_canal .content-area,
.single-qvtv_canal .main-content,
.single-qvtv_canal main,
.single-qvtv_canal article {
  width: 100% !important;
  max-width: 1180px !important;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {
  body {
    background: var(--qvtv-bg) !important;
  }

  h1 {
    font-size: 2rem;
  }

  .entry-content {
    font-size: .98rem;
  }

  .home .entry-content,
  .front-page .entry-content,
  .home .page-content,
  .front-page .page-content {
    padding-top: 18px;
  }

  .qvtv-wrap {
    margin: 22px 0;
  }

  .qvtv-hero,
  .qvtv-home-hero,
  .qvtv-intro,
  .qvtv-featured-hero,
  .qvtv-main-hero {
    border-radius: 18px !important;
  }

  .qvtv-card,
  .qvtv-row,
  .widget {
    border-radius: 12px !important;
  }

  .qvtv-grid,
  .qvtv-wrap .qvtv-grid,
  .qvtv-home-grid,
  .qvtv-home-parrilla,
  .qvtv-channel-grid,
  .qvtv-parrilla-grid {
    grid-template-columns: 1fr !important;
  }

  .qvtv-row {
    grid-template-columns: 72px 1fr;
  }

  .qvtv-row .qvtv-btn {
    grid-column: 1 / -1;
  }

  .qvtv-catbar,
  .qvtv-tabs,
  .qvtv-categories,
  .qvtv-category-bar,
  .qvtv-filterbar {
    padding: 10px;
    border-radius: 16px !important;
  }

  .qvtv-date-tabs,
  .qvtv-day-tabs,
  .qvtv-days,
  .qvtv-date-nav {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .qvtv-date-tabs a,
  .qvtv-day-tabs a,
  .qvtv-days a,
  .qvtv-date-nav a,
  .qvtv-date-tabs button,
  .qvtv-day-tabs button,
  .qvtv-days button,
  .qvtv-date-nav button {
    flex: 0 0 138px !important;
    min-width: 138px !important;
    padding: 10px 12px !important;
  }

  .qvtv-timeline-item {
    grid-template-columns: 64px minmax(0, 1fr) !important;
    gap: 12px !important;
    padding: 13px 14px !important;
  }

  .qvtv-timeline-title {
    font-size: 1rem !important;
  }

  .qvtv-timeline .qvtv-btn {
    grid-column: 2 !important;
    justify-self: start !important;
    margin-top: 8px !important;
  }

  .qvtv-progress {
    width: 150px !important;
  }
}

/* =========================================================
   QVTV - Imágenes en programación de canal
   Escritorio: imagen a la izquierda
   Móvil: solo imagen del programa en vivo
   ========================================================= */

/* En páginas de canal, permitir imágenes del timeline */
.single-qvtv_canal .qvtv-timeline-img,
.single-qvtv_canal .qvtv-timeline-image,
.single-qvtv_canal .qvtv-program-image {
  display: block !important;
}

/* Solo aplicar layout con imagen cuando la fila realmente tiene imagen */
.single-qvtv_canal .qvtv-timeline-item:has(.qvtv-timeline-img img),
.single-qvtv_canal .qvtv-timeline-item:has(.qvtv-timeline-image img),
.single-qvtv_canal .qvtv-timeline-item:has(.qvtv-program-image img) {
  grid-template-columns: 70px 120px minmax(0, 1fr) !important;
  align-items: center !important;
}

/* Imagen del programa */
.single-qvtv_canal .qvtv-timeline-img,
.single-qvtv_canal .qvtv-timeline-image,
.single-qvtv_canal .qvtv-program-image {
  grid-column: 2 !important;
  width: 120px !important;
  height: 68px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #eef4ff !important;
  border: 1px solid var(--qvtv-line, #d9e2ec) !important;
}

.single-qvtv_canal .qvtv-timeline-img img,
.single-qvtv_canal .qvtv-timeline-image img,
.single-qvtv_canal .qvtv-program-image img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
}

/* Cuando hay imagen, el texto va después */
.single-qvtv_canal .qvtv-timeline-item:has(.qvtv-timeline-img img) .qvtv-timeline-body,
.single-qvtv_canal .qvtv-timeline-item:has(.qvtv-timeline-image img) .qvtv-timeline-body,
.single-qvtv_canal .qvtv-timeline-item:has(.qvtv-program-image img) .qvtv-timeline-body {
  grid-column: 3 !important;
}

/* Descripción visible pero controlada */
.single-qvtv_canal .qvtv-timeline-desc,
.single-qvtv_canal .qvtv-timeline-description {
  display: block !important;
  margin-top: 5px !important;
  max-width: 620px !important;
  color: var(--qvtv-muted, #667085) !important;
  font-size: .84rem !important;
  line-height: 1.4 !important;
}

/* En escritorio, que la descripción no haga filas enormes */
@media (min-width: 761px) {
  .single-qvtv_canal .qvtv-timeline-description,
  .single-qvtv_canal .qvtv-timeline-desc {
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden !important;
  }
}

/* Móvil: ocultar imágenes en la lista para que no pese visualmente */
@media (max-width: 760px) {
  .single-qvtv_canal .qvtv-timeline-img,
  .single-qvtv_canal .qvtv-timeline-image,
  .single-qvtv_canal .qvtv-program-image {
    display: none !important;
  }

  .single-qvtv_canal .qvtv-timeline-item,
  .single-qvtv_canal .qvtv-timeline-item:has(.qvtv-timeline-img img),
  .single-qvtv_canal .qvtv-timeline-item:has(.qvtv-timeline-image img),
  .single-qvtv_canal .qvtv-timeline-item:has(.qvtv-program-image img) {
    grid-template-columns: 62px minmax(0, 1fr) !important;
  }

  .single-qvtv_canal .qvtv-timeline-body {
    grid-column: 2 !important;
  }

  /* En móvil, mostrar imagen solo en el programa actual */
  .single-qvtv_canal .qvtv-timeline-item.is-current .qvtv-timeline-img,
  .single-qvtv_canal .qvtv-timeline-item.is-current .qvtv-timeline-image,
  .single-qvtv_canal .qvtv-timeline-item.is-current .qvtv-program-image {
    display: block !important;
    grid-column: 2 !important;
    width: 100% !important;
    max-width: 260px !important;
    height: 135px !important;
    margin: 6px 0 10px !important;
  }

  .single-qvtv_canal .qvtv-timeline-item.is-current .qvtv-timeline-img img,
  .single-qvtv_canal .qvtv-timeline-item.is-current .qvtv-timeline-image img,
  .single-qvtv_canal .qvtv-timeline-item.is-current .qvtv-program-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  /* En móvil, descripción más corta */
  .single-qvtv_canal .qvtv-timeline-description,
  .single-qvtv_canal .qvtv-timeline-desc {
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden !important;
    font-size: .82rem !important;
  }
}



/* =========================================================
   QVTV - PLANTILLAS PROPIAS DEL TEMA HIJO v1.0.5
   ========================================================= */

body.qvtv-theme-template,
body.qvtv-clean-template {
  margin: 0 !important;
  padding: 0 !important;
  background: var(--qvtv-bg) !important;
}

body.qvtv-theme-template .site-header,
body.qvtv-clean-template .site-header {
  margin-top: 0 !important;
  top: 0 !important;
}

body.qvtv-theme-template .qvtv-template,
body.qvtv-clean-template .qvtv-template {
  max-width: 1180px;
  width: calc(100% - 32px);
  margin: 0 auto;
  padding: 0 0 36px;
  display: block;
  clear: both;
}

body.qvtv-theme-template .qvtv-template-canal,
body.qvtv-clean-template .qvtv-template-canal {
  padding-bottom: 34px;
}

body.qvtv-theme-template .site-header + .qvtv-template,
body.qvtv-clean-template .site-header + .qvtv-template {
  margin-top: 0 !important;
}

body.qvtv-theme-template .qvtv-wrap:first-child,
body.qvtv-clean-template .qvtv-wrap:first-child {
  margin-top: 22px;
}

/* Header ligero propio: conserva nombres de clase de Asap para aprovechar sus estilos */
body.qvtv-theme-template .site-header-content {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 22px;
}

body.qvtv-theme-template .site-name a {
  color: #fff !important;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.02em;
}

body.qvtv-theme-template .search-header {
  flex: 0 1 300px;
  margin-left: auto;
}

body.qvtv-theme-template #menu {
  margin-left: 18px;
}

body.qvtv-theme-template #menu ul.header-menu {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

body.qvtv-theme-template #menu ul.header-menu > li > a {
  display: block;
  padding: 18px 13px;
  color: #fff !important;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 700;
}

body.qvtv-theme-template #menu ul.header-menu > li > a:hover {
  color: var(--qvtv-now) !important;
}

body.qvtv-theme-template .qvtv-footer {
  background: var(--qvtv-brand);
  border-top: 4px solid var(--qvtv-now);
  color: rgba(255,255,255,.82);
  margin-top: 34px;
}

body.qvtv-theme-template .qvtv-footer-inner {
  max-width: 1180px;
  width: calc(100% - 32px);
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
}

body.qvtv-theme-template .qvtv-footer a {
  color: #fff !important;
  text-decoration: none;
}

body.qvtv-theme-template .qvtv-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .86rem;
}

@media (max-width: 1050px) {
  body.qvtv-theme-template .site-header-content {
    min-height: 52px;
    gap: 10px;
  }

  body.qvtv-theme-template .search-header {
    display: none;
  }

  body.qvtv-theme-template #menu {
    margin-left: 0;
  }

  body.qvtv-theme-template #menu ul.header-menu {
    display: block;
  }
}

@media (max-width: 760px) {
  body.qvtv-theme-template .qvtv-template,
  body.qvtv-clean-template .qvtv-template {
    width: calc(100% - 24px);
    padding-bottom: 28px;
  }

  body.qvtv-theme-template .qvtv-wrap:first-child,
  body.qvtv-clean-template .qvtv-wrap:first-child {
    margin-top: 14px;
  }

  body.qvtv-theme-template .site-header {
    margin-top: 0 !important;
  }

  body.qvtv-theme-template .qvtv-footer-inner {
    width: calc(100% - 24px);
    align-items: flex-start;
    flex-direction: column;
  }
}


/* =========================================================
   QVTV - Header compacto v1.0.6
   Recupera grosor similar al header original de Asap.
   ========================================================= */

body.qvtv-theme-template .qvtv-site-header {
  min-height: 44px !important;
  border-bottom-width: 4px !important;
}

body.qvtv-theme-template .qvtv-site-header .site-header-content {
  min-height: 44px !important;
  height: 44px !important;
  align-items: center !important;
}

body.qvtv-theme-template .qvtv-site-header .site-name a {
  font-size: 1.04rem !important;
  line-height: 1 !important;
  font-weight: 700 !important;
}

body.qvtv-theme-template .qvtv-site-header .search-header {
  flex: 0 1 300px !important;
}

body.qvtv-theme-template .qvtv-site-header .search-header form {
  height: 30px !important;
}

body.qvtv-theme-template .qvtv-site-header .search-header input:not([type=submit]):not([type=radio]):not([type=checkbox]):not([type=file]) {
  height: 30px !important;
  min-height: 30px !important;
  line-height: 30px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  font-size: .82rem !important;
}

body.qvtv-theme-template .qvtv-site-header .search-header button.s-btn {
  height: 30px !important;
  width: 34px !important;
  min-height: 30px !important;
  padding: 0 !important;
}

body.qvtv-theme-template .qvtv-site-header #menu ul.header-menu > li > a {
  padding: 14px 13px !important;
  line-height: 1 !important;
  font-size: .88rem !important;
}

body.qvtv-theme-template .qvtv-site-header #nav-icon,
body.qvtv-theme-template .qvtv-site-header .nav-icon {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

@media (max-width: 1050px) {
  body.qvtv-theme-template .qvtv-site-header,
  body.qvtv-theme-template .qvtv-site-header .site-header-content {
    min-height: 46px !important;
    height: 46px !important;
  }

  body.qvtv-theme-template .qvtv-site-header .site-name a {
    font-size: 1rem !important;
  }
}


/* =========================================================
   QVTV - Header balanceado v1.0.7
   Un poco menos apretado que v1.0.6, sin volver al header grueso.
   ========================================================= */

body.qvtv-theme-template .qvtv-site-header {
  min-height: 50px !important;
  border-bottom-width: 4px !important;
}

body.qvtv-theme-template .qvtv-site-header .site-header-content {
  min-height: 50px !important;
  height: 50px !important;
  align-items: center !important;
}

body.qvtv-theme-template .qvtv-site-header .site-name a {
  font-size: 1.08rem !important;
  line-height: 1 !important;
  font-weight: 750 !important;
}

body.qvtv-theme-template .qvtv-site-header .search-header {
  flex: 0 1 315px !important;
}

body.qvtv-theme-template .qvtv-site-header .search-header form {
  height: 32px !important;
}

body.qvtv-theme-template .qvtv-site-header .search-header input:not([type=submit]):not([type=radio]):not([type=checkbox]):not([type=file]) {
  height: 32px !important;
  min-height: 32px !important;
  line-height: 32px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  font-size: .84rem !important;
}

body.qvtv-theme-template .qvtv-site-header .search-header button.s-btn {
  height: 32px !important;
  width: 36px !important;
  min-height: 32px !important;
  padding: 0 !important;
}

body.qvtv-theme-template .qvtv-site-header #menu ul.header-menu > li > a {
  padding: 16px 14px !important;
  line-height: 1 !important;
  font-size: .89rem !important;
}

@media (max-width: 1050px) {
  body.qvtv-theme-template .qvtv-site-header,
  body.qvtv-theme-template .qvtv-site-header .site-header-content {
    min-height: 50px !important;
    height: 50px !important;
  }

  body.qvtv-theme-template .qvtv-site-header .site-name a {
    font-size: 1.05rem !important;
  }
}

/* =========================================================
   QVTV - Header 60px v1.0.8
   Un poco más amplio que v1.0.7, manteniendo diseño limpio.
   ========================================================= */

body.qvtv-theme-template .qvtv-site-header {
  min-height: 60px !important;
  border-bottom-width: 4px !important;
}

body.qvtv-theme-template .qvtv-site-header .site-header-content {
  min-height: 60px !important;
  height: 60px !important;
  align-items: center !important;
}

body.qvtv-theme-template .qvtv-site-header .site-name a {
  font-size: 1.15rem !important;
  line-height: 1 !important;
  font-weight: 750 !important;
}

body.qvtv-theme-template .qvtv-site-header .search-header {
  flex: 0 1 340px !important;
}

body.qvtv-theme-template .qvtv-site-header .search-header form {
  height: 36px !important;
}

body.qvtv-theme-template .qvtv-site-header .search-header input:not([type=submit]):not([type=radio]):not([type=checkbox]):not([type=file]) {
  height: 36px !important;
  min-height: 36px !important;
  line-height: 36px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  font-size: .88rem !important;
}

body.qvtv-theme-template .qvtv-site-header .search-header button.s-btn {
  height: 36px !important;
  width: 40px !important;
  min-height: 36px !important;
  padding: 0 !important;
}

body.qvtv-theme-template .qvtv-site-header #menu ul.header-menu > li > a {
  padding: 21px 15px !important;
  line-height: 1 !important;
  font-size: .91rem !important;
}

@media (max-width: 1050px) {
  body.qvtv-theme-template .qvtv-site-header,
  body.qvtv-theme-template .qvtv-site-header .site-header-content {
    min-height: 56px !important;
    height: 56px !important;
  }

  body.qvtv-theme-template .qvtv-site-header .site-name a {
    font-size: 1.08rem !important;
  }
}


/* =========================================================
   QVTV - Header buscador centrado v1.0.9
   Separa el buscador del logo y lo centra en el espacio útil.
   ========================================================= */

@media (min-width: 1051px) {
  body.qvtv-theme-template .qvtv-site-header .site-header-content {
    display: grid !important;
    grid-template-columns: auto minmax(300px, 1fr) auto !important;
    align-items: center !important;
    column-gap: 28px !important;
  }

  body.qvtv-theme-template .qvtv-site-header .site-name {
    justify-self: start !important;
    white-space: nowrap !important;
  }

  body.qvtv-theme-template .qvtv-site-header .search-header {
    justify-self: center !important;
    width: 360px !important;
    max-width: 100% !important;
    flex: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.qvtv-theme-template .qvtv-site-header .search-header form {
    width: 100% !important;
  }

  body.qvtv-theme-template .qvtv-site-header .qvtv-menu-wrap {
    justify-self: end !important;
    min-width: 0 !important;
  }

  body.qvtv-theme-template .qvtv-site-header #menu {
    margin-left: 0 !important;
  }
}


/* =========================================================
   QVTV - Plantillas propias globales v1.1.0
   Header/footer QVTV también en búsqueda, 404, archivos y páginas.
   ========================================================= */

body.qvtv-theme-template {
  margin: 0 !important;
  background: var(--qvtv-bg) !important;
}

body.qvtv-theme-template .qvtv-template {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px 40px;
}

body.qvtv-theme-template .qvtv-template-content,
body.qvtv-theme-template .qvtv-template-search,
body.qvtv-theme-template .qvtv-template-archive,
body.qvtv-theme-template .qvtv-template-404 {
  padding-top: 26px;
}

.qvtv-content-card,
.qvtv-search-card,
.qvtv-archive-card,
.qvtv-message-card {
  background: var(--qvtv-surface);
  border: 1px solid var(--qvtv-line);
  border-radius: var(--qvtv-radius-lg);
  box-shadow: var(--qvtv-shadow-sm);
  padding: 22px;
}

.qvtv-page-header,
.qvtv-search-header,
.qvtv-archive-header {
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--qvtv-line);
}

.qvtv-page-header h1,
.qvtv-search-header h1,
.qvtv-archive-header h1 {
  margin: 0 0 8px;
  color: var(--qvtv-ink);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  letter-spacing: -0.055em;
}

.qvtv-search-list,
.qvtv-archive-list {
  display: grid;
  gap: 12px;
}

.qvtv-result-item {
  display: block;
  background: #ffffff;
  border: 1px solid var(--qvtv-line);
  border-radius: 16px;
  padding: 16px 18px;
  text-decoration: none !important;
  color: var(--qvtv-ink) !important;
  box-shadow: 0 8px 22px rgba(16,24,40,.045);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.qvtv-result-item:hover {
  border-color: #93c5fd;
  box-shadow: 0 12px 30px rgba(37,99,235,.09);
  transform: translateY(-1px);
}

.qvtv-result-title {
  display: block;
  margin: 0 0 6px;
  color: var(--qvtv-ink);
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.2;
}

.qvtv-result-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  color: var(--qvtv-brand-2);
  font-size: .78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.qvtv-result-excerpt {
  margin: 0;
  color: var(--qvtv-muted);
  font-size: .92rem;
  line-height: 1.55;
}

.qvtv-search-form-wrap {
  margin-top: 16px;
}

.qvtv-search-form-wrap form,
.qvtv-inline-search form {
  display: flex;
  gap: 8px;
  max-width: 520px;
}

.qvtv-search-form-wrap input[type="search"],
.qvtv-inline-search input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  height: 42px;
  border: 1px solid var(--qvtv-line);
  border-radius: 999px;
  padding: 0 14px;
  background: #fff;
}

.qvtv-search-form-wrap input[type="submit"],
.qvtv-inline-search input[type="submit"] {
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--qvtv-brand-2);
  color: #fff;
  font-weight: 850;
}

@media (max-width: 760px) {
  body.qvtv-theme-template .qvtv-template {
    padding: 0 12px 30px;
  }

  body.qvtv-theme-template .qvtv-template-content,
  body.qvtv-theme-template .qvtv-template-search,
  body.qvtv-theme-template .qvtv-template-archive,
  body.qvtv-theme-template .qvtv-template-404 {
    padding-top: 18px;
  }

  .qvtv-content-card,
  .qvtv-search-card,
  .qvtv-archive-card,
  .qvtv-message-card {
    padding: 17px;
    border-radius: 18px;
  }
}


/* =========================================================
   QVTV - UX global v1.1.1
   Mejoras de buscador, resultados y 404.
   ========================================================= */

/* Buscador del header: evitar hover azul/cuadrado y hacerlo más claro */
body.qvtv-theme-template .qvtv-site-header .search-header form,
body.qvtv-theme-template .qvtv-site-header .search-responsive form {
  display: flex !important;
  align-items: center !important;
  overflow: hidden !important;
  background: #ffffff !important;
  border: 1px solid rgba(255,255,255,.38) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}

body.qvtv-theme-template .qvtv-site-header .search-header input,
body.qvtv-theme-template .qvtv-site-header .search-responsive input {
  height: 36px !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
  border: 0 !important;
  border-radius: 999px 0 0 999px !important;
  background: transparent !important;
  color: var(--qvtv-ink) !important;
  padding: 0 12px 0 16px !important;
  box-shadow: none !important;
  outline: 0 !important;
}

body.qvtv-theme-template .qvtv-site-header .search-header button.s-btn,
body.qvtv-theme-template .qvtv-site-header .search-responsive button.s-btn {
  flex: 0 0 42px !important;
  width: 42px !important;
  height: 36px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  border-left: 1px solid #e5edf7 !important;
  border-radius: 0 999px 999px 0 !important;
  background: transparent !important;
  color: var(--qvtv-brand) !important;
  box-shadow: none !important;
}

body.qvtv-theme-template .qvtv-site-header .search-header button.s-btn:hover,
body.qvtv-theme-template .qvtv-site-header .search-header button.s-btn:focus-visible,
body.qvtv-theme-template .qvtv-site-header .search-responsive button.s-btn:hover,
body.qvtv-theme-template .qvtv-site-header .search-responsive button.s-btn:focus-visible {
  background: #eef4ff !important;
  color: var(--qvtv-brand-2) !important;
}

body.qvtv-theme-template .qvtv-site-header .search-header button.s-btn svg,
body.qvtv-theme-template .qvtv-site-header .search-responsive button.s-btn svg {
  width: 18px !important;
  height: 18px !important;
  stroke: currentColor !important;
  fill: none !important;
  stroke-width: 2.4 !important;
}

/* Formulario grande reutilizable en búsqueda y 404 */
.qvtv-search-big {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 660px;
  margin: 16px 0 22px;
  padding: 8px;
  background: #ffffff;
  border: 1px solid var(--qvtv-line);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(16, 24, 40, .045);
}

.qvtv-search-big input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  height: 44px;
  border: 0 !important;
  border-radius: 12px !important;
  background: #f8fbff !important;
  color: var(--qvtv-ink);
  padding: 0 14px;
  box-shadow: none !important;
  outline: 0 !important;
}

.qvtv-search-big input[type="search"]:focus {
  background: #ffffff !important;
  outline: 2px solid rgba(37,99,235,.16) !important;
}

.qvtv-search-big button {
  height: 44px;
  padding: 0 20px !important;
  border-radius: 12px !important;
  background: var(--qvtv-brand-2) !important;
  color: #ffffff !important;
  font-weight: 900 !important;
}

.qvtv-search-big button:hover,
.qvtv-search-big button:focus-visible {
  background: var(--qvtv-brand) !important;
  color: #ffffff !important;
}

/* Resultados de búsqueda más clicables e intuitivos */
.qvtv-search-shell {
  padding: 24px !important;
}

.qvtv-clickable-list {
  gap: 14px !important;
}

.qvtv-result-item {
  display: grid !important;
  grid-template-columns: 58px minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 14px !important;
  position: relative !important;
  padding: 16px !important;
}

.qvtv-result-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 4px 0 0 transparent;
  transition: box-shadow .18s ease;
}

.qvtv-result-item:hover::after,
.qvtv-result-item:focus-visible::after {
  box-shadow: inset 4px 0 0 var(--qvtv-brand-2);
}

.qvtv-result-icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: #f8fbff;
  border: 1px solid var(--qvtv-line);
  color: var(--qvtv-brand-2);
  font-weight: 950;
  font-size: 1.2rem;
  overflow: hidden;
}

.qvtv-result-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.qvtv-result-content {
  min-width: 0;
  display: block;
}

.qvtv-result-meta {
  margin-bottom: 5px !important;
}

.qvtv-result-title {
  font-size: 1.12rem !important;
}

.qvtv-result-excerpt {
  display: block;
  margin-top: 4px;
}

.qvtv-result-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  height: 34px;
  border-radius: 999px;
  background: #eef4ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-size: .82rem;
  font-weight: 900;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.qvtv-result-cta::after {
  content: "›";
  margin-left: 6px;
  font-size: 1.1em;
  line-height: 1;
}

.qvtv-result-item:hover .qvtv-result-cta,
.qvtv-result-item:focus-visible .qvtv-result-cta {
  background: var(--qvtv-brand-2);
  border-color: var(--qvtv-brand-2);
  color: #ffffff;
}

/* 404 más ordenada */
.qvtv-template-404 {
  max-width: 1040px !important;
}

.qvtv-notfound-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 22px;
  align-items: stretch;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid var(--qvtv-line);
  border-top: 5px solid var(--qvtv-brand-2);
  border-radius: var(--qvtv-radius-lg);
  box-shadow: var(--qvtv-shadow-sm);
  padding: 26px;
}

.qvtv-notfound-main h1 {
  margin: 6px 0 10px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.qvtv-notfound-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  background: var(--qvtv-brand);
  color: #ffffff;
  border-radius: 20px;
}

.qvtv-notfound-code {
  display: block;
  color: rgba(255,255,255,.2);
  font-size: 4rem;
  line-height: .9;
  font-weight: 950;
  letter-spacing: -.08em;
}

.qvtv-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 14px;
}

.qvtv-quick-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 13px;
  border-radius: 999px;
  background: #eef4ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8 !important;
  text-decoration: none !important;
  font-size: .86rem;
  font-weight: 900;
}

.qvtv-quick-links a:hover,
.qvtv-quick-links a:focus-visible {
  background: var(--qvtv-brand-2);
  border-color: var(--qvtv-brand-2);
  color: #ffffff !important;
}

.qvtv-quick-links-vertical {
  display: grid;
  gap: 9px;
  margin-top: 0;
}

.qvtv-quick-links-vertical a {
  width: 100%;
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.18);
  color: #ffffff !important;
}

.qvtv-quick-links-vertical a:hover,
.qvtv-quick-links-vertical a:focus-visible {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--qvtv-brand) !important;
}

.qvtv-no-results-card {
  margin-top: 18px;
  background: #f8fbff !important;
}

@media (max-width: 760px) {
  body.qvtv-theme-template .qvtv-site-header .search-responsive form {
    border-radius: 16px !important;
  }

  .qvtv-search-big {
    align-items: stretch;
    flex-direction: column;
    padding: 10px;
    border-radius: 18px;
  }

  .qvtv-search-big input[type="search"],
  .qvtv-search-big button {
    width: 100%;
  }

  .qvtv-result-item {
    grid-template-columns: 48px minmax(0, 1fr) !important;
    gap: 12px !important;
    padding: 14px !important;
  }

  .qvtv-result-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .qvtv-result-cta {
    grid-column: 2;
    justify-self: start;
    margin-top: 8px;
  }

  .qvtv-notfound-card {
    grid-template-columns: 1fr;
    padding: 18px;
    border-radius: 20px;
  }

  .qvtv-notfound-side {
    padding: 14px;
  }

  .qvtv-notfound-code {
    font-size: 3rem;
  }
}


/* =========================================================
   QVTV - FASE 5 v1.1.2
   Plantillas propias sin CSS/JS heredado de Asap.
   ========================================================= */

body.qvtv-theme-template,
body.qvtv-clean-template {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  min-height: 100vh;
  background: var(--qvtv-bg) !important;
  color: var(--qvtv-ink) !important;
}

body.qvtv-theme-template *,
body.qvtv-theme-template *::before,
body.qvtv-theme-template *::after {
  box-sizing: border-box;
}

body.qvtv-theme-template img {
  max-width: 100%;
  height: auto;
}

body.qvtv-theme-template .qvtv-site-header {
  width: 100% !important;
  min-height: 60px !important;
  background: var(--qvtv-brand) !important;
  border-bottom: 4px solid var(--qvtv-now) !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 50;
}

body.qvtv-theme-template .qvtv-site-header .site-header-content {
  width: calc(100% - 32px) !important;
  max-width: 1180px !important;
  min-height: 60px !important;
  height: 60px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: auto minmax(300px, 1fr) auto !important;
  align-items: center !important;
  column-gap: 28px !important;
}

body.qvtv-theme-template .qvtv-site-header .site-name {
  justify-self: start !important;
  min-width: max-content;
}

body.qvtv-theme-template .qvtv-site-header .site-name a {
  display: inline-flex !important;
  align-items: center !important;
  color: #ffffff !important;
  font-size: 1.15rem !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  letter-spacing: -0.035em !important;
  text-decoration: none !important;
}

body.qvtv-theme-template .qvtv-site-header .search-header {
  justify-self: center !important;
  width: 360px !important;
  max-width: 100% !important;
  margin: 0 !important;
}

body.qvtv-theme-template .qvtv-site-header .search-header form,
body.qvtv-theme-template .qvtv-site-header .search-responsive form {
  width: 100% !important;
  height: 36px !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden !important;
  background: #ffffff !important;
  border: 1px solid rgba(255,255,255,.38) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}

body.qvtv-theme-template .qvtv-site-header .search-header input,
body.qvtv-theme-template .qvtv-site-header .search-responsive input {
  height: 36px !important;
  min-height: 36px !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
  border: 0 !important;
  border-radius: 999px 0 0 999px !important;
  background: transparent !important;
  color: var(--qvtv-ink) !important;
  padding: 0 12px 0 16px !important;
  font-size: .88rem !important;
  line-height: 36px !important;
  box-shadow: none !important;
  outline: 0 !important;
}

body.qvtv-theme-template .qvtv-site-header .search-header button.s-btn,
body.qvtv-theme-template .qvtv-site-header .search-responsive button.s-btn {
  flex: 0 0 42px !important;
  width: 42px !important;
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  border-left: 1px solid #e5edf7 !important;
  border-radius: 0 999px 999px 0 !important;
  background: transparent !important;
  color: var(--qvtv-brand) !important;
  box-shadow: none !important;
  cursor: pointer;
}

body.qvtv-theme-template .qvtv-site-header .search-header button.s-btn:hover,
body.qvtv-theme-template .qvtv-site-header .search-header button.s-btn:focus-visible,
body.qvtv-theme-template .qvtv-site-header .search-responsive button.s-btn:hover,
body.qvtv-theme-template .qvtv-site-header .search-responsive button.s-btn:focus-visible {
  background: #eef4ff !important;
  color: var(--qvtv-brand-2) !important;
}

body.qvtv-theme-template .qvtv-site-header .search-header button.s-btn svg,
body.qvtv-theme-template .qvtv-site-header .search-responsive button.s-btn svg {
  width: 18px !important;
  height: 18px !important;
  stroke: currentColor !important;
  fill: none !important;
  stroke-width: 2.4 !important;
}

body.qvtv-theme-template .qvtv-site-header .qvtv-menu-wrap {
  justify-self: end !important;
  min-width: 0 !important;
  position: relative;
}

body.qvtv-theme-template .qvtv-site-header #btn-menu {
  display: none !important;
}

body.qvtv-theme-template .qvtv-site-header #nav-icon {
  display: none !important;
}

body.qvtv-theme-template .qvtv-site-header #menu {
  display: block !important;
  margin: 0 !important;
}

body.qvtv-theme-template .qvtv-site-header #menu .search-responsive {
  display: none !important;
}

body.qvtv-theme-template .qvtv-site-header #menu ul.header-menu {
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.qvtv-theme-template .qvtv-site-header #menu ul.header-menu > li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.qvtv-theme-template .qvtv-site-header #menu ul.header-menu > li > a {
  display: flex !important;
  align-items: center !important;
  min-height: 60px !important;
  padding: 0 15px !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: .91rem !important;
  font-weight: 800 !important;
  white-space: nowrap;
}

body.qvtv-theme-template .qvtv-site-header #menu ul.header-menu > li > a:hover,
body.qvtv-theme-template .qvtv-site-header #menu ul.header-menu > li.current-menu-item > a {
  color: var(--qvtv-now) !important;
}

body.qvtv-theme-template .qvtv-template {
  width: calc(100% - 32px) !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 0 0 40px !important;
}

body.qvtv-theme-template .qvtv-wrap:first-child,
body.qvtv-clean-template .qvtv-wrap:first-child {
  margin-top: 22px !important;
}

body.qvtv-theme-template .qvtv-footer {
  width: 100% !important;
  margin: 34px 0 0 !important;
  padding: 0 !important;
  background: var(--qvtv-brand) !important;
  border-top: 4px solid var(--qvtv-now) !important;
  color: rgba(255,255,255,.82) !important;
}

body.qvtv-theme-template .qvtv-footer-inner {
  width: calc(100% - 32px) !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 24px 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 18px !important;
  justify-content: space-between !important;
  align-items: center !important;
}

body.qvtv-theme-template .qvtv-footer a {
  color: #ffffff !important;
  text-decoration: none !important;
}

body.qvtv-theme-template .qvtv-footer-links {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  font-size: .86rem !important;
}

@media (max-width: 1050px) {
  body.qvtv-theme-template .qvtv-site-header,
  body.qvtv-theme-template .qvtv-site-header .site-header-content {
    min-height: 56px !important;
    height: 56px !important;
  }

  body.qvtv-theme-template .qvtv-site-header .site-header-content {
    width: calc(100% - 28px) !important;
    display: flex !important;
    justify-content: space-between !important;
    gap: 14px !important;
  }

  body.qvtv-theme-template .qvtv-site-header .site-name a {
    font-size: 1.08rem !important;
  }

  body.qvtv-theme-template .qvtv-site-header .search-header {
    display: none !important;
  }

  body.qvtv-theme-template .qvtv-site-header .qvtv-menu-wrap {
    margin-left: auto !important;
  }

  body.qvtv-theme-template .qvtv-site-header #nav-icon {
    width: 42px !important;
    height: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    color: #ffffff !important;
  }

  body.qvtv-theme-template .qvtv-site-header .nav-icon {
    width: 28px !important;
    height: 22px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
  }

  body.qvtv-theme-template .qvtv-site-header .nav-icon .line {
    display: block !important;
    width: 100% !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: #ffffff !important;
  }

  body.qvtv-theme-template .qvtv-site-header #menu {
    display: none !important;
    position: absolute !important;
    top: calc(100% + 4px) !important;
    right: 0 !important;
    width: min(320px, calc(100vw - 24px)) !important;
    padding: 12px !important;
    background: var(--qvtv-brand) !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    border-radius: 0 0 18px 18px !important;
    box-shadow: 0 18px 40px rgba(11,31,58,.28) !important;
  }

  body.qvtv-theme-template .qvtv-site-header #btn-menu:checked ~ #menu {
    display: block !important;
  }

  body.qvtv-theme-template .qvtv-site-header #menu .search-responsive {
    display: block !important;
    margin-bottom: 10px !important;
  }

  body.qvtv-theme-template .qvtv-site-header #menu .search-responsive form {
    height: 38px !important;
    border-radius: 16px !important;
  }

  body.qvtv-theme-template .qvtv-site-header #menu ul.header-menu {
    display: grid !important;
    gap: 4px !important;
  }

  body.qvtv-theme-template .qvtv-site-header #menu ul.header-menu > li > a {
    min-height: 40px !important;
    padding: 10px 12px !important;
    border-radius: 12px !important;
  }

  body.qvtv-theme-template .qvtv-site-header #menu ul.header-menu > li > a:hover,
  body.qvtv-theme-template .qvtv-site-header #menu ul.header-menu > li.current-menu-item > a {
    background: rgba(255,255,255,.08) !important;
  }
}

@media (max-width: 760px) {
  body.qvtv-theme-template .qvtv-template {
    width: calc(100% - 24px) !important;
    padding-bottom: 30px !important;
  }

  body.qvtv-theme-template .qvtv-wrap:first-child,
  body.qvtv-clean-template .qvtv-wrap:first-child {
    margin-top: 14px !important;
  }

  body.qvtv-theme-template .qvtv-footer-inner {
    width: calc(100% - 24px) !important;
    align-items: flex-start !important;
    flex-direction: column !important;
  }
}

/* =========================================================
   QVTV v1.1.3 - Ajustes de separación y menú móvil
   ========================================================= */

/* Recupera respiración entre header y contenido sin depender de Asap */
body.qvtv-theme-template .site-header + .qvtv-template,
body.qvtv-theme-template .qvtv-template,
body.qvtv-clean-template .site-header + .qvtv-template,
body.qvtv-clean-template .qvtv-template {
  padding-top: 24px !important;
}

body.qvtv-theme-template .qvtv-template > .qvtv-wrap:first-child,
body.qvtv-clean-template .qvtv-template > .qvtv-wrap:first-child {
  margin-top: 0 !important;
}

/* Header: asegurar alineación vertical del buscador */
body.qvtv-theme-template .qvtv-site-header .search-header,
body.qvtv-theme-template .qvtv-site-header .search-header form {
  align-self: center !important;
}

body.qvtv-theme-template .qvtv-site-header .search-header input,
body.qvtv-theme-template .qvtv-site-header .search-header button.s-btn {
  vertical-align: middle !important;
}

/* Menú móvil más intuitivo: panel ancho, separado del header y fácil de tocar */
@media (max-width: 1050px) {
  body.qvtv-theme-template .qvtv-site-header {
    position: relative !important;
  }

  body.qvtv-theme-template .qvtv-site-header .qvtv-menu-wrap {
    position: static !important;
    margin-left: auto !important;
  }

  body.qvtv-theme-template .qvtv-site-header #menu {
    position: absolute !important;
    top: calc(100% + 4px) !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    max-width: none !important;
    padding: 14px !important;
    border-radius: 0 0 18px 18px !important;
    background: var(--qvtv-brand) !important;
    box-shadow: 0 18px 44px rgba(11, 31, 58, .32) !important;
    z-index: 999 !important;
  }

  body.qvtv-theme-template .qvtv-site-header #menu .search-responsive {
    display: block !important;
    margin: 0 0 12px !important;
  }

  body.qvtv-theme-template .qvtv-site-header #menu .search-responsive form {
    height: 40px !important;
    border-radius: 16px !important;
    background: #ffffff !important;
  }

  body.qvtv-theme-template .qvtv-site-header #menu .search-responsive input {
    height: 40px !important;
    min-height: 40px !important;
    line-height: 40px !important;
    font-size: .9rem !important;
  }

  body.qvtv-theme-template .qvtv-site-header #menu .search-responsive button.s-btn {
    height: 40px !important;
    min-height: 40px !important;
  }

  body.qvtv-theme-template .qvtv-site-header #menu ul.header-menu {
    display: grid !important;
    gap: 6px !important;
  }

  body.qvtv-theme-template .qvtv-site-header #menu ul.header-menu > li > a {
    min-height: 42px !important;
    padding: 11px 14px !important;
    border-radius: 12px !important;
    font-size: .95rem !important;
  }
}

@media (max-width: 760px) {
  body.qvtv-theme-template .site-header + .qvtv-template,
  body.qvtv-theme-template .qvtv-template,
  body.qvtv-clean-template .site-header + .qvtv-template,
  body.qvtv-clean-template .qvtv-template {
    width: calc(100% - 24px) !important;
    padding-top: 16px !important;
    padding-bottom: 30px !important;
  }

  body.qvtv-theme-template .qvtv-site-header #menu {
    top: calc(100% + 3px) !important;
    left: 10px !important;
    right: 10px !important;
    padding: 12px !important;
  }

  body.qvtv-theme-template .qvtv-hero,
  body.qvtv-theme-template .qvtv-channel-hero,
  body.qvtv-theme-template .qvtv-template-404,
  body.qvtv-theme-template .qvtv-template-search {
    margin-top: 0 !important;
  }
}

/* =========================================================
   QVTV v1.1.4 - Ajuste final de ancho, header, buscador y móvil
   ========================================================= */

/* Ancho más contenido: evita que la plantilla se sienta demasiado abierta */
body.qvtv-theme-template .qvtv-site-header .site-header-content,
body.qvtv-theme-template .qvtv-template,
body.qvtv-clean-template .qvtv-template,
body.qvtv-theme-template .qvtv-footer-inner {
  width: calc(100% - 48px) !important;
  max-width: 1120px !important;
}

/* Separación estable entre header y primer bloque */
body.qvtv-theme-template .site-header + .qvtv-template,
body.qvtv-clean-template .site-header + .qvtv-template,
body.qvtv-theme-template .qvtv-template,
body.qvtv-clean-template .qvtv-template {
  margin-top: 0 !important;
  padding-top: 22px !important;
  padding-bottom: 40px !important;
}

body.qvtv-theme-template .qvtv-template > .qvtv-wrap:first-child,
body.qvtv-clean-template .qvtv-template > .qvtv-wrap:first-child {
  margin-top: 0 !important;
}

/* Header desktop: más estable, sin que el buscador se suba ni deforme */
@media (min-width: 1051px) {
  body.qvtv-theme-template .qvtv-site-header {
    min-height: 58px !important;
    height: auto !important;
    position: relative !important;
    z-index: 100 !important;
  }

  body.qvtv-theme-template .qvtv-site-header .site-header-content {
    min-height: 58px !important;
    height: 58px !important;
    display: grid !important;
    grid-template-columns: auto minmax(280px, 340px) minmax(0, auto) !important;
    align-items: center !important;
    column-gap: 22px !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  body.qvtv-theme-template .qvtv-site-header .site-name {
    min-width: max-content !important;
    line-height: 1 !important;
  }

  body.qvtv-theme-template .qvtv-site-header .site-name a {
    font-size: 1.1rem !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
  }

  body.qvtv-theme-template .qvtv-site-header .search-header {
    width: 100% !important;
    max-width: 340px !important;
    height: 36px !important;
    margin: 0 !important;
    align-self: center !important;
    justify-self: center !important;
    display: block !important;
  }

  body.qvtv-theme-template .qvtv-site-header .qvtv-menu-wrap {
    min-width: 0 !important;
    justify-self: end !important;
    align-self: stretch !important;
    display: flex !important;
    align-items: center !important;
  }

  body.qvtv-theme-template .qvtv-site-header #menu {
    display: block !important;
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
  }

  body.qvtv-theme-template .qvtv-site-header #menu ul.header-menu {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
  }

  body.qvtv-theme-template .qvtv-site-header #menu ul.header-menu > li > a {
    min-height: 58px !important;
    padding: 0 12px !important;
    font-size: .88rem !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
  }
}

/* Buscador del header: una sola forma, sin hover extraño */
body.qvtv-theme-template .qvtv-site-header .search-header form,
body.qvtv-theme-template .qvtv-site-header .search-responsive form {
  width: 100% !important;
  height: 36px !important;
  min-height: 36px !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden !important;
  background: #ffffff !important;
  border: 1px solid rgba(255,255,255,.4) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}

body.qvtv-theme-template .qvtv-site-header .search-header input,
body.qvtv-theme-template .qvtv-site-header .search-responsive input {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: auto !important;
  height: 36px !important;
  min-height: 36px !important;
  line-height: 36px !important;
  margin: 0 !important;
  padding: 0 12px 0 15px !important;
  border: 0 !important;
  border-radius: 999px 0 0 999px !important;
  background: transparent !important;
  color: var(--qvtv-ink) !important;
  font-size: .86rem !important;
  outline: 0 !important;
  box-shadow: none !important;
  appearance: none !important;
}

body.qvtv-theme-template .qvtv-site-header .search-header button.s-btn,
body.qvtv-theme-template .qvtv-site-header .search-responsive button.s-btn {
  flex: 0 0 42px !important;
  width: 42px !important;
  max-width: 42px !important;
  height: 36px !important;
  min-height: 36px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  border-left: 1px solid #e5edf7 !important;
  border-radius: 0 999px 999px 0 !important;
  background: transparent !important;
  background-image: none !important;
  color: var(--qvtv-brand) !important;
  box-shadow: none !important;
  transform: none !important;
  cursor: pointer !important;
  appearance: none !important;
}

body.qvtv-theme-template .qvtv-site-header .search-header button.s-btn:hover,
body.qvtv-theme-template .qvtv-site-header .search-header button.s-btn:focus-visible,
body.qvtv-theme-template .qvtv-site-header .search-responsive button.s-btn:hover,
body.qvtv-theme-template .qvtv-site-header .search-responsive button.s-btn:focus-visible {
  background: #eef4ff !important;
  background-image: none !important;
  color: var(--qvtv-brand-2) !important;
  border-radius: 0 999px 999px 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

body.qvtv-theme-template .qvtv-site-header .search-header button.s-btn svg,
body.qvtv-theme-template .qvtv-site-header .search-responsive button.s-btn svg {
  width: 17px !important;
  height: 17px !important;
  display: block !important;
  stroke: currentColor !important;
  fill: none !important;
  stroke-width: 2.5 !important;
}

/* Búsqueda y 404: tarjetas centradas y más intuitivas */
body.qvtv-theme-template .qvtv-template-search,
body.qvtv-theme-template .qvtv-template-404 {
  max-width: 1040px !important;
}

.qvtv-search-card,
.qvtv-archive-card,
.qvtv-message-card,
.qvtv-content-card,
.qvtv-notfound-card {
  border-radius: 20px !important;
}

.qvtv-result-item {
  color: inherit !important;
  text-decoration: none !important;
  background: #ffffff !important;
  border: 1px solid var(--qvtv-line) !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 22px rgba(16,24,40,.045) !important;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease !important;
}

.qvtv-result-item:hover,
.qvtv-result-item:focus-visible {
  border-color: #93c5fd !important;
  box-shadow: 0 14px 34px rgba(37,99,235,.1) !important;
  transform: translateY(-1px) !important;
}

/* Móvil/tablet: menú ocupa todo el ancho útil y queda debajo del header */
@media (max-width: 1050px) {
  body.qvtv-theme-template .qvtv-site-header {
    min-height: 56px !important;
    position: relative !important;
    z-index: 100 !important;
  }

  body.qvtv-theme-template .qvtv-site-header .site-header-content {
    width: calc(100% - 28px) !important;
    max-width: 1120px !important;
    min-height: 56px !important;
    height: 56px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  body.qvtv-theme-template .qvtv-site-header .search-header {
    display: none !important;
  }

  body.qvtv-theme-template .qvtv-site-header .qvtv-menu-wrap {
    position: static !important;
    margin-left: auto !important;
    display: flex !important;
    align-items: center !important;
  }

  body.qvtv-theme-template .qvtv-site-header #nav-icon {
    width: 42px !important;
    height: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    cursor: pointer !important;
  }

  body.qvtv-theme-template .qvtv-site-header .nav-icon {
    width: 28px !important;
    height: 21px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
  }

  body.qvtv-theme-template .qvtv-site-header .nav-icon .line {
    display: block !important;
    width: 100% !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: #ffffff !important;
  }

  body.qvtv-theme-template .qvtv-site-header #menu {
    display: none !important;
    position: absolute !important;
    top: calc(100% + 4px) !important;
    left: 14px !important;
    right: 14px !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 14px !important;
    background: var(--qvtv-brand) !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    border-radius: 0 0 18px 18px !important;
    box-shadow: 0 18px 44px rgba(11,31,58,.32) !important;
    z-index: 1000 !important;
  }

  body.qvtv-theme-template .qvtv-site-header #btn-menu:checked ~ #menu {
    display: block !important;
  }

  body.qvtv-theme-template .qvtv-site-header #menu .search-responsive {
    display: block !important;
    margin: 0 0 12px !important;
  }

  body.qvtv-theme-template .qvtv-site-header #menu .search-responsive form {
    height: 40px !important;
    min-height: 40px !important;
    border-radius: 16px !important;
  }

  body.qvtv-theme-template .qvtv-site-header #menu .search-responsive input {
    height: 40px !important;
    min-height: 40px !important;
    line-height: 40px !important;
    font-size: .9rem !important;
  }

  body.qvtv-theme-template .qvtv-site-header #menu .search-responsive button.s-btn {
    height: 40px !important;
    min-height: 40px !important;
  }

  body.qvtv-theme-template .qvtv-site-header #menu ul.header-menu {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  body.qvtv-theme-template .qvtv-site-header #menu ul.header-menu > li,
  body.qvtv-theme-template .qvtv-site-header #menu ul.header-menu > li > a {
    width: 100% !important;
  }

  body.qvtv-theme-template .qvtv-site-header #menu ul.header-menu > li > a {
    min-height: 42px !important;
    padding: 11px 14px !important;
    border-radius: 12px !important;
    font-size: .95rem !important;
    display: flex !important;
    align-items: center !important;
  }

  body.qvtv-theme-template .qvtv-site-header #menu ul.header-menu > li > a:hover,
  body.qvtv-theme-template .qvtv-site-header #menu ul.header-menu > li.current-menu-item > a {
    background: rgba(255,255,255,.08) !important;
    color: var(--qvtv-now) !important;
  }
}

@media (max-width: 760px) {
  body.qvtv-theme-template .qvtv-site-header .site-header-content,
  body.qvtv-theme-template .qvtv-template,
  body.qvtv-clean-template .qvtv-template,
  body.qvtv-theme-template .qvtv-footer-inner {
    width: calc(100% - 24px) !important;
    max-width: none !important;
  }

  body.qvtv-theme-template .site-header + .qvtv-template,
  body.qvtv-clean-template .site-header + .qvtv-template,
  body.qvtv-theme-template .qvtv-template,
  body.qvtv-clean-template .qvtv-template {
    padding-top: 16px !important;
    padding-bottom: 30px !important;
  }

  body.qvtv-theme-template .qvtv-site-header #menu {
    top: calc(100% + 3px) !important;
    left: 10px !important;
    right: 10px !important;
    padding: 12px !important;
  }
}

/* =========================================================
   QVTV v1.1.5 - Logo más visible y header balanceado
   ========================================================= */

/* Marca del sitio con más presencia, sin hacer más alto el header */
body.qvtv-theme-template .qvtv-site-header .site-name,
body.qvtv-theme-template .qvtv-site-header .site-name a {
  white-space: nowrap !important;
}

@media (min-width: 1051px) {
  body.qvtv-theme-template .qvtv-site-header .site-header-content {
    grid-template-columns: auto minmax(260px, 320px) minmax(0, auto) !important;
    column-gap: 22px !important;
  }

  body.qvtv-theme-template .qvtv-site-header .site-name a {
    font-size: 1.36rem !important;
    font-weight: 900 !important;
    letter-spacing: -0.045em !important;
    line-height: 1 !important;
  }

  body.qvtv-theme-template .qvtv-site-header .search-header {
    max-width: 320px !important;
  }
}

/* En escritorios medianos se compacta un poco para evitar que el menú se apriete */
@media (min-width: 1051px) and (max-width: 1180px) {
  body.qvtv-theme-template .qvtv-site-header .site-header-content {
    grid-template-columns: auto minmax(240px, 300px) minmax(0, auto) !important;
    column-gap: 18px !important;
  }

  body.qvtv-theme-template .qvtv-site-header .site-name a {
    font-size: 1.28rem !important;
  }

  body.qvtv-theme-template .qvtv-site-header .search-header {
    max-width: 300px !important;
  }

  body.qvtv-theme-template .qvtv-site-header #menu ul.header-menu > li > a {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

@media (max-width: 1050px) {
  body.qvtv-theme-template .qvtv-site-header .site-name a {
    font-size: 1.24rem !important;
    font-weight: 900 !important;
    letter-spacing: -0.04em !important;
  }
}

@media (max-width: 420px) {
  body.qvtv-theme-template .qvtv-site-header .site-name a {
    font-size: 1.14rem !important;
  }
}

/* =========================================================
   QVTV v1.1.6 - Logo de canal más protagonista
   ========================================================= */

/* Logo principal dentro del hero de cada canal */
.single-qvtv_canal .qvtv-channel-hero {
  gap: 19px !important;
  padding: 22px 24px !important;
}

.single-qvtv_canal .qvtv-channel-hero-logo {
  width: 76px !important;
  height: 76px !important;
  border-radius: 18px !important;
  box-shadow: 0 10px 28px rgba(16, 24, 40, .08) !important;
}

.single-qvtv_canal .qvtv-channel-hero-logo img {
  padding: 7px !important;
}

/* Logo en bloques/resúmenes internos de canal */
.single-qvtv_canal .qvtv-canal-summary .qvtv-logo,
.single-qvtv_canal .qvtv-guide-logo {
  width: 58px !important;
  height: 58px !important;
  border-radius: 15px !important;
}

@media (max-width: 760px) {
  .single-qvtv_canal .qvtv-channel-hero {
    gap: 13px !important;
    padding: 15px !important;
  }

  .single-qvtv_canal .qvtv-channel-hero-logo {
    width: 58px !important;
    height: 58px !important;
    border-radius: 14px !important;
  }

  .single-qvtv_canal .qvtv-channel-hero-logo img {
    padding: 5px !important;
  }

  .single-qvtv_canal .qvtv-canal-summary .qvtv-logo,
  .single-qvtv_canal .qvtv-guide-logo {
    width: 52px !important;
    height: 52px !important;
    border-radius: 13px !important;
  }
}

@media (max-width: 420px) {
  .single-qvtv_canal .qvtv-channel-hero-logo {
    width: 54px !important;
    height: 54px !important;
  }
}


/* =========================================================
   QVTV v1.1.7 - Ajuste móvil de logo de canal y bloques clicables
   ========================================================= */

/* En móvil el logo del canal queda centrado con el bloque de texto,
   para evitar que se vea cargado hacia arriba cuando el título ocupa dos líneas. */
@media (max-width: 760px) {
  .single-qvtv_canal .qvtv-channel-hero {
    align-items: center !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  .single-qvtv_canal .qvtv-channel-hero-logo {
    align-self: center !important;
    margin-top: 0 !important;
    width: 56px !important;
    height: 56px !important;
  }

  .single-qvtv_canal .qvtv-channel-hero-content {
    min-width: 0 !important;
  }
}

@media (max-width: 380px) {
  .single-qvtv_canal .qvtv-channel-hero {
    gap: 10px !important;
  }

  .single-qvtv_canal .qvtv-channel-hero-logo {
    width: 52px !important;
    height: 52px !important;
  }
}

/* Refuerzo visual: el usuario entiende que toda la tarjeta del programa es interactiva. */
.single-qvtv_canal .qvtv-timeline-item {
  cursor: pointer !important;
}

.single-qvtv_canal .qvtv-timeline-item .qvtv-program-trigger,
.single-qvtv_canal .qvtv-timeline-item .qvtv-program-image-trigger {
  cursor: pointer !important;
}

.single-qvtv_canal .qvtv-timeline-item:focus-within {
  border-color: #93c5fd !important;
  box-shadow: 0 14px 32px rgba(37, 99, 235, .12) !important;
}


/* =========================================================
   QVTV v1.1.8 - Logo gráfico en header
   ========================================================= */

/* Sustituye el nombre en texto por el logo PNG transparente incluido en el tema hijo. */
body.qvtv-theme-template .qvtv-site-header .qvtv-logo-site,
body.qvtv-theme-template .qvtv-site-header .qvtv-logo-site a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  min-width: 0 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}

body.qvtv-theme-template .qvtv-site-header .qvtv-logo-site img {
  display: block !important;
  width: auto !important;
  height: 38px !important;
  max-width: 176px !important;
  object-fit: contain !important;
}

body.qvtv-theme-template .qvtv-site-header .qvtv-logo-site a:hover,
body.qvtv-theme-template .qvtv-site-header .qvtv-logo-site a:focus-visible {
  opacity: .96 !important;
}

@media (min-width: 1051px) and (max-width: 1180px) {
  body.qvtv-theme-template .qvtv-site-header .qvtv-logo-site img {
    height: 36px !important;
    max-width: 164px !important;
  }
}

@media (max-width: 1050px) {
  body.qvtv-theme-template .qvtv-site-header .qvtv-logo-site img {
    height: 32px !important;
    max-width: 148px !important;
  }
}

@media (max-width: 420px) {
  body.qvtv-theme-template .qvtv-site-header .qvtv-logo-site img {
    height: 30px !important;
    max-width: 136px !important;
  }
}


/* =========================================================
   QVTV v1.1.10 - Respiración del logo solo en móvil/tablet
   ========================================================= */

/* En escritorio se mantiene alineado con el contenedor general */
@media (min-width: 1051px) {
  body.qvtv-theme-template .qvtv-site-header .site-name {
    margin-left: 0 !important;
  }
}

/* En móvil/tablet se separa un poco del borde izquierdo */
@media (max-width: 1050px) {
  body.qvtv-theme-template .qvtv-site-header .site-name {
    margin-left: 8px !important;
  }
}

@media (max-width: 760px) {
  body.qvtv-theme-template .qvtv-site-header .site-name {
    margin-left: 6px !important;
  }
}


/* =========================================================
   QVTV v1.1.11 - Logo discreto en footer
   ========================================================= */

body.qvtv-theme-template .qvtv-footer-brand {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 8px !important;
  max-width: 420px !important;
}

body.qvtv-theme-template .qvtv-footer-logo {
  display: inline-flex !important;
  align-items: center !important;
  text-decoration: none !important;
  line-height: 1 !important;
}

body.qvtv-theme-template .qvtv-footer-logo img {
  display: block !important;
  width: auto !important;
  height: 34px !important;
  max-width: 150px !important;
  object-fit: contain !important;
}

body.qvtv-theme-template .qvtv-footer-tagline {
  display: block !important;
  margin: 0 !important;
  color: rgba(255,255,255,.78) !important;
  font-size: .86rem !important;
  line-height: 1.45 !important;
}

@media (max-width: 760px) {
  body.qvtv-theme-template .qvtv-footer-brand {
    gap: 7px !important;
  }

  body.qvtv-theme-template .qvtv-footer-logo img {
    height: 30px !important;
    max-width: 132px !important;
  }
}


/* =========================================================
   QVTV v1.1.12 - Bloque visual para información del canal
   ========================================================= */

.single-qvtv_canal .qvtv-canal-summary-wrap {
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%) !important;
  border: 1px solid var(--qvtv-line) !important;
  border-radius: 22px !important;
  box-shadow: 0 16px 42px rgba(11, 31, 58, .07) !important;
  padding: 22px !important;
  margin-top: 34px !important;
  margin-bottom: 26px !important;
}

.single-qvtv_canal .qvtv-canal-summary {
  display: grid !important;
  grid-template-columns: 64px minmax(0, 1fr) !important;
  gap: 16px !important;
  align-items: start !important;
}

.single-qvtv_canal .qvtv-canal-summary .qvtv-logo {
  background: #ffffff !important;
  border: 1px solid #dbe5f2 !important;
  box-shadow: 0 10px 28px rgba(11, 31, 58, .08) !important;
  object-fit: contain !important;
  padding: 7px !important;
}

.single-qvtv_canal .qvtv-canal-summary .qvtv-eyebrow {
  display: block !important;
  margin: 0 0 4px !important;
  font-size: .76rem !important;
}

.single-qvtv_canal .qvtv-canal-summary .qvtv-title-small {
  color: var(--qvtv-ink) !important;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem) !important;
  line-height: 1.1 !important;
  letter-spacing: -.045em !important;
  margin: 0 0 6px !important;
}

.single-qvtv_canal .qvtv-canal-summary .qvtv-sub {
  margin: 0 0 14px !important;
  color: var(--qvtv-muted) !important;
  font-size: .94rem !important;
}

.single-qvtv_canal .qvtv-info-list {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin: 14px 0 0 !important;
}

.single-qvtv_canal .qvtv-info-item {
  background: #ffffff !important;
  border: 1px solid #dbe5f2 !important;
  border-radius: 13px !important;
  padding: 11px 13px !important;
  min-width: 0 !important;
}

.single-qvtv_canal .qvtv-info-item span {
  display: block !important;
  color: #64748b !important;
  font-size: .68rem !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: .09em !important;
  text-transform: uppercase !important;
  margin-bottom: 6px !important;
}

.single-qvtv_canal .qvtv-info-item b {
  display: block !important;
  color: var(--qvtv-ink) !important;
  font-size: .9rem !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
  word-break: break-word !important;
}

.single-qvtv_canal .qvtv-availability {
  margin-top: 16px !important;
  padding-top: 16px !important;
  border-top: 1px solid #e5edf7 !important;
  color: var(--qvtv-muted) !important;
  max-width: 820px !important;
}

.single-qvtv_canal .qvtv-availability p {
  margin: 0 0 10px !important;
  font-size: .94rem !important;
  line-height: 1.65 !important;
}

.single-qvtv_canal .qvtv-availability p:last-child {
  margin-bottom: 0 !important;
}

.single-qvtv_canal .qvtv-availability .qvtv-link {
  display: inline-flex !important;
  align-items: center !important;
  color: var(--qvtv-brand-2) !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

.single-qvtv_canal .qvtv-availability .qvtv-link:hover {
  text-decoration: underline !important;
}

.single-qvtv_canal .qvtv-canal-summary-wrap .qvtv-disclaimer {
  margin: 18px 0 0 !important;
  padding: 12px 14px !important;
  background: #f8fafc !important;
  border-color: #dbe5f2 !important;
  font-size: .82rem !important;
  line-height: 1.55 !important;
}

@media (max-width: 760px) {
  .single-qvtv_canal .qvtv-canal-summary-wrap {
    padding: 16px !important;
    border-radius: 18px !important;
    margin-top: 24px !important;
  }

  .single-qvtv_canal .qvtv-canal-summary {
    grid-template-columns: 52px minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  .single-qvtv_canal .qvtv-info-list {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .single-qvtv_canal .qvtv-canal-summary .qvtv-sub,
  .single-qvtv_canal .qvtv-availability p {
    font-size: .88rem !important;
  }
}


/* =========================================================
   QVTV v1.1.13 - Quitar línea superior en bloque info canal
   ========================================================= */

.single-qvtv_canal .qvtv-canal-summary {
  border-top: 0 !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}


/* =========================================================
   QVTV v1.1.14 - Menos espacio entre contenido y footer
   ========================================================= */

body.qvtv-theme-template .qvtv-template,
body.qvtv-clean-template .qvtv-template {
  padding-bottom: 22px !important;
}

body.qvtv-theme-template .qvtv-footer {
  margin-top: 18px !important;
}

.single-qvtv_canal .qvtv-canal-summary-wrap {
  margin-bottom: 14px !important;
}

@media (max-width: 760px) {
  body.qvtv-theme-template .qvtv-template,
  body.qvtv-clean-template .qvtv-template {
    padding-bottom: 16px !important;
  }

  body.qvtv-theme-template .qvtv-footer {
    margin-top: 12px !important;
  }

  .single-qvtv_canal .qvtv-canal-summary-wrap {
    margin-bottom: 10px !important;
  }
}


/* =========================================================
   QVTV v1.1.16 - Diseño unificado de secciones
   ========================================================= */

/* Misma respiración superior en home, canal, páginas, búsqueda y 404 */
body.qvtv-theme-template .site-header + .qvtv-template,
body.qvtv-clean-template .site-header + .qvtv-template,
body.qvtv-theme-template .qvtv-template,
body.qvtv-clean-template .qvtv-template {
  padding-top: 24px !important;
}

body.qvtv-theme-template .qvtv-template > .qvtv-wrap:first-child,
body.qvtv-theme-template .qvtv-template > section:first-child,
body.qvtv-theme-template .qvtv-template > article:first-child,
body.qvtv-clean-template .qvtv-template > .qvtv-wrap:first-child,
body.qvtv-clean-template .qvtv-template > section:first-child,
body.qvtv-clean-template .qvtv-template > article:first-child {
  margin-top: 0 !important;
}

/* En móvil mantenemos un poco menos de aire, pero igual para todas las secciones */
@media (max-width: 760px) {
  body.qvtv-theme-template .site-header + .qvtv-template,
  body.qvtv-clean-template .site-header + .qvtv-template,
  body.qvtv-theme-template .qvtv-template,
  body.qvtv-clean-template .qvtv-template {
    padding-top: 16px !important;
  }
}

/* Unificar el estilo de contenedores principales */
body.qvtv-theme-template .qvtv-hero,
body.qvtv-theme-template .qvtv-channel-hero,
body.qvtv-theme-template .qvtv-search-card,
body.qvtv-theme-template .qvtv-template-404,
body.qvtv-theme-template .qvtv-canal-summary-wrap {
  border-radius: 22px !important;
  border: 1px solid var(--qvtv-line) !important;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%) !important;
  box-shadow: 0 16px 42px rgba(11, 31, 58, .07) !important;
}

/* Unificar tarjetas y listados clicables */
body.qvtv-theme-template .qvtv-card,
body.qvtv-theme-template .qvtv-channel-card,
body.qvtv-theme-template .qvtv-result-item,
body.qvtv-theme-template .qvtv-row,
body.qvtv-theme-template .qvtv-board-channel,
body.qvtv-theme-template .qvtv-info-item {
  border-color: #dbe5f2 !important;
}

body.qvtv-theme-template .qvtv-card,
body.qvtv-theme-template .qvtv-channel-card,
body.qvtv-theme-template .qvtv-result-item,
body.qvtv-theme-template .qvtv-board-channel {
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease !important;
}

body.qvtv-theme-template .qvtv-card:hover,
body.qvtv-theme-template .qvtv-channel-card:hover,
body.qvtv-theme-template .qvtv-result-item:hover,
body.qvtv-theme-template .qvtv-board-channel:hover {
  border-color: rgba(37, 99, 235, .45) !important;
  box-shadow: 0 14px 34px rgba(11, 31, 58, .09) !important;
  transform: translateY(-1px) !important;
}

/* Si por alguna razón queda un placeholder de publicidad sin anuncio, no debe ocupar espacio visual */
body.qvtv-theme-template .qvtv-ad-slot:empty,
body.qvtv-clean-template .qvtv-ad-slot:empty {
  display: none !important;
}

/* Resultados de búsqueda: permitir logos reales de canales */
body.qvtv-theme-template .qvtv-result-icon {
  overflow: hidden !important;
}

body.qvtv-theme-template .qvtv-result-icon img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
  padding: 5px !important;
  background: #fff !important;
}

body.qvtv-theme-template .qvtv-result-icon.is-logo {
  background: #ffffff !important;
  border-color: #dbe5f2 !important;
}

/* Menos variación entre bloques de aviso en diferentes páginas */
body.qvtv-theme-template .qvtv-disclaimer {
  border-radius: 13px !important;
  border-color: #dbe5f2 !important;
  background: #f8fafc !important;
}


/* =========================================================
   QVTV v1.1.17 - Espacio superior uniforme en todas las secciones
   ========================================================= */

/*
   Algunas páginas internas salen desde shortcodes y pueden traer un
   .qvtv-wrap con margen propio o un <p> vacío generado por WordPress.
   Este bloque fuerza una misma respiración bajo el header para:
   home, canal, TV en vivo, canales, programación, qué ver hoy, búsqueda y 404.
*/

body.qvtv-theme-template .site-header + main.qvtv-template,
body.qvtv-clean-template .site-header + main.qvtv-template,
body.qvtv-theme-template main.qvtv-template,
body.qvtv-clean-template main.qvtv-template {
  padding-top: 18px !important;
}

/* El primer bloque visible no debe agregar margen extra sobre el padding del main */
body.qvtv-theme-template main.qvtv-template > .qvtv-wrap:first-of-type,
body.qvtv-theme-template main.qvtv-template > .qvtv-shell:first-of-type,
body.qvtv-theme-template main.qvtv-template > .qvtv-hero:first-of-type,
body.qvtv-theme-template main.qvtv-template > .qvtv-channel-hero:first-of-type,
body.qvtv-theme-template main.qvtv-template > .qvtv-search-card:first-of-type,
body.qvtv-theme-template main.qvtv-template > .qvtv-notfound-card:first-of-type,
body.qvtv-theme-template main.qvtv-template > .qvtv-archive-card:first-of-type,
body.qvtv-theme-template main.qvtv-template > .qvtv-content-card:first-of-type,
body.qvtv-clean-template main.qvtv-template > .qvtv-wrap:first-of-type,
body.qvtv-clean-template main.qvtv-template > .qvtv-shell:first-of-type,
body.qvtv-clean-template main.qvtv-template > .qvtv-hero:first-of-type,
body.qvtv-clean-template main.qvtv-template > .qvtv-channel-hero:first-of-type,
body.qvtv-clean-template main.qvtv-template > .qvtv-search-card:first-of-type,
body.qvtv-clean-template main.qvtv-template > .qvtv-notfound-card:first-of-type,
body.qvtv-clean-template main.qvtv-template > .qvtv-archive-card:first-of-type,
body.qvtv-clean-template main.qvtv-template > .qvtv-content-card:first-of-type {
  margin-top: 0 !important;
}

/* Compatibilidad con la regla base del plugin */
body.qvtv-theme-template .qvtv-template-page > .qvtv-wrap:first-of-type,
body.qvtv-theme-template .qvtv-template-canal > .qvtv-wrap:first-of-type,
body.qvtv-clean-template .qvtv-template-page > .qvtv-wrap:first-of-type,
body.qvtv-clean-template .qvtv-template-canal > .qvtv-wrap:first-of-type {
  margin-top: 0 !important;
}

/* Evita que párrafos vacíos de WordPress creen aire arriba antes de un shortcode */
body.qvtv-theme-template main.qvtv-template > p:empty,
body.qvtv-clean-template main.qvtv-template > p:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Si WordPress inserta un p antes del primer bloque, también se anula el margen del siguiente bloque */
body.qvtv-theme-template main.qvtv-template > p:first-child + .qvtv-wrap,
body.qvtv-theme-template main.qvtv-template > p:first-child + .qvtv-shell,
body.qvtv-theme-template main.qvtv-template > p:first-child + .qvtv-hero,
body.qvtv-clean-template main.qvtv-template > p:first-child + .qvtv-wrap,
body.qvtv-clean-template main.qvtv-template > p:first-child + .qvtv-shell,
body.qvtv-clean-template main.qvtv-template > p:first-child + .qvtv-hero {
  margin-top: 0 !important;
}

/* Móvil: misma lógica pero con respiración más compacta */
@media (max-width: 760px) {
  body.qvtv-theme-template .site-header + main.qvtv-template,
  body.qvtv-clean-template .site-header + main.qvtv-template,
  body.qvtv-theme-template main.qvtv-template,
  body.qvtv-clean-template main.qvtv-template {
    padding-top: 14px !important;
  }
}


/* =========================================================
   QVTV v1.1.18 - 404 limpio y coherente con el resto del sitio
   ========================================================= */

/* El 404 conserva el mismo espacio superior, pero sin sentirse como doble contenedor */
body.qvtv-theme-template main.qvtv-template-404,
body.qvtv-clean-template main.qvtv-template-404 {
  width: calc(100% - 48px) !important;
  max-width: 1120px !important;
  padding-top: 18px !important;
  padding-bottom: 22px !important;
}

/* Tarjeta principal 404: más compacta, tipo hero, sin altura/aire raro */
body.qvtv-theme-template .qvtv-template-404 .qvtv-notfound-card,
body.qvtv-clean-template .qvtv-template-404 .qvtv-notfound-card {
  width: 100% !important;
  margin: 0 auto !important;
  padding: 24px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 250px !important;
  align-items: center !important;
  gap: 22px !important;
  min-height: 0 !important;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%) !important;
  border: 1px solid var(--qvtv-line) !important;
  border-top: 4px solid var(--qvtv-brand-2) !important;
  border-radius: 22px !important;
  box-shadow: 0 16px 42px rgba(11, 31, 58, .07) !important;
}

/* Título y texto más proporcionados, sin inflar demasiado el bloque */
body.qvtv-theme-template .qvtv-template-404 .qvtv-notfound-main h1,
body.qvtv-clean-template .qvtv-template-404 .qvtv-notfound-main h1 {
  margin: 6px 0 10px !important;
  font-size: clamp(2rem, 4vw, 3rem) !important;
  line-height: 1.05 !important;
}

body.qvtv-theme-template .qvtv-template-404 .qvtv-notfound-main .qvtv-sub,
body.qvtv-clean-template .qvtv-template-404 .qvtv-notfound-main .qvtv-sub {
  max-width: 720px !important;
}

/* Buscador 404 más integrado, no como contenedor gigante */
body.qvtv-theme-template .qvtv-template-404 .qvtv-search-404,
body.qvtv-clean-template .qvtv-template-404 .qvtv-search-404 {
  max-width: 660px !important;
  margin: 18px 0 0 !important;
}

/* Panel 404 lateral más compacto */
body.qvtv-theme-template .qvtv-template-404 .qvtv-notfound-side,
body.qvtv-clean-template .qvtv-template-404 .qvtv-notfound-side {
  min-height: 0 !important;
  align-self: center !important;
  justify-content: center !important;
  padding: 18px !important;
  border-radius: 18px !important;
}

body.qvtv-theme-template .qvtv-template-404 .qvtv-notfound-code,
body.qvtv-clean-template .qvtv-template-404 .qvtv-notfound-code {
  margin: 0 0 14px !important;
  font-size: 4rem !important;
}

/* En móvil: 404 compacto y natural */
@media (max-width: 760px) {
  body.qvtv-theme-template main.qvtv-template-404,
  body.qvtv-clean-template main.qvtv-template-404 {
    width: calc(100% - 24px) !important;
    padding-top: 14px !important;
    padding-bottom: 18px !important;
  }

  body.qvtv-theme-template .qvtv-template-404 .qvtv-notfound-card,
  body.qvtv-clean-template .qvtv-template-404 .qvtv-notfound-card {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding: 18px !important;
    border-radius: 18px !important;
  }

  body.qvtv-theme-template .qvtv-template-404 .qvtv-notfound-side,
  body.qvtv-clean-template .qvtv-template-404 .qvtv-notfound-side {
    padding: 14px !important;
  }

  body.qvtv-theme-template .qvtv-template-404 .qvtv-notfound-code,
  body.qvtv-clean-template .qvtv-template-404 .qvtv-notfound-code {
    font-size: 3rem !important;
  }
}


/* =========================================================
   QVTV v1.1.19 - Secciones internas con hero y contenedor unificado
   ========================================================= */

/* Hero base para páginas internas generadas por shortcodes */
body.qvtv-theme-template .qvtv-page-hero,
body.qvtv-clean-template .qvtv-page-hero {
  margin: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 230px !important;
  align-items: center !important;
  gap: 22px !important;
  padding: 22px !important;
  border-top-width: 4px !important;
}

body.qvtv-theme-template .qvtv-page-hero .qvtv-title,
body.qvtv-clean-template .qvtv-page-hero .qvtv-title {
  margin: 0 0 7px !important;
  font-size: clamp(1.75rem, 3.2vw, 2.45rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -.055em !important;
  color: var(--qvtv-ink) !important;
}

body.qvtv-theme-template .qvtv-page-hero .qvtv-sub,
body.qvtv-clean-template .qvtv-page-hero .qvtv-sub {
  margin: 0 !important;
  max-width: 780px !important;
  color: var(--qvtv-muted) !important;
}

body.qvtv-theme-template .qvtv-page-hero .qvtv-now-box,
body.qvtv-clean-template .qvtv-page-hero .qvtv-now-box {
  min-height: 118px !important;
  border-radius: 18px !important;
  justify-content: center !important;
}

body.qvtv-theme-template .qvtv-page-hero .qvtv-clock,
body.qvtv-clean-template .qvtv-page-hero .qvtv-clock {
  font-size: 2rem !important;
  line-height: 1 !important;
}

body.qvtv-theme-template .qvtv-page-hero .qvtv-date,
body.qvtv-clean-template .qvtv-page-hero .qvtv-date {
  line-height: 1.25 !important;
}

/* El contenido de cada sección arranca igual debajo del hero */
body.qvtv-theme-template .qvtv-section-content,
body.qvtv-clean-template .qvtv-section-content {
  margin-top: 18px !important;
}

body.qvtv-theme-template .qvtv-programacion-content .qvtv-list,
body.qvtv-clean-template .qvtv-programacion-content .qvtv-list {
  margin-top: 0 !important;
}

body.qvtv-theme-template .qvtv-channels-directory .qvtv-grid,
body.qvtv-clean-template .qvtv-channels-directory .qvtv-grid {
  margin-top: 0 !important;
}

/* Si todavía aparece una cabecera antigua dentro de estas secciones, se neutraliza */
body.qvtv-theme-template .qvtv-programacion-list-wrap > .qvtv-section-head,
body.qvtv-clean-template .qvtv-programacion-list-wrap > .qvtv-section-head,
body.qvtv-theme-template .qvtv-channels-directory > .qvtv-section-head,
body.qvtv-clean-template .qvtv-channels-directory > .qvtv-section-head {
  display: none !important;
}

/* Las tarjetas de canales quedan más alineadas con el lenguaje visual del sitio */
body.qvtv-theme-template .qvtv-channels-directory .qvtv-card,
body.qvtv-clean-template .qvtv-channels-directory .qvtv-card {
  border-radius: 18px !important;
  box-shadow: 0 12px 30px rgba(11,31,58,.06) !important;
}

body.qvtv-theme-template .qvtv-programacion-list-wrap .qvtv-row,
body.qvtv-clean-template .qvtv-programacion-list-wrap .qvtv-row {
  border-radius: 18px !important;
}

/* Móvil: mismo sistema, más compacto */
@media (max-width: 760px) {
  body.qvtv-theme-template .qvtv-page-hero,
  body.qvtv-clean-template .qvtv-page-hero {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding: 17px !important;
    border-radius: 18px !important;
  }

  body.qvtv-theme-template .qvtv-page-hero .qvtv-title,
  body.qvtv-clean-template .qvtv-page-hero .qvtv-title {
    font-size: 1.55rem !important;
  }

  body.qvtv-theme-template .qvtv-page-hero .qvtv-sub,
  body.qvtv-clean-template .qvtv-page-hero .qvtv-sub {
    font-size: .88rem !important;
    line-height: 1.45 !important;
  }

  body.qvtv-theme-template .qvtv-page-hero .qvtv-now-box,
  body.qvtv-clean-template .qvtv-page-hero .qvtv-now-box {
    min-height: 0 !important;
    padding: 14px !important;
  }

  body.qvtv-theme-template .qvtv-section-content,
  body.qvtv-clean-template .qvtv-section-content {
    margin-top: 14px !important;
  }
}


/* =========================================================
   QVTV v1.1.20 - Heroes unificados en todas las secciones
   ========================================================= */

/* Una sola apariencia para heroes internos: sin borde superior azul extra */
body.qvtv-theme-template .qvtv-page-hero,
body.qvtv-clean-template .qvtv-page-hero,
body.qvtv-theme-template .qvtv-programacion-hero,
body.qvtv-clean-template .qvtv-programacion-hero,
body.qvtv-theme-template .qvtv-channels-hero,
body.qvtv-clean-template .qvtv-channels-hero,
body.qvtv-theme-template .qvtv-ahora-hero,
body.qvtv-clean-template .qvtv-ahora-hero {
  border-top: 0 !important;
  border-top-width: 0 !important;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%) !important;
  border: 1px solid var(--qvtv-line) !important;
  border-radius: 22px !important;
  box-shadow: 0 16px 42px rgba(11, 31, 58, .07) !important;
}

/* Misma distancia superior y misma estructura de contenido debajo */
body.qvtv-theme-template .qvtv-ahora-wrap,
body.qvtv-clean-template .qvtv-ahora-wrap,
body.qvtv-theme-template .qvtv-channels-directory,
body.qvtv-clean-template .qvtv-channels-directory,
body.qvtv-theme-template .qvtv-programacion-list-wrap,
body.qvtv-clean-template .qvtv-programacion-list-wrap {
  margin-top: 0 !important;
}

body.qvtv-theme-template .qvtv-ahora-content,
body.qvtv-clean-template .qvtv-ahora-content,
body.qvtv-theme-template .qvtv-channels-content,
body.qvtv-clean-template .qvtv-channels-content,
body.qvtv-theme-template .qvtv-programacion-content,
body.qvtv-clean-template .qvtv-programacion-content {
  margin-top: 18px !important;
}

/* Neutraliza cabeceras antiguas si algún shortcode viejo las genera */
body.qvtv-theme-template .qvtv-ahora-wrap > .qvtv-section-head,
body.qvtv-clean-template .qvtv-ahora-wrap > .qvtv-section-head,
body.qvtv-theme-template .qvtv-channels-directory > .qvtv-section-head,
body.qvtv-clean-template .qvtv-channels-directory > .qvtv-section-head,
body.qvtv-theme-template .qvtv-programacion-list-wrap > .qvtv-section-head,
body.qvtv-clean-template .qvtv-programacion-list-wrap > .qvtv-section-head {
  display: none !important;
}

/* Que ver hoy: cards alineadas al mismo lenguaje visual */
body.qvtv-theme-template .qvtv-ahora-content .qvtv-card,
body.qvtv-clean-template .qvtv-ahora-content .qvtv-card {
  border-radius: 18px !important;
  box-shadow: 0 12px 30px rgba(11,31,58,.06) !important;
}

/* Móvil */
@media (max-width: 760px) {
  body.qvtv-theme-template .qvtv-page-hero,
  body.qvtv-clean-template .qvtv-page-hero,
  body.qvtv-theme-template .qvtv-programacion-hero,
  body.qvtv-clean-template .qvtv-programacion-hero,
  body.qvtv-theme-template .qvtv-channels-hero,
  body.qvtv-clean-template .qvtv-channels-hero,
  body.qvtv-theme-template .qvtv-ahora-hero,
  body.qvtv-clean-template .qvtv-ahora-hero {
    border-radius: 18px !important;
  }

  body.qvtv-theme-template .qvtv-ahora-content,
  body.qvtv-clean-template .qvtv-ahora-content,
  body.qvtv-theme-template .qvtv-channels-content,
  body.qvtv-clean-template .qvtv-channels-content,
  body.qvtv-theme-template .qvtv-programacion-content,
  body.qvtv-clean-template .qvtv-programacion-content {
    margin-top: 14px !important;
  }
}


/* =========================================================
   QVTV v1.1.21 - 404 y TV en vivo sin duplicados visuales
   ========================================================= */

/* Todos los heroes de páginas principales comparten base sin borde superior de color */
body.qvtv-theme-template .qvtv-page-hero,
body.qvtv-clean-template .qvtv-page-hero,
body.qvtv-theme-template .qvtv-main-hero,
body.qvtv-clean-template .qvtv-main-hero,
body.qvtv-theme-template .qvtv-ahora-hero,
body.qvtv-clean-template .qvtv-ahora-hero,
body.qvtv-theme-template .qvtv-channels-hero,
body.qvtv-clean-template .qvtv-channels-hero,
body.qvtv-theme-template .qvtv-programacion-hero,
body.qvtv-clean-template .qvtv-programacion-hero,
body.qvtv-theme-template .qvtv-notfound-card,
body.qvtv-clean-template .qvtv-notfound-card {
  border-top: 0 !important;
  border-top-width: 0 !important;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%) !important;
  border: 1px solid var(--qvtv-line) !important;
  border-radius: 22px !important;
  box-shadow: 0 16px 42px rgba(11, 31, 58, .07) !important;
}

/* 404: misma familia visual, sin contenedor raro ni borde azul */
body.qvtv-theme-template main.qvtv-template-404,
body.qvtv-clean-template main.qvtv-template-404 {
  width: calc(100% - 48px) !important;
  max-width: 1120px !important;
  padding-top: 18px !important;
  padding-bottom: 22px !important;
}

body.qvtv-theme-template .qvtv-template-404 .qvtv-notfound-card,
body.qvtv-clean-template .qvtv-template-404 .qvtv-notfound-card {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 22px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 250px !important;
  align-items: center !important;
  gap: 22px !important;
  min-height: 0 !important;
}

body.qvtv-theme-template .qvtv-template-404 .qvtv-notfound-main h1,
body.qvtv-clean-template .qvtv-template-404 .qvtv-notfound-main h1 {
  margin: 6px 0 10px !important;
  font-size: clamp(2rem, 4vw, 3rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -.055em !important;
}

body.qvtv-theme-template .qvtv-template-404 .qvtv-notfound-side,
body.qvtv-clean-template .qvtv-template-404 .qvtv-notfound-side {
  align-self: center !important;
  justify-content: center !important;
  min-height: 0 !important;
  padding: 18px !important;
  border-radius: 18px !important;
}

body.qvtv-theme-template .qvtv-template-404 .qvtv-search-404,
body.qvtv-clean-template .qvtv-template-404 .qvtv-search-404 {
  margin: 18px 0 0 !important;
}

/* TV en vivo: cuando la página ya trae hero superior, el bloque de "ahora" arranca como contenido, no como otro hero */
body.qvtv-theme-template .qvtv-main-hero-wrap + .qvtv-ahora-wrap,
body.qvtv-clean-template .qvtv-main-hero-wrap + .qvtv-ahora-wrap {
  margin-top: 18px !important;
}

body.qvtv-theme-template .qvtv-ahora-wrap > .qvtv-section-content:first-child,
body.qvtv-clean-template .qvtv-ahora-wrap > .qvtv-section-content:first-child {
  margin-top: 0 !important;
}

/* Mantener aviso legal con separación consistente */
body.qvtv-theme-template .qvtv-ahora-content > .qvtv-disclaimer,
body.qvtv-clean-template .qvtv-ahora-content > .qvtv-disclaimer {
  margin-top: 18px !important;
}

@media (max-width: 760px) {
  body.qvtv-theme-template main.qvtv-template-404,
  body.qvtv-clean-template main.qvtv-template-404 {
    width: calc(100% - 24px) !important;
    padding-top: 14px !important;
    padding-bottom: 18px !important;
  }

  body.qvtv-theme-template .qvtv-template-404 .qvtv-notfound-card,
  body.qvtv-clean-template .qvtv-template-404 .qvtv-notfound-card {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding: 17px !important;
    border-radius: 18px !important;
  }

  body.qvtv-theme-template .qvtv-template-404 .qvtv-notfound-side,
  body.qvtv-clean-template .qvtv-template-404 .qvtv-notfound-side {
    padding: 14px !important;
  }
}


/* =========================================================
   QVTV v1.1.22 - Estrategia final: menú limpio, 404 limpio
   ========================================================= */

/* Estrategia: "Qué ver hoy" se conserva para SEO interno, pero no se muestra en el menú principal */
body.qvtv-theme-template .qvtv-site-header .header-menu a[href*="/que-ver-hoy/"],
body.qvtv-clean-template .qvtv-site-header .header-menu a[href*="/que-ver-hoy/"] {
  display: none !important;
}

/* 404: quitar por completo el contenedor raro heredado y dejarlo como una tarjeta única */
body.qvtv-theme-template main.qvtv-404-page,
body.qvtv-clean-template main.qvtv-404-page,
body.qvtv-theme-template main.qvtv-template-404,
body.qvtv-clean-template main.qvtv-template-404 {
  width: calc(100% - 48px) !important;
  max-width: 1120px !important;
  margin: 0 auto !important;
  padding: 18px 0 22px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}

/* Nueva tarjeta 404, misma familia visual que el resto, sin borde azul superior */
body.qvtv-theme-template .qvtv-404-hero,
body.qvtv-clean-template .qvtv-404-hero {
  width: 100% !important;
  margin: 0 auto !important;
  padding: 24px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 250px !important;
  align-items: center !important;
  gap: 22px !important;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%) !important;
  border: 1px solid var(--qvtv-line) !important;
  border-top: 0 !important;
  border-radius: 22px !important;
  box-shadow: 0 16px 42px rgba(11, 31, 58, .07) !important;
  overflow: hidden !important;
}

/* Por si queda caché/CSS previo: ninguna variante 404 debe pintar borde superior azul */
body.qvtv-theme-template main.qvtv-template-404 .qvtv-hero,
body.qvtv-theme-template main.qvtv-template-404 .qvtv-page-hero,
body.qvtv-theme-template main.qvtv-template-404 .qvtv-notfound-card,
body.qvtv-theme-template main.qvtv-template-404 .qvtv-404-hero,
body.qvtv-clean-template main.qvtv-template-404 .qvtv-hero,
body.qvtv-clean-template main.qvtv-template-404 .qvtv-page-hero,
body.qvtv-clean-template main.qvtv-template-404 .qvtv-notfound-card,
body.qvtv-clean-template main.qvtv-template-404 .qvtv-404-hero {
  border-top: 0 !important;
  border-top-width: 0 !important;
}

body.qvtv-theme-template .qvtv-404-hero .qvtv-notfound-main h1,
body.qvtv-clean-template .qvtv-404-hero .qvtv-notfound-main h1 {
  margin: 6px 0 10px !important;
  font-size: clamp(2rem, 4vw, 3rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -.055em !important;
}

body.qvtv-theme-template .qvtv-404-hero .qvtv-notfound-main .qvtv-sub,
body.qvtv-clean-template .qvtv-404-hero .qvtv-notfound-main .qvtv-sub {
  max-width: 720px !important;
}

body.qvtv-theme-template .qvtv-404-hero .qvtv-search-404,
body.qvtv-clean-template .qvtv-404-hero .qvtv-search-404 {
  margin: 18px 0 0 !important;
  max-width: 660px !important;
}

body.qvtv-theme-template .qvtv-404-hero .qvtv-notfound-side,
body.qvtv-clean-template .qvtv-404-hero .qvtv-notfound-side {
  align-self: center !important;
  justify-content: center !important;
  min-height: 0 !important;
  padding: 18px !important;
  border-radius: 18px !important;
}

/* TV en vivo: si queda hero principal + bloque ahora, el bloque ahora ya no debe parecer segundo hero */
body.qvtv-theme-template .qvtv-main-hero-wrap + .qvtv-ahora-wrap,
body.qvtv-clean-template .qvtv-main-hero-wrap + .qvtv-ahora-wrap {
  margin-top: 18px !important;
}

body.qvtv-theme-template .qvtv-main-hero-wrap + .qvtv-ahora-wrap > .qvtv-ahora-hero,
body.qvtv-clean-template .qvtv-main-hero-wrap + .qvtv-ahora-wrap > .qvtv-ahora-hero {
  display: none !important;
}

@media (max-width: 760px) {
  body.qvtv-theme-template main.qvtv-404-page,
  body.qvtv-clean-template main.qvtv-404-page,
  body.qvtv-theme-template main.qvtv-template-404,
  body.qvtv-clean-template main.qvtv-template-404 {
    width: calc(100% - 24px) !important;
    padding-top: 14px !important;
    padding-bottom: 18px !important;
  }

  body.qvtv-theme-template .qvtv-404-hero,
  body.qvtv-clean-template .qvtv-404-hero {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding: 17px !important;
    border-radius: 18px !important;
  }

  body.qvtv-theme-template .qvtv-404-hero .qvtv-notfound-side,
  body.qvtv-clean-template .qvtv-404-hero .qvtv-notfound-side {
    padding: 14px !important;
  }
}


/* =========================================================
   QVTV v1.1.23 - Refuerzo: ocultar Qué ver hoy del header
   ========================================================= */

body.qvtv-theme-template .qvtv-site-header .header-menu a[href*="que-ver-hoy"],
body.qvtv-clean-template .qvtv-site-header .header-menu a[href*="que-ver-hoy"],
body.qvtv-theme-template .qvtv-site-header .header-menu a[href*="que-ver"],
body.qvtv-clean-template .qvtv-site-header .header-menu a[href*="que-ver"] {
  display: none !important;
}

body.qvtv-theme-template .qvtv-site-header .header-menu li:has(a[href*="que-ver-hoy"]),
body.qvtv-clean-template .qvtv-site-header .header-menu li:has(a[href*="que-ver-hoy"]),
body.qvtv-theme-template .qvtv-site-header .header-menu li:has(a[href*="que-ver"]),
body.qvtv-clean-template .qvtv-site-header .header-menu li:has(a[href*="que-ver"]) {
  display: none !important;
}


/* =========================================================
   QVTV v1.1.27 - Tarjetas de canal como diseño base
   ========================================================= */

/* Accesos de home: icono + nombre */
body.qvtv-theme-template .qvtv-home-nav a,
body.qvtv-clean-template .qvtv-home-nav a {
  justify-content: center !important;
  gap: 10px !important;
  min-height: 62px !important;
}

body.qvtv-theme-template .qvtv-home-nav-icon,
body.qvtv-clean-template .qvtv-home-nav-icon {
  display: inline-grid !important;
  place-items: center !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 12px !important;
  background: #eef6ff !important;
  color: var(--qvtv-brand-2) !important;
  border: 1px solid rgba(37,99,235,.18) !important;
  font-size: 1rem !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

/* Diseño base de tarjetas por canal */
body.qvtv-theme-template .qvtv-board-compact .qvtv-board-grid,
body.qvtv-clean-template .qvtv-board-compact .qvtv-board-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.qvtv-theme-template .qvtv-board-compact .qvtv-board-channel,
body.qvtv-clean-template .qvtv-board-compact .qvtv-board-channel {
  min-height: 0;
}

/* Directorio de canales: grupos por categoría */
body.qvtv-theme-template .qvtv-channel-group,
body.qvtv-clean-template .qvtv-channel-group {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto 24px;
}

body.qvtv-theme-template .qvtv-channel-group-title,
body.qvtv-clean-template .qvtv-channel-group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--qvtv-line);
}

body.qvtv-theme-template .qvtv-channel-group-title h2,
body.qvtv-clean-template .qvtv-channel-group-title h2 {
  margin: 0;
  color: var(--qvtv-ink);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  letter-spacing: -.035em;
}

body.qvtv-theme-template .qvtv-channel-group-icon,
body.qvtv-clean-template .qvtv-channel-group-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: #eef6ff;
  color: var(--qvtv-brand-2);
  border: 1px solid rgba(37,99,235,.18);
  font-weight: 900;
}

body.qvtv-theme-template .qvtv-channel-group-grid,
body.qvtv-clean-template .qvtv-channel-group-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

body.qvtv-theme-template .qvtv-channel-directory-card,
body.qvtv-clean-template .qvtv-channel-directory-card {
  display: flex;
  flex-direction: column;
  min-height: 188px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid var(--qvtv-line);
  border-left: 4px solid var(--qvtv-brand-3);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(11,31,58,.055);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

body.qvtv-theme-template .qvtv-channel-directory-card:hover,
body.qvtv-clean-template .qvtv-channel-directory-card:hover,
body.qvtv-theme-template .qvtv-channel-directory-card:focus-visible,
body.qvtv-clean-template .qvtv-channel-directory-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(11,31,58,.095);
  border-color: rgba(37,99,235,.30);
}

body.qvtv-theme-template .qvtv-channel-directory-head,
body.qvtv-clean-template .qvtv-channel-directory-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

body.qvtv-theme-template .qvtv-channel-directory-head img,
body.qvtv-clean-template .qvtv-channel-directory-head img {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  object-fit: contain;
  padding: 5px;
  background: #ffffff;
  border: 1px solid var(--qvtv-line);
  border-radius: 12px;
}

body.qvtv-theme-template .qvtv-channel-directory-head strong,
body.qvtv-clean-template .qvtv-channel-directory-head strong {
  color: var(--qvtv-ink);
  font-size: 1.08rem;
  line-height: 1.1;
  font-weight: 900;
}

body.qvtv-theme-template .qvtv-channel-directory-card p,
body.qvtv-clean-template .qvtv-channel-directory-card p {
  margin: 0 0 12px;
  color: var(--qvtv-muted);
  line-height: 1.45;
  font-size: .96rem;
}

body.qvtv-theme-template .qvtv-channel-directory-cta,
body.qvtv-clean-template .qvtv-channel-directory-cta {
  margin-top: auto;
  color: var(--qvtv-brand-2);
  font-weight: 900;
  font-size: .9rem;
}

@media (max-width: 1100px) {
  body.qvtv-theme-template .qvtv-board-compact .qvtv-board-grid,
  body.qvtv-clean-template .qvtv-board-compact .qvtv-board-grid,
  body.qvtv-theme-template .qvtv-channel-group-grid,
  body.qvtv-clean-template .qvtv-channel-group-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.qvtv-theme-template .qvtv-channel-group,
  body.qvtv-clean-template .qvtv-channel-group {
    width: calc(100% - 24px);
  }

  body.qvtv-theme-template .qvtv-channel-group-grid,
  body.qvtv-clean-template .qvtv-channel-group-grid,
  body.qvtv-theme-template .qvtv-board-compact .qvtv-board-grid,
  body.qvtv-clean-template .qvtv-board-compact .qvtv-board-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   QVTV v1.1.28 - Botones de home, hero programación y títulos completos
   ========================================================= */

/* Accesos importantes de la home como botones reales */
body.qvtv-theme-template .qvtv-home-nav-wrap,
body.qvtv-clean-template .qvtv-home-nav-wrap {
  margin-top: 22px !important;
}

body.qvtv-theme-template .qvtv-home-nav,
body.qvtv-clean-template .qvtv-home-nav {
  width: min(1120px, calc(100% - 48px)) !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

body.qvtv-theme-template .qvtv-home-nav a,
body.qvtv-clean-template .qvtv-home-nav a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  min-height: 64px !important;
  padding: 14px 18px !important;
  background: #ffffff !important;
  border: 1px solid var(--qvtv-line) !important;
  border-left: 4px solid var(--qvtv-brand-3) !important;
  border-radius: 18px !important;
  box-shadow: 0 12px 30px rgba(11,31,58,.055) !important;
  color: var(--qvtv-ink) !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
}

body.qvtv-theme-template .qvtv-home-nav a:hover,
body.qvtv-clean-template .qvtv-home-nav a:hover,
body.qvtv-theme-template .qvtv-home-nav a:focus-visible,
body.qvtv-clean-template .qvtv-home-nav a:focus-visible {
  transform: translateY(-2px) !important;
  box-shadow: 0 16px 38px rgba(11,31,58,.095) !important;
  border-color: rgba(37,99,235,.34) !important;
}

body.qvtv-theme-template .qvtv-home-nav a *,
body.qvtv-clean-template .qvtv-home-nav a * {
  text-decoration: none !important;
  text-decoration-line: none !important;
}

body.qvtv-theme-template .qvtv-home-nav-icon,
body.qvtv-clean-template .qvtv-home-nav-icon {
  display: inline-grid !important;
  place-items: center !important;
  flex: 0 0 auto !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 13px !important;
  background: #eef6ff !important;
  color: var(--qvtv-brand-2) !important;
  border: 1px solid rgba(37,99,235,.18) !important;
  font-size: 1rem !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

body.qvtv-theme-template .qvtv-home-nav a strong,
body.qvtv-clean-template .qvtv-home-nav a strong {
  color: var(--qvtv-ink) !important;
  font-size: 1.05rem !important;
  font-weight: 950 !important;
  line-height: 1.1 !important;
}

/* Hero de programación + separación limpia antes de la parrilla */
body.qvtv-theme-template .qvtv-programacion-board-wrap > .qvtv-home-board,
body.qvtv-clean-template .qvtv-programacion-board-wrap > .qvtv-home-board {
  margin-top: 22px !important;
}

/* Títulos completos en tarjetas de programación */
body.qvtv-theme-template .qvtv-home-board .qvtv-board-featured .qvtv-board-title,
body.qvtv-clean-template .qvtv-home-board .qvtv-board-featured .qvtv-board-title,
body.qvtv-theme-template .qvtv-home-board .qvtv-board-row-title,
body.qvtv-clean-template .qvtv-home-board .qvtv-board-row-title {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  display: block !important;
  line-height: 1.22 !important;
}

body.qvtv-theme-template .qvtv-home-board .qvtv-board-featured .qvtv-board-title a,
body.qvtv-clean-template .qvtv-home-board .qvtv-board-featured .qvtv-board-title a,
body.qvtv-theme-template .qvtv-home-board .qvtv-board-row-title a,
body.qvtv-clean-template .qvtv-home-board .qvtv-board-row-title a {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

/* Evita que la línea principal corte el título cuando es largo */
body.qvtv-theme-template .qvtv-home-board .qvtv-board-mainline,
body.qvtv-clean-template .qvtv-home-board .qvtv-board-mainline {
  align-items: flex-start !important;
}

@media (max-width: 760px) {
  body.qvtv-theme-template .qvtv-home-nav,
  body.qvtv-clean-template .qvtv-home-nav {
    width: calc(100% - 24px) !important;
    grid-template-columns: 1fr !important;
  }
}


/* =========================================================
   QVTV v1.1.29 - Ajustes móvil, avisos, ads y parrilla
   ========================================================= */

/* Anuncio bajo hero en secciones principales */
body.qvtv-theme-template .qvtv-ad-slot-after-hero,
body.qvtv-clean-template .qvtv-ad-slot-after-hero {
  width: min(1120px, calc(100% - 48px));
  margin: 18px auto 0;
}

/* Si no hay código de anuncio, no ocupa espacio */
body.qvtv-theme-template .qvtv-ad-slot:empty,
body.qvtv-clean-template .qvtv-ad-slot:empty {
  display: none !important;
}

/* Botones de home más compactos en móvil */
@media (max-width: 760px) {
  body.qvtv-theme-template .qvtv-home-nav,
  body.qvtv-clean-template .qvtv-home-nav {
    width: calc(100% - 24px) !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  body.qvtv-theme-template .qvtv-home-nav a,
  body.qvtv-clean-template .qvtv-home-nav a {
    min-height: 54px !important;
    padding: 10px 14px !important;
    justify-content: flex-start !important;
  }

  body.qvtv-theme-template .qvtv-home-nav-icon,
  body.qvtv-clean-template .qvtv-home-nav-icon {
    width: 30px !important;
    height: 30px !important;
    border-radius: 10px !important;
  }
}

/* Títulos completos en tarjetas de programación */
body.qvtv-theme-template .qvtv-home-board .qvtv-board-featured .qvtv-board-title,
body.qvtv-clean-template .qvtv-home-board .qvtv-board-featured .qvtv-board-title,
body.qvtv-theme-template .qvtv-home-board .qvtv-board-row-title,
body.qvtv-clean-template .qvtv-home-board .qvtv-board-row-title {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  line-height: 1.22 !important;
}

body.qvtv-theme-template .qvtv-home-board .qvtv-board-featured .qvtv-board-title a,
body.qvtv-clean-template .qvtv-home-board .qvtv-board-featured .qvtv-board-title a,
body.qvtv-theme-template .qvtv-home-board .qvtv-board-row-title a,
body.qvtv-clean-template .qvtv-home-board .qvtv-board-row-title a {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

/* Móvil: tarjetas por canal más legibles y sin desbordes */
@media (max-width: 760px) {
  body.qvtv-theme-template .qvtv-board-grid,
  body.qvtv-clean-template .qvtv-board-grid,
  body.qvtv-theme-template .qvtv-board-compact .qvtv-board-grid,
  body.qvtv-clean-template .qvtv-board-compact .qvtv-board-grid {
    grid-template-columns: 1fr !important;
    border-radius: 16px !important;
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    gap: 12px !important;
  }

  body.qvtv-theme-template .qvtv-board-channel,
  body.qvtv-clean-template .qvtv-board-channel {
    border: 1px solid var(--qvtv-line) !important;
    border-radius: 18px !important;
    box-shadow: 0 10px 28px rgba(11,31,58,.055) !important;
    padding: 12px !important;
  }

  body.qvtv-theme-template .qvtv-board-image,
  body.qvtv-clean-template .qvtv-board-image {
    height: auto !important;
    aspect-ratio: 16/9 !important;
    max-height: 170px !important;
  }

  body.qvtv-theme-template .qvtv-board-mainline,
  body.qvtv-clean-template .qvtv-board-mainline {
    display: grid !important;
    grid-template-columns: auto 1fr !important;
    align-items: start !important;
    gap: 8px !important;
  }

  body.qvtv-theme-template .qvtv-board-row,
  body.qvtv-clean-template .qvtv-board-row {
    align-items: flex-start !important;
    gap: 8px !important;
    padding: 8px 8px 8px 10px !important;
  }

  body.qvtv-theme-template .qvtv-board-row-time,
  body.qvtv-clean-template .qvtv-board-row-time {
    min-width: 44px !important;
  }

  body.qvtv-theme-template .qvtv-ad-slot-after-hero,
  body.qvtv-clean-template .qvtv-ad-slot-after-hero {
    width: calc(100% - 24px);
    margin-top: 14px;
  }
}


/* =========================================================
   QVTV v1.1.30 - Ajustes finales móvil, anuncios y botones home
   ========================================================= */

/* El anuncio debajo del hero no debe dejar una línea/espacio raro */
body.qvtv-theme-template .qvtv-ad-slot-after-hero,
body.qvtv-clean-template .qvtv-ad-slot-after-hero {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: min(1120px, calc(100% - 48px)) !important;
  margin: 18px auto 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-left: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  line-height: 0 !important;
  min-height: 0 !important;
}

body.qvtv-theme-template .qvtv-ad-slot-after-hero::before,
body.qvtv-theme-template .qvtv-ad-slot-after-hero::after,
body.qvtv-clean-template .qvtv-ad-slot-after-hero::before,
body.qvtv-clean-template .qvtv-ad-slot-after-hero::after {
  display: none !important;
  content: none !important;
}

body.qvtv-theme-template .qvtv-ad-slot-after-hero img,
body.qvtv-clean-template .qvtv-ad-slot-after-hero img,
body.qvtv-theme-template .qvtv-ad-slot-after-hero iframe,
body.qvtv-clean-template .qvtv-ad-slot-after-hero iframe {
  display: block !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 auto !important;
}

/* En móvil, el menú de la home va en una sola línea con tres botones */
@media (max-width: 760px) {
  body.qvtv-theme-template .qvtv-home-nav,
  body.qvtv-clean-template .qvtv-home-nav {
    width: calc(100% - 24px) !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  body.qvtv-theme-template .qvtv-home-nav a,
  body.qvtv-clean-template .qvtv-home-nav a {
    min-height: 62px !important;
    padding: 8px 5px !important;
    flex-direction: column !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 5px !important;
    border-left-width: 0 !important;
  }

  body.qvtv-theme-template .qvtv-home-nav-icon,
  body.qvtv-clean-template .qvtv-home-nav-icon {
    width: 27px !important;
    height: 27px !important;
    border-radius: 9px !important;
    font-size: .82rem !important;
  }

  body.qvtv-theme-template .qvtv-home-nav a strong,
  body.qvtv-clean-template .qvtv-home-nav a strong {
    font-size: .76rem !important;
    line-height: 1.05 !important;
    white-space: nowrap !important;
  }

  body.qvtv-theme-template .qvtv-ad-slot-after-hero,
  body.qvtv-clean-template .qvtv-ad-slot-after-hero {
    width: calc(100% - 24px) !important;
    margin-top: 14px !important;
  }
}

/* Refuerzo: en parrillas de hoy solo se muestran actuales y próximos desde PHP; visualmente no mostrar filas marcadas como pasadas si quedaran por caché */
body.qvtv-theme-template .qvtv-home-board .qvtv-board-row.is-past,
body.qvtv-clean-template .qvtv-home-board .qvtv-board-row.is-past {
  display: none !important;
}


/* =========================================================
   QVTV v1.1.31 - Corrección salto/línea en anuncio bajo hero
   ========================================================= */

/*
 * El slot debajo del hero debe comportarse como contenedor limpio de anuncio.
 * No debe heredar bordes, barra lateral, min-height ni pseudo-elementos
 * de otros bloques de publicidad.
 */
body.qvtv-theme-template .qvtv-ad-slot.qvtv-ad-slot-after-hero,
body.qvtv-clean-template .qvtv-ad-slot.qvtv-ad-slot-after-hero {
  position: relative !important;
  display: block !important;
  width: min(1120px, calc(100% - 48px)) !important;
  max-width: 1120px !important;
  margin: 18px auto 22px !important;
  padding: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  line-height: normal !important;
  background: transparent !important;
  border: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  overflow: visible !important;
  text-align: center !important;
}

/* Eliminar cualquier línea decorativa heredada */
body.qvtv-theme-template .qvtv-ad-slot.qvtv-ad-slot-after-hero::before,
body.qvtv-theme-template .qvtv-ad-slot.qvtv-ad-slot-after-hero::after,
body.qvtv-clean-template .qvtv-ad-slot.qvtv-ad-slot-after-hero::before,
body.qvtv-clean-template .qvtv-ad-slot.qvtv-ad-slot-after-hero::after {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

/* Si el anuncio viene como imagen/banner de prueba */
body.qvtv-theme-template .qvtv-ad-slot.qvtv-ad-slot-after-hero img,
body.qvtv-clean-template .qvtv-ad-slot.qvtv-ad-slot-after-hero img {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 auto !important;
  border: 0 !important;
}

/* Si el anuncio viene envuelto en p, div o figure */
body.qvtv-theme-template .qvtv-ad-slot.qvtv-ad-slot-after-hero p,
body.qvtv-theme-template .qvtv-ad-slot.qvtv-ad-slot-after-hero figure,
body.qvtv-clean-template .qvtv-ad-slot.qvtv-ad-slot-after-hero p,
body.qvtv-clean-template .qvtv-ad-slot.qvtv-ad-slot-after-hero figure {
  margin: 0 !important;
  padding: 0 !important;
}

/* Si el contenedor está vacío, no debe ocupar nada */
body.qvtv-theme-template .qvtv-ad-slot.qvtv-ad-slot-after-hero:empty,
body.qvtv-clean-template .qvtv-ad-slot.qvtv-ad-slot-after-hero:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* En TV en vivo, el bloque posterior no debe crear separación extra */
body.qvtv-theme-template .qvtv-main-hero-wrap + .qvtv-ad-slot-after-hero + .qvtv-home-board,
body.qvtv-clean-template .qvtv-main-hero-wrap + .qvtv-ad-slot-after-hero + .qvtv-home-board,
body.qvtv-theme-template .qvtv-page-hero + .qvtv-ad-slot-after-hero + .qvtv-home-board,
body.qvtv-clean-template .qvtv-page-hero + .qvtv-ad-slot-after-hero + .qvtv-home-board {
  margin-top: 22px !important;
}

@media (max-width: 760px) {
  body.qvtv-theme-template .qvtv-ad-slot.qvtv-ad-slot-after-hero,
  body.qvtv-clean-template .qvtv-ad-slot.qvtv-ad-slot-after-hero {
    width: calc(100% - 24px) !important;
    margin: 14px auto 18px !important;
  }
}


/* =========================================================
   QVTV v1.1.32 - Fix espacio hero + anuncio
   ========================================================= */

body.qvtv-theme-template .qvtv-template-page > .qvtv-main-hero-wrap,
body.qvtv-clean-template .qvtv-template-page > .qvtv-main-hero-wrap,
body.qvtv-theme-template main.qvtv-template > .qvtv-main-hero-wrap,
body.qvtv-clean-template main.qvtv-template > .qvtv-main-hero-wrap {
  margin-bottom: 0 !important;
}

body.qvtv-theme-template .qvtv-template-page > p:empty,
body.qvtv-clean-template .qvtv-template-page > p:empty,
body.qvtv-theme-template main.qvtv-template > p:empty,
body.qvtv-clean-template main.qvtv-template > p:empty {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
}

body.qvtv-theme-template .qvtv-main-hero-wrap + p,
body.qvtv-clean-template .qvtv-main-hero-wrap + p {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  height: 0 !important;
  line-height: 0 !important;
}

body.qvtv-theme-template .qvtv-main-hero-wrap + .qvtv-ad-slot-after-hero,
body.qvtv-theme-template .qvtv-main-hero-wrap + .qvtv-ad-slot-after_hero,
body.qvtv-theme-template .qvtv-main-hero-wrap + .qvtv-ad-under-hero,
body.qvtv-theme-template .qvtv-main-hero-wrap + p + .qvtv-ad-slot-after-hero,
body.qvtv-theme-template .qvtv-main-hero-wrap + p + .qvtv-ad-slot-after_hero,
body.qvtv-theme-template .qvtv-main-hero-wrap + p + .qvtv-ad-under-hero,
body.qvtv-clean-template .qvtv-main-hero-wrap + .qvtv-ad-slot-after-hero,
body.qvtv-clean-template .qvtv-main-hero-wrap + .qvtv-ad-slot-after_hero,
body.qvtv-clean-template .qvtv-main-hero-wrap + .qvtv-ad-under-hero,
body.qvtv-clean-template .qvtv-main-hero-wrap + p + .qvtv-ad-slot-after-hero,
body.qvtv-clean-template .qvtv-main-hero-wrap + p + .qvtv-ad-slot-after_hero,
body.qvtv-clean-template .qvtv-main-hero-wrap + p + .qvtv-ad-under-hero {
  margin-top: 18px !important;
  margin-bottom: 22px !important;
}

body.qvtv-theme-template .qvtv-template-page > p:has(.qvtv-ad-slot-after-hero),
body.qvtv-theme-template .qvtv-template-page > p:has(.qvtv-ad-slot-after_hero),
body.qvtv-theme-template .qvtv-template-page > p:has(.qvtv-ad-under-hero),
body.qvtv-clean-template .qvtv-template-page > p:has(.qvtv-ad-slot-after-hero),
body.qvtv-clean-template .qvtv-template-page > p:has(.qvtv-ad-slot-after_hero),
body.qvtv-clean-template .qvtv-template-page > p:has(.qvtv-ad-under-hero) {
  margin: 18px 0 22px !important;
  padding: 0 !important;
  line-height: 0 !important;
}

@media (max-width: 760px) {
  body.qvtv-theme-template .qvtv-main-hero-wrap + .qvtv-ad-slot-after-hero,
  body.qvtv-theme-template .qvtv-main-hero-wrap + .qvtv-ad-slot-after_hero,
  body.qvtv-theme-template .qvtv-main-hero-wrap + .qvtv-ad-under-hero,
  body.qvtv-theme-template .qvtv-main-hero-wrap + p + .qvtv-ad-slot-after-hero,
  body.qvtv-theme-template .qvtv-main-hero-wrap + p + .qvtv-ad-slot-after_hero,
  body.qvtv-theme-template .qvtv-main-hero-wrap + p + .qvtv-ad-under-hero,
  body.qvtv-clean-template .qvtv-main-hero-wrap + .qvtv-ad-slot-after-hero,
  body.qvtv-clean-template .qvtv-main-hero-wrap + .qvtv-ad-slot-after_hero,
  body.qvtv-clean-template .qvtv-main-hero-wrap + .qvtv-ad-under-hero,
  body.qvtv-clean-template .qvtv-main-hero-wrap + p + .qvtv-ad-slot-after-hero,
  body.qvtv-clean-template .qvtv-main-hero-wrap + p + .qvtv-ad-slot-after_hero,
  body.qvtv-clean-template .qvtv-main-hero-wrap + p + .qvtv-ad-under-hero {
    margin-top: 14px !important;
    margin-bottom: 18px !important;
  }
}


/* =========================================================
   QVTV v1.1.33 - SEO: H1 único y héroes secundarios
   ========================================================= */

body.qvtv-theme-template .qvtv-main-hero h2.qvtv-title,
body.qvtv-clean-template .qvtv-main-hero h2.qvtv-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: .96;
  letter-spacing: -.065em;
  color: var(--qvtv-ink);
}

body.qvtv-theme-template .qvtv-programacion-board-wrap > .qvtv-ad-slot-after-hero + .qvtv-home-board,
body.qvtv-clean-template .qvtv-programacion-board-wrap > .qvtv-ad-slot-after-hero + .qvtv-home-board,
body.qvtv-theme-template .qvtv-channels-directory > .qvtv-ad-slot-after-hero + .qvtv-section-content,
body.qvtv-clean-template .qvtv-channels-directory > .qvtv-ad-slot-after-hero + .qvtv-section-content {
  margin-top: 22px !important;
}


/* =========================================================
   QVTV v1.1.34 - Fallback visual contra wpautop en shortcodes
   ========================================================= */

body.qvtv-theme-template .qvtv-template > p:empty,
body.qvtv-clean-template .qvtv-template > p:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  line-height: 0 !important;
}

body.qvtv-theme-template .qvtv-template > p > .qvtv-wrap,
body.qvtv-theme-template .qvtv-template > p > .qvtv-ad-slot,
body.qvtv-theme-template .qvtv-template > p > .qvtv-disclaimer,
body.qvtv-clean-template .qvtv-template > p > .qvtv-wrap,
body.qvtv-clean-template .qvtv-template > p > .qvtv-ad-slot,
body.qvtv-clean-template .qvtv-template > p > .qvtv-disclaimer {
  margin-left: auto;
  margin-right: auto;
}


/* =========================================================
   QVTV v1.1.36 - Lógica visual de contenidos vacíos/pasados
   ========================================================= */
body.qvtv-theme-template .qvtv-board-note,
body.qvtv-clean-template .qvtv-board-note {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto 12px;
  padding: 10px 13px;
  border: 1px dashed var(--qvtv-line);
  border-radius: 12px;
  background: #f8fbff;
  color: var(--qvtv-muted);
  font-weight: 750;
  font-size: .9rem;
  line-height: 1.35;
}
body.qvtv-theme-template .qvtv-empty-with-actions,
body.qvtv-clean-template .qvtv-empty-with-actions { line-height: 1.55; }
body.qvtv-theme-template .qvtv-empty-with-actions strong,
body.qvtv-clean-template .qvtv-empty-with-actions strong { color: var(--qvtv-ink); }
body.qvtv-theme-template .qvtv-empty-actions,
body.qvtv-clean-template .qvtv-empty-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:12px; }
body.qvtv-theme-template .qvtv-empty-actions a,
body.qvtv-clean-template .qvtv-empty-actions a { display:inline-flex; align-items:center; justify-content:center; min-height:34px; padding:8px 13px; border-radius:999px; background:var(--qvtv-brand-2); color:#fff!important; font-weight:900; text-decoration:none!important; }
body.qvtv-theme-template .qvtv-empty-actions a:nth-child(2),
body.qvtv-clean-template .qvtv-empty-actions a:nth-child(2) { background:#eef4ff; color:var(--qvtv-brand-2)!important; border:1px solid #bfdbfe; }
body.qvtv-theme-template .qvtv-board-past-tools,
body.qvtv-clean-template .qvtv-board-past-tools { width:min(1120px, calc(100% - 48px)); margin:0 auto 12px; }
body.qvtv-theme-template .qvtv-board-row.qvtv-past-hidden,
body.qvtv-theme-template .qvtv-board-row[hidden],
body.qvtv-clean-template .qvtv-board-row.qvtv-past-hidden,
body.qvtv-clean-template .qvtv-board-row[hidden] { display:none!important; }
body.qvtv-theme-template .qvtv-home-board .qvtv-board-row.is-past:not(.qvtv-past-hidden):not([hidden]),
body.qvtv-clean-template .qvtv-home-board .qvtv-board-row.is-past:not(.qvtv-past-hidden):not([hidden]) { display:flex!important; opacity:.72; border-left-color:#98a2b3; }
body.qvtv-theme-template .qvtv-home-board .qvtv-board-row.is-past:not(.qvtv-past-hidden):not([hidden]) .qvtv-board-row-time,
body.qvtv-theme-template .qvtv-home-board .qvtv-board-row.is-past:not(.qvtv-past-hidden):not([hidden]) .qvtv-board-row-title,
body.qvtv-clean-template .qvtv-home-board .qvtv-board-row.is-past:not(.qvtv-past-hidden):not([hidden]) .qvtv-board-row-time,
body.qvtv-clean-template .qvtv-home-board .qvtv-board-row.is-past:not(.qvtv-past-hidden):not([hidden]) .qvtv-board-row-title { color:var(--qvtv-muted)!important; }
body.qvtv-theme-template .qvtv-board-featured.is-past,
body.qvtv-clean-template .qvtv-board-featured.is-past { border-left-color:#98a2b3; background:#f8fafc; }
@media (max-width:760px){
  body.qvtv-theme-template .qvtv-board-note,
  body.qvtv-theme-template .qvtv-board-past-tools,
  body.qvtv-clean-template .qvtv-board-note,
  body.qvtv-clean-template .qvtv-board-past-tools { width:calc(100% - 24px); }
  body.qvtv-theme-template .qvtv-empty-actions,
  body.qvtv-clean-template .qvtv-empty-actions { display:grid; grid-template-columns:1fr; gap:8px; }
}


/* =========================================================
   QVTV v1.1.37 - Subir banner lateral 300x600 en canal
   ========================================================= */

@media (min-width: 981px) {
  body.qvtv-theme-template .qvtv-channel-page-layout .qvtv-channel-ad-sidebar,
  body.qvtv-clean-template .qvtv-channel-page-layout .qvtv-channel-ad-sidebar {
    margin-top: 0 !important;
    align-self: start !important;
    position: sticky !important;
    top: 88px !important;
  }

  body.qvtv-theme-template .qvtv-channel-page-layout .qvtv-channel-ad-sidebar .qvtv-ad-slot,
  body.qvtv-theme-template .qvtv-channel-page-layout .qvtv-channel-ad-sidebar .qvtv-channel-sidebar-slot,
  body.qvtv-clean-template .qvtv-channel-page-layout .qvtv-channel-ad-sidebar .qvtv-ad-slot,
  body.qvtv-clean-template .qvtv-channel-page-layout .qvtv-channel-ad-sidebar .qvtv-channel-sidebar-slot {
    margin-top: 0 !important;
  }
}

@media (min-width: 981px) and (max-width: 1180px) {
  body.qvtv-theme-template .qvtv-channel-page-layout .qvtv-channel-ad-sidebar,
  body.qvtv-clean-template .qvtv-channel-page-layout .qvtv-channel-ad-sidebar {
    margin-top: 0 !important;
  }
}


/* =========================================================
   QVTV v1.1.38 - Ajuste fino banner lateral 300x600
   ========================================================= */

@media (min-width: 981px) {
  body.qvtv-theme-template .qvtv-channel-page-layout .qvtv-channel-ad-sidebar,
  body.qvtv-clean-template .qvtv-channel-page-layout .qvtv-channel-ad-sidebar {
    margin-top: 68px !important;
    align-self: start !important;
    position: sticky !important;
    top: 88px !important;
  }

  body.qvtv-theme-template .qvtv-channel-page-layout .qvtv-channel-ad-sidebar .qvtv-ad-slot,
  body.qvtv-theme-template .qvtv-channel-page-layout .qvtv-channel-ad-sidebar .qvtv-channel-sidebar-slot,
  body.qvtv-clean-template .qvtv-channel-page-layout .qvtv-channel-ad-sidebar .qvtv-ad-slot,
  body.qvtv-clean-template .qvtv-channel-page-layout .qvtv-channel-ad-sidebar .qvtv-channel-sidebar-slot {
    margin-top: 0 !important;
  }
}

@media (min-width: 981px) and (max-width: 1180px) {
  body.qvtv-theme-template .qvtv-channel-page-layout .qvtv-channel-ad-sidebar,
  body.qvtv-clean-template .qvtv-channel-page-layout .qvtv-channel-ad-sidebar {
    margin-top: 56px !important;
  }
}


/* =========================================================
   QVTV v1.1.39 - Nota discreta de día televisivo
   ========================================================= */

body.qvtv-theme-template .qvtv-tvday-note,
body.qvtv-clean-template .qvtv-tvday-note {
  margin: .55rem 0 0;
  color: var(--qvtv-muted);
  font-size: .82rem;
  line-height: 1.45;
  max-width: 760px;
}

body.qvtv-theme-template .qvtv-channel-hero .qvtv-tvday-note,
body.qvtv-clean-template .qvtv-channel-hero .qvtv-tvday-note {
  margin: .45rem 0 0;
}

@media (max-width: 760px) {
  body.qvtv-theme-template .qvtv-tvday-note,
  body.qvtv-clean-template .qvtv-tvday-note {
    font-size: .76rem;
    line-height: 1.4;
  }
}


/* =========================================================
   QVTV v1.1.40 - Cache safe
   ========================================================= */

body.qvtv-theme-template .qvtv-home-board[data-qvtv-loading="1"],
body.qvtv-clean-template .qvtv-home-board[data-qvtv-loading="1"] {
  opacity: .72;
}

body.qvtv-theme-template .qvtv-board-row.is-current .qvtv-board-row-title,
body.qvtv-clean-template .qvtv-board-row.is-current .qvtv-board-row-title,
body.qvtv-theme-template .qvtv-board-featured.is-current .qvtv-board-title,
body.qvtv-clean-template .qvtv-board-featured.is-current .qvtv-board-title {
  color: var(--qvtv-brand-2);
}


/* =========================================================
   QVTV v1.1.41 - Accesos rápidos compactos en home
   ========================================================= */
.qvtv-home-nav-wrap{
  margin:16px auto 20px!important;
  width:min(1120px,calc(100% - 48px))!important;
}

.qvtv-home-nav{
  width:100%!important;
  max-width:720px!important;
  margin:0 auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  padding:6px!important;
  background:rgba(255,255,255,.64)!important;
  border:1px solid rgba(203,213,225,.72)!important;
  border-radius:999px!important;
  box-shadow:0 12px 30px rgba(11,31,58,.06)!important;
  backdrop-filter:saturate(140%) blur(8px)!important;
}

.qvtv-home-nav a{
  flex:1 1 0!important;
  min-width:0!important;
  min-height:0!important;
  height:42px!important;
  padding:0 16px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  color:var(--qvtv-ui-ink,var(--qvtv-ink,#0f172a))!important;
  background:transparent!important;
  border:0!important;
  border-left:0!important;
  border-radius:999px!important;
  box-shadow:none!important;
  text-decoration:none!important;
  transform:none!important;
  transition:background .18s ease,color .18s ease,box-shadow .18s ease!important;
}

.qvtv-home-nav a:hover,
.qvtv-home-nav a:focus-visible{
  background:#fff!important;
  color:var(--qvtv-ui-brand-2,var(--qvtv-brand-2,#2563eb))!important;
  box-shadow:0 8px 22px rgba(11,31,58,.08)!important;
  transform:none!important;
  outline:0!important;
}

.qvtv-home-nav-icon{
  width:24px!important;
  height:24px!important;
  flex:0 0 24px!important;
  display:inline-grid!important;
  place-items:center!important;
  border-radius:999px!important;
  background:#eef6ff!important;
  border:1px solid rgba(37,99,235,.16)!important;
  color:var(--qvtv-ui-brand-2,var(--qvtv-brand-2,#2563eb))!important;
  font-size:.72rem!important;
  font-weight:900!important;
  line-height:1!important;
}

.qvtv-home-nav a strong{
  color:inherit!important;
  font-size:.9rem!important;
  font-weight:900!important;
  line-height:1!important;
  letter-spacing:-.01em!important;
  white-space:nowrap!important;
}

@media(max-width:760px){
  .qvtv-home-nav-wrap{
    width:calc(100% - 24px)!important;
    margin:14px auto 18px!important;
    overflow:hidden!important;
  }

  .qvtv-home-nav{
    max-width:none!important;
    gap:5px!important;
    padding:5px!important;
    border-radius:18px!important;
  }

  .qvtv-home-nav a{
    height:40px!important;
    padding:0 6px!important;
    gap:5px!important;
  }

  .qvtv-home-nav-icon{
    width:22px!important;
    height:22px!important;
    flex-basis:22px!important;
    font-size:.68rem!important;
  }

  .qvtv-home-nav a strong{
    font-size:.72rem!important;
  }
}

@media(max-width:360px){
  .qvtv-home-nav a{
    padding:0 4px!important;
  }

  .qvtv-home-nav-icon{
    width:20px!important;
    height:20px!important;
    flex-basis:20px!important;
  }

  .qvtv-home-nav a strong{
    font-size:.68rem!important;
  }
}


/* =========================================================
   QVTV v1.1.42 - Accesos finos en home
   ========================================================= */
.qvtv-home-nav-wrap{
  width:min(1120px,calc(100% - 48px))!important;
  margin:12px auto 22px!important;
  padding:0!important;
  overflow:visible!important;
}

.qvtv-home-nav{
  width:auto!important;
  max-width:none!important;
  margin:0 auto!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}

.qvtv-home-nav a{
  flex:0 0 auto!important;
  min-width:0!important;
  min-height:0!important;
  height:34px!important;
  padding:0 13px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  color:var(--qvtv-ui-ink,var(--qvtv-ink,#0f172a))!important;
  background:#fff!important;
  border:1px solid rgba(203,213,225,.9)!important;
  border-left:1px solid rgba(203,213,225,.9)!important;
  border-radius:999px!important;
  box-shadow:0 4px 14px rgba(11,31,58,.045)!important;
  text-decoration:none!important;
  transform:none!important;
  transition:background .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease!important;
}

.qvtv-home-nav a:hover,
.qvtv-home-nav a:focus-visible{
  background:#f8fbff!important;
  border-color:rgba(37,99,235,.32)!important;
  color:var(--qvtv-ui-brand-2,var(--qvtv-brand-2,#2563eb))!important;
  box-shadow:0 6px 18px rgba(11,31,58,.07)!important;
  outline:0!important;
}

.qvtv-home-nav-icon{
  width:auto!important;
  height:auto!important;
  flex:0 0 auto!important;
  display:inline!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  color:var(--qvtv-ui-brand-2,var(--qvtv-brand-2,#2563eb))!important;
  font-size:.72rem!important;
  font-weight:900!important;
  line-height:1!important;
}

.qvtv-home-nav a strong{
  color:inherit!important;
  font-size:.84rem!important;
  font-weight:900!important;
  line-height:1!important;
  letter-spacing:-.01em!important;
  white-space:nowrap!important;
}

@media(max-width:760px){
  .qvtv-home-nav-wrap{
    width:calc(100% - 24px)!important;
    margin:10px auto 18px!important;
  }

  .qvtv-home-nav{
    justify-content:flex-start!important;
    gap:6px!important;
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch!important;
    scrollbar-width:none!important;
    padding:1px 0 3px!important;
  }

  .qvtv-home-nav::-webkit-scrollbar{
    display:none!important;
  }

  .qvtv-home-nav a{
    height:32px!important;
    padding:0 10px!important;
    gap:4px!important;
    box-shadow:0 3px 10px rgba(11,31,58,.045)!important;
  }

  .qvtv-home-nav-icon{
    font-size:.66rem!important;
  }

  .qvtv-home-nav a strong{
    font-size:.72rem!important;
  }
}

@media(max-width:380px){
  .qvtv-home-nav a{
    padding:0 8px!important;
  }

  .qvtv-home-nav a strong{
    font-size:.68rem!important;
  }
}


/* =========================================================
   QVTV v1.1.43 - Home sin botones centrales
   ========================================================= */
.qvtv-home-nav-wrap{
  display:none!important;
}

.qvtv-home-seo-card a{
  color:var(--qvtv-ui-brand-2,var(--qvtv-brand-2,#2563eb))!important;
  font-weight:900!important;
  text-decoration:none!important;
  border-bottom:1px solid rgba(37,99,235,.28)!important;
}

.qvtv-home-seo-card a:hover,
.qvtv-home-seo-card a:focus-visible{
  color:var(--qvtv-ui-ink,var(--qvtv-ink,#0f172a))!important;
  border-bottom-color:currentColor!important;
}


/* =========================================================
   QVTV v1.1.44 - PageSpeed y accesibilidad
   ========================================================= */
.qvtv-daytab{
  color:#334155!important;
}

.qvtv-daytab span{
  color:#334155!important;
  font-weight:900!important;
}

.qvtv-daytab small{
  color:#475569!important;
  font-weight:900!important;
}

.qvtv-daytab.is-active span{
  color:#1d4ed8!important;
}

.qvtv-daytab.is-active small{
  color:#1d4ed8!important;
}

.qvtv-chip.qvtv-live,
.qvtv-live{
  color:#be123c!important;
  background:#fff1f2!important;
  border-color:#fb7185!important;
  font-weight:900!important;
}

.qvtv-timeline-title,
.qvtv-board-title{
  color:#0f172a!important;
}

.qvtv-logo,
.qvtv-guide-logo,
.qvtv-board-logo,
.qvtv-row-logo{
  object-fit:contain!important;
}

.qvtv-timeline-img img,
.qvtv-board-featured-media img{
  object-fit:cover!important;
}


/* =========================================================
   QVTV v1.1.45 - Ajustes finos PageSpeed
   ========================================================= */
.qvtv-daytabs .qvtv-daytab,
.qvtv-daytabs .qvtv-daytab *{
  opacity:1!important;
}

.qvtv-daytabs .qvtv-daytab{
  color:#111827!important;
}

.qvtv-daytabs .qvtv-daytab span{
  color:#111827!important;
  font-weight:900!important;
}

.qvtv-daytabs .qvtv-daytab small{
  color:#111827!important;
  font-weight:900!important;
  font-size:.78rem!important;
  line-height:1.05!important;
  background:transparent!important;
  text-shadow:none!important;
}

.qvtv-daytabs .qvtv-daytab.is-active span{
  color:#0b57d0!important;
}

.qvtv-daytabs .qvtv-daytab.is-active small{
  color:#0f172a!important;
}

.qvtv-chip.qvtv-live,
span.qvtv-chip.qvtv-live{
  color:#8a0f2d!important;
  background:#fff1f2!important;
  border-color:#e11d48!important;
  font-weight:900!important;
  opacity:1!important;
}

.qvtv-timeline-title{
  color:#0f172a!important;
}


/* =========================================================
   QVTV v1.1.46 - Contraste reforzado en tabs y chips
   ========================================================= */
.qvtv-daytabs .qvtv-daytab{
  background:#ffffff!important;
  color:#0f172a!important;
  text-shadow:none!important;
  opacity:1!important;
}

.qvtv-daytabs .qvtv-daytab .qvtv-daytab-label,
.qvtv-daytabs .qvtv-daytab > span{
  color:#0f172a!important;
  font-weight:900!important;
  opacity:1!important;
  text-shadow:none!important;
}

.qvtv-daytabs .qvtv-daytab .qvtv-daytab-date,
.qvtv-daytabs .qvtv-daytab > small{
  display:block!important;
  color:#1f2937!important;
  background:transparent!important;
  font-size:.78rem!important;
  font-weight:900!important;
  line-height:1.1!important;
  opacity:1!important;
  text-shadow:none!important;
  letter-spacing:0!important;
}

.qvtv-daytabs .qvtv-daytab.is-active{
  background:#eaf2ff!important;
  border-color:#2563eb!important;
}

.qvtv-daytabs .qvtv-daytab.is-active .qvtv-daytab-label,
.qvtv-daytabs .qvtv-daytab.is-active > span{
  color:#0b57d0!important;
}

.qvtv-daytabs .qvtv-daytab.is-active .qvtv-daytab-date,
.qvtv-daytabs .qvtv-daytab.is-active > small{
  color:#0f172a!important;
}

.qvtv-chip.qvtv-live,
span.qvtv-chip.qvtv-live{
  color:#7f1231!important;
  background:#fff1f2!important;
  border:1px solid #be123c!important;
  font-weight:900!important;
  opacity:1!important;
  text-shadow:none!important;
}

.qvtv-timeline-time .qvtv-chip.qvtv-live{
  color:#7f1231!important;
}


/* =========================================================
   QVTV v1.1.48 - Canal en listado + contraste consistente
   ========================================================= */
.qvtv-daytabs .qvtv-daytab{
  background:#fff!important;
  color:#0f172a!important;
  opacity:1!important;
  text-shadow:none!important;
}

.qvtv-daytabs .qvtv-daytab .qvtv-daytab-label,
.qvtv-daytabs .qvtv-daytab > span{
  color:#0f172a!important;
  font-weight:900!important;
  opacity:1!important;
  text-shadow:none!important;
}

.qvtv-daytabs .qvtv-daytab .qvtv-daytab-date,
.qvtv-daytabs .qvtv-daytab > small{
  color:#1f2937!important;
  font-weight:900!important;
  opacity:1!important;
  background:transparent!important;
  text-shadow:none!important;
}

.qvtv-daytabs .qvtv-daytab.is-active{
  background:#eaf2ff!important;
  border-color:#2563eb!important;
}

.qvtv-daytabs .qvtv-daytab.is-active .qvtv-daytab-label,
.qvtv-daytabs .qvtv-daytab.is-active > span{
  color:#0b57d0!important;
}

.qvtv-daytabs .qvtv-daytab.is-active .qvtv-daytab-date,
.qvtv-daytabs .qvtv-daytab.is-active > small{
  color:#0f172a!important;
}

.qvtv-chip.qvtv-live,
span.qvtv-chip.qvtv-live{
  color:#7f1231!important;
  background:#fff1f2!important;
  border-color:#be123c!important;
  font-weight:900!important;
  opacity:1!important;
  text-shadow:none!important;
}


/* =========================================================
   QVTV v1.1.49 - Barras y chip Ahora unificados
   ========================================================= */

/* Misma barra de días para Programación y Canal individual */
.qvtv-daytabs,
.single-qvtv_canal .qvtv-daytabs,
.qvtv-clean-template .qvtv-daytabs,
.qvtv-theme-template .qvtv-daytabs{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:0!important;
  width:100%!important;
  margin:0 0 16px!important;
  padding:0!important;
  overflow:hidden!important;
  background:#fff!important;
  border:1px solid var(--qvtv-ui-line,#cbd5e1)!important;
  border-radius:16px!important;
  box-shadow:0 8px 22px rgba(15,23,42,.035)!important;
}

.qvtv-daytabs .qvtv-daytab,
.single-qvtv_canal .qvtv-daytabs .qvtv-daytab,
.qvtv-clean-template .qvtv-daytabs .qvtv-daytab,
.qvtv-theme-template .qvtv-daytabs .qvtv-daytab{
  position:relative!important;
  min-height:58px!important;
  padding:10px 8px 9px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:2px!important;
  background:#fff!important;
  border:0!important;
  border-left:1px solid var(--qvtv-ui-line,#cbd5e1)!important;
  border-radius:0!important;
  color:#0f172a!important;
  text-decoration:none!important;
  box-shadow:none!important;
  opacity:1!important;
}

.qvtv-daytabs .qvtv-daytab:first-child,
.single-qvtv_canal .qvtv-daytabs .qvtv-daytab:first-child{
  border-left:0!important;
}

.qvtv-daytabs .qvtv-daytab::after,
.single-qvtv_canal .qvtv-daytabs .qvtv-daytab::after{
  content:""!important;
  position:absolute!important;
  left:0!important;
  right:0!important;
  bottom:0!important;
  height:2px!important;
  background:transparent!important;
}

.qvtv-daytabs .qvtv-daytab.is-active,
.single-qvtv_canal .qvtv-daytabs .qvtv-daytab.is-active{
  background:#eaf2ff!important;
  color:#0b57d0!important;
}

.qvtv-daytabs .qvtv-daytab.is-active::after,
.single-qvtv_canal .qvtv-daytabs .qvtv-daytab.is-active::after{
  background:#2563eb!important;
}

.qvtv-daytabs .qvtv-daytab .qvtv-daytab-label,
.qvtv-daytabs .qvtv-daytab > span,
.single-qvtv_canal .qvtv-daytabs .qvtv-daytab .qvtv-daytab-label,
.single-qvtv_canal .qvtv-daytabs .qvtv-daytab > span{
  display:block!important;
  color:#0f172a!important;
  font-size:.98rem!important;
  line-height:1.05!important;
  font-weight:900!important;
  letter-spacing:-.02em!important;
  opacity:1!important;
  text-shadow:none!important;
}

.qvtv-daytabs .qvtv-daytab .qvtv-daytab-date,
.qvtv-daytabs .qvtv-daytab > small,
.single-qvtv_canal .qvtv-daytabs .qvtv-daytab .qvtv-daytab-date,
.single-qvtv_canal .qvtv-daytabs .qvtv-daytab > small{
  display:block!important;
  color:#334155!important;
  font-size:.72rem!important;
  line-height:1.05!important;
  font-weight:900!important;
  opacity:1!important;
  background:transparent!important;
  text-shadow:none!important;
}

.qvtv-daytabs .qvtv-daytab.is-active .qvtv-daytab-label,
.qvtv-daytabs .qvtv-daytab.is-active > span,
.single-qvtv_canal .qvtv-daytabs .qvtv-daytab.is-active .qvtv-daytab-label,
.single-qvtv_canal .qvtv-daytabs .qvtv-daytab.is-active > span{
  color:#0b57d0!important;
}

.qvtv-daytabs .qvtv-daytab.is-active .qvtv-daytab-date,
.qvtv-daytabs .qvtv-daytab.is-active > small,
.single-qvtv_canal .qvtv-daytabs .qvtv-daytab.is-active .qvtv-daytab-date,
.single-qvtv_canal .qvtv-daytabs .qvtv-daytab.is-active > small{
  color:#2563eb!important;
}

/* Mismo chip Ahora para cards y listado de canal */
.qvtv-chip.qvtv-live,
span.qvtv-chip.qvtv-live,
.single-qvtv_canal .qvtv-timeline-time .qvtv-chip.qvtv-live,
.qvtv-board-featured .qvtv-chip.qvtv-live{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:0!important;
  height:24px!important;
  padding:0 10px!important;
  margin:0!important;
  border-radius:999px!important;
  color:#be123c!important;
  background:#fff1f2!important;
  border:1px solid #fb7185!important;
  font-size:.78rem!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:-.01em!important;
  opacity:1!important;
  text-shadow:none!important;
  box-shadow:none!important;
}

.single-qvtv_canal .qvtv-timeline-time{
  gap:8px!important;
}

@media(max-width:760px){
  .qvtv-daytabs,
  .single-qvtv_canal .qvtv-daytabs{
    border-radius:13px!important;
    margin-bottom:14px!important;
  }

  .qvtv-daytabs .qvtv-daytab,
  .single-qvtv_canal .qvtv-daytabs .qvtv-daytab{
    min-height:52px!important;
    padding:8px 4px 7px!important;
  }

  .qvtv-daytabs .qvtv-daytab .qvtv-daytab-label,
  .qvtv-daytabs .qvtv-daytab > span,
  .single-qvtv_canal .qvtv-daytabs .qvtv-daytab .qvtv-daytab-label,
  .single-qvtv_canal .qvtv-daytabs .qvtv-daytab > span{
    font-size:.82rem!important;
  }

  .qvtv-daytabs .qvtv-daytab .qvtv-daytab-date,
  .qvtv-daytabs .qvtv-daytab > small,
  .single-qvtv_canal .qvtv-daytabs .qvtv-daytab .qvtv-daytab-date,
  .single-qvtv_canal .qvtv-daytabs .qvtv-daytab > small{
    font-size:.63rem!important;
  }

  .qvtv-chip.qvtv-live,
  span.qvtv-chip.qvtv-live,
  .single-qvtv_canal .qvtv-timeline-time .qvtv-chip.qvtv-live{
    height:22px!important;
    padding:0 8px!important;
    font-size:.72rem!important;
  }
}


/* =========================================================
   QVTV v1.1.50 - Publicidad inline en canal
   ========================================================= */
.qvtv-channel-inline-ad{
  width:100%!important;
  margin:14px 0!important;
  display:block!important;
  clear:both!important;
}

.qvtv-channel-inline-ad .qvtv-ad-slot{
  width:100%!important;
  max-width:728px!important;
  min-height:90px!important;
  margin:0 auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
  border-radius:14px!important;
}

.qvtv-channel-inline-ad img{
  display:block!important;
  max-width:100%!important;
  height:auto!important;
}

.single-qvtv_canal .qvtv-timeline .qvtv-channel-inline-ad{
  grid-column:1 / -1!important;
}

@media(max-width:760px){
  .qvtv-channel-inline-ad{
    margin:12px 0!important;
  }

  .qvtv-channel-inline-ad .qvtv-ad-slot{
    max-width:100%!important;
    min-height:70px!important;
    border-radius:12px!important;
  }
}


/* =========================================================
   QVTV v1.1.51 - Emisiones con varios canales
   ========================================================= */
.qvtv-admin-field select[multiple]{
  min-height:180px;
}


/* =========================================================
   QVTV v1.1.52 - Anuncios inline y filas de parrilla
   ========================================================= */
.qvtv-channel-inline-ad{
  width:100%!important;
  margin:16px 0!important;
  display:block!important;
  clear:both!important;
}

.single-qvtv_canal .qvtv-timeline .qvtv-channel-inline-ad{
  grid-column:1 / -1!important;
}

.qvtv-channel-inline-ad .qvtv-ad-slot{
  width:100%!important;
  max-width:728px!important;
  min-height:90px!important;
  margin:0 auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
  border-radius:14px!important;
}

.qvtv-channel-inline-ad .qvtv-ad-placeholder{
  width:100%!important;
  max-width:728px!important;
  min-height:90px!important;
  margin:0 auto!important;
  border-radius:14px!important;
}

.qvtv-channel-inline-ad img{
  display:block!important;
  max-width:100%!important;
  height:auto!important;
}

/* Programas siguientes en Home/Programación */
.qvtv-board-list{
  display:flex!important;
  flex-direction:column!important;
  gap:8px!important;
  margin-top:10px!important;
}

.qvtv-board-row{
  display:grid!important;
  grid-template-columns:58px minmax(0,1fr)!important;
  align-items:center!important;
  gap:8px!important;
  min-height:44px!important;
  padding:8px 10px!important;
  border-radius:14px!important;
}

.qvtv-board-row-time{
  display:block!important;
  min-width:0!important;
  color:#475569!important;
  font-size:.9rem!important;
  line-height:1!important;
  font-weight:900!important;
  white-space:nowrap!important;
}

.qvtv-board-row-title{
  display:block!important;
  min-width:0!important;
  color:#0f172a!important;
  font-size:.92rem!important;
  line-height:1.12!important;
  font-weight:900!important;
  text-align:left!important;
  overflow:visible!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:anywhere!important;
}

.qvtv-board-row.is-current .qvtv-board-row-time,
.qvtv-board-row.is-current .qvtv-board-row-title{
  color:#e11d48!important;
}

@media(max-width:760px){
  .qvtv-channel-inline-ad{
    margin:12px 0!important;
  }

  .qvtv-channel-inline-ad .qvtv-ad-slot,
  .qvtv-channel-inline-ad .qvtv-ad-placeholder{
    max-width:100%!important;
    min-height:70px!important;
    border-radius:12px!important;
  }

  .qvtv-board-list{
    gap:7px!important;
  }

  .qvtv-board-row{
    grid-template-columns:52px minmax(0,1fr)!important;
    min-height:42px!important;
    padding:8px 9px!important;
  }

  .qvtv-board-row-time{
    font-size:.86rem!important;
  }

  .qvtv-board-row-title{
    font-size:.88rem!important;
    line-height:1.14!important;
  }
}


/* =========================================================
   QVTV v1.1.53 - Fix publicidad cada 6 programas en canal
   ========================================================= */
.single-qvtv_canal .qvtv-channel-inline-ad{
  display:block!important;
  width:100%!important;
  margin:18px 0!important;
  clear:both!important;
}

.single-qvtv_canal .qvtv-timeline .qvtv-channel-inline-ad{
  grid-column:1 / -1!important;
}

.single-qvtv_canal .qvtv-channel-inline-ad .qvtv-ad-slot,
.single-qvtv_canal .qvtv-channel-inline-ad .qvtv-ad-placeholder{
  width:100%!important;
  max-width:728px!important;
  min-height:90px!important;
  margin:0 auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex-direction:column!important;
  border-radius:14px!important;
  overflow:hidden!important;
}

.single-qvtv_canal .qvtv-channel-inline-ad .qvtv-ad-placeholder{
  background:#e2e8f0!important;
  border:1px dashed #94a3b8!important;
  color:#334155!important;
  font-weight:900!important;
}

.single-qvtv_canal .qvtv-channel-inline-ad .qvtv-ad-placeholder strong{
  display:block!important;
  font-size:.85rem!important;
  text-transform:uppercase!important;
  letter-spacing:.08em!important;
}

.single-qvtv_canal .qvtv-channel-inline-ad .qvtv-ad-placeholder span{
  display:block!important;
  margin-top:4px!important;
  font-size:1rem!important;
}

@media(max-width:760px){
  .single-qvtv_canal .qvtv-channel-inline-ad{
    margin:14px 0!important;
  }

  .single-qvtv_canal .qvtv-channel-inline-ad .qvtv-ad-slot,
  .single-qvtv_canal .qvtv-channel-inline-ad .qvtv-ad-placeholder{
    max-width:100%!important;
    min-height:72px!important;
    border-radius:12px!important;
  }
}


/* =========================================================
   QVTV v1.1.54 - Anuncios después de cada 5 programas visibles
   ========================================================= */
.single-qvtv_canal .qvtv-channel-inline-ad{
  margin-top:18px!important;
  margin-bottom:18px!important;
}


/* =========================================================
   QVTV v1.1.55 - Imágenes fallback por categoría
   ========================================================= */
.qvtv-timeline-img img,
.qvtv-board-featured-media img{
  background:#e2e8f0;
}


/* =========================================================
   QVTV v1.1.57 - Modal de programa mejorado
   ========================================================= */
.qvtv-modal-root{
  align-items:center!important;
  justify-content:center!important;
  padding:22px!important;
  background:rgba(8,21,37,.68)!important;
}

.qvtv-modal{
  width:min(820px,100%)!important;
  max-height:min(92vh,900px)!important;
  border-radius:22px!important;
  overflow:auto!important;
  scrollbar-width:none!important;
  -ms-overflow-style:none!important;
  box-shadow:0 28px 90px rgba(8,21,37,.42)!important;
}

.qvtv-modal::-webkit-scrollbar{
  width:0!important;
  height:0!important;
}

.qvtv-modal-close{
  right:10px!important;
  top:10px!important;
  width:42px!important;
  height:42px!important;
  font-size:28px!important;
  line-height:1!important;
  background:rgba(8,21,37,.94)!important;
  color:#fff!important;
  border:2px solid rgba(255,255,255,.75)!important;
  box-shadow:0 10px 28px rgba(8,21,37,.28)!important;
}

.qvtv-modal-close:hover,
.qvtv-modal-close:focus{
  background:#e11d48!important;
  color:#fff!important;
}

.qvtv-modal-media{
  border-radius:22px 22px 0 0!important;
  max-height:430px!important;
}

.qvtv-modal-media img{
  object-fit:cover!important;
}

.qvtv-modal-body{
  padding:22px 24px 24px!important;
}

.qvtv-modal-channelbar{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 13px;
  padding:0 0 12px;
  border-bottom:1px solid var(--qvtv-ui-line,#dbe4f0);
}

.qvtv-modal-channel-logo{
  flex:0 0 auto;
  width:44px;
  height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--qvtv-ui-line,#dbe4f0);
  border-radius:12px;
  background:#fff;
  overflow:hidden;
}

.qvtv-modal-channel-logo img{
  width:34px;
  height:34px;
  object-fit:contain;
  display:block;
}

.qvtv-modal-channel-info{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:2px;
}

.qvtv-modal-channel-name{
  color:#0f172a;
  font-size:.95rem;
  line-height:1.1;
  font-weight:900;
}

.qvtv-modal-channel-time{
  color:#64748b;
  font-size:.82rem;
  line-height:1.2;
  font-weight:800;
}

.qvtv-modal-kicker:empty{
  display:none!important;
}

.qvtv-modal-title{
  font-size:clamp(1.45rem,2.4vw,2.15rem)!important;
  margin-top:2px!important;
}

.qvtv-modal-meta{
  gap:7px!important;
  margin-top:10px!important;
}

.qvtv-modal-desc{
  margin-top:16px!important;
  color:#334155!important;
  font-size:1rem!important;
  line-height:1.6!important;
}

.qvtv-modal-ad{
  margin-top:18px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}

@media(max-width:760px){
  .qvtv-modal-root{
    align-items:center!important;
    padding:10px!important;
  }

  .qvtv-modal{
    width:100%!important;
    max-height:92vh!important;
    border-radius:18px!important;
  }

  .qvtv-modal-media{
    border-radius:18px 18px 0 0!important;
    max-height:34vh!important;
  }

  .qvtv-modal-close{
    width:38px!important;
    height:38px!important;
    right:8px!important;
    top:8px!important;
    font-size:26px!important;
  }

  .qvtv-modal-body{
    padding:16px!important;
  }

  .qvtv-modal-channelbar{
    gap:8px!important;
    margin-bottom:10px!important;
    padding-bottom:10px!important;
  }

  .qvtv-modal-channel-logo{
    width:38px!important;
    height:38px!important;
    border-radius:10px!important;
  }

  .qvtv-modal-channel-logo img{
    width:29px!important;
    height:29px!important;
  }

  .qvtv-modal-title{
    font-size:1.35rem!important;
    line-height:1.12!important;
  }

  .qvtv-modal-desc{
    font-size:.95rem!important;
    line-height:1.55!important;
  }

  .qvtv-modal-actions a.qvtv-modal-action{
    width:100%!important;
  }
}


/* =========================================================
   QVTV v1.1.58 - Modal: X dentro y canal enlazado
   ========================================================= */
.qvtv-modal{
  position:relative!important;
}

.qvtv-modal-close{
  position:absolute!important;
  right:14px!important;
  top:14px!important;
  transform:none!important;
  z-index:20!important;
  width:44px!important;
  height:44px!important;
  border-radius:999px!important;
  background:#e11d48!important;
  color:#fff!important;
  border:3px solid #fff!important;
  box-shadow:0 12px 30px rgba(15,23,42,.30)!important;
}

.qvtv-modal-close:hover,
.qvtv-modal-close:focus{
  background:#be123c!important;
  color:#fff!important;
}

.qvtv-modal-channelbar{
  text-decoration:none!important;
  color:inherit!important;
  border-radius:14px!important;
  transition:background .16s ease,border-color .16s ease!important;
}

.qvtv-modal-channelbar[href]:hover{
  background:#f8fafc!important;
}

.qvtv-modal-channelbar[href]:focus{
  outline:3px solid rgba(37,99,235,.25)!important;
  outline-offset:2px!important;
}

.qvtv-modal-channelbar[href] .qvtv-modal-channel-name{
  color:#0f172a!important;
}

.qvtv-modal-channelbar[href]:hover .qvtv-modal-channel-name{
  color:#2563eb!important;
}

@media(max-width:760px){
  .qvtv-modal-close{
    right:10px!important;
    top:10px!important;
    width:40px!important;
    height:40px!important;
    font-size:27px!important;
  }
}


/* =========================================================
   QVTV v1.1.59 - Modal: X sticky dentro del contenedor
   ========================================================= */
.qvtv-modal-root .qvtv-modal{
  position:relative!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  scrollbar-width:none!important;
  -ms-overflow-style:none!important;
}

.qvtv-modal-root .qvtv-modal::-webkit-scrollbar{
  width:0!important;
  height:0!important;
}

.qvtv-modal-root .qvtv-modal-close{
  position:sticky!important;
  top:14px!important;
  right:auto!important;
  left:auto!important;
  inset:auto!important;
  transform:none!important;
  z-index:60!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:44px!important;
  height:44px!important;
  margin:14px 16px -58px auto!important;
  border-radius:999px!important;
  background:#e11d48!important;
  color:#fff!important;
  border:3px solid #fff!important;
  box-shadow:0 12px 30px rgba(15,23,42,.34)!important;
  font-size:30px!important;
  line-height:1!important;
  font-weight:900!important;
}

.qvtv-modal-root .qvtv-modal-close:hover,
.qvtv-modal-root .qvtv-modal-close:focus{
  background:#be123c!important;
  color:#fff!important;
  outline:3px solid rgba(225,29,72,.25)!important;
  outline-offset:2px!important;
}

.qvtv-modal-root .qvtv-modal-media{
  margin-top:0!important;
}

@media(max-width:760px){
  .qvtv-modal-root .qvtv-modal-close{
    top:10px!important;
    width:40px!important;
    height:40px!important;
    margin:10px 10px -50px auto!important;
    font-size:27px!important;
    border-width:2px!important;
  }
}


/* =========================================================
   QVTV v1.1.60 - Modal: X fija en escritorio, sticky en móvil
   ========================================================= */
@media(min-width:761px){
  .qvtv-modal-root:not([hidden]) .qvtv-modal-close{
    position:fixed!important;
    top:24px!important;
    right:max(24px,calc((100vw - 820px)/2 + 18px))!important;
    left:auto!important;
    bottom:auto!important;
    inset:auto!important;
    transform:none!important;
    z-index:999999!important;
    width:46px!important;
    height:46px!important;
    margin:0!important;
    border-radius:999px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    background:#e11d48!important;
    color:#fff!important;
    border:3px solid #fff!important;
    box-shadow:0 14px 34px rgba(15,23,42,.36)!important;
    font-size:31px!important;
    line-height:1!important;
    font-weight:900!important;
  }

  .qvtv-modal-root:not([hidden]) .qvtv-modal-close:hover,
  .qvtv-modal-root:not([hidden]) .qvtv-modal-close:focus{
    background:#be123c!important;
    color:#fff!important;
  }
}

/* En móvil conservamos sticky porque ahí sí funciona bien */
@media(max-width:760px){
  .qvtv-modal-root:not([hidden]) .qvtv-modal-close{
    position:sticky!important;
    top:10px!important;
    right:auto!important;
    left:auto!important;
    inset:auto!important;
    transform:none!important;
    z-index:60!important;
    margin:10px 10px -50px auto!important;
  }
}


/* =========================================================
   QVTV v1.1.61 - Modal: X calculada según contenedor
   ========================================================= */
@media(min-width:761px){
  .qvtv-modal-root:not([hidden]) .qvtv-modal-close{
    position:fixed!important;
    top:var(--qvtv-close-top,24px)!important;
    left:var(--qvtv-close-left,calc(50vw + 350px))!important;
    right:auto!important;
    bottom:auto!important;
    inset:auto!important;
    transform:none!important;
    z-index:999999!important;
    width:46px!important;
    height:46px!important;
    margin:0!important;
    border-radius:999px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    background:#e11d48!important;
    color:#fff!important;
    border:3px solid #fff!important;
    box-shadow:0 14px 34px rgba(15,23,42,.36)!important;
    font-size:31px!important;
    line-height:1!important;
    font-weight:900!important;
  }
}

@media(max-width:760px){
  .qvtv-modal-root:not([hidden]) .qvtv-modal-close{
    position:sticky!important;
    top:10px!important;
    right:auto!important;
    left:auto!important;
    bottom:auto!important;
    inset:auto!important;
    transform:none!important;
    z-index:60!important;
    margin:10px 10px -50px auto!important;
  }
}


/* =========================================================
   QVTV v1.1.62 - Modal 760px y X forzada a la derecha
   ========================================================= */
html body .qvtv-modal-root:not([hidden]){
  align-items:center!important;
  justify-content:center!important;
}

html body .qvtv-modal-root:not([hidden]) .qvtv-modal{
  width:min(760px,calc(100vw - 28px))!important;
  max-height:92vh!important;
  position:relative!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  scrollbar-width:none!important;
  -ms-overflow-style:none!important;
}

html body .qvtv-modal-root:not([hidden]) .qvtv-modal::-webkit-scrollbar{
  width:0!important;
  height:0!important;
}

html body .qvtv-modal-root:not([hidden]) .qvtv-modal > .qvtv-modal-close{
  position:sticky!important;
  top:12px!important;
  left:auto!important;
  right:auto!important;
  bottom:auto!important;
  inset:auto!important;
  transform:none!important;
  z-index:999999!important;
  width:44px!important;
  height:44px!important;
  margin:12px 12px -56px calc(100% - 56px)!important;
  float:none!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:999px!important;
  background:#e11d48!important;
  color:#fff!important;
  border:3px solid #fff!important;
  box-shadow:0 12px 30px rgba(15,23,42,.36)!important;
  font-size:30px!important;
  line-height:1!important;
  font-weight:900!important;
}

html body .qvtv-modal-root:not([hidden]) .qvtv-modal > .qvtv-modal-close:hover,
html body .qvtv-modal-root:not([hidden]) .qvtv-modal > .qvtv-modal-close:focus{
  background:#be123c!important;
  color:#fff!important;
  outline:3px solid rgba(225,29,72,.25)!important;
  outline-offset:2px!important;
}

html body .qvtv-modal-root:not([hidden]) .qvtv-modal-media{
  margin-top:0!important;
}

@media(max-width:760px){
  html body .qvtv-modal-root:not([hidden]){
    padding:10px!important;
  }

  html body .qvtv-modal-root:not([hidden]) .qvtv-modal{
    width:100%!important;
    max-height:92vh!important;
  }

  html body .qvtv-modal-root:not([hidden]) .qvtv-modal > .qvtv-modal-close{
    top:10px!important;
    width:40px!important;
    height:40px!important;
    margin:10px 10px -50px calc(100% - 50px)!important;
    font-size:27px!important;
    border-width:2px!important;
  }
}


/* =========================================================
   QVTV v1.1.63 - Modal: X fija visible al hacer scroll
   ========================================================= */
@media(min-width:761px){
  html body .qvtv-modal-root:not([hidden]) .qvtv-modal > .qvtv-modal-close{
    position:fixed!important;
    top:clamp(14px,4vh,48px)!important;
    right:max(14px,calc((100vw - 760px) / 2 + 12px))!important;
    left:auto!important;
    bottom:auto!important;
    inset:auto max(14px,calc((100vw - 760px) / 2 + 12px)) auto auto!important;
    transform:none!important;
    z-index:2147483647!important;
    width:46px!important;
    height:46px!important;
    margin:0!important;
    float:none!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    border-radius:999px!important;
    background:#e11d48!important;
    color:#fff!important;
    border:3px solid #fff!important;
    box-shadow:0 14px 34px rgba(15,23,42,.38)!important;
    font-size:31px!important;
    line-height:1!important;
    font-weight:900!important;
  }

  html body .qvtv-modal-root:not([hidden]) .qvtv-modal > .qvtv-modal-close:hover,
  html body .qvtv-modal-root:not([hidden]) .qvtv-modal > .qvtv-modal-close:focus{
    background:#be123c!important;
    color:#fff!important;
    outline:3px solid rgba(225,29,72,.25)!important;
    outline-offset:2px!important;
  }
}

@media(max-width:760px){
  html body .qvtv-modal-root:not([hidden]) .qvtv-modal > .qvtv-modal-close{
    position:sticky!important;
    top:10px!important;
    right:auto!important;
    left:auto!important;
    bottom:auto!important;
    inset:auto!important;
    transform:none!important;
    z-index:999999!important;
    width:40px!important;
    height:40px!important;
    margin:10px 10px -50px calc(100% - 50px)!important;
    border-radius:999px!important;
    background:#e11d48!important;
    color:#fff!important;
  }
}


/* =========================================================
   QVTV v1.1.64 - Modal: X fija también en móvil
   ========================================================= */
@media(max-width:760px){
  html body .qvtv-modal-root:not([hidden]) .qvtv-modal > .qvtv-modal-close{
    position:fixed!important;
    top:max(12px,env(safe-area-inset-top))!important;
    right:max(12px,env(safe-area-inset-right))!important;
    left:auto!important;
    bottom:auto!important;
    inset:auto max(12px,env(safe-area-inset-right)) auto auto!important;
    transform:none!important;
    z-index:2147483647!important;
    width:42px!important;
    height:42px!important;
    margin:0!important;
    float:none!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    border-radius:999px!important;
    background:#e11d48!important;
    color:#fff!important;
    border:2px solid #fff!important;
    box-shadow:0 12px 28px rgba(15,23,42,.36)!important;
    font-size:28px!important;
    line-height:1!important;
    font-weight:900!important;
  }

  html body .qvtv-modal-root:not([hidden]) .qvtv-modal > .qvtv-modal-close:hover,
  html body .qvtv-modal-root:not([hidden]) .qvtv-modal > .qvtv-modal-close:focus{
    background:#be123c!important;
    color:#fff!important;
  }
}


/* =========================================================
   QVTV v1.1.65 - Ficha pública de programa
   ========================================================= */
.qvtv-template-programa{
  max-width:1180px;
  margin:0 auto;
  padding:0 16px 36px;
}
.qvtv-program-page-wrap{
  margin-top:22px;
}
.qvtv-program-hero{
  padding:0!important;
  overflow:hidden;
  border-top:0!important;
}
.qvtv-program-hero-media{
  width:100%;
  aspect-ratio:16/9;
  background:#e2e8f0;
  overflow:hidden;
}
.qvtv-program-hero-media img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.qvtv-program-hero-body{
  padding:24px;
}
.qvtv-program-chips{
  align-items:center;
}
.qvtv-program-chip-link{
  text-decoration:none!important;
  color:inherit!important;
}
.qvtv-program-chip-link span{
  color:#0f172a;
  font-weight:800;
}
.qvtv-program-chip-link:hover span{
  color:#2563eb;
}
.qvtv-program-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 320px;
  gap:18px;
  margin-top:18px;
}
.qvtv-program-content-card,
.qvtv-program-side-card,
.qvtv-program-emissions-card{
  border-top-width:5px;
}
.qvtv-program-copy{
  color:#334155;
  line-height:1.72;
  font-size:1rem;
}
.qvtv-program-copy p{
  margin:0 0 1rem;
}
.qvtv-program-copy p:last-child{
  margin-bottom:0;
}
.qvtv-program-copy-text{
  margin:0;
  color:#334155;
  line-height:1.72;
}
.qvtv-program-channel-card{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none!important;
  color:#0f172a!important;
  background:#fff;
  border:1px solid var(--qvtv-ui-line,#dbe4f0);
  border-radius:16px;
  padding:12px;
}
.qvtv-program-channel-card:hover{
  border-color:#bfdbfe;
  background:#f8fbff;
}
.qvtv-program-channel-logo{
  flex:0 0 auto;
  width:54px;
  height:54px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--qvtv-ui-line,#dbe4f0);
  border-radius:14px;
  background:#fff;
}
.qvtv-program-channel-logo img{
  width:42px;
  height:42px;
  object-fit:contain;
  display:block;
}
.qvtv-program-channel-card strong{
  display:block;
  font-size:1rem;
  line-height:1.1;
  font-weight:900;
}
.qvtv-program-channel-card small{
  display:block;
  color:#64748b;
  font-weight:800;
  margin-top:3px;
}
.qvtv-program-side-info{
  margin-top:12px;
  padding:12px;
  border:1px solid var(--qvtv-ui-line,#dbe4f0);
  border-radius:14px;
  background:#f8fafc;
}
.qvtv-program-side-info strong{
  display:block;
  font-size:.74rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#2563eb;
}
.qvtv-program-side-info span{
  display:block;
  margin-top:4px;
  color:#0f172a;
  font-weight:800;
}
.qvtv-program-emissions-card{
  margin-top:18px;
}
.qvtv-program-emissions-list{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.qvtv-program-emission-row{
  display:grid;
  grid-template-columns:210px minmax(0,1fr);
  gap:14px;
  align-items:center;
  border:1px solid var(--qvtv-ui-line,#dbe4f0);
  background:#fff;
  border-radius:16px;
  padding:12px;
}
.qvtv-program-emission-date strong{
  display:block;
  color:#0f172a;
  font-weight:900;
}
.qvtv-program-emission-date span{
  display:block;
  color:#64748b;
  font-weight:800;
  margin-top:3px;
}
.qvtv-program-emission-main{
  min-width:0;
}
.qvtv-program-emission-status{
  margin-bottom:8px;
}
.qvtv-program-emission-channels{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.qvtv-program-emission-channels a{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 9px;
  border:1px solid var(--qvtv-ui-line,#dbe4f0);
  border-radius:999px;
  background:#f8fafc;
  color:#0f172a;
  text-decoration:none!important;
  font-weight:800;
  font-size:.84rem;
}
.qvtv-program-emission-channels a:hover{
  color:#2563eb;
  border-color:#bfdbfe;
  background:#eef4ff;
}
.qvtv-program-emission-channels img{
  width:22px;
  height:22px;
  object-fit:contain;
}
.qvtv-program-after-hero{
  margin-top:18px!important;
}

@media(max-width:860px){
  .qvtv-program-layout{
    grid-template-columns:1fr;
  }
}
@media(max-width:760px){
  .qvtv-template-programa{
    padding:0 12px 28px;
  }
  .qvtv-program-page-wrap{
    margin-top:14px;
  }
  .qvtv-program-hero-body{
    padding:18px;
  }
  .qvtv-program-emission-row{
    grid-template-columns:1fr;
    gap:10px;
  }
  .qvtv-program-emission-channels a{
    font-size:.8rem;
  }
}


/* =========================================================
   QVTV v1.1.66 - Ficha de programa estilo editorial
   ========================================================= */
.qvtv-program-editorial-wrap{
  max-width:980px;
  margin:22px auto 0;
}
.qvtv-program-editorial{
  display:block;
}
.qvtv-program-editorial-card,
.qvtv-program-editorial-section{
  background:#fff;
  border:1px solid var(--qvtv-ui-line,#dbe4f0);
  border-radius:22px;
  box-shadow:0 18px 40px rgba(15,23,42,.06);
  overflow:hidden;
}
.qvtv-program-editorial-card{
  margin-bottom:18px;
}
.qvtv-program-editorial-media{
  width:100%;
  aspect-ratio:16/9;
  background:#e2e8f0;
  overflow:hidden;
  border-bottom:4px solid var(--qvtv-yellow,#ffd21f);
}
.qvtv-program-editorial-media img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.qvtv-program-airing-strip{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:14px;
  align-items:center;
  padding:15px 18px;
  border-bottom:1px solid var(--qvtv-ui-line,#dbe4f0);
  background:#fff;
}
.qvtv-program-airing-channel{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  color:#0f172a;
  text-decoration:none!important;
}
.qvtv-program-airing-channel:hover strong{
  color:#2563eb;
}
.qvtv-program-airing-logo{
  flex:0 0 auto;
  width:46px;
  height:46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--qvtv-ui-line,#dbe4f0);
  border-radius:13px;
  background:#fff;
}
.qvtv-program-airing-logo img{
  display:block;
  width:34px;
  height:34px;
  object-fit:contain;
}
.qvtv-program-airing-text{
  min-width:0;
}
.qvtv-program-airing-text strong,
.qvtv-program-airing-time strong{
  display:block;
  color:#0f172a;
  font-weight:900;
  line-height:1.15;
}
.qvtv-program-airing-text small,
.qvtv-program-airing-time small{
  display:block;
  margin-top:3px;
  color:#64748b;
  font-size:.82rem;
  font-weight:800;
}
.qvtv-program-airing-time{
  text-align:right;
  min-width:220px;
}
.qvtv-program-editorial-body{
  padding:24px 28px 28px;
}
.qvtv-program-editorial-title{
  margin:8px 0 8px;
  color:#06172f;
  font-size:clamp(2rem,4vw,3.15rem);
  line-height:.98;
  letter-spacing:-.045em;
  font-weight:950;
}
.qvtv-program-editorial-summary{
  max-width:780px;
  margin:0;
  color:#44536a;
  font-size:1.05rem;
  line-height:1.65;
}
.qvtv-program-editorial-chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:18px;
}
.qvtv-program-editorial-section{
  padding:22px;
  margin-top:18px;
}
.qvtv-program-section-head{
  margin-bottom:14px;
}
.qvtv-program-section-head h2{
  margin:5px 0 0;
  color:#06172f;
  font-size:1.45rem;
  line-height:1.12;
  letter-spacing:-.025em;
}
.qvtv-program-editorial-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 320px;
  gap:18px;
  align-items:start;
}
.qvtv-program-info-box{
  position:sticky;
  top:18px;
}
.qvtv-program-emissions-list-compact{
  gap:8px;
}
.qvtv-program-emission-row-compact{
  grid-template-columns:190px minmax(0,1fr);
  padding:11px 12px;
  box-shadow:none;
}
.qvtv-program-emission-row-compact .qvtv-program-emission-date strong{
  font-size:.95rem;
}
.qvtv-program-emission-row-compact .qvtv-program-emission-date span{
  font-size:.88rem;
}
.qvtv-program-after-hero{
  margin:18px auto 0!important;
}
.qvtv-program-editorial-wrap .qvtv-disclaimer{
  margin-top:18px;
}

@media(max-width:860px){
  .qvtv-program-editorial-wrap{
    max-width:760px;
  }
  .qvtv-program-editorial-grid{
    grid-template-columns:1fr;
  }
  .qvtv-program-info-box{
    position:static;
  }
}
@media(max-width:760px){
  .qvtv-program-editorial-wrap{
    margin-top:14px;
  }
  .qvtv-program-editorial-card,
  .qvtv-program-editorial-section{
    border-radius:18px;
  }
  .qvtv-program-airing-strip{
    grid-template-columns:1fr;
    gap:10px;
    padding:13px 14px;
  }
  .qvtv-program-airing-time{
    min-width:0;
    text-align:left;
    padding-left:56px;
    margin-top:-8px;
  }
  .qvtv-program-editorial-body{
    padding:18px;
  }
  .qvtv-program-editorial-title{
    font-size:2rem;
    line-height:1.04;
  }
  .qvtv-program-editorial-summary{
    font-size:.98rem;
    line-height:1.58;
  }
  .qvtv-program-editorial-section{
    padding:18px;
  }
  .qvtv-program-emission-row-compact{
    grid-template-columns:1fr;
  }
}


/* =========================================================
   QVTV v1.1.67 - Ficha de programa a 900px
   ========================================================= */
.qvtv-program-editorial-wrap{
  max-width:900px!important;
}

.qvtv-template-programa{
  max-width:100%!important;
}

@media(max-width:940px){
  .qvtv-program-editorial-wrap{
    max-width:calc(100% - 24px)!important;
  }
}


/* =========================================================
   QVTV v1.1.69 - Modal usa imagen grande del programa
   ========================================================= */
.qvtv-modal-media img{
  image-rendering:auto;
}


/* =========================================================
   QVTV v1.1.71 - Ficha especial de partido
   ========================================================= */
.qvtv-match-page-wrap{max-width:980px;margin:22px auto 0}
.qvtv-match-hero,.qvtv-match-section{background:#fff;border:1px solid var(--qvtv-ui-line,#dbe4f0);border-radius:22px;box-shadow:0 18px 40px rgba(15,23,42,.06);overflow:hidden}
.qvtv-match-hero-media{width:100%;aspect-ratio:16/9;background:#e2e8f0;overflow:hidden;border-bottom:4px solid var(--qvtv-yellow,#ffd21f)}
.qvtv-match-hero-media img{display:block;width:100%;height:100%;object-fit:cover}
.qvtv-match-hero-body{padding:24px 28px 28px}
.qvtv-match-title{margin:8px 0 10px;color:#06172f;font-size:clamp(2rem,4vw,3.05rem);line-height:1;letter-spacing:-.045em;font-weight:950}
.qvtv-match-summary{max-width:790px;margin:0;color:#44536a;font-size:1.05rem;line-height:1.6}
.qvtv-match-meta-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:18px}
.qvtv-match-meta-grid div{padding:12px;border:1px solid var(--qvtv-ui-line,#dbe4f0);border-radius:16px;background:#f8fafc}
.qvtv-match-meta-grid strong{display:block;color:#2563eb;font-size:.74rem;letter-spacing:.08em;text-transform:uppercase;font-weight:900}
.qvtv-match-meta-grid span{display:block;margin-top:4px;color:#0f172a;font-weight:900}
.qvtv-match-live{color:#e11d48!important}
.qvtv-match-channels{display:flex;flex-wrap:wrap;gap:8px}
.qvtv-match-hero-body .qvtv-match-channels{margin-top:16px}
.qvtv-match-channels a{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid var(--qvtv-ui-line,#dbe4f0);border-radius:999px;background:#fff;color:#0f172a;text-decoration:none!important;font-weight:900}
.qvtv-match-channels a:hover{color:#2563eb;border-color:#bfdbfe;background:#eef4ff}
.qvtv-match-channels img{width:24px;height:24px;object-fit:contain}
.qvtv-match-channels-large a{padding:9px 13px}
.qvtv-match-channels-large img{width:32px;height:32px}
.qvtv-match-after-hero{margin:18px auto 0!important}
.qvtv-match-section{padding:22px;margin-top:18px}
.qvtv-match-section h2{margin:5px 0 12px;color:#06172f;font-size:1.45rem;line-height:1.12;letter-spacing:-.025em}
.qvtv-match-section p{color:#334155;line-height:1.7;margin:0 0 14px}
.qvtv-match-grid{display:grid;grid-template-columns:360px minmax(0,1fr);gap:18px}
.qvtv-match-dl{margin:0;display:flex;flex-direction:column;gap:10px}
.qvtv-match-dl div{padding:10px 12px;border:1px solid var(--qvtv-ui-line,#dbe4f0);border-radius:14px;background:#f8fafc}
.qvtv-match-dl dt{color:#2563eb;font-size:.74rem;letter-spacing:.08em;text-transform:uppercase;font-weight:900}
.qvtv-match-dl dd{margin:4px 0 0;color:#0f172a;font-weight:900}
.qvtv-match-emission-list{display:flex;flex-direction:column;gap:10px}
.qvtv-match-emission-row{display:grid;grid-template-columns:190px minmax(0,1fr);gap:14px;align-items:center;padding:12px;border:1px solid var(--qvtv-ui-line,#dbe4f0);border-radius:16px;background:#fff}
.qvtv-match-emission-row strong{display:block;color:#0f172a;font-weight:900}
.qvtv-match-emission-row span{display:block;color:#64748b;font-weight:800;margin-top:3px}
.qvtv-match-page-wrap .qvtv-disclaimer{margin-top:18px}
@media(max-width:860px){.qvtv-match-page-wrap{max-width:760px}.qvtv-match-grid,.qvtv-match-meta-grid{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.qvtv-match-page-wrap{margin-top:14px}.qvtv-match-hero,.qvtv-match-section{border-radius:18px}.qvtv-match-hero-body{padding:18px}.qvtv-match-title{font-size:2rem;line-height:1.04}.qvtv-match-summary{font-size:.98rem;line-height:1.58}.qvtv-match-meta-grid,.qvtv-match-grid,.qvtv-match-emission-row{grid-template-columns:1fr}.qvtv-match-section{padding:18px}.qvtv-match-channels-large a{width:100%;justify-content:flex-start}}


/* =========================================================
   QVTV v1.1.72 - Programas importantes abren ficha propia
   ========================================================= */
.qvtv-program-page-link{
  cursor:pointer;
}
.qvtv-program-page-link.qvtv-program-title-trigger{
  color:inherit;
  text-decoration:none!important;
}
.qvtv-program-page-link.qvtv-program-title-trigger:hover{
  color:var(--qvtv-ui-brand-2,#2563eb)!important;
  text-decoration:underline!important;
}
.qvtv-program-page-link.qvtv-program-image-trigger{
  display:block;
  width:100%;
  border-radius:inherit;
  overflow:hidden;
  line-height:0;
}
.qvtv-program-page-link.qvtv-btn{
  text-decoration:none!important;
}
.qvtv-program-page-link[data-qvtv-open-program-page="1"]::after{
  content:"";
}


/* =========================================================
   QVTV v1.1.73 - Anuncio antes del hero en fichas propias
   ========================================================= */
.qvtv-ad-program-before-hero{
  width:100%;
  max-width:980px;
  margin:0 auto 18px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
}
.qvtv-program-editorial-wrap .qvtv-ad-program-before-hero{
  max-width:900px;
}
.qvtv-ad-program-before-hero .qvtv-ad-placeholder,
.qvtv-ad-program-before-hero > *{
  max-width:100%;
}
@media(max-width:760px){
  .qvtv-ad-program-before-hero{
    margin:0 auto 14px!important;
  }
}


/* =========================================================
   QVTV v1.1.74 - Ficha de partido compacta
   ========================================================= */
.qvtv-match-grid{
  grid-template-columns:minmax(260px, .42fr) minmax(0, 1fr)!important;
  align-items:stretch;
}
.qvtv-match-grid > .qvtv-match-section{
  margin-top:18px;
}
.qvtv-match-dl-compact{
  gap:0!important;
  border:1px solid var(--qvtv-ui-line,#dbe4f0);
  border-radius:16px;
  overflow:hidden;
  background:#fff;
}
.qvtv-match-dl-compact div{
  display:grid!important;
  grid-template-columns:112px minmax(0,1fr);
  gap:10px;
  align-items:start;
  padding:10px 12px!important;
  border:0!important;
  border-bottom:1px solid var(--qvtv-ui-line,#dbe4f0)!important;
  border-radius:0!important;
  background:#fff!important;
}
.qvtv-match-dl-compact div:last-child{
  border-bottom:0!important;
}
.qvtv-match-dl-compact dt{
  margin:0!important;
  color:#2563eb!important;
  font-size:.68rem!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  font-weight:950!important;
  line-height:1.25!important;
}
.qvtv-match-dl-compact dd{
  margin:0!important;
  color:#0f172a!important;
  font-weight:900!important;
  line-height:1.28!important;
}
.qvtv-match-section .qvtv-program-copy,
.qvtv-match-section .qvtv-program-copy p{
  line-height:1.72;
}
.qvtv-match-section .qvtv-program-copy p,
.qvtv-match-section p{
  margin-bottom:12px;
}
.qvtv-match-section .qvtv-program-copy p:last-child,
.qvtv-match-section p:last-child{
  margin-bottom:0;
}
.qvtv-match-watch{
  padding:20px 22px!important;
}
.qvtv-match-emission-row{
  padding:10px 12px!important;
}
@media(max-width:860px){
  .qvtv-match-grid{
    grid-template-columns:1fr!important;
  }
}
@media(max-width:520px){
  .qvtv-match-dl-compact div{
    grid-template-columns:1fr!important;
    gap:3px!important;
  }
}


/* =========================================================
   QVTV v1.1.75 - Partido: previa arriba, anuncio y ficha horizontal
   ========================================================= */
.qvtv-match-preview-section{
  width:100%;
}
.qvtv-match-preview-section p{
  max-width:860px;
}
.qvtv-ad-match-after-preview{
  width:100%;
  max-width:980px;
  margin:18px auto 0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
}
.qvtv-ad-match-after-preview .qvtv-ad-placeholder,
.qvtv-ad-match-after-preview > *{
  max-width:100%;
}
.qvtv-match-ficha-horizontal{
  width:100%;
}
.qvtv-match-dl-horizontal{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin:0!important;
}
.qvtv-match-dl-horizontal div{
  min-height:74px;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  padding:12px 14px!important;
  border:1px solid var(--qvtv-ui-line,#dbe4f0)!important;
  border-radius:16px!important;
  background:#f8fafc!important;
}
.qvtv-match-dl-horizontal dt{
  margin:0 0 4px!important;
  color:#2563eb!important;
  font-size:.68rem!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  font-weight:950!important;
  line-height:1.2!important;
}
.qvtv-match-dl-horizontal dd{
  margin:0!important;
  color:#0f172a!important;
  font-weight:900!important;
  line-height:1.24!important;
}
@media(max-width:860px){
  .qvtv-match-dl-horizontal{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:560px){
  .qvtv-match-dl-horizontal{
    grid-template-columns:1fr!important;
  }
  .qvtv-match-dl-horizontal div{
    min-height:auto;
  }
}


/* =========================================================
   QVTV v1.1.76 - Artículos con imagen destacada y barra lateral
   ========================================================= */

body.qvtv-theme-template .qvtv-template-single-post {
  max-width: 1180px !important;
}

.qvtv-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 315px;
  gap: 22px;
  align-items: start;
}

.qvtv-article-card {
  min-width: 0;
}

.qvtv-article-header {
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 22px !important;
}

.qvtv-article-header h1 {
  margin-bottom: 10px !important;
}

.qvtv-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--qvtv-muted);
  font-size: .9rem;
  margin: 0 0 16px;
}

.qvtv-article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.qvtv-article-meta span + span::before {
  content: "·";
  color: #94a3b8;
  margin-right: 2px;
}

.qvtv-article-meta a {
  color: var(--qvtv-brand-2) !important;
  font-weight: 800;
  text-decoration: none;
}

.qvtv-article-meta a:hover {
  text-decoration: underline;
}

.qvtv-article-featured {
  margin: 0 0 22px !important;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--qvtv-line);
  background: #e5edf7;
  box-shadow: 0 12px 30px rgba(11, 31, 58, .08);
}

.qvtv-article-featured img,
.qvtv-article-featured-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.qvtv-article-content {
  font-size: 1rem;
}

.qvtv-article-content h2,
.qvtv-article-content h3 {
  color: var(--qvtv-ink);
  letter-spacing: -0.045em;
}

.qvtv-article-sidebar {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 88px;
}

.qvtv-sidebar-box {
  background: #ffffff;
  border: 1px solid var(--qvtv-line);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--qvtv-shadow-sm);
}

.qvtv-sidebar-box h2 {
  margin: 0 0 12px;
  font-size: 1.02rem;
  line-height: 1.2;
  color: var(--qvtv-brand);
  letter-spacing: -0.025em;
}

.qvtv-sidebar-list {
  display: grid;
  gap: 10px;
}

.qvtv-sidebar-list a {
  display: block;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--qvtv-line);
  color: var(--qvtv-ink) !important;
  text-decoration: none !important;
}

.qvtv-sidebar-list a:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.qvtv-sidebar-list strong {
  display: block;
  font-size: .92rem;
  line-height: 1.25;
}

.qvtv-sidebar-list span {
  display: block;
  margin-top: 4px;
  color: var(--qvtv-muted);
  font-size: .78rem;
}

.qvtv-sidebar-list a:hover strong {
  color: var(--qvtv-brand-2);
}

.qvtv-sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.qvtv-sidebar-tags a,
.qvtv-sidebar-guide a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 11px;
  border-radius: 999px;
  background: var(--qvtv-surface-2);
  border: 1px solid #bfdbfe;
  color: #1d4ed8 !important;
  font-size: .84rem;
  font-weight: 850;
  line-height: 1;
  text-decoration: none !important;
}

.qvtv-sidebar-tags a:hover,
.qvtv-sidebar-guide a:hover {
  background: var(--qvtv-brand-2);
  border-color: var(--qvtv-brand-2);
  color: #ffffff !important;
}

.qvtv-sidebar-guide p {
  margin: 0 0 12px;
  color: var(--qvtv-muted);
  font-size: .9rem;
  line-height: 1.5;
}

.qvtv-sidebar-guide {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.qvtv-sidebar-guide a {
  margin: 0 8px 8px 0;
}

@media (max-width: 980px) {
  .qvtv-article-layout {
    grid-template-columns: 1fr;
  }

  .qvtv-article-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .qvtv-sidebar-guide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .qvtv-article-layout {
    gap: 14px;
  }

  .qvtv-article-sidebar {
    grid-template-columns: 1fr;
  }

  .qvtv-article-featured {
    border-radius: 16px;
    margin-bottom: 16px !important;
  }

  .qvtv-article-meta {
    font-size: .84rem;
  }
}


/* =========================================================
   QVTV v1.1.77 - Categorías y archivos de artículos
   ========================================================= */

body.archive .qvtv-template-category,
body.category .qvtv-template-category {
  max-width: 1180px !important;
}

.qvtv-archive-wrap {
  padding-top: 28px;
  padding-bottom: 42px;
}

.qvtv-archive-hero {
  background: #ffffff;
  border: 1px solid var(--qvtv-line);
  border-radius: 22px;
  padding: 24px;
  margin-bottom: 22px;
  box-shadow: var(--qvtv-shadow-sm);
}

.qvtv-archive-hero h1 {
  margin: 0;
  color: var(--qvtv-ink);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: .98;
  letter-spacing: -0.065em;
}

.qvtv-archive-hero p,
.qvtv-archive-description {
  max-width: 760px;
  margin-top: 14px;
  color: var(--qvtv-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.qvtv-archive-description p {
  margin: 0;
}

.qvtv-archive-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 315px;
  gap: 22px;
  align-items: start;
}

.qvtv-post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.qvtv-post-card {
  background: #ffffff;
  border: 1px solid var(--qvtv-line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--qvtv-shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.qvtv-post-card:hover {
  transform: translateY(-2px);
  border-color: #bfdbfe;
  box-shadow: 0 18px 42px rgba(11, 31, 58, .12);
}

.qvtv-post-card-link {
  display: block;
  color: inherit !important;
  text-decoration: none !important;
}

.qvtv-post-card-media {
  position: relative;
  margin: 0;
  background: #e5edf7;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.qvtv-post-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qvtv-post-card-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0b1f3a, #1d4ed8);
  color: #ffffff;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.qvtv-post-card-body {
  padding: 16px;
}

.qvtv-post-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--qvtv-muted);
  font-size: .78rem;
  font-weight: 750;
}

.qvtv-post-card-meta span + span::before {
  content: "·";
  margin-right: 8px;
  color: #94a3b8;
}

.qvtv-post-card h2 {
  margin: 0 0 8px;
  color: var(--qvtv-ink);
  font-size: 1.15rem;
  line-height: 1.16;
  letter-spacing: -0.045em;
}

.qvtv-post-card p {
  margin: 0;
  color: var(--qvtv-muted);
  font-size: .94rem;
  line-height: 1.5;
}

.qvtv-post-card:hover h2 {
  color: var(--qvtv-brand-2);
}

.qvtv-pagination,
.navigation.pagination {
  margin-top: 24px;
}

.qvtv-pagination .nav-links,
.navigation.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.qvtv-pagination a,
.qvtv-pagination span,
.navigation.pagination a,
.navigation.pagination span {
  display: inline-flex;
  min-width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--qvtv-line);
  background: #ffffff;
  color: var(--qvtv-ink);
  text-decoration: none !important;
  font-weight: 850;
}

.qvtv-pagination .current,
.navigation.pagination .current {
  background: var(--qvtv-brand-2);
  border-color: var(--qvtv-brand-2);
  color: #ffffff;
}

@media (max-width: 980px) {
  .qvtv-archive-layout {
    grid-template-columns: 1fr;
  }

  .qvtv-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .qvtv-archive-wrap {
    padding-top: 18px;
  }

  .qvtv-archive-hero {
    padding: 18px;
    border-radius: 18px;
  }

  .qvtv-post-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .qvtv-post-card-body {
    padding: 14px;
  }
}


/* =========================================================
   QVTV v1.1.78 - Ajustes de categorías: sin eyebrow y sidebar con imagen
   ========================================================= */

.qvtv-archive-hero {
  padding-top: 26px;
}

.qvtv-archive-hero h1 {
  margin-top: 0 !important;
}

.qvtv-archive-hero > .qvtv-eyebrow {
  display: none !important;
}

.qvtv-archive-hero p,
.qvtv-archive-description {
  max-width: 100% !important;
  width: 100%;
  font-size: 1.02rem;
}

.qvtv-sidebar-list .qvtv-sidebar-article {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 0 0 12px;
}

.qvtv-sidebar-article-thumb {
  display: block;
  width: 72px;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #e5edf7;
  border: 1px solid var(--qvtv-line);
}

.qvtv-sidebar-article-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qvtv-sidebar-article-thumb > span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0b1f3a, #1d4ed8);
  color: #fff;
  font-weight: 900;
}

.qvtv-sidebar-article-copy {
  min-width: 0;
}

.qvtv-sidebar-list .qvtv-sidebar-article strong {
  font-size: .86rem;
  line-height: 1.18;
}

.qvtv-sidebar-list .qvtv-sidebar-article span span,
.qvtv-sidebar-article-copy > span {
  margin-top: 4px;
}

@media (max-width: 640px) {
  .qvtv-archive-hero p,
  .qvtv-archive-description {
    font-size: .95rem;
  }

  .qvtv-sidebar-list .qvtv-sidebar-article {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .qvtv-sidebar-article-thumb {
    width: 82px;
  }
}


/* =========================================================
   QVTV v1.1.79 - Miniaturas más grandes en sidebar
   ========================================================= */

.qvtv-sidebar-list .qvtv-sidebar-article {
  grid-template-columns: 116px minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: center;
}

.qvtv-sidebar-article-thumb {
  width: 116px !important;
  border-radius: 12px !important;
}

.qvtv-sidebar-list .qvtv-sidebar-article strong {
  font-size: .92rem !important;
  line-height: 1.15 !important;
}

.qvtv-sidebar-article-copy > span {
  font-size: .82rem !important;
}

@media (max-width: 640px) {
  .qvtv-sidebar-list .qvtv-sidebar-article {
    grid-template-columns: 118px minmax(0, 1fr) !important;
  }

  .qvtv-sidebar-article-thumb {
    width: 118px !important;
  }
}


/* =========================================================
   QVTV v1.1.80 - Sidebar últimos artículos en formato vertical
   ========================================================= */

.qvtv-sidebar-list .qvtv-sidebar-article {
  display: block !important;
  padding: 0 0 14px !important;
}

.qvtv-sidebar-list .qvtv-sidebar-article:last-child {
  padding-bottom: 0 !important;
}

.qvtv-sidebar-article-thumb {
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  border-radius: 14px !important;
  margin: 0 0 10px !important;
}

.qvtv-sidebar-article-copy {
  display: block !important;
}

.qvtv-sidebar-list .qvtv-sidebar-article strong {
  display: block !important;
  font-size: .98rem !important;
  line-height: 1.16 !important;
  letter-spacing: -0.035em;
}

.qvtv-sidebar-article-copy > span {
  display: block !important;
  margin-top: 6px !important;
  font-size: .84rem !important;
  color: var(--qvtv-muted);
}

@media (max-width: 640px) {
  .qvtv-sidebar-article-thumb {
    width: 100% !important;
  }
}


/* =========================================================
   QVTV v1.1.81 - Últimos artículos en Home
   ========================================================= */

.qvtv-home-posts-section {
  margin-top: 28px;
  margin-bottom: 42px;
}

.qvtv-home-posts-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--qvtv-line);
  border-radius: 22px;
  box-shadow: var(--qvtv-shadow-sm);
}

.qvtv-home-posts-head h2 {
  margin: 0;
  color: var(--qvtv-ink);
  font-size: clamp(1.65rem, 2.4vw, 2.35rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.qvtv-home-posts-head p {
  max-width: 760px;
  margin: 10px 0 0;
  color: var(--qvtv-muted);
  font-size: .98rem;
  line-height: 1.55;
}

.qvtv-home-posts-more {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border-radius: 999px;
  background: var(--qvtv-brand-2);
  color: #ffffff !important;
  font-weight: 900;
  text-decoration: none !important;
  box-shadow: 0 10px 22px rgba(37, 99, 235, .2);
}

.qvtv-home-posts-more:hover {
  filter: brightness(.95);
}

.qvtv-home-posts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.qvtv-home-post-card {
  background: #ffffff;
  border: 1px solid var(--qvtv-line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--qvtv-shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.qvtv-home-post-card:hover {
  transform: translateY(-2px);
  border-color: #bfdbfe;
  box-shadow: 0 18px 42px rgba(11, 31, 58, .12);
}

.qvtv-home-post-card a {
  display: block;
  color: inherit !important;
  text-decoration: none !important;
}

.qvtv-home-post-card-media {
  margin: 0;
  aspect-ratio: 16 / 9;
  background: #e5edf7;
  overflow: hidden;
}

.qvtv-home-post-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qvtv-home-post-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0b1f3a, #1d4ed8);
  color: #ffffff;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.qvtv-home-post-card-body {
  padding: 15px;
}

.qvtv-home-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 8px;
  color: var(--qvtv-muted);
  font-size: .76rem;
  font-weight: 800;
}

.qvtv-home-post-meta span + span::before {
  content: "·";
  margin-right: 7px;
  color: #94a3b8;
}

.qvtv-home-post-card h3 {
  margin: 0 0 8px;
  color: var(--qvtv-ink);
  font-size: 1.04rem;
  line-height: 1.16;
  letter-spacing: -0.045em;
}

.qvtv-home-post-card p {
  margin: 0;
  color: var(--qvtv-muted);
  font-size: .9rem;
  line-height: 1.45;
}

.qvtv-home-post-card:hover h3 {
  color: var(--qvtv-brand-2);
}

@media (max-width: 1060px) {
  .qvtv-home-posts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .qvtv-home-posts-section {
    margin-top: 18px;
  }

  .qvtv-home-posts-head {
    display: block;
    padding: 18px;
  }

  .qvtv-home-posts-more {
    margin-top: 14px;
  }

  .qvtv-home-posts-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .qvtv-home-post-card-body {
    padding: 14px;
  }
}


/* =========================================================
   QVTV v1.1.87 - Categorías y artículos con el mismo ancho/gap que Home
   ========================================================= */

/* Estas plantillas usan qvtv-template-page + qvtv-wrap como Home.
   Aquí solo quitamos los paddings extras que habían quedado en archivos. */
body.category .qvtv-archive-wrap,
body.archive .qvtv-archive-wrap,
body.single-post .qvtv-article-wrap {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body.category .qvtv-template-category,
body.archive .qvtv-template-category,
body.single-post .qvtv-template-single-post {
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.category .qvtv-archive-wrap:first-of-type,
body.archive .qvtv-archive-wrap:first-of-type,
body.single-post .qvtv-article-wrap:first-of-type {
  margin-top: 0 !important;
}

.qvtv-archive-hero {
  margin-top: 0 !important;
  margin-bottom: 22px !important;
  padding: 24px !important;
}

.qvtv-archive-description,
.qvtv-archive-description p {
  max-width: none !important;
  margin: 12px 0 0 !important;
  line-height: 1.55 !important;
}

.qvtv-article-layout,
.qvtv-archive-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 315px !important;
  gap: 22px !important;
  align-items: start !important;
}

.qvtv-archive-main,
.qvtv-article-card {
  min-width: 0 !important;
}

.qvtv-post-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

/* Sidebar con imagen arriba, título abajo */
.qvtv-sidebar-list .qvtv-sidebar-article {
  display: block !important;
  padding: 0 0 14px !important;
  border-bottom: 1px solid var(--qvtv-line) !important;
  color: var(--qvtv-ink) !important;
  text-decoration: none !important;
}

.qvtv-sidebar-list .qvtv-sidebar-article:last-child {
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
}

.qvtv-sidebar-article-thumb {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  margin: 0 0 10px !important;
  background: #e5edf7 !important;
  border: 1px solid var(--qvtv-line) !important;
}

.qvtv-sidebar-article-thumb img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.qvtv-sidebar-article-copy,
.qvtv-sidebar-article-copy > span,
.qvtv-sidebar-list .qvtv-sidebar-article strong {
  display: block !important;
}

.qvtv-sidebar-list .qvtv-sidebar-article strong {
  font-size: .98rem !important;
  line-height: 1.16 !important;
  letter-spacing: -0.035em !important;
}

.qvtv-sidebar-article-copy > span {
  margin-top: 6px !important;
  color: var(--qvtv-muted) !important;
  font-size: .84rem !important;
}

@media (max-width: 980px) {
  .qvtv-article-layout,
  .qvtv-archive-layout {
    grid-template-columns: 1fr !important;
  }

  .qvtv-article-sidebar,
  .qvtv-archive-sidebar {
    position: static !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .qvtv-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .qvtv-article-sidebar,
  .qvtv-archive-sidebar,
  .qvtv-post-grid {
    grid-template-columns: 1fr !important;
  }

  .qvtv-archive-hero {
    padding: 18px !important;
    border-radius: 18px !important;
  }
}


/* =========================================================
   QVTV v1.1.88 - Ancho exacto de Home para categorías y artículos
   ========================================================= */

/*
   Home usa main.qvtv-template.qvtv-template-page con:
   width: calc(100% - 48px);
   max-width: 1120px;
   padding-top: 22px;

   Categorías y artículos deben heredar exactamente esa misma caja visual.
*/

body.category main.qvtv-template-category,
body.archive main.qvtv-template-category,
body.single-post main.qvtv-template-single-post {
  width: calc(100% - 48px) !important;
  max-width: 1120px !important;
  margin: 0 auto !important;
  padding-top: 22px !important;
  padding-bottom: 40px !important;
}

/* El primer bloque debe arrancar igual que Home: sin margen extra encima */
body.category main.qvtv-template-category > .qvtv-wrap:first-of-type,
body.archive main.qvtv-template-category > .qvtv-wrap:first-of-type,
body.single-post main.qvtv-template-single-post > .qvtv-wrap:first-of-type {
  margin-top: 0 !important;
}

/* Los wrappers internos ya están dentro del main de 1120px: no deben crear otro ancho */
body.category .qvtv-archive-wrap,
body.archive .qvtv-archive-wrap,
body.single-post .qvtv-article-wrap {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0 !important;
}

/* Mantener sidebar, pero dentro del ancho 1120 de Home */
body.category .qvtv-archive-layout,
body.archive .qvtv-archive-layout,
body.single-post .qvtv-article-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 300px !important;
  gap: 22px !important;
  align-items: start !important;
}

/* Hero de categorías igual de pegado al header que Home */
body.category .qvtv-archive-hero,
body.archive .qvtv-archive-hero {
  margin-top: 0 !important;
  margin-bottom: 22px !important;
}

/* No ensanchar tarjetas ni contenido individual */
body.single-post .qvtv-article-card,
body.single-post .qvtv-content-card,
body.category .qvtv-post-card,
body.archive .qvtv-post-card {
  max-width: none !important;
}

/* Responsive: respetar la proporción de la Home */
@media (max-width: 760px) {
  body.category main.qvtv-template-category,
  body.archive main.qvtv-template-category,
  body.single-post main.qvtv-template-single-post {
    width: calc(100% - 20px) !important;
    max-width: 1120px !important;
    padding-top: 14px !important;
    padding-bottom: 28px !important;
  }

  body.category .qvtv-archive-layout,
  body.archive .qvtv-archive-layout,
  body.single-post .qvtv-article-layout {
    grid-template-columns: 1fr !important;
  }
}


/* =========================================================
   QVTV v1.1.89 - Entradas con el mismo ancho real que categorías/Home
   ========================================================= */

/*
   La categoría ya quedó bien. Este bloque solo corrige entradas estándar.
   El HTML de entradas usa:
   main.qvtv-template-single-post > section.qvtv-article-wrap > div.qvtv-article-layout
   Por eso el ancho debe controlarse en qvtv-article-wrap, no en el layout interno.
*/

body.single-post main.qvtv-template-single-post {
  width: calc(100% - 48px) !important;
  max-width: 1120px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-top: 22px !important;
  padding-bottom: 40px !important;
}

/* Evita que .qvtv-wrap vuelva a tomar un ancho propio más grande */
body.single-post main.qvtv-template-single-post > section.qvtv-article-wrap,
body.single-post .qvtv-article-wrap {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* El layout debe ocupar solo el ancho del main, no calcular otro ancho */
body.single-post .qvtv-article-layout {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 300px !important;
  gap: 22px !important;
  align-items: start !important;
}

/* Evita que alguna regla heredada ensanche la tarjeta de contenido */
body.single-post .qvtv-article-card,
body.single-post .qvtv-content-card {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Imágenes internas no deben empujar el ancho del artículo */
body.single-post .qvtv-article-content img,
body.single-post .qvtv-article-featured img,
body.single-post .entry-content img {
  max-width: 100% !important;
  height: auto !important;
}

/* Tablas largas dentro del artículo: scroll interno, no expanden el contenedor */
body.single-post .qvtv-article-content table,
body.single-post .entry-content table {
  width: 100% !important;
  max-width: 100% !important;
}

body.single-post .qvtv-article-content {
  overflow-wrap: break-word;
}

@media (max-width: 760px) {
  body.single-post main.qvtv-template-single-post {
    width: calc(100% - 20px) !important;
    max-width: 1120px !important;
    padding-top: 14px !important;
    padding-bottom: 28px !important;
  }

  body.single-post .qvtv-article-layout {
    grid-template-columns: 1fr !important;
  }
}


/* =========================================================
   QVTV v1.1.90 - Entradas: aplicar ancho usando la clase real del HTML
   ========================================================= */

/*
   En las entradas el body trae clase "single", pero no "single-post".
   Por eso los ajustes anteriores con body.single-post no siempre aplicaban.
   Este bloque apunta directamente al main real:
   main.qvtv-template-single-post
*/

main.qvtv-template-single-post {
  width: calc(100% - 48px) !important;
  max-width: 1120px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 22px 0 40px !important;
  box-sizing: border-box !important;
}

body.single main.qvtv-template-single-post {
  width: calc(100% - 48px) !important;
  max-width: 1120px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* El wrapper interno ya no debe recuperar el ancho global de .qvtv-wrap */
main.qvtv-template-single-post > section.qvtv-article-wrap,
main.qvtv-template-single-post .qvtv-article-wrap {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

/* Layout interno dentro del mismo ancho de 1120 */
main.qvtv-template-single-post .qvtv-article-layout {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 300px !important;
  gap: 22px !important;
  align-items: start !important;
  box-sizing: border-box !important;
}

/* Evitar cualquier empuje por imágenes/tablas/contenido */
main.qvtv-template-single-post .qvtv-article-card,
main.qvtv-template-single-post .qvtv-content-card,
main.qvtv-template-single-post .qvtv-article-content,
main.qvtv-template-single-post .entry-content {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

main.qvtv-template-single-post img,
main.qvtv-template-single-post table {
  max-width: 100% !important;
}

@media (max-width: 760px) {
  main.qvtv-template-single-post,
  body.single main.qvtv-template-single-post {
    width: calc(100% - 20px) !important;
    max-width: 1120px !important;
    padding-top: 14px !important;
    padding-bottom: 28px !important;
  }

  main.qvtv-template-single-post .qvtv-article-layout {
    grid-template-columns: 1fr !important;
  }
}


/* =========================================================
   QVTV v1.1.91 - Canales con el mismo ancho y espacio que Home
   ========================================================= */

/*
   Corrección exclusiva para páginas de canal.
   Home usa ancho visual de 1120px y primer bloque a 22px del header.
   Aquí dejamos canales con la misma caja visual sin tocar Home,
   categorías ni entradas.
*/

body.single-qvtv_canal main.qvtv-template-canal,
main.qvtv-template-canal {
  width: calc(100% - 48px) !important;
  max-width: 1120px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 0 34px !important;
  box-sizing: border-box !important;
}

/* El primer bloque/hero del canal debe quedar con el mismo espacio que la Home */
body.single-qvtv_canal main.qvtv-template-canal .qvtv-channel-hero-wrap,
main.qvtv-template-canal .qvtv-channel-hero-wrap,
body.single-qvtv_canal main.qvtv-template-canal > .qvtv-wrap:first-child,
main.qvtv-template-canal > .qvtv-wrap:first-child {
  margin-top: 22px !important;
}

/* Evita que reglas anteriores de canal vuelvan a 1180px */
body.single-qvtv_canal .content-area,
body.single-qvtv_canal .main-content,
body.single-qvtv_canal main,
body.single-qvtv_canal article {
  max-width: 1120px !important;
}

/* El contenido interno del shortcode debe ocupar el ancho disponible del canal */
main.qvtv-template-canal .qvtv-wrap {
  max-width: none !important;
}

/* Sidebar lateral de canal se mantiene dentro del ancho de 1120 */
main.qvtv-template-canal .qvtv-channel-page-layout {
  width: 100% !important;
  max-width: 100% !important;
}

@media (max-width: 760px) {
  body.single-qvtv_canal main.qvtv-template-canal,
  main.qvtv-template-canal {
    width: calc(100% - 20px) !important;
    max-width: 1120px !important;
    padding-bottom: 28px !important;
  }

  body.single-qvtv_canal main.qvtv-template-canal .qvtv-channel-hero-wrap,
  main.qvtv-template-canal .qvtv-channel-hero-wrap,
  body.single-qvtv_canal main.qvtv-template-canal > .qvtv-wrap:first-child,
  main.qvtv-template-canal > .qvtv-wrap:first-child {
    margin-top: 14px !important;
  }
}


/* =========================================================
   QVTV v1.1.94 - Sidebar en fichas de programas
   ========================================================= */

.qvtv-template-programa .qvtv-programa-wrap {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.qvtv-template-programa .qvtv-programa-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: start;
}

.qvtv-template-programa .qvtv-programa-main {
  min-width: 0;
}

.qvtv-template-programa .qvtv-programa-sidebar {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 88px;
}

@media (max-width: 980px) {
  .qvtv-template-programa .qvtv-programa-layout {
    grid-template-columns: 1fr;
  }

  .qvtv-template-programa .qvtv-programa-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .qvtv-template-programa .qvtv-sidebar-guide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .qvtv-template-programa .qvtv-programa-sidebar {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   QVTV v1.1.95 - Respaldo: layout global y sidebar
   ========================================================= */

.qvtv-program-page-wrap,
.qvtv-program-editorial-wrap {
  margin-top: 0 !important;
}

.qvtv-article-sidebar,
.qvtv-archive-sidebar,
.qvtv-programa-sidebar,
.qvtv-channel-ad-sidebar {
  top: 18px !important;
}


/* =========================================================
   QVTV v1.1.96 - Imágenes más grandes en resultados de búsqueda
   ========================================================= */

.qvtv-template-search .qvtv-result-item {
  grid-template-columns: 122px minmax(0, 1fr) auto !important;
  gap: 18px !important;
  align-items: center !important;
  padding: 18px 20px !important;
}

.qvtv-template-search .qvtv-result-icon {
  width: 122px !important;
  height: 78px !important;
  border-radius: 15px !important;
  background: #f8fbff;
  flex: 0 0 auto;
}

.qvtv-template-search .qvtv-result-icon img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* En canales, el logo debe verse completo, no recortado */
.qvtv-template-search .qvtv-result-type-qvtv_canal .qvtv-result-icon img {
  object-fit: contain !important;
  padding: 10px;
  background: #ffffff;
  box-sizing: border-box;
}

/* Programas y artículos aprovechan formato tipo miniatura 16:9 */
.qvtv-template-search .qvtv-result-type-qvtv_programa .qvtv-result-icon,
.qvtv-template-search .qvtv-result-type-post .qvtv-result-icon {
  aspect-ratio: 16 / 9;
}

.qvtv-template-search .qvtv-result-title {
  font-size: 1.16rem !important;
  line-height: 1.18 !important;
}

.qvtv-template-search .qvtv-result-excerpt {
  font-size: .96rem !important;
  line-height: 1.48 !important;
}

@media (max-width: 760px) {
  .qvtv-template-search .qvtv-result-item {
    grid-template-columns: 96px minmax(0, 1fr) !important;
    gap: 13px !important;
    padding: 14px !important;
  }

  .qvtv-template-search .qvtv-result-icon {
    width: 96px !important;
    height: 64px !important;
    border-radius: 13px !important;
  }

  .qvtv-template-search .qvtv-result-title {
    font-size: 1rem !important;
  }

  .qvtv-template-search .qvtv-result-excerpt {
    font-size: .88rem !important;
  }

  .qvtv-template-search .qvtv-result-cta {
    grid-column: 2 !important;
  }
}

@media (max-width: 430px) {
  .qvtv-template-search .qvtv-result-item {
    grid-template-columns: 88px minmax(0, 1fr) !important;
  }

  .qvtv-template-search .qvtv-result-icon {
    width: 88px !important;
    height: 58px !important;
  }
}


/* =========================================================
   QVTV v1.1.97 - Temas y contenido relacionado en artículos
   ========================================================= */

.qvtv-article-tags {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--qvtv-line);
}

.qvtv-article-tags h2,
.qvtv-related-posts h2 {
  margin: 0;
  color: var(--qvtv-ink);
  font-size: 1.35rem;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.qvtv-article-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.qvtv-article-tag-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--qvtv-surface-2);
  border: 1px solid #bfdbfe;
  color: #1d4ed8 !important;
  font-size: .86rem;
  font-weight: 850;
  line-height: 1;
  text-decoration: none !important;
}

.qvtv-article-tag-list a:hover {
  background: #dbeafe;
}

.qvtv-related-posts {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--qvtv-line);
}

.qvtv-related-head {
  margin-bottom: 14px;
}

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

.qvtv-related-card {
  background: #ffffff;
  border: 1px solid var(--qvtv-line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--qvtv-shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.qvtv-related-card:hover {
  transform: translateY(-2px);
  border-color: #bfdbfe;
  box-shadow: 0 14px 34px rgba(11, 31, 58, .12);
}

.qvtv-related-card a {
  display: block;
  color: inherit !important;
  text-decoration: none !important;
}

.qvtv-related-media {
  margin: 0;
  aspect-ratio: 16 / 9;
  background: #e5edf7;
  overflow: hidden;
}

.qvtv-related-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qvtv-related-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0b1f3a, #1d4ed8);
  color: #fff;
  font-weight: 900;
}

.qvtv-related-body {
  padding: 12px;
}

.qvtv-related-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 7px;
  color: var(--qvtv-muted);
  font-size: .74rem;
  font-weight: 800;
}

.qvtv-related-meta span + span::before {
  content: "·";
  margin-right: 7px;
  color: #94a3b8;
}

.qvtv-related-card h3 {
  margin: 0;
  color: var(--qvtv-ink);
  font-size: .98rem;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.qvtv-related-card:hover h3 {
  color: var(--qvtv-brand-2);
}

@media (max-width: 900px) {
  .qvtv-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .qvtv-related-grid {
    grid-template-columns: 1fr;
  }

  .qvtv-article-tags {
    margin-top: 22px;
  }

  .qvtv-related-posts {
    margin-top: 24px;
  }
}


/* =========================================================
   QVTV v1.1.98 - Archivo de etiquetas con estilo QVTV
   ========================================================= */

.qvtv-template-tag .qvtv-tag-hero .qvtv-eyebrow {
  display: inline-block !important;
  margin-bottom: 8px;
}

.qvtv-template-tag .qvtv-archive-hero {
  background: #ffffff !important;
  border: 1px solid var(--qvtv-line) !important;
  border-radius: 22px !important;
  padding: 24px !important;
  margin: 0 0 22px !important;
  box-shadow: var(--qvtv-shadow-sm) !important;
}

.qvtv-template-tag .qvtv-archive-hero h1 {
  margin: 0 !important;
  color: var(--qvtv-ink) !important;
  font-size: clamp(2rem, 4vw, 3.1rem) !important;
  line-height: 1 !important;
  letter-spacing: -0.065em !important;
}

.qvtv-template-tag .qvtv-archive-description,
.qvtv-template-tag .qvtv-archive-description p {
  max-width: 920px !important;
  margin: 12px 0 0 !important;
  color: var(--qvtv-muted) !important;
  font-size: 1rem !important;
  line-height: 1.55 !important;
}

.qvtv-template-tag .qvtv-post-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

@media (max-width: 980px) {
  .qvtv-template-tag .qvtv-post-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .qvtv-template-tag .qvtv-archive-hero {
    padding: 18px !important;
    border-radius: 18px !important;
  }
}


/* =========================================================
   QVTV v1.1.102 - Espacio interno real en bloque "Sobre canal"
   Mantiene el diseño anterior, pero separa logo y aviso de las orillas.
   ========================================================= */

body.single-qvtv_canal .qvtv-canal-summary-wrap,
body.single-qvtv_canal main.qvtv-template-canal .qvtv-canal-summary-wrap {
  box-sizing: border-box !important;
  padding: 34px 24px 28px !important;
  margin-top: 34px !important;
  margin-bottom: 26px !important;
  overflow: hidden !important;
}

body.single-qvtv_canal .qvtv-canal-summary {
  box-sizing: border-box !important;
  grid-template-columns: 64px minmax(0, 1fr) !important;
  gap: 22px !important;
  align-items: start !important;
  width: 100% !important;
}

body.single-qvtv_canal .qvtv-canal-summary .qvtv-logo {
  width: 64px !important;
  height: 64px !important;
  min-width: 64px !important;
  border-radius: 18px !important;
  padding: 8px !important;
}

body.single-qvtv_canal .qvtv-canal-summary .qvtv-title-small,
body.single-qvtv_canal .qvtv-canal-summary .qvtv-sub,
body.single-qvtv_canal .qvtv-info-list,
body.single-qvtv_canal .qvtv-availability,
body.single-qvtv_canal .qvtv-canal-summary-wrap .qvtv-disclaimer {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

body.single-qvtv_canal .qvtv-info-list {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin-top: 16px !important;
}

body.single-qvtv_canal .qvtv-info-item {
  padding: 12px 16px !important;
  min-height: 0 !important;
}

body.single-qvtv_canal .qvtv-info-item b {
  overflow-wrap: anywhere !important;
}

body.single-qvtv_canal .qvtv-availability {
  margin-top: 18px !important;
  padding-top: 18px !important;
  max-width: 900px !important;
}

body.single-qvtv_canal .qvtv-canal-summary-wrap .qvtv-disclaimer {
  display: block !important;
  width: auto !important;
  margin: 20px 0 0 !important;
  padding: 13px 16px !important;
  border-radius: 14px !important;
}

@media (max-width: 860px) {
  body.single-qvtv_canal .qvtv-canal-summary-wrap,
  body.single-qvtv_canal main.qvtv-template-canal .qvtv-canal-summary-wrap {
    padding: 28px 30px 24px !important;
  }

  body.single-qvtv_canal .qvtv-info-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  body.single-qvtv_canal .qvtv-canal-summary-wrap,
  body.single-qvtv_canal main.qvtv-template-canal .qvtv-canal-summary-wrap {
    padding: 24px 22px 22px !important;
    border-radius: 20px !important;
    margin-top: 24px !important;
  }

  body.single-qvtv_canal .qvtv-canal-summary {
    grid-template-columns: 52px minmax(0, 1fr) !important;
    gap: 16px !important;
  }

  body.single-qvtv_canal .qvtv-canal-summary .qvtv-logo {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    border-radius: 15px !important;
    padding: 7px !important;
  }

  body.single-qvtv_canal .qvtv-info-list {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-top: 14px !important;
  }

  body.single-qvtv_canal .qvtv-info-item {
    padding: 12px 14px !important;
  }

  body.single-qvtv_canal .qvtv-canal-summary-wrap .qvtv-disclaimer {
    margin-top: 18px !important;
    padding: 13px 14px !important;
  }
}

@media (max-width: 420px) {
  body.single-qvtv_canal .qvtv-canal-summary-wrap,
  body.single-qvtv_canal main.qvtv-template-canal .qvtv-canal-summary-wrap {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  body.single-qvtv_canal .qvtv-canal-summary {
    gap: 14px !important;
  }
}


/* =========================================================
   QVTV v1.1.104 - Fix real por especificidad del layout global
   Este bloque se repite también inline desde functions.php.
   ========================================================= */
body.qvtv-theme-template main.qvtv-template .qvtv-wrap.qvtv-canal-summary-wrap,
body.qvtv-clean-template main.qvtv-template .qvtv-wrap.qvtv-canal-summary-wrap {
  padding: 34px 24px 28px !important;
}
body.qvtv-theme-template main.qvtv-template .qvtv-wrap.qvtv-canal-summary-wrap .qvtv-canal-summary,
body.qvtv-clean-template main.qvtv-template .qvtv-wrap.qvtv-canal-summary-wrap .qvtv-canal-summary {
  padding: 0 !important;
  margin: 0 !important;
  border-top: 0 !important;
}
body.qvtv-theme-template main.qvtv-template .qvtv-wrap.qvtv-canal-summary-wrap .qvtv-disclaimer,
body.qvtv-clean-template main.qvtv-template .qvtv-wrap.qvtv-canal-summary-wrap .qvtv-disclaimer {
  margin: 20px 0 0 !important;
}
@media (max-width: 760px) {
  body.qvtv-theme-template main.qvtv-template .qvtv-wrap.qvtv-canal-summary-wrap,
  body.qvtv-clean-template main.qvtv-template .qvtv-wrap.qvtv-canal-summary-wrap {
    padding: 24px 22px 22px !important;
  }
}
@media (max-width: 420px) {
  body.qvtv-theme-template main.qvtv-template .qvtv-wrap.qvtv-canal-summary-wrap,
  body.qvtv-clean-template main.qvtv-template .qvtv-wrap.qvtv-canal-summary-wrap {
    padding: 22px 20px 20px !important;
  }
}


/* =========================================================
   QVTV v1.1.105 - Texto de disponibilidad a todo el ancho
   ========================================================= */

body.single-qvtv_canal .qvtv-canal-summary > div {
  min-width: 0 !important;
  width: 100% !important;
}

body.single-qvtv_canal .qvtv-availability {
  max-width: none !important;
  width: 100% !important;
}

body.single-qvtv_canal .qvtv-availability p {
  max-width: none !important;
  width: 100% !important;
}


/* =========================================================
   QVTV v1.1.106 - Texto de disponibilidad a ancho real
   ========================================================= */

body.single-qvtv_canal .qvtv-canal-summary-wrap .qvtv-availability {
  max-width: none !important;
}

@media (min-width: 761px) {
  body.single-qvtv_canal .qvtv-canal-summary-wrap .qvtv-availability {
    position: relative !important;
    left: -86px !important;
    width: calc(100% + 86px) !important;
  }
}

@media (max-width: 760px) {
  body.single-qvtv_canal .qvtv-canal-summary-wrap .qvtv-availability {
    position: relative !important;
    left: -68px !important;
    width: calc(100% + 68px) !important;
  }
}


/* =========================================================
   QVTV v1.1.107 - Más respiro lateral en texto sobre canal
   ========================================================= */

@media (min-width: 761px) {
  body.single-qvtv_canal .qvtv-canal-summary-wrap .qvtv-availability {
    left: -74px !important;
    width: calc(100% + 62px) !important;
  }

  body.single-qvtv_canal .qvtv-canal-summary-wrap .qvtv-disclaimer {
    margin-left: 12px !important;
    margin-right: 12px !important;
  }
}

@media (max-width: 760px) {
  body.single-qvtv_canal .qvtv-canal-summary-wrap .qvtv-availability {
    left: -56px !important;
    width: calc(100% + 44px) !important;
  }

  body.single-qvtv_canal .qvtv-canal-summary-wrap .qvtv-disclaimer {
    margin-left: 8px !important;
    margin-right: 8px !important;
  }
}

/* =========================================================
   QVTV v1.1.108 - Contenido editorial del canal
   ========================================================= */
body.single-qvtv_canal .qvtv-channel-editorial-wrap {
  margin-top: 28px !important;
  margin-bottom: 28px !important;
  padding: 32px 34px !important;
  background: #ffffff !important;
  border: 1px solid var(--qvtv-line) !important;
  border-radius: 24px !important;
  box-shadow: var(--qvtv-shadow-sm) !important;
  box-sizing: border-box !important;
}

body.single-qvtv_canal .qvtv-channel-editorial-wrap .qvtv-eyebrow {
  margin-bottom: 12px !important;
}

body.single-qvtv_canal .qvtv-channel-editorial-wrap h2 {
  margin: 26px 0 14px !important;
  color: var(--qvtv-ink) !important;
  font-size: clamp(1.55rem, 2.3vw, 2.25rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.055em !important;
}

body.single-qvtv_canal .qvtv-channel-editorial-wrap h2:first-of-type {
  margin-top: 0 !important;
}

body.single-qvtv_canal .qvtv-channel-editorial-wrap h3 {
  margin: 22px 0 8px !important;
  color: var(--qvtv-ink) !important;
  font-size: 1.1rem !important;
  line-height: 1.22 !important;
  letter-spacing: -0.03em !important;
}

body.single-qvtv_canal .qvtv-channel-editorial-wrap p,
body.single-qvtv_canal .qvtv-channel-editorial-wrap li {
  color: var(--qvtv-muted) !important;
  font-size: 1rem !important;
  line-height: 1.72 !important;
}

body.single-qvtv_canal .qvtv-channel-editorial-wrap p {
  margin: 0 0 16px !important;
}

body.single-qvtv_canal .qvtv-channel-editorial-wrap ul,
body.single-qvtv_canal .qvtv-channel-editorial-wrap ol {
  margin: 10px 0 18px 22px !important;
  padding: 0 !important;
}

body.single-qvtv_canal .qvtv-channel-editorial-wrap strong {
  color: var(--qvtv-ink) !important;
}

/* =========================================================
   QVTV v1.1.109 - Home con 8 guías y relacionadas en canales
   ========================================================= */
body.single-qvtv_canal .qvtv-channel-related-section {
  margin-top: 28px !important;
  margin-bottom: 42px !important;
}

body.single-qvtv_canal .qvtv-channel-related-section .qvtv-home-posts-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

@media (max-width: 1060px) {
  body.single-qvtv_canal .qvtv-channel-related-section .qvtv-home-posts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  body.single-qvtv_canal .qvtv-channel-editorial-wrap {
    margin-top: 22px !important;
    padding: 24px 20px !important;
    border-radius: 20px !important;
  }

  body.single-qvtv_canal .qvtv-channel-editorial-wrap h2 {
    font-size: 1.55rem !important;
  }

  body.single-qvtv_canal .qvtv-channel-related-section .qvtv-home-posts-grid {
    grid-template-columns: 1fr !important;
  }
}


/* =========================================================
   QVTV v1.1.111 - Guía del canal con padding interno real
   ========================================================= */
body.single-qvtv_canal .qvtv-channel-editorial-section {
  margin-top: 28px !important;
  margin-bottom: 28px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

body.single-qvtv_canal .qvtv-channel-editorial-card {
  width: 100% !important;
  padding: 34px 44px !important;
  background: #ffffff !important;
  border: 1px solid var(--qvtv-line) !important;
  border-radius: 24px !important;
  box-shadow: var(--qvtv-shadow-sm) !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

body.single-qvtv_canal .qvtv-channel-editorial-card .qvtv-eyebrow {
  display: block !important;
  margin: 0 0 14px !important;
}

body.single-qvtv_canal .qvtv-channel-editorial-card h2 {
  margin: 28px 0 14px !important;
  color: var(--qvtv-ink) !important;
  font-size: clamp(1.55rem, 2.3vw, 2.25rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.055em !important;
}

body.single-qvtv_canal .qvtv-channel-editorial-card h2:first-of-type {
  margin-top: 0 !important;
}

body.single-qvtv_canal .qvtv-channel-editorial-card h3 {
  margin: 22px 0 8px !important;
  color: var(--qvtv-ink) !important;
  font-size: 1.08rem !important;
  line-height: 1.22 !important;
  letter-spacing: -0.03em !important;
}

body.single-qvtv_canal .qvtv-channel-editorial-card p,
body.single-qvtv_canal .qvtv-channel-editorial-card li {
  color: var(--qvtv-muted) !important;
  font-size: 1rem !important;
  line-height: 1.72 !important;
}

body.single-qvtv_canal .qvtv-channel-editorial-card p {
  margin: 0 0 16px !important;
}

body.single-qvtv_canal .qvtv-channel-editorial-card ul,
body.single-qvtv_canal .qvtv-channel-editorial-card ol {
  margin: 10px 0 18px 22px !important;
  padding: 0 !important;
}

body.single-qvtv_canal .qvtv-channel-editorial-card strong {
  color: var(--qvtv-ink) !important;
}

body.single-qvtv_canal .qvtv-channel-related-section .qvtv-home-posts-head h2 {
  font-size: clamp(1.55rem, 2.2vw, 2.15rem) !important;
}

@media (max-width: 720px) {
  body.single-qvtv_canal .qvtv-channel-editorial-section {
    margin-top: 22px !important;
  }

  body.single-qvtv_canal .qvtv-channel-editorial-card {
    padding: 24px 20px !important;
    border-radius: 20px !important;
  }

  body.single-qvtv_canal .qvtv-channel-editorial-card h2 {
    font-size: 1.55rem !important;
  }
}
