/* Lallans Media Legal */

.lm-legal-page {
	--lm-bg: #0d0d0c;
	--lm-bg-soft: #171612;
	--lm-gold: #c8a96a;
	--lm-gold-light: #ead9b2;
	--lm-white: #ffffff;
	--lm-text: #eee9df;
	--lm-muted: #aaa294;
	--lm-border: rgba(255,255,255,.11);

	margin: 0;
	padding: clamp(120px, 14vw, 190px) 0 clamp(80px, 10vw, 140px);
	color: var(--lm-text);
	background:
		radial-gradient(circle at 80% 8%, rgba(200,169,106,.12), transparent 32%),
		linear-gradient(145deg, var(--lm-bg), var(--lm-bg-soft));
}

.lm-legal-container {
	width: min(100% - 40px, 980px);
	margin-inline: auto;
}

.lm-legal-hero {
	padding-bottom: clamp(45px, 7vw, 80px);
	border-bottom: 1px solid var(--lm-border);
}

.lm-legal-eyebrow {
	margin: 0 0 14px;
	color: var(--lm-gold);
	font-size: .76rem;
	font-weight: 800;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.lm-legal-hero h1 {
	margin: 0 0 22px;
	color: var(--lm-white);
	font-size: clamp(3rem, 8vw, 6.5rem);
	font-weight: 800;
	line-height: .96;
	letter-spacing: -.06em;
}

.lm-legal-hero > p:last-child {
	max-width: 720px;
	margin: 0;
	color: var(--lm-muted);
	font-size: clamp(1.05rem, 2vw, 1.25rem);
	line-height: 1.7;
}

.lm-legal-content {
	padding-top: clamp(45px, 7vw, 80px);
}

.lm-legal-content h2 {
	margin: 48px 0 14px;
	color: var(--lm-white);
	font-size: clamp(1.45rem, 3vw, 2.1rem);
	line-height: 1.2;
	letter-spacing: -.03em;
}

.lm-legal-content h2:first-child {
	margin-top: 0;
}

.lm-legal-content p,
.lm-legal-content li {
	color: var(--lm-text);
	font-size: 1rem;
	line-height: 1.8;
}

.lm-legal-content ul {
	padding-left: 22px;
}

.lm-legal-content a {
	color: var(--lm-gold-light);
	text-underline-offset: .18em;
}

.lm-legal-updated {
	margin-top: 55px;
	padding-top: 22px;
	color: var(--lm-muted) !important;
	border-top: 1px solid var(--lm-border);
}

.lm-legal-links {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 18px;
	margin-left: auto;
}

.lm-legal-links a {
	color: #eee9df !important;
	font-size: .78rem;
	text-decoration: none !important;
	white-space: nowrap;
}

.lm-legal-links a:hover {
	color: #ead9b2 !important;
}

@media (max-width: 900px) {
	.lm-remodel-footer__bottom {
		flex-wrap: wrap;
	}

	.lm-legal-links {
		width: 100%;
		justify-content: flex-start;
		margin-left: 0;
	}
}

@media (max-width: 680px) {
	.lm-legal-container {
		width: min(100% - 28px, 980px);
	}

	.lm-legal-page {
		padding-top: 105px;
	}

	.lm-legal-links {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}
}


/* VERSION 1.1 — ENLACES LEGALES MÁS SEPARADOS Y ALINEADOS A LA DERECHA */
.lm-remodel-footer__bottom {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 36px !important;
	width: min(100% - 40px, 1180px) !important;
}

.lm-legal-links {
	display: flex !important;
	align-items: center !important;
	justify-content: flex-end !important;
	flex-wrap: nowrap !important;
	gap: 34px !important;
	margin-left: auto !important;
	text-align: right !important;
}

.lm-legal-links a {
	display: inline-block !important;
	white-space: nowrap !important;
}

@media (max-width: 900px) {
	.lm-remodel-footer__bottom {
		flex-wrap: wrap !important;
	}

	.lm-legal-links {
		width: 100% !important;
		justify-content: flex-end !important;
		gap: 24px !important;
	}
}

@media (max-width: 680px) {
	.lm-remodel-footer__bottom {
		align-items: flex-start !important;
	}

	.lm-legal-links {
		justify-content: flex-start !important;
		flex-wrap: wrap !important;
		gap: 12px 22px !important;
		text-align: left !important;
	}
}


/* VERSION 1.2 — SEPARACIÓN AMPLIA Y ALINEACIÓN DERECHA REAL */
.lm-remodel-footer__bottom {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) auto !important;
	align-items: center !important;
	column-gap: 56px !important;
	width: min(100% - 40px, 1180px) !important;
}

.lm-remodel-footer__copyright {
	margin: 0 !important;
	justify-self: start !important;
}

.lm-legal-links {
	display: grid !important;
	grid-template-columns: repeat(3, max-content) !important;
	align-items: center !important;
	justify-content: end !important;
	justify-self: end !important;
	column-gap: 48px !important;
	row-gap: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	text-align: right !important;
}

.lm-legal-links a {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	white-space: nowrap !important;
	font-size: .82rem !important;
	line-height: 1.2 !important;
}

@media (max-width: 980px) {
	.lm-remodel-footer__bottom {
		grid-template-columns: 1fr !important;
		row-gap: 22px !important;
	}

	.lm-legal-links {
		justify-self: end !important;
		column-gap: 34px !important;
	}
}

@media (max-width: 680px) {
	.lm-legal-links {
		grid-template-columns: 1fr !important;
		justify-self: start !important;
		justify-content: start !important;
		row-gap: 14px !important;
		text-align: left !important;
	}
}


/* VERSION 1.3 — SEPARACIÓN DEL FOOTER EN LA PÁGINA PRINCIPAL */
body.home .lm-remodel-footer__bottom,
body.front-page .lm-remodel-footer__bottom,
body.lallans-media-home .lm-remodel-footer__bottom {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) auto !important;
	align-items: center !important;
	column-gap: 72px !important;
}

body.home .lm-legal-links,
body.front-page .lm-legal-links,
body.lallans-media-home .lm-legal-links {
	display: grid !important;
	grid-template-columns: repeat(3, max-content) !important;
	justify-self: end !important;
	justify-content: end !important;
	align-items: center !important;
	column-gap: 56px !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.home .lm-legal-links a,
body.front-page .lm-legal-links a,
body.lallans-media-home .lm-legal-links a {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	white-space: nowrap !important;
}

@media (max-width: 980px) {
	body.home .lm-remodel-footer__bottom,
	body.front-page .lm-remodel-footer__bottom,
	body.lallans-media-home .lm-remodel-footer__bottom {
		grid-template-columns: 1fr !important;
		row-gap: 24px !important;
	}

	body.home .lm-legal-links,
	body.front-page .lm-legal-links,
	body.lallans-media-home .lm-legal-links {
		justify-self: end !important;
		column-gap: 36px !important;
	}
}

@media (max-width: 680px) {
	body.home .lm-legal-links,
	body.front-page .lm-legal-links,
	body.lallans-media-home .lm-legal-links {
		grid-template-columns: 1fr !important;
		justify-self: start !important;
		row-gap: 14px !important;
	}
}


/* =========================================================
   VERSION 1.4 — RESPONSIVE COMPLETO PARA PÁGINAS LEGALES
   ========================================================= */

@media (max-width: 900px) {
	.lm-legal-page {
		padding-top: 120px;
		padding-bottom: 90px;
	}

	.lm-legal-container {
		width: min(100% - 34px, 900px);
	}

	.lm-legal-hero h1 {
		font-size: clamp(2.8rem, 9vw, 5rem);
	}

	.lm-legal-content h2 {
		font-size: clamp(1.4rem, 4vw, 1.9rem);
	}

	.lm-remodel-footer__bottom {
		grid-template-columns: 1fr !important;
		row-gap: 22px !important;
	}

	.lm-legal-links {
		justify-self: start !important;
		justify-content: start !important;
		column-gap: 30px !important;
	}
}

@media (max-width: 680px) {
	.lm-legal-page {
		padding-top: 100px;
		padding-bottom: 70px;
	}

	.lm-legal-container {
		width: min(100% - 26px, 100%);
	}

	.lm-legal-hero {
		padding-bottom: 38px;
	}

	.lm-legal-hero h1 {
		font-size: clamp(2.45rem, 14vw, 4rem);
		line-height: .98;
		overflow-wrap: anywhere;
	}

	.lm-legal-hero > p:last-child {
		font-size: 1rem;
		line-height: 1.65;
	}

	.lm-legal-content {
		padding-top: 40px;
	}

	.lm-legal-content h2 {
		margin-top: 38px;
		font-size: 1.45rem;
	}

	.lm-legal-content p,
	.lm-legal-content li {
		font-size: .98rem;
		line-height: 1.75;
	}

	.lm-legal-content ul {
		padding-left: 19px;
	}

	body.home .lm-remodel-footer__bottom,
	body.front-page .lm-remodel-footer__bottom,
	body.lallans-media-home .lm-remodel-footer__bottom {
		grid-template-columns: 1fr !important;
		row-gap: 18px !important;
	}

	body.home .lm-legal-links,
	body.front-page .lm-legal-links,
	body.lallans-media-home .lm-legal-links,
	.lm-legal-links {
		display: flex !important;
		flex-direction: column !important;
		align-items: flex-start !important;
		justify-content: flex-start !important;
		justify-self: start !important;
		gap: 12px !important;
		width: 100% !important;
		text-align: left !important;
	}

	.lm-legal-links a {
		font-size: .82rem !important;
		line-height: 1.4 !important;
	}
}

@media (max-width: 420px) {
	.lm-legal-container {
		width: min(100% - 20px, 100%);
	}

	.lm-legal-hero h1 {
		font-size: clamp(2.2rem, 13vw, 3.3rem);
	}

	.lm-legal-content p,
	.lm-legal-content li {
		font-size: .95rem;
	}
}


/* =========================================================
   VERSION 1.5 — ENLACES LEGALES BAJO COPYRIGHT EN MÓVIL
   ========================================================= */

@media (max-width: 680px) {
	.lm-remodel-footer__bottom,
	body.home .lm-remodel-footer__bottom,
	body.front-page .lm-remodel-footer__bottom,
	body.lallans-media-home .lm-remodel-footer__bottom {
		display: grid !important;
		grid-template-columns: 1fr !important;
		align-items: start !important;
		row-gap: 14px !important;
	}

	.lm-remodel-footer__copyright {
		grid-row: 1 !important;
		width: 100% !important;
		margin: 0 !important;
	}

	.lm-legal-links,
	body.home .lm-legal-links,
	body.front-page .lm-legal-links,
	body.lallans-media-home .lm-legal-links {
		grid-row: 2 !important;
		display: grid !important;
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		align-items: center !important;
		justify-content: stretch !important;
		justify-self: stretch !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
		column-gap: 8px !important;
		row-gap: 0 !important;
		text-align: center !important;
	}

	.lm-legal-links a,
	body.home .lm-legal-links a,
	body.front-page .lm-legal-links a,
	body.lallans-media-home .lm-legal-links a {
		display: block !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 4px 2px !important;
		font-size: .68rem !important;
		line-height: 1.25 !important;
		white-space: normal !important;
		text-align: center !important;
	}
}

@media (max-width: 380px) {
	.lm-legal-links a,
	body.home .lm-legal-links a,
	body.front-page .lm-legal-links a,
	body.lallans-media-home .lm-legal-links a {
		font-size: .63rem !important;
		letter-spacing: -.01em !important;
	}
}
