/* ==========================================================================
   Hitclub — giao diện tối (nâu đen + vàng ánh kim + nhấn đỏ), font Roboto.
   Màu tham khảo các site đang top "hitclub" (hitclubk.ink, playhitclub.vin, hitclubmoi.com).
   ========================================================================== */

:root {
	--hc-bg: #100a05;
	--hc-bg-2: #1a1009;
	--hc-card: #20150b;
	--hc-card-2: #2a1c0f;
	--hc-line: rgba(255, 206, 33, .22);
	--hc-line-2: rgba(255, 206, 33, .45);
	--hc-gold: #ffce21;
	--hc-gold-2: #f0b429;
	--hc-gold-soft: #ffe08a;
	--hc-text: #f2e8d0;
	--hc-muted: #bfae8c;
	--hc-red: #e21b23;
	--hc-red-2: #ff3b30;
	--hc-radius: 12px;
	--hc-gold-grad: linear-gradient(180deg, #fff3b0 0%, #ffce21 45%, #d99a0b 100%);
}

/* ---------- Nền & chữ ---------- */
html { background: var(--hc-bg); }
body {
	color: var(--hc-text);
	background:
		radial-gradient(1200px 500px at 50% -120px, rgba(255, 206, 33, .10), transparent 70%),
		var(--hc-bg);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

/* Khung boxed 1200px (theme mod body_layout = boxed): ảnh nền sảnh casino hai bên chỉ hiện khi
   màn hình còn chỗ trống → điện thoại/tablet không tải ảnh nền. */
@media (min-width: 1230px) {
	html { background: #0d0803; }
	/* Lớp nền cố định, tràn 24px ra ngoài màn hình để giấu góc bo viền xám của file gốc */
	html::before {
		content: ""; position: fixed; inset: -24px; z-index: -1; pointer-events: none;
		background: var(--hc-nen, none) center / cover no-repeat; /* ảnh từ Media Library, xem hitclub-giao-dien.php */
	}
	body.boxed {
		box-shadow: 0 0 0 1px var(--hc-line-2), 0 0 60px rgba(0, 0, 0, .85), 0 0 120px rgba(255, 206, 33, .12);
	}
}
#wrapper, #main, .page-wrapper, .blog-wrapper { background: transparent !important; }
.dark, .dark p, .dark td, p, li, td { color: var(--hc-text); }
h1, h2, h3, h4, h5, h6, .heading-font { color: var(--hc-gold); line-height: 1.3; }
h1 { font-size: 1.85em; text-shadow: 0 2px 18px rgba(255, 206, 33, .18); }
h2 { font-size: 1.45em; margin-top: 1.6em; }
h3 { font-size: 1.18em; color: var(--hc-gold-soft); margin-top: 1.2em; }
h4, h5, h6 { color: var(--hc-gold-soft); }
strong, b { color: #fff6dc; }
h1 b, h2 b, h3 b, h4 b, h1 strong, h2 strong, h3 strong { color: inherit; }
a { color: #ffd54a; }
a:hover { color: #fff; }
::selection { background: var(--hc-gold); color: #1a1009; }
hr, .is-divider { border-color: var(--hc-line); background-color: var(--hc-line); }

/* ---------- Header ---------- */
.header-wrapper, .header-main, .header-bg-color, .header-bottom { background-color: var(--hc-bg-2) !important; }
.header-main { border-bottom: 1px solid var(--hc-line); box-shadow: 0 6px 24px rgba(0, 0, 0, .35); }
.stuck .header-main { box-shadow: 0 6px 24px rgba(0, 0, 0, .55); }
#logo { width: auto !important; }
.hc-logo { display: inline-flex; align-items: center; line-height: 0; }
.hc-logo img { height: 64px; width: auto; filter: drop-shadow(0 2px 8px rgba(255, 206, 33, .3)); }
.hc-logo__text { color: var(--hc-gold); font-weight: 900; font-size: 28px; letter-spacing: .5px; line-height: 1; }
.stuck .hc-logo img { height: 54px; }

/* Header 3 tầng (cài đặt Flatsome: logo giữa, nút Đăng ký/Đăng nhập ở "Right", menu ở "Bottom center"):
   logo → 2 nút ngay dưới → thanh menu. Khi cuộn (stuck): logo trái + nút phải trên 1 dòng, menu bên dưới. */
.header-main { height: auto !important; }
.header-main .header-inner { flex-wrap: wrap; justify-content: center; height: auto; }
.header-main .header-inner > .flex-col.flex-left.hide-for-medium:not(:has(li)) { display: none; }
.header-main .header-inner > .flex-col.flex-right.hide-for-medium { order: 4; flex: 0 0 100%; justify-content: center; margin: 0; }
.header-main .flex-right.hide-for-medium .nav { justify-content: center; gap: 12px; margin: 0; }
.header-main .flex-right.hide-for-medium .nav > li { margin: 0; padding: 0; }
.header-button .button {
	min-width: 150px; min-height: 42px; margin: 0; padding: 0 26px; line-height: 1.2;
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 14px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; border-radius: 99px !important;
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.header-button-1 .button.primary, .header-button-1 .button {
	background: linear-gradient(180deg, #ff4b3e 0%, var(--hc-red) 55%, #b5121a 100%) !important; color: #fff !important;
	border: 1px solid rgba(255, 206, 33, .55) !important; box-shadow: 0 4px 14px rgba(226, 27, 35, .45);
}
.header-button-2 .button.primary, .header-button-2 .button {
	background: var(--hc-gold-grad) !important; color: #1a1009 !important;
	border: 1px solid #ffe08a !important; box-shadow: 0 4px 14px rgba(255, 206, 33, .3);
}
.header-button .button:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(255, 206, 33, .4); }
.header-button .button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Thanh menu (header-bottom) */
#wide-nav.header-bottom {
	min-height: 52px !important; background: #120b05 !important;
	border-top: 1px solid var(--hc-line) !important; border-bottom: 1px solid var(--hc-line-2) !important;
	box-shadow: 0 6px 24px rgba(0, 0, 0, .35);
}
.header-bottom-nav.nav { flex-wrap: nowrap; gap: 2px; }
.header-bottom-nav > li { margin: 0; }
.header-bottom-nav > li > a {
	color: var(--hc-text) !important; font-size: 13px; font-weight: 700; letter-spacing: .2px; white-space: nowrap;
	padding: 8px 12px !important; border-radius: 8px; min-height: 40px; display: inline-flex; align-items: center;
}
.header-bottom-nav > li > a:hover,
.header-bottom-nav > li.active > a,
.header-bottom-nav > li.current-menu-item > a { color: #fff !important; background: var(--hc-red); }
@media (max-width: 1199px) { .header-bottom-nav > li > a { font-size: 12px; padding: 8px 8px !important; } }

@media (min-width: 850px) {
	.header-main { border-bottom: 0; box-shadow: none; }
	.header-main .header-inner { padding-top: 14px; padding-bottom: 16px; row-gap: 12px; }
	.header-main .header-inner > #logo { order: 1; flex: 0 0 100%; justify-content: center; margin: 0; }
	.hc-logo img { height: 76px; }
	/* đang cuộn: gọn 1 dòng */
	.stuck .header-main .header-inner { flex-wrap: nowrap; justify-content: space-between; padding-top: 6px; padding-bottom: 6px; }
	.stuck .header-main .header-inner > #logo { flex: 0 0 auto; }
	.stuck .header-main .header-inner > .flex-col.flex-right.hide-for-medium { flex: 0 0 auto; order: 4; margin-left: auto; }
	.stuck .header-main .header-inner { justify-content: flex-start; }
	.stuck .header-main .header-inner > #logo { position: static; left: auto; transform: none; margin: 0; text-align: left; }
	.stuck .hc-logo img { height: 48px; }
	.stuck .header-button .button { min-height: 38px; min-width: 128px; font-size: 13px; }
}
@media (max-width: 849px) {
	/* mobile: menu ☰ | logo | tìm kiếm; 2 nút chia đôi ở dòng dưới; menu nằm trong ☰ */
	.header-main .header-inner > .flex-col.flex-right.hide-for-medium { display: flex !important; padding: 0 0 12px; }
	.header-main .flex-right.hide-for-medium .nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
	.header-main .flex-right.hide-for-medium .nav > li, .header-main .flex-right.hide-for-medium .header-button { width: 100%; }
	.header-button .button { width: 100%; min-width: 0; min-height: 44px; padding: 0 12px; font-size: 13.5px; }
	.header-main .header-inner > .flex-col.show-for-medium, .header-main .header-inner > #logo { min-height: 70px; }
	.stuck .header-main .header-inner > .flex-col.flex-right.hide-for-medium { display: none !important; }
}
@media (min-width: 550px) and (max-width: 849px) {
	.header-main .flex-right.hide-for-medium .nav { max-width: 480px; margin: 0 auto; }
}

/* Banner hero trang chủ (tỉ lệ như banner 1200×377 của site mẫu; khung giữ tỉ lệ → không CLS).
   File gốc có góc bo sẵn viền xám → bo góc CSS để che. */
.hc-hero { line-height: 0; background: var(--hc-bg); padding: 0; }
.hc-hero img { display: block; width: 100%; height: auto; border-radius: 12px; } /* width/height của ảnh giữ tỉ lệ → không CLS */

.header .header-nav.header-nav-main { flex-wrap: nowrap !important; justify-content: flex-start; }
.header-nav-main > li > a, .nav-dark .nav > li > a {
	color: var(--hc-text) !important; font-size: 12.5px; font-weight: 700; letter-spacing: 0;
	padding: 8px 8px; border-radius: 8px; min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap;
}
@media (max-width: 1199px) { .header-nav-main > li > a { font-size: 11.5px; padding: 8px 6px; } }
.header-nav-main > li > a:hover,
.header-nav-main > li.active > a,
.header-nav-main > li.current-menu-item > a {
	color: #fff !important; background: var(--hc-red);
}
.header-nav-main > li { margin: 0 1px; }
.entry-meta .hc-updated { color: var(--hc-text); }
.header-search .icon-search, .mobile-nav .icon-menu, .header-button .icon-search { color: var(--hc-gold) !important; }
.nav-dropdown { background: var(--hc-card) !important; border: 1px solid var(--hc-line); }

/* Menu mobile (off-canvas) */
.off-canvas .mfp-content, .off-canvas-left .mfp-content { background: var(--hc-bg-2) !important; }
.off-canvas .nav-vertical li > a, .nav-sidebar.nav-vertical > li > a {
	color: var(--hc-text) !important; min-height: 48px; display: flex; align-items: center;
	border-bottom: 1px solid var(--hc-line);
}
.off-canvas .nav-vertical li.active > a, .off-canvas .nav-vertical li > a:hover { color: var(--hc-gold) !important; }
.searchform .search-field, input[type="search"], input[type="text"], input[type="email"], textarea {
	background: var(--hc-card) !important; color: var(--hc-text) !important; border: 1px solid var(--hc-line) !important;
	box-shadow: none !important; border-radius: 8px;
}
.searchform .button.icon, .button.primary, button[type="submit"], .button.secondary {
	background: var(--hc-red) !important; color: #fff !important; border-radius: 8px;
}

/* ---------- Breadcrumb ---------- */
.page-title.shop-page-title { background: transparent; margin: 0; }
.page-title-inner { padding-top: 14px !important; padding-bottom: 4px !important; min-height: 0 !important; }
.breadcrumbs, .rank-math-breadcrumb { color: var(--hc-muted); font-size: 13.5px; text-transform: none !important; letter-spacing: 0; font-weight: 400; }
.rank-math-breadcrumb p { margin: 0; color: var(--hc-muted); }
.rank-math-breadcrumb a { color: var(--hc-gold-soft); }
.rank-math-breadcrumb .separator { margin: 0 6px; color: var(--hc-muted); }
.rank-math-breadcrumb .last { color: var(--hc-muted); }

/* ---------- Khung nội dung ---------- */
.page-wrapper { padding-top: 18px; padding-bottom: 40px; }
.page-wrapper > .row-main > .col > .col-inner,
.blog-single .article-inner,
.archive-page-header .col {
	background: linear-gradient(180deg, rgba(42, 28, 15, .92), rgba(26, 16, 9, .92));
	border: 1px solid var(--hc-line); border-radius: var(--hc-radius);
	padding: 28px 30px; box-shadow: 0 10px 40px rgba(0, 0, 0, .35);
}
.blog-single .article-inner { padding-top: 22px; }
.archive-page-header { margin-bottom: 26px; }
.archive-page-header .col { text-align: left !important; }
.archive-page-header .page-title { color: var(--hc-gold); font-size: 1.7em; text-align: center; }
.taxonomy-description { text-align: left; height: auto !important; }
.row-divided > .col + .col:not(.large-12) { border-left-color: transparent !important; }

/* Bài viết: phần đầu */
.entry-header-text { padding-bottom: 6px; }
.entry-category a, .entry-category { color: var(--hc-red-2) !important; letter-spacing: .5px; }
.entry-title { color: var(--hc-gold) !important; }
.entry-meta, .entry-meta a { color: var(--hc-muted) !important; font-size: 13.5px; text-transform: none; letter-spacing: 0; }
.entry-meta .meta-author a { color: var(--hc-gold-soft) !important; }
.entry-image img, .entry-content img { border-radius: 10px; }
.entry-content, .entry-content p, .col-inner > p { font-size: 16.5px; line-height: 1.75; }
.entry-content ul, .entry-content ol, .col-inner > ul, .col-inner > ol { margin-left: 1.3em; }
.entry-content li, .col-inner li { margin-bottom: .35em; }
.entry-content a, .col-inner > p a, .taxonomy-description a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 213, 74, .5); }

/* Ảnh có chú thích */
.wp-caption { background: var(--hc-card); border: 1px solid var(--hc-line); border-radius: 10px; padding: 6px; max-width: 100%; }
.wp-caption .wp-caption-text { color: var(--hc-muted); font-style: italic; font-size: 13.5px; padding: 6px 4px 2px; margin: 0; }
img { height: auto; }

/* Bảng */
.entry-content table, .col-inner table, .taxonomy-description table {
	width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--hc-line);
	border-radius: 10px; overflow: hidden; margin: 1.2em 0; font-size: 15px;
}
.entry-content table td, .entry-content table th, .col-inner table td, .col-inner table th,
.taxonomy-description table td, .taxonomy-description table th {
	color: var(--hc-text); border: 0; border-bottom: 1px solid var(--hc-line); padding: 10px 12px; vertical-align: top;
}
.entry-content table tr:first-child td, .col-inner table tr:first-child td, .taxonomy-description table tr:first-child td,
.entry-content table th, .col-inner table th {
	background: rgba(255, 206, 33, .12); color: var(--hc-gold); font-weight: 700;
}
.entry-content table tr:nth-child(even) td, .col-inner table tr:nth-child(even) td { background: rgba(255, 255, 255, .02); }
.entry-content table tr:last-child td, .col-inner table tr:last-child td { border-bottom: 0; }
@media (max-width: 549px) {
	.entry-content table, .col-inner table, .taxonomy-description table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* ---------- Mục lục ---------- */
/* Đánh số 1. / 1.1. */
.hc-toc-panel ol { margin: 0; padding: 0; list-style: none; counter-reset: hc-toc; }
.hc-toc-panel ol ol { margin: 4px 0 6px 1.4em; }
.hc-toc-panel li { margin: 0 0 4px; font-size: 15px; line-height: 1.5; counter-increment: hc-toc; }
.hc-toc-panel li > a::before {
	content: counters(hc-toc, ".") ". "; color: var(--hc-gold); font-weight: 700; margin-right: .15em;
}
.hc-toc-panel a { color: var(--hc-text) !important; text-decoration: none !important; }
.hc-toc-panel a:hover { color: var(--hc-gold) !important; }
h2[id], h3[id] { scroll-margin-top: 90px; }

/* Mục lục dính mép trái: tab dọc + bảng trượt (in ở footer, inc/hitclub-giao-dien.php) */
.hc-toc-tab {
	position: fixed; left: 0; top: 22%; z-index: 9990; margin: 0; min-height: 0;
	display: inline-grid; justify-items: center; gap: 6px; padding: 10px 8px 14px;
	background: var(--hc-gold-grad); color: #1a1009; border: 0; border-radius: 0 10px 10px 0;
	box-shadow: 2px 4px 14px rgba(0, 0, 0, .5); font: 700 13px/1.2 Roboto, sans-serif; text-transform: uppercase;
	letter-spacing: .04em; cursor: pointer;
}
.hc-toc-tab__arrow { font-size: 20px; line-height: 1; }
.hc-toc-tab__text { writing-mode: vertical-rl; text-orientation: mixed; }
.hc-toc-panel {
	position: fixed; top: 0; left: 0; bottom: 0; z-index: 9999; width: min(360px, 88vw);
	background: var(--hc-bg-2); border-right: 1px solid var(--hc-line-2); box-shadow: 4px 0 24px rgba(0, 0, 0, .6);
	overflow-y: auto; overscroll-behavior: contain; visibility: hidden;
	transform: translateX(-100%); transition: transform .3s ease, visibility 0s linear .3s;
}
.hc-toc-panel.is-open { transform: none; visibility: visible; transition: transform .3s ease; }
.hc-toc-panel__head {
	position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between;
	padding: 12px 16px; background: var(--hc-bg-2); border-bottom: 1px solid var(--hc-line);
	color: var(--hc-gold); font-weight: 700; font-size: 18px;
}
.hc-toc-panel__close {
	margin: 0; min-height: 44px; min-width: 44px; padding: 0; background: none; border: 0;
	color: var(--hc-text); font-size: 30px; line-height: 1; cursor: pointer;
}
.hc-toc-panel nav { padding: 14px 18px 24px; }
@media (prefers-reduced-motion: reduce) { .hc-toc-panel { transition: none; } }
@media print { .hc-toc-tab, .hc-toc-panel { display: none; } }

/* ---------- FAQ accordion ---------- */
.hc-faq { margin: 1em 0 1.4em; display: grid; gap: 10px; }
.hc-faq__item { background: rgba(0, 0, 0, .25); border: 1px solid var(--hc-line); border-radius: 10px; }
.hc-faq__item[open] { border-color: var(--hc-line-2); }
.hc-faq__item summary { cursor: pointer; list-style: none; padding: 12px 44px 12px 16px; position: relative; min-height: 44px; }
.hc-faq__item summary::-webkit-details-marker { display: none; }
.hc-faq__item summary::after {
	content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
	color: var(--hc-gold); font-size: 22px; font-weight: 700;
}
.hc-faq__item[open] summary::after { content: "−"; }
.hc-faq__item summary h3 { margin: 0; font-size: 1.05em; display: inline; }
.hc-faq__answer { padding: 0 16px 12px; }

/* ---------- Thẻ bài (bài liên quan, lưới chuyên mục) ---------- */
.hc-section-title { color: var(--hc-gold); font-weight: 700; font-size: 1.25em; margin: 0 0 14px; }
.hc-section-title a { color: var(--hc-gold-soft); }
.hc-related, .hc-archive { margin-top: 28px; }
.hc-related__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hc-archive .hc-related__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hc-card-wrap { margin: 0; }
.hc-card {
	display: flex; flex-direction: column; background: var(--hc-card); border: 1px solid var(--hc-line);
	border-radius: 10px; overflow: hidden; text-decoration: none !important; height: 100%;
	transition: border-color .2s, transform .2s;
}
.hc-card-wrap .hc-card { height: auto; }
.hc-card:hover { border-color: var(--hc-gold); transform: translateY(-2px); }
.hc-card__img { display: block; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.hc-card__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; }
.hc-card__title { display: block; padding: 10px 12px 12px; color: var(--hc-text); font-weight: 700; line-height: 1.45; font-size: 15px; }
.hc-card:hover .hc-card__title { color: var(--hc-gold); }
.hc-card__excerpt { color: var(--hc-muted); font-size: 14px; margin: 8px 2px 0; line-height: 1.55; }
.hc-archive .nav-pagination { margin-top: 24px; }
.page-numbers.nav-pagination li a, .page-numbers.nav-pagination li span {
	border-color: var(--hc-line) !important; color: var(--hc-text) !important; min-width: 44px; min-height: 44px; line-height: 40px;
}
.page-numbers.nav-pagination li .current { background: var(--hc-red) !important; border-color: var(--hc-red) !important; color: #fff !important; }

/* ---------- Hộp tác giả ---------- */
.hc-author {
	display: flex; gap: 16px; align-items: flex-start; margin-top: 28px; padding: 18px;
	background: rgba(0, 0, 0, .25); border: 1px solid var(--hc-line); border-radius: 12px;
}
.hc-author__avatar img { border-radius: 50%; border: 2px solid var(--hc-gold); display: block; }
.hc-author__body p { margin: 0 0 4px; }
.hc-author__label { color: var(--hc-muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: 1px; }
.hc-author__name a { color: var(--hc-gold); font-weight: 700; font-size: 17px; }
.hc-author__desc, .hc-author__date { color: var(--hc-muted); font-size: 14px; }

/* ---------- Sidebar ---------- */
.post-sidebar { padding-top: 0; }
.hc-widget {
	background: var(--hc-card); border: 1px solid var(--hc-line); border-radius: 12px; padding: 16px 16px 8px; margin-bottom: 18px;
}
.hc-widget .widget-title {
	color: var(--hc-gold); font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .4px;
	margin: 0 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--hc-line);
}
.hc-widget ul { list-style: none; margin: 0; }
.hc-widget li { display: flex; align-items: center; justify-content: space-between; margin: 0; border-bottom: 1px solid rgba(255, 206, 33, .08); }
.hc-widget li:last-child { border-bottom: 0; }
.hc-widget li a { color: var(--hc-text); padding: 10px 0; display: block; flex: 1; min-height: 44px; line-height: 1.45; }
.hc-widget li a:hover, .hc-widget li .is-current { color: var(--hc-gold); }
.hc-widget li .is-current { padding: 10px 0; display: block; flex: 1; min-height: 44px; font-weight: 700; }
.hc-widget .count { background: rgba(255, 206, 33, .12); color: var(--hc-gold); border-radius: 20px; font-size: 12px; padding: 1px 8px; }
.hc-widget__posts li a { font-size: 14.5px; }

/* ---------- Trang chủ: khối chuyên mục ---------- */
.hc-home-cats { margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--hc-line); }
.hc-home-cats .hc-section-title { text-align: center; font-size: 1.4em; }
.hc-home-cats__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 849px) { .hc-home-cats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 549px) { .hc-home-cats__grid { grid-template-columns: 1fr; } }
.hc-home-cat { background: var(--hc-card); border: 1px solid var(--hc-line); border-radius: 12px; padding: 14px; }
.hc-home-cat__name { margin: 0 0 10px; }
.hc-home-cat__name a {
	display: block; text-align: center; color: #fff !important; background: var(--hc-red); border-radius: 8px;
	padding: 9px 10px; font-weight: 700; text-decoration: none !important; min-height: 44px;
}
.hc-home-cat__name a:hover { background: var(--hc-red-2); }
.hc-home-cat ul { list-style: none; margin: 0 !important; }
.hc-home-cat li { margin: 0 0 8px !important; }
.hc-home-cat li a { display: flex; gap: 10px; align-items: center; text-decoration: none !important; color: var(--hc-text) !important; font-size: 14px; line-height: 1.4; }
.hc-home-cat li a:hover { color: var(--hc-gold) !important; }
.hc-home-cat li img { width: 64px; height: 44px; object-fit: cover; border-radius: 6px; flex: none; }

/* ---------- Footer ---------- */
#footer, .footer-wrapper { background: #0b0703; }
.hc-footer {
	border-top: 1px solid var(--hc-line); padding: 36px 0 18px;
	background: radial-gradient(800px 260px at 50% 0, rgba(255, 206, 33, .08), transparent 70%);
}
/* 4 cột: giới thiệu | thông tin | chuyên mục | chi tiết (cấu trúc theo deyi.in) */
.hc-footer__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; align-items: start; }
.hc-footer__col--1 { text-align: center; }
.hc-footer__col .widget_media_image, .hc-footer__col .wp-block-image { margin: 0 auto 4px; text-align: center; }
.hc-footer__col .widget_media_image img, .hc-footer__col .wp-block-image img { display: inline-block; height: 96px !important; width: auto !important; max-width: 100%; margin: 0 auto; filter: drop-shadow(0 2px 8px rgba(255, 206, 33, .3)); }
.hc-footer__col .widget_media_image a, .hc-footer__col .wp-block-image a { display: inline-block; padding: 0; min-height: 0; }
.hc-footer__col .textwidget, .hc-footer__col .textwidget p { color: var(--hc-muted); font-size: 14px; line-height: 1.65; margin: 0; }
.hc-footer__col .textwidget strong { color: var(--hc-gold); }
.hc-footer__duoi .textwidget, .hc-footer__duoi .textwidget p { text-align: center; color: var(--hc-muted); font-size: 13.5px; margin: 0 0 14px; }
.hc-fw + .hc-fw { margin-top: 12px; }
.hc-footer__intro { color: var(--hc-muted); font-size: 14px; line-height: 1.65; margin: 12px 0 0; }
.hc-footer__intro strong { color: var(--hc-gold); }
.hc-footer__title {
	color: var(--hc-gold); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; text-align: center;
	margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--hc-line);
}
/* danh sách trong widget (menu, chuyên mục, chi tiết thương hiệu); bỏ đường kẻ mặc định của Flatsome cho widget menu */
.hc-footer__col ul { list-style: none; margin: 0; padding: 0; }
.hc-footer__col ul.menu > li, .hc-footer__col ul.menu > li + li, .hc-footer__col .widget_categories li + li { border: 0 !important; display: block; }
.hc-footer__col ul.menu > li > a, .hc-footer__col li > a { display: block; padding: 8px 0; min-height: 40px; }
.hc-footer__col ul li { position: relative; margin: 0; padding-left: 18px; font-size: 14.5px; }
.hc-footer__col ul li::before { content: "›"; position: absolute; left: 2px; top: 7px; color: var(--hc-gold); font-weight: 700; line-height: 1.4; }
.hc-footer__col a { color: var(--hc-text); display: block; padding: 8px 0; min-height: 40px; }
.hc-footer__col a:hover, .hc-footer__col .is-current { color: var(--hc-gold); }
.hc-footer__col .is-current { display: block; padding: 8px 0; }
.hc-footer__contact li { color: var(--hc-text); padding-top: 8px; padding-bottom: 8px; line-height: 1.45; }
.hc-footer__contact li span { color: var(--hc-muted); }
.hc-footer__col .hc-footer__contact a { display: inline; padding: 0; min-height: 0; }
.hc-footer__duoi { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--hc-line); }
.hc-footer__tags { text-align: center; color: var(--hc-muted); font-size: 13.5px; margin: 0 0 14px; }
.hc-footer__map { line-height: 0; border: 1px solid var(--hc-line); border-radius: 10px; overflow: hidden; background: #1a1009; }
.hc-footer__map iframe { display: block; width: 100%; height: 250px; border: 0; filter: grayscale(.2) contrast(1.05); }
.absolute-footer { background: #070401 !important; color: var(--hc-muted) !important; border-top: 1px solid rgba(255, 206, 33, .1); font-size: 13px; }
.absolute-footer .copyright-footer { color: var(--hc-muted); }
.back-to-top { background: var(--hc-red) !important; border-color: var(--hc-red) !important; color: #fff !important; }

/* ---------- Mobile ---------- */
@media (max-width: 849px) {
	.page-wrapper > .row-main > .col > .col-inner,
	.blog-single .article-inner,
	.archive-page-header .col { padding: 18px 16px; border-radius: 10px; }
	.hc-archive .hc-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hc-footer__grid { grid-template-columns: 1fr 1fr; }
	.hc-footer__col--1 { grid-column: 1 / -1; max-width: 520px; margin: 0 auto; }
	.hc-logo img { height: 52px; }
}
@media (max-width: 549px) {
	h1 { font-size: 1.5em; }
	h2 { font-size: 1.28em; }
	.entry-content, .entry-content p, .col-inner > p { font-size: 16px; }
	.hc-related__grid, .hc-archive .hc-related__grid { grid-template-columns: 1fr; }
	.hc-footer__grid { grid-template-columns: 1fr; gap: 22px; }
	.hc-footer__map iframe { height: 220px; }
	.row, .row-main { margin-left: 0 !important; margin-right: 0 !important; }
	.page-wrapper > .row-main > .col,
	.archive-page-header > .row > .col,
	.blog-wrapper > .row > .col { padding-left: 12px !important; padding-right: 12px !important; }
	.archive-page-header > .row > .col { background: none; border: 0; box-shadow: none; }
	.archive-page-header .taxonomy-description {
		background: linear-gradient(180deg, rgba(42, 28, 15, .92), rgba(26, 16, 9, .92));
		border: 1px solid var(--hc-line); border-radius: 10px; padding: 18px 16px;
	}
}
