/*
Theme Name: RayoTube Independiente
Author: Rayo Studio
Description: Tema ligero para videos, Shorts e imágenes, compatible con metadatos UltimaTube y WP Automatic.
Version: 3.5.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: rayotube
*/

:root {
  color-scheme: dark;
  --bg: #111111;
  --fg: #f3f3f3;
  --muted: #999999;
  --line: #292929;
  --tile: #202020;
  --top: #080808;
  --nav: #111111;
  --rt-nav-bg: #111111;
  --sidebar-bg: #050505;
  --accent: #ffc107;
  --accent-ink: #17130a;
  --rt-site-width: 1380px;
  --rt-desktop-columns: 5;
  --rt-header-height: 58px;
}

body.rt-light {
  color-scheme: light;
  --bg: #ffffff;
  --fg: #171717;
  --muted: #777777;
  --line: #e5e5e5;
  --tile: #f1f1f1;
  --top: #101010;
  --nav: #171717;
  --rt-nav-bg: #171717;
  --sidebar-bg: #080808;
  --accent: #e6aa00;
  --accent-ink: #17130a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 14px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  overflow-wrap: break-word;
}
body.rt-menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img, iframe, video { max-width: 100%; }
img { height: auto; }
.screen-reader-text,
.rt-skip-link:not(:focus) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.rt-skip-link:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 300;
  padding: 10px 14px;
  color: #111;
  background: var(--accent);
  border-radius: 6px;
}

/* --------------------------------------------------------------------------
   HEADER: cada pieza está separada en template-parts/header/.
   -------------------------------------------------------------------------- */
.rt-site-header {
  position: sticky;
  top: 0;
  z-index: 140;
  min-height: var(--rt-header-height);
  color: #f7f7f7;
  background: var(--top);
  border-bottom: 1px solid #222;
}
.rt-header-inner {
  width: min(100%, 1480px);
  min-height: var(--rt-header-height);
  margin: 0 auto;
  padding: 0 18px;
  display: grid;
  grid-template-columns: minmax(220px, auto) minmax(220px, 1fr) minmax(180px, auto);
  align-items: center;
  gap: 24px;
}
.rt-header-brandgroup,
.rt-header-actions {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 13px;
}
.rt-menu-toggle {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f7f7f7;
  background: #171717;
  border: 1px solid #363636;
  border-radius: 50%;
  padding: 0;
  transition: background .15s ease, border-color .15s ease;
}
.rt-menu-toggle:hover,
.rt-menu-toggle:focus-visible { background: #262626; border-color: var(--accent); }
.rt-menu-toggle .rt-toggle-close { display: none; }
body.rt-menu-open .rt-menu-toggle .rt-toggle-open { display: none; }
body.rt-menu-open .rt-menu-toggle .rt-toggle-close { display: inline-flex; }
.rt-brand { display: inline-flex; align-items: center; min-width: 0; color: #fff; }
.rt-brand:hover { color: #fff; }
.rt-brand-image { display: block; width: auto; max-width: 190px; max-height: 45px; object-fit: contain; }
.rt-brand-text { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 24px; font-weight: 850; letter-spacing: -.5px; }
.rt-header-search { min-width: 0; width: 100%; max-width: 620px; justify-self: center; }
.rt-search-form {
  width: 100%;
  min-width: 0;
  height: 42px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #202020;
  border: 1px solid #a77c00;
  border-radius: 24px;
  box-shadow: 0 0 0 1px rgba(255,193,7,.05);
}
.rt-search-form:focus-within { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(255,193,7,.13); }
.rt-search-form input[type="search"] {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0 17px;
  color: #f5f5f5;
  background: transparent;
  border: 0;
  outline: 0;
  appearance: none;
}
.rt-search-form input[type="search"]::placeholder { color: #a6a6a6; opacity: 1; }
.rt-search-form button {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 2px 3px 2px 0;
  padding: 0;
  color: var(--accent-ink);
  background: var(--accent);
  border: 0;
  border-radius: 50%;
}
.rt-search-form button:hover { filter: brightness(1.08); }
.rt-header-actions { justify-content: flex-end; gap: 10px; }
.rt-header-actions .widget { margin: 0; }
.rt-header-actions .widget-title { display: none; }
.rt-header-actions .textwidget { display: flex; align-items: center; gap: 9px; }
.rt-header-actions a,
.rt-header-action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 13px;
  color: #f7f7f7;
  background: #191919;
  border: 1px solid #8e6b05;
  border-radius: 22px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.rt-header-actions a:hover,
.rt-header-action-link:hover { color: #111; background: var(--accent); }
.rt-theme-toggle {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: #191919;
  border: 1px solid #393939;
  border-radius: 50%;
  padding: 0;
}
.rt-theme-toggle .rt-theme-light-icon { display: none; }
body.rt-light .rt-theme-toggle .rt-theme-dark-icon { display: none; }
body.rt-light .rt-theme-toggle .rt-theme-light-icon { display: inline-flex; }
.rt-icon { display: inline-block; flex: 0 0 auto; vertical-align: middle; }

/* Navegación horizontal debajo de la cabecera. */
.rt-primary-bar {
  position: relative;
  z-index: 50;
  width: 100%;
  color: #ededed;
  background: var(--rt-nav-bg);
  border-bottom: 1px solid #252525;
}
.rt-primary-inner { width: min(100%, 1480px); margin: 0 auto; padding: 0 18px; }
.rt-primary-menu,
.rt-primary-menu ul { list-style: none; margin: 0; padding: 0; }
.rt-primary-menu { display: flex; align-items: stretch; justify-content: space-between; gap: 3px; }
.rt-primary-menu > li { position: relative; flex: 0 0 auto; }
.rt-primary-menu > li > a {
  min-height: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 13px;
  color: #e5e5e5;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.rt-primary-menu > li > a:hover,
.rt-primary-menu .current-menu-item > a,
.rt-primary-menu .current-menu-ancestor > a { color: var(--accent); background: rgba(255,255,255,.035); }
.rt-primary-menu .rt-icon { width: 17px; height: 17px; }
.rt-primary-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 80;
  display: none;
  min-width: 190px;
  padding: 5px;
  background: #090909;
  border: 1px solid #292929;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.rt-primary-menu .sub-menu a { display: flex; gap: 9px; padding: 9px 11px; color: #eee; }
.rt-primary-menu li:hover > .sub-menu,
.rt-primary-menu li:focus-within > .sub-menu { display: block; }

/* --------------------------------------------------------------------------
   MENÚ LATERAL HAMBURGUESA: panel negro, iconos SVG y cierre por decisión.
   -------------------------------------------------------------------------- */
.rt-menu-overlay {
  position: fixed;
  inset: var(--rt-header-height) 0 0;
  z-index: 120;
  display: none;
  background: rgba(0,0,0,.76);
  backdrop-filter: blur(1px);
}
.rt-menu-overlay.is-open { display: block; }
.rt-sidebar {
  position: fixed;
  top: var(--rt-header-height);
  bottom: 0;
  left: 0;
  z-index: 130;
  width: min(260px, calc(100vw - 44px));
  padding: 13px 12px 22px;
  overflow-x: hidden;
  overflow-y: auto;
  color: #f5f5f5;
  background: var(--sidebar-bg);
  border-right: 1px solid #292929;
  border-radius: 0 0 11px 0;
  box-shadow: 12px 12px 32px rgba(0,0,0,.4);
  transform: translateX(-105%);
  visibility: hidden;
  transition: transform .2s ease, visibility .2s ease;
  overscroll-behavior: contain;
}
.rt-sidebar.is-open { transform: translateX(0); visibility: visible; }
.rt-sidebar-inner { display: flex; flex-direction: column; gap: 16px; }
.rt-side-navigation { display: block; padding: 0; margin: 0; background: var(--sidebar-bg); border: 1px solid #171717; border-radius: 11px; overflow: hidden; }
.rt-side-menu,
.rt-side-menu ul { list-style: none; padding: 0; margin: 0; }
.rt-side-menu > li { margin: 0; padding: 0; }
.rt-side-menu > li > a {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 13px;
  color: #f0f0f0;
  background: var(--sidebar-bg);
  border-bottom: 1px solid #1b1b1b;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.35;
}
.rt-side-menu > li:last-child > a { border-bottom: 0; }
.rt-side-menu > li > a:hover,
.rt-side-menu .current-menu-item > a,
.rt-side-menu .current-menu-ancestor > a { color: var(--accent); background: #111; }
.rt-side-menu .rt-icon { width: 20px; height: 20px; color: currentColor; }
.rt-side-menu .sub-menu { padding: 0 0 0 20px; background: #090909; }
.rt-side-menu .sub-menu a { display: flex; align-items: center; gap: 10px; padding: 8px 12px; color: #cfcfcf; border-bottom: 1px solid #1b1b1b; font-size: 13px; }
.rt-side-menu a:focus-visible,
.rt-primary-menu a:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.rt-sidebar-widgets { display: flex; flex-direction: column; gap: 13px; }
.rt-sidebar-widgets .widget {
  margin: 0;
  padding: 12px;
  color: #f1f1f1;
  background: #000;
  border: 1px solid #171717;
  border-radius: 11px;
}
.rt-sidebar-widgets .widget-title { margin: 0 0 9px; color: #fff; font-size: 14px; }
.rt-sidebar-widgets .textwidget p:last-child { margin-bottom: 0; }
.rt-sidebar-widgets .textwidget a { color: #f2f2f2; }
.rt-sidebar-widgets .textwidget a:hover { color: var(--accent); }
.rt-sidebar-widgets .wp-block-social-links { justify-content: space-around; margin: 0; }
.rt-sidebar-admin-note { padding: 12px; color: #bbb; font-size: 13px; }

/* --------------------------------------------------------------------------
   PORTADA, tarjetas, chips y Shorts.
   -------------------------------------------------------------------------- */
.rt-layout,
.layout {
  width: min(100%, var(--rt-site-width));
  min-height: 35vh;
  margin: 18px auto 42px;
  padding: 0 18px;
}
.rt-topic-strip {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 18px;
  padding: 0 0 3px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #444 transparent;
}
.rt-topic-chip {
  min-height: 35px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  color: #eee;
  background: #1b1b1b;
  border: 1px solid #2b2b2b;
  border-radius: 18px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.rt-topic-chip:hover,
.rt-topic-chip.is-current { color: var(--accent); border-color: #806000; }
.rt-section-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 24px 0 12px;
  color: var(--fg);
  font-size: 17px;
  font-weight: 750;
}
.rt-section-heading::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.rt-video-grid,
.videos { display: grid; grid-template-columns: repeat(var(--rt-desktop-columns), minmax(0, 1fr)); gap: 19px 14px; }
.video-card { min-width: 0; }
.video-card > a { display: block; }
.thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--tile);
  border-radius: 2px;
}
.thumb img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .2s ease; }
.video-card > a:hover .thumb img { transform: scale(1.025); }
.duration,
.hd {
  position: absolute;
  right: 6px;
  bottom: 6px;
  padding: 2px 5px;
  color: #fff;
  background: rgba(0,0,0,.82);
  border-radius: 3px;
  font-size: 10px;
  line-height: 1.4;
}
.hd { right: auto; left: 6px; background: #9b7100; }
.vidtitle {
  margin: 6px 2px 3px;
  color: var(--fg);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.42;
  text-align: center;
}
.video-card > a:hover .vidtitle { color: var(--accent); }
.metrics { display: flex; justify-content: center; gap: 12px; color: var(--muted); font-size: 11px; }
.no-thumb { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.rt-home-more { margin-top: 22px; }
.rt-home-more .rt-section-heading { margin-top: 0; }
.rt-short-section { margin: 25px 0 18px; }
.shorts-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  color: var(--fg);
  font-size: 16px;
  font-weight: 750;
}
.shorts-heading::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.shorts-heading a { color: var(--muted); font-size: 12px; font-weight: 500; }
.shorts { display: flex; gap: 9px; padding: 0 0 7px; overflow-x: auto; scroll-snap-type: x mandatory; }
.short {
  position: relative;
  flex: 0 0 126px;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: var(--tile);
  border-radius: 2px;
  scroll-snap-align: start;
}
.short img { width: 100%; height: 100%; display: block; object-fit: cover; }
.sv { position: absolute; left: 6px; bottom: 6px; color: #fff; font-size: 11px; text-shadow: 0 1px 3px #000; }

/* Títulos, archivos y paginación. */
.page-title,
.rt-page-title { margin: 5px 0 15px; color: var(--fg); font-size: 24px; line-height: 1.25; }
.rt-archive-header { margin: 0 0 20px; }
.rt-archive-description { max-width: 850px; color: var(--muted); line-height: 1.7; }
.rt-archive-cover { display: block; width: min(340px, 100%); aspect-ratio: 16 / 9; margin: 0 0 15px; object-fit: cover; border-radius: 7px; }
.pager,
.rt-pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 7px; margin: 25px 0; }
.pager a,
.pager span,
.rt-pagination a,
.rt-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; padding: 8px 11px; color: var(--fg); background: var(--tile); border: 1px solid var(--line); border-radius: 5px; }
.pager .current,
.rt-pagination .current { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }

/* --------------------------------------------------------------------------
   BÚSQUEDA: página propia, estable y con el mismo grid de videos.
   -------------------------------------------------------------------------- */
.rt-search-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 420px);
  align-items: end;
  gap: 24px;
  margin: 2px 0 24px;
  padding: 0 0 17px;
  border-bottom: 1px solid var(--line);
}
.rt-eyebrow { margin: 0 0 5px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.rt-search-heading .rt-page-title { margin: 0; font-size: 23px; }
.rt-search-heading .rt-page-title span { color: var(--accent); }
.rt-search-count { margin: 7px 0 0; color: var(--muted); font-size: 12px; }
.rt-search-again { width: 100%; }
.rt-no-results {
  max-width: 620px;
  margin: 35px auto 55px;
  padding: 30px 24px;
  text-align: center;
  background: var(--tile);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.rt-no-results-icon { display: inline-flex; color: var(--accent); }
.rt-no-results h2 { margin: 12px 0 7px; font-size: 20px; }
.rt-no-results p { margin: 0 0 17px; color: var(--muted); }
.rt-no-results .rt-search-form { max-width: 430px; margin: 0 auto 16px; }
.rt-back-home { display: inline-flex; padding: 8px 14px; color: var(--accent-ink); background: var(--accent); border-radius: 20px; font-weight: 700; }

/* --------------------------------------------------------------------------
   PÁGINA DE VIDEO Y REPRODUCTOR.
   -------------------------------------------------------------------------- */
.singlewrap { width: min(100%, var(--rt-site-width)); margin: 18px auto 36px; padding: 0 18px; }
.rt-watch-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; align-items: start; gap: 28px; }
.rt-watch-layout.rt-no-right { display: block; }
.rt-watch-layout .rt-single-primary { min-width: 0; }
.player { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #050505; border-radius: 7px; }
.rt-player-shell { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.rt-player-shell video,
.rt-player-shell iframe { width: 100%; height: 100%; display: block; border: 0; object-fit: contain; }
.rt-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  color: #151515;
  background: var(--accent);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 4px 17px rgba(0,0,0,.5);
  transform: translate(-50%, -50%);
}
.rt-play-overlay svg { width: 30px; height: 30px; display: block; transform: translateX(1px); }
.rt-player-shell.is-playing .rt-play-overlay,
.rt-player-shell:has(iframe) .rt-play-overlay { display: none; }
.rt-quality { position: absolute; right: 8px; bottom: 8px; z-index: 4; padding: 5px 8px; color: #fff; background: #171717; border-radius: 5px; font-size: 12px; }
.rt-quality select { padding: 2px; color: #fff; background: #333; border: 1px solid #555; border-radius: 3px; }
.rt-below-player-ad { width: 100%; margin: 0; }
.rt-below-player-ad .ad-zone { margin: 4px 0 0; line-height: 1.3; }
.ad-zone { max-width: 100%; margin: 12px 0; overflow-wrap: anywhere; text-align: center; }
.ad-zone iframe,
.ad-zone img { max-width: 100%; }
.rt-watch-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; padding: 15px 0 5px; }
.rt-single-title { margin: 0 0 10px; font-size: 22px; line-height: 1.32; }
.rt-watch-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 15px; margin: 0 0 13px; color: var(--muted); }
.rt-watch-meta .like { padding: 0; color: var(--muted); background: transparent; border: 0; }
.rt-watch-extra { display: flex; align-items: center; gap: 9px; }
.rt-actor-chip,
.rt-report-button { display: inline-flex; align-items: center; padding: 8px 14px; color: #17130a; background: var(--accent); border-radius: 20px; font-weight: 700; }
.rt-actor-chip:hover,
.rt-report-button:hover { color: #17130a; opacity: .9; }
.rt-report-button { white-space: nowrap; }
.rt-taxonomies { margin: 8px 0 12px; padding: 8px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rt-tax-row { padding: 4px 0; }
.rt-tax-row strong { margin-right: 7px; }
.rt-tax-row a { color: var(--accent); font-weight: 650; }
.description { margin: 12px 0; line-height: 1.72; }
.description p:first-child { margin-top: 0; }
.rt-related-posts { width: 100%; margin: 16px 0 25px; }
.rt-related-posts h2 { margin: 0 0 11px; font-size: 19px; }
.rt-related-posts .rt-featured-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 10px; }
.rt-related-posts .vidtitle { font-size: 13px; }
.rt-right-video-ads { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.rt-ad-slot { width: 250px; max-width: 100%; min-height: 300px; display: block; overflow: hidden; }
.rt-ad-slot .widget,
.rt-ad-slot .ad-zone { margin: 0; }
.rt-ad-slot .widget-title { font-size: 14px; }
.rt-ad-slot iframe,
.rt-ad-slot img { max-width: 250px; }
.rt-widget-videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.rt-ad-slot .rt-widget-videos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 6px; }
.rt-ad-slot .rt-widget-videos .vidtitle { font-size: 11px; }

/* Directorios de categorías, etiquetas y actores. */
.rt-terms-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 13px; }
.rt-directory-heading { margin: 12px 0 22px; }
.rt-directory-heading h1 { margin: 0; font-size: 25px; }
.rt-directory-heading p { margin: 5px 0; color: var(--muted); }
.rt-term-card { min-width: 0; display: flex; flex-direction: column; padding: 10px; background: var(--tile); border: 1px solid var(--line); border-radius: 9px; }
.rt-term-media { min-height: 115px; display: flex; align-items: center; justify-content: center; overflow: hidden; aspect-ratio: 16 / 9; color: var(--accent); background: #191919; border-radius: 6px; }
.rt-term-media img { width: 100%; height: 100%; display: block; object-fit: cover; aspect-ratio: 16 / 9; }
.rt-term-name { margin: 8px 0 3px; overflow-wrap: anywhere; font-size: 15px; font-weight: 700; }
.rt-term-card small { color: var(--muted); }
.rt-directory-intro { margin: 10px 0 25px; line-height: 1.7; }
.rt-directory-notice { margin: 14px 0; padding: 14px; background: var(--tile); border-radius: 7px; }
.rt-standard-page .description { font-size: 15px; line-height: 1.75; }

/* Footer y widgets generales. */
footer { width: min(100%, var(--rt-site-width)); margin: 35px auto 0; padding: 24px 18px; color: var(--muted); border-top: 1px solid var(--line); }
.footer-menu { display: flex; flex-wrap: wrap; gap: 18px; margin: 0 0 14px; padding: 0; list-style: none; }
.footer-menu li { list-style: none; }
.widget { margin: 12px 0; }
.widget-title { font-size: 17px; }

/* Ajustes responsive: una columna en móviles, como en los requisitos del tema. */
@media (max-width: 1180px) {
  :root { --rt-desktop-columns: 4; }
  .rt-header-inner { gap: 16px; }
  .rt-primary-menu > li > a { padding-right: 10px; padding-left: 10px; }
  .rt-terms-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --rt-desktop-columns: 3; }
  .rt-header-inner { grid-template-columns: minmax(170px, auto) minmax(160px, 1fr) auto; gap: 12px; padding: 0 12px; }
  .rt-brand-image { max-width: 150px; }
  .rt-primary-inner { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .rt-primary-menu { width: max-content; min-width: 100%; justify-content: flex-start; }
  .rt-watch-layout { grid-template-columns: minmax(0, 1fr) 250px; gap: 17px; }
  .rt-terms-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rt-related-posts .rt-featured-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  :root { --rt-header-height: 56px; --rt-desktop-columns: 1; }
  .rt-header-inner { grid-template-columns: minmax(0, auto) minmax(90px, 1fr) auto; gap: 8px; padding: 0 9px; }
  .rt-header-brandgroup { gap: 8px; }
  .rt-menu-toggle { width: 36px; height: 36px; flex-basis: 36px; }
  .rt-brand-image { max-width: 126px; max-height: 39px; }
  .rt-brand-text { max-width: 126px; font-size: 18px; }
  .rt-brand-image { max-width: 110px; }
  .rt-header-search { grid-column: auto; grid-row: auto; display: block; min-width: 0; }
  .rt-header-actions { gap: 6px; }
  .rt-search-form { height: 36px; }
  .rt-search-form input[type="search"] { padding: 0 8px; font-size: 11px; }
  .rt-search-form button { width: 30px; height: 30px; flex-basis: 30px; }
  .rt-header-actions .widget { display: none; }
  .rt-theme-toggle { width: 34px; height: 34px; flex-basis: 34px; }
  .rt-primary-menu > li > a { min-height: 40px; padding: 8px 11px; }
  .rt-layout,
  .layout,
  .singlewrap { padding-right: 10px; padding-left: 10px; }
  .rt-topic-strip { margin-bottom: 14px; }
  .rt-video-grid,
  .videos,
  .rt-widget-videos,
  .rt-related-posts .rt-featured-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 17px; }
  .thumb { border-radius: 2px; }
  .vidtitle { margin-top: 7px; font-size: 15px; text-align: left; }
  .metrics { justify-content: flex-start; }
  .rt-search-heading { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .rt-search-heading .rt-page-title { font-size: 21px; }
  .rt-watch-layout { display: block; }
  .rt-right-video-ads { flex-direction: row; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
  .rt-related-posts .vidtitle { font-size: 15px; }
  .rt-watch-header { flex-direction: column; gap: 8px; }
  .rt-single-title { font-size: 20px; }
  .rt-play-overlay { width: 68px; height: 68px; }
  .rt-terms-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rt-term-media { min-height: 90px; }
  .short { flex-basis: 112px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Componentes opcionales para reproducir los bloques sociales/promocionales del lateral. */
.rt-sidebar-feature {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 49px;
  padding: 11px 13px;
  color: #f5f5f5;
  background: #000;
  border: 1px solid #171717;
  border-radius: 10px;
  font-weight: 750;
  text-align: center;
}
.rt-sidebar-social {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: #252525;
  border: 1px solid #171717;
  border-radius: 10px;
}
.rt-sidebar-social a {
  min-height: 68px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 4px;
  color: #f5f5f5;
  background: #000;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}
.rt-sidebar-social a:hover { color: var(--accent); }
.rt-sidebar-partners { margin: 0; padding: 0; list-style: none; }
.rt-sidebar-partners li { margin: 0; padding: 0; }
.rt-sidebar-partners a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 9px;
  color: #eee;
  border-bottom: 1px solid #1d1d1d;
}
.rt-sidebar-partners li:last-child a { border-bottom: 0; }

.rt-search-terms { margin: 0 0 23px; }
.rt-search-terms h2 { margin: 0 0 10px; color: var(--muted); font-size: 13px; font-weight: 700; }
.rt-search-term-list { display: flex; flex-wrap: wrap; gap: 8px; }
.rt-search-term-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; color: var(--fg); background: var(--tile); border: 1px solid var(--line); border-radius: 18px; font-size: 12px; }
.rt-search-term-chip span { color: var(--accent); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.rt-search-term-chip:hover { border-color: var(--accent); }


/* ===========================================================================
   v3.4 — afinación visual respecto a la referencia aportada.
   Mantiene las reglas de reproductor y directorios de 3.2.
   =========================================================================== */
:root {
 --bg:#151515;
 --fg:#ececec;
 --top:#151515;
 --rt-nav-bg:#111111;
 --sidebar-bg:#050505;
 --line:#272727;
 --tile:#242424;
 --muted:#888;
 --rt-site-width:1380px;
 --rt-header-height:56px;
 --accent:#ffca05;
}
.rt-site-header { min-height:56px; box-shadow:none; background:var(--top); border-bottom:1px solid #222; }
.rt-header-inner {
  min-height:56px;
  grid-template-columns:minmax(235px,auto) minmax(230px,1fr) minmax(220px,auto);
  max-width:1380px;
  gap:26px;
}
.rt-header-brandgroup { gap:14px; }
.rt-menu-toggle { width:40px; height:40px; border-color:#393939; }
.rt-brand-image { max-width:168px; max-height:39px; }
.rt-brand-text { font-family:Impact, 'Arial Narrow',sans-serif; font-size:27px; font-weight:900; letter-spacing:.6px; text-transform:uppercase; }
.rt-theme-toggle { width:30px; height:30px; flex:0 0 30px; background:transparent; border:0; color:#f1f1f1; }
.rt-header-search { max-width:610px; }
.rt-search-form { border-color:#a48300; background:#202020; }
.rt-search-form input[type=search] { font-size:12px; }
.rt-header-actions { min-width:205px; }
.rt-primary-bar { border-bottom-color:#171717; }
.rt-primary-inner { max-width:1380px; }
.rt-primary-menu > li > a { min-height:33px; padding:5px 10px; font-size:12px; }
.rt-primary-menu .rt-icon { width:17px; height:17px; }
.rt-layout,.layout,.singlewrap,footer { max-width:1380px; }
.rt-layout,.layout { margin-top:22px; padding-left:16px; padding-right:16px; }
.rt-home-page .rt-home-widgets { margin:0 0 12px; }
.rt-home-page .rt-home-widgets .widget { margin:0; }
.rt-home-page .rt-home-widgets .widget-title { display:none; }
.rt-topic-strip { margin-bottom:20px; padding-bottom:0; gap:5px; }
.rt-topic-chip { padding:7px 15px; min-height:35px; border-radius:13px; font-size:13px; background:#1c1c1c; border-color:#2c2c2c; }
.rt-topic-chip.is-current { color:#f7f7f7; border-color:#303030; }
.rt-topic-chip:hover { color:var(--accent); border-color:#806000; }
.rt-video-grid,.videos { gap:20px 14px; }
.video-card { min-width:0; }
.video-card .thumb { border-radius:1px; background:#222; }
.video-card .vidtitle { min-height:2.65em; margin:5px 0 2px; font-size:13px; line-height:1.32; font-weight:450; text-align:center; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; }
.video-card .metrics { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:4px; color:#858585; font-size:11px; line-height:1.45; }
.rt-card-category { text-decoration:underline; text-underline-offset:1px; }
.video-card .duration { right:4px; bottom:4px; padding:2px 4px; }
.rt-short-section { margin:26px 0 19px; }
.rt-short-heading-row { display:flex; align-items:center; gap:9px; margin-bottom:12px; padding-bottom:5px; border-bottom:1px solid #292929; }
.rt-short-heading-row .shorts-heading { margin:0; display:flex; align-items:center; gap:4px; font-size:15px; line-height:1.35; font-weight:700; white-space:normal; }
.rt-short-heading-row .shorts-heading::after { display:none; }
.rt-short-heading-row .rt-view-all-shorts { color:#aaa; font-size:12px; margin-left:auto; white-space:nowrap; }
.rt-shorts-scroll { display:flex; gap:9px; overflow-x:auto; overflow-y:hidden; scroll-snap-type:x proximity; padding-bottom:8px; scrollbar-color:#353535 transparent; }
.rt-short-card { flex:0 0 126px; width:126px; min-width:126px; scroll-snap-align:start; }
.rt-short-link { display:block; }
.rt-short-thumb { position:relative; width:100%; aspect-ratio:9/16; overflow:hidden; background:#222; border-radius:1px; }
.rt-short-thumb img { width:100%; height:100%; display:block; object-fit:cover; }
.rt-short-views { position:absolute; top:6px; left:5px; border-radius:12px; padding:3px 7px; background:rgba(24,24,24,.7); color:#fff; font-size:10px; font-weight:800; }
.rt-short-duration { position:absolute; bottom:4px; right:4px; background:rgba(0,0,0,.8); color:#fff; font-size:10px; padding:2px 4px; border-radius:2px; }
.rt-short-title { font-size:12px; font-weight:450; line-height:1.4; margin:4px 0 0; color:var(--fg); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.rt-shorts-list-grid { grid-template-columns:repeat(8,minmax(0,1fr)); }
.rt-shorts-list-grid .rt-short-card { width:auto; min-width:0; }
.rt-home-more { margin-top:26px; }
.rt-home-more .rt-section-heading { font-size:15px; text-transform:uppercase; }
.rt-menu-overlay { position:fixed; inset:56px 0 0; background:rgba(0,0,0,.8); z-index:200; }
.rt-menu-overlay.is-open { display:block; }
.rt-sidebar {
 top:56px; left:max(0px,calc((100vw - 1380px)/2 + 47px));
 width:258px; padding:13px 12px 24px; z-index:220;
 background:#1d1d1d; border-right:0; border-radius:0;
 transform:translateX(calc(-100% - max(0px,(100vw - 1380px)/2) - 5px));
 box-shadow:none;
}
.rt-sidebar.is-open { transform:translateX(0); }
.rt-sidebar-inner { gap:15px; }
.rt-side-navigation { border:0; background:#000; border-radius:11px; padding:5px 0; }
.rt-side-menu > li > a { min-height:38px; font-size:13px; padding:8px 16px; border-bottom:1px solid #202020; font-weight:500; }
.rt-sidebar-widgets .widget { background:#000; }
.rt-header-inner,.rt-primary-inner { position:relative; z-index:1; }
.rt-search-page .rt-search-heading { border:1px solid #292929; background:#1c1c1c; padding:18px; border-radius:9px; margin:0 0 18px; }
.rt-search-page .rt-video-grid { margin-top:18px; }
.rt-search-page .rt-no-results { background:#1b1b1b; border:1px solid #2b2b2b; border-radius:9px; }
.rt-right-video-ads .rt-ad-slot { min-width:250px; }
@media(min-width:1440px){
  .rt-layout,.layout,.singlewrap,.rt-header-inner,.rt-primary-inner,footer { transform:translateX(64px); }
}
@media(max-width:1180px){
 .rt-video-grid,.videos { grid-template-columns:repeat(4,minmax(0,1fr)); }
 .rt-shorts-list-grid { grid-template-columns:repeat(5,minmax(0,1fr)); }
 .rt-header-inner { grid-template-columns:minmax(190px,auto) minmax(160px,1fr) auto; gap:12px; }
 .rt-header-actions { min-width:0; }
}
@media(max-width:900px){
 .rt-video-grid,.videos { grid-template-columns:repeat(3,minmax(0,1fr)); }
 .rt-shorts-list-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
 .rt-header-actions { display:none; }
 .rt-header-inner { grid-template-columns:minmax(175px,auto) minmax(120px,1fr); }
 .rt-header-search { max-width:none; }
 .rt-sidebar { left:0; transform:translateX(-105%); }
 .rt-header-inner,.rt-primary-inner { transform:none; }
}
@media(max-width:680px){
 :root { --rt-header-height:56px; }
 .rt-header-inner { padding:0 10px; grid-template-columns:minmax(0,auto) minmax(90px,1fr); gap:8px; }
 .rt-header-brandgroup { gap:5px; }
 .rt-brand-text { max-width:105px; font-size:18px; }
 .rt-brand-image { max-width:108px; }
 .rt-theme-toggle { display:none; }
 .rt-search-form input[type=search] { font-size:11px; }
 .rt-layout,.layout { margin-top:12px; padding:0 10px; }
 .rt-video-grid,.videos { grid-template-columns:minmax(0,1fr); }
 .rt-shorts-list-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .rt-shorts-list-grid .rt-short-card { flex:auto; width:auto; min-width:0; }
 .rt-short-card { flex-basis:116px; width:116px; min-width:116px; }
 .video-card .vidtitle { min-height:0; font-size:15px; text-align:left; }
 .video-card .metrics { justify-content:flex-start; }
 .rt-topic-strip { margin-bottom:13px; }
 .rt-short-heading-row .shorts-heading { font-size:13px; }
 .rt-sidebar { width:min(280px,calc(100vw - 35px)); }
 .rt-search-page .rt-search-heading { padding:12px; }
}

/* ========================================================================
   RAYOTUBE 3.5 · Video, Shorts, imágenes (extensión modular sobre 3.4)
   Reproductor estilo referencia, sin sustituir estilos de portada.
   ======================================================================== */
.rt-single-video .rt-watch-layout,.rt-single-image .rt-watch-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(270px,360px);gap:20px;align-items:start}
.rt-single-video .rt-watch-sidebar,.rt-single-image .rt-watch-sidebar{min-width:0;display:flex;flex-direction:column;gap:20px}
.rt-related-side{display:grid;grid-template-columns:1fr;gap:12px}
.rt-related-side-card{display:block;min-width:0;color:var(--fg);text-decoration:none}
.rt-related-side-cover{position:relative;display:block;aspect-ratio:16/9;overflow:hidden;background:#222;border-radius:9px}
.rt-related-side-cover img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .18s}
.rt-related-side-card:hover img{transform:scale(1.035)}
.rt-related-side-title{display:block;font-size:12px;text-align:center;line-height:1.4;margin:5px 0 0;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.rt-mini-duration{position:absolute;bottom:6px;right:6px;padding:3px 5px;background:#000b;color:#fff;border-radius:3px;font-size:10px}
.rt-single-video .player{border-radius:9px;aspect-ratio:16/9}
.rt-single-video .rt-play-overlay,.rt-short-player .rt-play-overlay{background:rgba(244,244,244,.38);backdrop-filter:blur(5px);width:90px;height:90px;box-shadow:0 4px 24px #0007;transition:background .2s,transform .2s}
.rt-single-video .rt-play-overlay:hover,.rt-short-player .rt-play-overlay:hover{background:rgba(250,250,250,.55);transform:translate(-50%,-50%) scale(1.04)}
.rt-single-video .rt-play-overlay svg,.rt-short-player .rt-play-overlay svg{width:41px;height:41px}
.rt-single-video .rt-player-shell,.rt-short-player .rt-player-shell{background:#040404}
.rt-below-player-ad .ad-zone{padding:0;margin:5px 0 0;overflow:hidden;border-radius:6px}
.rt-below-player-ad .ad-zone:empty{display:none}
.rt-single-video .rt-watch-header{padding:12px 0 0}
.rt-watch-heading{min-width:0;flex:1}
.rt-single-video .rt-single-title,.rt-single-image .rt-single-title{font-size:22px;line-height:1.3;margin-bottom:4px}
.rt-view-stats{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:12px;color:#abb1bb;line-height:1.4}
.rt-stat-dot{color:#777}.rt-stat-likes{color:#2ee650;font-weight:700}
.rt-action-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:12px 0 14px}
.rt-action-pair{display:flex;align-items:center;overflow:hidden;gap:0;border-radius:26px;background:#262626}
.rt-action-pair .rt-watch-action{border-radius:0;background:transparent}
.rt-action-pair .rt-watch-action+.rt-watch-action{border-left:1px solid #404040}
.rt-watch-action{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:0;border-radius:24px;background:#262626;color:#eee;padding:7px 12px;min-height:32px;font:inherit;font-size:12px;line-height:1.2;white-space:nowrap;cursor:pointer}
.rt-watch-action:not(.rt-action-duration):hover,.rt-watch-action[aria-pressed=true],.rt-watch-action.is-voted{background:#3a3421;color:#fff0b5}
.rt-watch-action:disabled{cursor:default}
.rt-watch-action.rt-action-duration{cursor:default}
.rt-watch-action .rt-icon{height:16px;width:16px}
.rt-share-status{font-size:12px;color:var(--accent)}
.rt-single-video .rt-watch-extra{margin:4px 0 2px}
.rt-single-video .rt-right-video-ads{align-items:stretch}
.rt-single-video .rt-right-video-ads .rt-ad-slot{align-self:center;max-width:100%}

/* Shorts: el usuario desplaza arriba y abajo o usa botones/teclas. */
.rt-short-page{max-width:var(--rt-site-width)}
.rt-short-page-header{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:5px 0 14px}
.rt-short-page-header h1{font-size:19px;margin:0;max-width:72%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rt-short-page-header a{font-size:13px;color:var(--accent)}
.rt-short-layout{display:grid;grid-template-columns:minmax(0,760px) minmax(220px,1fr);gap:28px;align-items:start}
.rt-short-primary{display:flex;flex-direction:column;align-items:center;min-width:0}
.rt-short-feed{height:min(76vh,790px);min-height:360px;width:min(100%,440px);overflow-y:auto;overflow-x:hidden;scroll-snap-type:y mandatory;overscroll-behavior:contain;background:#050505;border-radius:12px;scrollbar-color:#444 #111;outline-offset:3px}
.rt-short-slide{height:100%;min-height:100%;width:100%;display:flex;align-items:center;justify-content:center;scroll-snap-align:start;scroll-snap-stop:always;position:relative}
.rt-short-viewer{position:relative;width:100%;height:100%;overflow:hidden}
.rt-short-player{position:absolute;inset:0;width:100%;height:100%}
.rt-short-player .rt-player-shell{height:100%;width:100%}
.rt-short-player video,.rt-short-player iframe{width:100%;height:100%;object-fit:contain}
.rt-short-info{position:absolute;z-index:3;left:12px;right:12px;bottom:48px;color:white;display:flex;flex-direction:column;gap:5px;pointer-events:none;text-shadow:0 1px 7px #000}
.rt-short-info a{pointer-events:auto;color:white;font-size:14px;font-weight:700}
.rt-short-info span{font-size:11px}
.rt-short-feed-controls{width:min(100%,440px);display:flex;gap:9px;align-items:center;justify-content:space-between;padding:8px 0;color:var(--muted);font-size:11px}
.rt-short-feed-controls button{padding:6px 10px;border:1px solid var(--line);border-radius:8px;color:var(--fg);background:var(--tile);cursor:pointer}
.rt-short-feed-controls button:hover{border-color:var(--accent)}
.rt-short-description{width:min(100%,760px);padding:6px 0}
.rt-short-aside h2{font-size:15px;margin:0 0 10px}
.rt-short-aside .rt-related-side{grid-template-columns:repeat(2,minmax(0,1fr))}
.rt-short-aside .rt-related-posts .rt-featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.rt-short-page .rt-play-overlay{width:76px;height:76px}

/* Galerías locales: una imagen grande y miniaturas navegables. */
.rt-gallery-header p{margin:0 0 12px;color:var(--muted);font-size:13px}
.rt-photo-gallery{width:100%}
.rt-gallery-stage{position:relative;width:100%;min-height:220px;display:grid;place-items:center;overflow:hidden;background:#060606;border-radius:9px}
.rt-gallery-slide{width:100%;margin:0;max-height:82vh;display:flex;align-items:center;justify-content:center}
.rt-gallery-slide[hidden]{display:none}
.rt-gallery-slide img{width:auto;max-width:100%;height:auto;max-height:82vh;object-fit:contain;display:block;margin:auto}
.rt-gallery-prev,.rt-gallery-next{position:absolute;top:50%;transform:translateY(-50%);border:0;background:#000b;color:white;font-size:23px;width:39px;height:45px;border-radius:8px;cursor:pointer}
.rt-gallery-prev{left:8px}.rt-gallery-next{right:8px}
.rt-gallery-count{position:absolute;right:10px;bottom:10px;border-radius:12px;padding:4px 10px;color:white;background:#000b;font-size:12px}
.rt-gallery-thumbs{display:flex;gap:8px;overflow-x:auto;padding:10px 0 4px}
.rt-gallery-thumb{flex:0 0 88px;height:88px;padding:2px;border:2px solid transparent;border-radius:6px;overflow:hidden;background:#292929;cursor:pointer}
.rt-gallery-thumb.is-active,.rt-gallery-thumb:hover{border-color:var(--accent)}
.rt-gallery-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.rt-image-grid .rt-image-cover{position:relative;aspect-ratio:4/3;background:#242424;overflow:hidden;border-radius:6px}
.rt-image-grid .rt-image-cover img{width:100%;height:100%;object-fit:cover;display:block}
.rt-image-count{position:absolute;right:6px;bottom:6px;background:#111c;border-radius:4px;color:white;padding:3px 6px;font-size:11px}
.rt-image-grid .rt-short-title{font-size:13px;line-height:1.3;min-height:32px}
.rt-home-gallery{margin:24px 0 14px}
.rt-image-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}

@media(max-width:1100px){.rt-single-video .rt-watch-layout,.rt-single-image .rt-watch-layout{grid-template-columns:minmax(0,1fr) 260px}.rt-image-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:900px){.rt-short-layout{grid-template-columns:1fr}.rt-short-aside{margin-top:10px}.rt-single-video .rt-watch-layout,.rt-single-image .rt-watch-layout{grid-template-columns:minmax(0,1fr) 230px}.rt-image-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:680px){.rt-single-video .rt-watch-layout,.rt-single-image .rt-watch-layout{display:block}.rt-watch-sidebar{margin-top:20px}.rt-related-side{grid-template-columns:repeat(2,minmax(0,1fr))}.rt-short-aside .rt-related-side{grid-template-columns:repeat(2,minmax(0,1fr))}.rt-short-feed{height:min(72vh,720px);min-height:320px;width:min(100%,420px)}.rt-short-info{bottom:55px}.rt-short-feed-controls{font-size:10px}.rt-image-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.rt-single-video .rt-single-title{font-size:19px}.rt-single-video .rt-play-overlay{width:72px;height:72px}.rt-gallery-thumb{flex-basis:66px;height:66px}}
@media(prefers-reduced-motion:reduce){.rt-related-side-cover img,.rt-single-video .rt-play-overlay{transition:none}}

/* Evita scroll horizontal en pantallas de 1440–1550 px por el corrimiento del layout 3.4. */
@media (min-width:1440px) and (max-width:1550px){
 .rt-layout,.layout,.singlewrap,.rt-header-inner,.rt-primary-inner,footer{transform:none}
}
