/* Single-department header card — matches LRTCH department-info. */

.spruce-fam-dept-details {
	width: 100%;
}

.spruce-fam-dept-details__panel {
	display: flex;
	align-items: center;
	overflow: hidden;
}

.spruce-fam-dept-details__logo {
	flex: 0 0 auto;
	width: 150px;
	min-height: 150px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.spruce-fam-dept-details__logo img {
	display: block;
	max-width: 100%;
	max-height: 150px;
	width: auto;
	height: auto;
	border-radius: 6px;
	object-fit: contain;
}

.spruce-fam-dept-details__logo-placeholder {
	width: 100%;
	aspect-ratio: 1;
	min-height: 120px;
	background: #e8edf4;
	border-radius: 6px;
}

.spruce-fam-dept-details__meta {
	flex: 1;
	min-width: 0;
}

.spruce-fam-dept-details__title {
	margin: 0;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.spruce-fam-dept-details__row {
	margin-bottom: 10px;
}

.spruce-fam-dept-details__row:last-child {
	margin-bottom: 0;
}

.spruce-fam-dept-details__label {
	margin-right: 0.35em;
}

.spruce-fam-dept-details__phone-link {
	color: inherit;
	text-decoration: none;
}

.spruce-fam-dept-details__email {
	text-decoration: underline;
}

.spruce-fam-dept-details__description {
	flex: 1;
	min-width: 0;
}

.spruce-fam-dept-details__description > *:first-child {
	margin-top: 0;
}

.spruce-fam-dept-details__description > *:last-child {
	margin-bottom: 0;
}

.spruce-fam-dept-details__description-short.is-hidden,
.spruce-fam-dept-details__description-full.is-hidden {
	display: none;
}

.spruce-fam-dept-details__description-full > *:first-child {
	margin-top: 0;
}

.spruce-fam-dept-details__description-full > *:last-child {
	margin-bottom: 0;
}

.spruce-fam-dept-details__more {
	display: block;
	margin: 8px 0 0 auto;
	padding: 0;
	border: 0;
	background: transparent;
	color: #d60303;
	font: inherit;
	font-size: 0.9em;
	line-height: inherit;
	cursor: pointer;
	text-align: right;
	text-decoration: none;
}

.spruce-fam-dept-details__more:hover,
.spruce-fam-dept-details__more:focus {
	color: #005bb5;
}

.spruce-fam-dept-details__empty {
	margin: 0;
}

@media (max-width: 767px) {
	.spruce-fam-dept-details__panel {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.spruce-fam-dept-details__logo {
		width: 120px;
		min-height: 120px;
		margin-right: 0;
		margin-bottom: 15px;
	}

	.spruce-fam-dept-details__meta,
	.spruce-fam-dept-details__description {
		width: 100%;
	}
}
