/* Monozy Child: giao diện trang chủ, Video, Album ảnh */
:root {
	--m-ink: #15222e;
	--m-muted: #596774;
	--m-paper: #f3f5f6;
	--m-line: #d5dbdf;
	--m-accent: #0e7490;
	--m-accent-dark: #0a5568;
	--m-radius: 4px;
	--m-gap: 24px;
}

body {
	font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
	color: var(--m-ink);
}

.m-wrap {
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: 20px;
}

.m-section {
	padding-block: clamp(36px, 6vw, 80px);
}

.m-h2 {
	margin: 0 0 24px;
	font-size: clamp(1.4rem, 2.4vw, 1.9rem);
	font-weight: 700;
	line-height: 1.2;
}

.m-sechead {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 24px;
}
.m-sechead .m-h2 { margin: 0; }

.m-link {
	color: var(--m-accent-dark);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.m-link:hover { color: var(--m-ink); }

.m-btn {
	display: inline-block;
	padding: 12px 22px;
	background: var(--m-accent);
	color: #fff;
	font-weight: 600;
	text-decoration: none;
	border-radius: var(--m-radius);
}
.m-btn:hover { background: var(--m-accent-dark); color: #fff; }
.m-btn--light { background: #fff; color: var(--m-ink); }
.m-btn--light:hover { background: var(--m-paper); color: var(--m-ink); }

a:focus-visible,
.m-btn:focus-visible,
.m-chip:focus-visible {
	outline: 3px solid var(--m-accent);
	outline-offset: 3px;
}

/* Phần đầu trang chủ */
.m-hero { background: var(--m-paper); padding-block: clamp(32px, 6vw, 72px); }
.m-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(24px, 4vw, 56px);
	align-items: center;
}
.m-hero__title {
	margin: 0 0 16px;
	font-size: clamp(2rem, 4.2vw, 3.3rem);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.01em;
}
.m-hero__lead { margin: 0 0 24px; max-width: 46ch; color: var(--m-muted); font-size: 1.05rem; line-height: 1.6; }
.m-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin: 0; }

/* Khung video nổi bật */
.m-slate { display: block; text-decoration: none; color: inherit; }
.m-slate__frame {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	background: var(--m-ink);
	border-radius: var(--m-radius);
	overflow: hidden;
}
.m-slate__frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.m-slate__caption {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 12px 0 0;
	border-top: 3px solid var(--m-accent);
	margin-top: 12px;
	font-size: 0.95rem;
}
.m-slate__caption span { color: var(--m-muted); }

/* Nút phát */
.m-play {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 52px;
	height: 52px;
	margin: -26px 0 0 -26px;
	border-radius: 50%;
	background: rgba(21, 34, 46, 0.78);
}
.m-play::before {
	content: "";
	position: absolute;
	left: 20px;
	top: 16px;
	border-style: solid;
	border-width: 10px 0 10px 16px;
	border-color: transparent transparent transparent #fff;
}
.m-play--lg { width: 76px; height: 76px; margin: -38px 0 0 -38px; }
.m-play--lg::before { left: 30px; top: 24px; border-width: 14px 0 14px 22px; }
a:hover > .m-play,
a:hover .m-play { background: var(--m-accent); }

/* Lưới thẻ */
.m-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 32px var(--m-gap);
}
.m-card { margin: 0; }
.m-card__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	background: var(--m-paper);
	border-radius: var(--m-radius);
	overflow: hidden;
}
.m-card--album .m-card__media { aspect-ratio: 4 / 3; }
.m-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.m-card__title { margin: 12px 0 4px; font-size: 1.02rem; font-weight: 600; line-height: 1.35; }
.m-card__title a { color: inherit; text-decoration: none; }
.m-card__title a:hover { color: var(--m-accent-dark); text-decoration: underline; }
.m-card__meta { margin: 0; color: var(--m-muted); font-size: 0.9rem; }

/* Dịch vụ */
.m-services {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0 var(--m-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}
.m-services__item { padding: 20px 0 28px; border-top: 1px solid var(--m-line); }
.m-services__item h3 { margin: 0 0 8px; font-size: 1.15rem; }
.m-services__item h3 a { color: inherit; text-decoration: none; }
.m-services__item h3 a:hover { color: var(--m-accent-dark); text-decoration: underline; }
.m-services__item p { margin: 0; color: var(--m-muted); line-height: 1.6; }

/* Quy trình (có thứ tự thật) */
.m-steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--m-gap);
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: step;
}
.m-steps__item { counter-increment: step; padding-top: 16px; border-top: 3px solid var(--m-accent); }
.m-steps__item h3 { margin: 0 0 8px; font-size: 1.05rem; }
.m-steps__item h3::before { content: counter(step) ". "; color: var(--m-accent-dark); }
.m-steps__item p { margin: 0; color: var(--m-muted); line-height: 1.6; }

/* Lời kêu gọi liên hệ */
.m-cta { background: var(--m-ink); color: #fff; padding-block: clamp(36px, 6vw, 72px); }
.m-cta__inner { display: grid; gap: 14px; justify-items: start; }
.m-cta__title { margin: 0; color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.2; }
.m-cta__text { margin: 0; max-width: 60ch; line-height: 1.6; color: #dbe3e8; }
.m-cta__text a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* Trang danh sách */
.m-pagehead { margin-bottom: 32px; }
.m-pagehead__title { margin: 0 0 16px; font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; line-height: 1.15; }
.m-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.m-chip {
	padding: 6px 16px;
	border: 1px solid var(--m-line);
	border-radius: 999px;
	color: var(--m-ink);
	font-size: 0.92rem;
	text-decoration: none;
}
.m-chip:hover { border-color: var(--m-ink); }
.m-chip[aria-current="true"] { background: var(--m-ink); border-color: var(--m-ink); color: #fff; }
.m-empty { color: var(--m-muted); }

.navigation.pagination { margin-top: 40px; }
.navigation.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.navigation.pagination .page-numbers {
	padding: 6px 14px;
	border: 1px solid var(--m-line);
	border-radius: var(--m-radius);
	color: var(--m-ink);
	text-decoration: none;
}
.navigation.pagination .page-numbers.current { background: var(--m-ink); border-color: var(--m-ink); color: #fff; }

/* Trang chi tiết */
.m-single__title { margin: 0 0 24px; font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; line-height: 1.2; max-width: 28ch; }
.m-embed { position: relative; aspect-ratio: 16 / 9; background: var(--m-ink); border-radius: var(--m-radius); overflow: hidden; }
.m-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.m-single__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; margin-top: 32px; align-items: start; }
.m-single__body--top { margin-top: 0; margin-bottom: 32px; }
.m-facts { margin: 0; border-top: 3px solid var(--m-accent); }
.m-facts > div { padding: 10px 0; border-bottom: 1px solid var(--m-line); }
.m-facts dt { color: var(--m-muted); font-size: 0.88rem; }
.m-facts dd { margin: 2px 0 0; font-weight: 600; }
.m-facts a { color: var(--m-accent-dark); }
.m-prose { max-width: 70ch; line-height: 1.7; }
.m-related { margin-top: clamp(40px, 6vw, 72px); }

/* Album */
.m-gallery { columns: 3 260px; column-gap: 12px; }
.m-gallery a { display: block; margin-bottom: 12px; border-radius: var(--m-radius); overflow: hidden; }
.m-gallery img { display: block; width: 100%; height: auto; }

.m-lightbox { max-width: 94vw; max-height: 94vh; padding: 0; border: 0; background: transparent; }
.m-lightbox::backdrop { background: rgba(10, 16, 22, 0.88); }
.m-lightbox img { display: block; max-width: 94vw; max-height: 90vh; margin: auto; }
.m-lightbox__close {
	position: fixed;
	top: 12px;
	right: 16px;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: var(--m-ink);
	font-size: 1.6rem;
	line-height: 1;
	cursor: pointer;
}

/* Màn hình nhỏ */
@media (max-width: 900px) {
	.m-hero__inner { grid-template-columns: 1fr; }
	.m-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.m-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.m-single__body { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.m-services,
	.m-steps { grid-template-columns: 1fr; }
	.m-sechead { flex-direction: column; align-items: flex-start; gap: 8px; }
}
