/*
 * Colors come from the --staffed-* variables defined at the top of
 * single-staff.css, which loads on every front-end page.
 */

.wp-block-staffed-office-meta {
	border: 1px solid var(--staffed-border);
	background-color: var(--staffed-surface);
	box-shadow: 2px 2px 11px 2px var(--staffed-shadow);
	padding: 1rem 2rem;
}
.office-page {
	max-width: 1400px;
	margin: 0 auto 24px auto;
}
.office-title {
	margin: 0;
	padding: 4px 12px;
	background-color: rgba(255, 255, 255, 0.4);
}
.office-title h2 {
	margin: 0;
	padding: 0;
}

.office-info {
	width: 50%;
	display: flex;
	flex-direction: column;
	padding-right: 1rem;
}
.office-title h2 {
	font-size: 2.4rem;
	padding: 0;
	line-height: 1.4;
}
.office-img {
	width: 50%;
}
.office-img-bg {
	width: 100%;
}
.office-data-container {
	display: flex;
	justify-content: space-between;
	//padding-left: 12px;
	margin: 16px 0px 48px 0px;
}
.office-contact {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;
	padding: 0px 0px 12px 12px;
}
.office-contact p {
	padding: 0px;
	margin: 0px;
	line-height: 1.2;
}
.staffed-contact-wrap {
	padding: 12px 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.staffed-contact-line {
	display: flex;
	column-gap: 5px;
	align-items: center;
}
.staffed-contact-line a {
	display: flex;
	align-items: center;
}
.staffed-contact-icon {
	width: 20px;
}

.office-desc {
	height: 100%;
	padding: 18px 0px 0px 12px;
	background-color: rgba(255, 255, 255, 0.4);
}

.office-desc p {
	margin: 0 0 1em;
	line-height: 1.3;
}
.office-desc p:last-child {
	margin-bottom: 0;
}
.office-location-section {
	margin: 3rem auto 0px auto;
}
.office-location-section h3 {
	margin: 0 auto;
	text-align: center;
	padding: 0;
}
.office-meta__map {
	width: 100%;
	max-width: 800px;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	margin: 16px auto 3rem auto;
	border: 1px solid var(--staffed-border);
}
.office-meta__map iframe {
	width: 100%;
	height: 100%;
	display: block;
	border: 0;
}
.staff-display-section {
	margin: 2rem auto;
	border: 1px solid var(--staffed-border);
	background-color: var(--staffed-surface);
	box-shadow: 2px 2px 11px 2px var(--staffed-shadow);
	padding-bottom: 12px;
}
.staff-display-section h3 {
	text-align: center;
	margin: 24px auto;
}

/* PHP TEMPLATE */

.staff-display-section {
	display: flex;
	flex-direction: column;
	gap: 0.5em;
}

@media only screen and (max-width: 992px) {
	.wp-block-staffed-office-meta {
		padding: 1rem 2rem;
	}
	.office-title {
		margin-bottom: 6px;
	}
	.office-data-container {
		flex-direction: column;
	}

	.office-img {
		order: 1;
		margin: 8px auto 0px auto;
		width: 100%;
		padding-left: 0;
	}

	.office-info {
		order: 2;
		width: 100%;
	}
	.office-contact {
		padding: 1.5rem 0;
	}
	.office-desc {
		margin: 8px auto;
	}
}

@media only screen and (max-width: 400px) {
	.office-title h2 {
		font-size: 1.4rem;
	}
	.wp-block-staffed-office-meta {
		padding: 0.75rem;
	}
	.staffed-contact-line {
		display: flex;
		column-gap: 12px;
		align-items: center;
		margin-top: 16px;
	}
	.staffed-contact-line a {
		display: flex;
		align-items: center;
	}
	.staffed-contact-icon {
		width: 40px;
	}
}
