/* Contact card 2027: the open/closed line and the online channels card of the Liên hệ page hero, shared with the
   [vmt_lien_he] block (inc/home-2027/contact-card.php, template-parts/home-2027/contact-block.php), whose layout
   follows below. Loaded after blocks-2027.css; on the Liên hệ page contact-2027.css loads after this file. */

/* Open / online green: the logo green darkened for small text (5.4:1 on white). */
.vmt-ct-body,
.vmt-lh {
	--vmt-open: #067d2e;
}

/* Open / closed, worked out in the visitor's browser from the office's local time (contact-card-2027.js). */
.vmt-ct-status {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 20px;
	color: var(--ink-2);
	font-size: 15px;
	font-weight: 500;
}
.vmt-ct-status::before {
	content: "";
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--ink-3);
}
.vmt-ct-status.is-open {
	color: var(--vmt-open);
}
.vmt-ct-status.is-open::before {
	background: var(--vmt-open);
	box-shadow: 0 0 0 4px rgba(6, 125, 46, 0.14);
}
.vmt-ct-status[hidden] {
	display: none;
}
.vmt-ct-status--sm {
	flex: none;
	margin-top: 4px;
	padding: 5px 10px;
	border-radius: 9999px;
	background: var(--tint);
	font-size: 13px;
	white-space: nowrap;
}
.vmt-ct-status--sm.is-open {
	background: rgba(6, 125, 46, 0.08);
}
.vmt-ct-status--sm.is-open::before {
	box-shadow: none;
}

/* Channels card */
.vmt-ct-channels {
	padding: clamp(20px, 2.4vw, 28px);
	border-radius: 24px;
	background: var(--surface);
	box-shadow: var(--shadow);
}
.vmt-ct-channels-title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 8px 12px;
	color: var(--vmt-open);
	font-size: 14.5px;
	font-weight: 600;
}
/* The dot means "someone is answering now": online channels are staffed around the clock. */
.vmt-ct-live {
	position: relative;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--vmt-open);
}
.vmt-ct-live::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: var(--vmt-open);
	animation: vmt-ct-live 2.4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
@keyframes vmt-ct-live {
	from {
		opacity: 0.5;
		transform: scale(1);
	}
	to {
		opacity: 0;
		transform: scale(2.6);
	}
}
.vmt-ct-channel {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px;
	border-radius: var(--radius);
	transition: background 0.25s;
}
.vmt-ct-channel:hover {
	background: var(--tint);
}
.vmt-ct-channel-icon {
	--c-bg: var(--accent);
	flex: none;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--c-bg);
	color: #fff;
	transition: transform 0.35s var(--ease);
}
.vmt-ct-channel:hover .vmt-ct-channel-icon {
	transform: scale(1.06);
}
.vmt-ct-channel-icon :is(svg, .vmt-h27-icon) {
	width: 22px;
	height: 22px;
}
.is-zalo .vmt-ct-channel-icon {
	--c-bg: #0068ff;
}
.is-messenger .vmt-ct-channel-icon {
	--c-bg: linear-gradient(45deg, #0a7cff 0%, #a033ff 55%, #ff5c87 100%);
}
.is-email .vmt-ct-channel-icon {
	--c-bg: var(--ink);
}
.vmt-ct-channel-text {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-width: 0;
}
.vmt-ct-channel-text strong {
	color: var(--ink);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.3;
}
.vmt-ct-channel-text small {
	overflow: hidden;
	color: var(--ink-2);
	font-size: 14.5px;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.is-hotline .vmt-ct-channel-text small {
	color: var(--ink);
	font-size: 16px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}
.vmt-ct-channel-note {
	flex: none;
	padding: 4px 10px;
	border-radius: 9999px;
	background: var(--tint);
	color: var(--ink-2);
	font-size: 13px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}
.vmt-ct-channel:hover .vmt-ct-channel-note {
	background: #fff;
}
.vmt-ct-socials {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 16px;
	margin: 12px 8px 0;
	padding-top: 16px;
	border-top: 1px solid var(--line);
	color: var(--ink-2);
	font-size: 14.5px;
}
.vmt-ct-socials .vmt-h27-socials {
	margin: 0;
}
.vmt-ct-socials .vmt-h27-socials a {
	width: 38px;
	height: 38px;
	background: var(--tint);
	color: var(--ink-2);
}

/* ---------- [vmt_lien_he] block ----------
 * Sits in staff content (.vmt-dest-content, outside the page's .vmt-h27), so it is its own .vmt-h27: tokens and the
 * resets that beat Flatsome's list and heading styles. Laid out like the Liên hệ page hero (same columns and card) but
 * with no background of its own: staff set the section's background in UX Builder. The social links take the place
 * of the hero's call buttons, so the card drops its own social row. */
.vmt-h27.vmt-lh {
	margin: clamp(24px, 4vw, 48px) 0;
	background: none;
	overflow-x: visible;
}
.vmt-lh-panel {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	align-items: center;
	gap: clamp(32px, 5vw, 80px);
}
/* Lists: no bullets or indent (the destination stylesheet indents lists in staff content). */
.vmt-h27.vmt-lh :is(ul, ol) {
	margin: 0;
	padding: 0;
	list-style: none;
}
.vmt-h27.vmt-lh li {
	margin: 0;
	padding-left: 0;
}
.vmt-h27.vmt-lh li::before {
	content: none;
}
/* The destination stylesheet justifies and centres staff text; this block keeps its own alignment. */
.vmt-lh :is(h2, p) {
	text-align: left;
	text-align-last: auto;
}
.vmt-h27 .vmt-lh-title {
	color: var(--ink);
	font-family: var(--serif);
	font-size: clamp(28px, 3vw, 40px);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.01em;
	text-wrap: balance;
}
.vmt-lh-lead {
	max-width: 32em;
	margin-top: 16px !important;
	color: var(--ink-2);
	font-size: 18px;
	line-height: 1.6;
	text-wrap: pretty;
}
/* Social links where the hero has its buttons (same top spacing). */
.vmt-lh-socials {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	margin-top: 30px;
	color: var(--ink-2);
	font-size: 15px;
	font-weight: 500;
}
.vmt-lh-socials .vmt-h27-socials {
	margin: 0;
}
.vmt-lh-socials .vmt-h27-socials a {
	width: 42px;
	height: 42px;
	background: #ffffff;
	color: var(--ink-2);
	box-shadow: var(--shadow-sm);
}

/* Tablets and phones: one column, copy then the card, as on the Liên hệ page. */
@media (max-width: 1023px) {
	.vmt-lh-panel {
		grid-template-columns: minmax(0, 1fr);
	}
	.vmt-lh .vmt-ct-channels {
		max-width: 560px;
	}
}
@media (max-width: 767px) {
	.vmt-lh-panel {
		gap: 28px;
	}
	.vmt-lh-lead {
		font-size: 17px;
	}
	.vmt-lh .vmt-ct-channels {
		max-width: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vmt-ct-live::after {
		animation: none;
	}
	.vmt-ct-channel-icon {
		transition: none;
	}
}
