/* ============================================================
   Pàgines legals (2026) i pàgina 404
   Complementa els estils .vl-legal de style.css.
   ============================================================ */

/* ---------- Contenidor ---------- */
.vl-legal.vl-legal--2026 {
	max-width: 760px;
	margin: 0 auto;
	padding: 3.5rem 1.5rem 4.5rem;
	box-sizing: border-box;
}
.vl-legal--2026 > .is-eyebrow { margin: 0 0 0.6rem; }
.vl-legal--2026 h1 { margin: 0 0 0.6rem; }
.vl-legal--2026 .vl-legal__meta { margin: 0 0 1.75rem; padding-bottom: 1.25rem; }
.vl-legal--2026 .vl-legal__lead { font-size: 1.25rem; margin: 0 0 2.25rem; }
.vl-legal--2026 h2 { margin: 2.5rem 0 0.9rem; padding-top: 1.5rem; }
.vl-legal--2026 h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.vl-legal--2026 p { margin: 0 0 1rem; }
.vl-legal--2026 a { overflow-wrap: anywhere; }

/* Targeta del titular */
.vl-legal--2026 .vl-legal__card { border-radius: 18px; }

/* Taula de cookies: lliscament horitzontal dins del contenidor */
.vl-legal--2026 .vl-legal__tablewrap {
	max-width: 100%;
	border-radius: 18px;
	-webkit-overflow-scrolling: touch;
}
.vl-legal--2026 .vl-legal__table th:first-child,
.vl-legal--2026 .vl-legal__table td:first-child { min-width: 9.5rem; }
.vl-legal--2026 .vl-legal__table code { white-space: nowrap; }
.vl-legal__hint {
	display: none;
	font-size: 0.8rem !important;
	color: var(--vl-sage-dark) !important;
	margin: -0.5rem 0 1rem !important;
}

/* Botó de configuració de cookies */
.vl-legal--2026 .rcb-sc-link { margin: 0.25rem 0 1.25rem; }

/* Altres textos legals */
.vl-legal__others {
	margin-top: 3rem;
	padding-top: 1.75rem;
	border-top: 1px solid var(--vl-hair);
}
.vl-legal__others-title {
	text-transform: uppercase;
	letter-spacing: 0.2em;
	font-size: 0.72rem !important;
	font-weight: 700;
	color: var(--vl-sage-dark) !important;
	margin: 0 0 0.9rem !important;
}
.vl-legal__others ul {
	list-style: none;
	padding: 0 !important;
	margin: 0 !important;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}
.vl-legal__others li { margin: 0 !important; }
.vl-legal--2026 .vl-legal__others a.vl-btn { text-decoration: none; color: var(--vl-sage-dark); }
.vl-legal--2026 .vl-legal__others a.vl-btn:hover { color: var(--vl-cream); }

@media (max-width: 700px) {
	.vl-legal.vl-legal--2026 { padding: 2rem 1.25rem 3rem; }
	.vl-legal--2026 .vl-legal__lead { font-size: 1.1rem; line-height: 1.55; margin-bottom: 1.75rem; }
	.vl-legal--2026 h2 { margin-top: 2rem; padding-top: 1.25rem; }
	.vl-legal__hint { display: block; }
	.vl-legal__others ul { flex-direction: column; }
	.vl-legal__others a.vl-btn { width: 100%; }
}

/* ---------- Pàgina 404 ---------- */
.vl-404 {
	max-width: 640px;
	margin: 0 auto;
	padding: 3.5rem 1.5rem 4.5rem;
	box-sizing: border-box;
	text-align: center;
}
.vl-404__code {
	font-family: 'Fraunces', Georgia, serif;
	font-size: clamp(3.5rem, 14vw, 6rem);
	line-height: 1;
	color: var(--vl-terra);
	margin: 0 0 0.5rem;
}
.vl-404 h1 { margin: 0 0 1rem; }
.vl-404__lead {
	font-size: 1.05rem;
	line-height: 1.7;
	color: #3c3d39;
	margin: 0 auto 1.75rem;
	max-width: 34rem;
}
.vl-404__btns {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
	margin: 0 0 2.25rem;
}
.vl-404__langs {
	border-top: 1px solid var(--vl-hair);
	padding-top: 1.5rem;
}
.vl-404__langs p {
	margin: 0 0 0.6rem;
	font-size: 0.95rem;
	line-height: 1.6;
	color: #3c3d39;
}
.vl-404__langs a {
	display: inline-block;
	padding: 0.6rem 0.25rem;
	color: var(--vl-terra-dark);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}
@media (max-width: 600px) {
	.vl-404 { padding: 2.25rem 1.25rem 3rem; }
	.vl-404__btns { flex-direction: column; align-items: stretch; }
	.vl-404__btns .vl-btn { width: 100%; }
}
