/*
Theme Name: MapsRepo
Theme URI: https://example.com/
Author: David Mungai
Description: Minimal classic PHP starter theme for MapsRepo.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mapsrepo
*/

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif !important;
}

:root {
	--black: #141414;
	--grey: #666666;
	--white: #fafafa;
	--border: #ebebeb;
	--background: #1f1f1f;
	--radius: .75rem;
}

html, body {
	scroll-behavior: smooth;
    background-color: #fcfcfc;
}

svg {
	display: block;
}

.site-header {
    border-bottom: 1px solid var(--border);
	background-color: #ffffff;
}

.contained {
    max-width: 1400px;
    margin: auto;
    padding: 0 1rem;
}

.header-wrap {
    display: flex;
    padding: 1rem;
    justify-content: space-between;
    align-items: center;
	flex-wrap: wrap;
}

.custom-logo {
    width: 146px;
    height: auto;
    display: block;
}
.site-nav {
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}
.nav-menu {
	width: 100%;
}
.primary-menu-wrap {
	padding-top: 1rem;
	margin-top: 1rem;
	border-top: 1px solid var(--border);
}
.primary-menu,
.sub-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}
.nav-menu ul {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.nav-menu ul.sub-menu {
	margin-top: 1rem;
    gap: .5rem;
}
.nav-menu a {
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.25rem;
	color: var(--grey);
	text-decoration: none;
	transition-duration: .15s;
}
.nav-menu a:hover {
	color: var(--black);
}
.mapsrepo-search {
	position: relative;
}
.header-search {
	margin-bottom: 1rem;
}
.header-search .mapsrepo-search__icon {
	width: 1rem;
	height: 1rem;
	position: absolute;
	top: 50%;
	left: .75rem;
	transform: translateY(-50%);
}
.header-search .mapsrepo-search__input {
	width: 100%;
	padding: .5rem 1rem .5rem 2.5rem;
	font-size: .875rem;
	line-height: 1.25rem;
	background-color: #f5f5f5;
	color: var(--black);
	border: 1px solid var(--border);
	border-radius: var(--radius);

}
.header-search .mapsrepo-search__input:focus {
	outline: 2px solid #333333;
}
.upload-btn a {
	display: inline-block;
	width: 100%;
	padding: .5rem 1rem;
	color: var(--white);
	font-weight: 500;
	background-color: var(--background);
	border-radius: var(--radius);
	text-align: center;
	transition-duration: .3s;
}
.upload-btn a:hover {
	background-color: var(--grey);
	color: var(--white);
}
.nav-toggle {
	background: none;
	border: 0;
	font-size: 1.5rem;
	cursor: pointer;
	color: var(--black);
}
.primary-menu-wrap {
	display: none;
}
.primary-menu-wrap.is-open {
	display: block;
}
.sub-menu {
	padding-left: 1rem;
    gap: .5rem;
}
.submenu-toggle {
	background: none;
	border: 0;
	cursor: pointer;
	margin-left: 0.25rem;
}
/* Desktop fallback: show menu if JS fails */
@media (min-width: 1000px) {
	.header-wrap {
		flex-direction: row;
		gap: 1.5rem;
	}
	.site-nav, .nav-menu {
		width: unset;
	}
	.nav-menu {
		flex-grow: 1;
	}
	.nav-toggle {
		display: none;
	}
	.nav-menu ul {
		gap: 1.2rem;
	}
	.primary-menu-wrap {
		display: flex;
		flex-direction: row;
		padding: 0 !important;
		margin: 0 !important;
		border-top: none;
		justify-content: right;
		align-items: center;
		gap: 1.2rem;
	}
	.header-search {
		margin: 0 !important;
		flex-grow: 1;
		max-width: 20rem;
	}
	.nav-menu .primary-menu {
		display: flex;
		flex-direction: row;
		align-items: center;
	}
	.primary-menu > li {
		display: inline-block;
		padding: 8px 0;
	}
	.primary-menu .menu-item-has-children {
		position: relative;
		padding-right: 16px;
	}
	.menu-item-has-children::after {
		content: '';
		display: block;
		width: 12px;
		height: 12px;
		background-image: url("assets/images/arrow-down.svg");
		background-repeat: no-repeat;
		background-position: center;
		background-size: 100% 100%;
		position: absolute;
		right: 0;
		top: 50%;
		transform: translateY(-50%);
	}
	.upload-btn {
		padding: 0 !important;
	}
	.menu-item-has-children {
		position: relative;
	}
	.sub-menu {
		display: none !important;
		position: absolute;
		left: 40%;
		transform: translateX(-40%);
		z-index: 11;
		padding: .25rem;
		background-color: #ffffff;
		width: max-content;
		border: 1px solid var(--border);
		border-radius: calc(var(--radius) - 2px);
		box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
	}
	.menu-item-has-children:hover .sub-menu {
		display: flex !important;
		gap: 0;
	}
	.sub-menu a {
		display: inline-block;
		padding: .375rem .5rem;
		border-radius: calc(var(--radius) - 4px);
		width: 100%;
	}
	.sub-menu a:hover {
		background-color: var(--background);
		color: var(--white);
	}
	.nav-menu ul.sub-menu {
		margin-top: 8px;
	}
	.upload-btn a {
		width: unset;
	}
}
/*End side nav*/
#maps-grid-wrap.is-loading { opacity: .5; pointer-events: none; }

.hero {
	position: relative;
	padding: 8rem 0;
	background: linear-gradient(135deg, hsl(0 0% 18%) 0%, hsl(0 0% 10%) 50%, hsl(0 0% 20%) 100%);
}

.hero-bg {
	position: absolute;
	background-image: url("assets/images/bg.svg");
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	opacity: .05;
}

.hero-inner {
	position: relative;
	z-index: 5;
	max-width: 780px;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	align-items: center;
	text-align: center;
}

.above-title {
	display: inline-block;
	padding: .375rem 1rem;
	background-color: #fafafa26;
	border: 1px solid #fafafa4d;
	color: var(--white);
	font-size: .875rem;
	line-height: 1.25rem;
	border-radius: 50px;
}

.hero-title {
	font-size: 3.75rem;
	line-height: 1;
	font-weight: 700;
	color: var(--white);
}

.title-highlight {
	color: #fafafa80;
}

.hero-subtitle {
	max-width: 42rem;
	margin: auto;
	font-size: 1.25rem;
	line-height: 1.75rem;
	color: #fafafacc;
}

.home-search {
	width: 100%;
	max-width: 42rem;
}

.home-search .mapsrepo-search__input {
	width: 100%;
	padding: 1.25rem 1.5rem 1.25rem 3.5rem;
	font-size: 1.125rem;
	line-height: 1.75rem;
	border: 1px solid var(--border);
	border-radius: 1rem;
}

.home-search .mapsrepo-search__icon {
	position: absolute;
	width: 1.5rem;
	height: 1.5rem;
	top: 50%;
	left: 1.25rem;
	transform: translateY(-50%);
}

.popular-wrap {
	width: 100%;
	max-width: 42rem;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: .5rem;
	color: #fafafab3;
	font-size: .875rem;
	line-height: 1.25rem;
}

.hero-popular-list {
	list-style-type: none;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: .5rem;
}

.hero-popular-item a {
	display: inline-block;
	padding: .375rem .75rem;
	background-color: #fafafa26;
	border-radius: 100px;
	color: var(--white);
	text-decoration: none;
	transition-duration: 300ms;
}

.hero-popular-item a:hover {
	background-color: #fafafa40;
	border-color: #fafafa80;
}

.strip-stats {
	background-color: #fcfcfc;
	border-bottom: 1px solid var(--border);
}

.stats-inner {
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
}

@media (min-width: 768px) {
	.stats-inner {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.stat-col {
	display: flex;
	align-items: center;
	gap: .75rem;
}

.stat-icon {
	width: 2.5rem;
	height: 2.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #f5f5f5;
	border-radius: var(--radius);
}

.stat-icon svg {
	width: 1.25rem;
	height: 1.25rem;
	color: #4d4d4d;
}

.stat-txt div:first-child {
	color: var(--black);
	font-weight: 700;
	font-size: 1.25rem;
	line-height: 1.75rem;
}

.stat-txt div:last-child {
	color: var(--grey);
	font-size: .875rem;
	line-height: 1.25rem;
}

.maps-section {
	padding-top: 3rem;
	padding-bottom: 3rem;
}

.maps-filters {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin-bottom: 2rem;
}

.filter-chip {
	padding: .5rem 1rem;
	color: var(--grey);
	font-size: .875rem;
	font-weight: 500;
	cursor: pointer;
	border-radius: var(--radius);
	background-color: transparent;
	border: none;
	transition-duration: .2s;
}

.filter-chip:hover {
	background-color: #f5f5f5;
}

.is-active-tab {
	background-color: #4d4d4d !important;
	color: var(--white) !important;
}

.maps-results-count {
	margin-bottom: 1.5rem;
	color: var(--grey);
}

.maps-results-count strong {
	color: var(--black);
}

.maps-grid {
	display: grid;
	grid-template-columns: repeat(1, minmax(0, 1fr));
	grid-auto-rows: 1fr;
	gap: 1.5rem;
	margin-bottom: 3rem;
}

@media (min-width:768px) {
	.maps-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width:1024px) {
	.maps-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.map-card-link {
	display: block;
	width: 100%;
	height: 100%;
	text-decoration: none;
	background-color: #ffffff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
}

.card-thumb-wrap {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background-color: #f0f0f0;
	border-bottom: 1px solid var(--border);
}

.card-thumb-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition-property: transform;
	transition-timing-function: cubic-bezier(.4, 0, .2, 1);
	transition-duration: .5s;
	animation-duration: .5s;
}

.card-hover-overlay {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #26262600;
	transition-duration: .3s;
}

.card-hover-inner {
	display: flex;
	align-items: center;
	gap: .5rem;
	color: var(--white);
	font-weight: 500;
	opacity: 0;
	transition-duration: .3s;
}

.card-hover-inner svg {
	display: block;
	width: 1rem;
	height: 1rem;
}

.map-card-cat {
	display: inline-block;
	position: absolute;
	top: .75rem;
	left: .75rem;
	padding: .25rem .75rem;
	color: var(--black);
	font-weight: 500;
	font-size: .75rem;
	line-height: 1rem;
	background-color: #ffffff;
	border: 1px solid var(--border);
	border-radius: 50px;
}

.map-card-link:hover .card-hover-overlay {
	background-color: #26262699;
}

.map-card-link:hover .card-hover-inner {
	opacity: 1;
}

.map-card-link:hover .card-thumb-img {
	transform: scale(1.05);
}

.map-card-details {
	padding: 1rem;
}

.map-card-title {
	color: var(--black);
	font-weight: 600;
}

.map-card-excerpt {
	color: var(--grey);
	font-size: .875rem;
	line-height: 1.25rem;
	margin-top: .25rem;
}

.map-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 1rem;
	margin-top: 1rem;
	border-top: 1px solid var(--border);
	color: var(--grey);
}

.map-card-downloads {
	display: flex;
	align-items: center;
	gap: .25rem;
	font-size: .875rem;
	line-height: 1.25rem;
}

.map-card-downloads svg {
	width: 1rem;
	height: 1rem;
}

.map-author {
	font-size: .75rem;
	line-height: 1rem;
}

.maps-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: .5rem;
}

.page-numbers {
	display: flex;
	width: 2.5rem;
	height: 2.5rem;
	justify-content: center;
	align-items: center;
	color: var(--black);
	font-size: .875rem;
	line-height: unset;
	font-weight: 500;
	text-decoration: none;
	background-color: #f5f5f5;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	transition-duration: .2s;
}

.page-numbers:hover {
	background-color: #4d4d4d;
	color: var(--white);
	border: 1px solid #4d4d4d;
}

.page-numbers svg {
	width: 1.25rem;
	height: 1.25rem;
}

span.current {
	background-color: var(--black) !important;
	border: 1px solid var(--black) !important;
	color: var(--white) !important;
}

.single-breadcrumb {
	padding-top: 1rem;
	padding-bottom: 1rem;
}

.back-btn {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	color: var(--grey);
	text-decoration: none;
	transition-duration: .15s;
}

.back-btn:hover {
	color: var(--black);
}

.back-btn svg {
	width: 1rem;
	height: 1rem;
}

.single-img-wrap {
	display: grid;
	grid-template-columns: repeat(1, minmax(0, 1fr));
	gap: 2rem;
	margin-bottom: 3rem;
}

.single-map-preview {
	position: relative;
	background-color: #f0f0f0;
	border: 1px solid var(--border);
	border-radius: 1rem;
	overflow: hidden;
	height: fit-content;
}

@media (min-width:1024px) {
	.single-img-wrap {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
	.single-map-preview {
		grid-column: span 3 / span 3;
		position: sticky !important;
		top: 2rem;
	}
	.downloads-col {
		grid-column: span 2 / span 2;
	}
}

.single-img {
	display: block;
	width: 100%;
	height: auto;
}

.view-full-btn {
	position: absolute;
	top: 1rem;
	right: 1rem;
	z-index: 1;
	padding: .5rem 1rem;
	background-color: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	color: var(--black);
	font-size: 14px;
	text-decoration: none;
	font-weight: 500;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: .5rem;
	transition-duration: 300ms;
}

.view-full-btn:hover {
	background-color: #f5f5f5;

}

.view-full-btn svg {
	display: block;
	width: 1.25rem;
	height: 1.25rem;
}

.single-cat-wrap {
	display: flex;
	gap: .5rem;
	position: absolute;
	left: 1rem;
	bottom: 1rem;
	z-index: 1;
}

.map-category-link {
	display: inline-block;
	color: var(--black);
	font-size: .875rem;
	line-height: 1.25rem;
	font-weight: 500;
	padding: .5rem 1rem;
	text-decoration: none;
	background-color: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	transition-duration: .2ms;
}

.map-category-link:hover {
	background-color: #f5f5f5;
}

.single-map-title {
	color: var(--black);
	font-weight: 700;
	font-size: 1.875rem;
	line-height: 2.25rem;
	margin-bottom: 1rem;
}

.single-map-meta-info {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
	font-size: .875rem;
	line-height: 1.25rem;
	color: var(--grey);
	margin-bottom: 24px;
}

.single-map-meta-info span {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
}

.single-map-meta-info a {
	color: var(--grey);
	text-decoration: none;
	transition-duration: .15s;
}

.single-map-meta-info a:hover {
	color: var(--black);
}

.single-map-meta-info span svg {
	width: 1rem;
	height: 1rem;
}

.dl-options-h {
	display: flex;
	align-items: center;
	gap: .5rem;
	color: var(--black);
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.75rem;
}

.dl-options-h svg {
	width: 1.25rem;
	height: 1.25rem;
}

.download-options {
	margin-top: 12px;
}

.download-options {
	display: block;
	background-color: #ffffff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
}

.download-option {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem;
	cursor: pointer;
}

.download-option:hover {
	background-color: #f5f5f599;
	transition-duration: .15s;
}

.download-option:has(input[type="radio"]:checked) {
	background-color: #f5f5f5;
}

.dl-o-c {
	position: relative;
	display: flex;
	align-items: center;
	gap: .75rem;
}

.dl-o-c input[type="radio"] {
	position: absolute;
	opacity: 0;
  	pointer-events: none;
}

.radio-indicator {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 2px solid #66666666;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.radio-inner {
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--black);
  transform: scale(0);
  transition: transform 0.2s ease;
}

.dl-o-c:has(input[type="radio"]:checked) .radio-indicator {
  border-color: var(--black);
}

.dl-o-c:has(input[type="radio"]:checked) .radio-inner {
  transform: scale(1);
}

.dl-o-c:has(input[type="radio"]:focus-visible) .radio-indicator {
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.15);
}

.dl-o-c svg {
	width: 1.25rem;
	height: 1.25rem;
	color: var(--grey);
}

.download-option-type {
	color: var(--black);
	font-weight: 600;
	line-height: 1.5;
}

.dl-desc {
	color: var(--grey);
	font-size: .75rem;
	line-height: 1rem;
}

.download-size {
	color: var(--grey);
	font-size: .875rem;
	line-height: 1.25rem;
}

.map-download-btn {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: .5rem;
	padding: 1rem;
	color: var(--white);
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	margin-top: 8px;
	background-color: var(--black);
	border-radius: var(--radius);
	transition-duration: .15s;
}

.map-download-btn:hover {
	background-color: var(--grey);
}

.map-download-btn svg {
	width: 1.25rem;
	height: 1.25rem;
}

.single-map-content {
	padding: 2rem;
	background-color: #ffffff;
	border: 1px solid var(--border);
	border-radius: 1rem;
}

.single-map-content h2 {
	color: var(--black);
	font-size: 1.25rem;
	line-height: 1.75rem;
	font-weight: 600;
	margin-bottom: 1rem;
}

.single-map-content p {
	color: var(--grey);
	line-height: 1.625;
	margin-bottom: 1.5rem;
}

.map-tags-list {
	display: flex;
	align-items: center;
	gap: .5rem;
	flex-wrap: wrap;
	list-style-type: none;
}

.map-tags-list svg {
	width: 1rem;
	height: 1rem;
	color: var(--grey);
}

.map-tags-item a {
	display: inline-block;
	padding: .25rem .75rem;
	color: var(--black);
	font-size: .875rem;
	line-height: 1.25;
	background-color: #f5f5f5;
	text-decoration: none;
	border-radius: 50px;
}

.license-wrap {
	margin-top: 24px;
	padding: 1.5rem;
	background-color: #ffffff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
}

.license-title {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: .75rem;
	padding-bottom: 1rem;
	margin-bottom: 1rem;
	border-bottom: 1px solid var(--border);
}

.license-title .l-p {
	display: flex;
	align-items: center;
	gap: .4rem;
	background-color: var(--black);
	padding: .375rem .75rem;
	color: var(--white);
	font-size: .875rem;
	font-weight: 500;
	line-height: 1.25rem;
	border-radius: var(--radius);
}

.l-p svg {
	width: 1.3rem;
	height: 1.3rem;
}

.license-title .l-t {
	font-size: .875rem;
	line-height: 1.25rem;
	color: var(--grey);
}

.license-wrap h4 {
	font-size: 1rem;
	line-height: 1.25rem;
	color: var(--black);
	font-weight: 600;
	margin-bottom: .5rem;
}

.license-wrap p {
	font-size: .875rem;
	line-height: 1.25rem;
	color: var(--grey);
	margin-top: 4px;
	margin-bottom: .5rem;
}

.license-wrap a {
	display: inline-block;
	margin-top: .5rem;
	color: var(--grey);
	font-size: .875rem;
	line-height: 1.25rem;
	transition-duration: .2s;
}

.license-wrap a:hover {
	color: var(--black);
}

.related-wrap {
	margin-top: 5rem;
}

.also-like-wrap {
	margin-bottom: 5rem;
}

.r-h-wrap {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1.5rem;
}

.related-maps-title {
	color: var(--black);
	font-size: 1.5rem;
	line-height: 2rem;
	font-weight: 700;
}

.r-nav {
	display: flex;
	align-items: center;
	gap: .5rem;
}

.splide__arrow {
	display: flex;
	width: 2.5rem;
	height: 2.5rem;
	justify-content: center;
	align-items: center;
	font-size: .875rem;
	font-weight: 500;
	background-color: #f5f5f5;
	color: var(--black);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	opacity: 1;
	transition-duration: .2s;
	cursor: pointer;
}

.splide__arrow:hover {
	background-color: #4d4d4d;
	color: var(--white);
}

.splide__arrow:disabled {
	opacity: 0.5;
	pointer-events: none;
	cursor: no-drop;
}

@media (max-width: 500px) {
	.splide__track {
		width: 145%;
	}
	.splide {
		overflow: hidden;
	}
}

.download-page-header {
	max-width: 42rem;
	margin: auto;
	text-align: center;
	padding: 2.5rem;
	background-color: #ffffff;
	border: 1px solid var(--border);
	border-radius: 1rem;
	margin-bottom: 2.5rem;
}

.l-dl-icon {
	margin: auto;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 5rem;
	height: 5rem;
	color: var(--black);
	background-color: #f5f5f5;
	border-radius: 50%;
	margin-bottom: 1.5rem;
}

.l-dl-icon svg {
	width: 2.25rem;
	height: 2.25rem;
}

.download-page-title {
	color: var(--black);
	font-size: 1.5rem;
	line-height: 2rem;
	font-weight: 700;
	margin-bottom: .5rem;
}

.dlp-desc {
	font-size: 16px;
	color: var(--grey);
	margin-bottom: 1.5rem;
}

.dl-selected {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	margin-bottom: 2rem;
	color: var(--black);
}

.manual-dl {
	font-size: .875rem;
	line-height: 1.25rem;
	margin-bottom: 2rem;
	color: var(--grey);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: .25rem;
}

.download-now {
	display: inline-flex;
	color: var(--black);
	align-items: center;
	gap: .25rem;
	font-weight: 600;
	text-underline-offset: 2px;
	transition-duration: .15s;
}

.download-now:hover {
	opacity: 0.7;
}

.download-now svg {
	width: .875rem;
	height: .875rem;
}

.border-separator {
	border-top: 1px solid var(--border);
	margin-bottom: 2rem;
}

.more-maps-nav {
	display: flex;
	align-items: center;
	gap: .75rem;
	justify-content: center;
	flex-wrap: wrap;
}

.more-maps-nav a {
	display: inline-flex;
	align-items: center;
	padding: .625rem 1.25rem;
	gap: .5rem;
	font-size: .875rem;
	line-height: 1.25rem;
	font-weight: 600;
	border-radius: .75rem;
	text-decoration: none;
	transition-duration: .15s;
}

.more-maps-nav a svg {
	width: 1rem;
	height: 1rem;
}

.btmp {
	background-color: #f5f5f5;
	color: var(--black);
}

.btmp:hover {
	background-color: transparent;
}

.bmms {
	background-color: var(--black);
	color: var(--white);
}

.bmms:hover {
	background-color: #141414c6;
}

.archive-header {
	padding-top: 3rem;
}

.archive-title {
	font-size: 1.875rem;
	line-height: 2.25rem;
	font-weight: 700;
	color: var(--black);
	margin-bottom: .5rem;
}

.archive-desc {
	color: var(--grey);
}

.no-m-w {
	padding-top: 5rem;
	padding-bottom: 5rem;
	text-align: center;
}

.no-m-w svg {
	width: 4rem;
	height: 4rem;
	color: var(--grey);
	margin-bottom: 1rem;
	margin-left: auto;
	margin-right: auto;
}

.no-m-w h3 {
	color: var(--black);
	font-weight: 600;
	font-size: 1.25rem;
	line-height: 1.75rem;
	margin-bottom: .5rem;
}

.no-m-w p {
	color: var(--grey);
}

.n-f-inner {
	padding-top: 3rem;
	padding-bottom: 3rem;
	min-height: 100vh;
	text-align: center;
}

.n-f-search {
	margin-top: 1rem;
	display: flex;
	justify-content: center;
}

.search-results-count {
	margin-bottom: 0;
}

.cat-header {
	padding-top: 2rem;
	padding-bottom: 2rem;
	background-color: #f5f5f5;
	border-bottom: 1px solid var(--border);
}

.cat-h-inner {

}

.breadcrumbs {
	display: flex;
	align-items: center;
	gap: .5rem;
	font-size: .875rem;
	line-height: 1.25rem;
	color: var(--grey);
	margin-bottom: 1rem;
}

.breadcrumb-link {
	color: inherit;
	text-decoration: none;
	transition-duration: .15s;
}

.breadcrumb-link:hover {
	color: var(--black);
}

.breadcrumb-sep {
	width: 1rem;
	height: 1rem;
}

.breadcrumb-current {
	color: var(--black);
	font-weight: 500;
}

.category-title {
	color: var(--black);
	font-size: 2.25rem;
	line-height: 2.5rem;
	font-weight: 700;
	margin-bottom: .5rem;
}

.cat-h-inner p {
	color: var(--grey);
	line-height: 1.4;
}

.hsc-wrap {
	padding-top: 4rem;
	padding-bottom: 4rem;
	background-color: #f5f5f5;
}

.hsc-inner {
	text-align: center;
}

.hsc-inner h2 {
	font-size: 1.875rem;
	line-height: 2.25rem;
	font-weight: 700;
	color: var(--black);
	margin-bottom: 1rem;
}

.hsc-inner p {
	color: var(--grey);
	line-height: 24px;
	max-width: 36rem;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 2rem;
}

.hsc-inner a {
	display: inline-block;
	padding: .75rem 1.5rem;
	color: var(--white);
	font-weight: 600;
	text-decoration: none;
	background-color: var(--black);
	border-radius: var(--radius);
	transition-duration: .15s;
}

.hsc-inner a:hover {
	background-color: var(--grey);
}

.site-footer {
	background-color: var(--black);
	padding: 3rem 0;
	text-align: center;
}

.footer-widget {
	margin-bottom: 1.5rem;
	border-bottom: 1px solid #fafafa33;
}

.footer-widget ul {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	flex-wrap: wrap;
	list-style-type: none;
	margin-bottom: 2rem;
}

.footer-widget ul a {
	color: var(--white);
	font-size: .875rem;
	line-height: 1.25rem;
	text-decoration: none;
	transition-duration: .15s;
}

.footer-widget ul a:hover {
	color: #fafafab3;
}

.footer-widget ul li::after {
    content: "•";
    margin-left: .5rem;
    color: #fafafab3;
}

.footer-widget ul li:last-child::after {
    content: none;
}

.footer-copyright {
	color: #fafafa99;
	font-size: .875rem;
	line-height: 1.25rem;
	text-align: center;
}

.site-forms {
	color: var(--black);
}

.site-forms label {
	font-size: .875rem;
	line-height: 1;
	font-weight: 500;
}

.site-forms input, .site-forms textarea {
	display: flex;
	width: 100%;
	height: 2.5rem;
	padding: .5rem .75rem;
	border: 1px solid var(--border);
	border-radius: 10px;
	background-color: #fcfcfc;
	font-size: .875rem;
	line-height: 1.25rem;
	margin-top: 8px;
}

.site-forms textarea {
	min-height: 120px;
	resize: none;
}

.site-forms input:focus-visible, .site-forms textarea:focus-visible {
	outline: 2px solid #333333;
}

.site-forms small {
	display: inline-block;
	margin-top: 6px;
	color: var(--grey);
}

.site-forms > div {
	margin-bottom: 24px;
}

.site-forms > div:last-child {
	margin-bottom: 0;
}

.mapsrepo-dropzone {
	margin-top: 8px;
}

.map-scm {
	position: relative;
	border: 1px solid var(--border);
	background-color: #ffffff;
	padding: 1rem;
	border-radius: var(--radius);
	color: var(--black);
}

.map-scm svg {
	position: absolute;
	top: 1rem;
	left: 1rem;
	width: 1rem;
	height: 1rem;
}

.map-scm span {
	display: inline-block;
	padding-left: 1.75rem;
	font-weight: 500;
	margin-bottom: .25rem;
	line-height: 1;
	letter-spacing: -.025em;
}

.map-scm p {
	padding-left: 1.75rem;
	font-size: .875rem;
	line-height: 1.25rem;
}

.submit-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 2.75rem;
	padding: 0 2rem;
	background-color: var(--black);
	color: var(--white);
	font-size: .875rem;
	line-height: 1.25rem;
	font-weight: 500;
	border: none;
	border-radius: 10px;
	cursor: pointer;
	transition-duration: .2s;
}

.submit-btn:hover {
	background-color: var(--grey);
}

.muh-h {
	padding-top: 3rem;
	padding-bottom: 3rem;
	text-align: center;
}

.muh-h h1 {
	font-size: 2.5rem;
	line-height: 1;
	color: var(--black);
	font-weight: 700;
	margin-bottom: 1rem;
}

.muh-h p {
	font-size: 1.125rem;
	line-height: 1.75rem;
	color: var(--grey);
	max-width: 42rem;
	margin-left: auto;
	margin-right: auto;
}

.mucfs {
	padding-bottom: 3rem;
}

.mucfs-inner {
	display: grid;
	gap: 2rem;
	max-width: 56rem;
	margin: auto;
}

@media (min-width: 768px) {
	.mucfs-inner {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.mucfs-specs-wrap {
		grid-column: span 1 / span 1;
	}
	.mucfs-fm {
		grid-column: span 2 / span 2;
	}
	.mucfs-specs {
		top: 2rem;
	}
}

.mucfs-specs {
	position: sticky;
}

.mucfs-specs, .mucfs-fm, .scfm-info {
	padding: 1.5rem;
	color: var(--black);
	border: 1px solid var(--border);
	background-color: #ffffff;
	border-radius: var(--radius);
}

.mucfs-specs-h {
	margin-bottom: 1.5rem;
}

.mucfs-specs-h h3{
	display: flex;
	align-items: center;
	gap: .5rem;
	font-size: 1.125rem;
	line-height: 1.75rem;
	font-weight: 600;
	letter-spacing: -.025em;
}

.mucfs-specs-h svg {
	width: 1.25rem;
	height: 1.25rem;
}

.mucfs-specs-h p, .mucfs-fm-h p {
	color: var(--grey);
	font-size: .875rem;
	line-height: 1.25rem;
	margin-top: 6px;
}

.mucfs-specs-bdy {
	display: flex;
	flex-direction: column;
	gap: 16px;
	list-style-type: none;
}

.mucfs-specs-bdy li {
	padding-bottom: .75rem;
	border-bottom: 1px solid var(--border);
}

.mucfs-specs-bdy li:last-child {
	padding-bottom: 0;
	border-bottom: none;
}

.mucfs-specs-bdy span {
	color: var(--grey);
	text-transform: uppercase;
	font-size: .75rem;
	line-height: 1rem;
	font-weight: 500;
	letter-spacing: .025em;
}

.mucfs-specs-bdy p {
	font-size: .875rem;
	line-height: 1.25rem;
	font-weight: 500;
	margin-top: .25rem;
}

.mucfs-fm-h {
	margin-bottom: 1.5rem;
}

.mucfs-fm-h h2 {
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1;
	letter-spacing: -.025em;
}

.mucfs-specs-wrap .scfm-info:first-child {
	margin-bottom: 16px;
}

.scfmi-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	background-color: var(--black);
	border-radius: var(--radius);
	margin-bottom: .5rem;
}

.scfmi-icon svg {
	width: 1.25rem;
	height: 1.25rem;
	color: var(--white);
}

.scfm-info h3 {
	font-size: 1.125rem;
	line-height: 1.75rem;
	letter-spacing: -.025em;
	font-weight: 600;
	margin-top: 6px;
}

.scfm-info p {
	font-size: .875rem;
	line-height: 1.25rem;
	color: var(--grey);
	margin-top: 6px;
}

.mabp {
	padding-top: 4rem;
	padding-bottom: 4rem;
	background-color: var(--background);
	text-align: center;
}

.mabp h1 {
	font-size: 2.5rem;
    line-height: 1;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 1rem;
}

.mabp p {
	font-size: 1.125rem;
    line-height: 1.75rem;
    color: #fafafacc;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.abuc-s {
	padding-top: 4rem;
	padding-bottom: 4rem;
}

.abuc-s-inner {
	width: 100%;
	max-width: 48rem;
	margin-left: auto;
	margin-right: auto;
}

.abuc-s-inner p {
	color: var(--grey);
	line-height: 1.625;
	margin-bottom: 16px;
}

.abuc-s-inner p:last-child {
	margin-bottom: 0;
}

.abu-cds {
	padding-top: 4rem;
	padding-bottom: 4rem;
	background-color: #f5f5f566;
}

.abu-cds-inner {
	padding-left: 1rem;
	padding-right: 1rem;
	width: 100%;
	max-width: 56rem;
	margin-left: auto;
	margin-right: auto;
}

.abu-cds-inner h2 {
	color: var(--black);
	font-weight: 700;
	font-size: 1.5rem;
	line-height: 2rem;
	text-align: center;
	margin-bottom: 2rem;
}

.abucds-grid {
	display: grid;
	gap: 1.5rem;
}

@media (min-width: 768px) {
	.abucds-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.abu-card {
	padding: 1.5rem;
	background-color: #fcfcfc;
	border: 1px solid var(--border);
	border-radius: var(--radius);
}

.abu-card-icon {
	width: 2.5rem;
	height: 2.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--black);
	color: var(--white);
	border-radius: var(--radius);
	margin-bottom: 1rem;
}

.abu-card-icon svg {
	width: 1.25rem;
	height: 1.25rem;
}

.abu-card h3 {
	font-size: 16px;
	font-weight: 600;
	color: var(--black);
	margin-bottom: .5rem;
}

.abu-card p {
	color: var(--grey);
	font-size: .875rem;
	line-height: 1.25rem;
}

.gi-ab-c {
	background-color: #ffffff;
}

.gi-ab-c h2 {
	font-size: 1.5rem;
	line-height: 2rem;
	margin-bottom: 1rem;
}

.gi-ab-c p {
	max-width: 42rem;
	margin-bottom: 1.5rem;
}

.hsc-inner div {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: center;
}

.gi-ab-c .hsc-inner a:last-child {
	background-color: #f5f5f5;
	color: var(--black);
}

.giab-btn:hover {
	background-color: #ffffff !important;
}

/* Loader */
.map-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  border: 5px solid #ddd;
  border-top: 5px solid var(--black);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: spin 1s linear infinite;
  z-index: 2;
  display: none;
}

.map-loader.active {
  display: block;
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Smooth reveal */
.map-image {
  transition: opacity 0.3s ease;
}

.page-content-wrap {
	padding-top: 3rem;
	padding-bottom: 3rem;
}

.entry-content {
	max-width: 48rem;
	margin: auto;
}

.entry-content h1 {
	color: var(--black);
	font-size: 2.25rem;
	line-height: 2.5rem;
	font-weight: 700;
	margin-bottom: 2rem;
}

.entry-content h2 {
	color: var(--black);
	font-size: 1.5rem;
	line-height: 2rem;
	font-weight: 600;
	margin-bottom: 1rem;
}

.entry-content h3 {
	color: var(--black);
	font-size: 1.17rem;
	line-height: 2rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
}

.entry-content a {
	color: var(--grey);
	text-decoration: underline;
}
.entry-content a:hover {
	color: var(--black);
	transition-duration: .2ms;
}

.entry-content p {
	color: var(--grey);
	font-size: 1rem;
	line-height: 1.625rem;
	margin-bottom: 1.5rem;
}
.entry-content ul, .entry-content ol {
	color: var(--grey);
	padding-left: 2.5rem;
	margin-top: -.5rem;
	margin-bottom: 1.5rem;
}

.entry-content li {
	line-height: 1.5rem;
}