/**
 * VT Site design system — brand Việt Tiệp (Vinmec-like structure, not Vinmec green).
 */

:root {
	--vt-primary: #0750c1;
	--vt-primary-dark: #063b8d;
	--vt-primary-soft: #eaf2ff;
	--vt-accent: #ffd33d;
	--vt-ink: #0f172a;
	--vt-muted: #5b6b82;
	--vt-line: #dbe7f7;
	--vt-bg: #f5f8ff;
	--vt-card: #ffffff;
	--vt-radius-lg: 28px;
	--vt-radius-md: 20px;
	--vt-radius-sm: 14px;
	--vt-shadow: 0 24px 70px rgba(7, 80, 193, 0.14);
	--vt-font: "Be Vietnam Pro", "Segoe UI", sans-serif;
	--vt-container: 1180px;
}

body {
	color: var(--vt-ink);
}

.vt-container {
	margin: 0 auto;
	max-width: var(--vt-container);
	padding: 0 20px;
	width: 100%;
}

.vt-section {
	padding: 56px 0;
}

.vt-section--soft {
	background: var(--vt-bg);
}

.vt-section__eyebrow {
	color: var(--vt-primary);
	font-size: 0.85rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	margin: 0 0 8px;
	text-transform: uppercase;
}

.vt-section__title {
	font-size: clamp(1.6rem, 3vw, 2.4rem);
	letter-spacing: -0.03em;
	line-height: 1.15;
	margin: 0 0 10px;
}

.vt-section__lead {
	color: var(--vt-muted);
	font-size: 1.05rem;
	margin: 0 0 28px;
	max-width: 42rem;
}

.vt-btn {
	align-items: center;
	background: var(--vt-primary);
	border: 0;
	border-radius: 999px;
	color: #ffffff;
	display: inline-flex;
	font-weight: 800;
	gap: 8px;
	justify-content: center;
	min-height: 48px;
	padding: 12px 22px;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vt-btn:hover {
	box-shadow: 0 14px 30px rgba(7, 80, 193, 0.28);
	color: #ffffff;
	transform: translateY(-1px);
}

.vt-btn--accent {
	background: var(--vt-accent);
	color: var(--vt-primary-dark);
}

.vt-btn--accent:hover {
	color: var(--vt-primary-dark);
}

.vt-btn--ghost {
	background: transparent;
	border: 1px solid rgba(7, 80, 193, 0.28);
	color: var(--vt-primary);
}

.vt-btn--ghost:hover {
	background: var(--vt-primary-soft);
	color: var(--vt-primary-dark);
}

/* Posts / knowledge cards */
.vt-posts-grid {
	display: grid;
	gap: 22px;
	grid-template-columns: 1fr;
}

.vt-post-card {
	background: var(--vt-card);
	border: 1px solid var(--vt-line);
	border-radius: var(--vt-radius-md);
	box-shadow: 0 16px 40px rgba(7, 80, 193, 0.08);
	overflow: hidden;
	transition: transform 0.2s ease;
}

.vt-post-card:hover {
	transform: translateY(-3px);
}

.vt-post-card__media {
	aspect-ratio: 16 / 10;
	background: #dbeafe;
	display: block;
	overflow: hidden;
}

.vt-post-card__media img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.vt-post-card__body {
	padding: 18px;
}

.vt-post-card__date {
	color: var(--vt-muted);
	font-size: 0.85rem;
	margin: 0 0 8px;
}

.vt-post-card__title {
	font-size: 1.15rem;
	line-height: 1.3;
	margin: 0;
}

.vt-post-card__title a {
	color: inherit;
	text-decoration: none;
}

.vt-post-card__title a:hover {
	color: var(--vt-primary);
}

/* Footer */
.vt-site-footer {
	background: linear-gradient(180deg, var(--vt-primary-dark) 0%, #041f4d 100%);
	color: rgba(255, 255, 255, 0.9);
	padding: 56px 0 28px;
}

.vt-site-footer a {
	color: rgba(255, 255, 255, 0.88);
	text-decoration: none;
}

.vt-site-footer a:hover {
	color: var(--vt-accent);
}

.vt-site-footer__grid {
	display: grid;
	gap: 28px;
	grid-template-columns: 1fr;
	margin-bottom: 36px;
}

.vt-site-footer__brand-name {
	font-size: 1.15rem;
	font-weight: 800;
	margin: 0 0 10px;
}

.vt-site-footer__brand-text {
	color: rgba(255, 255, 255, 0.72);
	line-height: 1.55;
	margin: 0;
}

.vt-site-footer__heading {
	font-size: 0.95rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	margin: 0 0 14px;
	text-transform: uppercase;
}

.vt-site-footer__list {
	display: grid;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.vt-site-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	color: rgba(255, 255, 255, 0.65);
	font-size: 0.9rem;
	padding-top: 18px;
}

@media (min-width: 768px) {
	.vt-posts-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.vt-site-footer__grid {
		grid-template-columns: 1.4fr 1fr 1fr;
	}
}

@media (min-width: 1024px) {
	.vt-section {
		padding: 72px 0;
	}

	.vt-posts-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.vt-site-footer__grid {
		grid-template-columns: 1.6fr 1fr 1.2fr;
	}
}
