/* Trang Video và Tuyển dụng — theo bố cục trang mẫu. */

/* ---- Video ---- */
.channel-banner {
	margin: 6px 0 10px;
}
.channel-banner__media {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 140px;
	border-radius: 4px;
	background: linear-gradient(90deg, #0d3a4f 0%, #0a2231 60%, #061420 100%);
	color: #d8c9a3;
	font-family: var(--font-display);
	font-size: 32px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 4px;
}
.channel-banner__title {
	margin: 8px 0 0;
	font-size: 14px;
	font-weight: 700;
	color: #264c5d;
}
.channel-banner__link {
	margin: 0 0 6px;
	font-size: 12px;
	color: #0073ca;
}
.btn-subscribe {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 3px;
	background: #d93025;
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
}
.btn-subscribe:hover { background: #b3241b; color: #ffffff; }

.line-title {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 28px 0 18px;
	text-align: center;
	font-family: var(--font-display);
	font-size: 18px;
	font-weight: 700;
	text-transform: uppercase;
	color: #264c5d;
}
.line-title::before,
.line-title::after {
	content: "";
	flex: 1;
	height: 1px;
	background: #264c5d;
	opacity: 0.6;
}

.listvideo {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
}
.listvideo__img {
	position: relative;
	display: block;
	border-radius: 4px;
	overflow: hidden;
}
.listvideo__media {
	aspect-ratio: 16 / 9;
}
.listvideo__play {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 46px;
	height: 46px;
	margin: -23px 0 0 -23px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.55);
}
.listvideo__play::after {
	content: "";
	position: absolute;
	left: 18px;
	top: 14px;
	border-style: solid;
	border-width: 9px 0 9px 15px;
	border-color: transparent transparent transparent #ffffff;
}
.listvideo h3 {
	margin-top: 6px;
	font-size: 13px;
	font-weight: 700;
	line-height: 19px;
	color: #264c5d;
}

/* ---- Tuyển dụng ---- */
.listjob {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin: 6px 0 24px;
	padding: 0;
	list-style: none;
}
.listjob__img { display: block; border-radius: 4px; overflow: hidden; }
.listjob__media { aspect-ratio: 16 / 10; }
.listjob h3 {
	margin-top: 8px;
	font-size: 13px;
	font-weight: 700;
	line-height: 19px;
	color: #264c5d;
}
.listjob p {
	margin: 4px 0 0;
	font-size: 12px;
	line-height: 18px;
	color: #84807d;
}

/* ---- Liên hệ / Báo giá: form bên trái ---- */
.regcontact {
	max-width: 520px;
	margin: 10px 0 24px;
}
.regcontact__title {
	margin: 0 0 12px;
	font-size: 14px;
	color: #484338;
}
.regcontact__form label {
	display: block;
	margin: 10px 0 3px;
	font-size: 12px;
	color: #484338;
}
.regcontact__form input[type="email"],
.regcontact__form input[type="text"],
.regcontact__form input[type="tel"],
.regcontact__form textarea {
	display: block;
	width: 100%;
	padding: 8px 10px;
	border: 1px solid #d9d9d9;
	border-radius: 2px;
	background: #fafafa;
	font: inherit;
	font-size: 12px;
	color: #333333;
}
.regcontact__form textarea { resize: vertical; min-height: 110px; }
.regcontact__submit {
	margin-top: 12px;
	padding: 7px 18px;
	border: 0;
	border-radius: 2px;
	background: #1d1d1d;
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
}
.regcontact__submit:hover { background: #264c5d; }
.regcontact__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.regcontact__notice {
	margin: 0 0 10px;
	padding: 8px 10px;
	border-radius: 3px;
	font-size: 13px;
}
.regcontact__notice--ok { background: #e6f4ea; color: #1e6b34; }
.regcontact__notice--err { background: #fdecea; color: #a1281d; }
.contact-text { width: 100%; }

@media (max-width: 1024px) {
	.listvideo, .listjob { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
	.listvideo, .listjob { grid-template-columns: 1fr; }
}

/* ===== Chỉnh trang chủ theo số đo mới (1440px) ===== */
/* Hàng dịch vụ cao 255px */
.service { min-height: 255px; }
.service__banner a, .service__card { min-height: 255px; }

/* Thẻ trong dải: ảnh 342×322 + phần chữ ≈ 48px = 370px (dải cao 380px) */
.listdesign__media { aspect-ratio: 342 / 322; }
.listdesign .info { min-height: 48px; }

/* Bộ sưu tập: lưới 3 cột × 2 hàng, mỗi hàng ≈ 357px (ảnh 441×331 + dòng tên 26px) */
.collection { margin-top: 0; }
.collection .title_center { height: 82px; margin: 0; padding-top: 28px; box-sizing: border-box; }
.list_collection {
	grid-auto-flow: row;
	grid-template-columns: repeat(3, 1fr);
	grid-auto-columns: auto;
	gap: 0 16px;
	overflow: visible;
}
.list_collection li:nth-child(n+7) { display: none; }
.list_collection__title { margin-top: 0; line-height: 26px; }

/* Video: dải ảnh vuông 255×255 dưới video chính */
.video_home__list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}
.video_home__thumb { display: block; aspect-ratio: 1 / 1; border-radius: 4px; }

/* Cảm hứng thiết kế: lưới 4 cột × 2 hàng, thẻ có ảnh 320×170, tiêu đề và đoạn mô tả */
.listnews {
	grid-auto-flow: row;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-columns: auto;
	overflow: visible;
	gap: 24px;
}
.listnews li:nth-child(n+9) { display: none; }
.listnews p {
	margin: 6px 0 0;
	font-size: 13px;
	line-height: 20px;
	color: #484338;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Footer cao ≈ 489px */
.footer.site-footer { min-height: 489px; }

@media (max-width: 1024px) {
	.list_collection { grid-template-columns: repeat(2, 1fr); }
	.listnews { grid-template-columns: repeat(2, 1fr); }
	.video_home__list { grid-template-columns: repeat(2, 1fr); }
	.footer.site-footer { min-height: 0; }
}
@media (max-width: 600px) {
	.list_collection, .listnews { grid-template-columns: 1fr; }
}

/* Khối tiêu đề: signature cao 82px, cảm hứng thiết kế cao 96px; thẻ tin cao ≈ 348px (đo trang mẫu) */
.signature .title_center { height: 82px; margin: 0; padding-top: 20px; box-sizing: border-box; }
.news-block .title_center { height: 96px; margin: 0; padding-top: 30px; box-sizing: border-box; }
.news-block .listnews { gap: 0 24px; }
.news-block .listnews li { min-height: 348px; }

/* ===== Danh sách bài viết (theo trang mẫu): lưới 4 cột, ảnh 320×170, tiêu đề đậm, mô tả xám ===== */
.news-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px 18px;
	margin: 8px 0 24px;
}
.news-grid .card__date { display: none; }
.news-grid .card__media { aspect-ratio: 320 / 170; }
.news-grid .card__body { padding-top: 8px; }
.news-grid .card__title {
	font-size: 13px;
	font-weight: 700;
	line-height: 19px;
	color: #264c5d;
}
.news-grid .card__excerpt {
	margin: 4px 0 0;
	font-size: 12px;
	line-height: 18px;
	color: #84807d;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
@media (max-width: 1024px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .news-grid { grid-template-columns: 1fr; } }

/* ===== Khoảng cách trang chủ khớp chiều cao trang mẫu (1440px) ===== */
.home-page > .container > .service:first-child { min-height: 270px; }
.home-page .service { margin-top: 10px; }
.home-page .keywords { min-height: 149px; }
.home-row--video { margin-top: 30px; margin-bottom: 30px; }
.home-page .news-block .title_center { height: 116px; padding-top: 40px; }
.home-page .signature { margin-top: 35px; }
.home-page .home-row--video { margin-top: 45px; margin-bottom: 45px; }
@media (max-width: 1024px) {
	.home-page .keywords { min-height: 0; }
	.home-page .signature { margin-top: 20px; }
	.home-page .home-row--video { margin-top: 16px; margin-bottom: 16px; }
	.home-page .news-block .title_center { height: auto; padding-top: 24px; margin-bottom: 12px; }
}
