/* ==========================================================================
   Vox-Populi_news_v.3 — main.css
   ========================================================================== */
:root {
	/* v3: colores tomados del logo (índigo #231b4d y rojo #e11d26) */
	--vp-accent: #e11d26;
	--vp-accent-dark: #b8121b;
	--vp-navy: #231b4d;
	--vp-ink: #16142b;
	--vp-ink-2: #3d3b52;
	--vp-muted: #67657a;
	--vp-line: #e6e5ee;
	--vp-bg: #ffffff;
	--vp-soft: #f4f4f8;
	--vp-title: var(--vp-navy);
	--vp-ph1: #e9e8f0;
	--vp-ph2: #dcdbe6;
	--vp-dash: #cfcde0;
	--vp-surface: #ffffff;
	--vp-radius: 4px;
	--vp-gap: 24px;
	--vp-max: 1240px;
	--vp-font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--vp-font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	--vp-shadow: 0 1px 2px rgba(15, 27, 61, .06), 0 6px 20px rgba(15, 27, 61, .06);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--vp-bg);
	color: var(--vp-ink);
	font: 400 16px/1.6 var(--vp-font-body);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--vp-accent); }
:focus-visible { outline: 3px solid var(--vp-accent); outline-offset: 2px; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--vp-font-head); line-height: 1.15; margin: 0; letter-spacing: -.01em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.vp-skip { position: absolute; left: -999px; top: 0; z-index: 999; background: var(--vp-accent); color: #fff; padding: 10px 16px; }
.vp-skip:focus { left: 8px; color: #fff; }
.vp-icon { display: block; }

.vp-container { width: 100%; max-width: var(--vp-max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .vp-container { padding: 0 24px; } }

/* ---------- Top bar ---------- */
.vp-topbar { background: var(--vp-navy); color: rgba(255,255,255,.85); font-size: 12.5px; }
.vp-topbar__inner { display: flex; align-items: center; gap: 20px; min-height: 36px; }
.vp-topbar__date { font-weight: 600; }
.vp-topbar__menu { list-style: none; margin: 0 0 0 auto; padding: 0; display: flex; gap: 18px; }
.vp-topbar__menu a:hover { color: #fff; }
.vp-social { display: flex; gap: 6px; align-items: center; }
.vp-social a { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: inherit; transition: background .2s, color .2s; }
.vp-social a:hover { background: var(--vp-accent); color: #fff; }
.vp-topbar__social { margin-left: 8px; }
@media (max-width: 767px) { .vp-topbar__menu, .vp-topbar__social { display: none; } .vp-topbar__inner { justify-content: center; } }

/* ---------- Masthead ---------- */
.vp-masthead { background: var(--vp-surface); border-bottom: 1px solid var(--vp-line); }
.vp-masthead__inner { display: flex; align-items: center; gap: 24px; min-height: 110px; }
@media (min-width: 1024px) { .vp-logo .custom-logo { max-width: 270px; } }
.vp-logo img { max-height: 57px; width: auto; }
.vp-logo__text { font: 900 26px/1 var(--vp-font-head); letter-spacing: -.03em; color: var(--vp-accent); text-transform: uppercase; }
.vp-logo__text--light { color: #fff; }
.vp-masthead__ad { margin-left: auto; }
.vp-masthead__ad .vp-ad { margin: 0; }
.vp-burger, .vp-search-toggle {
	display: none; width: 42px; height: 42px; border: 0; border-radius: 50%;
	background: transparent; color: var(--vp-ink); place-items: center;
}
.vp-burger:hover, .vp-search-toggle:hover { background: var(--vp-bg); }
@media (max-width: 1023px) {
	.vp-masthead__inner { min-height: 68px; justify-content: space-between; gap: 8px; }
	.vp-masthead__ad { display: none; }
	.vp-burger, .vp-search-toggle { display: grid; }
	.vp-logo { flex: 1; display: flex; justify-content: center; }
	.vp-logo img { max-height: 33px; }
	.vp-logo__text { font-size: 20px; }
}

/* ---------- Nav ---------- */
.vp-nav { background: var(--vp-accent); color: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.admin-bar .vp-nav { top: 32px; }
.vp-nav__inner { display: flex; align-items: center; }
.vp-nav__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; flex: 1; }
.vp-nav__menu::-webkit-scrollbar { display: none; }
.vp-nav__menu > li { position: relative; }
.vp-nav__menu > li > a {
	display: block; padding: 0 16px; line-height: 48px; white-space: nowrap;
	font: 700 14px/48px var(--vp-font-head); text-transform: uppercase; letter-spacing: .04em; color: #fff;
}
.vp-nav__menu > li > a:hover,
.vp-nav__menu > .current-menu-item > a,
.vp-nav__menu > .current-category-ancestor > a,
.vp-nav__menu > .current-post-ancestor > a,
.vp-nav__menu > .current-cat > a { background: var(--vp-accent-dark); color: #fff; }
.vp-nav__menu .sub-menu {
	display: none; position: absolute; left: 0; top: 100%; min-width: 220px; list-style: none; margin: 0; padding: 8px 0;
	background: var(--vp-surface); box-shadow: var(--vp-shadow); border-top: 3px solid var(--vp-title);
}
.vp-nav__menu li:hover > .sub-menu, .vp-nav__menu li:focus-within > .sub-menu { display: block; }
.vp-nav__menu .sub-menu a { display: block; padding: 8px 16px; color: var(--vp-ink); font-weight: 600; font-size: 14px; }
.vp-search-toggle--nav { display: grid; color: #fff; }
.vp-search-toggle--nav:hover { background: var(--vp-accent-dark); }
@media (max-width: 1023px) { .vp-search-toggle--nav { display: none; } .vp-nav__menu > li > a { padding: 0 12px; font-size: 13px; } }
.vp-search { background: var(--vp-navy); padding: 16px 0; }

/* Search form */
.vp-searchform { display: flex; max-width: 640px; margin: 0 auto; background: var(--vp-surface); border-radius: 999px; overflow: hidden; border: 1px solid var(--vp-line); }
.vp-searchform input { flex: 1; border: 0; padding: 12px 20px; font: inherit; background: transparent; min-width: 0; }
.vp-searchform input:focus { outline: none; }
.vp-searchform button { border: 0; background: var(--vp-accent); color: #fff; width: 52px; display: grid; place-items: center; }

/* ---------- Ticker ---------- */
.vp-ticker { background: var(--vp-surface); border-bottom: 1px solid var(--vp-line); font-size: 14px; }
.vp-ticker__inner { display: flex; align-items: center; gap: 16px; height: 44px; overflow: hidden; }
.vp-ticker__label {
	flex: none; display: inline-flex; align-items: center; gap: 8px; background: var(--vp-navy); color: #fff;
	font: 800 12px/1 var(--vp-font-head); text-transform: uppercase; letter-spacing: .06em; padding: 8px 12px; border-radius: 3px;
}
.vp-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff3b4e; box-shadow: 0 0 0 0 rgba(255,59,78,.7); animation: vp-pulse 1.6s infinite; }
@keyframes vp-pulse { 70% { box-shadow: 0 0 0 8px rgba(255,59,78,0); } 100% { box-shadow: 0 0 0 0 rgba(255,59,78,0); } }
.vp-ticker__track { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 3%, #000 95%, transparent); }
.vp-ticker__list { display: flex; gap: 48px; list-style: none; margin: 0; padding: 0; width: max-content; animation: vp-marquee 60s linear infinite; }
.vp-ticker__list li { white-space: nowrap; font-weight: 600; }
.vp-ticker__list li::before { content: "■"; color: var(--vp-accent); font-size: 8px; margin-right: 10px; vertical-align: middle; }
.vp-ticker:hover .vp-ticker__list { animation-play-state: paused; }
@keyframes vp-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .vp-ticker__list { animation: none; } .vp-live-dot { animation: none; } }

/* ---------- Drawer (móvil) ---------- */
.vp-drawer { position: fixed; inset: 0; z-index: 100; background: rgba(10,14,25,.55); }
.vp-drawer__panel { position: absolute; inset: 0 auto 0 0; width: min(340px, 88vw); background: var(--vp-surface); padding: 56px 20px 24px; overflow-y: auto; }
.vp-drawer__close { position: absolute; right: 12px; top: 12px; border: 0; background: none; width: 40px; height: 40px; display: grid; place-items: center; }
.vp-drawer__menu { list-style: none; margin: 20px 0; padding: 0; }
.vp-drawer__menu a { display: block; padding: 12px 0; border-bottom: 1px solid var(--vp-line); font: 700 17px var(--vp-font-head); }
.vp-drawer__menu .sub-menu { list-style: none; padding-left: 14px; }
.vp-drawer__menu .sub-menu a { font-size: 15px; font-weight: 600; }
.vp-drawer__menu--small a { font: 600 14px var(--vp-font-body); color: var(--vp-muted); }
body.vp-lock { overflow: hidden; }

/* ---------- Componentes ---------- */
.vp-badge {
	display: inline-block; font: 800 11px/1 var(--vp-font-head); text-transform: uppercase; letter-spacing: .08em;
	color: var(--vp-accent); margin-bottom: 8px;
}
.vp-badge--lg { font-size: 13px; background: var(--vp-accent); color: #fff; padding: 6px 10px; border-radius: 3px; }
.vp-badge--lg:hover { color: #fff; background: var(--vp-navy); }
.vp-meta { font-size: 12.5px; color: var(--vp-muted); display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.vp-time { font-size: 12.5px; color: var(--vp-muted); font-weight: 600; }

.vp-section-title {
	display: flex; align-items: center; gap: 12px; font: 900 22px/1 var(--vp-font-head);
	text-transform: uppercase; letter-spacing: -.01em; margin: 0 0 18px;
}
.vp-section-title span { position: relative; padding-left: 14px; }
.vp-section-title span::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--vp-accent); border-radius: 2px; }
.vp-section-title::after { content: ""; flex: 1; height: 1px; background: var(--vp-line); }
.vp-section-title--sm { font-size: 17px; }

/* Imagen */
.vp-post__media { display: block; position: relative; overflow: hidden; border-radius: var(--vp-radius); background: var(--vp-ph1); aspect-ratio: 16 / 9; }
.vp-post__media .vp-img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.vp-img--placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--vp-ph1), var(--vp-ph2)); }
.vp-post:hover .vp-img { transform: scale(1.04); }
.vp-post__title { font-weight: 800; font-size: 18px; line-height: 1.22; }
.vp-post__title a { background-image: linear-gradient(currentColor, currentColor); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .3s; }
.vp-post:hover .vp-post__title a { background-size: 100% 2px; color: var(--vp-ink); }
.vp-post__excerpt { color: var(--vp-ink-2); margin: 10px 0 0; font-size: 15.5px; }

/* card */
.vp-post--card .vp-post__body { padding-top: 12px; }

/* lead (hero) */
.vp-post--lead .vp-post__media { aspect-ratio: 16 / 10; border-radius: 8px; }
.vp-post--lead .vp-post__body { padding-top: 16px; }
.vp-post--lead .vp-post__title { font-size: clamp(26px, 3.4vw, 40px); font-weight: 900; line-height: 1.08; letter-spacing: -.02em; }
.vp-post--lead .vp-post__excerpt { font-size: 17px; }

/* overlay */
/* Foto y texto en la misma celda: la foto siempre cubre todo el alto de la tarjeta
   y el texto nunca queda fuera de ella, aunque la columna vecina sea más alta. */
.vp-post--overlay { position: relative; border-radius: 8px; overflow: hidden; display: grid; background: var(--vp-navy); }
.vp-post--overlay > .vp-post__media, .vp-post--overlay > .vp-post__body { grid-area: 1 / 1; }
.vp-post--overlay .vp-post__media { aspect-ratio: 16 / 10; border-radius: 8px; height: 100%; }
.vp-post--overlay .vp-post__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,10,25,0) 30%, rgba(5,10,25,.55) 55%, rgba(5,10,25,.94) 100%); }
.vp-post--overlay .vp-post__body { position: relative; z-index: 1; align-self: end; padding: 22px; color: #fff; pointer-events: none; }
.vp-post--overlay .vp-post__body a { pointer-events: auto; }
.vp-post--overlay .vp-post__title a { color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.45); }
.vp-post--overlay .vp-badge { background: var(--vp-accent); color: #fff; padding: 5px 8px; border-radius: 3px; }
.vp-post--overlay .vp-post__title { font-size: clamp(20px, 2.4vw, 28px); font-weight: 900; }
.vp-post--overlay:hover .vp-post__title a { color: #fff; }
.vp-post--overlay .vp-time, .vp-post--overlay .vp-meta { color: rgba(255,255,255,.8); }

/* row */
.vp-post--row { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: start; }
.vp-post--row .vp-post__media { aspect-ratio: 4 / 3; }
.vp-post--row .vp-post__title { font-size: 16px; }

/* mini */
.vp-post--mini { display: grid; grid-template-columns: 1fr 104px; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--vp-line); }
.vp-post--mini:first-child { padding-top: 0; }
.vp-post--mini:last-child { border-bottom: 0; }
.vp-post--mini .vp-post__media { order: 2; aspect-ratio: 4 / 3; }
.vp-post--mini .vp-post__title { font-size: 16px; }
.vp-post--mini .vp-meta { margin-top: 6px; }

/* list (más leído) */
.vp-post--list { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--vp-line); }
.vp-post--list:last-child { border-bottom: 0; }
.vp-post--list .vp-badge { display: none; }
.vp-post--list .vp-post__title { font-size: 15.5px; }
.vp-num { font: 900 38px/1 var(--vp-font-head); color: transparent; -webkit-text-stroke: 1.5px var(--vp-accent); }

/* Timeline */
.vp-timeline { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid var(--vp-line); }
.vp-timeline li { position: relative; padding: 0 0 16px 14px; }
.vp-timeline li::before { content: ""; position: absolute; left: -21px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--vp-surface); border: 3px solid var(--vp-accent); }
.vp-timeline .vp-time { display: block; color: var(--vp-accent); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.vp-timeline a { font: 700 15.5px/1.3 var(--vp-font-head); display: block; margin-top: 3px; }

/* ---------- Home: hero ---------- */
.vp-hero { display: grid; gap: var(--vp-gap); padding: 28px 0; grid-template-columns: 1fr; }
.vp-hero__secondary { display: grid; gap: var(--vp-gap); grid-template-columns: 1fr 1fr; align-content: start; }
.vp-hero__latest { background: var(--vp-surface); padding: 20px; border-radius: 8px; box-shadow: var(--vp-shadow); align-self: start; }
@media (min-width: 768px) {
	.vp-hero { grid-template-columns: 1.7fr 1fr; }
	.vp-hero__secondary { grid-template-columns: 1fr; }
	.vp-hero__latest { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
	.vp-hero { grid-template-columns: 1.9fr 1fr 1fr; }
	.vp-hero__latest { grid-column: auto; max-height: 640px; overflow: auto; }
}
@media (max-width: 520px) { .vp-hero__secondary { grid-template-columns: 1fr; } }

.vp-row4 { display: grid; gap: 20px var(--vp-gap); grid-template-columns: 1fr; padding: 20px 0 28px; border-top: 1px solid var(--vp-line); border-bottom: 1px solid var(--vp-line); margin-bottom: 28px; }
@media (min-width: 640px) { .vp-row4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .vp-row4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Slider de la nota principal ---------- */
.vp-slider { --vp-autoplay: 7000ms; }
.vp-slider__track { display: grid; position: relative; border-radius: 8px; overflow: hidden; background: var(--vp-navy); touch-action: pan-y; }
.vp-slider__slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s .6s; }
.vp-slider__slide.is-active { opacity: 1; visibility: visible; transition: opacity .6s ease; z-index: 1; }
.vp-slider .vp-post--overlay { border-radius: 0; }
.vp-slider .vp-post--overlay .vp-post__media { aspect-ratio: 16 / 10; border-radius: 0; }
@media (min-width: 1100px) { .vp-slider .vp-post--overlay .vp-post__media { aspect-ratio: 4 / 3.4; } }
.vp-slider .vp-post--overlay .vp-post__media::after { background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(5,10,25,.92) 100%); }
.vp-slider .vp-post--overlay .vp-post__body { padding: 28px 32px 30px; }
.vp-slider .vp-post--overlay .vp-post__title { font-size: clamp(22px, 3vw, 38px); line-height: 1.08; letter-spacing: -.02em; max-width: 24ch; }
.vp-slider .vp-post__excerpt { color: rgba(255,255,255,.85); font-size: 16px; max-width: 60ch; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vp-slider .vp-post:hover .vp-img { transform: scale(1.02); }
.vp-slider.is-ready .vp-slider__slide.is-active .vp-img { animation: vp-kenburns calc(var(--vp-autoplay) + 1s) ease-out both; }
@keyframes vp-kenburns { from { transform: scale(1.06); } to { transform: scale(1); } }
.vp-slider__arrow {
	position: absolute; top: 40%; z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 50%;
	background: rgba(255,255,255,.92); color: var(--vp-ink); font: 700 28px/1 var(--vp-font-head); display: grid; place-items: center;
	opacity: 0; transition: opacity .2s, background .2s; box-shadow: 0 2px 10px rgba(0,0,0,.2);
}
.vp-slider__arrow--prev { left: 14px; }
.vp-slider__arrow--next { right: 14px; }
.vp-slider__track:hover .vp-slider__arrow, .vp-slider__arrow:focus-visible { opacity: 1; }
.vp-slider__arrow:hover { background: var(--vp-accent); color: #fff; }
.vp-slider__tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 14px; margin-top: 14px; }
.vp-slider__tab { border: 0; background: none; padding: 0; text-align: left; color: var(--vp-muted); }
.vp-slider__bar { display: block; height: 3px; background: var(--vp-line); border-radius: 2px; overflow: hidden; margin-bottom: 8px; }
.vp-slider__bar i { display: block; height: 100%; width: 0; background: var(--vp-accent); }
.vp-slider__tab.is-active { color: var(--vp-ink); }
.vp-slider__tab.is-active .vp-slider__bar i { width: 100%; }
.vp-slider.is-playing .vp-slider__tab.is-active .vp-slider__bar i { animation: vp-progress var(--vp-autoplay) linear both; }
.vp-slider.is-paused .vp-slider__tab.is-active .vp-slider__bar i { animation-play-state: paused; }
@keyframes vp-progress { from { width: 0; } to { width: 100%; } }
.vp-slider__tabtitle { font: 700 13px/1.3 var(--vp-font-head); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vp-slider__tab:hover { color: var(--vp-accent); }
@media (max-width: 767px) {
	.vp-slider .vp-post--overlay .vp-post__media { aspect-ratio: 4 / 5; }
	.vp-slider .vp-post--overlay .vp-post__body { padding: 20px; }
	.vp-slider .vp-post__excerpt, .vp-slider__tabtitle, .vp-slider__arrow { display: none; }
	.vp-slider__tabs { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) { .vp-slider__slide { transition: none; } .vp-slider .vp-img { animation: none !important; } }

/* ---------- Layout main + sidebar ---------- */
.vp-with-sidebar { display: grid; gap: 40px; grid-template-columns: 1fr; padding-top: 12px; padding-bottom: 40px; }
@media (min-width: 1024px) { .vp-with-sidebar { grid-template-columns: minmax(0, 1fr) 320px; } }
.vp-main { min-width: 0; }
.vp-sidebar { display: flex; flex-direction: column; gap: 32px; min-width: 0; }
.vp-sidebar .widget { background: var(--vp-surface); padding: 20px; border-radius: 8px; box-shadow: var(--vp-shadow); }
.vp-sidebar .widget ul { list-style: none; margin: 0; padding: 0; }
.vp-sidebar .widget li { padding: 8px 0; border-bottom: 1px solid var(--vp-line); }
.vp-sticky { position: sticky; top: 72px; }

/* Widgets de la barra lateral: banners con imagen, X/Twitter, clima, HTML */
.vp-sidebar .widget img { max-width: 100%; height: auto; }
.vp-sidebar .wp-block-image { margin: 0; }
.vp-sidebar .wp-block-image + .wp-block-image { margin-top: 12px; }
.vp-sidebar .wp-block-image img { width: 100%; border-radius: 6px; transition: opacity .2s; }
.vp-sidebar .wp-block-image a:hover img { opacity: .88; }
/* Un widget que sólo contiene imágenes (banners) se muestra sin tarjeta blanca */
.vp-sidebar .widget:has(> .wp-block-image:only-child),
.vp-sidebar .widget:has(> .wp-block-group > .wp-block-image),
.vp-sidebar .widget_media_image { background: none; box-shadow: none; padding: 0; }
.vp-sidebar .widget iframe { max-width: 100%; }
.vp-sidebar .twitter-timeline { display: block; }
.vp-banners { display: grid; gap: 12px; }
.vp-banners a { display: block; border-radius: 6px; overflow: hidden; }

/* ---------- Franja de indicadores (clima / bolsa) ---------- */
.vp-indicators { background: var(--vp-surface); border-bottom: 1px solid var(--vp-line); }
.vp-indicators__inner { display: flex; align-items: center; gap: 16px; min-height: 46px; }
.vp-indicators__item { min-width: 0; }
.vp-indicators__item:first-child { flex: 1; }
.vp-indicators__item + .vp-indicators__item { border-left: 1px solid var(--vp-line); padding-left: 16px; }
.vp-indicators .tradingview-widget-container { width: 100%; }
@media (max-width: 767px) { .vp-indicators__item + .vp-indicators__item { display: none; } }

/* ---------- Secciones ---------- */
.vp-section { margin-bottom: 44px; }
/* Secciones de contenido sobre tarjeta blanca para mejor contraste y lectura */
.vp-section--lead, .vp-section--grid, .vp-section--split, .vp-section--more {
	background: var(--vp-surface); border-radius: 10px; padding: 24px; box-shadow: var(--vp-shadow);
}
.vp-more { display: grid; gap: 20px var(--vp-gap); grid-template-columns: 1fr; }
@media (min-width: 640px) { .vp-more { grid-template-columns: 1fr 1fr; } }
.vp-more .vp-post--row { padding-bottom: 20px; border-bottom: 1px solid var(--vp-line); }
.vp-section--more .vp-post__title a { color: var(--vp-ink); }
.vp-section--more .vp-post__title a:hover { color: var(--vp-accent); }
@media (max-width: 767px) { .vp-section--lead, .vp-section--grid, .vp-section--split { padding: 16px; margin-left: -4px; margin-right: -4px; } }
.vp-section--lead .vp-section-title::after, .vp-section--grid .vp-section-title::after, .vp-section--split .vp-section-title::after { background: var(--vp-line); }
.vp-section--lead .vp-post--mini, .vp-section--split .vp-post--mini { border-bottom-color: var(--vp-line); }
.vp-section--lead .vp-post--mini .vp-post__title a, .vp-section--grid .vp-post__title a, .vp-section--split .vp-post__title a { color: var(--vp-ink); }
.vp-section--lead .vp-post--mini .vp-post__title a:hover, .vp-section--grid .vp-post__title a:hover, .vp-section--split .vp-post__title a:hover { color: var(--vp-accent); }
.vp-section--lead .vp-post:not(.vp-post--overlay) .vp-time, .vp-section--grid .vp-time, .vp-section--split .vp-time { color: var(--vp-muted); }
.vp-section__head { display: flex; align-items: center; gap: 16px; }
.vp-section__head .vp-section-title { flex: 1; }
.vp-section__more { flex: none; font: 700 13px var(--vp-font-head); text-transform: uppercase; letter-spacing: .04em; color: var(--vp-accent); margin-bottom: 18px; }

.vp-layout-lead { display: grid; gap: var(--vp-gap); }
@media (min-width: 768px) { .vp-layout-lead { grid-template-columns: 1.25fr 1fr; } }

.vp-grid4 { display: grid; gap: var(--vp-gap); grid-template-columns: 1fr; }
@media (min-width: 560px) { .vp-grid4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .vp-grid4 { grid-template-columns: repeat(4, 1fr); } .vp-main .vp-grid4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1240px) { .vp-main .vp-grid4:not(.vp-grid4--compact) { grid-template-columns: repeat(2, 1fr); } }
.vp-grid4 .vp-post__title { font-size: 17px; }

.vp-split { display: grid; gap: 0 var(--vp-gap); }
@media (min-width: 768px) { .vp-split { grid-template-columns: 1fr 1fr; } .vp-split .vp-post--mini:nth-child(-n+2) { padding-top: 0; } .vp-split .vp-post--mini:nth-last-child(-n+2) { border-bottom: 0; } }

/* Banda oscura */
.vp-section--dark { background: var(--vp-navy); color: #fff; padding: 40px 0 44px; margin: 0 0 40px; }
.vp-section--dark .vp-section-title::after { background: rgba(255,255,255,.18); }
.vp-section--dark .vp-section__more, .vp-section--dark .vp-badge { color: #ff6b7d; }
.vp-section--dark .vp-time { color: rgba(255,255,255,.65); }
.vp-section--dark .vp-post:hover .vp-post__title a { color: #fff; }
.vp-section--dark .vp-grid4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.vp-section--dark .vp-post__media { aspect-ratio: 4 / 5; }

/* Opinión */
.vp-opinion { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .vp-opinion { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 420px) { .vp-opinion { grid-template-columns: 1fr; } }
.vp-opinion__item { padding: 20px 14px; }
.vp-opinion__item { background: var(--vp-surface); border-radius: 8px; padding: 22px 20px; box-shadow: var(--vp-shadow); border-top: 4px solid var(--vp-title); text-align: center; }
.vp-opinion__avatar img { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 10px; object-fit: cover; border: 3px solid var(--vp-bg); }
.vp-opinion__author { display: block; font: 800 12px var(--vp-font-head); text-transform: uppercase; letter-spacing: .06em; color: var(--vp-accent); margin-bottom: 8px; }
.vp-opinion .vp-post__title { font-size: 17px; font-style: italic; font-weight: 700; }

/* ---------- Ads ---------- */
.vp-ad { margin: 24px auto; text-align: center; }
.vp-ad__label { display: block; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--vp-muted); margin-bottom: 4px; }
.vp-ad__slot { min-height: var(--ad-h, 0); display: flex; align-items: center; justify-content: center; overflow: hidden; }
@media (max-width: 767px) { .vp-ad__slot { min-height: var(--ad-hm, 0); } }
.vp-ad__ph {
	width: 100%; height: 100%; min-height: inherit; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
	background: repeating-linear-gradient(45deg, var(--vp-ph1), var(--vp-ph1) 10px, var(--vp-soft) 10px, var(--vp-soft) 20px);
	border: 1px dashed var(--vp-dash); color: var(--vp-muted); font: 700 13px var(--vp-font-head); border-radius: 4px; padding: 12px;
}
.vp-ad__ph small { font-weight: 600; opacity: .8; }
.vp-ad--header .vp-ad__slot { width: 728px; max-width: 100%; }
.vp-ad--home_billboard .vp-ad__slot { max-width: 970px; margin: 0 auto; }
.vp-ad--sidebar_top .vp-ad__slot, .vp-ad--sidebar_sticky .vp-ad__slot { width: 300px; margin: 0 auto; }
.vp-ad--sidebar_top, .vp-ad--sidebar_sticky { margin: 0; }
.vp-ad--article_inline, .vp-ad--article_inline2 { margin: 32px 0; padding: 12px 0; border-top: 1px solid var(--vp-line); border-bottom: 1px solid var(--vp-line); }
.vp-mobile-anchor { display: none; }
@media (max-width: 767px) {
	.vp-mobile-anchor { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--vp-surface); box-shadow: 0 -4px 14px rgba(0,0,0,.12); padding: 4px 0; }
	.vp-mobile-anchor .vp-ad { margin: 0; }
	.vp-mobile-anchor .vp-ad__label { display: none; }
	.vp-mobile-anchor__close { position: absolute; top: -26px; right: 8px; width: 26px; height: 26px; border: 0; border-radius: 4px 4px 0 0; background: var(--vp-surface); color: var(--vp-ink); box-shadow: 0 -2px 6px rgba(0,0,0,.1); }
	body.has-anchor { padding-bottom: 60px; }
}

/* ---------- Artículo ---------- */
.vp-single { padding-top: 8px; }
.vp-breadcrumbs ol { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--vp-muted); }
.vp-breadcrumbs li + li::before { content: "›"; margin-right: 6px; }
.vp-breadcrumbs li[aria-current] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 40ch; }
.vp-article__head { margin-bottom: 24px; }
.vp-article__title { font-size: clamp(28px, 4.2vw, 46px); font-weight: 900; line-height: 1.07; letter-spacing: -.025em; margin: 14px 0 14px; }
.vp-article__dek { font-size: 20px; line-height: 1.45; color: var(--vp-ink-2); margin: 0 0 20px; font-weight: 500; }
.vp-article__byline { display: flex; gap: 12px; align-items: center; padding: 16px 0; border-top: 1px solid var(--vp-line); border-bottom: 1px solid var(--vp-line); }
.vp-article__byline img { border-radius: 50%; }
.vp-article__byline .vp-meta { margin-top: 2px; }
.vp-article__author { font: 800 15px var(--vp-font-head); }
.vp-article__figure { margin: 0 0 28px; }
.vp-article__figure img { width: 100%; border-radius: 8px; }
.vp-article__figure figcaption { font-size: 13px; color: var(--vp-muted); padding: 8px 2px 0; border-bottom: 1px solid var(--vp-line); padding-bottom: 10px; }
.vp-article__content { font-size: 18.5px; line-height: 1.75; color: var(--vp-ink); max-width: 720px; }
.vp-article__content > * { margin: 0 0 1.2em; }
.vp-article__content h2 { font-size: 27px; margin-top: 1.6em; }
.vp-article__content h3 { font-size: 22px; margin-top: 1.4em; }
.vp-article__content a { color: var(--vp-accent); text-decoration: underline; text-underline-offset: 3px; }
.vp-article__content blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--vp-accent); font: 700 22px/1.4 var(--vp-font-head); color: var(--vp-title); }
.vp-article__content figure, .vp-article__content img { border-radius: 6px; }
.vp-article__content iframe { max-width: 100%; }
.vp-article__content > p:first-of-type::first-letter { float: left; font: 900 64px/.9 var(--vp-font-head); color: var(--vp-accent); padding: 6px 10px 0 0; }
.vp-readalso { margin: 28px 0; padding: 16px 20px; background: var(--vp-surface); border-left: 4px solid var(--vp-title); border-radius: 0 6px 6px 0; box-shadow: var(--vp-shadow); }
.vp-readalso span { display: block; font: 800 11px var(--vp-font-head); text-transform: uppercase; letter-spacing: .1em; color: var(--vp-accent); margin-bottom: 4px; }
.vp-readalso a { font: 800 18px/1.3 var(--vp-font-head); text-decoration: none !important; color: var(--vp-ink) !important; }

.vp-share { display: flex; align-items: center; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.vp-share__label { font: 800 12px var(--vp-font-head); text-transform: uppercase; letter-spacing: .06em; color: var(--vp-muted); margin-right: 4px; }
.vp-share__btn { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 0; transition: transform .15s; }
.vp-share__btn:hover { color: #fff; transform: translateY(-2px); }
.vp-share__btn--facebook { background: #1877f2; }
.vp-share__btn--x { background: #000; }
.vp-share__btn--whatsapp { background: #25d366; }
.vp-share__btn--telegram { background: #229ed9; }
.vp-share__btn--copy { background: var(--vp-navy); }
.vp-share__btn--copy.is-copied { background: #1a8f4c; }

.vp-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0 16px; }
.vp-tags span { font-weight: 800; font-size: 13px; }
.vp-tags a { font-size: 13px; padding: 5px 12px; background: var(--vp-surface); border: 1px solid var(--vp-line); border-radius: 999px; font-weight: 600; }
.vp-tags a:hover { border-color: var(--vp-accent); }
.vp-authorbox { display: flex; gap: 16px; margin: 28px 0; padding: 20px; background: var(--vp-surface); border-radius: 8px; box-shadow: var(--vp-shadow); }
.vp-authorbox img { border-radius: 50%; flex: none; }
.vp-authorbox p { margin: 6px 0 0; font-size: 15px; color: var(--vp-ink-2); }
.vp-related { margin-top: 40px; }
.vp-related .vp-grid4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* Comentarios */
.vp-comments { margin-top: 40px; }
.vp-comment-list { list-style: none; padding: 0; }
.vp-comment-list .comment-body { padding: 16px 0; border-bottom: 1px solid var(--vp-line); }
.vp-comments textarea, .vp-comments input[type=text], .vp-comments input[type=email], .vp-comments input[type=url] { width: 100%; padding: 10px 12px; border: 1px solid var(--vp-line); border-radius: 6px; font: inherit; }
.vp-comments .submit { background: var(--vp-accent); color: #fff; border: 0; padding: 12px 24px; border-radius: 6px; font-weight: 700; }

/* ---------- Archivo ---------- */
.vp-archive-head { background: var(--vp-surface); border-bottom: 1px solid var(--vp-line); padding: 28px 0; margin-bottom: 28px; }
.vp-archive-title { font-size: clamp(30px, 4.5vw, 52px); font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; }
.vp-archive-title span { color: var(--vp-accent); }
.vp-archive-desc { color: var(--vp-ink-2); max-width: 720px; margin-top: 10px; }
.vp-archive-search { margin-top: 16px; }
.vp-archive-search .vp-searchform { margin: 0; }
.vp-archive-lead { margin-bottom: 28px; }
.vp-archive-list { display: grid; gap: 24px; }
.vp-archive-list .vp-post--row { grid-template-columns: 1fr; padding-bottom: 24px; border-bottom: 1px solid var(--vp-line); }
@media (min-width: 640px) { .vp-archive-list .vp-post--row { grid-template-columns: 260px 1fr; gap: 22px; } .vp-archive-list .vp-post--row .vp-post__media { aspect-ratio: 16 / 10; } }
.vp-archive-list .vp-post__title { font-size: 21px; }
.vp-pagination { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin: 36px 0 0; }
.vp-pagination .page-numbers { min-width: 42px; height: 42px; padding: 0 12px; display: grid; place-items: center; border-radius: 6px; background: var(--vp-surface); border: 1px solid var(--vp-line); font-weight: 700; }
.vp-pagination .current { background: var(--vp-accent); border-color: var(--vp-accent); color: #fff; }
.vp-page { padding: 28px 16px 48px; }
.vp-404 { text-align: center; padding: 60px 16px; }
.vp-404__code { font: 900 120px/1 var(--vp-font-head); color: var(--vp-accent); margin: 0; }
.vp-404 .vp-searchform { margin: 24px auto 48px; }
.vp-404 .vp-grid4 { text-align: left; }

/* ---------- Footer ---------- */
.vp-footer { background: var(--vp-navy); color: rgba(255,255,255,.78); margin-top: 20px; font-size: 14.5px; }
.vp-footer__grid { display: grid; gap: 36px; padding-top: 52px; padding-bottom: 40px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .vp-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.vp-footer__logo { display: inline-block; }
.vp-footer__brand img { max-height: 44px; width: auto; }
.vp-footer__logo--auto img { filter: brightness(0) invert(1); }
.vp-footer__brand p { margin: 16px 0; max-width: 34ch; }
.vp-footer__title, .vp-footer .vp-section-title { color: #fff; font: 800 14px var(--vp-font-head); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 14px; }
.vp-footer .vp-section-title::after, .vp-footer .vp-section-title span::before { display: none; }
.vp-footer .vp-section-title span { padding: 0; }
.vp-footer ul { list-style: none; padding: 0; margin: 0; }
.vp-footer li { padding: 5px 0; }
.vp-footer a:hover { color: #fff; }
.vp-social--footer a { background: rgba(255,255,255,.08); width: 36px; height: 36px; }
.vp-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }
.vp-footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 18px; }
.vp-footer__menu { display: flex; gap: 18px; flex-wrap: wrap; }
.vp-footer__menu li { padding: 0; }

.vp-totop { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 44px; height: 44px; border-radius: 50%; background: var(--vp-accent); color: #fff; display: grid; place-items: center; font-weight: 900; opacity: 0; pointer-events: none; transition: opacity .2s; box-shadow: var(--vp-shadow); }
.vp-totop.is-visible { opacity: 1; pointer-events: auto; }
.vp-totop:hover { color: #fff; }
.has-anchor .vp-totop { bottom: 80px; }

/* Elementor: el contenido de páginas Elementor ocupa todo el ancho */
.elementor-page .vp-site-main { padding: 0; }
.vp-site-main .elementor-widget-shortcode .vp-hero { padding-top: 0; }
.elementor-widget-shortcode .vp-container { padding: 0; }
.elementor-widget-shortcode .vp-section--dark .vp-container { padding: 0 16px; }
.elementor-widget-shortcode .vp-section--dark { margin-bottom: 0; }

/* ==========================================================================
   v3 — Fondo blanco, colores del logo, secciones definidas, escena a todo lo ancho
   ========================================================================== */

/* ---------- Cabecera ---------- */
.vp-adbar { background: var(--vp-soft); border-bottom: 1px solid var(--vp-line); }
.vp-adbar .vp-ad { margin: 10px auto; }
.vp-adbar .vp-ad--header .vp-ad__slot { margin: 0 auto; }
@media (max-width: 767px) { .vp-adbar { display: none; } }

.vp-masthead { border-bottom: 1px solid var(--vp-line); }
.vp-masthead__inner { min-height: 84px; gap: 20px; }
.vp-burger {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: auto; height: 42px; padding: 0 16px 0 12px;
	border: 1px solid var(--vp-line); border-radius: 999px; color: var(--vp-title);
	font: 800 12px/1 var(--vp-font-head); text-transform: uppercase; letter-spacing: .07em;
}
.vp-burger:hover { background: var(--vp-soft); color: var(--vp-title); }
.vp-logo img { max-height: 52px; }
.vp-masthead__meta { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 12.5px; color: var(--vp-muted); }
.vp-masthead__date { font-weight: 700; color: var(--vp-title); }
.vp-masthead__menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; }
.vp-masthead__menu a:hover { color: var(--vp-accent); }
.vp-masthead__social { color: var(--vp-title); padding-left: 16px; border-left: 1px solid var(--vp-line); }
.vp-search-toggle { border: 1px solid var(--vp-line); color: var(--vp-title); }
.vp-search-toggle:hover { background: var(--vp-soft); }
@media (max-width: 1023px) {
	.vp-masthead__inner { min-height: 64px; }
	.vp-burger { width: 42px; padding: 0; border: 0; border-radius: 50%; }
	.vp-burger__label, .vp-masthead__meta, .vp-masthead__social { display: none; }
	.vp-logo img { max-height: 34px; }
	.vp-search-toggle { border: 0; }
}

/* Barra de secciones: blanca, texto índigo, subrayado rojo en la activa */
.vp-nav { background: var(--vp-surface); color: var(--vp-title); border-bottom: 1px solid var(--vp-line); box-shadow: 0 6px 14px -10px rgba(35, 27, 77, .25); }
.vp-nav__menu > li > a { position: relative; color: var(--vp-title); font-size: 13.5px; line-height: 50px; padding: 0 14px; }
.vp-nav__menu > li > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; background: var(--vp-accent); transform: scaleX(0); transition: transform .2s ease; }
.vp-nav__menu > li > a:hover,
.vp-nav__menu > .current-menu-item > a,
.vp-nav__menu > .current-category-ancestor > a,
.vp-nav__menu > .current-post-ancestor > a,
.vp-nav__menu > .current-cat > a { background: transparent; color: var(--vp-accent); }
.vp-nav__menu > li > a:hover::after,
.vp-nav__menu > .current-menu-item > a::after,
.vp-nav__menu > .current-category-ancestor > a::after,
.vp-nav__menu > .current-post-ancestor > a::after,
.vp-nav__menu > .current-cat > a::after { transform: scaleX(1); }
.vp-nav__menu .sub-menu { border-top-color: var(--vp-accent); }
.vp-search-toggle--nav { color: var(--vp-title); border: 0; }
.vp-search-toggle--nav:hover { background: var(--vp-soft); }
.vp-search { background: var(--vp-soft); border-top: 1px solid var(--vp-line); }
@media (max-width: 1023px) { .vp-nav__menu > li > a { padding: 0 12px; line-height: 46px; } .vp-nav__menu > li > a::after { left: 12px; right: 12px; } }

/* Cintillo */
.vp-ticker__label { background: var(--vp-accent); border-radius: 2px; }
.vp-ticker .vp-live-dot { background: #fff; }
.vp-ticker__list li { color: var(--vp-title); }
.vp-indicators { background: var(--vp-soft); }

/* ---------- Escena principal: slider a todo lo ancho ---------- */
.vp-stage { position: relative; }
.vp-stage .vp-slider__track { border-radius: 0; }
.vp-stage .vp-post--overlay,
.vp-stage .vp-slider .vp-post--overlay .vp-post__media { border-radius: 0; }
.vp-stage .vp-slider .vp-post--overlay .vp-post__media { aspect-ratio: auto; height: clamp(440px, 42vw, 640px); }
.vp-stage .vp-slider .vp-post--overlay .vp-post__media::after {
	background:
		linear-gradient(90deg, rgba(20, 15, 48, .86) 0, rgba(20, 15, 48, .5) 38%, rgba(20, 15, 48, 0) 68%),
		linear-gradient(0deg, rgba(14, 10, 36, .9) 0, rgba(14, 10, 36, 0) 58%);
}
/* El texto se alinea con el contenido de la página aunque la foto ocupe toda la pantalla */
.vp-stage .vp-slider .vp-post--overlay .vp-post__body { padding: 0 max(24px, calc((100% - var(--vp-max)) / 2 + 24px)) clamp(40px, 5vw, 68px); }
.vp-stage .vp-post__body > * { max-width: 780px; }
.vp-stage .vp-slider .vp-post--overlay .vp-post__title { font-size: clamp(30px, 3.7vw, 56px); line-height: 1.04; letter-spacing: -.025em; max-width: 21ch; }
.vp-stage .vp-slider .vp-post__excerpt { font-size: 18px; color: rgba(255, 255, 255, .9); margin-top: 14px; }
.vp-stage .vp-post--overlay .vp-badge { font-size: 12px; padding: 6px 10px; border-radius: 2px; margin-bottom: 14px; }
.vp-stage .vp-slider__arrow {
	top: 50%; transform: translateY(-50%); width: 52px; height: 52px; opacity: 1;
	background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .4); box-shadow: none;
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.vp-stage .vp-slider__arrow--prev { left: 18px; }
.vp-stage .vp-slider__arrow--next { right: 18px; }
.vp-stage .vp-slider__arrow:hover { background: var(--vp-accent); border-color: var(--vp-accent); }
@media (max-width: 1199px) { .vp-stage .vp-slider__arrow { top: 28px; transform: none; width: 44px; height: 44px; } .vp-stage .vp-slider__arrow--prev { left: auto; right: 72px; } }

/* Pestañas con miniatura bajo la escena */
.vp-stage .vp-slider__tabs { max-width: var(--vp-max); margin: 0 auto; padding: 18px 24px 0; gap: 22px; }
.vp-stage .vp-slider__tab { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 0 12px; align-items: start; }
.vp-stage .vp-slider__bar { grid-column: 1 / -1; margin-bottom: 12px; background: var(--vp-line); }
.vp-slider__thumb { display: block; aspect-ratio: 4 / 3; border-radius: 3px; overflow: hidden; background: var(--vp-soft); }
.vp-slider__thumb img { width: 100%; height: 100%; object-fit: cover; }
.vp-slider__thumb:empty { display: none; }
.vp-stage .vp-slider__tabtitle { font-size: 13.5px; color: var(--vp-ink-2); }
.vp-stage .vp-slider__tab.is-active .vp-slider__tabtitle { color: var(--vp-title); }
.vp-stage .vp-slider__tab:hover .vp-slider__tabtitle { color: var(--vp-accent); }
@media (max-width: 767px) {
	.vp-stage .vp-slider .vp-post--overlay .vp-post__media { height: auto; aspect-ratio: 4 / 5; }
	.vp-stage .vp-slider .vp-post--overlay .vp-post__media::after { background: linear-gradient(180deg, rgba(14, 10, 36, 0) 25%, rgba(14, 10, 36, .92) 100%); }
	.vp-stage .vp-slider .vp-post--overlay .vp-post__body { padding: 20px 16px 28px; }
	.vp-stage .vp-slider .vp-post--overlay .vp-post__title { font-size: 28px; }
	.vp-stage .vp-slider__tabs { padding: 12px 16px 0; gap: 6px; }
	.vp-stage .vp-slider__tab { display: block; }
	.vp-slider__thumb { display: none; }
}

/* ---------- Debajo de la escena: principales + Lo último ---------- */
.vp-top { display: grid; gap: 28px; padding: 32px 0 8px; grid-template-columns: 1fr; }
.vp-top__cards { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .vp-top__cards { grid-template-columns: repeat(3, 1fr); } }
.vp-top__cards .vp-post__title { font-size: 19px; }
/* 6 notas en escritorio (2 filas de 3) para acompañar a "Lo último"; en móvil y tableta se quedan 3 */
.vp-top__cards { align-content: start; }
@media (max-width: 1023px) { .vp-top__cards .vp-post:nth-child(n+4) { display: none; } }
/* Móvil: la primera nota grande y las demás compactas, para llegar antes a las secciones */
@media (max-width: 639px) {
	.vp-top__cards .vp-post--card:not(:first-child) { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; align-items: start; }
	.vp-top__cards .vp-post--card:not(:first-child) .vp-post__media { aspect-ratio: 4 / 3; }
	.vp-top__cards .vp-post--card:not(:first-child) .vp-post__body { padding-top: 0; }
	.vp-top__cards .vp-post--card:not(:first-child) .vp-post__title { font-size: 16px; }
}
.vp-top__latest { border-top: 1px solid var(--vp-line); padding-top: 22px; }
@media (min-width: 1024px) {
	.vp-top { grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; }
	.vp-top__latest { border-top: 0; padding-top: 0; padding-left: 28px; border-left: 1px solid var(--vp-line); }
}
.vp-row4 { margin-top: 20px; }

/* ---------- Secciones definidas ---------- */
.vp-section { margin-bottom: 60px; }
.vp-section--lead, .vp-section--grid, .vp-section--split, .vp-section--more { background: none; box-shadow: none; border-radius: 0; padding: 0; }
@media (max-width: 767px) { .vp-section--lead, .vp-section--grid, .vp-section--split { padding: 0; margin-left: 0; margin-right: 0; } }
/* Encabezado: título índigo, línea índigo de 2px y marca roja bajo el nombre */
.vp-section__head { position: relative; align-items: flex-end; margin-bottom: 24px; padding-bottom: 10px; border-bottom: 2px solid var(--vp-title); }
.vp-section__head .vp-section-title { margin: 0; font-size: 26px; color: var(--vp-title); }
.vp-section__head .vp-section-title::after { display: none; }
.vp-section__head .vp-section-title span { padding-left: 0; }
.vp-section__head .vp-section-title span::before { left: 0; right: 0; top: auto; bottom: -12px; width: auto; height: 4px; border-radius: 0; }
.vp-section__head .vp-section-title a:hover { color: var(--vp-accent); }
.vp-section__more {
	margin: 0 0 2px; padding: 7px 14px; font-size: 12px; color: var(--vp-title);
	border: 1px solid var(--vp-line); border-radius: 999px; transition: background .2s, color .2s, border-color .2s;
}
.vp-section__more:hover { background: var(--vp-accent); border-color: var(--vp-accent); color: #fff; }
.vp-section-title { color: var(--vp-title); }
@media (max-width: 767px) { .vp-section__head .vp-section-title { font-size: 22px; } .vp-section { margin-bottom: 44px; } }

/* Tarjetas */
.vp-post__media { border-radius: var(--vp-radius); }
.vp-post--overlay, .vp-post--overlay .vp-post__media, .vp-post--lead .vp-post__media { border-radius: var(--vp-radius); }
/* Hover: en fondo blanco el título pasa a rojo; sobre foto o banda índigo se queda blanco (nunca se pierde) */
.vp-post:not(.vp-post--overlay):hover .vp-post__title a { color: var(--vp-accent); }
.vp-post.vp-post--overlay:hover .vp-post__title a,
.vp-section--dark .vp-post.vp-post:hover .vp-post__title a,
.vp-stage .vp-post.vp-post--overlay:hover .vp-post__title a { color: #fff; }

/* Opinión sobre franja gris suave para diferenciarla */
.vp-section--opinion { background: var(--vp-soft); padding: 28px 24px 26px; border-radius: var(--vp-radius); }
.vp-opinion__item { box-shadow: none; border: 1px solid var(--vp-line); border-top: 4px solid var(--vp-accent); border-radius: var(--vp-radius); }
.vp-opinion__avatar img { border-color: var(--vp-soft); }
@media (max-width: 767px) { .vp-section--opinion { padding: 20px 16px; } }

/* Banda índigo (Deportes) */
.vp-section--dark { margin-bottom: 60px; }
.vp-section--dark .vp-section__head { border-bottom-color: rgba(255, 255, 255, .3); }
.vp-section--dark .vp-section-title, .vp-section--dark .vp-section-title a { color: #fff; }
.vp-section--dark .vp-section__more { color: #fff; border-color: rgba(255, 255, 255, .35); }
.vp-section--dark .vp-badge { color: #ff8a90; }
.vp-section--dark .vp-section__head .vp-section-title a:hover, .vp-section--dark .vp-badge:hover { color: #ffb3b7; }

/* ---------- Barra lateral ---------- */
.vp-sidebar .widget { box-shadow: none; border: 1px solid var(--vp-line); border-top: 3px solid var(--vp-title); border-radius: 0; }
.vp-sidebar .widget:has(> .wp-block-image:only-child),
.vp-sidebar .widget:has(> .wp-block-group > .wp-block-image),
.vp-sidebar .widget_media_image { border: 0; }
.vp-sidebar .vp-section-title { font-size: 17px; }

/* ---------- Interiores ---------- */
.vp-archive-head { background: var(--vp-soft); }
.vp-authorbox, .vp-readalso { box-shadow: none; border: 1px solid var(--vp-line); }
.vp-readalso { border-left: 4px solid var(--vp-title); }

/* ---------- Pie ---------- */
.vp-footer { margin-top: 40px; border-top: 4px solid var(--vp-accent); }

/* ==========================================================================
   v3.1 — Editor visual, páginas institucionales, pie configurable
   ========================================================================== */
.vp-logo + .vp-masthead__social, .vp-logo + .vp-search-toggle { margin-left: auto; }
.vp-admin-hint { padding: 12px 14px; border: 1px dashed var(--vp-dash); border-radius: 4px; background: var(--vp-soft); color: var(--vp-muted); font-size: 14px; }

/* Botones */
.vp-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; background: var(--vp-accent); color: #fff; font: 800 14px/1 var(--vp-font-head); text-transform: uppercase; letter-spacing: .04em; }
.vp-btn:hover { background: var(--vp-accent-dark); color: #fff; }
.vp-btn--light { background: #fff; color: #231b4d; }
.vp-btn--light:hover { background: #f4f4f8; color: #231b4d; }

/* Encabezado de páginas */
.vp-page-hero { background: var(--vp-soft); border-bottom: 1px solid var(--vp-line); padding: 28px 0 32px; margin-bottom: 40px; }
.vp-page-hero .vp-breadcrumbs ol { margin-bottom: 10px; }
.vp-page-hero__title { font-size: clamp(32px, 4.5vw, 52px); font-weight: 900; color: var(--vp-title); letter-spacing: -.02em; }
.vp-page-hero__dek { font-size: 19px; margin: 10px 0 0; max-width: 60ch; }
.vp-page-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.vp-page-hero--brand { background: var(--vp-navy); color: #fff; border: 0; }
.vp-page-hero--brand .vp-page-hero__title { color: #fff; }
.vp-page-hero--brand .vp-breadcrumbs ol { color: rgba(255, 255, 255, .7); }
.vp-page-hero--brand .vp-page-hero__dek { color: rgba(255, 255, 255, .85); }

/* Contacto */
.vp-contact { display: grid; gap: 36px; grid-template-columns: 1fr; margin-bottom: 48px; }
@media (min-width: 900px) { .vp-contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; } }
.vp-contact__form { background: var(--vp-surface); border: 1px solid var(--vp-line); border-top: 4px solid var(--vp-accent); border-radius: var(--vp-radius); padding: 24px; }
.vp-contact__form-title { font-size: 24px; color: var(--vp-title); margin-bottom: 16px; }
.vp-contact .vp-article__content { font-size: 17px; }
.vp-contact-list { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 16px; }
.vp-contact-list li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.vp-contact-list__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--vp-soft); color: var(--vp-accent); }
.vp-contact-list strong { display: block; font: 800 12px var(--vp-font-head); text-transform: uppercase; letter-spacing: .06em; color: var(--vp-title); margin-bottom: 2px; }
.vp-contact-list a { color: var(--vp-ink); font-weight: 600; }
.vp-contact-list a:hover { color: var(--vp-accent); }
.vp-social--block { gap: 8px; }
.vp-social--block a { width: 40px; height: 40px; background: var(--vp-soft); color: var(--vp-title); }
.vp-map { position: relative; height: var(--vp-map-h, 420px); background: var(--vp-soft); }
.vp-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vp-contact__map { margin: 0 0 -40px; }
@media (max-width: 767px) { .vp-map { height: 320px; } }

/* Formularios (Contact Form 7) */
.vp-form label { display: block; font-weight: 700; font-size: 14px; color: var(--vp-title); }
.vp-form input:not([type=submit]):not([type=checkbox]):not([type=radio]), .vp-form textarea, .vp-form select { width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid var(--vp-dash); border-radius: var(--vp-radius); font: inherit; background: var(--vp-surface); color: var(--vp-ink); }
.vp-form input:focus, .vp-form textarea:focus, .vp-form select:focus { outline: 2px solid var(--vp-accent); outline-offset: 0; border-color: transparent; }
.vp-form textarea { min-height: 150px; }
.vp-form input[type=submit] { border: 0; border-radius: 999px; background: var(--vp-accent); color: #fff; padding: 14px 28px; font: 800 14px var(--vp-font-head); text-transform: uppercase; letter-spacing: .05em; cursor: pointer; }
.vp-form input[type=submit]:hover { background: var(--vp-navy); }
.vp-form .wpcf7-not-valid-tip { font-size: 13px; }
.vp-form .wpcf7-response-output { border-radius: var(--vp-radius); margin: 16px 0 0 !important; }

/* Anúnciate */
.vp-adpage__intro { margin-bottom: 40px; }
.vp-formats { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); }
.vp-formats__group { border: 1px solid var(--vp-line); border-top: 3px solid var(--vp-title); border-radius: var(--vp-radius); padding: 18px; }
.vp-formats__group h3 { font-size: 17px; color: var(--vp-title); margin-bottom: 10px; }
.vp-formats__group ul { list-style: none; margin: 0; padding: 0; }
.vp-formats__group li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--vp-line); font-size: 14.5px; }
.vp-formats__group li:last-child { border-bottom: 0; }
.vp-formats__group code { font-size: 12.5px; background: var(--vp-soft); padding: 2px 6px; border-radius: 3px; white-space: nowrap; align-self: start; }

/* Bloque de contenido libre (constructor) */
.vp-section--html .vp-html > :first-child { margin-top: 0; }
.vp-ad__banner { display: block; line-height: 0; }
.vp-ad__banner img { width: auto; max-width: 100%; height: auto; margin: 0 auto; }

/* Pie con columnas configurables */
@media (min-width: 768px) { .vp-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .vp-footer__grid { grid-template-columns: 1.4fr repeat(var(--vp-fcols, 3), minmax(0, 1fr)); } }
.vp-footer .vp-contact-list { margin: 14px 0; gap: 10px; }
.vp-footer .vp-contact-list li { grid-template-columns: 30px 1fr; gap: 8px; }
.vp-footer .vp-contact-list__icon { width: 30px; height: 30px; background: rgba(255, 255, 255, .08); color: #fff; }
.vp-footer .vp-contact-list strong { color: #fff; }
.vp-footer .vp-contact-list a { color: rgba(255, 255, 255, .85); }
.vp-footer__hint { border: 1px dashed rgba(255, 255, 255, .3); padding: 12px; border-radius: 4px; font-size: 13px; }
.vp-footer__credit { opacity: .8; }
.vp-footer__credit strong, .vp-footer__credit a { color: #fff; }
.vp-footer .widget + .widget { margin-top: 24px; }
.vp-footer .widget img { max-width: 100%; height: auto; }
/* La letra capital sólo en notas, no en páginas institucionales */
.page .vp-article__content > p:first-of-type::first-letter { float: none; font: inherit; color: inherit; padding: 0; }

/* ---------- Encabezado de páginas y categorías (banner con imagen de fondo) ---------- */
.vp-banner {
	position: relative; display: flex; align-items: center; min-height: clamp(190px, 22vw, 300px); padding: 44px 0; margin-bottom: 40px;
	color: #fff; text-align: center; overflow: hidden; isolation: isolate;
	background-color: var(--vp-title);
	background-image:
		linear-gradient(135deg, rgba(35, 27, 77, .94) 0%, rgba(35, 27, 77, .82) 55%, rgba(225, 29, 38, .55) 100%),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M40 0 80 40 40 80 0 40z' fill='none' stroke='%23ffffff' stroke-opacity='.09' stroke-width='1.5'/%3E%3C/svg%3E");
	background-size: cover, 80px 80px;
}
.vp-banner.has-image {
	background-image: linear-gradient(180deg, rgba(22, 17, 52, .58) 0%, rgba(22, 17, 52, .78) 100%), var(--vp-banner-img);
	background-size: cover; background-position: center;
}
.vp-banner__inner { position: relative; }
.vp-banner__title { color: #fff; font-size: clamp(30px, 4.6vw, 54px); font-weight: 900; letter-spacing: -.02em; line-height: 1.05; text-shadow: 0 2px 18px rgba(0, 0, 0, .25); overflow-wrap: anywhere; }
.vp-banner__title::after { content: ""; display: block; width: 64px; height: 4px; margin: 16px auto 0; background: var(--vp-accent); border-radius: 2px; }
.vp-banner__dek { max-width: 680px; margin: 14px auto 0; font-size: 17px; color: rgba(255, 255, 255, .88); }
.vp-banner__dek p { margin: 0; }
.vp-banner .vp-breadcrumbs ol { justify-content: center; margin: 16px 0 0; color: rgba(255, 255, 255, .78); }
.vp-banner .vp-breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.vp-banner__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.vp-banner__search { max-width: 560px; margin: 22px auto 0; }
.vp-banner__search .vp-searchform { border-color: transparent; }
@media (max-width: 767px) { .vp-banner { padding: 32px 0; margin-bottom: 28px; } .vp-banner__dek { font-size: 15.5px; } }

/* ==========================================================================
   Modo oscuro (Personalizar > Vox Populi > Marca y colores > Modo oscuro)
   ========================================================================== */
html[data-theme="dark"] {
	color-scheme: dark;
	--vp-bg: #100e1e;
	--vp-surface: #17142b;
	--vp-soft: #1e1a36;
	--vp-ink: #eceaf6;
	--vp-ink-2: #c6c3da;
	--vp-muted: #9a97b2;
	--vp-line: #2c2846;
	--vp-title: #e7e4ff;
	--vp-ph1: #24203f;
	--vp-ph2: #2c2850;
	--vp-dash: #3a3560;
	--vp-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 20px rgba(0, 0, 0, .25);
}
html[data-theme="dark"] body { background: var(--vp-bg); color: var(--vp-ink); }
html[data-theme="dark"] .vp-nav { box-shadow: 0 6px 14px -10px rgba(0, 0, 0, .6); }
html[data-theme="dark"] .vp-section--dark, html[data-theme="dark"] .vp-footer { background: #0b0918; }
html[data-theme="dark"] .vp-section--dark .vp-section__head { border-bottom-color: rgba(255, 255, 255, .18); }
html[data-theme="dark"] .vp-slider__track { background: #0b0918; }
html[data-theme="dark"] .vp-sidebar .widget { background: var(--vp-surface); }
html[data-theme="dark"] .vp-section__more:hover { color: #fff; }
html[data-theme="dark"] .vp-tags a { background: var(--vp-soft); }
html[data-theme="dark"] .vp-searchform input { color: var(--vp-ink); }
html[data-theme="dark"] .vp-article__content blockquote { color: var(--vp-title); }
html[data-theme="dark"] .vp-drawer__panel { background: var(--vp-surface); color: var(--vp-ink); }
html[data-theme="dark"] .vp-banner.has-image { background-image: linear-gradient(180deg, rgba(10, 8, 24, .65) 0%, rgba(10, 8, 24, .85) 100%), var(--vp-banner-img); }
.vp-slider__arrow { color: #16142b; }

/* Logo para cada estilo */
.vp-logo__dark { display: none; }
html[data-theme="dark"] .vp-logo__light { display: none; }
html[data-theme="dark"] .vp-logo__dark { display: inline-block; }
.vp-logo__light, .vp-logo__dark { line-height: 0; }

/* Botón claro / oscuro */
.vp-theme-toggle { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--vp-line); border-radius: 50%; background: transparent; color: var(--vp-title); flex: none; }
.vp-theme-toggle:hover { background: var(--vp-soft); }
.vp-theme-toggle .vp-icon--sun { display: none; }
html[data-theme="dark"] .vp-theme-toggle .vp-icon--sun { display: block; }
html[data-theme="dark"] .vp-theme-toggle .vp-icon--moon { display: none; }
.vp-logo + .vp-theme-toggle { margin-left: auto; }
@media (max-width: 1023px) { .vp-theme-toggle { border: 0; } }
/* Widgets externos con fondo claro propio (TradingView) en modo oscuro */
html[data-theme="dark"] .vp-indicators .tradingview-widget-container iframe { filter: invert(.9) hue-rotate(180deg); }
