/* ==========================================================================
   NTN Edu - Trường THPT Ngô Thì Nhậm
   Tông xanh navy + vàng. Mobile first; menu chuyển sang dạng ngăn kéo dưới 1024px.
   ========================================================================== */

:root {
	--navy-900: #071d42;
	--navy-800: #0b2a5b;
	--navy-700: #123a7a;
	--navy-600: #1c4f9c;
	--navy-100: #e6edf8;
	--navy-50: #f3f6fb;
	--gold-500: #f2b01e;
	--gold-600: #d99a0b;
	--gold-100: #fff4d6;
	--red-600: #b3261e;
	--ink: #1b2433;
	--ink-soft: #4a5568;
	--ink-mute: #718096;
	--line: #e3e8f0;
	--bg: #ffffff;
	--bg-soft: #f5f7fb;

	--font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--radius: 12px;
	--radius-sm: 8px;
	--shadow-sm: 0 1px 2px rgba(11, 42, 91, .06), 0 1px 3px rgba(11, 42, 91, .08);
	--shadow: 0 6px 20px rgba(11, 42, 91, .10);
	--shadow-lg: 0 18px 40px rgba(11, 42, 91, .16);
	--container: 1200px;
	--gutter: 16px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 768px) {
	:root { --gutter: 24px; }
}

/* ---------- Nền tảng ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--navy-700); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-600); }
h1, h2, h3, h4, h5, h6 { line-height: 1.3; margin: 0 0 .6em; color: var(--navy-900); font-weight: 700; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 1000;
	background: var(--gold-500); color: var(--navy-900); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: 12px; }
.empty { color: var(--ink-mute); font-size: .95rem; }

.btn {
	display: inline-flex; align-items: center; gap: 8px;
	background: var(--navy-800); color: #fff; padding: 12px 22px; border-radius: 999px; font-weight: 600; border: 0;
	transition: background .2s, transform .2s;
}
.btn:hover { background: var(--navy-700); color: #fff; transform: translateY(-1px); }

.icon-btn {
	display: inline-grid; place-items: center; width: 44px; height: 44px;
	border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy-800);
	transition: background .2s, color .2s, border-color .2s;
}
.icon-btn:hover { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.icon-btn .icon { width: 22px; height: 22px; }

.badge {
	display: inline-block; font-size: .75rem; font-weight: 600; line-height: 1.2;
	padding: 4px 10px; border-radius: 999px; background: var(--navy-100); color: var(--navy-700);
}
a.badge:hover { background: var(--navy-800); color: #fff; }
.badge--gold { background: var(--gold-500); color: var(--navy-900); }

/* ---------- Thanh trên cùng ---------- */
.topbar { background: var(--navy-900); color: #c9d5ea; font-size: .82rem; }
.topbar__inner { display: flex; align-items: center; gap: 16px; min-height: 38px; }
.topbar__org { margin: 0; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; display: none; }
.topbar a { color: #c9d5ea; }
.topbar a:hover { color: var(--gold-500); }
.topbar__contact, .topbar__menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; align-items: center; }
.topbar__contact a { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.topbar__menu a { white-space: nowrap; }
.topbar__contact .icon { color: var(--gold-500); }
.topbar__menu { margin-left: auto; }
.hide-sm { display: none; }
@media (min-width: 768px) {
	.topbar__org { display: block; }
	.topbar__contact { margin-left: auto; }
	.topbar__menu { margin-left: 0; padding-left: 18px; border-left: 1px solid rgba(255,255,255,.15); }
}
@media (min-width: 1024px) {
	.hide-sm { display: list-item; }
}
@media (max-width: 479px) {
	.topbar__menu { display: none; }
}

/* ---------- Header ---------- */
.site-header {
	position: relative; background: #fff;
	background-image:
		radial-gradient(circle at 92% 20%, rgba(242,176,30,.10) 0, transparent 40%),
		linear-gradient(180deg, #fff 0%, var(--navy-50) 100%);
	border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; min-width: 0; }
.brand:hover { color: inherit; }
.brand-logo { width: auto; height: 56px; }
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__org { font-size: .68rem; font-weight: 600; color: var(--navy-600); text-transform: uppercase; letter-spacing: .04em; }
.brand__name {
	margin: 0; font-size: 1.05rem; font-weight: 800; line-height: 1.2; color: var(--navy-800);
	text-transform: uppercase; letter-spacing: .01em;
}
.brand__slogan { display: none; font-size: .85rem; color: var(--gold-600); font-weight: 600; font-style: italic; margin-top: 2px; }
.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.hotline { display: none; align-items: center; gap: 10px; color: var(--navy-800); margin-right: 8px; }
.hotline__icon {
	display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
	background: var(--gold-500); color: var(--navy-900); box-shadow: 0 0 0 6px var(--gold-100);
}
.hotline__text { display: flex; flex-direction: column; line-height: 1.25; }
.hotline__text small { color: var(--ink-mute); font-size: .75rem; }
.hotline__text strong { font-size: 1.05rem; }
.hotline:hover { color: var(--navy-700); }

@media (min-width: 480px) {
	.brand-logo { height: 64px; }
	.brand__org { font-size: .75rem; }
	.brand__name { font-size: 1.25rem; }
}
@media (min-width: 768px) {
	.site-header__inner { padding-top: 16px; padding-bottom: 16px; }
	.brand { gap: 16px; }
	.brand-logo { height: 84px; }
	.brand__org { font-size: .85rem; }
	.brand__name { font-size: 1.85rem; }
	.brand__slogan { display: block; }
}
@media (min-width: 1024px) {
	.hotline { display: flex; }
	.icon-btn--menu { display: none; }
}

.search-panel { border-top: 1px solid var(--line); background: #fff; padding: 16px 0; }
.search-panel[hidden] { display: none; }

.search-form { display: flex; gap: 8px; width: 100%; }
.search-form__input {
	flex: 1; min-width: 0; height: 48px; padding: 0 18px; font: inherit; font-size: 1rem;
	border: 2px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink);
	transition: border-color .2s;
}
.search-form__input:focus { outline: none; border-color: var(--navy-600); }
.search-form__btn {
	display: inline-flex; align-items: center; gap: 6px; height: 48px; padding: 0 20px;
	border: 0; border-radius: 999px; background: var(--navy-800); color: #fff; font-weight: 600;
}
.search-form__btn:hover { background: var(--gold-500); color: var(--navy-900); }
@media (max-width: 479px) { .search-form__btn span { display: none; } }

/* ---------- Menu chính ---------- */
.nav-bar { background: var(--navy-800); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 10px rgba(7,29,66,.25); }
.admin-bar .nav-bar { top: 32px; }
@media (max-width: 782px) { .admin-bar .nav-bar { top: 0; } }

.site-nav .menu, .site-nav .sub-menu { list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; color: #fff; font-weight: 600; font-size: .92rem; }
.submenu-toggle { border: 0; background: transparent; color: inherit; padding: 0; display: inline-grid; place-items: center; }
.submenu-toggle .icon { transition: transform .25s var(--ease); }
.is-open > .submenu-toggle .icon { transform: rotate(180deg); }

/* Mobile: ngăn kéo bên trái */
@media (max-width: 1023px) {
	.nav-bar { position: static; box-shadow: none; height: 4px; background: linear-gradient(90deg, var(--navy-800), var(--gold-500)); }
	.site-nav {
		position: fixed; inset: 0 auto 0 0; z-index: 200; width: min(86vw, 360px);
		background: var(--navy-900); overflow-y: auto; overscroll-behavior: contain;
		transform: translateX(-100%); transition: transform .3s var(--ease); visibility: hidden;
	}
	.nav-open .site-nav { transform: none; visibility: visible; }
	.site-nav__head {
		display: flex; align-items: center; justify-content: space-between;
		padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,.1); position: sticky; top: 0; background: var(--navy-900);
	}
	.site-nav__title { color: var(--gold-500); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .85rem; }
	.site-nav__head .icon-btn { background: transparent; color: #fff; border-color: rgba(255,255,255,.2); }
	.site-nav .menu > li { border-bottom: 1px solid rgba(255,255,255,.08); }
	.site-nav li { position: relative; }
	.site-nav a { padding: 14px 56px 14px 20px; }
	.site-nav .current-menu-item > a, .site-nav .current-menu-ancestor > a { color: var(--gold-500); }
	.submenu-toggle { position: absolute; right: 6px; top: 4px; width: 44px; height: 44px; color: #fff; border-radius: 50%; }
	.site-nav .sub-menu { display: none; background: rgba(255,255,255,.04); padding: 4px 0; }
	.site-nav .is-open > .sub-menu { display: block; }
	.site-nav .sub-menu a { font-weight: 500; color: #c9d5ea; padding-left: 36px; font-size: .9rem; }
	.nav-overlay { position: fixed; inset: 0; z-index: 150; background: rgba(7,29,66,.55); backdrop-filter: blur(2px); }
	.nav-overlay[hidden] { display: none; }
}

/* Desktop: thanh ngang + menu thả xuống */
@media (min-width: 1024px) {
	.site-nav__head, .nav-overlay { display: none !important; }
	.site-nav .menu { display: flex; flex-wrap: wrap; }
	.site-nav .menu > li { position: relative; display: flex; align-items: center; }
	.site-nav .menu { flex-wrap: nowrap; justify-content: space-between; }
	.site-nav .menu > li > a { padding: 15px 10px; text-transform: uppercase; font-size: .8rem; letter-spacing: .01em; position: relative; white-space: nowrap; }
	.site-nav .menu > li > a::after {
		content: ""; position: absolute; left: 10px; right: 10px; bottom: 8px; height: 3px; border-radius: 3px;
		background: var(--gold-500); transform: scaleX(0); transition: transform .25s var(--ease);
	}
	.site-nav .menu > li:hover > a::after,
	.site-nav .menu > li:focus-within > a::after,
	.site-nav .menu > .current-menu-item > a::after,
	.site-nav .menu > .current-menu-ancestor > a::after { transform: scaleX(1); }
	.site-nav .menu > li:hover > a, .site-nav .menu > .current-menu-item > a, .site-nav .menu > .current-menu-ancestor > a { color: var(--gold-500); }
	.site-nav .menu > .menu-item-has-children > a { padding-right: 4px; }
	.site-nav .menu > .menu-item-has-children > a::after { right: 4px; }
	.submenu-toggle { color: #fff; width: 22px; height: 22px; margin-right: 8px; }
	.submenu-toggle .icon { width: 16px; height: 16px; }
	.site-nav .sub-menu {
		position: absolute; top: 100%; left: 0; min-width: 260px; z-index: 60;
		background: #fff; border-radius: 0 0 var(--radius-sm) var(--radius-sm); border-top: 3px solid var(--gold-500);
		box-shadow: var(--shadow-lg); padding: 8px 0;
		opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s var(--ease), visibility .2s;
	}
	.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu, .site-nav li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
	.site-nav .sub-menu a { color: var(--ink); font-weight: 500; padding: 9px 20px; font-size: .9rem; text-transform: none; }
	.site-nav .sub-menu a:hover, .site-nav .sub-menu .current-menu-item > a { color: var(--navy-700); background: var(--navy-50); padding-left: 24px; transition: padding .2s, background .2s; }
	.site-nav .sub-menu .submenu-toggle { display: none; }
	.site-nav .menu > li:nth-last-child(-n+2) > .sub-menu { left: auto; right: 0; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
	.site-nav .menu > li > a { padding-left: 6px; padding-right: 6px; font-size: .72rem; }
	.site-nav .menu > li > a::after { left: 6px; right: 6px; }
	.submenu-toggle { margin-right: 2px; }
}

/* ---------- Dòng thông báo chạy ---------- */
.ticker { background: var(--gold-100); border-bottom: 1px solid #f6e3ad; }
.ticker__inner { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.ticker__label {
	display: inline-flex; align-items: center; gap: 6px; flex: none;
	background: var(--navy-800); color: #fff; font-size: .78rem; font-weight: 700; text-transform: uppercase;
	padding: 5px 12px; border-radius: 999px;
}
.ticker__label .icon { color: var(--gold-500); }
@media (max-width: 479px) { .ticker__label span { display: none; } }
.ticker__viewport { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker__track { display: flex; width: max-content; animation: ntn-ticker 60s linear infinite; }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track { animation-play-state: paused; }
.ticker__group { display: flex; align-items: center; flex: none; white-space: nowrap; font-size: .92rem; padding-right: 32px; }
.ticker__group span { color: var(--red-600); font-weight: 600; }
.ticker__group a { color: var(--navy-800); font-weight: 500; }
.ticker__group a:hover { color: var(--gold-600); }
.ticker__sep { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-600); margin: 0 18px; }
@keyframes ntn-ticker { to { transform: translateX(-50%); } }

/* ---------- Khối trang chủ ---------- */
.section { padding: 40px 0; }
.section--tight { padding: 8px 0 32px; }
.section--tint { background: var(--bg-soft); }
@media (min-width: 1024px) { .section { padding: 56px 0; } }

.section-head {
	display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
	margin-bottom: 20px; border-bottom: 1px solid var(--line);
}
.section-title {
	position: relative; margin: 0; padding-bottom: 12px; font-size: 1.2rem; text-transform: uppercase; letter-spacing: .02em; color: var(--navy-800);
}
.section-title::after {
	content: ""; position: absolute; left: 0; bottom: -1px; width: 64px; height: 3px; border-radius: 3px; background: var(--gold-500);
}
.section-more { display: inline-flex; align-items: center; gap: 4px; flex: none; padding-bottom: 12px; font-size: .88rem; font-weight: 600; color: var(--navy-600); }
.section-more .icon { transition: transform .2s; }
.section-more:hover .icon { transform: translateX(3px); }
@media (min-width: 768px) { .section-title { font-size: 1.4rem; } }

/* Hero: slider + thông báo */
.hero { padding: 20px 0 8px; }
.hero__grid { display: grid; gap: 20px; }
@media (min-width: 1024px) {
	.hero { padding: 28px 0 8px; }
	.hero__grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; }
}

.slider { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--navy-900); box-shadow: var(--shadow); aspect-ratio: 16 / 9; touch-action: pan-y; }
.slider__track { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide__img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 6s ease; }
.hero-slide.is-active .hero-slide__img { transform: scale(1); }
.hero-slide__caption {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 20px 40px;
	background: linear-gradient(180deg, transparent, rgba(7,29,66,.88));
	display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
}
.hero-slide__title { color: #fff; font-size: 1.05rem; font-weight: 700; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
a.hero-slide__title:hover { color: var(--gold-500); }
@media (min-width: 768px) {
	.hero-slide__caption { padding: 80px 32px 44px; }
	.hero-slide__title { font-size: 1.5rem; }
}
.slider__nav {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
	width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center;
	background: rgba(255,255,255,.18); color: #fff; backdrop-filter: blur(4px); opacity: 0; transition: opacity .2s, background .2s;
}
.slider:hover .slider__nav, .slider__nav:focus-visible { opacity: 1; }
.slider__nav:hover { background: var(--gold-500); color: var(--navy-900); }
.slider__nav--prev { left: 12px; }
.slider__nav--next { right: 12px; }
@media (hover: none) { .slider__nav { display: none; } }
.slider__dots { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 2; display: flex; justify-content: center; gap: 6px; }
.slider__dot { width: 24px; height: 24px; padding: 0; border: 0; background: transparent; position: relative; }
.slider__dot::before { content: ""; position: absolute; inset: 9px 4px; border-radius: 3px; background: rgba(255,255,255,.5); transition: background .2s, inset .2s; }
.slider__dot.is-active::before { background: var(--gold-500); inset: 9px 0; }

.notice-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; }
.notice-box__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 18px; background: var(--navy-800); }
.notice-box__head h2 { display: flex; align-items: center; gap: 8px; margin: 0; color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .03em; }
.notice-box__head h2 .icon { color: var(--gold-500); }
.notice-box__head a { color: var(--gold-500); font-size: .85rem; font-weight: 600; }
.notice-box__head a:hover { color: #fff; }
.notice-list { list-style: none; margin: 0; padding: 6px 0; flex: 1; }
.notice-list li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 18px; border-bottom: 1px dashed var(--line); }
.notice-list li:last-child { border-bottom: 0; }
.notice-list a { color: var(--ink); font-weight: 500; font-size: .93rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.notice-list a:hover { color: var(--navy-600); }
.date-chip {
	flex: none; width: 52px; text-align: center; border-radius: var(--radius-sm); overflow: hidden;
	border: 1px solid var(--gold-500); background: var(--gold-100); line-height: 1.1;
}
.date-chip b { display: block; font-size: 1.2rem; color: var(--navy-800); padding: 5px 0 2px; }
.date-chip small { display: block; font-size: .66rem; background: var(--gold-500); color: var(--navy-900); font-weight: 600; padding: 2px 0; }

/* Hero tràn màn hình */
.btn--gold { background: var(--gold-500); color: var(--navy-900); }
.btn--gold:hover { background: #fff; color: var(--navy-900); }
.btn .icon { transition: transform .2s; }
.btn:hover .icon { transform: translateX(3px); }

.hero-full { position: relative; }
.slider--full { border-radius: 0; box-shadow: none; aspect-ratio: auto; height: clamp(380px, 110vw, 520px); }
.hero-full__overlay {
	position: absolute; inset: 0; display: flex; align-items: flex-end; padding-bottom: 72px;
	background: linear-gradient(0deg, rgba(7,29,66,.92) 0%, rgba(7,29,66,.55) 50%, rgba(7,29,66,.05) 100%);
}
.hero-full__overlay .container { width: 100%; }
.hero-full__content { max-width: 640px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.hero-full__title {
	margin: 0; color: #fff; font-size: clamp(1.45rem, 5.4vw, 3.25rem); font-weight: 800; line-height: 1.18;
	text-wrap: balance; text-shadow: 0 2px 16px rgba(0,0,0,.25);
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.hero-full__subtitle { margin: 0; color: #e3eaf6; font-size: clamp(.95rem, 1.6vw, 1.2rem); max-width: 54ch; }
.hero-full .hero-slide__img { transform: scale(1.06); transition: transform 7s ease; }
.hero-full .hero-slide.is-active .hero-slide__img { transform: scale(1); }
.hero-full__content > * { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s var(--ease); }
.hero-full .hero-slide.is-active .hero-full__content > * { opacity: 1; transform: none; }
.hero-full .hero-slide.is-active .hero-full__content > :nth-child(2) { transition-delay: .12s; }
.hero-full .hero-slide.is-active .hero-full__content > :nth-child(3) { transition-delay: .24s; }
.hero-full .hero-slide.is-active .hero-full__content > :nth-child(4) { transition-delay: .36s; }
.hero-full .slider__dots { bottom: 36px; }
@media (min-width: 768px) {
	.slider--full { height: min(72vh, 680px); min-height: 460px; }
	.hero-full__overlay {
		align-items: center; padding-bottom: 40px;
		background: linear-gradient(90deg, rgba(7,29,66,.88) 0%, rgba(7,29,66,.6) 42%, rgba(7,29,66,.08) 78%);
	}
	.hero-full__content { gap: 18px; }
	.hero-full .slider__dots { bottom: 64px; justify-content: flex-start; left: max(var(--gutter), calc((100vw - var(--container)) / 2)); right: auto; }
	.hero-full .slider__nav--prev { left: 20px; }
	.hero-full .slider__nav--next { right: 20px; }
}

/* Hàng Thông báo dưới banner (nổi lên đè mép dưới ảnh) */
.notice-strip {
	position: relative; z-index: 3; margin-top: -24px;
	display: grid; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden;
}
.notice-strip__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; background: var(--navy-800); }
.notice-strip__head h2 { display: flex; align-items: center; gap: 8px; margin: 0; color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .03em; }
.notice-strip__head h2 .icon { color: var(--gold-500); }
.notice-strip__head a { display: inline-flex; align-items: center; gap: 4px; color: var(--gold-500); font-size: .85rem; font-weight: 600; }
.notice-strip__head a:hover { color: #fff; }
.notice-strip__list { list-style: none; margin: 0; padding: 0; display: grid; }
.notice-strip__list li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-bottom: 1px dashed var(--line); }
.notice-strip__list li:last-child { border-bottom: 0; }
.notice-strip__list a { color: var(--ink); font-weight: 500; font-size: .93rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.notice-strip__list a:hover { color: var(--navy-600); }
@media (min-width: 640px) {
	.notice-strip__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.notice-strip__list li { border-bottom: 1px dashed var(--line); }
	.notice-strip__list li:nth-child(odd) { border-right: 1px dashed var(--line); }
	.notice-strip__list li:nth-last-child(-n+2):nth-child(odd), .notice-strip__list li:last-child { border-bottom: 0; }
}
@media (min-width: 1024px) {
	.notice-strip { margin-top: -44px; grid-template-columns: 190px minmax(0, 1fr); }
	.notice-strip__head { flex-direction: column; align-items: flex-start; justify-content: center; padding: 20px 22px; }
	.notice-strip__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.notice-strip__list li { padding: 20px 18px; border-bottom: 0 !important; border-right: 1px dashed var(--line); }
	.notice-strip__list li:last-child { border-right: 0; }
}

/* Số liệu */
.stats { background: linear-gradient(120deg, var(--navy-800), var(--navy-600)); color: #fff; margin-top: 32px; }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.stat { text-align: center; padding: 26px 12px; }
.stat strong { display: block; font-size: 2rem; font-weight: 800; color: var(--gold-500); line-height: 1.1; }
.stat span { font-size: .9rem; color: #d7e1f3; }
@media (min-width: 768px) {
	.stats__grid { grid-template-columns: repeat(4, 1fr); }
	.stat + .stat { border-left: 1px solid rgba(255,255,255,.12); }
	.stat strong { font-size: 2.5rem; }
}

/* Thẻ bài viết */
.card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; }
.card__thumb { display: block; position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--navy-50); }
.card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card__thumb img { transform: scale(1.05); }
.card__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .8rem; color: var(--ink-mute); }
.meta-date { display: inline-flex; align-items: center; gap: 5px; font-size: .8rem; color: var(--ink-mute); }
.meta-date .icon { width: 14px; height: 14px; }
.card__title { margin: 0; font-size: 1rem; font-weight: 600; line-height: 1.45; }
.card__title a { color: var(--navy-900); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__title a:hover { color: var(--navy-600); }
.card__excerpt { margin: 0; color: var(--ink-soft); font-size: .93rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.thumb-fallback {
	position: absolute; inset: 0; display: grid; place-items: center;
	background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
}
.thumb-fallback__logo { width: auto !important; height: 46% !important; max-height: 110px; opacity: .9; object-fit: contain !important; }

.card--feature { border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: box-shadow .3s; }
.card--feature:hover { box-shadow: var(--shadow); }
.card--feature .card__body { padding: 18px 20px 22px; }
.card--feature .card__title { font-size: 1.2rem; }
@media (min-width: 768px) { .card--feature .card__title { font-size: 1.4rem; } }

.card--row { flex-direction: row; gap: 14px; align-items: flex-start; border-radius: 0; background: transparent; }
.card--row .card__thumb { flex: none; width: 120px; border-radius: var(--radius-sm); aspect-ratio: 4 / 3; }
.card--row .card__title { font-size: .95rem; }
@media (min-width: 480px) { .card--row .card__thumb { width: 150px; } }

.news-grid { display: grid; gap: 24px; }
.news-grid__side { display: flex; flex-direction: column; gap: 18px; }
.news-grid__side .card--row + .card--row { padding-top: 18px; border-top: 1px solid var(--line); }
@media (min-width: 1024px) { .news-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; } }

.card--overlay { margin-bottom: 8px; }
.card--overlay .card__thumb { aspect-ratio: 16 / 9; }
.card--overlay .card__body {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 18px 16px;
	background: linear-gradient(180deg, transparent, rgba(7,29,66,.9));
}
.card--overlay .card__title a { color: #fff; -webkit-line-clamp: 2; }
.card--overlay .card__title a:hover { color: var(--gold-500); }
.card--overlay .meta-date { color: #d7e1f3; }

.card--grid { border: 1px solid var(--line); height: 100%; transition: box-shadow .3s, transform .3s; }
.card--grid:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card--grid .card__body { padding: 14px 16px 16px; }
.card--grid .card__title { font-size: .95rem; }

.card--list { flex-direction: column; border: 1px solid var(--line); transition: box-shadow .3s; }
.card--list:hover { box-shadow: var(--shadow); }
.card--list .card__body { padding: 16px 18px 18px; }
.card--list .card__title { font-size: 1.08rem; }
@media (min-width: 640px) {
	.card--list { flex-direction: row; }
	.card--list .card__thumb { flex: none; width: 38%; max-width: 300px; aspect-ratio: auto; min-height: 180px; }
	.card--list .card__thumb img, .card--list .thumb-fallback { position: absolute; inset: 0; }
	.card--list .card__body { padding: 20px 22px; justify-content: center; }
}

.two-col, .three-col, .links-video { display: grid; gap: 36px; }
@media (min-width: 900px) {
	.two-col, .links-video { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
	.three-col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}
@media (min-width: 1024px) {
	.three-col { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}

.post-list { list-style: none; margin: 0; padding: 0; }
.post-list__item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.post-list__item:last-child { border-bottom: 0; }
.post-list__thumb { position: relative; flex: none; width: 84px; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; background: var(--navy-50); }
.post-list__thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-list__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.post-list__title { color: var(--navy-900); font-weight: 500; font-size: .93rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-list__title:hover { color: var(--navy-600); }

.doc-box { background: #fff; border-radius: var(--radius); padding: 20px 20px 8px; box-shadow: var(--shadow-sm); border-top: 4px solid var(--navy-800); }
.doc-box:nth-child(2) { border-top-color: var(--gold-500); }
.doc-box:nth-child(3) { border-top-color: var(--navy-600); }
.doc-box .section-title { font-size: 1.05rem; }
.doc-list { list-style: none; margin: 0; padding: 0; }
.doc-list li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.doc-list li:last-child { border-bottom: 0; }
.doc-list__icon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--radius-sm); background: var(--navy-50); color: var(--navy-700); }
.doc-list a { display: block; color: var(--ink); font-weight: 500; font-size: .92rem; line-height: 1.45; }
.doc-list a:hover { color: var(--navy-600); }

/* Truy cập nhanh */
.quick { padding: 8px 0 0; }
.quick__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.quick__tile {
	display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
	padding: 18px 8px; border-radius: var(--radius); background: var(--navy-50); border: 1px solid var(--navy-100);
	color: var(--navy-800); font-weight: 600; font-size: .85rem; line-height: 1.3;
	transition: background .25s, color .25s, transform .25s var(--ease), box-shadow .25s;
}
.quick__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--navy-700); box-shadow: var(--shadow-sm); transition: background .25s, color .25s; }
.quick__icon .icon { width: 26px; height: 26px; }
.quick__tile:hover { background: var(--navy-800); color: #fff; transform: translateY(-3px); box-shadow: var(--shadow); }
.quick__tile:hover .quick__icon { background: var(--gold-500); color: var(--navy-900); }
@media (min-width: 768px) { .quick__grid { grid-template-columns: repeat(6, 1fr); gap: 16px; } .quick__tile { font-size: .92rem; padding: 22px 10px; } }

.wide-banner { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.wide-banner__img { width: 100%; }

.link-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.link-tile { display: block; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); background: #fff; transition: box-shadow .25s, transform .25s; }
.link-tile img { width: 100%; height: 100%; aspect-ratio: 2 / 1; object-fit: contain; padding: 6px; }
.link-tile:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.links-video:not(:has(> .block:nth-child(2))) { grid-template-columns: 1fr; }
.links-video:not(:has(> .block:nth-child(2))) .link-grid, .container > .block > .link-grid { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .container > .block > .link-grid { grid-template-columns: repeat(4, 1fr); } }

.video-embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Trang trong ---------- */
.page-hero {
	background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
	background-image:
		radial-gradient(circle at 85% -20%, rgba(242,176,30,.25), transparent 45%),
		linear-gradient(120deg, var(--navy-900), var(--navy-700));
	color: #fff; padding: 22px 0 28px;
}
.page-hero--post { padding: 14px 0; }
.page-hero__title { color: #fff; margin: 10px 0 0; font-size: 1.5rem; }
.page-hero__desc { color: #d7e1f3; margin-top: 8px; max-width: 760px; }
.page-hero__desc p { margin: 0; }
@media (min-width: 768px) { .page-hero { padding: 28px 0 36px; } .page-hero__title { font-size: 2rem; } }

.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; font-size: .85rem; }
.breadcrumb li { display: inline-flex; align-items: center; color: #d7e1f3; }
.breadcrumb li + li::before { content: "/"; margin: 0 10px; opacity: .5; }
.breadcrumb a { color: #fff; display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb a:hover { color: var(--gold-500); }
.breadcrumb [aria-current] { color: var(--gold-500); max-width: 60ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.chips { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; font-size: .86rem; border: 1px solid rgba(255,255,255,.18); }
.chips a span { background: var(--gold-500); color: var(--navy-900); border-radius: 999px; font-size: .72rem; font-weight: 700; padding: 0 7px; }
.chips a:hover { background: #fff; color: var(--navy-800); }

.layout { display: grid; gap: 40px; padding-top: 32px; padding-bottom: 56px; }
@media (min-width: 1024px) {
	.layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; padding-top: 40px; }
	.layout__side { position: sticky; top: 72px; align-self: start; }
}
.list { display: grid; gap: 20px; }

.search-again { margin-bottom: 24px; }
.empty-state { text-align: center; padding: 48px 16px; background: var(--bg-soft); border-radius: var(--radius); color: var(--ink-soft); }
.empty-state .icon { width: 48px; height: 48px; color: var(--navy-600); margin-bottom: 8px; }

.pagination { margin-top: 32px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.pagination .page-numbers {
	display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px;
	border-radius: var(--radius-sm); border: 1px solid var(--line); color: var(--navy-800); font-weight: 600;
}
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.pagination .dots { border: 0; }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 24px; }
.widget { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.widget-title {
	font-size: 1rem; text-transform: uppercase; letter-spacing: .03em; color: var(--navy-800);
	margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); position: relative;
}
.widget-title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 48px; height: 3px; background: var(--gold-500); border-radius: 3px; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.cat-list li { font-size: .93rem; }
.cat-list > li { border-bottom: 1px solid var(--line); }
.cat-list > li:last-child { border-bottom: 0; }
.cat-list a { display: inline-block; padding: 9px 0; color: var(--ink); font-weight: 500; }
.cat-list a:hover, .cat-list .current-cat > a { color: var(--navy-600); }
.cat-list .children { padding: 0 0 8px 14px; }
.cat-list .children a { padding: 4px 0; font-weight: 400; color: var(--ink-soft); }
.cat-list .children a::before { content: "›"; margin-right: 8px; color: var(--gold-600); }
.widget .wp-block-heading, .widget h2:not(.widget-title) { font-size: 1rem; text-transform: uppercase; color: var(--navy-800); margin: 0 0 10px; }
.widget .wp-block-latest-posts li, .widget_recent_entries li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .93rem; line-height: 1.45; }
.widget .wp-block-latest-posts li:last-child, .widget_recent_entries li:last-child { border-bottom: 0; }
.widget .wp-block-latest-posts a, .widget_recent_entries a { color: var(--ink); font-weight: 500; }
.side-links { display: grid; gap: 10px; }
.side-links a { display: block; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); }

/* Bài viết */
.entry__header { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.entry__title { font-size: 1.5rem; margin: 12px 0 0; line-height: 1.35; }
.entry__lead { margin: 14px 0 0; font-size: 1.05rem; font-weight: 500; color: var(--ink-soft); }
@media (min-width: 768px) { .entry__title { font-size: 2.1rem; } }
.entry__cover { margin: 0 0 24px; border-radius: var(--radius); overflow: hidden; }
.entry__footer { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags a { font-size: .82rem; padding: 4px 12px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-soft); }
.share { display: flex; align-items: center; gap: 8px; }
.share__label { font-size: .88rem; font-weight: 600; color: var(--ink-soft); }
.share__btn {
	position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
	border: 1px solid var(--line); background: #fff; color: var(--navy-800);
}
.share__btn:hover { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.share__btn--fb:hover { background: #1877f2; border-color: #1877f2; }
.share__copied { position: absolute; bottom: calc(100% + 6px); right: 0; white-space: nowrap; background: var(--navy-900); color: #fff; font-size: .75rem; padding: 4px 8px; border-radius: 6px; }

.post-nav { display: grid; gap: 12px; margin-top: 28px; }
@media (min-width: 640px) { .post-nav { grid-template-columns: 1fr 1fr; } }
.post-nav__link { display: flex; flex-direction: column; gap: 4px; padding: 14px 18px; border-radius: var(--radius); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.post-nav__link:hover { border-color: var(--navy-600); box-shadow: var(--shadow-sm); }
.post-nav__link small { display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; color: var(--ink-mute); text-transform: uppercase; font-weight: 600; letter-spacing: .03em; }
.post-nav__link span { color: var(--navy-900); font-weight: 600; font-size: .95rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-nav__link--next { text-align: right; align-items: flex-end; grid-column: -2; }

.related { margin-top: 40px; }
.related__grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .related__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.child-pages { display: grid; gap: 10px; margin-top: 32px; }
@media (min-width: 640px) { .child-pages { grid-template-columns: repeat(2, 1fr); } }
.child-pages a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-radius: var(--radius); background: var(--navy-50); color: var(--navy-800); font-weight: 600; }
.child-pages a:hover { background: var(--navy-800); color: #fff; }

/* Nội dung soạn thảo */
.entry-content { font-size: 1.04rem; line-height: 1.8; overflow-wrap: break-word; }
.entry-content > * { margin-top: 0; margin-bottom: 1.1em; }
.entry-content h2 { font-size: 1.45rem; margin-top: 1.6em; }
.entry-content h3 { font-size: 1.25rem; margin-top: 1.4em; }
.entry-content h4 { font-size: 1.1rem; margin-top: 1.3em; }
.entry-content a { color: var(--navy-600); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(28,79,156,.35); }
.entry-content a:hover { color: var(--gold-600); text-decoration-color: currentColor; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li { margin-bottom: .35em; }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content blockquote { margin-left: 0; margin-right: 0; padding: 14px 20px; border-left: 4px solid var(--gold-500); background: var(--gold-100); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-style: italic; }
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.entry-content figure { margin-left: 0; margin-right: 0; max-width: 100%; }
.entry-content figcaption, .wp-caption-text { font-size: .85rem; color: var(--ink-mute); text-align: center; margin-top: 6px; }
.wp-caption { max-width: 100% !important; }
.alignleft { float: left; margin: .3em 1.4em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.4em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
@media (max-width: 599px) { .alignleft, .alignright { float: none; margin: 0 auto 1em; } }
.entry-content::after { content: ""; display: table; clear: both; }

/* Bảng: cuộn ngang trên điện thoại */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 1.2em; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .93rem; line-height: 1.5; }
.table-scroll table { margin: 0; min-width: 560px; }
.entry-content th, .entry-content td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry-content thead th, .entry-content tr:first-child th { background: var(--navy-800); color: #fff; font-weight: 600; }
.entry-content tbody tr:nth-child(even) td { background: var(--bg-soft); }
.entry-content .ninja_table_wrapper table td, .entry-content .ninja_table_wrapper table th { border-color: var(--line); }

/* Nhúng PDF / video co giãn theo màn hình */
.entry-content iframe { max-width: 100%; border: 0; }
.entry-content iframe[src*="youtube"], .entry-content iframe[src*="youtu.be"], .entry-content iframe[src*="facebook.com/plugins/video"] { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.wp-block-embed__wrapper { position: relative; }

.pdf-embed { margin: 0 0 1.4em; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.pdf-embed__frame { display: none; background: var(--bg-soft); }
.pdf-embed__frame iframe { display: block; width: 100%; height: 80vh; min-height: 520px; border: 0; }
.pdf-embed__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; justify-content: space-between; padding: 14px 16px; margin: 0; text-align: left; background: var(--navy-50); font-size: .9rem; color: var(--ink); }
.pdf-embed__name { display: flex; align-items: center; gap: 10px; min-width: 0; font-weight: 600; color: var(--navy-800); }
.pdf-embed__name .icon { width: 28px; height: 28px; color: var(--red-600); }
.pdf-embed__name span { overflow-wrap: anywhere; }
.pdf-embed__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.entry-content .pdf-embed__btn { display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 999px; background: var(--navy-800); color: #fff; font-weight: 600; text-decoration: none; font-size: .86rem; }
.entry-content .pdf-embed__btn:hover { background: var(--gold-500); color: var(--navy-900); }
.entry-content .pdf-embed__btn--alt { background: #fff; color: var(--navy-800); border: 1px solid var(--navy-100); }
@media (min-width: 768px) {
	.pdf-embed__frame { display: block; }
	.pdf-embed__bar { border-top: 1px solid var(--line); }
	.pdf-embed--card .pdf-embed__bar { border-top: 0; }
}

/* Khối của trình soạn thảo khối */
.entry-content .wp-block-button__link { background: var(--navy-800); color: #fff; border-radius: 999px; padding: 10px 22px; font-weight: 600; text-decoration: none; }
.entry-content .wp-block-button__link:hover { background: var(--gold-500); color: var(--navy-900); }
.entry-content .is-style-outline .wp-block-button__link { background: transparent; color: var(--navy-800); border: 2px solid currentColor; }
.entry-content .wp-block-gallery { gap: 8px; }
.entry-content .wp-block-gallery img { border-radius: var(--radius-sm); }
.entry-content .wp-block-table { overflow-x: auto; }
.entry-content .wp-block-table table { min-width: 520px; }
.entry-content .wp-block-separator { border: 0; border-top: 2px solid var(--line); margin: 2em auto; }
.entry-content .wp-block-quote { border-left: 4px solid var(--gold-500); background: var(--gold-100); padding: 14px 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.entry-content .wp-block-embed { margin-left: 0; margin-right: 0; }
.entry-content .wp-block-video video { width: 100%; border-radius: var(--radius-sm); }

/* Liên hệ */
.contact { display: grid; gap: 24px; }
@media (min-width: 900px) { .contact { grid-template-columns: 5fr 7fr; gap: 32px; } }
.contact__info { background: var(--navy-800); color: #d7e1f3; border-radius: var(--radius); padding: 28px; }
.contact__info h2 { color: #fff; font-size: 1.3rem; text-transform: uppercase; }
.contact__info .entry-content { color: #fff; font-size: .95rem; margin-top: 20px; }
.contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; }
.contact__list small { display: block; font-size: .78rem; color: var(--gold-500); text-transform: uppercase; font-weight: 600; letter-spacing: .03em; }
.contact__list a { color: #fff; }
.contact__list a:hover { color: var(--gold-500); }
.contact__icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.1); color: var(--gold-500); }
.contact__map { border-radius: var(--radius); overflow: hidden; min-height: 360px; box-shadow: var(--shadow-sm); }
.contact__map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* 404 */
.not-found { max-width: 560px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.not-found__code { font-size: 6rem; font-weight: 800; line-height: 1; margin: 0; background: linear-gradient(135deg, var(--navy-800), var(--gold-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.not-found h1 { margin: 0; }
.not-found p { color: var(--ink-soft); margin: 0; }

/* ---------- Chân trang ---------- */
.site-footer { background: var(--navy-900); color: #b8c6de; font-size: .93rem; border-top: 4px solid var(--gold-500); }
.site-footer a { color: #d7e1f3; }
.site-footer a:hover { color: var(--gold-500); }
.site-footer__grid { display: grid; gap: 32px; padding-top: 44px; padding-bottom: 36px; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .footer-col--about { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-top: 56px; } .footer-col--about { grid-column: auto; } }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand__logo { width: auto; height: 64px; }
.footer-brand small { display: block; font-size: .75rem; text-transform: uppercase; color: #b8c6de; letter-spacing: .03em; }
.footer-brand strong { display: block; color: #fff; font-size: 1.15rem; text-transform: uppercase; line-height: 1.3; }
.footer-contact { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--gold-500); margin-top: 3px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); }
.footer-social a:hover { background: var(--gold-500); color: var(--navy-900); }
.footer-title { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .04em; margin: 0 0 16px; position: relative; padding-bottom: 10px; }
.footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; background: var(--gold-500); border-radius: 3px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-links a { display: inline-block; padding: 4px 0; }
.footer-links a::before { content: "›"; margin-right: 8px; color: var(--gold-500); }
.footer-links .children { display: none; }
.footer-map { display: block; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 3; background: rgba(255,255,255,.06); }
.footer-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.footer-map-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: .88rem; font-weight: 600; }
.footer-map-link .icon { color: var(--gold-500); }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 16px 0; font-size: .84rem; text-align: center; }
.site-footer__bottom p { margin: 0; }

.to-top {
	position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 46px; height: 46px; border-radius: 50%; border: 0;
	display: grid; place-items: center; background: var(--gold-500); color: var(--navy-900); box-shadow: var(--shadow);
	transition: transform .2s, background .2s;
}
.to-top[hidden] { display: none; }
.to-top:hover { transform: translateY(-3px); background: #fff; }

/* ---------- Giảm chuyển động ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.ticker__track { animation: none; }
	.ticker__viewport { overflow-x: auto; }
}

/* ---------- In ấn ---------- */
@media print {
	.topbar, .nav-bar, .ticker, .site-header__actions, .sidebar, .share, .post-nav, .related, .site-footer, .to-top, .breadcrumb { display: none !important; }
	.page-hero { background: none; color: #000; padding: 0; }
	.layout { display: block; padding: 0; }
	body { font-size: 12pt; }
}
