/* Tostao · Sitio — plantilla de página legal (política de privacidad, aviso legal, política de cookies y las que usen
   el campo _ts_plantilla_legal). El HTML lo monta tostao_legal_construir() (includes/modulos/legal.php).
   Todo cuelga de .ts-w; las clases llevan prefijo ts-pol. Puntos de corte: 1160 (el índice pasa de columna a plegable),
   960 (tableta), 860 (tablas del contrato apiladas) y 600 (móvil). La cabecera de la web es fija: lo que se queda pegado
   arriba usa top: calc(var(--ts-sticky-top, 0px) + N px). */

/* El tema (Hello Elementor) limita «.site-main» a 500-1140 px según el ancho y le pone sus márgenes; la plantilla legal
   gestiona su propio ancho y sus gutters. La clase la pone el módulo solo en las páginas con la plantilla. */
body.ts-pagina-legal .site-main { width: 100%; max-width: none; margin: 0; padding: 0; }

.ts-w .ts-pol { --ts-pol-medida: 44rem; display: block; max-width: none; margin: 0; padding: 0; font-family: var(--ts-fuente); color: #3a1318; }
.ts-w .ts-pol :focus-visible { outline: 3px solid var(--ts-granate); outline-offset: 2px; border-radius: 4px; }

/* ---- aviso de vista previa (enlace de revisión de la gestoría) ---- */
.ts-w .ts-pol-revision { background: var(--ts-granate-osc); color: var(--ts-crema); padding: 12px var(--ts-lado); font-size: 14px; line-height: 1.55; }
.ts-w .ts-pol-revision p { margin: 0; }
.ts-w .ts-pol-revision strong { color: var(--ts-amarillo); font-weight: 800; }

/* ---- cabecera de la página ---- */
.ts-w .ts-pol-cab { background: var(--ts-crema); border-bottom: 1px solid var(--ts-linea); padding: 12px var(--ts-lado) 40px; }
.ts-w .ts-pol-cab-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; max-width: 980px; }
/* Migas: el enlace mide 44 px de alto (objetivo táctil); el margen negativo devuelve el espacio que ocupaba antes. */
.ts-w .ts-pol .ts-migas { flex: 0 0 100%; margin: 0 0 -15px; font-size: 12.5px; color: var(--ts-suave); }
.ts-w .ts-pol .ts-migas a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; margin: 0 -5px; padding: 0 5px; color: inherit; text-decoration: none; }
.ts-w .ts-pol .ts-migas a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ts-w .ts-pol .ts-migas [aria-current="page"] { color: var(--ts-suave); }
.ts-w .ts-pol-titulo { flex: 0 0 100%; margin: 6px 0 4px; font: 800 46px/1.08 var(--ts-fuente); letter-spacing: -1px; color: var(--ts-granate); overflow-wrap: break-word; }
.ts-w .ts-pol-fecha { margin: 0; font-size: 15px; line-height: 1.4; font-weight: 600; color: var(--ts-suave); }
.ts-w .ts-pol-fecha time { color: var(--ts-granate); font-weight: 700; }
.ts-w .ts-pol-imprimir { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border: 1.5px solid var(--ts-granate); border-radius: 999px; background: transparent; color: var(--ts-granate); font: 700 13.5px/1.2 var(--ts-fuente); cursor: pointer; transition: background .15s; }
.ts-w .ts-pol-imprimir:hover { background: #fff; }
.ts-w .ts-pol-imprimir[hidden] { display: none; }

/* ---- dos columnas: índice fijo a la izquierda, texto a la derecha ---- */
.ts-w .ts-pol-cols { display: grid; grid-template-columns: 250px minmax(0, 1fr); column-gap: 56px; align-items: start; padding: 48px var(--ts-lado) 80px; }
.ts-w .ts-pol-cols--sin-indice { grid-template-columns: minmax(0, 1fr); }
.ts-w .ts-pol-principal { min-width: 0; max-width: 980px; }
.ts-w .ts-pol-lateral { position: sticky; top: calc(var(--ts-sticky-top, 0px) + 24px); align-self: start; max-height: calc(100vh - var(--ts-sticky-top, 0px) - 48px); overflow-y: auto; overscroll-behavior: contain; }
.ts-w .ts-pol-indice-t { margin: 0 0 10px; font: 800 11.5px/1.3 var(--ts-fuente); letter-spacing: .1em; text-transform: uppercase; color: var(--ts-granate); }
.ts-w .ts-pol-indice ol { margin: 0; padding: 0; list-style: none; border-left: 2px solid var(--ts-linea); }
.ts-w .ts-pol-indice li { margin: 0; padding: 0; }
.ts-w .ts-pol-indice a { display: flex; align-items: center; min-height: 44px; margin-left: -2px; padding: 8px 10px 8px 16px; border-left: 2px solid transparent; font: 600 13.5px/1.35 var(--ts-fuente); color: var(--ts-suave); text-decoration: none; transition: color .15s, background .15s; }
.ts-w .ts-pol-indice a { overflow-wrap: anywhere; }
/* La columna tiene scroll propio (pantallas bajas) y recortaría un contorno exterior: el del índice va por dentro. */
.ts-w .ts-pol-indice a:focus-visible { outline-offset: -3px; border-radius: 0; }
.ts-w .ts-pol-indice a:hover { color: var(--ts-granate); background: var(--ts-crema-claro); }
.ts-w .ts-pol-indice a[aria-current="true"] { color: var(--ts-granate); font-weight: 800; border-left-color: var(--ts-granate); background: var(--ts-crema-claro); }

/* Índice plegable (tableta y móvil) */
.ts-w .ts-pol-indice-m { display: none; margin: 0 0 30px; border: 1px solid var(--ts-linea); border-radius: 16px; background: var(--ts-crema-claro); }
.ts-w .ts-pol-indice-m summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 12px 18px; list-style: none; cursor: pointer; font: 800 12.5px/1.3 var(--ts-fuente); letter-spacing: .09em; text-transform: uppercase; color: var(--ts-granate); }
.ts-w .ts-pol-indice-m summary::-webkit-details-marker { display: none; }
.ts-w .ts-pol-indice-m summary::after { content: ""; flex: none; width: 9px; height: 9px; margin: -4px 4px 0 0; border: solid var(--ts-granate); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .15s; }
.ts-w .ts-pol-indice-m[open] summary::after { margin-top: 4px; transform: rotate(-135deg); }
.ts-w .ts-pol-indice-m ol { margin: 0; padding: 0 10px 12px; list-style: none; }
.ts-w .ts-pol-indice-m li { margin: 0; padding: 0; }
.ts-w .ts-pol-indice-m a { display: flex; align-items: center; min-height: 44px; padding: 8px 10px; border-radius: 10px; font: 600 14.5px/1.35 var(--ts-fuente); color: var(--ts-granate); text-decoration: none; overflow-wrap: anywhere; }
.ts-w .ts-pol-indice-m a:hover, .ts-w .ts-pol-indice-m a[aria-current="true"] { background: var(--ts-crema); font-weight: 800; }

/* ---- cuerpo del texto: columna de lectura de unos 70 caracteres ---- */
.ts-w .ts-pol-cuerpo { font-size: 17px; line-height: 1.65; font-weight: 500; color: #3a1318; overflow-wrap: break-word; }
.ts-w .ts-pol-cuerpo :is(h2, h3, h4) { overflow-wrap: anywhere; }
.ts-w .ts-pol-cuerpo pre { max-width: 100%; margin: 0 0 18px; padding: 12px 16px; border: 1px solid var(--ts-linea); border-radius: 12px; background: var(--ts-crema-claro); font: 600 13px/1.5 ui-monospace, "Cascadia Mono", Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.ts-w .ts-pol-cuerpo > :first-child { margin-top: 0; }
.ts-w .ts-pol-cuerpo > :is(p, ul, ol, h2, h3, h4) { max-width: var(--ts-pol-medida); }
.ts-w .ts-pol-cuerpo p { margin: 0 0 16px; }
.ts-w .ts-pol-cuerpo h2 { margin: 56px 0 18px; padding-top: 30px; border-top: 1px solid var(--ts-linea); font: 800 29px/1.2 var(--ts-fuente); letter-spacing: -.6px; color: var(--ts-granate); scroll-margin-top: 8px; }
.ts-w .ts-pol-cuerpo > h2:first-child { padding-top: 0; border-top: 0; }
.ts-w .ts-pol-cuerpo h3 { margin: 34px 0 12px; font: 800 19px/1.3 var(--ts-fuente); letter-spacing: -.2px; color: var(--ts-granate); scroll-margin-top: 8px; }
.ts-w .ts-pol-cuerpo b, .ts-w .ts-pol-cuerpo strong { font-weight: 700; color: var(--ts-granate); }
.ts-w .ts-pol-cuerpo ul, .ts-w .ts-pol-cuerpo ol { margin: 0 0 18px; padding: 0 0 0 24px; }
.ts-w .ts-pol-cuerpo ul { list-style: disc; }
.ts-w .ts-pol-cuerpo ol { list-style: decimal; }
.ts-w .ts-pol-cuerpo li { margin: 0 0 9px; padding-left: 4px; }
.ts-w .ts-pol-cuerpo li::marker { color: var(--ts-granate); }
.ts-w .ts-pol-cuerpo a { color: var(--ts-granate); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.ts-w .ts-pol-cuerpo a:hover { background: var(--ts-crema-claro); }
.ts-w .ts-pol-cuerpo code { font: 600 13px/1.5 ui-monospace, "Cascadia Mono", Consolas, monospace; background: var(--ts-crema-claro); border: 1px solid var(--ts-linea); border-radius: 6px; padding: 1px 6px; color: var(--ts-granate); overflow-wrap: anywhere; }
.ts-w .ts-pol-cuerpo .ts-nb { white-space: nowrap; }
.ts-w .ts-pol-meta { margin: 0 0 22px; font-size: 13px; color: var(--ts-suave); }

/* ---- resumen en capas («En pocas palabras») ---- */
.ts-w .ts-pol-resumen { margin: 0 0 44px; padding: 28px 32px 14px; border: 1px solid var(--ts-linea); border-radius: 24px; background: var(--ts-crema); }
.ts-w .ts-pol-resumen-t { display: inline-block; margin: 0; padding: 6px 14px; border-radius: 999px; background: var(--ts-amarillo); color: var(--ts-granate); font: 800 12px/1.3 var(--ts-fuente); letter-spacing: .1em; text-transform: uppercase; }
.ts-w .ts-pol-cuerpo .ts-pol-resumen ul { margin: 8px 0 0; padding: 0; list-style: none; }
.ts-w .ts-pol-cuerpo .ts-pol-resumen li { margin: 0; padding: 16px 0; border-top: 1px solid rgba(91, 17, 23, .14); font-size: 16px; line-height: 1.6; }
.ts-w .ts-pol-cuerpo .ts-pol-resumen li:first-child { padding-top: 12px; border-top: 0; }
.ts-w .ts-pol-cuerpo .ts-pol-resumen li > strong:first-child { display: block; margin: 0 0 2px; font-size: 15px; letter-spacing: .005em; }

/* ---- nota destacada ---- */
.ts-w .ts-pol-nota { max-width: var(--ts-pol-medida); margin: 22px 0 26px; padding: 16px 22px; border: 1px solid var(--ts-linea); border-left: 5px solid var(--ts-granate); border-radius: 6px 18px 18px 6px; background: var(--ts-crema-claro); }
.ts-w .ts-pol-cuerpo .ts-pol-nota p { margin: 0; font-size: 15.5px; line-height: 1.6; }
.ts-w .ts-pol-cuerpo .ts-pol-nota p + p { margin-top: 10px; }

/* ---- marcadores de lo que falta: imposibles de pasar por alto ---- */
.ts-w .ts-pol-cuerpo .ts-pend { background: var(--ts-amarillo); color: var(--ts-granate); font-weight: 700; border-radius: 6px; padding: 1px 6px; -webkit-box-decoration-break: clone; box-decoration-break: clone; outline: 1px dashed var(--ts-granate); outline-offset: -1px; }
.ts-w .ts-pol-borrador { max-width: var(--ts-pol-medida); margin: 8px 0 26px; padding: 16px 18px; border: 2px dashed var(--ts-granate); border-radius: 14px; background: var(--ts-crema-claro); font-size: 15px; line-height: 1.6; }
.ts-w .ts-pol-borrador > :last-child { margin-bottom: 0; }
.ts-w .ts-pol-borrador .ts-pol-borrador-t { margin: 0 0 8px; font: 800 12px/1.3 var(--ts-fuente); letter-spacing: .09em; text-transform: uppercase; color: var(--ts-granate); }

/* ---- tablas del contrato (.ts-pol-tabla): caja con borde, cabecera crema ---- */
.ts-w .ts-pol-tabla-caja { margin: 8px 0 26px; border: 1px solid var(--ts-linea); border-radius: 18px; background: #fff; overflow: hidden; }
.ts-w .ts-pol-cuerpo table.ts-pol-tabla { width: 100%; margin: 0; border: 0; border-collapse: collapse; table-layout: auto; font-size: 14.5px; line-height: 1.55; background: transparent; }
.ts-w .ts-pol-cuerpo table.ts-pol-tabla caption { display: table-caption; padding: 14px 18px; text-align: left; font: 800 12px/1.3 var(--ts-fuente); letter-spacing: .09em; text-transform: uppercase; color: var(--ts-granate); border-bottom: 1px solid var(--ts-linea); caption-side: top; }
.ts-w .ts-pol-cuerpo table.ts-pol-tabla :is(th, td) { border: 0; background: transparent; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.ts-w .ts-pol-cuerpo table.ts-pol-tabla tbody tr:is(:nth-child(odd), :nth-child(even), :hover) > :is(th, td) { background: transparent; }
.ts-w .ts-pol-cuerpo table.ts-pol-tabla thead th { padding: 12px 18px; background: var(--ts-crema); border-bottom: 1px solid var(--ts-linea); font: 800 11.5px/1.3 var(--ts-fuente); letter-spacing: .08em; text-transform: uppercase; color: var(--ts-granate); vertical-align: bottom; }
.ts-w .ts-pol-cuerpo table.ts-pol-tabla tbody td { padding: 15px 18px; border-bottom: 1px solid var(--ts-linea); font-weight: 500; overflow-wrap: anywhere; }
.ts-w .ts-pol-cuerpo table.ts-pol-tabla tbody tr:last-child td { border-bottom: 0; }
.ts-w .ts-pol-cuerpo table.ts-pol-tabla td > :last-child { margin-bottom: 0; }
.ts-w .ts-pol-cuerpo table.ts-pol-tabla--n4 :is(th, td):nth-child(1) { width: 25%; }
.ts-w .ts-pol-cuerpo table.ts-pol-tabla--n4 :is(th, td):nth-child(2) { width: 28%; }
.ts-w .ts-pol-cuerpo table.ts-pol-tabla--n4 :is(th, td):nth-child(3) { width: 27%; }
.ts-w .ts-pol-cuerpo table.ts-pol-tabla--n3 :is(th, td):nth-child(1) { width: 28%; }
.ts-w .ts-pol-cuerpo table.ts-pol-tabla--n3 :is(th, td):nth-child(2) { width: 28%; }
.ts-w .ts-pol-cuerpo table.ts-pol-tabla--clave :is(th, td):nth-child(1) { width: 30%; }
.ts-w .ts-pol-cuerpo table.ts-pol-tabla .ts-pend { display: inline; }

/* ---- tablas de cookies (la política de cookies las pinta con sus propias clases; el kit de Elementor y el tema pintan bordes
        y filas cebradas: aquí se anulan) ---- */
.ts-w .ts-pol-cuerpo table:not(.ts-pol-tabla) { width: 100%; margin: 6px 0 22px; border: 0; border-collapse: collapse; table-layout: fixed; font-size: 14px; line-height: 1.55; background: transparent; }
.ts-w .ts-pol-cuerpo table:not(.ts-pol-tabla) caption { text-align: left; padding: 0 0 8px; font: 800 12px/1.3 var(--ts-fuente); letter-spacing: .09em; text-transform: uppercase; color: var(--ts-granate); caption-side: top; }
.ts-w .ts-pol-cuerpo table:not(.ts-pol-tabla) :is(th, td) { border: 0; background: transparent; text-align: left; vertical-align: top; }
.ts-w .ts-pol-cuerpo table:not(.ts-pol-tabla) tbody tr:is(:nth-child(odd), :nth-child(even), :hover) > :is(th, td) { background: transparent; }
.ts-w .ts-pol-cuerpo table:not(.ts-pol-tabla) thead th { padding: 9px 12px 9px 0; border-bottom: 2px solid var(--ts-granate); font: 800 11.5px/1.3 var(--ts-fuente); letter-spacing: .08em; text-transform: uppercase; color: var(--ts-granate); vertical-align: bottom; }
.ts-w .ts-pol-cuerpo table:not(.ts-pol-tabla) tbody :is(th, td) { padding: 11px 12px 11px 0; border-bottom: 1px solid var(--ts-linea); font-weight: 500; overflow-wrap: break-word; }
.ts-w .ts-pol-cuerpo table:not(.ts-pol-tabla) tbody th { font-weight: 700; }
.ts-w .ts-pol-cuerpo table:not(.ts-pol-tabla) tbody th code { display: inline-block; margin: 0 0 4px; }
.ts-w .ts-pol-t-cookies :is(th, td):nth-child(1) { width: 27%; }
.ts-w .ts-pol-cuerpo table:not(.ts-pol-tabla) code { font-size: 12px; padding: 1px 5px; }
.ts-w .ts-pol-t-cookies :is(th, td):nth-child(2) { width: 19%; }
.ts-w .ts-pol-t-cookies :is(th, td):nth-child(3) { width: 24%; }
.ts-w .ts-pol-t-cookies :is(th, td):nth-child(4) { width: 15%; }
.ts-w .ts-pol-t-local :is(th, td):nth-child(1) { width: 30%; }
.ts-w .ts-pol-t-local :is(th, td):nth-child(2) { width: 20%; }
.ts-w .ts-pol-t-local :is(th, td):nth-child(4) { width: 20%; }
.ts-w .ts-pol-t-terceros :is(th, td):nth-child(1) { width: 22%; }
.ts-w .ts-pol-t-terceros :is(th, td):nth-child(2) { width: 22%; }
.ts-w .ts-pol-t-terceros :is(th, td):nth-child(4) { width: 22%; }

/* ---- tarjeta final «¿Dudas? Escríbenos» ---- */
.ts-w .ts-pol-dudas { margin: 72px 0 0; padding: 32px 36px; border-radius: 24px; background: var(--ts-granate); color: var(--ts-crema); }
.ts-w .ts-pol-dudas :focus-visible { outline-color: var(--ts-amarillo); }
.ts-w .ts-pol-dudas-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 36px; }
.ts-w .ts-pol-dudas-txt { flex: 1 1 340px; max-width: 520px; }
.ts-w .ts-pol-dudas h2 { margin: 0 0 8px; font: 800 26px/1.2 var(--ts-fuente); letter-spacing: -.4px; color: #fff; }
.ts-w .ts-pol-dudas p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--ts-crema); }
.ts-w .ts-pol-dudas .ts-pol-dudas-local { margin-top: 8px; font-size: 13.5px; opacity: .85; }
.ts-w .ts-pol-dudas-acc { display: flex; flex-wrap: wrap; gap: 12px; }
.ts-w .ts-pol-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; font: 700 15px/1.2 var(--ts-fuente); text-decoration: none; overflow-wrap: anywhere; transition: background .15s, color .15s; }
.ts-w .ts-pol-btn--principal { background: var(--ts-amarillo); color: var(--ts-granate); }
.ts-w .ts-pol-btn--principal:hover { background: #fff; }
.ts-w .ts-pol-btn--sec { border: 1.5px solid var(--ts-amarillo); color: var(--ts-amarillo); }
.ts-w .ts-pol-btn--sec:hover { background: rgba(255, 255, 255, .12); }
.ts-w .ts-pol-dudas-otras { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(246, 237, 207, .28); font-size: 14px; }
.ts-w .ts-pol-dudas-otras > span { font: 800 11.5px/1.3 var(--ts-fuente); letter-spacing: .1em; text-transform: uppercase; color: var(--ts-crema); opacity: .8; }
.ts-w .ts-pol-dudas-otras ul { display: flex; flex-wrap: wrap; gap: 2px 20px; margin: 0; padding: 0; list-style: none; }
.ts-w .ts-pol-dudas-otras a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ts-amarillo); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.ts-w .ts-pol-dudas-otras a:hover { color: #fff; }

/* ---- índice plegable (en vez de la columna fija) por debajo de 1160 px ---- */
@media screen and (max-width: 1160px) {
	.ts-w .ts-pol-cols { display: block; padding: 36px 40px 64px; }
	.ts-w .ts-pol-lateral { display: none; }
	.ts-w .ts-pol-indice-m { display: block; }
}

@media screen and (max-width: 960px) {
	.ts-w .ts-pol-cab { padding: 8px 28px 32px; }
	.ts-w .ts-pol-revision { padding-left: 28px; padding-right: 28px; }
	.ts-w .ts-pol-cols { padding: 30px 28px 56px; }
	.ts-w .ts-pol-titulo { font-size: 40px; }
	/* Las tablas de cookies (5 columnas) no caben: pasan a fichas apiladas con su etiqueta, sin scroll horizontal. */
	.ts-w .ts-pol-cuerpo table:not(.ts-pol-tabla), .ts-w .ts-pol-cuerpo table:not(.ts-pol-tabla) tbody, .ts-w .ts-pol-cuerpo table:not(.ts-pol-tabla) tr, .ts-w .ts-pol-cuerpo table:not(.ts-pol-tabla) tbody th, .ts-w .ts-pol-cuerpo table:not(.ts-pol-tabla) tbody td { display: block; width: 100% !important; table-layout: auto; }
	.ts-w .ts-pol-cuerpo table:not(.ts-pol-tabla) thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
	.ts-w .ts-pol-cuerpo table:not(.ts-pol-tabla) caption { display: block; }
	.ts-w .ts-pol-cuerpo table:not(.ts-pol-tabla) tbody tr { padding: 14px 0; border-bottom: 1px solid var(--ts-linea); }
	.ts-w .ts-pol-cuerpo table:not(.ts-pol-tabla) tbody th, .ts-w .ts-pol-cuerpo table:not(.ts-pol-tabla) tbody td { padding: 3px 0; border: 0; }
	.ts-w .ts-pol-cuerpo table:not(.ts-pol-tabla) tbody td::before { display: block; font: 800 10.5px/1.5 var(--ts-fuente); letter-spacing: .09em; text-transform: uppercase; color: var(--ts-suave); }
	.ts-w .ts-pol-t-cookies td:nth-of-type(1)::before { content: "Quién la pone"; }
	.ts-w .ts-pol-t-cookies td:nth-of-type(2)::before { content: "Para qué sirve"; }
	.ts-w .ts-pol-t-cookies td:nth-of-type(3)::before { content: "Cuánto dura"; }
	.ts-w .ts-pol-t-cookies td:nth-of-type(4)::before { content: "Categoría"; }
	.ts-w .ts-pol-t-local td:nth-of-type(1)::before { content: "Quién lo pone"; }
	.ts-w .ts-pol-t-local td:nth-of-type(2)::before { content: "Para qué sirve"; }
	.ts-w .ts-pol-t-local td:nth-of-type(3)::before { content: "Categoría"; }
	.ts-w .ts-pol-t-terceros td:nth-of-type(1)::before { content: "Para qué"; }
	.ts-w .ts-pol-t-terceros td:nth-of-type(2)::before { content: "Cuándo"; }
	.ts-w .ts-pol-t-terceros td:nth-of-type(3)::before { content: "Más información"; }
}

/* Tablas del contrato: tarjetas apiladas, cada celda con la etiqueta de su columna (data-label, puesta por PHP). */
@media screen and (max-width: 860px) {
	.ts-w .ts-pol-tabla-caja { margin: 8px 0 22px; border: 0; border-radius: 0; background: transparent; overflow: visible; }
	.ts-w .ts-pol-cuerpo table.ts-pol-tabla, .ts-w .ts-pol-cuerpo table.ts-pol-tabla tbody, .ts-w .ts-pol-cuerpo table.ts-pol-tabla tr, .ts-w .ts-pol-cuerpo table.ts-pol-tabla tbody td { display: block; width: 100% !important; }
	.ts-w .ts-pol-cuerpo table.ts-pol-tabla thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
	.ts-w .ts-pol-cuerpo table.ts-pol-tabla caption { display: block; padding: 0 0 10px; border: 0; }
	.ts-w .ts-pol-cuerpo table.ts-pol-tabla tbody tr { margin: 0 0 14px; padding: 8px 18px; border: 1px solid var(--ts-linea); border-radius: 16px; background: #fff; }
	.ts-w .ts-pol-cuerpo table.ts-pol-tabla tbody td { padding: 8px 0; border: 0; background: transparent; }
	.ts-w .ts-pol-cuerpo table.ts-pol-tabla tbody td[data-label]::before { content: attr(data-label); display: block; margin: 0 0 3px; font: 800 10.5px/1.5 var(--ts-fuente); letter-spacing: .09em; text-transform: uppercase; color: var(--ts-suave); }
	.ts-w .ts-pol-cuerpo table.ts-pol-tabla tbody td:first-child { padding-top: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--ts-linea); font-size: 16px; }
	.ts-w .ts-pol-cuerpo table.ts-pol-tabla tbody td:first-child:not(:only-child) + td { padding-top: 12px; }
	.ts-w .ts-pol-cuerpo table.ts-pol-tabla tbody td:last-child { padding-bottom: 12px; }
	/* Tablas de «dato → información» (dos columnas): la primera celda hace de etiqueta. */
	.ts-w .ts-pol-cuerpo table.ts-pol-tabla--clave tbody tr { padding: 10px 18px 12px; }
	.ts-w .ts-pol-cuerpo table.ts-pol-tabla--clave tbody td:first-child { padding: 0 0 2px; border: 0; background: transparent; font: 800 10.5px/1.5 var(--ts-fuente); letter-spacing: .09em; text-transform: uppercase; color: var(--ts-suave); }
	.ts-w .ts-pol-cuerpo table.ts-pol-tabla--clave tbody td:first-child strong { font: inherit; color: inherit; }
	.ts-w .ts-pol-cuerpo table.ts-pol-tabla--clave tbody td:last-child { padding: 0; }
	.ts-w .ts-pol-cuerpo table.ts-pol-tabla--clave tbody td[data-label]::before { display: none; }
}

@media screen and (max-width: 600px) {
	.ts-w .ts-pol-revision { padding-left: 20px; padding-right: 20px; font-size: 13.5px; }
	.ts-w .ts-pol-cab { padding: 4px 20px 28px; }
	.ts-w .ts-pol-titulo { font-size: 32px; letter-spacing: -.8px; }
	.ts-w .ts-pol-cols { padding: 24px 20px 48px; }
	.ts-w .ts-pol-cuerpo { font-size: 16px; }
	.ts-w .ts-pol-cuerpo h2 { margin-top: 44px; padding-top: 24px; font-size: 24px; }
	.ts-w .ts-pol-cuerpo h3 { margin-top: 28px; font-size: 17.5px; }
	.ts-w .ts-pol-resumen { padding: 22px 20px 8px; border-radius: 20px; }
	.ts-w .ts-pol-cuerpo .ts-pol-resumen li { font-size: 15.5px; }
	.ts-w .ts-pol-nota { padding: 14px 16px; }
	.ts-w .ts-pol-dudas { margin-top: 56px; padding: 26px 22px; border-radius: 20px; }
	.ts-w .ts-pol-dudas h2 { font-size: 23px; }
	.ts-w .ts-pol-dudas-acc { width: 100%; }
	.ts-w .ts-pol-btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) { .ts-w .ts-pol * { transition: none !important; } }

/* ---- impresión: solo el texto, sin cabecera de la web, pie, índice ni avisos; los enlaces enseñan su dirección ---- */
@media print {
	body.ts-pagina-legal :is(header.elementor-location-header, footer.elementor-location-footer, .ts-pie, #wpadminbar, [class*="cookieadmin_"], .ts-pol-lateral, .ts-pol-indice-m, .ts-pol-imprimir, .ts-pol-dudas-otras) { display: none !important; }
	body.ts-pagina-legal { background: #fff !important; }
	.ts-w .ts-pol { color: #000; font-size: 11pt; }
	.ts-w .ts-pol-revision { background: none; color: #000; padding: 0 0 8pt; border-bottom: 1px solid #000; }
	.ts-w .ts-pol-revision strong { color: #000; }
	.ts-w .ts-pol-cab { padding: 0 0 10pt; background: none; border: 0; }
	.ts-w .ts-pol-titulo { font-size: 24pt; color: #000; letter-spacing: 0; }
	.ts-w .ts-pol-fecha, .ts-w .ts-pol-fecha time { color: #000; }
	.ts-w .ts-pol-cols { display: block; padding: 0; }
	.ts-w .ts-pol-principal { max-width: none; }
	.ts-w .ts-pol-cuerpo { font-size: 11pt; line-height: 1.5; color: #000; }
	.ts-w .ts-pol-cuerpo > :is(p, ul, ol, h2, h3, h4), .ts-w .ts-pol-nota { max-width: none; }
	.ts-w .ts-pol-cuerpo h2 { margin: 18pt 0 8pt; padding-top: 0; border: 0; font-size: 15pt; color: #000; break-after: avoid; }
	.ts-w .ts-pol-cuerpo h3 { margin: 12pt 0 6pt; font-size: 12.5pt; color: #000; break-after: avoid; }
	.ts-w .ts-pol-cuerpo :is(a, b, strong) { color: #000; }
	.ts-w .ts-pol-cuerpo a { text-decoration: underline; }
	.ts-w .ts-pol-cuerpo a[href^="http"]::after, .ts-w .ts-pol-cuerpo a[href^="/"]::after { content: " (" attr(href) ")"; font-weight: 400; font-size: 9pt; overflow-wrap: anywhere; }
	/* El tema imprime la dirección de todos los enlaces: aquí solo los de fuera (correo, teléfono, anclas y migas ya se leen). */
	.ts-w .ts-pol a[href^="mailto:"]::after, .ts-w .ts-pol a[href^="tel:"]::after, .ts-w .ts-pol a[href^="#"]::after, .ts-w .ts-pol .ts-migas a::after { content: none !important; }
	.ts-w .ts-pol-resumen, .ts-w .ts-pol-nota, .ts-w .ts-pol-borrador { background: none; border: 1px solid #000; border-radius: 0; }
	.ts-w .ts-pol-resumen-t { background: none; padding: 0; color: #000; }
	.ts-w .ts-pol-cuerpo .ts-pend { background: none; outline: 1px dashed #000; color: #000; }
	.ts-w .ts-pol-tabla-caja { border: 1px solid #000; border-radius: 0; }
	.ts-w .ts-pol-cuerpo table.ts-pol-tabla { font-size: 9.5pt; }
	.ts-w .ts-pol-cuerpo table.ts-pol-tabla thead th { background: none; color: #000; border-bottom: 1px solid #000; }
	.ts-w .ts-pol-cuerpo table.ts-pol-tabla tbody td { border-bottom: 1px solid #999; }
	.ts-w .ts-pol-cuerpo table.ts-pol-tabla--clave tbody td:first-child { background: none; }
	.ts-w .ts-pol-cuerpo table tr, .ts-w .ts-pol-resumen li, .ts-w .ts-pol-nota { break-inside: avoid; }
	.ts-w .ts-pol-dudas { margin-top: 24pt; padding: 10pt 0 0; background: none; color: #000; border-top: 1px solid #000; border-radius: 0; break-inside: avoid; }
	.ts-w .ts-pol-dudas h2 { font-size: 13pt; color: #000; }
	.ts-w .ts-pol-dudas p { color: #000; }
	.ts-w .ts-pol-btn { min-height: 0; padding: 0 12pt 0 0; border: 0 !important; background: none !important; color: #000 !important; font-size: 11pt; }
}
