/*
Theme Name: Helpdesk Box
Template: twentytwentyfive
Description: Theme con của Twenty Twenty-Five cho helpdeskbox.vn. Nền xanh navy, hai tông xanh của logo, chữ Be Vietnam Pro và Roboto.
Version: 0.3.9
Requires at least: 6.7
Requires PHP: 8.1
Text Domain: helpdeskbox
License: GPLv2 or later
*/

/* Phần theme.json không diễn tả được. Màu và chữ lấy từ biến theme.json. */

:root {
	--hb-vien: var(--wp--preset--color--vien);
	--hb-sang: var(--wp--preset--color--sang);
	--hb-mat: var(--wp--preset--color--mat);
	--hb-r: 6px;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; }
}

a, button, summary, .wp-block-navigation-item__content { cursor: pointer; }
:where(a, button, summary, input, select, textarea):focus-visible {
	outline: 3px solid var(--hb-sang);
	outline-offset: 3px;
	border-radius: 2px;
}


/* Dấu hiệu nhận diện: vạch teal dọc trước nhãn mục (giữ từ web cũ). */
.hb-nhan { display: flex; align-items: center; gap: 10px; }
.hb-nhan::before { content: ""; flex: none; width: 3px; height: 1.3em; background: var(--wp--preset--color--teal); }

/* Chữ đổi màu trong tiêu đề */
h1 em, h2 em { font-style: normal; color: var(--hb-sang); }
.hb-tieu-de-lon em { display: block; }

/* Dải trên cùng */
.hb-dai-tren a { color: #fff; text-decoration: none; display: inline-block; padding: 8px 0; }
.hb-dai-tren a:hover { text-decoration: underline; }

/* Đầu trang dính */
.hb-dau { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--hb-vien); }
.admin-bar .hb-dau { top: 32px; }
@media (max-width: 782px) { .admin-bar .hb-dau { top: 0; position: relative; } }
.hb-dau .wp-block-navigation-item__content { padding: 10px 12px; border-radius: 4px; }
.hb-dau .wp-block-navigation-item__content:hover { background: var(--hb-mat); }
.hb-dau .current-menu-item > .wp-block-navigation-item__content { color: var(--hb-sang); }
.hb-dau .wp-block-navigation__responsive-container-open,
.hb-dau .wp-block-navigation__responsive-container-close { width: 44px; height: 44px; justify-content: center; align-items: center; border: 2px solid var(--hb-vien); border-radius: 4px; }
.hb-dau .wp-block-navigation__responsive-container.is-menu-open { background: var(--wp--preset--color--nen); }
.hb-dau .is-menu-open .wp-block-navigation-item__content { font-size: 18px; padding: 12px 8px; }
@media (max-width: 599px) { .hb-dau .hb-nut-dau { display: none; } }

/* Khung "Cách chúng tôi làm việc" */
.hb-cam-ket { border: 1px solid var(--hb-vien); border-radius: var(--hb-r); }
.hb-cam-ket .hb-dong { border-top: 1px solid var(--hb-vien); }
.hb-cam-ket .hb-dong:first-of-type { border-top: 0; }
.hb-cam-ket .hb-gia-tri { text-align: right; }
@media (max-width: 599px) {
	.hb-cam-ket .hb-dong { flex-direction: column; align-items: flex-start !important; gap: 4px !important; }
	.hb-cam-ket .hb-gia-tri { text-align: left; }
}

/* Lưới sáu việc: ô liền nhau, ngăn bằng đường kẻ */
.hb-luoi-viec { gap: 1px !important; background: var(--hb-vien); border: 1px solid var(--hb-vien); border-radius: var(--hb-r); overflow: hidden; }
.hb-luoi-viec > * { background: var(--wp--preset--color--nen); margin: 0 !important; }
.hb-luoi-viec .hb-ket-qua strong { color: var(--hb-sang); font-weight: 600; }

/* Bảng so sánh: trên điện thoại chuyển mỗi dòng thành một thẻ */
.hb-so-sanh table { border-collapse: collapse; width: 100%; }
.hb-so-sanh th, .hb-so-sanh td { border: 0; border-bottom: 1px solid var(--hb-vien); padding: 18px 16px; text-align: left; vertical-align: top; }
.hb-so-sanh thead { border: 0; }
.hb-so-sanh thead th { font-family: var(--wp--preset--font-family--tieu-de); font-size: 14px; font-weight: 600; color: var(--wp--preset--color--chu-phu); }
.hb-so-sanh thead th:nth-child(2) { color: var(--hb-sang); }
.hb-so-sanh td:nth-child(1), .hb-so-sanh td:nth-child(2) { color: #fff; font-weight: 500; }
/* Bảng giá: cột giá là cột nổi bật, cột "Gồm" là chữ phụ. */
.hb-gia thead th:nth-child(2) { color: var(--wp--preset--color--chu-phu); }
.hb-gia thead th:nth-child(3) { color: var(--hb-sang); }
.hb-gia td:nth-child(2) { color: var(--wp--preset--color--chu-phu); font-weight: 400; }
.hb-gia td:nth-child(3) { color: #fff; font-weight: 600; white-space: nowrap; }
@media (max-width: 640px) {
	.hb-so-sanh thead { display: none; }
	.hb-so-sanh tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--hb-vien); }
	.hb-so-sanh td { display: block; border: 0; padding: 3px 0; }
	.hb-so-sanh td:nth-child(1) { font-family: var(--wp--preset--font-family--tieu-de); font-weight: 600; margin-bottom: 4px; }
	.hb-so-sanh td:nth-child(2)::before { content: "Helpdesk Box: "; color: var(--wp--preset--color--chu-phu); font-weight: 400; }
	.hb-so-sanh td:nth-child(3)::before { content: "Kiêm nhiệm: "; color: var(--wp--preset--color--chu-phu); }
	.hb-gia td:nth-child(2)::before { content: "Gồm: "; }
	.hb-gia td:nth-child(3)::before { content: "Giá: "; font-weight: 400; }
}

/* Dải giải pháp cuộn ngang */
.hb-dai .wp-block-post-template {
	display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 31%);
	gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 0 12px; margin: 0;
}
.hb-dai .wp-block-post-template > li {
	scroll-snap-align: start; margin: 0; background: var(--hb-mat);
	border: 1px solid var(--hb-vien); border-radius: var(--hb-r); overflow: hidden;
}
.hb-dai .wp-block-post-template > li:hover { border-color: var(--hb-sang); }
.hb-dai .wp-block-post-featured-image { margin: 0; }
.hb-dai .wp-block-post-featured-image img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.hb-dai .wp-block-post-title { padding: 16px 18px 20px; margin: 0; }
.hb-dai .wp-block-post-title a { color: #fff; text-decoration: none; }
.hb-dai .wp-block-post-title a:hover { text-decoration: underline; }
@media (max-width: 640px) { .hb-dai .wp-block-post-template { grid-auto-columns: 82%; } }

/* Các bước: đánh số bằng CSS */
.hb-buoc { counter-reset: hb-buoc; }
.hb-buoc > * { counter-increment: hb-buoc; border-top: 3px solid var(--wp--preset--color--teal); padding-top: 20px; margin: 0 !important; }
.hb-buoc > *::before {
	content: counter(hb-buoc, decimal-leading-zero); display: block; margin-bottom: 12px;
	color: var(--hb-sang); font: 800 34px/1 var(--wp--preset--font-family--tieu-de);
}

/* Hỏi đáp dạng thẻ */
.hb-hoi-dap .wp-block-details { background: var(--hb-mat); border: 1px solid var(--hb-vien); border-radius: var(--hb-r); padding: 0; margin: 0 0 14px; }
.hb-hoi-dap summary { list-style: none; display: flex; gap: 14px; padding: 20px 22px; font-family: var(--wp--preset--font-family--tieu-de); font-weight: 600; font-size: 18px; color: #fff; }
.hb-hoi-dap summary::-webkit-details-marker { display: none; }
.hb-hoi-dap summary::before { content: "H."; color: var(--hb-sang); flex: none; }
.hb-hoi-dap summary::after { content: "+"; margin-left: auto; color: var(--hb-sang); font-size: 24px; line-height: 1; }
.hb-hoi-dap details[open] summary::after { content: "\2212"; }
/* Trang dịch vụ IT. */
.hb-mo-dau { max-width: 46rem; }
.hb-mang { display: grid; grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr)); gap: 1px; margin-top: var(--wp--preset--spacing--40); background: var(--hb-vien); border: 1px solid var(--hb-vien); border-radius: var(--hb-r); overflow: hidden; }
.hb-mang article { background: var(--wp--preset--color--nen); padding: 26px 24px; }
.hb-mang h3 { margin: 0 0 8px; font-size: 20px; }
.hb-mang p { margin: 0 0 14px; }
.hb-mang ul { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--hb-vien); }
.hb-mang li { margin: 0; }
.hb-mang li a { display: block; padding: 8px 0 8px 18px; position: relative; color: var(--hb-sang); text-decoration: none; font-size: 15px; line-height: 1.45; }
.hb-mang li a::before { content: "›"; position: absolute; left: 2px; top: 7px; color: var(--wp--preset--color--chu-phu); }
.hb-mang li a:hover, .hb-mang li a:focus-visible { text-decoration: underline; }
.hb-mang-loai { margin: 14px 0 0 !important; font-size: 13px; color: var(--wp--preset--color--chu-phu); }
.hb-mang-loai + ul { border-top: 0; padding-top: 4px; }
.hb-mang-video a { display: flex !important; align-items: center; min-height: 44px; box-sizing: border-box; gap: 8px; padding-left: 2px !important; color: #fff !important; }
.hb-mang-video a::before { position: static !important; color: var(--hb-sang); }
.hb-xem-video { margin-top: 18px !important; }
.hb-xem-video a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--hb-sang); }
.screen-reader-text { border: 0; clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }

.hb-ho-so { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--hb-vien); }
.hb-ho-so > div { display: grid; grid-template-columns: 14rem 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--hb-vien); }
.hb-ho-so dt { font-family: var(--wp--preset--font-family--tieu-de); font-weight: 600; color: #fff; }
.hb-ho-so dd { margin: 0; }
@media (max-width: 640px) { .hb-ho-so > div { grid-template-columns: 1fr; gap: 6px; } }

.hb-so-do { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: var(--wp--preset--spacing--40); }
.hb-so-do > div { display: flex; flex-direction: column; background: var(--hb-mat); border: 1px solid var(--hb-vien); border-radius: var(--hb-r); overflow: hidden; transition: border-color .25s ease; }
.hb-so-do > div:hover, .hb-so-do > div:focus-within { border-color: var(--hb-sang); }
.hb-so-do-bai { display: flex; flex-direction: column; flex: 1; color: #fff; text-decoration: none; }
.hb-so-do-video { display: flex; align-items: center; gap: 8px; min-height: 44px; margin: 0 16px 14px; padding-top: 10px; border-top: 1px solid var(--hb-vien); color: var(--hb-sang); font-size: 14px; text-decoration: none; }
.hb-so-do-video::before, .hb-mang-video a::before, .hb-xem-video a::before { content: ""; width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent currentColor; flex: none; }
.hb-so-do-video:hover, .hb-so-do-video:focus-visible { text-decoration: underline; }
.hb-so-do-anh { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #fff; }
.hb-so-do-anh img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.hb-so-do-nhan { padding: 14px 16px 0; font-size: 13px; color: var(--hb-sang); }
.hb-so-do-ten { padding: 4px 16px 18px; font-family: var(--wp--preset--font-family--tieu-de); font-weight: 600; font-size: 16px; line-height: 1.4; }
.hb-so-do-bai:hover .hb-so-do-ten, .hb-so-do-bai:focus-visible .hb-so-do-ten { text-decoration: underline; }
@media (max-width: 1000px) { .hb-so-do { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .hb-so-do { grid-template-columns: 1fr; } }

/* Ảnh thi công: hai ảnh dọc cao hai bên, bốn ảnh nhỏ ở giữa. */
.hb-hien-truong { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 12px; margin-top: var(--wp--preset--spacing--40); }
.hb-hien-truong figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--hb-r); border: 1px solid var(--hb-vien); background: var(--wp--preset--color--nen); }
.hb-hien-truong figure:first-child { grid-column: 1; grid-row: 1 / span 2; }
.hb-hien-truong figure:last-child { grid-column: 4; grid-row: 1 / span 2; }
.hb-hien-truong a { display: block; height: 100%; }
.hb-hien-truong img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.22,.7,.2,1); }
.hb-hien-truong a:hover img, .hb-hien-truong a:focus-visible img { transform: scale(1.04); }
.hb-hien-truong a:focus-visible { outline: 2px solid var(--hb-sang); outline-offset: -2px; }
.hb-hien-truong figcaption { position: absolute; inset: auto 0 0 0; padding: 28px 14px 12px; font-size: 14px; line-height: 1.4; color: #fff; background: linear-gradient(to top, rgba(6, 26, 43, .92) 40%, rgba(6, 26, 43, 0)); pointer-events: none; }
@media (max-width: 781px) {
	.hb-hien-truong { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; gap: 8px; }
	.hb-hien-truong figure:first-child, .hb-hien-truong figure:last-child { grid-column: auto; grid-row: auto; }
	.hb-hien-truong figcaption { font-size: 13px; padding: 24px 10px 10px; }
}

.hb-hoi-dap summary { cursor: pointer; }
.hb-hoi-dap summary:hover { color: var(--hb-sang); }
.hb-hoi-dap .wp-block-details { transition: border-color .25s ease; }
.hb-hoi-dap .wp-block-details:hover, .hb-hoi-dap .wp-block-details[open] { border-color: var(--wp--preset--color--teal-nut); }
.hb-hoi-dap details > :not(summary) { padding: 0 22px 22px 52px; margin: 0; }
@media (max-width: 640px) { .hb-hoi-dap details > :not(summary) { padding: 0 20px 20px; } }

/* Nút */
.wp-element-button, .wp-block-button__link { transition: background-color .15s, border-color .15s; }
.wp-block-button__link:active { background-color: #0090c8; }
.wp-block-button.is-style-outline > .wp-block-button__link { border: 2px solid var(--hb-vien); color: #fff; background: transparent; }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { border-color: var(--hb-sang); background: transparent; }
.hb-keu-goi .wp-block-button__link { background: #fff; color: var(--wp--preset--color--nen); }
.hb-keu-goi .wp-block-button__link:hover { background: #e3f5fc; }
.hb-keu-goi .wp-block-button__link:active { background: #c8ecfa; }
.hb-keu-goi a:not(.wp-block-button__link) { color: #fff; }
@media (max-width: 640px) { .hb-nhom-nut .wp-block-button { width: 100%; } .hb-nhom-nut .wp-block-button__link { width: 100%; } }

/* Chân trang */
.hb-chan ul { list-style: none; padding: 0; }
.hb-chan a { color: #fff; }

/* Khoảng cách các mục và khối nền */
.hb-muc { padding-top: var(--wp--preset--spacing--50); padding-bottom: var(--wp--preset--spacing--50); }
.hb-muc + .hb-muc:not(.has-background) { padding-top: 0; }
.hb-vien-duoi { border-bottom: 1px solid var(--hb-vien); }
.hb-cam-ket { padding: 22px 26px; }
.hb-cam-ket .hb-dong { padding: 14px 0; }
.hb-cam-ket p { margin: 0; }
.hb-luoi-viec > * { padding: 28px 26px; }
.hb-luoi-viec svg, .hb-bieu-tuong svg { width: 30px; height: 30px; color: var(--hb-sang); display: block; }
.hb-dau > .wp-block-group { min-height: 72px; }
.hb-dau .hb-logo img { width: 97px; height: 38px; display: block; }
@media (max-width: 640px) { .hb-dai-tren .hb-an-dt { display: none; } }
.hb-muc strong { color: #fff; }
.hb-dai .wp-block-post-template { scrollbar-color: var(--hb-vien) transparent; }
.hb-luoi-gp .wp-block-post-template > li { background: var(--hb-mat); border: 1px solid var(--hb-vien); border-radius: var(--hb-r); overflow: hidden; }
.hb-luoi-gp .wp-block-post-featured-image { margin: 0; }
.hb-luoi-gp .wp-block-post-title { padding: 14px 18px 18px; margin: 0; }
.hb-luoi-gp .wp-block-post-title a { color: #fff; text-decoration: none; }
.hb-luoi-gp .wp-block-post-title a:hover { text-decoration: underline; }
.single-dt_portfolio .hb-keu-goi, .hb-muc .hb-keu-goi { margin-top: var(--wp--preset--spacing--50); }
.post-type-archive-dt_portfolio main > .hb-nhan,
.post-type-archive-dt_portfolio main > h1 { max-width: var(--wp--style--global--wide-size) !important; }

/* Menu điện thoại: nền đặc, chữ canh trái, vùng bấm đủ lớn */
.hb-dau .wp-block-navigation__responsive-container.is-menu-open {
	background-color: var(--wp--preset--color--nen) !important;
	color: #fff !important;
	padding: 20px;
}
.hb-dau .is-menu-open .wp-block-navigation__responsive-container-content { align-items: flex-start !important; padding-top: 56px; }
.hb-dau .is-menu-open .wp-block-navigation__container { align-items: flex-start !important; gap: 4px !important; width: 100%; }
.hb-dau .is-menu-open .wp-block-navigation-item { width: 100%; }
.hb-dau .is-menu-open .wp-block-navigation-item__content { display: block; width: 100%; min-height: 48px; }
.wp-block-button__link { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }

/* Hình nền sơ đồ mạng (hacker mũ trắng): mờ, chỉ ở phần đầu trang và dải kêu gọi, mờ dần về phía chữ. */
.hb-nen-mang { position: relative; isolation: isolate; overflow: hidden; }
.hb-nen-mang::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: url(assets/nen-mang.svg) no-repeat right 2% center / auto 112%;
	opacity: .3;
	-webkit-mask-image: linear-gradient(to right, transparent 30%, #000 75%);
	mask-image: linear-gradient(to right, transparent 30%, #000 75%);
}
.hb-nen-hero::before { background-position: right -4% top 40%; background-size: auto 125%; opacity: .26; }
.hb-keu-goi.hb-nen-mang::before { filter: brightness(0) invert(1); opacity: .16; background-position: right -6% center; }
@media (max-width: 781px) {
	.hb-nen-mang::before { background-size: auto 90%; background-position: right -120px top 12px; opacity: .16;
		-webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 90%); mask-image: linear-gradient(to bottom, #000 30%, transparent 90%); }
	.hb-nen-hero::before { background-size: auto 55%; background-position: right -160px top 0; }
}

/* Dải đầu trang con */
.hb-dau-con { padding-top: var(--wp--preset--spacing--50); padding-bottom: var(--wp--preset--spacing--40); }
.hb-dau-con h1 { max-width: 20ch; margin-top: 8px; }
.hb-dau-con .wp-block-post-date { margin-top: 12px; }
.hb-dau-con .hb-nhan a, .hb-dau-con .wp-block-post-terms a { color: var(--hb-sang); text-decoration: none; }
.hb-dau-con .hb-nhan a:hover { text-decoration: underline; }
.hb-dau-con .wp-block-term-description { max-width: 60ch; }
.hb-chinh { margin-top: 0 !important; }
.hb-chinh > .hb-muc { margin-top: 0; }

/* Ô tìm kiếm */
.hb-tim { max-width: 520px; margin-top: 24px; }
.hb-tim .wp-block-search__input { min-height: 48px; background: var(--hb-mat); color: #fff; border: 1px solid var(--hb-vien); border-radius: 4px; padding: 0 14px; }
.hb-tim .wp-block-search__input::placeholder { color: var(--wp--preset--color--chu-phu); }
.hb-tim .wp-block-search__button { min-height: 48px; margin-left: 8px; }

/* Thẻ bài viết trong danh sách */
.hb-luoi-bai .wp-block-post-template > li { display: flex; flex-direction: column; }
.hb-luoi-bai .wp-block-post-date { padding: 16px 18px 0; margin: 0; }
.hb-luoi-bai .wp-block-post-title { padding: 6px 18px 8px; }
.hb-luoi-bai .wp-block-post-excerpt { padding: 0 18px 20px; margin: 0; color: var(--wp--preset--color--chu-phu); }
.hb-luoi-bai .wp-block-post-excerpt__more-text { display: none; }
.hb-luoi-gp .wp-block-post-featured-image img { width: 100%; object-fit: cover; }
.wp-block-query-pagination { margin-top: var(--wp--preset--spacing--40); gap: 8px; }
.wp-block-query-pagination a, .wp-block-query-pagination .current { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--hb-vien); border-radius: 4px; color: #fff; text-decoration: none; }
.wp-block-query-pagination .current { background: var(--wp--preset--color--teal-nut); border-color: transparent; }

/* Nội dung bài và trang trên nền tối */
.hb-van-ban a { color: var(--hb-sang); text-underline-offset: 3px; }
.hb-van-ban a:hover { color: #fff; }
.hb-van-ban h2 { margin-top: 1.8em; }
.hb-van-ban h3 { margin-top: 1.5em; }
.hb-van-ban img { border-radius: var(--hb-r); height: auto; }
.hb-van-ban figcaption { color: var(--wp--preset--color--chu-phu); font-size: 15px; }
.hb-van-ban table { border-collapse: collapse; width: 100%; }
.hb-van-ban th, .hb-van-ban td { border: 1px solid var(--hb-vien); padding: 10px 12px; text-align: left; }
.hb-van-ban th { background: var(--hb-mat); color: #fff; }
.hb-van-ban blockquote { border-left: 3px solid var(--wp--preset--color--teal); margin-left: 0; padding: 4px 0 4px 20px; color: #fff; }
.hb-van-ban code, .hb-van-ban pre { background: var(--hb-mat); border: 1px solid var(--hb-vien); border-radius: 4px; font-size: .92em; }
.hb-van-ban code { padding: 1px 6px; }
.hb-van-ban pre { padding: 16px; overflow-x: auto; }
.hb-van-ban pre code { border: 0; padding: 0; }
.hb-van-ban ul, .hb-van-ban ol { padding-left: 1.3em; }
.hb-the { margin-top: var(--wp--preset--spacing--40); color: var(--wp--preset--color--chu-phu); }
.hb-the a { color: var(--hb-sang); }
.hb-chuyen-bai { margin-top: var(--wp--preset--spacing--40); padding-top: 20px; border-top: 1px solid var(--hb-vien); gap: 16px; }
.hb-chuyen-bai a { color: #fff; }
.hb-chuyen-bai a:hover { color: var(--hb-sang); }
.single .wp-block-post-featured-image, .page .hb-muc > .wp-block-post-featured-image { margin-bottom: var(--wp--preset--spacing--40); }

/* Màn hình trung bình (600–1200px): menu chính 8 mục gom vào nút "Mở menu" để không rớt dòng. Đo: 1200px vừa một hàng, 1180px rớt dòng. */
@media (min-width: 600px) and (max-width: 1200px) {
	.hb-dau .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.hb-dau .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
	.hb-dau .wp-block-navigation__responsive-container.is-menu-open { position: fixed; inset: 0; display: flex; flex-direction: column; z-index: 100000; }
	.hb-dau .wp-block-navigation__responsive-container-close:not(.always-shown) { display: flex; }
	.hb-dau .is-menu-open .wp-block-navigation__container { flex-direction: column; }
	.hb-dau .wp-block-navigation { justify-content: flex-end; }
}
.hb-dau-con + .hb-muc { padding-top: var(--wp--preset--spacing--40); }
@media (max-width: 781px) {
	/* Trên điện thoại: hình nền chỉ ở góc trên, mờ hẳn trước khi tới đoạn chữ và nút. */
	.hb-nen-hero::before { background-size: auto 300px; background-position: right -230px top -30px; opacity: .14;
		-webkit-mask-image: linear-gradient(to bottom, #000 0, transparent 240px); mask-image: linear-gradient(to bottom, #000 0, transparent 240px); }
}
.wp-block-button.is-style-outline > .wp-block-button__link:active { background: var(--hb-mat); color: #fff; }
