.mm-media-video-section,
.mm-huahin-light {
	box-sizing: border-box;
}

.mm-media-video-section * ,
.mm-media-sale-video *,
.mm-huahin-light * {
	box-sizing: border-box;
}

.mm-media-video-home {
	padding: 78px 0;
	background: #102d42;
	color: #fff;
}

.mm-media-video-grid,
.mm-media-sale-video {
	display: flex;
	align-items: center;
	gap: 52px;
}

.mm-media-video-copy,
.mm-media-sale-video-copy {
	flex: 0 1 39%;
}

.mm-media-kicker {
	display: block;
	margin-bottom: 13px;
	color: #55bfd8;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.mm-media-video-copy .mm-media-kicker {
	color: #8cdef0;
}

.mm-media-video-copy h2,
.mm-media-sale-video-copy h2,
.mm-huahin-light-head h2 {
	margin: 0;
	font-size: 37px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -.02em;
}

.mm-media-video-copy p,
.mm-media-sale-video-copy p,
.mm-huahin-light-head p {
	margin: 20px 0 0;
	font-size: 16px;
	line-height: 1.72;
}

.mm-media-video-copy p {
	color: rgba(255, 255, 255, .78);
}

.mm-media-youtube-link {
	display: inline-block;
	margin-top: 22px;
	color: #55bfd8;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.mm-media-video-home .mm-media-youtube-link {
	color: #8cdef0;
}

.mm-media-youtube-link:hover {
	text-decoration: underline;
}

.mm-media-video-player {
	position: relative;
	flex: 1 1 61%;
	display: block;
	min-width: 0;
	min-height: 300px;
	padding: 0;
	aspect-ratio: 16 / 9;
	border: 0;
	border-radius: 22px;
	background: #07141d;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
	overflow: hidden;
	cursor: pointer;
}

.mm-media-video-player img,
.mm-media-video-player iframe {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.mm-media-video-player img {
	object-fit: cover;
	transition: transform .35s ease;
}

.mm-media-video-player:not(.is-playing):hover img {
	transform: scale(1.025);
}

.mm-media-video-shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(3, 12, 19, .72), rgba(3, 12, 19, .04) 60%);
}

.mm-media-play {
	position: absolute;
	left: 50%;
	top: 50%;
	display: flex;
	width: 78px;
	height: 78px;
	align-items: center;
	justify-content: center;
	border: 2px solid rgba(255, 255, 255, .7);
	border-radius: 50%;
	background: rgba(7, 99, 128, .9);
	box-shadow: 0 10px 30px rgba(0, 0, 0, .28);
	transform: translate(-50%, -50%);
	transition: transform .2s ease, background .2s ease;
}

.mm-media-video-player:hover .mm-media-play {
	background: #0783a5;
	transform: translate(-50%, -50%) scale(1.07);
}

.mm-media-play i {
	display: block;
	width: 0;
	height: 0;
	margin-left: 5px;
	border-top: 11px solid transparent;
	border-bottom: 11px solid transparent;
	border-left: 18px solid #fff;
}

.mm-media-video-caption {
	position: absolute;
	left: 25px;
	right: 25px;
	bottom: 21px;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	text-align: left;
}

.mm-media-sale-video {
	margin: 58px 0;
	padding: 42px;
	border: 1px solid #dbe8ed;
	border-radius: 24px;
	background: linear-gradient(135deg, #f4fafc, #e9f5f8);
}

.mm-media-sale-video-copy p {
	color: #566572;
}

.mm-media-sale-video .mm-media-video-player {
	border-radius: 18px;
	box-shadow: 0 18px 45px rgba(22, 62, 80, .18);
}

.mm-huahin-light {
	padding: 78px 0 86px;
	background: linear-gradient(180deg, #f6fafb, #edf6f8);
}

.mm-huahin-light-head {
	max-width: 780px;
	margin-bottom: 34px;
}

.mm-huahin-light-head p {
	color: #65717c;
}

.mm-huahin-light-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}

.mm-huahin-light-card {
	position: relative;
	display: flex;
	min-height: 285px;
	padding: 30px;
	flex-direction: column;
	border: 1px solid rgba(40, 105, 125, .14);
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 12px 38px rgba(28, 65, 81, .08);
	color: #172a36;
	text-decoration: none;
	overflow: hidden;
	transition: transform .2s ease, box-shadow .2s ease;
}

.mm-huahin-light-card:after {
	content: "";
	position: absolute;
	right: -65px;
	top: -65px;
	width: 170px;
	height: 170px;
	border-radius: 50%;
	background: rgba(62, 177, 202, .09);
}

.mm-huahin-light-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 48px rgba(28, 65, 81, .14);
}

.mm-huahin-light-icon {
	position: relative;
	z-index: 1;
	display: flex;
	width: 58px;
	height: 58px;
	align-items: center;
	justify-content: center;
	margin-bottom: 23px;
	border-radius: 16px;
	background: #e8f7fa;
	color: #087e9c;
	font-size: 19px;
	font-weight: 800;
}

.mm-huahin-light-name .mm-huahin-light-icon {
	background: #fff3df;
	color: #b96d00;
	font-family: Arial, sans-serif;
}

.mm-huahin-light-quiz .mm-huahin-light-icon {
	background: #eef0ff;
	color: #5356a5;
}

.mm-huahin-light-card strong {
	position: relative;
	z-index: 1;
	display: block;
	font-size: 22px;
	line-height: 1.25;
}

.mm-huahin-light-card p {
	position: relative;
	z-index: 1;
	margin: 13px 0 23px;
	color: #687681;
	font-size: 15px;
	line-height: 1.6;
}

.mm-huahin-light-card b {
	position: relative;
	z-index: 1;
	display: block;
	margin-top: auto;
	color: #087e9c;
	font-size: 14px;
}

@media (max-width: 900px) {
	.mm-media-video-grid,
	.mm-media-sale-video {
		flex-direction: column;
		align-items: stretch;
	}

	.mm-media-video-copy,
	.mm-media-sale-video-copy,
	.mm-media-video-player {
		flex-basis: auto;
	}

	.mm-huahin-light-grid {
		grid-template-columns: 1fr;
	}

	.mm-huahin-light-card {
		min-height: 0;
	}
}

@media (max-width: 760px) {
	.mm-media-video-home,
	.mm-huahin-light {
		padding: 56px 0;
	}

	.mm-media-video-grid {
		gap: 30px;
	}

	.mm-media-video-copy h2,
	.mm-media-sale-video-copy h2,
	.mm-huahin-light-head h2 {
		font-size: 29px;
	}

	.mm-media-video-player {
		min-height: 190px;
		border-radius: 16px;
	}

	.mm-media-play {
		width: 62px;
		height: 62px;
	}

	.mm-media-video-caption {
		left: 16px;
		right: 16px;
		bottom: 14px;
		font-size: 13px;
	}

	.mm-media-sale-video {
		gap: 28px;
		margin: 42px 0;
		padding: 24px 18px;
		border-radius: 18px;
	}

	.mm-huahin-light-grid {
		gap: 16px;
	}

	.mm-huahin-light-card {
		padding: 24px;
		border-radius: 16px;
	}
}
