/* Contact page: same 1300px two-column rhythm as the reference contact page. */
.vn-contact-page {
	background: #fff;
	color: #656565;
	overflow: hidden;
}

.vn-contact-wide {
	width: 1300px;
	max-width: calc(100% - 48px);
	margin: 0 auto;
}

.vn-contact-directory {
	padding: 231px 0 0;
}

.vn-contact-row {
	display: grid;
	grid-template-columns: 635px 635px;
	gap: 30px;
	width: 1300px;
	max-width: 100%;
	margin: 0 auto;
}

.vn-contact-row--main {
	height: 467px;
}

.vn-contact-row--hcm {
	height: 364px;
}

.vn-contact-row--showroom {
	height: 379px;
}

.vn-contact-copy {
	min-width: 0;
}

.vn-contact-copy h2,
.vn-contact-form-column h2,
.vn-contact-form-column h3,
.vn-contact-form-column h4 {
	font-family: var(--vn-font);
	text-transform: uppercase;
}

.vn-contact-copy h2 {
	margin: 20px 0;
	color: #262626;
	font-size: 28px;
	font-weight: 700;
	line-height: 37.24px;
	letter-spacing: 1px;
}

.vn-contact-copy p {
	margin: 10px 0;
	color: #656565;
	font-family: var(--vn-font);
	font-size: 16px;
	font-weight: 300;
	line-height: 25px;
}

.vn-contact-copy p a {
	color: #1454a3;
}

.vn-contact-map {
	position: relative;
	height: 300px;
	overflow: hidden;
	border: 1px solid #d5d5d5;
	background-color: #e9e6d8;
	background-image:
		linear-gradient(32deg, transparent 0 43%, rgba(255, 255, 255, .9) 43.5% 45%, transparent 45.5% 100%),
		linear-gradient(118deg, transparent 0 54%, rgba(255, 255, 255, .8) 54.5% 56%, transparent 56.5% 100%),
		linear-gradient(8deg, transparent 0 67%, rgba(193, 205, 185, .75) 67.5% 75%, transparent 75.5% 100%),
		repeating-linear-gradient(90deg, rgba(222, 224, 210, .85) 0 1px, transparent 1px 52px),
		repeating-linear-gradient(0deg, rgba(222, 224, 210, .85) 0 1px, transparent 1px 45px);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55);
}

.vn-contact-map::before,
.vn-contact-map::after {
	content: '';
	position: absolute;
	background: rgba(255, 255, 255, .92);
	box-shadow: 0 0 0 1px rgba(196, 199, 188, .55);
	transform: rotate(-12deg);
}

.vn-contact-map::before {
	top: 47%;
	left: -5%;
	width: 115%;
	height: 9px;
}

.vn-contact-map::after {
	top: -20%;
	left: 62%;
	width: 8px;
	height: 150%;
	transform: rotate(26deg);
}

.vn-map-label {
	position: absolute;
	top: 18px;
	left: 20px;
	z-index: 2;
	padding: 7px 10px;
	background: rgba(255, 255, 255, .92);
	color: #555;
	font-family: var(--vn-font);
	font-size: 12px;
	line-height: 17px;
	letter-spacing: .04em;
}

.vn-map-label b {
	color: #1454a3;
	font-weight: 700;
}

.vn-map-pin {
	position: absolute;
	top: 50%;
	left: 54%;
	z-index: 3;
	width: 25px;
	height: 25px;
	border: 4px solid #fff;
	border-radius: 50% 50% 50% 0;
	background: #d2483e;
	box-shadow: 0 3px 8px rgba(0, 0, 0, .2);
	transform: translate(-50%, -50%) rotate(-45deg);
}

.vn-map-pin::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #fff;
	transform: translate(-50%, -50%);
}

.vn-map-road {
	position: absolute;
	z-index: 1;
	display: block;
	border: 2px solid rgba(249, 182, 90, .9);
	border-radius: 50%;
}

.vn-map-road--one {
	top: 15%;
	left: 45%;
	width: 45%;
	height: 130%;
	transform: rotate(35deg);
}

.vn-map-road--two {
	top: 55%;
	left: -10%;
	width: 125%;
	height: 18%;
	transform: rotate(-8deg);
}

.vn-contact-map--google {
	background: transparent;
	box-shadow: none;
}

.vn-contact-map--google::before,
.vn-contact-map--google::after {
	content: none;
}

.vn-contact-map--google iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.vn-contact-row--form {
	height: 935px;
}

.vn-contact-form-image {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding-top: 116px;
}

.vn-contact-form-image img {
	display: block;
	width: 497px;
	height: 497px;
	border-radius: 50%;
	object-fit: cover;
}

.vn-contact-form-column {
	padding-top: 64px;
}

.vn-contact-form-column h2 {
	margin: 0;
	color: #1454a3;
	font-size: 28px;
	font-weight: 700;
	line-height: 37.24px;
	letter-spacing: 1.5px;
}

.vn-contact-form-column h3 {
	margin: 20px 0;
	color: #262626;
	font-size: 24px;
	font-weight: 700;
	line-height: 36px;
	letter-spacing: 1px;
}

.vn-contact-form-column h4 {
	margin: 20px 0 0;
	color: #262626;
	font-size: 16px;
	font-weight: 300;
	line-height: 24px;
	letter-spacing: 1px;
}

.vn-contact-form {
	width: 635px;
	max-width: 100%;
	margin-top: 20px;
}

.vn-contact-form input,
.vn-contact-form textarea {
	display: block;
	width: 100%;
	margin: 0 0 20px;
	border: 1px solid #989898;
	border-radius: 0;
	background: transparent;
	color: #656565;
	font-family: var(--vn-font);
	font-size: 14px;
	font-weight: 300;
	line-height: 20px;
	outline: 0;
	padding: 19px 23px;
}

.vn-contact-form input {
	height: 61px;
}

.vn-contact-form textarea {
	height: 150px;
	resize: vertical;
}

.vn-contact-form input::placeholder,
.vn-contact-form textarea::placeholder {
	color: #919191;
	opacity: 1;
}

.vn-contact-form input:focus,
.vn-contact-form textarea:focus {
	border-color: #1454a3;
}

.vn-contact-form button {
	width: 129px;
	height: 60px;
	border: 0;
	background: #be9c79;
	color: #fff;
	font-family: var(--vn-font);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	cursor: pointer;
}

@media (min-width: 821px) and (max-width: 2000px) {
	.vn-contact-wide {
		width: 975px;
		max-width: calc(100% - 36px);
	}

	.vn-contact-directory {
		padding-top: 173.25px;
	}

	.vn-contact-row {
		grid-template-columns: 476.25px 476.25px;
		gap: 22.5px;
		width: 975px;
	}

	.vn-contact-row--main {
		height: 350.25px;
	}

	.vn-contact-row--hcm {
		height: 273px;
	}

	.vn-contact-row--showroom {
		height: 284.25px;
	}

	.vn-contact-copy h2 {
		margin: 15px 0;
		font-size: 21px;
		line-height: 27.93px;
		letter-spacing: .75px;
	}

	.vn-contact-copy p {
		margin: 7.5px 0;
		font-size: 12px;
		line-height: 18.75px;
	}

	.vn-contact-map {
		height: 225px;
	}

	.vn-map-label {
		top: 13.5px;
		left: 15px;
		padding: 5.25px 7.5px;
		font-size: 9px;
		line-height: 12.75px;
	}

	.vn-map-pin {
		width: 18.75px;
		height: 18.75px;
		border-width: 3px;
	}

	.vn-map-pin::after {
		width: 4.5px;
		height: 4.5px;
	}

	.vn-contact-row--form {
		height: 701.25px;
	}

	.vn-contact-form-image {
		padding-top: 87px;
	}

	.vn-contact-form-image img {
		width: 372.75px;
		height: 372.75px;
	}

	.vn-contact-form-column {
		padding-top: 48px;
	}

	.vn-contact-form-column h2 {
		font-size: 21px;
		line-height: 27.93px;
		letter-spacing: 1.125px;
	}

	.vn-contact-form-column h3 {
		margin: 15px 0;
		font-size: 18px;
		line-height: 27px;
		letter-spacing: .75px;
	}

	.vn-contact-form-column h4 {
		margin-top: 15px;
		font-size: 12px;
		line-height: 18px;
		letter-spacing: .75px;
	}

	.vn-contact-form {
		width: 476.25px;
		margin-top: 15px;
	}

	.vn-contact-form input,
	.vn-contact-form textarea {
		margin-bottom: 15px;
		font-size: 10.5px;
		line-height: 15px;
		padding: 14.25px 17.25px;
	}

	.vn-contact-form input {
		height: 45.75px;
	}

	.vn-contact-form textarea {
		height: 112.5px;
	}

	.vn-contact-form button {
		width: 96.75px;
		height: 45px;
		font-size: 9px;
		letter-spacing: 1.125px;
	}

	body.page-template-page-lien-he .vn-footer {
		height: 678.75px;
	}

	body.page-template-page-lien-he .vn-footer-top {
		height: 616.5px;
		padding-top: 57px;
	}

	body.page-template-page-lien-he .vn-footer-grid {
		height: 502.5px;
	}

	body.page-template-page-lien-he .vn-footer-bottom {
		height: 62.25px;
	}
}

@media (max-width: 820px) {
	.vn-contact-wide {
		width: min(calc(100% - 36px), 1300px);
		max-width: none;
	}

	.vn-contact-directory {
		padding: 55px 0 0;
	}

	.vn-contact-row,
	.vn-contact-row--main,
	.vn-contact-row--hcm,
	.vn-contact-row--showroom,
	.vn-contact-row--form {
		display: block;
		width: 100%;
		height: auto;
		min-height: 0;
		margin-bottom: 55px;
	}

	.vn-contact-copy h2 {
		font-size: 24px;
		line-height: 32px;
	}

	.vn-contact-copy p {
		font-size: 14px;
		line-height: 22px;
	}

	.vn-contact-map {
		height: 225px;
		margin-top: 32px;
	}

	.vn-contact-form-image {
		padding-top: 0;
	}

	.vn-contact-form-image img {
		width: min(100%, 497px);
		height: auto;
		margin: 0 auto 32px;
	}

	.vn-contact-form-column {
		padding-top: 0;
	}

	.vn-contact-form-column h2 {
		font-size: 24px;
		line-height: 32px;
	}

	.vn-contact-form-column h3 {
		font-size: 20px;
		line-height: 29px;
	}

	.vn-contact-form {
		width: 100%;
	}

	.vn-contact-form input,
	.vn-contact-form textarea {
		font-size: 14px;
	}

	.vn-contact-form button {
		width: 129px;
		height: 60px;
	}
}

/* Keep contact rows side-by-side only while there is enough room for readable copy. */
@media (min-width: 821px) and (max-width: 1100px) {
	.vn-contact-wide {
		width: calc(100% - 40px);
		max-width: none;
	}

	.vn-contact-directory { padding-top: 100px; }

	.vn-contact-row,
	.vn-contact-row--main,
	.vn-contact-row--hcm,
	.vn-contact-row--showroom,
	.vn-contact-row--form {
		width: 100%;
		height: auto;
		min-height: 0;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
		margin-bottom: 72px;
	}

	.vn-contact-copy h2 { font-size: 24px; line-height: 32px; }
	.vn-contact-copy p { font-size: 14px; line-height: 22px; }
	.vn-contact-map { height: 270px; }
	.vn-contact-row--form { align-items: start; }
	.vn-contact-form-image { padding-top: 0; }
	.vn-contact-form-image img { width: min(100%, 420px); height: auto; }
	.vn-contact-form-column { padding-top: 0; }
	.vn-contact-form-column h2 { font-size: 24px; line-height: 32px; }
	.vn-contact-form-column h3 { font-size: 20px; line-height: 29px; }
	.vn-contact-form { width: 100%; }
}

@media (max-width: 560px) {
	.vn-contact-directory { padding-top: 42px; }
	.vn-contact-row,
	.vn-contact-row--main,
	.vn-contact-row--hcm,
	.vn-contact-row--showroom,
	.vn-contact-row--form { margin-bottom: 48px; }
	.vn-contact-map { height: 205px; }
	.vn-map-label { max-width: calc(100% - 28px); font-size: 10px; line-height: 15px; }
	.vn-contact-copy p { overflow-wrap: anywhere; }
	.vn-contact-form input,
	.vn-contact-form textarea { padding-left: 15px; padding-right: 15px; }
}
