:root {
	--color-brand: #d6a514;
	--color-brand-dark: #b48708;
	--color-ink: #242422;
	--color-text: #34342f;
	--color-muted: #74736b;
	--color-line: #dfddd6;
	--color-canvas: #f7f4ee;
	--color-surface: #fff;
	--container: 1240px;
	--content: 780px;
	--radius: 2px;
	--shadow: 0 18px 50px rgb(32 30 25 / 10%);
	--serif: Georgia, 'Times New Roman', serif;
	--sans: Inter, 'Segoe UI', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--color-text); background: var(--color-canvas); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .18em; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--color-brand); outline-offset: 3px; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.container--content { max-width: var(--content); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { top: 12px; left: 12px; z-index: 100000; width: auto; height: auto; padding: 10px 14px; clip: auto; background: #fff; }

.button, button, input[type='submit'] { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 11px 22px; border: 1px solid var(--color-brand); border-radius: var(--radius); background: var(--color-brand); color: #fff; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease; }
.button:hover, .button:focus-visible, button:hover, input[type='submit']:hover { border-color: var(--color-brand-dark); background: var(--color-brand-dark); color: #fff; transform: translateY(-1px); }
.button--compact { min-height: 42px; padding: 9px 18px; font-size: .84rem; }
.button--outline { border-color: var(--color-ink); background: transparent; color: var(--color-ink); }
.button--outline-light { border-color: rgb(255 255 255 / 60%); background: rgb(0 0 0 / 12%); color: #fff; }
.button--outline-light:hover { border-color: #fff; background: #fff; color: var(--color-ink); }

.site-topbar { background: var(--color-ink); color: #deddd8; font-size: .75rem; letter-spacing: .01em; }
.site-topbar__inner, .site-topbar__links { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.site-topbar p { margin: 6px 0; }
.site-topbar p span { margin-right: 8px; color: var(--color-brand); font-size: .5rem; }
.site-topbar a { color: #fff; text-decoration: none; }
.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--color-line); background: rgb(255 255 255 / 96%); backdrop-filter: blur(14px); transition: box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow: 0 8px 30px rgb(26 25 22 / 8%); }
.site-header__inner { display: flex; align-items: center; min-height: 82px; gap: 32px; }
.site-branding { flex: 0 0 auto; margin-right: 20px; }
.site-logo-fallback img, .custom-logo { width: auto; max-width: 122px; max-height: 62px; }
.primary-navigation { margin-inline: auto; }
.primary-navigation > ul { display: flex; align-items: center; gap: 28px; padding: 0; margin: 0; list-style: none; }
.primary-navigation li { position: relative; }
.primary-navigation a { display: block; color: var(--color-ink); font-size: .84rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.primary-navigation > ul > li > a { padding-block: 30px; }
.primary-navigation > ul > li > a::after { position: absolute; right: 0; bottom: 23px; left: 0; height: 2px; background: var(--color-brand); content: ''; transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.primary-navigation .current-menu-item > a, .primary-navigation a:hover, .primary-navigation a:focus-visible { color: var(--color-brand-dark); }
.primary-navigation > ul > li:hover > a::after, .primary-navigation > ul > .current-menu-item > a::after { transform: scaleX(1); transform-origin: left; }
.primary-navigation .sub-menu { position: absolute; top: calc(100% - 10px); left: -18px; z-index: 20; min-width: 230px; padding: 10px; margin: 0; visibility: hidden; border: 1px solid var(--color-line); background: #fff; box-shadow: var(--shadow); list-style: none; opacity: 0; pointer-events: none; transform: translateY(8px); transition: .18s ease; }
.primary-navigation .sub-menu .sub-menu { top: -10px; left: 100%; }
.primary-navigation .sub-menu a { padding: 10px 12px; }
.primary-navigation li:hover > .sub-menu,
.primary-navigation li.submenu-open > .sub-menu { visibility: visible; opacity: 1; pointer-events: auto; transform: translateY(0); }
@supports selector(li:has(:focus-visible)) {
	.primary-navigation li:has(:focus-visible) > .sub-menu { visibility: visible; opacity: 1; pointer-events: auto; transform: translateY(0); }
}
.site-header__actions { display: flex; align-items: center; gap: 10px; }
.header-search-toggle { width: 42px; min-height: 42px; padding: 0; border-color: var(--color-line); background: transparent; color: var(--color-ink); }
.header-search-toggle svg { width: 19px; fill: none; stroke: currentcolor; stroke-width: 1.7; }
.header-search-toggle:hover { border-color: var(--color-ink); background: var(--color-ink); }
.header-search-panel { position: absolute; right: 0; left: 0; padding: 16px 0; border-top: 1px solid var(--color-line); background: #fff; box-shadow: 0 12px 30px rgb(20 20 18 / 8%); }
.header-search-panel .container { max-width: 680px; }
.search-form { display: flex; width: 100%; border-bottom: 1px solid var(--color-ink); }
.search-form__label { flex: 1; }
.search-form__field { width: 100%; height: 48px; padding: 0 8px; border: 0; outline: 0; background: transparent; }
.search-form__submit { min-height: 44px; margin-bottom: 4px; }
.menu-toggle, .submenu-toggle { display: none; }

.site-main { min-height: 55vh; padding-block: 56px 80px; }
.site-main--home { padding: 0; }
.page-hero { display: grid; min-height: 360px; place-items: center; background: var(--color-canvas); text-align: center; }
.page-hero__inner { max-width: 760px; padding-block: 72px; }
.page-hero h1, .entry-title, .archive-title, .error-404 h1 { margin: 0 0 20px; font-family: var(--serif); font-size: clamp(2.3rem, 5vw, 4.5rem); font-weight: 400; line-height: 1.08; }
.eyebrow { margin: 0 0 10px; color: var(--color-brand-dark); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow--light { color: #efc53f; }
.breadcrumbs { margin-bottom: 32px; color: var(--color-muted); font-size: .875rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.breadcrumbs li:not(:last-child)::after { margin-left: 8px; content: '/'; }
.content-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.content-card { overflow: hidden; border: 1px solid var(--color-line); background: #fff; }
.content-card__image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.content-card__body { padding: 22px; }
.content-card__title { margin: 0 0 12px; font-family: var(--serif); font-size: 1.35rem; line-height: 1.3; }
.content-card__title a { text-decoration: none; }
.entry-content > * + * { margin-top: 1.25em; }
.entry-content, .entry-thumbnail, .archive-header { margin-bottom: 40px; }
.entry-meta, .archive-description, .content-card__excerpt { color: var(--color-muted); }

.site-footer { padding-top: 68px; background: #20201e; color: #bcbcb5; font-size: .88rem; }
.site-footer a { color: #dddcd6; text-decoration: none; }
.site-footer a:hover { color: var(--color-brand); }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.45fr; gap: 60px; }
.site-footer__brand img { width: 115px; margin-bottom: 20px; filter: brightness(1.08); }
.site-footer__brand > p { max-width: 280px; }
.site-footer__title { margin: 0 0 22px; color: var(--color-brand); font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.site-footer__menu { padding: 0; margin: 0; list-style: none; }
.site-footer__menu li + li { margin-top: 10px; }
.site-footer__contact p { margin: 0 0 14px; }
.site-footer__contact p span { display: block; color: #77766f; font-size: .69rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-socials { display: flex; gap: 9px; margin-top: 22px; }
.footer-socials a { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid #4b4a46; border-radius: 50%; font-size: .72rem; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 24px; padding-block: 24px; margin-top: 52px; border-top: 1px solid rgb(255 255 255 / 10%); font-size: .75rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom p:last-child { display: flex; gap: 24px; }
.gh-icon { display: inline-block; width: 1.15em; height: 1.15em; flex: 0 0 auto; fill: none; stroke: currentcolor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.16em; }
.gh-icon--brand { fill: currentcolor; stroke: none; }
.floating-contact { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: grid; gap: 9px; }
.floating-contact__item { display: grid; width: 50px; height: 50px; min-height: 50px; padding: 0; place-items: center; border: 0; border-radius: 50%; background: var(--color-brand); box-shadow: 0 10px 25px rgb(0 0 0 / 18%); color: #fff; font-size: .7rem; font-weight: 700; text-decoration: none; transition: transform .2s ease; }
.floating-contact__item--top { visibility: hidden; background: #3f3f3f; opacity: 0; pointer-events: none; transform: translateY(10px); transition: visibility .25s ease, opacity .25s ease, transform .25s ease; }
.floating-contact__item--top.is-visible { visibility: visible; opacity: 1; pointer-events: auto; transform: translateY(0); }
.floating-contact__item--top:hover, .floating-contact__item--top:focus-visible, .floating-contact__item--top:active { border: 0; background: #3f3f3f; color: #fff; }
.floating-contact__item--zalo { background: #1778f2; }
.floating-contact__item:hover { color: #fff; transform: translateY(-3px); }
.floating-contact__item--top:not(.is-visible):hover { transform: translateY(10px); }
.floating-contact__item .gh-icon { width: 23px; height: 23px; }

input[type='text'], input[type='email'], input[type='tel'], input[type='url'], input[type='search'], input[type='number'], select, textarea { max-width: 100%; min-height: 48px; padding: 10px 13px; border: 1px solid var(--color-line); border-radius: 0; background: #fff; color: var(--color-text); }
textarea { min-height: 140px; resize: vertical; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 40px; }
.page-numbers { display: grid; min-width: 42px; height: 42px; place-items: center; padding-inline: 10px; border: 1px solid var(--color-line); text-decoration: none; }
.page-numbers.current, .page-numbers:hover { border-color: var(--color-brand); background: var(--color-brand); color: #fff; }

@media (max-width: 1100px) {
	.primary-navigation > ul { gap: 18px; }
	.primary-navigation a { font-size: .78rem; }
	.site-branding { margin-right: 0; }
	.site-header__actions .button { display: none; }
}

@media (max-width: 900px) {
	.site-topbar { display: none; }
	.site-header__inner { min-height: 72px; }
	.site-branding { margin-right: auto; }
	.site-logo-fallback img, .custom-logo { max-height: 52px; }
	.site-header__actions { margin-left: auto; }
	.menu-toggle { display: grid; width: 42px; min-height: 42px; padding: 9px; border-color: var(--color-ink); background: transparent; color: var(--color-ink); place-content: center; gap: 5px; }
	.menu-toggle span:not(.screen-reader-text) { display: block; width: 20px; height: 1px; background: currentcolor; }
	.primary-navigation { position: absolute; top: 72px; right: 0; left: 0; max-height: 0; overflow: hidden; background: #fff; box-shadow: var(--shadow); transition: max-height .25s ease; }
	.primary-navigation.is-open { max-height: calc(100vh - 72px); overflow-y: auto; }
	.primary-navigation > ul { display: block; padding: 18px 24px 28px; }
	.primary-navigation > ul > li > a, .primary-navigation .sub-menu a { padding: 13px 46px 13px 4px; font-size: .9rem; }
	.primary-navigation > ul > li > a::after { display: none; }
	.primary-navigation .sub-menu, .primary-navigation .sub-menu .sub-menu { position: static; display: none; min-width: 0; padding: 0 0 0 18px; visibility: visible; border: 0; box-shadow: none; opacity: 1; pointer-events: auto; transform: none; }
	.primary-navigation .submenu-open > .sub-menu { display: block; }
	.submenu-toggle { position: absolute; top: 7px; right: 0; display: grid; width: 38px; min-height: 38px; padding: 0; place-items: center; border: 0; background: transparent; color: var(--color-ink); }
	.content-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
	.container { width: min(calc(100% - 32px), var(--container)); }
	.site-main { padding-block: 40px 56px; }
	.header-search-toggle { display: none; }
	.content-list, .site-footer__grid { grid-template-columns: 1fr; }
	.site-footer__grid { gap: 38px; }
	.site-footer__bottom { display: block; }
	.site-footer__bottom p:last-child { margin-top: 10px; }
	.floating-contact__item { width: 46px; height: 46px; min-height: 46px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
