/* =====================================================================
   Huylab — main.css
   Reset, biến thiết kế, base, layout, header, hero.
   ===================================================================== */

/* ---------- Reset ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--color-text);
	background: var(--color-light);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--color-primary);
	text-decoration: none;
	transition: color 0.2s ease;
}

a:hover {
	color: var(--color-accent);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-heading);
	line-height: 1.25;
	color: var(--color-dark);
	margin: 0 0 0.6em;
	font-weight: 700;
}

p {
	margin: 0 0 1em;
}

ul,
ol {
	margin: 0 0 1em;
	padding-left: 1.4em;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

button {
	cursor: pointer;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="search"],
textarea,
select {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background: var(--color-white);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
	outline: none;
	border-color: var(--color-primary);
	box-shadow: 0 0 0 3px rgba(0, 102, 161, 0.15);
}

/* ---------- Biến thiết kế ---------- */
:root {
	--color-primary: #006da9;
	--color-dark: #003b61;
	--color-navy: #003052;
	--color-light: #d9edfa;
	--color-white: #ffffff;
	--color-accent: #f28c28;
	--color-text: #33475b;
	--color-muted: #66788c;
	--color-border: #e3ecf3;

	--font-heading: "Roboto Condensed", Arial, sans-serif;
	--font-body: "Roboto", Arial, sans-serif;

	--container: 1240px;
	--radius: 3px;
	--radius-lg: 5px;
	--radius-sm: 2px;

	--shadow-sm: 0 2px 10px rgba(0, 59, 92, 0.08);
	--shadow-md: 0 10px 28px rgba(0, 59, 92, 0.14);
	--shadow-lg: 0 20px 48px rgba(0, 43, 69, 0.2);

	--transition: all 0.3s ease;

	--header-height: 64px;
	--topbar-height: 40px;
}

/* ---------- Layout ---------- */
.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: 24px;
}

.section {
	padding: 82px 0;
	background: var(--color-light);
}

.section--light {
	background: var(--color-light);
}

.section--navy {
	background: var(--color-navy);
	color: var(--color-white);
}

.section-head {
	max-width: 760px;
	margin: 0 auto 52px;
	text-align: center;
}

.section-head--light .section-title {
	color: var(--color-white);
}

.section-head--light .section-desc {
	color: rgba(255, 255, 255, 0.75);
}

.section-eyebrow {
	text-transform: uppercase;
	letter-spacing: 2px;
	color: var(--color-accent);
	font-weight: 700;
	font-size: 13px;
	margin-bottom: 12px;
}

.section-title {
	font-size: clamp(26px, 3.6vw, 40px);
	font-weight: 700;
	margin-bottom: 16px;
}

.section-desc {
	color: var(--color-muted);
	font-size: 17px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 9999;
	background: var(--color-primary);
	color: #fff;
	padding: 10px 16px;
	border-radius: 0 0 8px 0;
}

.skip-link:focus {
	left: 0;
}

.empty-note {
	text-align: center;
	color: var(--color-muted);
	padding: 40px 20px;
	grid-column: 1 / -1;
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 13px 28px;
	border-radius: var(--radius);
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 15px;
	line-height: 1.2;
	border: 2px solid transparent;
	cursor: pointer;
	transition: var(--transition);
	text-align: center;
	white-space: nowrap;
}

.btn i {
	font-size: 14px;
	transition: transform 0.3s ease;
}

.btn:hover i {
	transform: translateX(3px);
}

.btn-primary {
	background: var(--color-primary);
	color: var(--color-white);
	border-color: var(--color-primary);
}

.btn-primary:hover {
	background: var(--color-dark);
	border-color: var(--color-dark);
	color: var(--color-white);
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

.btn-accent {
	background: var(--color-accent);
	color: var(--color-white);
	border-color: var(--color-accent);
}

.btn-accent:hover {
	background: var(--color-dark);
	border-color: var(--color-dark);
	color: var(--color-white);
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

.btn-white {
	background: var(--color-white);
	color: var(--color-primary);
	border-color: var(--color-white);
}

.btn-white:hover {
	background: transparent;
	color: var(--color-white);
	transform: translateY(-2px);
}

.btn-outline-light {
	background: transparent;
	color: var(--color-white);
	border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline-light:hover {
	background: var(--color-white);
	border-color: var(--color-white);
	color: var(--color-dark);
	transform: translateY(-2px);
}

.btn-outline {
	background: transparent;
	color: var(--color-primary);
	border-color: var(--color-primary);
}

.btn-outline:hover {
	background: var(--color-primary);
	color: var(--color-white);
}

/* ---------- Card base ---------- */
.card {
	background: var(--color-white);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	transition: var(--transition);
	overflow: hidden;
}

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
	position: relative;
	z-index: 1100;
}

/* Topbar */
.topbar {
	background: var(--color-navy);
	color: rgba(255, 255, 255, 0.85);
	font-size: 13px;
}

.topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: var(--topbar-height);
	gap: 16px;
}

.topbar-left {
	display: flex;
	flex-wrap: wrap;
	gap: 22px;
}

.topbar-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: rgba(255, 255, 255, 0.85);
}

.topbar-item:hover {
	color: var(--color-accent);
}

.topbar-item i {
	color: var(--color-accent);
	font-size: 12px;
}

.topbar-lang {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	letter-spacing: 0.5px;
}

.topbar-lang-active {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 30px;
	height: 22px;
	padding: 0 6px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 4px;
	color: var(--color-white);
	font-size: 12px;
}

/* Header main */
.header-main {
	background: var(--color-primary);
	box-shadow: 0 2px 12px rgba(0, 43, 69, 0.06);
	transition: var(--transition);
}

.site-header.is-sticky .header-main {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	box-shadow: var(--shadow-md);
}

body.has-sticky-header .topbar {
	display: none;
}

body.has-sticky-header {
	padding-top: var(--header-height);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0;
	min-height: var(--header-height);
}

/* Branding */
.site-branding {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	background: transparent;
	padding: 8px 24px 8px 0;
}

.site-branding .custom-logo {
	max-height: 46px;
	width: auto;
}

.site-title {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-heading);
	font-size: 22px;
	font-weight: 800;
	color: var(--color-dark);
	letter-spacing: -0.5px;
}

.site-title:hover {
	color: var(--color-primary);
}

.site-title-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: var(--color-primary);
	color: var(--color-white);
	font-size: 18px;
}

/* Navigation */
.main-navigation {
	display: flex;
	align-items: center;
	order: 0;
	flex: 1 1 auto;
	flex-basis: auto;
	justify-content: center;
	width: auto;
	margin: 0;
	padding: 0 8px;
	background: var(--color-primary);
	border-radius: 0;
}

.main-menu {
	display: flex;
	align-items: center;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 4px;
}

.main-menu > li {
	position: relative;
}

.main-menu > li > a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 12px 14px;
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 14.5px;
	color: var(--color-white);
	border-radius: 0;
	text-transform: uppercase;
	letter-spacing: 0.2px;
	text-align: center;
	white-space: nowrap;
	min-width: 0;
}

.main-menu > li > a::before {
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	font-size: 15px;
	line-height: 1;
	color: var(--color-white);
}

.main-menu > li:nth-child(1) > a::before { content: "\f015"; }
.main-menu > li:nth-child(2) > a::before { content: "\f1d8"; }
.main-menu > li:nth-child(3) > a::before { content: "\f0e7"; }
.main-menu > li:nth-child(4) > a::before { content: "\f1ad"; }
.main-menu > li:nth-child(5) > a::before { content: "\f1ea"; }
.main-menu > li:nth-child(6) > a::before { content: "\f0e0"; }
.main-menu > li:nth-child(7) > a::before { content: "\f03a"; }

.main-menu > li > a:hover,
.main-menu > li.current-menu-item > a,
.main-menu > li.current_page_item > a {
	color: var(--color-primary);
	background: rgba(255, 255, 255, 0.14);
	color: var(--color-white);
	border-bottom: 3px solid var(--color-accent);
}

.main-menu > li > a:hover::before,
.main-menu > li.current-menu-item > a::before,
.main-menu > li.current_page_item > a::before {
	color: var(--color-accent);
}

/* Dropdown */
.main-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 240px;
	list-style: none;
	margin: 0;
	padding: 8px;
	background: var(--color-white);
	border-radius: var(--radius);
	box-shadow: var(--shadow-md);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: var(--transition);
	z-index: 20;
}

.main-menu li:hover > .sub-menu,
.main-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.main-menu .sub-menu li {
	position: relative;
}

.main-menu .sub-menu a {
	display: block;
	padding: 10px 14px;
	font-size: 14px;
	font-weight: 500;
	color: var(--color-text);
	border-radius: var(--radius-sm);
}

.main-menu .sub-menu a:hover {
	color: var(--color-primary);
	background: var(--color-light);
}

.main-menu .sub-menu .sub-menu {
	top: 0;
	left: 100%;
}

/* Header actions */
.header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
	background: transparent;
	padding: 8px 0 8px 18px;
}

.header-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background: transparent;
	color: var(--color-white);
	font-size: 16px;
	transition: var(--transition);
}

.header-action:hover {
	color: var(--color-white);
	background: var(--color-primary);
	border-color: var(--color-primary);
}

.header-actions .search-toggle {
	color: var(--color-accent);
	border-color: rgba(242, 140, 40, 0.45);
}

.header-actions .search-toggle:hover {
	color: var(--color-white);
	background: var(--color-accent);
	border-color: var(--color-accent);
}

.header-cta {
	padding: 11px 20px;
	font-size: 14px;
	background: var(--color-accent);
	border-color: var(--color-accent);
}

.header-cta-mobile {
	display: none;
}

/* Hamburger */
.menu-toggle {
	display: none;
}

.menu-toggle-bars,
.menu-toggle-bars::before,
.menu-toggle-bars::after {
	display: block;
	width: 20px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: var(--transition);
}

.menu-toggle-bars {
	position: relative;
}

.menu-toggle-bars::before,
.menu-toggle-bars::after {
	content: "";
	position: absolute;
	left: 0;
}

.menu-toggle-bars::before {
	top: -6px;
}

.menu-toggle-bars::after {
	top: 6px;
}

.menu-toggle.is-open .menu-toggle-bars {
	background: transparent;
}

.menu-toggle.is-open .menu-toggle-bars::before {
	top: 0;
	transform: rotate(45deg);
}

.menu-toggle.is-open .menu-toggle-bars::after {
	top: 0;
	transform: rotate(-45deg);
}

/* Search overlay */
.search-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1200;
	background: var(--color-navy);
	padding: 24px 0;
	box-shadow: var(--shadow-lg);
	transform: translateY(-100%);
	transition: transform 0.35s ease;
}

.search-overlay.is-open {
	transform: translateY(0);
}

.search-overlay-inner {
	display: flex;
	align-items: center;
	gap: 16px;
}

.search-overlay-form {
	display: flex;
	flex: 1;
	gap: 12px;
}

.search-overlay-input {
	border: none;
	border-bottom: 2px solid rgba(255, 255, 255, 0.4);
	background: transparent;
	color: var(--color-white);
	font-size: 18px;
	border-radius: 0;
	padding: 10px 4px;
}

.search-overlay-input::placeholder {
	color: rgba(255, 255, 255, 0.5);
}

.search-overlay-input:focus {
	border-color: var(--color-accent);
	box-shadow: none;
}

.search-overlay-submit {
	background: var(--color-accent);
	border: none;
	color: #fff;
	width: 48px;
	height: 48px;
	border-radius: var(--radius);
	font-size: 16px;
	transition: var(--transition);
}

.search-overlay-submit:hover {
	background: var(--color-primary);
}

.search-overlay-close {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.35);
	color: #fff;
	width: 48px;
	height: 48px;
	border-radius: var(--radius);
	font-size: 20px;
	transition: var(--transition);
}

.search-overlay-close:hover {
	background: rgba(255, 255, 255, 0.1);
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
	position: relative;
	overflow: hidden;
	background: var(--color-navy);
}

.hero-track {
	position: relative;
}

.hero-slide {
	position: relative;
	display: none;
	min-height: min(500px, calc(100vh - var(--topbar-height) - var(--header-height)));
	align-items: center;
}

.hero-slide.is-active {
	display: flex;
	animation: huylab-hero-fade 0.6s ease both;
}

@keyframes huylab-hero-fade {
	from {
		opacity: 0;
		transform: scale(1.01);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

.hero-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
	opacity: 1;
	filter: none;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: transparent;
}

.hero-content {
	position: relative;
	z-index: 2;
	padding: 72px 170px;
	max-width: 720px;
	margin: 0;
	color: var(--color-white);
	text-shadow: 0 2px 8px rgba(0, 25, 45, 0.28);
}

.hero-eyebrow {
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: 2.5px;
	font-weight: 700;
	font-size: 14px;
	color: var(--color-accent);
	margin-bottom: 18px;
	padding: 8px 16px;
	border-left: 4px solid var(--color-accent);
	border-radius: 0;
	background: rgba(0, 48, 82, 0.25);
}

.hero-title {
	font-size: clamp(30px, 4.2vw, 48px);
	font-weight: 900;
	color: var(--color-white);
	line-height: 1.15;
	margin-bottom: 22px;
	text-shadow: 0 2px 12px rgba(0, 20, 40, 0.58), 0 0 2px rgba(0, 20, 40, 0.35);
}

.hero-desc {
	font-size: clamp(16px, 1.6vw, 19px);
	color: rgba(255, 255, 255, 0.9);
	max-width: 560px;
	margin-bottom: 32px;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

/* Hero arrows */
.hero-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	width: 52px;
	height: 52px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 50%;
	background: rgba(0, 43, 69, 0.35);
	color: #fff;
	font-size: 16px;
	transition: var(--transition);
	backdrop-filter: blur(4px);
}

.hero-arrow:hover {
	background: var(--color-accent);
	border-color: var(--color-accent);
}

.hero-arrow--prev {
	left: 72px;
}

.hero-arrow--next {
	right: 72px;
}

/* Hero dots */
.hero-dots {
	position: absolute;
	bottom: 28px;
	left: 0;
	right: 0;
	z-index: 3;
	display: flex;
	justify-content: center;
	gap: 10px;
}

.hero-dots button {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: none;
	background: rgba(255, 255, 255, 0.4);
	padding: 0;
	transition: var(--transition);
}

.hero-dots button.is-active {
	background: var(--color-accent);
	width: 28px;
	border-radius: 100px;
}

/* =====================================================================
   PAGE HERO (inner pages)
   ===================================================================== */
.page-hero {
	position: relative;
	background: var(--color-navy);
	padding: 64px 0 52px;
	color: var(--color-white);
}

.page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 85% 20%, rgba(0, 166, 214, 0.18) 0, transparent 45%),
		radial-gradient(circle at 15% 90%, rgba(255, 255, 255, 0.06) 0, transparent 40%);
	pointer-events: none;
}

.page-hero-inner {
	position: relative;
	z-index: 1;
}

.page-hero-title {
	color: var(--color-white);
	font-size: clamp(28px, 4vw, 42px);
	margin-bottom: 12px;
}

.page-hero-desc {
	color: rgba(255, 255, 255, 0.8);
	max-width: 640px;
}

/* Archive hero — gọn, bắt mắt hơn (không breadcrumb) */
.page-hero--archive {
	padding: 30px 0 26px;
}

.page-hero--archive .page-hero-title {
	position: relative;
	padding-left: 16px;
	margin-bottom: 8px;
	font-size: clamp(22px, 3vw, 30px);
	font-weight: 700;
	line-height: 1.3;
}

.page-hero--archive .page-hero-title::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.16em;
	bottom: 0.16em;
	width: 5px;
	border-radius: 4px;
	background: linear-gradient(180deg, var(--color-accent), #ffab5e);
}

.page-hero--archive .page-hero-desc {
	max-width: 700px;
	font-size: 14.5px;
	line-height: 1.6;
}

/* Breadcrumb */
.breadcrumbs {
	margin-top: 8px;
}

.breadcrumbs-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.7);
}

.breadcrumbs-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.breadcrumbs-item + .breadcrumbs-item::before {
	content: "/";
	color: rgba(255, 255, 255, 0.4);
}

.breadcrumbs-item a {
	color: rgba(255, 255, 255, 0.7);
}

.breadcrumbs-item a:hover {
	color: var(--color-accent);
}

.breadcrumbs-item.is-current {
	color: var(--color-accent);
}

/* =====================================================================
   CONTENT (inner pages)
   ===================================================================== */
.content-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 40px;
	padding: 56px 0 88px;
}

.content-main {
	min-width: 0;
}

.entry-content {
	font-size: 16.5px;
	line-height: 1.75;
}

.entry-content h2,
.entry-content h3 {
	margin-top: 1.5em;
}

.single-thumbnail {
	border-radius: var(--radius-lg);
	overflow: hidden;
	margin-bottom: 28px;
}

.entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin-bottom: 20px;
	color: var(--color-muted);
	font-size: 14px;
}

.entry-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.entry-meta-item i {
	color: var(--color-accent);
}

.post-nav {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin: 40px 0;
	padding-top: 24px;
	border-top: 1px solid var(--color-border);
}

.post-nav-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-heading);
	font-weight: 600;
	color: var(--color-dark);
	max-width: 46%;
}

.post-nav-link:hover {
	color: var(--color-primary);
}

/* Sidebar widgets */
.content-sidebar {
	position: relative;
}

.content-sidebar .widget {
	position: relative;
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: 22px;
	margin-bottom: 24px;
	box-shadow: 0 8px 24px rgba(24, 59, 86, 0.06);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.content-sidebar .widget:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(24, 59, 86, 0.11);
}

.content-sidebar .widget-title {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 18px;
	color: var(--color-dark);
	margin: -22px -22px 16px;
	padding: 17px 22px 14px;
	border-bottom: 1px solid var(--color-border);
}

.content-sidebar .wp-block-group > h2 {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	margin: -22px -22px 16px;
	padding: 17px 22px 14px;
	border-bottom: 1px solid var(--color-border);
	color: var(--color-dark);
	font-family: var(--font-heading);
	font-size: 18px;
	line-height: 1.3;
}

.content-sidebar .wp-block-group > h2::before {
	content: '';
	display: inline-block;
	width: 4px;
	height: 22px;
	border-radius: 2px;
	background: var(--color-accent);
}

.content-sidebar .widget-title::before {
	content: '';
	display: inline-block;
	width: 4px;
	height: 22px;
	border-radius: 2px;
	background: var(--color-accent);
}

.content-sidebar .widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.content-sidebar .widget ul li {
	margin-bottom: 10px;
}

.content-sidebar .widget ul li a {
	color: var(--color-text);
}

.content-sidebar .widget ul li a:hover {
	color: var(--color-primary);
}

.content-sidebar .wp-block-search {
	margin: 0;
}

.content-sidebar .wp-block-search__inside-wrapper {
	display: flex;
	gap: 8px;
}

.content-sidebar .wp-block-search__input {
	min-width: 0;
	padding: 11px 12px;
	border-color: var(--color-border);
	border-radius: var(--radius-sm);
}

.content-sidebar .wp-block-search__button {
	flex: 0 0 auto;
	padding: 10px 14px;
	border: 0;
	border-radius: var(--radius-sm);
	background: var(--color-primary);
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 13px;
}

.content-sidebar .wp-block-search__button:hover {
	background: var(--color-accent);
}

.content-sidebar .wp-block-latest-posts__list {
	display: grid;
	gap: 14px;
}

.content-sidebar .wp-block-latest-posts__list li {
	min-height: 64px;
	margin: 0;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--color-border);
}

.content-sidebar .wp-block-latest-posts__list li:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.content-sidebar .wp-block-latest-posts__featured-image {
	width: 78px;
	height: 58px;
	margin: 0 12px 0 0;
	border-radius: var(--radius-sm);
	overflow: hidden;
}

.content-sidebar .wp-block-latest-posts__featured-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.content-sidebar .wp-block-latest-posts__list li:hover img {
	transform: scale(1.06);
}

.content-sidebar .wp-block-latest-posts__post-title {
	display: block;
	color: var(--color-dark);
	font-family: var(--font-heading);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
}

.content-sidebar .wp-block-latest-posts__post-title:hover {
	color: var(--color-primary);
}

.content-sidebar .wp-block-latest-posts__post-date {
	display: block;
	margin-top: 5px;
	color: var(--color-muted);
	font-size: 11px;
}

.content-sidebar .huylab-featured-news {
	display: grid;
	gap: 18px;
}

.content-sidebar .huylab-featured-item {
	display: grid;
	grid-template-columns: 132px minmax(0, 1fr);
	gap: 14px;
	align-items: start;
	margin: 0;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--color-border);
}

.content-sidebar .huylab-featured-item:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.content-sidebar .huylab-featured-thumb {
	display: block;
	height: 88px;
	border-radius: var(--radius-sm);
	overflow: hidden;
	background: var(--color-light);
}

.content-sidebar .huylab-featured-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.content-sidebar .huylab-featured-item:hover .huylab-featured-thumb img {
	transform: scale(1.06);
}

.content-sidebar .huylab-featured-title {
	display: -webkit-box;
	margin: 1px 0 9px;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	font-family: var(--font-heading);
	font-size: 14px;
	line-height: 1.35;
}

.content-sidebar .huylab-featured-title a {
	color: var(--color-dark);
}

.content-sidebar .huylab-featured-title a:hover {
	color: var(--color-primary);
}

.content-sidebar .huylab-featured-date {
	color: var(--color-muted);
	font-size: 12px;
}

.content-sidebar .wp-block-latest-comments__comment {
	padding: 10px 0;
	border-bottom: 1px solid var(--color-border);
	font-size: 13px;
}

.content-sidebar .wp-block-archives li,
.content-sidebar .wp-block-categories li {
	position: relative;
	padding: 8px 0 8px 18px;
	margin: 0;
	border-bottom: 1px solid var(--color-border);
	font-size: 13px;
}

.content-sidebar .wp-block-archives li::before,
.content-sidebar .wp-block-categories li::before {
	content: '\f105';
	position: absolute;
	left: 0;
	top: 8px;
	color: var(--color-accent);
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
}

.content-sidebar .wp-block-archives li:last-child,
.content-sidebar .wp-block-categories li:last-child {
	border-bottom: 0;
}

/* Pagination */
.pagination,
.posts-pagination {
	margin: 48px 0 0;
	text-align: center;
}

.pagination .nav-links {
	display: inline-flex;
	gap: 8px;
	flex-wrap: wrap;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	color: var(--color-text);
	font-weight: 600;
	background: var(--color-white);
	transition: var(--transition);
}

.pagination .page-numbers.current {
	background: var(--color-primary);
	border-color: var(--color-primary);
	color: #fff;
}

.pagination .page-numbers:hover {
	border-color: var(--color-primary);
	color: var(--color-primary);
}

/* 404 */
.error-404 {
	padding: 120px 24px;
	text-align: center;
}

.error-404-code {
	font-family: var(--font-heading);
	font-size: clamp(80px, 16vw, 160px);
	font-weight: 800;
	color: var(--color-light);
	line-height: 1;
	margin-bottom: 8px;
}

.error-404-title {
	font-size: 32px;
	margin-bottom: 12px;
}

.error-404-desc {
	color: var(--color-muted);
	max-width: 520px;
	margin: 0 auto 28px;
}

.error-404-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
}

.error-404-actions .search-form {
	max-width: 380px;
	display: flex;
	width: 100%;
}

/* =====================================================================
   BACK TO TOP
   ===================================================================== */
.back-to-top {
	position: fixed;
	bottom: 24px;
	right: 24px;
	z-index: 900;
	width: 48px;
	height: 48px;
	border: none;
	border-radius: var(--radius);
	background: var(--color-primary);
	color: #fff;
	font-size: 16px;
	box-shadow: var(--shadow-md);
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: var(--transition);
}

.back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.back-to-top:hover {
	background: var(--color-accent);
}
