/*
Theme Name: Siglo Veinte Theme
Theme URI: https://sigloveinte.com
Description: Tema periodístico estilo CNN Español. Diseño plano, minimalista y de alto rendimiento.
Version: 1.1.0
Author: SigloVeinte
Author URI: https://sigloveinte.com
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sigloveinte-theme
Tags: news, blog, two-columns, responsive-layout, custom-menu, featured-images
*/

/* ========================================
   VARIABLES CSS
   ======================================== */
:root {
  --sv-red: #CC0000;
  --sv-black: #000000;
  --sv-white: #FFFFFF;
  --sv-gray-dark: #333333;
  --sv-gray-light: #F7F7F7;
  --sv-border: #E0E0E0;
  --sv-font-serif: 'Source Serif 4', Georgia, serif;
  --sv-font-sans: 'Source Sans 3', Arial, sans-serif;
}

/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--sv-font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--sv-gray-dark);
  background: var(--sv-white);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--sv-red); text-decoration: none; }
a:hover { color: var(--sv-black); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; }

/* ========================================
   LAYOUT CONTENEDOR
   ======================================== */
.sv-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.sv-container--wide { max-width: 1400px; }
.sv-row { display: flex; flex-wrap: wrap; gap: 20px; }
.sv-col-main { flex: 1; min-width: 0; }
.sv-col-sidebar { width: 300px; flex-shrink: 0; }

/* ========================================
   TOP BAR
   ======================================== */
.sv-topbar {
  background: var(--sv-black);
  color: #999;
  font-size: 12px;
  padding: 6px 0;
  border-bottom: 1px solid #222;
}
.sv-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sv-topbar__date { color: #999; font-family: var(--sv-font-sans); }
.sv-topbar__social { display: flex; gap: 12px; }
.sv-topbar__social a {
  color: #999;
  font-size: 13px;
  transition: color 0.2s;
}
.sv-topbar__social a:hover { color: var(--sv-white); }

/* ========================================
   HEADER
   ======================================== */
.sv-header {
  background: var(--sv-black);
  padding: 16px 0 0;
}
.sv-header__logo-wrap {
  text-align: center;
  padding: 10px 0 16px;
}
.sv-header__logo img { max-height: 60px; margin: 0 auto; }
.sv-header__logo a {
  font-family: var(--sv-font-serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--sv-white);
  letter-spacing: -1px;
}

/* ========================================
   NAVEGACIÓN PRINCIPAL
   ======================================== */
.sv-nav {
  background: var(--sv-black);
  border-top: 3px solid var(--sv-red);
  border-bottom: 1px solid #222;
}
.sv-nav__menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.sv-nav__menu li { position: relative; }
.sv-nav__menu > li > a {
  display: block;
  padding: 12px 16px;
  color: var(--sv-white);
  font-family: var(--sv-font-sans);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.2s, color 0.2s;
}
.sv-nav__menu > li > a:hover,
.sv-nav__menu > li.current-menu-item > a {
  background: var(--sv-red);
  color: var(--sv-white);
}
.sv-nav__menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--sv-black);
  min-width: 200px;
  z-index: 9999;
  border-top: 2px solid var(--sv-red);
  display: none;
}
.sv-nav__menu li:hover .sub-menu { display: block; }
.sv-nav__menu .sub-menu li a {
  display: block;
  padding: 10px 16px;
  color: #ccc;
  font-size: 13px;
  border-bottom: 1px solid #222;
  transition: color 0.2s, background 0.2s;
}
.sv-nav__menu .sub-menu li a:hover {
  color: var(--sv-white);
  background: #111;
}
.sv-nav__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}
.sv-nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--sv-white);
  margin: 4px 0;
  transition: all 0.3s;
}

/* ========================================
   ANUNCIO HEADER
   ======================================== */
.sv-ad-header {
  background: var(--sv-gray-light);
  padding: 10px 0;
  text-align: center;
  border-bottom: 1px solid var(--sv-border);
}

/* ========================================
   SECCIÓN DE NOTICIAS (PORTADA)
   ======================================== */
.sv-section { padding: 24px 0; border-bottom: 1px solid var(--sv-border); }
.sv-section__header {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  gap: 12px;
}
.sv-section__title {
  font-family: var(--sv-font-sans);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--sv-black);
  padding-left: 12px;
  border-left: 4px solid var(--sv-red);
}
.sv-section__more {
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--sv-red);
  letter-spacing: 0.5px;
}
.sv-section__more:hover { color: var(--sv-black); }

/* ========================================
   CARRUSEL
   ======================================== */
.sv-carousel { position: relative; overflow: hidden; }
.sv-carousel__track {
  display: flex;
  gap: 16px;
  transition: transform 0.35s ease;
  will-change: transform;
}
.sv-carousel__item {
  flex: 0 0 calc(25% - 12px);
  min-width: 0;
}
.sv-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.7);
  border: none;
  color: var(--sv-white);
  width: 36px;
  height: 60px;
  cursor: pointer;
  z-index: 10;
  font-size: 18px;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sv-carousel__btn:hover { background: var(--sv-red); }
.sv-carousel__btn--prev { left: 0; }
.sv-carousel__btn--next { right: 0; }
.sv-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}
.sv-carousel__dot {
  width: 8px;
  height: 8px;
  background: var(--sv-border);
  cursor: pointer;
  transition: background 0.2s;
}
.sv-carousel__dot.active { background: var(--sv-red); }

/* ========================================
   TARJETA DE NOTICIA
   ======================================== */
.sv-card { display: flex; flex-direction: column; }
.sv-card__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--sv-gray-light);
}
.sv-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.sv-card:hover .sv-card__img-wrap img { transform: scale(1.03); }
.sv-card__cat {
  display: inline-block;
  background: var(--sv-red);
  color: var(--sv-white);
  font-family: var(--sv-font-sans);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 6px;
  margin-bottom: 6px;
  margin-top: 10px;
}
.sv-card__cat:hover { background: var(--sv-black); color: var(--sv-white); }
.sv-card__title {
  font-family: var(--sv-font-serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--sv-black);
  margin-bottom: 6px;
}
.sv-card__title a { color: inherit; }
.sv-card__title a:hover { color: var(--sv-red); }
.sv-card__excerpt {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sv-card__date {
  font-size: 11px;
  color: #999;
  margin-top: 6px;
  font-family: var(--sv-font-sans);
}

/* ========================================
   ANUNCIO AFTER-4
   ======================================== */
.sv-ad-after4 {
  padding: 20px 0;
  text-align: center;
  background: var(--sv-gray-light);
  border-top: 1px solid var(--sv-border);
  border-bottom: 1px solid var(--sv-border);
  margin: 16px 0;
}

/* ========================================
   INFINITE SCROLL PORTADA
   ======================================== */
.sv-infinite-home { padding: 20px 0; }
.sv-infinite-home__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
#sv-load-more-home {
  display: block;
  margin: 20px auto;
  padding: 10px 28px;
  background: var(--sv-red);
  color: var(--sv-white);
  font-family: var(--sv-font-sans);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
#sv-load-more-home:hover { background: var(--sv-black); }
#sv-load-more-home:disabled { background: var(--sv-border); color: #999; cursor: default; }

/* ========================================
   SINGLE POST
   ======================================== */
.sv-single { padding: 24px 0; }
.sv-single__hero {
  width: 100%;
  aspect-ratio: 16/6;
  overflow: hidden;
  margin-bottom: 24px;
}
.sv-single__hero img { width: 100%; height: 100%; object-fit: cover; }
.sv-single__cat {
  display: inline-block;
  background: var(--sv-red);
  color: var(--sv-white);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 8px;
  margin-bottom: 12px;
}
.sv-single__cat:hover { background: var(--sv-black); color: var(--sv-white); }
.sv-single__title {
  font-family: var(--sv-font-serif);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--sv-black);
  margin-bottom: 12px;
}
.sv-single__meta {
  font-size: 12px;
  color: #999;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--sv-border);
  margin-bottom: 20px;
  display: flex;
  gap: 16px;
  align-items: center;
}
.sv-single__content {
  font-family: var(--sv-font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--sv-gray-dark);
}
.sv-single__content p { margin-bottom: 1.4em; }
.sv-single__content h2 {
  font-family: var(--sv-font-serif);
  font-size: 22px;
  font-weight: 700;
  margin: 1.5em 0 0.5em;
  color: var(--sv-black);
}
.sv-single__content h3 {
  font-family: var(--sv-font-serif);
  font-size: 18px;
  font-weight: 700;
  margin: 1.2em 0 0.5em;
  color: var(--sv-black);
}
.sv-single__content ul, .sv-single__content ol {
  padding-left: 20px;
  margin-bottom: 1.4em;
}
.sv-single__content ul { list-style: disc; }
.sv-single__content ol { list-style: decimal; }
.sv-single__content li { margin-bottom: 0.4em; }
.sv-single__content blockquote {
  border-left: 4px solid var(--sv-red);
  padding: 12px 20px;
  background: var(--sv-gray-light);
  margin: 1.5em 0;
  font-style: italic;
  font-size: 17px;
}
.sv-single__content img {
  width: 100%;
  height: auto;
  margin: 1.5em 0;
}
.sv-ad-single {
  padding: 20px 0;
  text-align: center;
  background: var(--sv-gray-light);
  border-top: 1px solid var(--sv-border);
  border-bottom: 1px solid var(--sv-border);
  margin: 24px 0;
}

/* ========================================
   RELACIONADOS / MÁS DE CATEGORÍA
   ======================================== */
.sv-related { padding: 24px 0; border-top: 2px solid var(--sv-border); }
.sv-related__title {
  font-family: var(--sv-font-sans);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--sv-black);
  padding-left: 12px;
  border-left: 4px solid var(--sv-red);
  margin-bottom: 16px;
}
.sv-related__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* ========================================
   ARCHIVE / SEARCH
   ======================================== */
.sv-archive { padding: 24px 0; }
.sv-archive__header {
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--sv-black);
}
.sv-archive__title {
  font-family: var(--sv-font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--sv-black);
}
.sv-archive__title span { color: var(--sv-red); }
.sv-archive__count { font-size: 13px; color: #999; margin-top: 4px; }
.sv-archive__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

/* ========================================
   PAGINACIÓN
   ======================================== */
.sv-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 20px 0;
}
.sv-pagination a,
.sv-pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  font-family: var(--sv-font-sans);
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--sv-border);
  color: var(--sv-gray-dark);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.sv-pagination a:hover {
  background: var(--sv-red);
  color: var(--sv-white);
  border-color: var(--sv-red);
}
.sv-pagination .current {
  background: var(--sv-red);
  color: var(--sv-white);
  border-color: var(--sv-red);
}
.sv-pagination .dots { border-color: transparent; }

/* ========================================
   SIDEBAR
   ======================================== */
.sv-sidebar { padding: 0; }
.widget {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--sv-border);
}
.widget:last-child { border-bottom: none; }
.widget-title {
  font-family: var(--sv-font-sans);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--sv-black);
  padding-left: 10px;
  border-left: 3px solid var(--sv-red);
  margin-bottom: 14px;
}
.sv-widget-most-read__list { display: flex; flex-direction: column; gap: 12px; }
.sv-widget-most-read__item { display: flex; gap: 10px; align-items: flex-start; }
.sv-widget-most-read__num {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--sv-red);
  color: var(--sv-white);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sv-widget-most-read__title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--sv-black);
}
.sv-widget-most-read__title a { color: inherit; }
.sv-widget-most-read__title a:hover { color: var(--sv-red); }
.sv-widget-weather { font-size: 14px; }
.sv-widget-weather__city {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 6px;
}
.sv-widget-weather__temp {
  font-size: 32px;
  font-weight: 700;
  color: var(--sv-black);
  font-family: var(--sv-font-serif);
}
.sv-widget-weather__desc { color: #666; font-size: 13px; }
.sv-ad-sidebar {
  padding: 10px 0;
  text-align: center;
}

/* ========================================
   BOTONES COMPARTIR
   ======================================== */
.sv-share { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0; }
.sv-share__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--sv-white);
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  font-family: var(--sv-font-sans);
  text-decoration: none;
}
.sv-share__btn:hover { opacity: 0.85; color: var(--sv-white); }
.sv-share__btn--facebook { background: #1877F2; }
.sv-share__btn--twitter { background: #000000; }
.sv-share__btn--whatsapp { background: #25D366; }
.sv-share__btn--telegram { background: #2AABEE; }

/* ========================================
   FOOTER
   ======================================== */
.sv-footer {
  background: var(--sv-black);
  color: #999;
  padding: 32px 0 16px;
  margin-top: 32px;
}
.sv-footer__top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid #222;
  margin-bottom: 20px;
}
.sv-footer__logo a {
  font-family: var(--sv-font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--sv-white);
}
.sv-footer__logo img { max-height: 40px; }
.sv-footer__about { font-size: 13px; line-height: 1.6; margin-top: 8px; }
.sv-footer__nav-title {
  font-family: var(--sv-font-sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #666;
  margin-bottom: 10px;
}
.sv-footer__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.sv-footer__links a {
  color: #999;
  font-size: 13px;
  transition: color 0.2s;
}
.sv-footer__links a:hover { color: var(--sv-white); }
.sv-footer__bottom {
  text-align: center;
  font-size: 12px;
  color: #555;
}
.sv-footer__bottom a { color: #666; }
.sv-footer__bottom a:hover { color: var(--sv-white); }

/* ========================================
   SKELETON LOADER
   ======================================== */
@keyframes sv-shimmer {
  0% { background-position: -800px 0; }
  100% { background-position: 800px 0; }
}
.sv-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 800px 100%;
  animation: sv-shimmer 1.5s infinite linear;
}
.sv-skeleton--img { aspect-ratio: 16/9; width: 100%; }
.sv-skeleton--title { height: 16px; margin: 10px 0 6px; width: 90%; }
.sv-skeleton--title-sm { height: 14px; width: 70%; }
.sv-skeleton--line { height: 12px; margin-bottom: 4px; }
.sv-skeleton-card { flex: 0 0 calc(25% - 12px); }

/* ========================================
   OCULTAR JETPACK ELEMENTOS
   ======================================== */
.jp-relatedposts,
.sharedaddy,
.sd-sharing-enabled,
.wpl-likebox,
.jetpack-likes-widget-wrapper,
#jetpack-likes-master,
.jetpack_subscription_widget { display: none !important; }

/* ========================================
   MOBILE FIRST — 991px
   ======================================== */
@media (max-width: 991px) {
  .sv-col-sidebar { width: 100%; }
  .sv-row { flex-direction: column; }
  .sv-carousel__item { flex: 0 0 calc(50% - 8px); }
  .sv-infinite-home__grid { grid-template-columns: repeat(2, 1fr); }
  .sv-archive__grid { grid-template-columns: repeat(2, 1fr); }
  .sv-related__grid { grid-template-columns: repeat(2, 1fr); }
  .sv-nav__hamburger { display: flex; flex-direction: column; justify-content: center; }
  .sv-nav__menu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    background: #111;
    padding: 10px 0;
  }
  .sv-nav__menu.is-open { display: flex; }
  .sv-nav__menu > li > a { width: 100%; }
  .sv-nav__menu .sub-menu {
    position: static;
    display: block;
    background: #1a1a1a;
  }
  .sv-footer__top { grid-template-columns: 1fr; gap: 20px; }
}

/* ========================================
   MOBILE — 767px
   ======================================== */
@media (max-width: 767px) {
  .sv-container { padding: 0 12px; }
  .sv-carousel__item { flex: 0 0 calc(100% - 0px); }
  .sv-infinite-home__grid { grid-template-columns: 1fr; }
  .sv-archive__grid { grid-template-columns: 1fr; }
  .sv-related__grid { grid-template-columns: repeat(2, 1fr); }
  .sv-single__hero { aspect-ratio: 16/9; }
  .sv-topbar__date { display: none; }
  .sv-header__logo a { font-size: 26px; }
  .sv-share { gap: 6px; }
  .sv-share__btn { padding: 6px 10px; font-size: 11px; }
}

/* ════════════════════════════════════════
   NAVEGACIÓN — contenedor flex con lupa
   ════════════════════════════════════════ */
.sv-nav__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sv-nav__container .sv-nav__menu {
  flex: 1;
}
.sv-search-toggle {
  flex-shrink: 0;
  background: none;
  border: none;
  color: var(--sv-white);
  cursor: pointer;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
  margin-left: 8px;
}
.sv-search-toggle:hover { color: var(--sv-red); }

/* ════════════════════════════════════════
   BARRA DE BÚSQUEDA GOOGLE CSE (slide-down)
   ════════════════════════════════════════ */
.sv-search-bar {
  background: #111;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0;
  border-top: none;
}
.sv-search-bar.is-open {
  max-height: 120px;
  padding: 12px 0;
  border-top: 1px solid #333;
}
/* Ajustes de estilo para el widget de Google CSE */
.sv-search-bar .gsc-input-box { border-radius: 0; }
.sv-search-bar .gsc-search-button-v2 { background: var(--sv-red); border-color: var(--sv-red); border-radius: 0; }
@media (max-width: 767px) {
  .sv-search-bar.is-open { max-height: 160px; }
  .sv-search-bar .gsc-search-box { width: 100%; }
}

/* ════════════════════════════════════════
   CHIPS DE CATEGORÍAS
   ════════════════════════════════════════ */
.sv-cat-chips-wrap {
  background: var(--sv-white);
  border: 1px solid var(--sv-border);
  border-left: none;
  border-right: none;
  margin: 0 -20px 16px;
  padding: 0 20px;
  position: relative;
}
.sv-cat-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
.sv-cat-chips::-webkit-scrollbar { display: none; }
.sv-cat-chip {
  flex-shrink: 0;
  display: inline-block;
  padding: 5px 14px;
  background: var(--sv-white);
  border: 1px solid var(--sv-border);
  color: var(--sv-gray-dark);
  font-family: var(--sv-font-sans);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.sv-cat-chip:hover,
.sv-cat-chip--active {
  background: var(--sv-red);
  color: var(--sv-white);
  border-color: var(--sv-red);
}

/* ════════════════════════════════════════
   CABECERA DE SECCIÓN — ESTILO REFORMA
   ════════════════════════════════════════ */
.sv-section__header--reform {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.sv-section__title--reform {
  flex-shrink: 0;
  font-family: var(--sv-font-sans);
  font-size: 17px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--sv-black);
  padding-left: 10px;
  border-left: 4px solid var(--sv-red);
  line-height: 1;
}
.sv-section__rule {
  flex: 1;
  height: 1px;
  background: var(--sv-border);
}
.sv-section__more {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--sv-red);
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.sv-section__more:hover { color: var(--sv-black); }

/* ════════════════════════════════════════
   CARRUSEL REFORMA (featured + lista)
   ════════════════════════════════════════ */
.sv-reform-carousel {
  position: relative;
  min-height: 200px;
}
.sv-reform-group {
  display: none;
  gap: 20px;
}
.sv-reform-group.is-active { display: flex; }

/* Featured izquierda — 42% */
.sv-reform-featured { flex: 0 0 42%; min-width: 0; }
.sv-reform-featured__img-wrap {
  display: block;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--sv-gray-light);
  margin-bottom: 10px;
}
.sv-reform-featured__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.sv-reform-featured__img-wrap:hover img { transform: scale(1.03); }
.sv-reform-featured__placeholder {
  width: 100%;
  height: 100%;
  background: var(--sv-gray-light);
}
.sv-reform-featured__cat {
  display: inline-block;
  background: var(--sv-red);
  color: var(--sv-white);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 6px;
  margin-bottom: 8px;
}
.sv-reform-featured__cat:hover { background: var(--sv-black); color: var(--sv-white); }
.sv-reform-featured__title {
  font-family: var(--sv-font-serif);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--sv-black);
  margin-bottom: 8px;
}
.sv-reform-featured__title a { color: inherit; }
.sv-reform-featured__title a:hover { color: var(--sv-red); }
.sv-reform-featured__excerpt {
  font-size: 13px;
  color: #666;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Lista derecha — 58% */
.sv-reform-list {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.sv-reform-list__item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--sv-border);
  align-items: flex-start;
}
.sv-reform-list__item:first-child { padding-top: 0; }
.sv-reform-list__item:last-child { border-bottom: none; }
.sv-reform-list__thumb {
  flex-shrink: 0;
  width: 80px;
  height: 60px;
  overflow: hidden;
  display: block;
  background: var(--sv-gray-light);
}
.sv-reform-list__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.sv-reform-list__thumb:hover img { transform: scale(1.05); }
.sv-reform-list__info { flex: 1; min-width: 0; }
.sv-reform-list__cat {
  display: inline-block;
  color: var(--sv-red);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.sv-reform-list__cat:hover { color: var(--sv-black); }
.sv-reform-list__title {
  font-family: var(--sv-font-serif);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--sv-black);
}
.sv-reform-list__title a { color: inherit; }
.sv-reform-list__title a:hover { color: var(--sv-red); }

/* Flechas del carrusel reforma */
.sv-reform-carousel .sv-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
}
.sv-reform-carousel .sv-carousel__btn--prev { left: -18px; }
.sv-reform-carousel .sv-carousel__btn--next { right: -18px; }

/* ════════════════════════════════════════
   SECCIÓN REELS
   ════════════════════════════════════════ */
.sv-reels-section { background: var(--sv-gray-light); padding: 20px; margin: 0 -20px 0; }
.sv-reels-carousel { position: relative; overflow: hidden; }
.sv-reels-track {
  display: flex;
  gap: 12px;
  transition: transform 0.35s ease;
  will-change: transform;
}
.sv-reels-item {
  flex: 0 0 calc(25% - 9px);
  min-width: 0;
}
.sv-reels-card {
  display: block;
  position: relative;
  aspect-ratio: 9/16;
  overflow: hidden;
  background: var(--sv-black);
  text-decoration: none;
}
.sv-reels-card__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease;
}
.sv-reels-card:hover .sv-reels-card__img { transform: scale(1.05); }
.sv-reels-card__img--empty { background: #333; }
.sv-reels-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(0,0,0,0.75) 100%);
}
.sv-reels-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.sv-reels-card:hover .sv-reels-card__play { background: rgba(204,0,0,0.7); border-color: transparent; }
.sv-reels-card__title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 10px 10px;
  color: var(--sv-white);
  font-family: var(--sv-font-serif);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ════════════════════════════════════════
   WIDGET: Lo más leído — con miniatura
   ════════════════════════════════════════ */
.sv-widget-most-read__list { display: flex; flex-direction: column; }
.sv-widget-most-read__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--sv-border);
}
.sv-widget-most-read__item:last-child { border-bottom: none; }
.sv-widget-most-read__num {
  flex-shrink: 0;
  font-family: var(--sv-font-sans);
  font-size: 18px;
  font-weight: 800;
  color: var(--sv-red);
  min-width: 24px;
  line-height: 1;
  margin-top: 2px;
}
.sv-widget-most-read__thumb {
  flex-shrink: 0;
  display: block;
  width: 80px;
  height: 80px;
  overflow: hidden;
  background: var(--sv-gray-light);
}
.sv-widget-most-read__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sv-widget-most-read__title {
  font-family: var(--sv-font-serif);
  font-size: 13px;
  font-weight: 600;
  color: var(--sv-black);
  line-height: 1.35;
}
.sv-widget-most-read__title a { color: inherit; }
.sv-widget-most-read__title a:hover { color: var(--sv-red); }

/* ════════════════════════════════════════
   WIDGET: Publicidad
   ════════════════════════════════════════ */
.sv-widget-ad { text-align: center; }
.sv-widget-ad__img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.sv-widget-ad__code { display: block; text-align: center; }

/* ════════════════════════════════════════
   SINGLE — ETIQUETAS
   ════════════════════════════════════════ */
.sv-single__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 16px;
}
.sv-single__tag {
  display: inline-block;
  background: var(--sv-white);
  border: 1px solid var(--sv-border);
  color: var(--sv-red);
  font-family: 'Roboto', var(--sv-font-sans);
  font-size: 11px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 0;
  transition: background 0.2s, color 0.2s;
}
.sv-single__tag:hover { background: var(--sv-red); color: var(--sv-white); border-color: var(--sv-red); }

/* ════════════════════════════════════════
   ANUNCIO IN-ARTICLE
   ════════════════════════════════════════ */
.sv-ad-inarticle {
  padding: 20px 0;
  text-align: center;
  background: var(--sv-gray-light);
  border-top: 1px solid var(--sv-border);
  border-bottom: 1px solid var(--sv-border);
  margin: 24px 0;
}

/* ════════════════════════════════════════
   FOOTER — LOGO
   ════════════════════════════════════════ */
.sv-footer__logo img {
  max-width: 200px;
  height: auto;
  object-fit: contain;
  width: auto;
}

/* ════════════════════════════════════════
   BOTÓN SUBIR AL INICIO
   ════════════════════════════════════════ */
#sv-back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: var(--sv-red);
  color: var(--sv-white);
  border: none;
  border-radius: 0;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
#sv-back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}
#sv-back-to-top:hover { background: var(--sv-black); }

/* ════════════════════════════════════════
   RESPONSIVE — REFORMA + REELS
   ════════════════════════════════════════ */
@media (max-width: 991px) {
  .sv-reform-group.is-active { flex-direction: column; }
  .sv-reform-featured { flex: none; width: 100%; }
  .sv-reform-carousel .sv-carousel__btn--prev { left: 0; }
  .sv-reform-carousel .sv-carousel__btn--next { right: 0; }
  .sv-reels-item { flex: 0 0 calc(33.333% - 8px); }
}
@media (max-width: 767px) {
  .sv-reels-item { flex: 0 0 calc(50% - 6px); }
  .sv-cat-chips-wrap { margin: 0 -12px 12px; padding: 0 12px; }
  .sv-reels-section { margin: 0 -12px 0; padding: 16px 12px; }
}
