/* Estilos para páginas legales AEF */

.legal-page-wrapper {
	padding: 2rem 0;
}

.legal-page-wrapper .container-large {
	max-width: 100%;
	margin: 0 auto;
	padding-left: 1rem;
	padding-right: 1rem;
}

.legal-page-title {
	font-size: 2.5rem;
	font-weight: 700;
	color: #000;
	margin-bottom: 1rem;
	line-height: 1.2;
}

.legal-page-update {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 2rem;
	font-size: 0.875rem;
	color: #666;
}

.legal-page-update svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	color: #666;
}

/* Estilos para legal-page-update dentro del contenido */
.legal-page-content .legal-page-update {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 2rem;
	margin-top: 0;
	font-size: 0.875rem;
	color: #666;
}

.legal-page-content .legal-page-update svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	color: #666;
}

.legal-page-content {
	font-size: 1rem;
	line-height: 1.6;
	color: #333;
}

.legal-page-content h2 {
	font-size: 1.5rem;
	font-weight: 700;
	margin-top: 2rem;
	margin-bottom: 1rem;
	color: #000;
}

.legal-page-content h3 {
	font-size: 1.25rem;
	font-weight: 600;
	margin-top: 1.5rem;
	margin-bottom: 0.75rem;
	color: #000;
}

.legal-page-content p {
	margin-bottom: 1rem;
}

.legal-page-content ul,
.legal-page-content ol {
	margin-bottom: 1rem;
	padding-left: 1.5rem;
}

.legal-page-content li {
	margin-bottom: 0.5rem;
}

.legal-page-content a {
	color: #0070C1;
	text-decoration: underline;
}

.legal-page-content a:hover {
	text-decoration: none;
}

/* Índice de contenidos */
.table-of-contents {
	margin: 2rem 0;
	padding: 1.5rem;
	background-color: #f9f9f9;
	border-radius: 4px;
}

.table-of-contents h2 {
	margin-top: 0;
	margin-bottom: 1rem;
	font-size: 1.25rem;
}

.table-of-contents ol,
.table-of-contents ul {
	margin-bottom: 0;
}

.table-of-contents li {
	margin-bottom: 0.5rem;
}

.table-of-contents a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	text-decoration: none;
	color: #333;
	transition: color 0.2s ease;
}

.table-of-contents a:hover {
	color: #0070C1;
	text-decoration: underline;
}

.table-of-contents a svg {
	width: 15px;
	height: 7px;
	flex-shrink: 0;
}

.legal-page-content .table-of-contents {
	margin: 2rem 0;
	padding: 1.5rem;
	background-color: #f9f9f9;
	border-radius: 4px;
}

.legal-page-content .table-of-contents h2 {
	margin-top: 0;
	margin-bottom: 1rem;
	font-size: 1.25rem;
}

.legal-page-content .table-of-contents ol,
.legal-page-content .table-of-contents ul {
	margin-bottom: 0;
}

.legal-page-content .table-of-contents li {
	margin-bottom: 0.5rem;
}

.legal-page-content .table-of-contents a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	text-decoration: none;
	color: #333;
	transition: color 0.2s ease;
}

.legal-page-content .table-of-contents a:hover {
	color: #0070C1;
	text-decoration: underline;
}

.legal-page-content .table-of-contents svg {
	width: 15px;
	height: 7px;
	flex-shrink: 0;
}

/* Tablas */
.legal-page-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 2rem 0;
}

.legal-page-content table th,
.legal-page-content table td {
	padding: 0.75rem;
	text-align: left;
	border: 1px solid #ddd;
}

.legal-page-content table th {
	background-color: #f5f5f5;
	font-weight: 600;
}

/* Responsive */
@media (min-width: 768px) {
	.legal-page-wrapper .container-large {
		padding-left: 2rem;
		padding-right: 2rem;
	}
}

@media (min-width: 1024px) {
	.legal-page-wrapper .container-large {
		padding-left: 4rem;
		padding-right: 4rem;
	}
}

@media (min-width: 1440px) {
	.legal-page-wrapper .container-large {
		padding-left: 260px;
		padding-right: 260px;
		max-width: 1920px;
	}
}

@media (min-width: 1920px) {
	.legal-page-wrapper .container-large {
		padding-left: calc((100% - 1400px) / 2);
		padding-right: calc((100% - 1400px) / 2);
	}
}

@media (max-width: 768px) {
	.legal-page-wrapper .container-large {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.legal-page-title {
		font-size: 2rem;
	}

	.legal-page-content h2 {
		font-size: 1.25rem;
	}

	.legal-page-content h3 {
		font-size: 1.125rem;
	}
}

