body {
	font-family: var(--font-base);
	background: #fff;
	color: var(--c-text);
}

.lb-overlay[hidden] {
	display: none;
}

.vital-page {
	background: #fff;
}

.vital-page .container {
	max-width: var(--container);
}

.vital-page a {
	text-decoration: none;
}

.page-template-page-blank #content,
.single-vital_program #content,
.single-vital_knowledge #content,
.single-vital_news #content {
	padding: 0;
}

.page-template-page-blank .entry-content,
.page-template-page-blank .entry-content > p {
	margin: 0;
}

.header-wrapper,
.header-main {
	background: #fff;
}

.header-top,
.header-search,
.element-error,
.top-divider,
.footer-primary .footer-nav {
	display: none !important;
}

.header-main {
	border-bottom: none;
}

/* Login/CTA area in Header Main (right of logo): VI/EN toggle (native "HTML"
   element) + "Button 1"/"Button 2" (native Header Builder button elements). */
.header-main .header-nav-main,
.header-main .header-nav-main > li,
.header-main .header-button,
.header-main .header-divider {
	background: transparent !important;
}

.header-main .header-nav-main > li.html {
	display: flex;
	align-items: center;
}

.header-main .lang-toggle {
	margin-right: 4px;
}

.header-button .button {
	text-transform: none;
	letter-spacing: normal;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	min-height: 0;
	padding: 9px 18px;
	margin: 0;
}

.header-button-1 .button.is-link {
	color: var(--c-text);
	background: none;
	padding-left: 0;
	padding-right: 0;
}

.header-button-1 .button.is-link:hover {
	color: var(--c-primary);
}

.header-button-2 .button {
	background: var(--c-green) !important;
	color: #fff !important;
	font-weight: 700;
	border: none;
}

.header-button-2 .button:hover {
	background: var(--c-green-90) !important;
}

/* Absolute footer: two-line bottom bar matching source design */
.absolute-footer {
	background: var(--c-primary-90);
	color: #ffffffb3;
	border-top: 1px solid #ffffff33;
	padding: 20px 0;
	font-size: 13px;
}

.absolute-footer .container {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
}

.absolute-footer .footer-primary,
.absolute-footer .footer-secondary {
	float: none;
	padding: 0;
}

.absolute-footer a,
.absolute-footer .copyright-footer,
.absolute-footer .footer-text {
	color: #ffffffb3;
}

.faculty-carousel {
	position: relative;
}

@media (max-width: 700px) {
	.faculty-carousel .ac-arrow--left {
		left: -6px;
	}

	.faculty-carousel .ac-arrow--right {
		right: -6px;
	}
}

.header-main .header-inner {
	min-height: 88px;
}

.header-main #logo {
	align-items: center;
	display: flex;
	min-height: 88px;
}

.header-main #logo img {
	height: auto !important;
	max-height: 58px !important;
	object-fit: contain;
	width: 190px !important;
}

.header-bottom .nav > li > a {
	font-family: var(--font-base);
	font-weight: 700;
	letter-spacing: 0;
}

.header-main .header-logo a,
.header-main .logo a {
	color: var(--c-primary);
	font-family: var(--font-base);
	font-size: 28px;
	font-weight: 800;
	letter-spacing: 0;
}

.header-bottom {
	background: var(--c-primary) !important;
	min-height: 58px;
}

.header-bottom .nav > li > a {
	color: #fff;
	font-size: 16px;
	min-height: 58px;
	padding: 0 18px;
}

.header-bottom .nav > li.active > a,
.header-bottom .nav > li.current-menu-item > a,
.header-bottom .nav > li > a:hover {
	background: rgba(255, 255, 255, .12);
	color: #fff;
}

.vital-logo-inline {
	align-items: center;
	color: var(--c-primary);
	display: inline-flex;
	font-size: 26px;
	font-weight: 800;
	gap: 10px;
}

.vital-logo-inline::before {
	background: var(--grad-highlight);
	border-radius: 9px;
	color: #fff;
	content: "V";
	display: grid;
	font-size: 18px;
	height: 40px;
	place-items: center;
	width: 40px;
}

/* Footer content is a Flatsome "Blocks" (UX Builder) post assigned via footer_block. */
.vital-footer-section {
	color: rgba(255, 255, 255, .86);
}

.vital-footer-section a {
	color: rgba(255, 255, 255, .86);
}

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

.vital-footer__logo {
	align-items: center;
	color: #fff;
	display: inline-flex;
	font-size: 24px;
	font-weight: 800;
	gap: 10px;
	margin-bottom: 14px;
}

.vital-footer__logo .brand-mark {
	background: rgba(255, 255, 255, .16);
	border-radius: 9px;
	color: #fff;
	display: grid;
	height: 40px;
	width: 40px;
	place-items: center;
	font-size: 16px;
}

.vital-footer-col h4 {
	color: #fff;
	font-size: 15px;
	letter-spacing: .08em;
	margin-bottom: 14px;
	text-transform: uppercase;
}

.vital-footer-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.vital-footer-col li {
	margin-bottom: 8px;
}

.vital-post-grid {
	display: grid;
	gap: var(--space-card-gap);
	grid-template-columns: repeat(3, 1fr);
}

.vital-post-grid--list {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.vital-post-grid .card .ph,
.vital-post-grid--list .post-item .ph {
	background-position: center;
	background-size: cover;
}

/* "Liên hệ VITAL" Contact Form 7 form styling, matching the source design's inputs */
.vital-cf7-wrap {
	max-width: 520px;
}

.vital-cf7-wrap .wpcf7-form {
	display: grid;
	gap: 14px;
}

.vital-cf7-wrap input[type="text"],
.vital-cf7-wrap input[type="email"],
.vital-cf7-wrap input[type="tel"],
.vital-cf7-wrap select,
.vital-cf7-wrap textarea {
	border: 1.5px solid var(--c-border);
	border-radius: var(--radius-input);
	font: inherit;
	font-size: 16px;
	padding: 13px 16px;
	width: 100%;
	box-sizing: border-box;
	color: var(--c-text);
}

.vital-cf7-wrap textarea {
	min-height: 110px;
	resize: vertical;
}

.vital-cf7-wrap .wpcf7-list-item {
	margin-left: 0;
}

.vital-cf7-wrap .wpcf7-form-control-wrap {
	display: block;
}

.vital-cf7-wrap input[type="submit"] {
	justify-self: start;
}

.vital-cf7-wrap .wpcf7-not-valid-tip {
	color: var(--c-error);
	font-size: 13px;
	margin-top: 4px;
}

.vital-cf7-wrap .wpcf7-response-output {
	border-radius: var(--radius-input);
	font-size: 14px;
	margin: 12px 0 0;
}

@media (max-width: 900px) {
	.vital-post-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	.header-main .flex-row {
		min-height: 72px;
	}

	.header-main .header-inner {
		min-height: 92px;
	}

	.header-main #logo {
		justify-content: center;
		min-height: 92px;
	}

	.header-main #logo img {
		max-height: 54px !important;
		width: 180px !important;
	}

	.header-main .show-for-medium.flex-left {
		background: var(--c-primary);
		height: 52px;
		left: 0;
		position: absolute;
		top: 20px;
		width: 92px;
	}

	.header-main .show-for-medium.flex-left .nav-icon a {
		color: #fff;
		min-height: 52px;
		width: 92px;
	}

	.vital-page .hero {
		padding-top: 56px;
	}

	.vital-page .hero .container,
	.vital-page .hero-shell,
	.vital-page .hero-content,
	.vital-page .hero .lead,
	.vital-page .hero-actions {
		max-width: 100% !important;
		min-width: 0 !important;
		width: 100% !important;
	}

	.vital-page .hero h1 {
		font-size: 38px;
		max-width: 100% !important;
		overflow-wrap: normal;
		width: 100% !important;
	}

	.vital-page .hero .hl {
		display: inline-block;
		max-width: 100%;
		white-space: normal;
	}

	.vital-page .hero .btn {
		max-width: 100%;
		width: 100%;
	}
}
