/*
Theme Name: GC Casino Gold
Theme URI: https://example.com/
Author: Carl
Description: Theme độc lập dựng lại layout casino đỏ đen – chữ vàng gradient: header hiện khi cuộn, hero 3 cột, khung nội dung cuộn, FAQ accordion 2 cột, slider bài viết, footer 3 cột. Không cần Flatsome.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: gc
*/

/* ==========================================================
   1. TOKENS
   ========================================================== */
:root {
	--gc-primary: #dd3333;
	--gc-secondary: #d26e4b;
	--gc-success: #f4de38;
	--gc-alert: #b20000;
	--gc-link: #f1f117;
	--gc-link-hover: #dd3333;
	--gc-header-bg: #210000;
	--gc-nav-active: #fa1919;
	--gc-menu-icon: #8224e3;
	--gc-btn-bg: #aa0000;
	--gc-btn-border: #ffff00;
	--gc-footer-bg: #1e0504;
	--gc-abs-footer: #351025;
	--gc-main-bg: #1a0404;
	--gc-gold-grad: linear-gradient(to bottom, #fff, #ffb54d 45%, #ffbc81);
	--gc-glass: rgb(255 255 255 / .06);
	--gc-glass-border: rgb(255 215 128 / .15);
	--gc-faq-text: #e8d9b6;
	--gc-container: 1080px;
}

/* ==========================================================
   2. BASE
   ========================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { background-color: var(--gc-abs-footer); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: Lexend, sans-serif;
	font-weight: 400;
	font-size: 100%;
	line-height: 1.6;
	color: #fff;
	background-color: var(--gc-abs-footer);
	-webkit-font-smoothing: antialiased;
}
body.drawer-open { overflow: hidden; }
img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }
a { color: var(--gc-link); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gc-link-hover); }
p { margin: 0 0 1.3em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1.3em; padding-left: 1.3em; }
li { margin-bottom: .6em; }
strong, b { font-weight: 700; }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--gc-success); outline-offset: 2px; }

h1, h2, h3, h4, h5, h6, .heading-font {
	font-family: Lexend, sans-serif;
	font-weight: 700;
	color: #f1f117;
	line-height: 1.3;
	margin: 0 0 .5em;
	margin-top: 0;
	background: var(--gc-gold-grad);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
h1 { font-size: 1.7em; }
h2 { font-size: 1.6em; }
h3 { font-size: 1.25em; }
h4 { font-size: 1.125em; }
h5 { font-size: 1em; }
h6 { font-size: .85em; }
@media (max-width: 549px) {
	h1 { font-size: 1.4em; }
	h2 { font-size: 1.2em; }
	h3 { font-size: 1em; }
}

.a-tt {
	background: var(--gc-gold-grad);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	margin-bottom: 10px;
}

blockquote {
	color: #fff;
	border-left: 2px solid #eeee22;
	margin: 0 0 1.3em;
	padding: 0 1.25em;
	font-size: 1.2em;
	font-style: italic;
	text-align: left;
}

table {
	width: 100%;
	margin-bottom: 1em;
	border-spacing: 0;
	border-collapse: collapse;
}
td, th {
	color: #fff;
	border-bottom: 1px solid var(--gc-glass-border);
	padding: .5em;
	text-align: left;
	line-height: 1.3;
	font-size: .9em;
	vertical-align: top;
}

figure { margin: 0 0 1em; }
.wp-caption { max-width: 100%; margin-bottom: 2em; }
.wp-caption.aligncenter, .aligncenter { margin-left: auto; margin-right: auto; display: block; clear: both; }
.wp-caption img { display: block; width: 100%; }
.wp-caption .wp-caption-text, figcaption {
	padding: .4em;
	font-size: .9em;
	font-style: italic;
	background: rgba(0, 0, 0, .05);
	text-align: center;
}
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }

.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;
}
.skip-link:focus {
	clip-path: none; height: auto; width: auto; margin: 0;
	left: 5px; top: 5px; z-index: 100000; padding: 15px 23px;
	background: #fff; color: #000;
}

/* ==========================================================
   3. GRID
   ========================================================== */
.container {
	width: 100%;
	max-width: calc(var(--gc-container) + 30px);
	margin: 0 auto;
	padding: 0 15px;
}
.row {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	max-width: calc(var(--gc-container) + 30px);
	margin: 0 auto;
}
.row .row { width: auto; max-width: none; margin-left: -15px; margin-right: -15px; }
.align-center { justify-content: center; }
.align-middle { align-items: center; }
.col {
	position: relative;
	flex: 0 0 100%;
	max-width: 100%;
	padding: 0 15px 30px;
	margin: 0;
}
@media (min-width: 550px) {
	.c-3  { flex-basis: 25%;      max-width: 25%; }
	.c-4  { flex-basis: 33.3333%; max-width: 33.3333%; }
	.c-5  { flex-basis: 41.6667%; max-width: 41.6667%; }
	.c-6  { flex-basis: 50%;      max-width: 50%; }
	.c-10 { flex-basis: 83.3333%; max-width: 83.3333%; }
	.c-11 { flex-basis: 91.6667%; max-width: 91.6667%; }
}
.c-12 { flex-basis: 100%; max-width: 100%; }
.text-center { text-align: center; }
.text-left { text-align: left; }

@media (max-width: 549px) { .hide-for-small { display: none !important; } }
@media (max-width: 849px) { .hide-for-medium { display: none !important; } }
@media (min-width: 850px) { .show-for-medium { display: none !important; } }

/* ==========================================================
   4. HEADER
   ========================================================== */
#header { position: relative; z-index: 30; }
.header-wrapper { width: 100%; }
.header-main {
	height: 100px;
	background-color: var(--gc-header-bg);
	transition: height .3s;
}
.header-inner { display: flex; align-items: center; height: 100%; }
.hm-side { flex: 1 1 0; display: flex; align-items: center; min-width: 0; }
.hm-right { justify-content: flex-end; }
.logo {
	flex: 0 0 auto;
	width: 166px;
	margin: 0 30px;
	text-align: center;
	line-height: 1;
}
.logo a { display: inline-block; }
.logo img {
	display: block;
	width: auto;
	max-height: 100px;
	margin: 0 auto;
	transition: max-height .3s;
}
.logo-text {
	display: inline-block;
	font-weight: 700;
	font-size: 1.6em;
	text-transform: uppercase;
	background: var(--gc-gold-grad);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.top-divider { border-top: 1px solid rgba(255, 255, 255, .06); }

.menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	background: none;
	border: 0;
	color: var(--gc-menu-icon);
	cursor: pointer;
}
.menu-toggle svg { width: 26px; height: 26px; }

/* Header buttons */
.header-btns {
	display: flex;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
}
.header-btns li { margin: 0; }
.header-wrapper:not(.stuck) .header-main .header-btns { margin-top: 10px; }
.header-btns .header-divider {
	width: 1px;
	height: 30px;
	margin: 0 22px;
	background: rgba(255, 255, 255, .1);
}
.header-button-1, .header-button-2 { position: relative; display: inline-block; }
.header-button { position: relative; display: inline-block; }
.header-button::before,
.header-button::after {
	content: "";
	position: absolute;
	top: -10px; left: -10px; right: -10px; bottom: -10px;
	border: 2px solid;
	border-radius: 7px;
	transition: all .5s ease-in-out;
	animation: gcClippath 3s infinite linear;
	pointer-events: none;
}
.header-button::before { border-color: #ffff00; }
.header-button::after { border-color: #ff3300; animation-delay: -1.5s; }
@keyframes gcClippath {
	0%, 100% { clip-path: inset(0 0 98% 0); }
	25%      { clip-path: inset(0 98% 0 0); }
	50%      { clip-path: inset(98% 0 0 0); }
	75%      { clip-path: inset(0 0 0 98%); }
}
.header-button a {
	position: relative;
	display: inline-block;
	min-height: 2.5em;
	line-height: 2.4em;
	padding: 2px 20px;
	font-size: 1em;
	font-weight: 700;
	letter-spacing: .03em;
	text-transform: uppercase;
	color: #fff;
	border: 1px solid var(--gc-btn-border);
	border-radius: 5px;
	background: linear-gradient(0deg, var(--gc-btn-bg), var(--gc-btn-bg));
	transition: box-shadow .3s, opacity .3s;
}
.header-button a:hover { color: #fff; box-shadow: inset 0 0 0 100px rgba(0, 0, 0, .2); }

/* Bottom nav */
.header-bottom {
	min-height: 10px;
	background-color: var(--gc-header-bg);
}
.header-bottom .container { display: flex; align-items: center; justify-content: center; }
.header-bottom-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
}
.header-bottom-nav > li { position: relative; margin: 0 13px; }
.header-bottom-nav > li > a {
	position: relative;
	display: inline-block;
	padding: 12px 0;
	line-height: 16px;
	font-family: Lato, sans-serif;
	font-weight: 700;
	font-size: .9em;
	letter-spacing: .02em;
	text-transform: uppercase;
	color: #fff;
}
.header-bottom-nav > li > a::before {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 100%;
	height: 3px;
	transform: translateX(-50%);
	background-color: var(--gc-nav-active);
	opacity: 0;
	transition: opacity .3s;
}
.header-bottom-nav > li > a:hover,
.header-bottom-nav > li.current-menu-item > a,
.header-bottom-nav > li.current_page_item > a,
.header-bottom-nav > li.current-menu-ancestor > a { color: var(--gc-nav-active); }
.header-bottom-nav > li > a:hover::before,
.header-bottom-nav > li.current-menu-item > a::before,
.header-bottom-nav > li.current_page_item > a::before,
.header-bottom-nav > li.current-menu-ancestor > a::before { opacity: 1; }

.header-bottom-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: 50%;
	min-width: 220px;
	transform: translateX(-50%);
	list-style: none;
	margin: 0;
	padding: 10px 0;
	background: var(--gc-header-bg);
	border: 1px solid var(--gc-glass-border);
	opacity: 0;
	visibility: hidden;
	transition: opacity .2s, visibility .2s;
	z-index: 40;
}
.header-bottom-nav li:hover > .sub-menu,
.header-bottom-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; }
.header-bottom-nav .sub-menu li { margin: 0; }
.header-bottom-nav .sub-menu a {
	display: block;
	padding: 8px 20px;
	font-family: Lato, sans-serif;
	font-weight: 700;
	font-size: .85em;
	text-transform: uppercase;
	color: #fff;
}
.header-bottom-nav .sub-menu a:hover { color: var(--gc-nav-active); }

.mobile-btns { justify-content: center; padding: 16px 0 18px; }

/* Sticky (trang thường) */
.header-wrapper.stuck {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 30;
	box-shadow: 1px 1px 10px rgba(0, 0, 0, .15);
	animation: gcSlideDown .5s;
}
@keyframes gcSlideDown {
	from { transform: translateY(-100%); }
	to   { transform: translateY(0); }
}
.stuck .header-main { height: 70px; }
.stuck .logo img { max-height: 70px; }

/* Header hiện khi cuộn (trang chủ) */
.gc-hos #header { height: 0; }
.gc-hos .header-wrapper {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 30;
	transform: translateY(-105%);
	transition: transform .35s ease;
	box-shadow: 1px 1px 10px rgba(0, 0, 0, .15);
}
.gc-hos .header-wrapper.is-visible { transform: translateY(0); }
.gc-hos .header-main { height: 70px; }
.gc-hos .logo img { max-height: 70px; }
.gc-hos .header-wrapper .header-main .header-btns { margin-top: 0; }

.admin-bar .header-wrapper.stuck,
.admin-bar.gc-hos .header-wrapper { top: 32px; }
@media (max-width: 782px) {
	.admin-bar .header-wrapper.stuck,
	.admin-bar.gc-hos .header-wrapper { top: 46px; }
}

@media (max-width: 849px) {
	.logo { width: auto; margin: 0 15px; }
}
@media (max-width: 549px) {
	.header-main { height: 70px; }
	.logo img { max-height: 70px; }
}

/* ==========================================================
   5. MOBILE DRAWER
   ========================================================== */
.drawer-overlay {
	position: fixed;
	inset: 0;
	z-index: 999;
	background: rgba(0, 0, 0, .6);
	opacity: 0;
	visibility: hidden;
	transition: opacity .3s, visibility .3s;
}
.mobile-sidebar {
	position: fixed;
	top: 0; bottom: 0; left: 0;
	z-index: 1000;
	width: 300px;
	max-width: 85vw;
	padding: 50px 0 30px;
	overflow-y: auto;
	background: var(--gc-footer-bg);
	transform: translateX(-100%);
	visibility: hidden;
	transition: transform .3s ease, visibility .3s;
}
.drawer-open .drawer-overlay { opacity: 1; visibility: visible; }
.drawer-open .mobile-sidebar { transform: translateX(0); visibility: visible; }
.drawer-close {
	position: absolute;
	top: 8px; right: 8px;
	width: 36px; height: 36px;
	padding: 0;
	background: none;
	border: 0;
	color: #fff;
	cursor: pointer;
}
.drawer-close svg { width: 24px; height: 24px; }
.nav-sidebar { list-style: none; margin: 0; padding: 0; }
.nav-sidebar li { margin: 0; border-top: 1px solid rgba(255, 255, 255, .06); }
.nav-sidebar li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .06); }
.nav-sidebar a {
	display: block;
	padding: 15px 20px;
	font-family: Lato, sans-serif;
	font-weight: 700;
	font-size: .9em;
	text-transform: uppercase;
	color: #fff;
}
.nav-sidebar .current-menu-item > a,
.nav-sidebar .current_page_item > a,
.nav-sidebar a:hover { color: var(--gc-nav-active); }
.nav-sidebar .sub-menu { list-style: none; margin: 0; padding: 0 0 0 15px; }
.nav-sidebar .sub-menu a { padding: 10px 20px; font-size: .8em; }

/* ==========================================================
   6. MAIN BACKGROUND
   ========================================================== */
#main {
	background-color: var(--gc-main-bg);
	background-image: radial-gradient(ellipse at top, #4a0d0d 0%, #1a0303 60%, #0d0101 100%);
	background-size: cover;
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
}
@media (max-width: 768px) {
	#main { background-attachment: scroll; }
}

/* ==========================================================
   7. HERO
   ========================================================== */
.hero {
	position: relative;
	padding: 30px 0;
	overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 45%;
}
.hero .row { position: relative; z-index: 1; }
.hero .img { display: block; margin: 0 auto; }
.hero .img img { display: block; width: 100%; height: auto; }

.hero-logo-col > .col-inner { margin-bottom: -30px; }
.hero-logo { width: 45%; }
.hero-logo .logo-text { font-size: 2.4em; }
@media (min-width: 550px) {
	.hero-logo-col > .col-inner { margin-bottom: -40px; }
	.hero-logo { width: 65%; }
}
@media (min-width: 850px) {
	.hero-logo { width: 55%; }
}

.hero-left-col > .col-inner { margin-bottom: -20px; }
.hero-left { width: 85%; }
@media (min-width: 550px) { .hero-left { width: 90%; } }

.hero-gap { padding-top: 30px; }
.hero-title { width: 90%; }
.hero-title-text {
	margin: 0 auto 10px;
	font-size: 1.5em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
}
.hero-main { width: 93%; }
.hero-main .img-inner { margin-bottom: -60px; }
@media (min-width: 550px) { .hero-main { width: 89%; } }
.hero-btn { width: 100%; position: relative; }
.hero-btn2 { width: 87%; }
@media (min-width: 550px) { .hero-btn2 { width: 90%; } }

.gc-cta-big {
	display: inline-block;
	margin: 10px auto;
	padding: 14px 44px;
	font-size: 1.4em;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #fff;
	border: 2px solid var(--gc-btn-border);
	border-radius: 999px;
	background: linear-gradient(180deg, #ff3b2f 0%, var(--gc-btn-bg) 100%);
	box-shadow: 0 0 18px rgba(255, 215, 0, .35);
}
.gc-cta-big:hover { color: #fff; box-shadow: 0 0 26px rgba(255, 215, 0, .6); }

.image-glow img { transition: filter .3s; }
.image-glow:hover img { filter: brightness(1.08) drop-shadow(0 0 12px rgba(255, 215, 128, .55)); }

@keyframes gcZoomInOut {
	0%   { transform: scale(1); }
	50%  { transform: scale(1.1); }
	100% { transform: scale(1); }
}
.hieuungzoom { animation: gcZoomInOut 1s infinite ease-in-out; }

/* Hero slider (cột phải) */
.hs { position: relative; }
.hs-viewport { overflow: hidden; }
.hs-track { display: flex; transition: transform .6s cubic-bezier(.25, .8, .25, 1); }
.hs-slide { flex: 0 0 100%; max-width: 100%; }
.hs-slide img { display: block; width: 100%; height: auto; }
.hs-dots {
	display: flex;
	justify-content: center;
	gap: 6px;
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
}
.hs-dots li { margin: 0; }
.hs-dots button {
	display: block;
	width: 15px;
	height: 3px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: #fff;
	opacity: .4;
	cursor: pointer;
	transition: opacity .3s;
}
.hs-dots button.is-selected,
.hs-dots button:hover { opacity: 1; }

/* ==========================================================
   8. SECTION TITLE + CONTENT BOX
   ========================================================== */
.home-main { padding: 10px 0; }
@media (min-width: 850px) { .home-main { padding: 30px 0; } }
.page-wrap { padding: 30px 0 10px; }

.gc-line {
	height: 2px;
	width: 78%;
	margin: 0 auto;
	background: linear-gradient(90deg, rgba(255, 215, 128, 0) 0%, #ffd780 50%, rgba(255, 215, 128, 0) 100%);
}
.gc-line.full { width: 100%; }

.section-title-container { margin: 15px 0 1.5em; }
.section-title {
	position: relative;
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	margin: 0;
	text-transform: uppercase;
}
.section-title b {
	display: block;
	flex: 1;
	height: 2px;
	opacity: .1;
	background-color: currentColor;
}
.section-title-center .section-title-main {
	margin: 0 15px;
	text-align: center;
}
@media (max-width: 549px) {
	.section-title b { display: none; }
	.section-title-center .section-title-main { margin: 0; width: 100%; }
}

.gc-box {
	padding: 20px;
	border-radius: 10px;
	background-color: var(--gc-glass);
	border: 1px solid var(--gc-glass-border);
	box-shadow: 0 4px 10px rgba(76, 175, 80, .1);
	font-size: 16px;
	line-height: 1.6;
	text-align: left;
}
.gc-scroll {
	max-height: 600px;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: #ff0000 #e8f5e9;
}
.gc-scroll::-webkit-scrollbar { width: 6px; }
.gc-scroll::-webkit-scrollbar-track { background: #e8f5e9; border-radius: 6px; }
.gc-scroll::-webkit-scrollbar-thumb { background: #ff0000; border-radius: 6px; }

.entry-content::after { content: ""; display: table; clear: both; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-top: .4em; }
.entry-content img { border-radius: 4px; }

/* ==========================================================
   9. FAQ ACCORDION
   ========================================================== */
.sec-heading { font-size: 140%; margin-bottom: 10px; }
.faq-head { text-align: center; }
.faq-head p:not(.a-tt) { color: #fff; }

.accordion-item {
	background-color: var(--gc-glass) !important;
	border: 1px solid var(--gc-glass-border) !important;
	padding-right: 10px;
	border-radius: 10px;
	font-size: 16px;
	margin-bottom: 1rem;
	transition: border-color .25s, box-shadow .25s;
}
.accordion-item:hover { border-color: #93c5fd !important; }
.accordion-item.active {
	border-color: #2563eb !important;
	box-shadow: 0 10px 28px rgba(37, 99, 235, .15);
}
.accordion-title {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: .6em 1em;
	margin: 0;
	background: none;
	border: 0;
	text-align: left;
	font-family: inherit;
	font-weight: 600;
	font-size: 15px;
	line-height: 1.4;
	color: var(--gc-faq-text) !important;
	cursor: pointer;
}
.accordion-title .acc-ic {
	flex: 0 0 auto;
	display: inline-flex;
	width: 16px;
	height: 16px;
	color: var(--gc-faq-text);
	transition: transform .25s ease;
}
.accordion-title .acc-ic svg { width: 100%; height: 100%; }
.accordion-item.active .acc-ic { transform: rotate(180deg); }
.accordion-inner {
	display: none;
	padding: 14px 18px 18px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--gc-faq-text);
}
.accordion-item.active .accordion-inner { display: block; }
.accordion-inner p { margin: 0; }
.accordion-inner p + p { margin-top: .8em; }
@media (max-width: 849px) {
	.accordion-title { font-size: 14px; padding: 14px 16px; }
}

/* ==========================================================
   10. POST CARDS + SLIDER
   ========================================================== */
.post-box .box-image {
	position: relative;
	display: block;
	padding-top: 56.25%;
	overflow: hidden;
	background: rgba(255, 255, 255, .04);
}
.post-box .box-image img,
.post-box .box-image .no-thumb {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.post-box .no-thumb { background: linear-gradient(135deg, #3a0808, #120202); }
.post-box .box-text { padding: .7em 0 1.4em; text-align: center; }
.post-title { margin: 0; }
.post-title.is-large { font-size: 1.15em; }
.is-divider {
	display: block;
	height: 3px;
	max-width: 30px;
	width: 100%;
	margin: 1em auto;
	background-color: rgba(255, 255, 255, .3);
}

.ps { --per: 4; position: relative; }
@media (max-width: 549px) { .ps { --per: 1; } }
.ps-viewport { overflow: hidden; }
.ps-track { display: flex; transition: transform .6s cubic-bezier(.25, .8, .25, 1); touch-action: pan-y; }
.ps-item {
	flex: 0 0 calc(100% / var(--per));
	max-width: calc(100% / var(--per));
	padding: 0 15px 30px;
}
.ps-btn {
	position: absolute;
	top: 30%;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	color: #fff;
	background: transparent;
	border: 2px solid currentColor;
	border-radius: 50%;
	cursor: pointer;
	opacity: 0;
	transition: opacity .3s, transform .3s;
}
.ps-btn svg { width: 50%; height: 50%; fill: currentColor; }
.ps-prev { left: -2.8em; transform: translateX(-10px); }
.ps-next { right: -2.8em; transform: translateX(10px); }
.ps:hover .ps-btn,
.ps-btn:focus-visible { opacity: .8; transform: translateX(0); }
.ps-btn:hover { opacity: 1 !important; }
.ps.no-nav .ps-btn { display: none; }
@media (max-width: 1180px) {
	.ps-prev { left: 0; }
	.ps-next { right: 0; }
}
@media (hover: none) {
	.ps-btn { opacity: .7; transform: none; }
}

.post-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0 30px;
}
@media (max-width: 849px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 549px) { .post-grid { grid-template-columns: 1fr; } }

/* Pagination */
.pagination, .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 10px 0 30px; }
.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.3em;
	height: 2.3em;
	padding: 0 .6em;
	font-weight: 700;
	color: #fff;
	border: 2px solid var(--gc-glass-border);
	border-radius: 99px;
}
.page-numbers.current, .page-numbers:hover {
	color: #fff;
	background: var(--gc-btn-bg);
	border-color: var(--gc-btn-border);
}

/* ==========================================================
   11. SINGLE / PAGE
   ========================================================== */
.entry-header { margin-bottom: 1.5em; }
.entry-cats { font-size: .75em; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .6em; }
.entry-title { margin-bottom: .2em; }
.entry-meta { font-size: .85em; color: rgba(255, 255, 255, .7); }
.entry-image { margin-bottom: 1.5em; }
.entry-image img { width: 100%; border-radius: 6px; }
.entry-tags { margin-top: 1.5em; font-size: .85em; }
.entry-tags a {
	display: inline-block;
	margin: 0 4px 6px 0;
	padding: 2px 10px;
	border: 1px solid var(--gc-glass-border);
	border-radius: 99px;
}
.post-nav {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	margin: 20px 0 30px;
	font-size: .9em;
}
.post-nav a { display: block; max-width: 48%; }
.post-nav .next { margin-left: auto; text-align: right; }

.search-form { display: flex; gap: 8px; margin-top: 1em; }
.search-form label { flex: 1; }
.search-field {
	width: 100%;
	height: 2.6em;
	padding: 0 .9em;
	color: #fff;
	background: rgba(255, 255, 255, .08);
	border: 1px solid var(--gc-glass-border);
	border-radius: 6px;
	font: inherit;
}
.search-submit {
	height: 2.6em;
	padding: 0 1.2em;
	color: #fff;
	background: var(--gc-btn-bg);
	border: 1px solid var(--gc-btn-border);
	border-radius: 6px;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

/* ==========================================================
   12. FOOTER
   ========================================================== */
.f-main {
	padding: 30px 0;
	background-color: var(--gc-footer-bg);
	color: #f1f1f1;
}
.f-main a { color: #fff; }
.f-main a:hover { color: var(--gc-link); }
.f-main .gc-line { margin-bottom: 30px; }
.f-main .row .row + .gc-line { margin: 0; }
.f-logo { display: block; width: 40%; margin: 0 auto 1em; }
.f-logo img { display: block; width: 100%; height: auto; }
.f-about { text-align: justify; }
.f-head {
	margin-bottom: .6em;
	text-align: center;
	font-weight: 700;
	color: var(--gc-success);
}

.ux-menu { list-style: none; margin: 0; padding: 0; }
.ux-menu li { margin: 0; }
.ux-menu li:not(:last-child) > a { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ux-menu a {
	display: flex;
	align-items: center;
	min-height: 2.5em;
	padding: .3em 0;
	color: rgba(255, 255, 255, .8);
}
.ux-menu a:hover { color: #fff; }

.label-new.menu-item > a::after,
.label-hot.menu-item > a::after,
.label-sale.menu-item > a::after,
.label-popular.menu-item > a::after {
	display: inline-block;
	position: relative;
	top: -2px;
	margin-left: 4px;
	padding: 2px 3px 3px;
	font-size: 9px;
	line-height: 9px;
	font-weight: bolder;
	letter-spacing: -.1px;
	text-transform: uppercase;
	color: #fff;
	border-radius: 2px;
	background-color: #000;
}
.label-new.menu-item > a::after { content: "Mới"; background-color: var(--gc-primary); }
.label-hot.menu-item > a::after { content: "Nổi bật"; background-color: var(--gc-alert); }
.label-sale.menu-item > a::after { content: "Giảm giá"; background-color: var(--gc-secondary); }
.label-popular.menu-item > a::after { content: "Phổ biến"; background-color: #000; }

.f-contact { padding-left: 1.3em; }
.f-contact li { margin-bottom: .4em; }
.f-policy { margin: 0; text-align: center; }

.absolute-footer {
	padding: 10px 0 15px;
	font-size: .9em;
	color: rgba(255, 255, 255, .5);
	background-color: var(--gc-abs-footer);
}
@media (max-width: 849px) { .absolute-footer { text-align: center; } }

#top-link {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.6em;
	height: 2.6em;
	padding: 0;
	color: #fff;
	background: transparent;
	border: 2px solid currentColor;
	border-radius: 50%;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity .3s, visibility .3s, transform .3s, background .3s;
}
#top-link svg { width: 18px; height: 18px; }
#top-link.active { opacity: 1; visibility: visible; transform: none; }
#top-link:hover { background: rgba(255, 255, 255, .1); }

/* ==========================================================
   13. REDUCED MOTION
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
	.hieuungzoom,
	.header-button::before,
	.header-button::after { animation: none; }
	.hs-track, .ps-track { transition: none; }
}
