/**
 * Legal pages — Miami Prime Management (Terms, Disclaimer, shared layout)
 */

.mpm-legal-hero,
.mpm-legal-body {
	font-family: Arial, Helvetica, sans-serif;
	box-sizing: border-box;
	color: #222222;
}

.mpm-legal-hero *,
.mpm-legal-body * {
	box-sizing: border-box;
}

.mpm-legal-hero {
	position: relative;
	width: 100%;
	height: 520px;
	overflow: hidden;
	background-color: #1d3b5a;
	background-size: cover;
	background-position: center right;
	background-repeat: no-repeat;
}

.mpm-legal-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(15, 35, 60, 0.92) 0%, rgba(15, 35, 60, 0.78) 38%, rgba(15, 35, 60, 0.25) 70%, rgba(15, 35, 60, 0.05) 100%);
	pointer-events: none;
}

.mpm-legal-hero__container {
	position: relative;
	z-index: 1;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 40px;
	height: 100%;
	display: flex;
	align-items: center;
}

.mpm-legal-hero__content {
	max-width: 680px;
	text-align: left;
}

.mpm-legal-hero__title {
	margin: 0;
	font-size: clamp(36px, 4.5vw, 64px);
	font-weight: 700;
	line-height: 1.08;
	text-transform: uppercase;
}

.mpm-legal-hero__title-main {
	color: #ffffff;
}

.mpm-legal-hero__title-accent {
	color: #8bc53f;
}

.mpm-legal-hero__accent {
	display: block;
	width: 64px;
	height: 4px;
	background: #8bc53f;
	margin: 24px 0;
}

.mpm-legal-hero__subtitle {
	margin: 0;
	font-size: clamp(18px, 2vw, 22px);
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.95);
	max-width: 620px;
}

.mpm-legal-body {
	background: #ffffff;
	padding: 72px 0 88px;
}

.mpm-legal-body__container {
	max-width: 900px;
	margin: 0 auto;
	padding: 0 40px;
}

.mpm-legal-body__updated {
	margin: 0 0 32px;
	font-size: 15px;
	color: #555555;
}

.mpm-legal-body__intro {
	margin: 0 0 40px;
	font-size: 17px;
	line-height: 1.85;
	color: #222222;
}

.mpm-legal-notice {
	margin: 0 0 48px;
	padding: 28px 32px;
	background: #f0f6e8;
	border: 2px solid #8bc53f;
	border-radius: 4px;
}

.mpm-legal-notice__title {
	margin: 0 0 16px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.25;
	color: #123d25;
	text-transform: uppercase;
}

.mpm-legal-notice p {
	margin: 0 0 16px;
	font-size: 16px;
	line-height: 1.8;
	color: #222222;
}

.mpm-legal-notice p:last-child {
	margin-bottom: 0;
}

.mpm-legal-notice ul {
	margin: 0 0 16px;
	padding-left: 24px;
	font-size: 16px;
	line-height: 1.8;
	color: #222222;
}

.mpm-legal-notice li {
	margin-bottom: 8px;
}

.mpm-legal-notice ul:last-child {
	margin-bottom: 0;
}

.mpm-legal-body__section {
	margin-bottom: 40px;
}

.mpm-legal-body__section:last-child {
	margin-bottom: 0;
}

.mpm-legal-body__heading {
	margin: 0 0 16px;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.25;
	color: #123d25;
}

.mpm-legal-body__heading-line {
	display: block;
	width: 56px;
	height: 4px;
	background: #8bc53f;
	margin: 0 0 20px;
}

.mpm-legal-body__subheading {
	margin: 24px 0 12px;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.35;
	color: #123d25;
}

.mpm-legal-body p {
	margin: 0 0 16px;
	font-size: 16px;
	line-height: 1.8;
	color: #222222;
}

.mpm-legal-body ul,
.mpm-legal-body ol {
	margin: 0 0 16px;
	padding-left: 24px;
	font-size: 16px;
	line-height: 1.8;
	color: #222222;
}

.mpm-legal-body li {
	margin-bottom: 8px;
}

.mpm-legal-body a {
	color: #123d25;
	text-decoration: underline;
}

.mpm-legal-body a:hover,
.mpm-legal-body a:focus {
	color: #8bc53f;
}

.mpm-legal-body__contact-box {
	margin-top: 8px;
	padding: 24px 28px;
	background: #f7f7f7;
	border-left: 4px solid #8bc53f;
	border-radius: 0 4px 4px 0;
}

.mpm-legal-body__contact-box p {
	margin-bottom: 8px;
}

.mpm-legal-body__contact-box p:last-child {
	margin-bottom: 0;
}

@media (max-width: 991px) {
	.mpm-legal-hero {
		min-height: 480px;
		height: auto;
	}

	.mpm-legal-hero__container {
		height: auto;
		min-height: 480px;
		align-items: flex-start;
		padding: 36px 40px 44px;
	}
}

@media (max-width: 767px) {
	.mpm-legal-hero {
		min-height: 420px;
		background-position: 70% center;
	}

	.mpm-legal-hero__container {
		min-height: 420px;
		padding: 32px 24px 40px;
	}

	.mpm-legal-body {
		padding: 56px 0 64px;
	}

	.mpm-legal-body__container {
		padding: 0 24px;
	}

	.mpm-legal-notice {
		padding: 22px 20px;
	}

	.mpm-legal-body__heading {
		font-size: 22px;
	}
}
