/* Connect-with-closest-office trigger: underline on hover only */
#connect-office-trigger {
	text-decoration: none;
}

#connect-office-trigger:hover {
	text-decoration: underline;
}

/* Office Modal */
.office-modal-backdrop {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 999;
}

.office-modal-backdrop.active {
	display: block;
}

.office-modal {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #fff;
	z-index: 1000;
	width: 90%;
	max-width: 500px;
	max-height: 90vh;
	overflow-y: auto;
	padding: 2rem;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.office-modal-section + .office-modal-section {
	margin-top: 2.5rem;
	padding-top: 2rem;
	border-top: 1px solid #e0e0e0;
}

.office-modal.active {
	display: block;
}

.office-modal-close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	background: none;
	border: none;
	cursor: pointer;
	color: #333;
}

.office-modal-title {
	font-family: var(--sir-font-serif);
	font-size: 1.5rem;
	margin-bottom: 1.5rem;
	color: #002349;
}

.office-modal-info p {
	margin: 0.5rem 0;
	font-size: 0.9rem;
	line-height: 1.5;
}

.office-modal-info .label {
	font-weight: 600;
}

.office-modal-info a {
	color: #002349;
	text-decoration: none;
}

.office-modal-map {
	margin-top: 1.5rem;
}

body.office-modal-open {
	overflow: hidden;
}
