/* TodoViajar · fichas de datos */
:root { --tv-si: #0f7a4a; --tv-si-f: #e7f6ee; --tv-no: #b42318; --tv-no-f: #fdecea; --tv-cond: #a15c07; --tv-cond-f: #fff4e0; --tv-borde: #e3e7ee; --tv-tinta: #1d2533; --tv-suave: #5b6578; }
.tv-veredicto { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 0 28px; }
.tv-caja { position: relative; border: 2px solid var(--tv-borde); border-radius: 14px; padding: 18px 18px 16px 70px; min-height: 110px; }
.tv-caja .tv-icono { position: absolute; left: 16px; top: 18px; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 20px; color: #fff; }
.tv-caja .tv-eti { margin: 0; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--tv-suave); }
.tv-caja .tv-res { margin: 2px 0 6px; font-size: 24px; font-weight: 800; line-height: 1.1; }
.tv-caja .tv-det { margin: 0; font-size: 15px; line-height: 1.45; color: var(--tv-tinta); }
.tv-caja.tv-si { border-color: var(--tv-si); background: var(--tv-si-f); } .tv-caja.tv-si .tv-icono { background: var(--tv-si); } .tv-caja.tv-si .tv-res { color: var(--tv-si); }
.tv-caja.tv-no { border-color: var(--tv-no); background: var(--tv-no-f); } .tv-caja.tv-no .tv-icono { background: var(--tv-no); } .tv-caja.tv-no .tv-res { color: var(--tv-no); }
.tv-caja.tv-cond { border-color: var(--tv-cond); background: var(--tv-cond-f); } .tv-caja.tv-cond .tv-icono { background: var(--tv-cond); } .tv-caja.tv-cond .tv-res { color: var(--tv-cond); }
.tv-texto p { line-height: 1.7; }
.tv-consejos { border-left: 4px solid #2f6fdb; background: #f2f6fd; padding: 14px 18px; border-radius: 0 10px 10px 0; margin: 26px 0; }
.tv-consejos h2, .tv-rel h2, .tv-fuentes h2 { font-size: 19px; margin: 0 0 8px; }
.tv-consejos p { margin: 0; }
.tv-aerolineas { font-size: 15px; color: var(--tv-suave); }
.tv-rel ul, .tv-lista { list-style: none; margin: 0; padding: 0; }
.tv-rel li, .tv-lista li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--tv-borde); }
.tv-rel li a, .tv-lista li a { font-weight: 600; margin-right: auto; }
.tv-mini { font-size: 12px; border-radius: 999px; padding: 2px 9px; white-space: nowrap; }
.tv-mini.tv-si { background: var(--tv-si-f); color: var(--tv-si); } .tv-mini.tv-no { background: var(--tv-no-f); color: var(--tv-no); } .tv-mini.tv-cond { background: var(--tv-cond-f); color: var(--tv-cond); }
.tv-fuentes { margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--tv-borde); font-size: 14px; color: var(--tv-suave); }
.tv-fuentes ul { margin: 0 0 8px 18px; }
.tv-buscador { background: #0f2a4a; color: #fff; padding: 22px; border-radius: 16px; margin: 0 0 26px; }
.tv-buscador label { display: block; font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.tv-buscador input { width: 100%; font-size: 18px; padding: 13px 16px; border-radius: 10px; border: 0; }
.tv-buscador .tv-nores { margin: 10px 0 0; }
.tv-cat { margin: 0 0 26px; }
@media (max-width: 640px) { .tv-veredicto { grid-template-columns: 1fr; } .tv-caja .tv-res { font-size: 21px; } }

/* Sin barra lateral antigua en las fichas y el índice */
.single-tv_objeto #secondary, .single-tv_grupo #secondary, .tax-tv_cat_objeto #secondary, .page-template-default.tv-indice #secondary { display: none; }
.single-tv_objeto #primary, .single-tv_grupo #primary, .tax-tv_cat_objeto #primary { width: 100%; max-width: 860px; margin-left: auto; margin-right: auto; float: none; }
.single-tv_objeto .entry-title, .single-tv_grupo .entry-title { font-size: 34px; line-height: 1.15; }
.tv-texto h2 { margin-top: 28px; }
.tv-texto table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.tv-texto th, .tv-texto td { border: 1px solid var(--tv-borde); padding: 8px 10px; text-align: left; vertical-align: top; }
.tv-texto th { background: #f4f6fa; }
.tv-faq { margin: 28px 0; }
.tv-faq h2 { font-size: 21px; }
.tv-faq details { border: 1px solid var(--tv-borde); border-radius: 10px; padding: 12px 16px; margin: 8px 0; background: #fff; }
.tv-faq summary { cursor: pointer; font-weight: 700; }
.tv-faq details p { margin: 10px 0 0; }

/* Fichas de país */
.single-tv_pais #secondary { display: none; }
.single-tv_pais #primary { width: 100%; max-width: 860px; margin-left: auto; margin-right: auto; float: none; }
.single-tv_pais .entry-title { font-size: 34px; line-height: 1.15; }
.tv-vistazo { background: #f2f6fd; border-radius: 14px; padding: 18px 20px; margin: 0 0 26px; }
.tv-vistazo h2 { margin: 0 0 10px; font-size: 21px; }
.tv-vistazo dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px 18px; margin: 0; }
.tv-vistazo dt { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--tv-suave); }
.tv-vistazo dd { margin: 2px 0 0; font-weight: 600; }
.tv-datos, .tv-clima { margin: 0 0 26px; }
.tv-ficha { padding-left: 20px; }
.tv-nivel { font-weight: 700; padding: 10px 14px; border-left: 4px solid var(--tv-cond); background: var(--tv-cond-f); border-radius: 0 8px 8px 0; }
.tv-aviso { padding: 10px 14px; border-left: 4px solid var(--tv-no); background: var(--tv-no-f); border-radius: 0 8px 8px 0; }
.tv-fuente { font-size: 13px; color: var(--tv-suave); }
.tv-tabla-ancha { overflow-x: auto; }
.tv-clima table { width: 100%; border-collapse: collapse; font-size: 15px; }
.tv-clima th, .tv-clima td { border: 1px solid var(--tv-borde); padding: 7px 10px; text-align: right; }
.tv-clima th:first-child, .tv-clima td:first-child { text-align: left; }
.tv-clima th { background: #f4f6fa; }
.tv-paises { columns: 3 220px; }

/* Portada */
.tv-hero { background: #0f2a4a; color: #fff; padding: 34px 28px; border-radius: 18px; margin: 0 0 32px; }
.tv-hero h2 { color: #fff; font-size: 30px; margin: 0 0 8px; }
.tv-hero p { margin: 0 0 16px; color: #d7e3f4; }
.tv-hero .tv-buscador { background: none; padding: 0; margin: 0; position: relative; }
.tv-res-lista { position: absolute; left: 0; right: 0; top: 100%; background: #fff; color: #1d2533; border-radius: 0 0 10px 10px; list-style: none; margin: 0; padding: 4px 0; z-index: 20; box-shadow: 0 8px 24px rgba(0,0,0,.25); max-height: 320px; overflow: auto; }
.tv-res-lista li { margin: 0; } .tv-res-lista a { display: block; padding: 10px 16px; color: #1d2533; font-weight: 600; } .tv-res-lista a:hover { background: #f2f6fd; }
.tv-portada-bloque { margin: 0 0 34px; }
.tv-portada-bloque h2 { font-size: 24px; margin: 0 0 12px; }
.tv-tarjetas { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.tv-tarjetas a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 14px; border: 1px solid var(--tv-borde); border-radius: 12px; background: #fff; }
.tv-tarjetas a:hover { border-color: #2f6fdb; }
.tv-tarjetas strong { font-size: 17px; }
.tv-tarjetas .tv-mini { align-self: flex-start; }
.tv-tarjetas-pais { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.tv-lista-simple { columns: 2 260px; margin: 0; padding-left: 18px; }
.tv-lista-simple li { margin: 0 0 6px; }
.tv-boton { display: inline-block; background: #2f6fdb; color: #fff !important; padding: 11px 20px; border-radius: 999px; font-weight: 700; }
.tv-metodo { background: #f4f6fa; border-radius: 14px; padding: 18px 22px; }
.page-slug-portada-borrador #secondary, .page-slug-fuentes-de-los-datos-borrador #secondary, .page-slug-avion-indice-borrador #secondary, .page-slug-paises-indice-borrador #secondary { display: none; }

/* Sin barra lateral y rejillas estables */
.tv-sin-lateral #secondary { display: none; }
.tv-sin-lateral #primary { width: 100%; max-width: 960px; margin-left: auto; margin-right: auto; float: none; }
.tv-sin-lateral .entry-title { font-size: 34px; line-height: 1.15; }
.tv-tarjetas > li, .tv-lista-simple > li, .tv-res-lista > li { margin: 0; padding: 0; float: none; width: auto; list-style: none; }
.tv-tarjetas > li::before, .tv-tarjetas > li::marker { content: none; }
.tv-tarjetas a { text-decoration: none; color: #1d2533; }
.tv-tarjetas a strong { color: #1d2533; }
.tv-res-lista a { text-decoration: none; }
.tv-tarjetas { align-items: stretch; grid-auto-rows: auto; }


/* ================= DISEÑO v2 (iconos de línea, color de marca, animación) ================= */
:root { --tv-navy: #1c2c44; --tv-naranja: #f39a12; --tv-naranja-o: #d97f00; --tv-azul: #2271b3; --tv-cielo: #e8f1fa; --tv-crema: #fff6e5; --tv-gris: #f3f6fb; }
html { scroll-behavior: smooth; }
body.tv-nuevo, body.tv-portada { background: var(--tv-gris); overflow-x: hidden; }
.tv-ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }
.tv-circulo { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--tv-cielo); color: var(--tv-azul); flex: none; }
.tv-circulo .tv-ico { width: 28px; height: 28px; }
.tv-circulo.peque { width: 40px; height: 40px; } .tv-circulo.peque .tv-ico { width: 22px; height: 22px; }
.tv-circulo.titulo { width: 46px; height: 46px; vertical-align: middle; margin-right: 6px; } .tv-circulo.titulo .tv-ico { width: 26px; height: 26px; }
.tv-bandera { width: 36px; height: 27px; object-fit: cover; border-radius: 4px; box-shadow: 0 0 0 1px rgba(28,44,68,.15), 0 2px 6px rgba(28,44,68,.18); vertical-align: middle; }
.tv-bandera.titulo { width: 52px; height: 39px; margin-right: 10px; } .tv-bandera.grande { width: 56px; height: 42px; }

/* ---- cabecera y pie con los colores del logo ---- */
.tv-nuevo .site-header, .tv-portada .site-header { background: #fff; box-shadow: 0 3px 16px rgba(28,44,68,.10); position: relative; z-index: 30; }
.tv-nuevo .custom-logo, .tv-portada .custom-logo { max-height: 78px; width: auto; }
.tv-nuevo .site-header-bottom, .tv-portada .site-header-bottom { background: var(--tv-navy); }
.tv-nuevo .main-navigation ul, .tv-portada .main-navigation ul { gap: 4px; }
.tv-nuevo .main-navigation a, .tv-portada .main-navigation a { color: #fff !important; font-weight: 600; padding: 16px 16px; border-bottom: 3px solid transparent; transition: .2s; }
.tv-nuevo .main-navigation a:hover, .tv-portada .main-navigation a:hover, .tv-nuevo .main-navigation .current-menu-item > a, .tv-portada .main-navigation .current-menu-item > a { color: var(--tv-naranja) !important; border-bottom-color: var(--tv-naranja); }
.tv-nuevo .site-footer, .tv-portada .site-footer { background: var(--tv-navy); color: #c9d5e6; }
.tv-nuevo .site-footer a, .tv-portada .site-footer a { color: #fff; }
.tv-nuevo .site-footer a:hover, .tv-portada .site-footer a:hover { color: var(--tv-naranja); }
.tv-nuevo .site-footer h2, .tv-nuevo .site-footer h3, .tv-nuevo .site-footer .widget-title { color: #fff; }

/* ---- tarjeta de contenido ---- */
.tv-sin-lateral #primary article, .tv-nuevo #primary article.type-page { background: #fff; border-radius: 22px; box-shadow: 0 10px 34px rgba(28,44,68,.08); padding: 34px 38px; border: 0; }
.tv-nuevo .entry-title { color: var(--tv-navy); font-weight: 800; letter-spacing: -.01em; }
.tv-nuevo .entry-title::after { content: ""; display: block; width: 72px; height: 5px; margin-top: 12px; border-radius: 4px; background: linear-gradient(90deg, var(--tv-naranja), var(--tv-azul)); }
.tv-nuevo .tv-texto h2, .tv-nuevo .tv-faq h2 { color: var(--tv-navy); position: relative; padding-left: 16px; }
.tv-nuevo .tv-texto h2::before { content: ""; position: absolute; left: 0; top: .15em; bottom: .15em; width: 5px; border-radius: 4px; background: var(--tv-naranja); }
.tv-nuevo a { color: var(--tv-azul); }

/* ---- portada: sin tarjeta, a ancho completo ---- */
.tv-portada #primary { width: 100% !important; max-width: none !important; float: none; padding: 0; margin: 0; }
.tv-portada #primary article, .tv-portada .entry-content, .tv-portada .entry-header { background: none !important; box-shadow: none !important; padding: 0 !important; border: 0; margin: 0; }
.tv-portada .entry-header { display: none; }
.tv-portada .site-content > .container, .tv-portada #content .container { max-width: none; padding-left: 0; padding-right: 0; width: 100%; }
.tv-portada .tv-bloque { max-width: 1120px; margin-left: auto; margin-right: auto; padding-left: 22px; padding-right: 22px; }

/* ---- héroe animado ---- */
.tv-hero { position: relative; overflow: hidden; width: 100%; min-height: 560px; display: flex; align-items: center; justify-content: center; padding: 0; border-radius: 0; margin: 0 0 8px; color: #fff;
	background: radial-gradient(1200px 500px at 85% 0%, rgba(243,154,18,.55), transparent 60%), linear-gradient(135deg, #14233a 0%, #1c2c44 35%, #2271b3 100%); background-size: 140% 140%; animation: tvfondo 18s ease-in-out infinite alternate; }
@keyframes tvfondo { from { background-position: 0% 30%; } to { background-position: 100% 70%; } }
.tv-escena { position: absolute; inset: 0; pointer-events: none; }
.tv-ruta { position: absolute; inset: 0; width: 100%; height: 100%; }
.tv-nube { position: absolute; background: rgba(255,255,255,.13); border-radius: 80px; filter: blur(3px); height: 64px; width: 220px; left: -260px; animation: tvnube 70s linear infinite; }
.tv-nube::before, .tv-nube::after { content: ""; position: absolute; background: inherit; border-radius: 50%; }
.tv-nube::before { width: 90px; height: 90px; left: 30px; top: -38px; } .tv-nube::after { width: 70px; height: 70px; left: 110px; top: -26px; }
.tv-nube.n1 { top: 14%; } .tv-nube.n2 { top: 62%; width: 170px; height: 50px; animation-duration: 95s; animation-delay: -40s; } .tv-nube.n3 { top: 38%; animation-duration: 120s; animation-delay: -85s; opacity: .7; }
@keyframes tvnube { from { transform: translateX(0); } to { transform: translateX(calc(100vw + 520px)); } }
.tv-flota { position: absolute; width: 46px; height: 46px; color: #fff; opacity: .22; animation: tvflota 10s ease-in-out infinite; transition: transform .25s ease-out; }
.tv-flota .tv-ico { width: 100%; height: 100%; stroke-width: 1.3; }
@keyframes tvflota { 0%, 100% { margin-top: 0; rotate: 0deg; } 50% { margin-top: -16px; rotate: 7deg; } }
.tv-hero-in { position: relative; z-index: 2; text-align: center; max-width: 900px; padding: 78px 22px 64px; }
.tv-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 7px 16px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); font-weight: 600; font-size: 14px; backdrop-filter: blur(4px); }
.tv-h-hero { color: #fff !important; font-size: clamp(32px, 5.4vw, 58px); line-height: 1.08; font-weight: 800; margin: 0 0 14px; letter-spacing: -.02em; }
.tv-rota { color: var(--tv-naranja); display: inline-block; border-bottom: 4px solid var(--tv-naranja); transition: opacity .35s, transform .35s; }
.tv-rota.sale { opacity: 0; transform: translateY(8px); }
.tv-sub { color: #dbe7f5; font-size: 19px; max-width: 640px; margin: 0 auto 26px; }
.tv-buscador-grande { position: relative; max-width: 640px; margin: 0 auto; background: #fff; border-radius: 999px; padding: 8px 10px 8px 24px; display: flex; align-items: center; gap: 10px; box-shadow: 0 18px 44px rgba(0,0,0,.35); }
.tv-buscador-grande > .tv-ico { width: 26px; height: 26px; color: var(--tv-azul); }
.tv-buscador-grande input { flex: 1; border: 0 !important; outline: 0 !important; background: none !important; font-size: 19px !important; padding: 12px 6px !important; color: var(--tv-navy); box-shadow: none !important; min-width: 0; }
.tv-res-lista { top: calc(100% + 8px) !important; border-radius: 16px !important; text-align: left; overflow: hidden; }
.tv-chips-rapidos { margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; font-size: 14px; color: #cfe0f3; }
.tv-chips-rapidos a { color: #fff !important; background: rgba(255,255,255,.15); padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); transition: .2s; }
.tv-chips-rapidos a:hover { background: var(--tv-naranja); border-color: var(--tv-naranja); transform: translateY(-2px); }
.tv-stats { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tv-stats li { margin: 0; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: 16px; padding: 14px 8px; }
.tv-stats strong { display: block; font-size: 34px; line-height: 1; color: #fff; font-weight: 800; }
.tv-stats span { font-size: 13px; color: #cfe0f3; }

/* ---- bloques ---- */
.tv-bloque { margin: 54px auto; }
.tv-titulo { display: flex; align-items: center; gap: 12px; font-size: 28px; color: var(--tv-navy); margin: 0 0 22px; font-weight: 800; }
.tv-titulo > span { display: inline-flex; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--tv-naranja), #ffb94d); color: #fff; }
.tv-titulo > span .tv-ico { width: 26px; height: 26px; }
.tv-lead { font-size: 17px; color: #44546a; margin: -8px 0 22px; }
.tv-centro { text-align: center; margin: 24px 0 0; }
.tv-boton { display: inline-flex; align-items: center; gap: 8px; background: var(--tv-naranja); color: #fff !important; padding: 13px 26px; border-radius: 999px; font-weight: 700; text-decoration: none !important; transition: .2s; box-shadow: 0 8px 22px rgba(243,154,18,.35); }
.tv-boton:hover { background: var(--tv-naranja-o); transform: translateY(-3px); }
.tv-boton-claro { background: #fff; color: var(--tv-navy) !important; box-shadow: 0 8px 22px rgba(0,0,0,.12); } .tv-boton-claro:hover { background: var(--tv-crema); }
.tv-enlace-flecha { font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }

/* tres accesos */
.tv-accesos { list-style: none; margin: -48px auto 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; z-index: 5; }
.tv-accesos li { margin: 0; }
.tv-acceso { position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 190px; padding: 26px 24px; border-radius: 22px; color: #fff !important; text-decoration: none !important; overflow: hidden; box-shadow: 0 16px 38px rgba(28,44,68,.22); transition: transform .3s, box-shadow .3s; }
.tv-acceso:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(28,44,68,.3); }
.tv-acceso.a1 { background: linear-gradient(135deg, #f39a12, #e8620e); } .tv-acceso.a2 { background: linear-gradient(135deg, #2271b3, #1d4f87); } .tv-acceso.a3 { background: linear-gradient(135deg, #1c2c44, #2d4568); }
.tv-acceso .tv-circulo { background: rgba(255,255,255,.2); color: #fff; width: 58px; height: 58px; }
.tv-acceso strong { font-size: 22px; line-height: 1.15; } .tv-acceso > span:not(.tv-circulo) { color: rgba(255,255,255,.9); font-size: 15px; }
.tv-acceso em { position: absolute; right: 20px; bottom: 18px; transition: transform .3s; } .tv-acceso:hover em { transform: translateX(8px); }
.tv-acceso::after { content: ""; position: absolute; right: -40px; top: -40px; width: 150px; height: 150px; border-radius: 50%; background: rgba(255,255,255,.1); }

/* categorías */
.tv-categorias { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.tv-categorias li { margin: 0; }
.tv-cat-tile { display: flex; align-items: center; gap: 12px; padding: 16px; background: #fff; border-radius: 16px; color: var(--tv-navy) !important; text-decoration: none !important; font-weight: 700; box-shadow: 0 4px 16px rgba(28,44,68,.07); transition: .25s; border: 2px solid transparent; }
.tv-cat-tile:hover { transform: translateY(-5px) rotate(-.6deg); border-color: var(--tv-naranja); box-shadow: 0 14px 30px rgba(28,44,68,.15); }
.tv-cat-tile:hover .tv-circulo { background: var(--tv-naranja); color: #fff; transform: rotate(-8deg) scale(1.08); } .tv-cat-tile .tv-circulo { transition: .25s; }
.c-liquidos-y-cosmetica .tv-circulo { background: #dff1fb; color: #1c8ac2; } .c-electronica-y-baterias .tv-circulo { background: #fff1d6; color: #d98300; } .c-objetos-cortantes-y-herramientas .tv-circulo { background: #e9e6fb; color: #5b4bc4; }
.c-deporte-y-ocio .tv-circulo { background: #e2f5e5; color: #2c9a45; } .c-comida-y-bebida .tv-circulo { background: #fde7e1; color: #d4552f; } .c-medicamentos-y-salud .tv-circulo { background: #fde3ea; color: #d23a62; }
.c-objetos-peligrosos .tv-circulo { background: #ffe1dc; color: #d4351c; } .c-bebes-y-ninos .tv-circulo { background: #fbe9f7; color: #b44fa6; } .c-otros .tv-circulo { background: #e8eef5; color: #4a5f7a; }

/* tarjetas de objeto */
.tv-tarjetas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.tv-tarjetas li { margin: 0; padding: 0; float: none; width: auto; list-style: none; border: 0; display: block; }
.tv-tarjeta { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 16px; background: #fff; border-radius: 16px; border: 2px solid transparent; color: var(--tv-navy) !important; text-decoration: none !important; box-shadow: 0 4px 16px rgba(28,44,68,.07); transition: .25s; }
.tv-tarjeta:hover { transform: translateY(-5px); border-color: var(--tv-azul); box-shadow: 0 14px 30px rgba(28,44,68,.15); }
.tv-tarjeta strong { font-size: 17px; line-height: 1.2; }
.tv-par { display: flex; flex-wrap: wrap; gap: 6px; }
.tv-mini { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; border-radius: 999px; padding: 3px 10px; background: #eef2f8; color: #44546a; white-space: nowrap; } .tv-mini .tv-ico { width: 14px; height: 14px; }
.tv-mini.tv-si { background: var(--tv-si-f); color: var(--tv-si); } .tv-mini.tv-no { background: var(--tv-no-f); color: var(--tv-no); } .tv-mini.tv-cond { background: var(--tv-cond-f); color: var(--tv-cond); }

/* países */
.tv-fondo-azul { max-width: none !important; background: linear-gradient(180deg, var(--tv-cielo), #f6faff); padding-top: 46px !important; padding-bottom: 50px !important; }
.tv-fondo-azul > * { max-width: 1076px; margin-left: auto; margin-right: auto; }
.tv-paises-grid { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 12px; }
.tv-paises-grid li { margin: 0; padding: 0; list-style: none; }
.tv-pais-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; border-radius: 14px; color: var(--tv-navy) !important; text-decoration: none !important; font-weight: 700; box-shadow: 0 3px 12px rgba(28,44,68,.07); transition: .25s; border: 2px solid transparent; }
.tv-pais-card strong { flex: 1; } .tv-pais-card > .tv-ico { color: var(--tv-naranja); transition: transform .25s; width: 18px; height: 18px; }
.tv-pais-card:hover { transform: translateY(-4px); border-color: var(--tv-naranja); } .tv-pais-card:hover > .tv-ico { transform: translateX(5px); }
.tv-pais-card.grande { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; } .tv-pais-card.grande strong { font-size: 18px; }
.tv-paises-grid-indice { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

/* trenes */
.tv-trenes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.tv-trenes li { margin: 0; padding: 0; list-style: none; }
.tv-tren-card { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 16px; background: linear-gradient(135deg, #fff, #f1f6fc); border: 2px solid #dbe6f3; color: var(--tv-navy) !important; text-decoration: none !important; font-weight: 700; transition: .25s; height: 100%; }
.tv-tren-card:hover { border-color: var(--tv-azul); transform: translateY(-4px); background: #fff; }

/* método */
.tv-metodo { display: flex; gap: 22px; align-items: center; background: var(--tv-crema); border-radius: 22px; padding: 30px 32px !important; border: 2px solid #ffe2b0; }
.tv-metodo-ico { width: 84px; height: 84px; flex: none; border-radius: 22px; background: var(--tv-naranja); color: #fff; display: flex; align-items: center; justify-content: center; } .tv-metodo-ico .tv-ico { width: 48px; height: 48px; }
.tv-metodo h2 { margin: 0 0 8px; color: var(--tv-navy); } .tv-metodo p { margin: 0 0 8px; }

/* filtros de los índices */
.tv-filtros { background: var(--tv-gris); border-radius: 18px; padding: 18px; margin: 0 0 26px; }
.tv-filtros .tv-buscador { background: #fff; border-radius: 999px; padding: 6px 18px; display: flex; align-items: center; gap: 10px; box-shadow: 0 4px 14px rgba(28,44,68,.08); margin: 0 0 14px; }
.tv-filtros .tv-buscador input { border: 0 !important; outline: 0; background: none !important; flex: 1; font-size: 17px; padding: 10px 0 !important; box-shadow: none !important; } .tv-filtros .tv-buscador .tv-ico { color: var(--tv-azul); width: 22px; height: 22px; }
.tv-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 8px; } .tv-chips > span { font-size: 14px; color: #55657b; margin-right: 4px; }
.tv-chip { display: inline-flex; align-items: center; gap: 6px; border: 2px solid #d5deea; background: #fff; color: var(--tv-navy); padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; cursor: pointer; transition: .2s; line-height: 1.2; }
.tv-chip:hover { border-color: var(--tv-azul); transform: translateY(-2px); } .tv-chip.activo { background: var(--tv-navy); border-color: var(--tv-navy); color: #fff; }
.tv-chip.c-si.activo { background: var(--tv-si); border-color: var(--tv-si); } .tv-chip.c-cond.activo { background: var(--tv-cond); border-color: var(--tv-cond); } .tv-chip.c-no.activo { background: var(--tv-no); border-color: var(--tv-no); }
.tv-cat { margin: 0 0 34px; } .tv-cat h2 { display: flex; align-items: center; gap: 12px; color: var(--tv-navy); font-size: 24px; scroll-margin-top: 90px; }
.tv-tarjetas li[hidden], .tv-paises-grid li[hidden], .tv-cat[hidden] { display: none !important; }

/* ficha: veredicto con iconos */
.tv-caja { border-radius: 18px; } .tv-caja .tv-icono { width: 46px; height: 46px; } .tv-caja .tv-icono .tv-ico { width: 26px; height: 26px; }
.tv-caja { transition: transform .25s; } .tv-caja:hover { transform: translateY(-3px); }
.tv-fuentes, .tv-consejos { border-radius: 14px; }
.tv-consejos { border-left-color: var(--tv-naranja); background: var(--tv-crema); }

/* clima: mapa de calor */
.tv-clima td.t { color: #fff; font-weight: 700; text-shadow: 0 1px 2px rgba(0,0,0,.25); }
.tv-clima td.ll { position: relative; background: linear-gradient(90deg, rgba(34,113,179,.28) var(--w, 0%), transparent var(--w, 0%)); }
.tv-clima tbody tr:hover td { filter: brightness(.96); }

/* animación al entrar en pantalla */
html.tv-js .tv-rev { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
html.tv-js .tv-rev.tv-vis { opacity: 1; transform: none; }
.tv-sticky { box-shadow: 0 6px 24px rgba(28,44,68,.18) !important; }

@media (max-width: 860px) { .tv-accesos { grid-template-columns: 1fr; margin-top: -30px; } .tv-stats { grid-template-columns: repeat(2, 1fr); } .tv-hero { min-height: 520px; } .tv-metodo { flex-direction: column; text-align: center; } .tv-sin-lateral #primary article { padding: 22px 18px; } }
@media (prefers-reduced-motion: reduce) { .tv-hero, .tv-flota, .tv-nube, .tv-ruta animateMotion { animation: none !important; } html.tv-js .tv-rev { opacity: 1; transform: none; transition: none; } }

/* ---- anchura completa (el tema reserva 2/3 para la columna central) ---- */
.tv-sin-lateral #primary, .tv-nuevo #primary, .tv-portada #primary { flex: 0 0 100% !important; max-width: 100% !important; width: 100% !important; float: none !important; }
.tv-sin-lateral #primary, .tv-nuevo #primary { max-width: 1040px !important; margin-left: auto !important; margin-right: auto !important; }
.tv-portada #primary { max-width: 100% !important; padding: 0 !important; }
.tv-portada .single-section .container, .tv-portada .single-section .row { max-width: none !important; width: 100% !important; padding-left: 0 !important; padding-right: 0 !important; margin-left: 0 !important; margin-right: 0 !important; }
.tv-portada .card, .tv-portada .card_body, .tv-portada .theiaStickySidebar { background: none !important; box-shadow: none !important; border: 0 !important; padding: 0 !important; width: 100% !important; transform: none !important; }
.tv-portada .card_title, .tv-portada .card_body > h1 { display: none !important; }
.tv-portada .single-section { padding-top: 0 !important; padding-bottom: 0 !important; }
.tv-nuevo .card { border: 0 !important; border-radius: 22px; box-shadow: 0 10px 34px rgba(28,44,68,.08) !important; }
.tv-nuevo .card_body { padding: 34px 38px; }
.tv-nuevo .card_title { color: var(--tv-navy); font-weight: 800; }
.tv-nuevo .card_title::after { content: ""; display: block; width: 72px; height: 5px; margin-top: 12px; border-radius: 4px; background: linear-gradient(90deg, var(--tv-naranja), var(--tv-azul)); }

.tv-sin-lateral #primary article, .tv-nuevo #primary article.type-page { padding: 0 !important; background: none !important; box-shadow: none !important; }
.tv-nuevo .card_body { padding: 34px 40px; }
@media (max-width: 640px) { .tv-nuevo .card_body { padding: 22px 18px; } .tv-hero-in { padding: 54px 16px 44px; } .tv-accesos { margin-top: -26px; } .tv-metodo { padding: 22px 18px !important; } }
