/* ==========================================================================
   Aula Culinària — páginas legales (tema hijo 1.5.3)
   Privacidad, cookies y devoluciones.

   Uso: en el Text Block del texto legal, envolver todo el contenido en
   <div class="ac-texto-legal"> … </div>
   (No confundir con .ac-legal, que es la barra legal del pie.)
   ========================================================================== */

.ac-site .ac-texto-legal {
	max-width: 860px;
	margin: 0 auto;
	color: var(--ac-ink, #1d1b1b);
	font-size: 1rem;
	line-height: 1.7;
}

/* Títulos de apartado: h2 más pequeño (se mantiene el nivel h2 por SEO y accesibilidad) */
.ac-site .ac-texto-legal h2 {
	font-family: var(--ac-font-display, "Playfair Display", Georgia, serif);
	font-size: 1.375rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--ac-ink, #1d1b1b);
	margin: 2.2em 0 .6em;
	padding-top: 1.1em;
	border-top: 1px solid var(--ac-line, #e7e0da);
}
.ac-site .ac-texto-legal h2:first-of-type {
	margin-top: 1.2em;
	padding-top: 0;
	border-top: 0;
}
.ac-site .ac-texto-legal h3 {
	font-size: 1.125rem;
	margin: 1.6em 0 .4em;
}

.ac-site .ac-texto-legal p,
.ac-site .ac-texto-legal li {
	font-size: 1rem;
	line-height: 1.7;
}
.ac-site .ac-texto-legal p {
	margin: 0 0 1em;
}
.ac-site .ac-texto-legal ul,
.ac-site .ac-texto-legal ol {
	margin: 0 0 1.2em;
	padding-left: 1.3em;
}
.ac-site .ac-texto-legal li + li {
	margin-top: .3em;
}
.ac-site .ac-texto-legal a {
	color: var(--ac-red, #b32034);
	text-decoration: underline;
	text-underline-offset: 2px;
}
.ac-site .ac-texto-legal a:hover {
	color: var(--ac-red-dark, #841426);
}

/* Tabla de cookies */
.ac-site .ac-texto-legal table {
	width: 100%;
	border-collapse: collapse;
	margin: 1em 0 1.6em;
	font-size: .875rem;
	line-height: 1.5;
	border: 1px solid var(--ac-line, #e7e0da);
	border-radius: 12px;
	overflow: hidden;
}
.ac-site .ac-texto-legal th,
.ac-site .ac-texto-legal td {
	padding: 10px 12px;
	border: 0;
	border-bottom: 1px solid var(--ac-line, #e7e0da);
	text-align: left;
	vertical-align: top;
}
.ac-site .ac-texto-legal th {
	background: var(--ac-cream, #f6f2ed);
	font-weight: 600;
	color: var(--ac-ink, #1d1b1b);
}
.ac-site .ac-texto-legal tbody tr:last-child td {
	border-bottom: 0;
}
.ac-site .ac-texto-legal code {
	font-size: .85em;
	background: var(--ac-cream, #f6f2ed);
	padding: 1px 5px;
	border-radius: 4px;
	white-space: nowrap;
}

/* Móvil: la tabla se desplaza en horizontal en lugar de romper la página */
@media (max-width: 800px) {
	.ac-site .ac-texto-legal h2 {
		font-size: 1.25rem;
	}
	.ac-site .ac-texto-legal table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
	.ac-site .ac-texto-legal th,
	.ac-site .ac-texto-legal td {
		min-width: 140px;
	}
}
