/**
 * Legal and sitemap pages.
 */

.nhm-legal__article h1 {
	font-family: var(--nhm-font-display);
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	margin: 0 0 var(--nhm-space-6);
	color: var(--nhm-primary);
}

.nhm-legal__content {
	max-width: 48rem;
	color: var(--nhm-text);
	line-height: 1.7;
}

.nhm-legal__intro {
	font-size: var(--nhm-fs-sm);
	color: var(--nhm-text-muted);
	margin-bottom: var(--nhm-space-5);
}

.nhm-legal__content h2,
.nhm-legal__article .entry-content h2 {
	font-family: var(--nhm-font-display);
	font-size: 1.25rem;
	margin: var(--nhm-space-8) 0 var(--nhm-space-3);
	color: var(--nhm-primary);
}

.nhm-legal__content h3,
.nhm-legal__article .entry-content h3 {
	font-family: var(--nhm-font-display);
	font-size: 1.05rem;
	margin: var(--nhm-space-5) 0 var(--nhm-space-2);
	color: var(--nhm-primary);
}

.nhm-legal__content p,
.nhm-legal__article .entry-content p {
	margin: 0 0 var(--nhm-space-4);
}

.nhm-legal__content ul,
.nhm-legal__article .entry-content ul {
	margin: 0 0 var(--nhm-space-5);
	padding-left: 1.25rem;
}

.nhm-legal__content li,
.nhm-legal__article .entry-content li {
	margin-bottom: var(--nhm-space-2);
}

.nhm-sitemap {
	display: grid;
	gap: var(--nhm-space-8);
	margin-top: var(--nhm-space-6);
	max-width: 52rem;
}

@media (min-width: 768px) {
	.nhm-sitemap {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.nhm-sitemap__section:last-child {
		grid-column: 1 / -1;
	}
}

.nhm-sitemap__section h2 {
	font-family: var(--nhm-font-display);
	font-size: 1.125rem;
	margin: 0 0 var(--nhm-space-4);
	color: var(--nhm-primary);
}

.nhm-sitemap__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: var(--nhm-space-2);
}

.nhm-sitemap__list a {
	color: var(--nhm-primary);
	text-decoration: none;
	font-weight: 500;
}

.nhm-sitemap__list a:hover {
	color: var(--nhm-secondary-dark, #c9a020);
	text-decoration: underline;
}

.nhm-sitemap__list--vehicles {
	grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
	gap: var(--nhm-space-2) var(--nhm-space-4);
}

.nhm-sitemap__more {
	margin: var(--nhm-space-4) 0 0;
}

.nhm-sitemap__more a {
	font-weight: 600;
	color: var(--nhm-primary);
	text-decoration: none;
}

.nhm-sitemap__more a:hover {
	text-decoration: underline;
}

.page-slug-privacy-policy .nhm-container.nhm-section,
.page-slug-cookies .nhm-container.nhm-section,
.page-slug-terms-and-conditions .nhm-container.nhm-section {
	max-width: 52rem;
}

.page-slug-privacy-policy .entry-content,
.page-slug-cookies .entry-content,
.page-slug-terms-and-conditions .entry-content {
	max-width: 48rem;
	line-height: 1.7;
}

.page-slug-privacy-policy .entry-content h2,
.page-slug-cookies .entry-content h2,
.page-slug-terms-and-conditions .entry-content h2 {
	font-family: var(--nhm-font-display);
	font-size: 1.25rem;
	margin: var(--nhm-space-8) 0 var(--nhm-space-3);
	color: var(--nhm-primary);
}

.page-slug-privacy-policy .entry-content h3,
.page-slug-cookies .entry-content h3,
.page-slug-terms-and-conditions .entry-content h3 {
	font-family: var(--nhm-font-display);
	font-size: 1.05rem;
	margin: var(--nhm-space-5) 0 var(--nhm-space-2);
	color: var(--nhm-primary);
}

.page-slug-privacy-policy .entry-content ul,
.page-slug-cookies .entry-content ul,
.page-slug-terms-and-conditions .entry-content ul {
	padding-left: 1.25rem;
	margin-bottom: var(--nhm-space-5);
}
