.col-sm-8 {
	width: 75%;
}

.contact-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 32px;
	align-items: start;
}

.contact-details h3,
.contact-map-column h3 {
	margin-top: 0;
}

.contact-list {
	margin: 0;
}

.contact-list div {
	display: grid;
	grid-template-columns: 90px minmax(0, 1fr);
	gap: 16px;
	padding: 12px 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-list dt {
	font-weight: 700;
	color: #333;
}

.contact-list dd {
	margin: 0;
	word-break: break-word;
}

.contact-map {
	position: relative;
	overflow: hidden;
	min-height: 320px;
	background: #f3f0ec;
	border: 1px solid rgba(0, 0, 0, 0.12);
}

.contact-map::before {
	content: attr(data-loading-text);
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #555;
	font-size: 0.95rem;
	letter-spacing: 0;
	background: linear-gradient(90deg, #f3f0ec 25%, #faf8f5 37%, #f3f0ec 63%);
	background-size: 400% 100%;
	animation: contact-map-loading 1.4s ease infinite;
	z-index: 1;
}

.contact-map.is-loaded::before {
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

.contact-map iframe {
	position: relative;
	display: block;
	width: 100%;
	height: 420px;
	min-height: 320px;
	opacity: 0;
	transition: opacity 0.2s ease;
	z-index: 2;
}

.contact-map.is-loaded iframe {
	opacity: 1;
}

@keyframes contact-map-loading {
	0% {
		background-position: 100% 0;
	}
	100% {
		background-position: 0 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.contact-map::before,
	.contact-map iframe {
		animation: none;
		transition: none;
	}
}

@media screen and (min-width: 768px) {
	.contact-layout {
		grid-template-columns: minmax(260px, 0.85fr) minmax(360px, 1.15fr);
		gap: 48px;
	}
}

@media screen and (min-width: 500px) {
	.post-thumbnail {
		width: 40%;
		float: right;
	}
	.has-post-thumbnail {
		min-height: 250px;
	}
}
