/* ==============================
page top and page global
============================== */
.page-template-template-map #page {
	font-family: "Hind Madurai", Helvetica, Arial, Verdana, sans-serif;
}

.page-template-template-map #page #main > .wf-wrap {
	width: 100%;
	padding: 0;
}

.page-template-template-map #page .publication-top-title {
	margin: 0 0 0 50px;
}

.page-template-template-map #page .map-top {
	background-image: url(../../../../uploads/2024/05/map-feature.jpg),
		linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
	background-blend-mode: overlay;
	background-position: center !important;
	background-repeat: no-repeat;
	background-size: cover;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

#page .map-top-title {
	max-width: 630px;
	width: 100%;
	transform: translate(-50px, -50px);
}

#page .map-top-title span {
	color: #fff;
}

.page-template-template-map #page .map-page-wrapper {
	margin-bottom: var(--l-space);
}

.page-template-template-map #page .map-section-title {
	text-align: center;
	max-width: 1300px;
	margin-inline: auto;
	margin-top: var(--l-space);
	margin-bottom: var(--s-space);
	padding-inline: 50px;
}

.page-template-template-map #intro-section,
.page-template-template-map #last-section {
	max-width: 1300px;
	margin-inline: auto;
}

@media (max-width: 767px) {
	.page-template-template-map #page .map-section-title {
		padding-inline: 20px;
	}
}

/* ==============================
Intro section
============================== */
.page-template-template-map #intro-section {
	padding-top: var(--l-space);
}

.page-template-template-map #intro-section .section-content-wrapper {
	display: flex;
	gap: var(--m-space);
	justify-content: space-between;
	margin-inline: 50px;
}

.page-template-template-map #intro-section .paragraph-wrapper {
	max-width: 470px;
}

.page-template-template-map #intro-section .maui-1-wrapper img {
	width: 100%;
	max-width: 570px;
	height: auto;
	transform: translateX(100%);
	opacity: 0;
}

@media (max-width: 992px) {
	.page-template-template-map #intro-section .section-content-wrapper {
		flex-direction: column;
		align-items: center;
	}
}

@media (max-width: 767px) {
	.page-template-template-map #intro-section .section-content-wrapper {
		margin-inline: 20px;
	}
}

/* ==============================
first section
============================== */
.page-template-template-map #first-section {
	margin-top: var(--l-space);
}

.page-template-template-map #first-section .section-content-wrapper {
	display: flex;
	gap: var(--s-space);
	flex-direction: row-reverse;
	justify-content: flex-end;
}

.page-template-template-map #first-section .paragraph-wrapper {
	max-width: 575px;
}

.page-template-template-map #first-section .maui-2-wrapper {
	position: relative;
	width: 50%;
	aspect-ratio: 6/5;
}

.page-template-template-map #first-section .maui-2-wrapper img {
	position: absolute;
	right: 0;
	top: 0;
	width: 100%;
	opacity: 0;
}

.page-template-template-map #first-section .maui-2-wrapper .maui-2-01 {
	transform: translateX(-100%);
}

@media (max-width: 1300px) {
	.page-template-template-map #first-section {
		margin-inline: 50px;
	}
	.page-template-template-map #first-section .section-content-wrapper {
		flex-direction: column;
		align-items: center;
	}
	.page-template-template-map #intro-section .paragraph-wrapper {
		max-width: 575px;
	}
	.page-template-template-map #first-section .maui-2-wrapper {
		width: 100%;
	}
}

@media (max-width: 767px) {
	.page-template-template-map #first-section {
		margin-inline: 20px;
	}
}

/* ==============================
Second section
============================== */
.page-template-template-map #second-section {
	margin-top: var(--l-space);
	margin-bottom: var(--xl-space);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.page-template-template-map #second-section .second-section-wrapper {
	text-align: center;
	max-width: 575px;
	margin-inline: 20px;
}

.page-template-template-map
	#second-section
	.second-section-wrapper
	p:last-child {
	margin-top: var(--m-space);
}

/* ==============================
Third section
============================== */
.page-template-template-map #third-section .maui-3-image-wrapper img {
	width: 100%;
	height: auto;
	opacity: 0;
}

.page-template-template-map #third-section .maui-3-text-wrapper {
	margin-top: -7px;
	min-height: 100vh;
	/* background: #000; */
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.page-template-template-map #third-section .maui-3-text-wrapper p {
	color: #fff;
	max-width: 575px;
	margin-inline: 20px;
}

/* ==============================
Map section
============================== */
/* single map */
.single-map {
	display: flex;
	justify-content: flex-end;
	gap: var(--xl-space);
}

.single-map-left {
	padding-left: 50px;
	max-width: 320px;
}

.single-map-right {
	width: 60%;
	/* height: 84vh; */
	height: 100%;
	overflow: hidden;
	aspect-ratio: 3/2;
}

.single-map-right .photo {
	width: 100%;
	height: 100%;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.single-map-section {
	position: relative;
	height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.single-map-section-info {
	max-width: 700px;
}

.description {
	position: absolute;
	color: #fff;
	opacity: 0;
	width: 100%;
	top: 0;

	left: 0;
}

.description img {
	width: 100%;
}

#map-section .mobile-content-wrapper {
	display: none;
	margin-bottom: 0;
	position: relative;
}

@media (max-width: 1023px) {
	.single-map {
		display: none;
	}
	#map-section .mobile-content-wrapper {
		display: block;
	}
	.page-template-template-map #page {
		overflow: initial;
	}

	.page-template-template-map #page #map-section .map-section-title {
		margin-bottom: 0;
	}
}

#map-section .map-mobile {
	height: auto;
	width: 100%;
	align-items: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

#map-section .mobile-fixed-image-container {
	position: sticky;
	top: 0;
	height: 50vh;
	z-index: 1;
	background: linear-gradient(
		0deg,
		rgba(255, 255, 255, 0.5) 0%,
		rgba(255, 255, 255, 0.8) 5%,
		rgba(255, 255, 255, 1) 10%
	);
}

#map-section .mobile-fixed-image {
	position: absolute;
	top: 80px;
	left: 0;
	width: 100%;
	height: auto;
	opacity: 0;
	transition: opacity 0.5s ease-in-out;
}

#map-section .default-image {
	opacity: 1;
}

#map-section .mobile-fixed-image.active {
	opacity: 1;
}

#map-section .mobile-content {
	/* margin-top: var(--l-space); */
	margin-top: 0;
	display: flex;
	flex-direction: column;
	/* gap: var(--xl-space); */
	gap: 0;
	margin-inline: 50px;
}

#map-section .mobile-content-section {
	min-height: 50vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	max-width: 570px;
}

/* #map-section .mobile-content-section:first-child {
	min-height: 20vh;
} */

/* ==============================
Last section
============================== */

.page-template-template-map #last-section .paragraph-wrapper {
	display: flex;
	justify-content: space-between;
	gap: var(--s-space);
	margin-inline: 50px;
}

.page-template-template-map #last-section .paragraph-wrapper h4 {
	max-width: 470px;
}

.page-template-template-map #last-section .paragraph-wrapper p {
	max-width: 570px;
}

.page-template-template-map #last-section .maui-4-wrapper {
	margin-top: var(--l-space);
	margin-bottom: var(--l-space);
}

.page-template-template-map #last-section .maui-4-image-wrapper {
	position: relative;
	max-width: 900px;
	width: 90%;
	aspect-ratio: 9/8;
	margin-inline: auto;
}

.page-template-template-map #last-section .maui-north-island {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, 0);
	max-width: 900px;
	width: 100%;
	opacity: 0;
}

@media (max-width: 992px) {
	.page-template-template-map #last-section .paragraph-wrapper {
		flex-direction: column;
		align-items: center;
	}
	.page-template-template-map #last-section .paragraph-wrapper h4 {
		max-width: 570px;
	}
}

@media (max-width: 767px) {
	.page-template-template-map #last-section .paragraph-wrapper {
		margin-inline: 20px;
	}
}
