:root {
	--ink: #0f172a;
	--muted: #64748b;
	--line: #e2e8f0;
	--surface: #ffffff;
	--soft: #f8fafc;
	--accent: #2563eb;
	--accent-dark: #1d4ed8;
	--dark: #0b1220;
	--radius: 18px;
	--container: 1180px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--ink);
	background: var(--surface);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration-thickness: .08em;
	text-underline-offset: .16em;
}

a:hover {
	color: var(--accent);
}

button,
input,
textarea,
select {
	font: inherit;
}

button {
	cursor: pointer;
}

.container {
	width: min(calc(100% - 40px), var(--container));
	margin-inline: auto;
}

.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:focus {
	position: fixed !important;
	z-index: 9999;
	top: 12px;
	left: 12px;
	width: auto;
	height: auto;
	padding: 10px 14px;
	margin: 0;
	clip: auto;
	background: var(--dark);
	color: #fff;
	border-radius: 8px;
}

.site-header {
	position: relative;
	z-index: 20;
	background: rgba(255,255,255,.96);
	border-bottom: 1px solid var(--line);
}

.topbar {
	min-height: 76px;
}

.topbar-inner {
	display: flex;
	align-items: center;
	gap: 28px;
	min-height: 76px;
}

.site-branding {
	margin-right: auto;
}

.custom-logo-link,
.brand-mark {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	text-decoration: none;
}

.custom-logo {
	max-height: 50px;
	width: auto;
}

.brand-mark:hover,
.footer-logo:hover {
	color: inherit;
}

.brand-icon {
	display: inline-grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: var(--ink);
	color: #fff;
	font-weight: 900;
	letter-spacing: -.04em;
}

.brand-text {
	display: grid;
	line-height: 1.2;
}

.brand-text strong {
	font-size: 19px;
	letter-spacing: -.03em;
}

.brand-text small {
	margin-top: 3px;
	color: var(--muted);
	font-size: 11px;
	font-weight: 600;
}

.main-navigation ul {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.main-navigation a {
	display: block;
	padding: 8px 0;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.header-actions {
	display: flex;
	align-items: center;
}

.search-toggle,
.menu-toggle {
	border: 0;
	background: transparent;
	color: var(--ink);
}

.search-toggle {
	font-size: 27px;
	line-height: 1;
	padding: 8px;
}

.menu-toggle {
	display: none;
	align-items: center;
	gap: 8px;
	padding: 8px 0 8px 8px;
	font-size: 14px;
	font-weight: 700;
}

.search-panel {
	border-top: 1px solid var(--line);
	background: var(--soft);
	padding: 18px 0;
}

.search-form {
	display: flex;
	gap: 10px;
}

.search-label {
	flex: 1;
}

.search-field {
	width: 100%;
	min-height: 48px;
	padding: 10px 14px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: #fff;
	color: var(--ink);
	outline: none;
}

.search-field:focus {
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 9px 17px;
	border-radius: 10px;
	border: 1px solid transparent;
	text-decoration: none;
	font-weight: 800;
}

.button-primary {
	background: var(--accent);
	color: #fff;
}

.button-primary:hover {
	background: var(--accent-dark);
	color: #fff;
}

.site-main {
	min-height: 60vh;
}

.hero-section {
	padding: 38px 0 52px;
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(340px, .8fr);
	gap: 24px;
}

.hero-card {
	position: relative;
	display: block;
	min-height: 530px;
	overflow: hidden;
	border-radius: 24px;
	background: var(--dark);
	color: #fff;
	text-decoration: none;
}

.hero-media,
.hero-media img {
	width: 100%;
	height: 100%;
}

.hero-media img {
	object-fit: cover;
	opacity: .9;
	transition: transform .45s ease;
}

.hero-card:hover {
	color: #fff;
}

.hero-card:hover .hero-media img {
	transform: scale(1.025);
}

.hero-overlay {
	position: absolute;
	inset: auto 0 0;
	padding: 90px 38px 34px;
	background: linear-gradient(to top, rgba(3,7,18,.92), rgba(3,7,18,.02));
}

.hero-overlay h1 {
	max-width: 800px;
	margin: 10px 0 10px;
	font-size: clamp(30px, 4vw, 52px);
	line-height: 1.08;
	letter-spacing: -.045em;
}

.post-category {
	display: inline-block;
	color: var(--accent);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .07em;
	text-transform: uppercase;
	text-decoration: none;
}

.hero-overlay .post-category {
	color: #bfdbfe;
}

.post-meta {
	color: var(--muted);
	font-size: 12px;
	font-weight: 600;
}

.hero-overlay .post-meta {
	color: rgba(255,255,255,.72);
}

.hero-list {
	display: grid;
	align-content: start;
	gap: 0;
	border-top: 1px solid var(--line);
}

.mini-story {
	display: grid;
	grid-template-columns: 112px 1fr;
	gap: 16px;
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
}

.mini-thumb {
	overflow: hidden;
	aspect-ratio: 4/3;
	border-radius: 10px;
	background: var(--soft);
}

.mini-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mini-story h2 {
	margin: 4px 0 5px;
	font-size: 17px;
	line-height: 1.25;
	letter-spacing: -.02em;
}

.section-block {
	padding: 66px 0;
}

.section-muted {
	background: var(--soft);
	border-block: 1px solid var(--line);
}

.section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 26px;
}

.section-heading h2,
.archive-header h1 {
	margin: 0;
	font-size: clamp(28px, 3vw, 40px);
	line-height: 1.15;
	letter-spacing: -.04em;
}

.eyebrow {
	margin: 0 0 7px;
	color: var(--accent);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.text-link {
	color: var(--accent);
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
}

.topic-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.topic-card {
	display: grid;
	gap: 7px;
	padding: 20px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: #fff;
	text-decoration: none;
	transition: transform .2s ease, border-color .2s ease;
}

.topic-card:hover {
	color: var(--ink);
	border-color: #bfdbfe;
	transform: translateY(-2px);
}

.topic-card strong {
	font-size: 19px;
	letter-spacing: -.025em;
}

.topic-card span:last-child {
	color: var(--muted);
	font-size: 12px;
	font-weight: 700;
}

.topic-number {
	color: var(--accent);
	font-size: 12px;
	font-weight: 900;
}

.post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.post-card {
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
}

.post-card-media {
	display: block;
	aspect-ratio: 1.6 / 1;
	overflow: hidden;
	background: var(--soft);
	text-decoration: none;
}

.post-image,
.post-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.post-card-media img {
	transition: transform .35s ease;
}

.post-card:hover .post-card-media img {
	transform: scale(1.025);
}

.image-placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	min-height: 180px;
	background: var(--dark);
	color: #fff;
	font-size: 46px;
	font-weight: 900;
}

.post-card-body {
	padding: 20px;
}

.post-card-title {
	margin: 7px 0 8px;
	font-size: 20px;
	line-height: 1.25;
	letter-spacing: -.03em;
}

.post-card-title a {
	text-decoration: none;
}

.post-card-excerpt {
	margin: 0 0 13px;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.6;
}

.content-with-sidebar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 54px;
	padding-top: 50px;
	padding-bottom: 70px;
}

.archive-header {
	max-width: 780px;
	margin-bottom: 30px;
}

.archive-header > p:not(.eyebrow),
.archive-description {
	margin: 12px 0 0;
	color: var(--muted);
}

.site-sidebar {
	min-width: 0;
}

.widget {
	margin-bottom: 28px;
	padding-bottom: 28px;
	border-bottom: 1px solid var(--line);
}

.widget-title {
	margin: 0 0 14px;
	font-size: 17px;
	letter-spacing: -.02em;
}

.widget ul {
	margin: 0;
	padding-left: 18px;
}

.widget-post-list {
	display: grid;
	gap: 13px;
	padding: 0 !important;
	margin: 0;
	list-style: none;
}

.widget-post-list li {
	display: grid;
	gap: 3px;
}

.widget-post-list a {
	font-weight: 750;
	line-height: 1.35;
	text-decoration: none;
}

.widget-post-list time {
	color: var(--muted);
	font-size: 11px;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: 34px;
	padding: 0;
	list-style: none;
}

.nav-links .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	border: 1px solid var(--line);
	border-radius: 9px;
	text-decoration: none;
	font-size: 13px;
	font-weight: 800;
}

.nav-links .current {
	border-color: var(--accent);
	background: var(--accent);
	color: #fff;
}

.article-layout {
	display: grid;
	grid-template-columns: minmax(0, 820px) 260px;
	gap: 70px;
	justify-content: center;
	padding-top: 56px;
	padding-bottom: 70px;
}

.article-header h1 {
	margin: 8px 0 16px;
	font-size: clamp(36px, 5vw, 62px);
	line-height: 1.05;
	letter-spacing: -.05em;
}

.article-kicker .post-category {
	font-size: 12px;
}

.article-excerpt {
	margin: 0 0 16px;
	color: var(--muted);
	font-size: 18px;
	line-height: 1.6;
}

.post-meta-large {
	font-size: 13px;
}

.article-featured {
	margin: 36px 0;
}

.article-featured img {
	width: 100%;
	border-radius: 18px;
}

.article-featured figcaption {
	margin-top: 8px;
	color: var(--muted);
	font-size: 12px;
}

.entry-content {
	font-size: 18px;
	line-height: 1.85;
}

.entry-content > * {
	max-width: 100%;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin-top: 1.8em;
	line-height: 1.25;
	letter-spacing: -.03em;
}

.entry-content h2 {
	font-size: 30px;
}

.entry-content h3 {
	font-size: 24px;
}

.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content blockquote,
.entry-content pre,
.entry-content figure {
	margin-bottom: 1.25em;
}

.entry-content blockquote {
	margin-inline: 0;
	padding: 18px 22px;
	border-left: 4px solid var(--accent);
	background: var(--soft);
	font-size: 20px;
}

.entry-content code {
	padding: .15em .35em;
	border-radius: 5px;
	background: var(--soft);
}

.entry-content pre {
	overflow-x: auto;
	padding: 18px;
	border-radius: 12px;
	background: var(--dark);
	color: #e2e8f0;
	font-size: 14px;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.entry-content th,
.entry-content td {
	padding: 9px 10px;
	border: 1px solid var(--line);
	text-align: left;
}

.tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 36px;
}

.tag-list a {
	padding: 6px 10px;
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--muted);
	font-size: 12px;
	text-decoration: none;
}

.related-section {
	padding: 60px 0 75px;
	background: var(--soft);
	border-top: 1px solid var(--line);
}

.empty-state {
	padding: 60px 30px;
	border: 1px dashed #cbd5e1;
	border-radius: 18px;
	background: var(--soft);
	text-align: center;
}

.empty-state h1,
.empty-state h2 {
	margin: 0 0 8px;
	letter-spacing: -.04em;
}

.empty-state p {
	color: var(--muted);
}

.error-404 {
	margin: 80px auto;
	max-width: 720px;
}

.error-404 .search-form {
	max-width: 600px;
	margin: 20px auto 0;
}

.site-footer {
	background: var(--dark);
	color: #cbd5e1;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr repeat(3, 1fr);
	gap: 35px;
	padding: 58px 0 46px;
}

.footer-brand p {
	max-width: 390px;
	color: #94a3b8;
	font-size: 14px;
}

.footer-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #fff;
	text-decoration: none;
}

.footer-logo .brand-icon {
	background: #fff;
	color: var(--dark);
}

.site-footer .widget {
	border-bottom: 0;
	margin: 0;
	padding: 0;
}

.site-footer .widget-title {
	color: #fff;
}

.site-footer .widget ul {
	color: #94a3b8;
}

.site-footer a {
	color: #cbd5e1;
}

.site-footer a:hover {
	color: #fff;
}

.footer-bottom {
	border-top: 1px solid rgba(148,163,184,.18);
}

.footer-bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 68px;
	font-size: 12px;
}

.footer-bottom-inner p {
	margin: 0;
	color: #64748b;
}

.footer-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-menu a {
	text-decoration: none;
}

.comments-area {
	margin-top: 55px;
	padding-top: 35px;
	border-top: 1px solid var(--line);
}

.comments-title {
	font-size: 24px;
	letter-spacing: -.03em;
}

.comment-list {
	padding: 0;
	list-style: none;
}

.comment-list .comment {
	padding: 18px 0;
	border-bottom: 1px solid var(--line);
}

.comment-meta {
	font-size: 12px;
	color: var(--muted);
}

.comment-content {
	font-size: 15px;
}

.comment-respond {
	margin-top: 35px;
}

.comment-form input,
.comment-form textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--line);
	border-radius: 9px;
}

.comment-form textarea {
	min-height: 150px;
	resize: vertical;
}

.comment-form label {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 700;
}

.comment-form .form-submit {
	margin-bottom: 0;
}

@media (max-width: 980px) {
	.main-navigation ul {
		gap: 16px;
	}

	.hero-grid,
	.article-layout {
		grid-template-columns: 1fr;
	}

	.hero-card {
		min-height: 460px;
	}

	.article-sidebar {
		display: none;
	}

	.content-with-sidebar {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.site-sidebar {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 28px;
	}
}

@media (max-width: 760px) {
	.container {
		width: min(calc(100% - 28px), var(--container));
	}

	.topbar-inner {
		gap: 14px;
	}

	.menu-toggle {
		display: inline-flex;
	}

	.main-navigation {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		padding: 10px 14px 16px;
		border-top: 1px solid var(--line);
		background: #fff;
		box-shadow: 0 12px 25px rgba(15,23,42,.08);
	}

	.main-navigation.is-open {
		display: block;
	}

	.main-navigation ul {
		display: grid;
		gap: 0;
	}

	.main-navigation a {
		padding: 12px 0;
		border-bottom: 1px solid var(--line);
	}

	.brand-text small {
		display: none;
	}

	.hero-section {
		padding-top: 20px;
	}

	.hero-card {
		min-height: 390px;
		border-radius: 18px;
	}

	.hero-overlay {
		padding: 70px 20px 22px;
	}

	.hero-overlay h1 {
		font-size: 32px;
	}

	.hero-list {
		display: none;
	}

	.section-block {
		padding: 48px 0;
	}

	.topic-grid,
	.post-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.post-card-title {
		font-size: 19px;
	}

	.site-sidebar {
		grid-template-columns: 1fr;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		padding: 45px 0 30px;
		gap: 25px;
	}

	.footer-bottom-inner {
		align-items: flex-start;
		flex-direction: column;
		padding: 18px 0;
	}

	.article-layout,
	.content-with-sidebar {
		padding-top: 35px;
		padding-bottom: 50px;
	}

	.article-header h1 {
		font-size: 39px;
	}

	.article-excerpt {
		font-size: 16px;
	}

	.entry-content {
		font-size: 17px;
	}

	.search-form {
		flex-direction: column;
	}

	.search-submit {
		width: 100%;
	}
}

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

	*,
	*::before,
	*::after {
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
	}
}

:focus-visible {
	outline: 3px solid rgba(37,99,235,.45);
	outline-offset: 3px;
}


/* Tiền Số Hoá 2.0 enhancements */
.breaking-bar {
	background: var(--dark);
	color: #cbd5e1;
	font-size: 12px;
	font-weight: 700;
}
.breaking-inner {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 34px;
}
.breaking-label {
	display: inline-flex;
	align-items: center;
	min-height: 20px;
	padding: 0 7px;
	border-radius: 5px;
	background: #fff;
	color: var(--dark);
	font-size: 10px;
	font-weight: 900;
	letter-spacing: .08em;
}
.breaking-text {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.hero-heading-row {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(280px, .55fr);
	gap: 60px;
	align-items: end;
	margin-bottom: 25px;
}
.hero-heading-row h1 {
	max-width: 850px;
	margin: 0;
	font-size: clamp(32px, 4vw, 52px);
	line-height: 1.05;
	letter-spacing: -.05em;
}
.hero-intro {
	max-width: 400px;
	margin: 0;
	color: var(--muted);
	font-size: 15px;
}
.topic-grid-large {
	grid-template-columns: repeat(4, 1fr);
}
.post-card-kicker {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 11px;
	font-weight: 800;
}
.post-card-kicker .post-category {
	font-size: 11px;
}
.split-section {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(280px, .65fr);
	gap: 60px;
	align-items: start;
}
.section-heading.compact {
	margin-bottom: 16px;
}
.guide-list {
	border-top: 1px solid var(--line);
}
.guide-item {
	display: grid;
	grid-template-columns: 130px 1fr;
	gap: 16px;
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
}
.guide-thumb {
	display: block;
	aspect-ratio: 1.35 / 1;
	overflow: hidden;
	border-radius: 10px;
	background: var(--soft);
}
.guide-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.guide-item h3 {
	margin: 4px 0 5px;
	font-size: 18px;
	line-height: 1.3;
	letter-spacing: -.025em;
}
.guide-item h3 a {
	text-decoration: none;
}
.newsletter-card {
	padding: 30px;
	border-radius: 18px;
	background: var(--dark);
	color: #fff;
}
.newsletter-card h2 {
	margin: 5px 0 10px;
	font-size: 28px;
	line-height: 1.15;
	letter-spacing: -.04em;
}
.newsletter-card p:not(.eyebrow) {
	color: #94a3b8;
	font-size: 14px;
}
.newsletter-card .eyebrow {
	color: #93c5fd;
}
.newsletter-card .widget {
	margin: 20px 0 0;
	padding: 0;
	border: 0;
}
.breadcrumbs {
	margin-bottom: 24px;
	color: var(--muted);
	font-size: 12px;
}
.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.breadcrumbs li:not(:last-child)::after {
	content: "/";
	margin-left: 8px;
	color: #cbd5e1;
}
.breadcrumbs a {
	text-decoration: none;
}
.article-toc-hint {
	position: sticky;
	top: 30px;
	padding: 18px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--soft);
}
.article-toc-hint strong {
	display: block;
	font-size: 17px;
}
.share-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 9px;
	margin-top: 24px;
	font-size: 13px;
	font-weight: 700;
}
.share-row > span {
	color: var(--muted);
}
.share-row a {
	padding: 6px 10px;
	border: 1px solid var(--line);
	border-radius: 999px;
	text-decoration: none;
	font-size: 12px;
}
.author-box {
	display: grid;
	grid-template-columns: 72px 1fr;
	gap: 18px;
	margin-top: 32px;
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: var(--soft);
}
.author-box .avatar {
	border-radius: 50%;
}
.author-box h2 {
	margin: 0;
	font-size: 19px;
}
.author-box p {
	margin: 5px 0 0;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.55;
}
@media (max-width: 980px) {
	.hero-heading-row,
	.split-section {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	.topic-grid-large {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 760px) {
	.breaking-inner {
		min-height: 32px;
	}
	.hero-heading-row h1 {
		font-size: 34px;
	}
	.topic-grid-large {
		grid-template-columns: 1fr 1fr;
	}
	.guide-item {
		grid-template-columns: 105px 1fr;
		gap: 12px;
	}
	.author-box {
		grid-template-columns: 1fr;
	}
}
