/* Vietnam eVisa mistake assistance */

body.vd-mistake-page .content {
	background: #fff;
}

body.vd-mistake-page .default_template_holder {
	float: none;
}

.vd-mistake {
	font-family: "Roboto", sans-serif;
	color: #3d4a5c;
	max-width: 1040px;
	margin: 0 auto;
	padding: 8px 0 24px;
	box-sizing: border-box;
}

.vd-mistake h1,
.vd-mistake h2,
.vd-mistake h3 {
	font-family: "Roboto", sans-serif;
	font-weight: 600;
	letter-spacing: -0.02em;
	text-transform: none;
	color: #1a2b5f;
	text-align: left;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
}

.vd-mistake h1 {
	font-size: 2.15rem;
	line-height: 1.2;
	margin: 0 0 16px;
}

.vd-mistake h1::after {
	content: "";
	display: block;
	width: 36px;
	height: 3px;
	margin-top: 16px;
	background: #0944f4;
	border-radius: 2px;
}

.vd-mistake h2 {
	font-size: 1.55rem;
	line-height: 1.3;
	margin: 0 0 12px;
}

.vd-mistake h3 {
	font-size: 1.05rem;
	line-height: 1.4;
	margin: 0 0 8px;
}

.vd-mistake p,
.vd-mistake li {
	font-family: "Roboto", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.7;
	color: #3d4a5c;
	text-align: left;
}

.vd-mistake p {
	margin: 0 0 0.9rem;
}

.vd-mistake a {
	color: #0944f4;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.vd-mistake-crumb ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	list-style: none;
	margin: 0 0 22px;
	padding: 0;
	font-size: 13px;
	line-height: 1.4;
}

.vd-mistake-crumb li {
	color: #5a6578;
	font-size: 13px;
}

.vd-mistake-crumb li + li::before {
	content: "/";
	margin: 0 8px;
	color: #8b95a7;
}

.vd-mistake-kicker {
	margin: 0 0 8px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #0944f4;
}

.vd-mistake-lead {
	font-size: 17px;
	line-height: 1.65;
	color: #3d4a5c;
	max-width: 740px;
}

.vd-mistake-hero {
	margin-bottom: 36px;
}

.vd-mistake-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 18px;
}

.vd-mistake-btn {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 22px;
	border-radius: 6px;
	font-family: "Roboto", sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	box-sizing: border-box;
}

.vd-mistake-btn span {
	display: block;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.3;
	margin-top: 2px;
}

.vd-mistake-btn--primary {
	background: #0944f4;
	color: #fff;
	border: 1px solid #0944f4;
}

.vd-mistake-btn--primary:hover,
.vd-mistake-btn--primary:focus {
	background: #0736c4;
	border-color: #0736c4;
	color: #fff;
	text-decoration: none;
}

.vd-mistake-btn--secondary {
	background: #fff;
	color: #0944f4;
	border: 1px solid #0944f4;
}

.vd-mistake-btn--secondary:hover,
.vd-mistake-btn--secondary:focus {
	background: #f4f7ff;
	color: #0736c4;
	text-decoration: none;
}

.vd-mistake-btn:focus-visible {
	outline: 2px solid #1a2b5f;
	outline-offset: 2px;
}

.vd-mistake-section {
	margin: 0 0 40px;
}

.vd-mistake-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 20px 0 28px;
}

.vd-mistake-card {
	background: #f6f8fc;
	border: 1px solid #e6ebf4;
	border-radius: 10px;
	padding: 18px 18px 16px;
	box-sizing: border-box;
}

.vd-mistake-card__index {
	margin: 0 0 8px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: #0944f4;
}

.vd-mistake-card p:last-of-type {
	margin-bottom: 12px;
}

.vd-mistake-card a {
	font-size: 14px;
	font-weight: 600;
}

.vd-mistake-details {
	border-top: 1px solid #e6ebf4;
	padding-top: 8px;
}

.vd-mistake-details h3 {
	margin-top: 22px;
	scroll-margin-top: 90px;
}

.vd-mistake-steps {
	list-style: none;
	margin: 18px 0 0;
	padding: 0;
	counter-reset: vd-step;
}

.vd-mistake-steps > li {
	position: relative;
	margin: 0 0 16px;
	padding: 16px 18px 8px 68px;
	background: #fff;
	border: 1px solid #e6ebf4;
	border-radius: 10px;
}

.vd-mistake-steps > li::before {
	counter-increment: vd-step;
	content: counter(vd-step);
	position: absolute;
	left: 16px;
	top: 16px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #0944f4;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	line-height: 36px;
	text-align: center;
}

.vd-mistake-urgent,
.vd-mistake-final {
	background: #f4f7ff;
	border: 1px solid #d9e3f8;
	border-radius: 12px;
	padding: 28px 28px 22px;
	margin: 0 0 40px;
}

.vd-mistake-faq h3 {
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid #e6ebf4;
}

.vd-mistake-faq h3:first-of-type {
	border-top: 0;
	padding-top: 0;
}

.vd-mistake-why {
	margin: 8px 0 16px;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.vd-mistake-why li {
	margin: 0;
	padding: 14px 16px;
	background: #f6f8fc;
	border: 1px solid #e6ebf4;
	border-radius: 10px;
}

.vd-mistake-note,
.vd-mistake-sources,
.vd-mistake-apply {
	font-size: 14px;
	line-height: 1.6;
	color: #5a6578;
}

.vd-mistake-sources {
	margin: 0;
}

@media (max-width: 900px) {
	.vd-mistake-grid,
	.vd-mistake-why {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 640px) {
	.vd-mistake {
		padding-left: 0;
		padding-right: 0;
	}

	.vd-mistake h1 {
		font-size: 1.7rem;
	}

	.vd-mistake-grid,
	.vd-mistake-why {
		grid-template-columns: 1fr;
	}

	.vd-mistake-actions {
		flex-direction: column;
	}

	.vd-mistake-btn {
		width: 100%;
	}

	.vd-mistake-urgent,
	.vd-mistake-final {
		padding: 22px 16px 16px;
	}

	.vd-mistake-steps > li {
		padding: 56px 14px 8px;
	}

	.vd-mistake-steps > li::before {
		left: 14px;
	}
}
