/* Trang Liên hệ — sidebar + form */

.tpsoftvn-contact-page .site-container {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding: 1.5rem 15px 2.5rem;
}

.tpsoftvn-contact-article__header {
	margin-bottom: 1.5rem;
	text-align: center;
}

.tpsoftvn-contact-article__header .entry-title {
	color: #c52126;
	font-weight: 700;
	font-size: clamp(1.5rem, 3vw, 2rem);
	margin: 0;
}

.tpsoftvn-contact-layout {
	display: grid;
	grid-template-columns: minmax(260px, 34%) minmax(0, 1fr);
	gap: 1.5rem;
	align-items: start;
	width: 100%;
}

.tpsoftvn-contact-layout__sidebar,
.tpsoftvn-contact-layout__form {
	min-width: 0;
	width: 100%;
	float: none !important;
	max-width: none !important;
	flex: none !important;
}

.tpsoftvn-contact-sidebar {
	margin-bottom: 0;
	height: 100%;
}

.tpsoftvn-contact-sidebar__inner {
	background: #fff;
	border: 1px solid rgba(197, 33, 38, 0.15);
	border-radius: 14px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
	padding: 1.35rem 1.25rem 1.5rem;
}

.tpsoftvn-contact-sidebar__title {
	margin: 0 0 1rem;
	font-size: 1.15rem;
	font-weight: 700;
	color: #c52126;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	line-height: 1.35;
}

.tpsoftvn-contact-sidebar__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tpsoftvn-contact-sidebar__item {
	margin: 0 0 0.9rem;
	padding: 0 0 0.9rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.tpsoftvn-contact-sidebar__item:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: 0;
}

.tpsoftvn-contact-sidebar__item--company {
	border-bottom: 1px solid rgba(197, 33, 38, 0.12);
	padding-bottom: 1rem;
	margin-bottom: 1rem;
}

.tpsoftvn-contact-sidebar__company {
	font-weight: 700;
	font-size: 0.95rem;
	line-height: 1.5;
	color: #1a1a1a;
}

.tpsoftvn-contact-sidebar__label {
	display: block;
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #888;
	margin-bottom: 0.2rem;
}

.tpsoftvn-contact-sidebar__value {
	display: block;
	font-size: 0.95rem;
	line-height: 1.55;
	color: #222;
}

.tpsoftvn-contact-sidebar__value a {
	color: #c52126;
	text-decoration: none;
	font-weight: 600;
}

.tpsoftvn-contact-sidebar__value a:hover {
	text-decoration: underline;
}

.tpsoftvn-contact-sidebar__extra {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(0, 0, 0, 0.06);
	font-size: 0.9rem;
	line-height: 1.6;
	color: #444;
}

.tpsoftvn-contact-form-wrap {
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 14px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
	padding: 1.25rem 1.35rem 1.5rem;
	height: 100%;
	box-sizing: border-box;
}

.tpsoftvn-contact-form-wrap .wpcf7 {
	margin: 0;
}

.tpsoftvn-contact-form-wrap .wpcf7-form-control:not(.wpcf7-submit) {
	width: 100%;
	max-width: 100%;
}

.tpsoftvn-contact-form-wrap input.wpcf7-submit {
	background: #c52126;
	border-color: #c52126;
	border-radius: 8px;
	padding: 0.65rem 1.5rem;
	font-weight: 600;
}

.tpsoftvn-contact-form-wrap input.wpcf7-submit:hover {
	background: #9a1a1e;
	border-color: #9a1a1e;
}

@media (min-width: 850px) {
	.tpsoftvn-contact-layout__sidebar {
		position: sticky;
		top: 100px;
	}

	.tpsoftvn-contact-sidebar__inner,
	.tpsoftvn-contact-form-wrap {
		min-height: 100%;
	}
}

@media (max-width: 849px) {
	.tpsoftvn-contact-layout {
		grid-template-columns: 1fr;
	}
}
