/**
 * Master Plan block styles.
 * BEM methodology. Section: 1348px + 46px padding.
 *
 * @package Harmony
 */

.masterplan {
	width: 100%;
}

.masterplan__inner {
	max-width: 1440px;
	margin: 0 auto;
	padding: 140px 46px 0;
	display: flex;
	flex-direction: column;
	gap: 0;
}

/* Header - no background, above the image */
.masterplan__header {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: flex-end;
	gap: 20px;
	padding-bottom: 32px;
}

.masterplan__title {
	margin: 0;
	font-family: var(--font-family);
	font-weight: 500;
	font-size: 46px;
	line-height: 110%;
	letter-spacing: -0.05em;
	text-transform: uppercase;
	color: var(--black-292929);
	max-width: 635px;
}

.masterplan__label {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.masterplan__label-text {
	font-family: var(--font-family);
	font-weight: 600;
	font-size: 15px;
	text-transform: lowercase;
	text-align: right;
	color: var(--red-e26959);
}

.masterplan__label-dot {
	width: 6px;
	height: 6px;
	border-radius: 0;
	background-color: var(--red-e26959);
	flex-shrink: 0;
}

.masterplan__image {
	width: 100%;
	height: 758px;
	padding-bottom: 34px;
	overflow: hidden;
}

.masterplan__iframe-wrap {
	width: 100%;
	height: 100%;
	position: relative;
}

.masterplan__iframe-wrap iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
}

/* Mobile: 550px and below */
@media (max-width: 769px) {
	.masterplan__inner {
		padding: 60px 14px 0;
		flex-direction: column;
		gap: 20px;
	}

	.masterplan__header {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
		padding-bottom: 0;
	}

	.masterplan__label {
		flex-direction: row-reverse;
		gap: 6px;
		order: -1;
	}

	.masterplan__label-text {
		font-size: 14px;
		font-weight: 700;
	}

	.masterplan__label-dot {
		width: 6px;
		height: 6px;
	}

	.masterplan__title {
		font-size: 32px;
		max-width: none;
	}

	.masterplan__image {
		height: 640px;
		padding-bottom: 0;
	}
}
