/* MGH Emergency contact widget – static banner, content from Settings > MGH Settings */
/* Light background; Mobile H4 / Desktop H4; Mobile Paragraph / Desktop Paragraph; phone 18px 600 + icon; token blue. */
/* Container width matches FAQ / list: 884px centered mobile, full width + 50px gutters desktop. */
/* Padding 60px 20px mobile, 70px 50px desktop; margin-top 50px; border-radius 8px; gap 20px. */

.mgh-emergency-contact {
	--mgh-ec-blue: #2c3a60;
	display: flex;
	flex-direction: column;
	gap: 20px;
	background-color: #f4f7f6;
	border-radius: 8px;
	padding: 60px 20px;
	margin: 50px auto 0 auto;
	max-width: 884px;
	width: 100%;
	color: var(--mgh-ec-blue);
	text-align: left;
}

.mgh-emergency-contact__title {
	margin: 0;
	color: var(--mgh-ec-blue);
	font-family: Poppins, sans-serif;
	font-weight: 600;
	font-size: 24px;
	line-height: 1.2;
}

.mgh-emergency-contact__description {
	margin: 0;
	color: var(--mgh-ec-blue);
	font-family: Poppins, sans-serif;
	font-weight: 300;
	font-size: 14px;
	line-height: 1.4;
}

.mgh-emergency-contact__item {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.mgh-emergency-contact__subtitle {
	margin: 0;
	color: var(--mgh-ec-blue);
	font-family: Poppins, sans-serif;
	font-weight: 600;
	font-size: 16px;
	line-height: 1.3;
}

.mgh-emergency-contact__phone-row {
	display: flex;
	align-items: center;
}

.mgh-emergency-contact .mgh-emergency-contact__phone,
.mgh-emergency-contact .mgh-emergency-contact__phone:visited,
.mgh-emergency-contact .mgh-emergency-contact__phone:active,
.mgh-emergency-contact .mgh-emergency-contact__phone:focus,
.mgh-emergency-contact .mgh-emergency-contact__phone span {
	color: #2c3a60;
	text-decoration: none;
}

.mgh-emergency-contact .mgh-emergency-contact__phone {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	line-height: 1.4;
	font-family: Poppins, sans-serif;
	font-weight: 600;
	font-size: 14px;
}

.mgh-emergency-contact .mgh-emergency-contact__phone svg {
	flex-shrink: 0;
	width: 1em;
	height: 1em;
	vertical-align: middle;
	color: inherit;
}

/* Force icon shapes to follow the link color in every state (rest, visited, hover). */
.mgh-emergency-contact .mgh-emergency-contact__phone svg [stroke]:not([stroke="none"]) {
	stroke: currentColor;
}

.mgh-emergency-contact .mgh-emergency-contact__phone svg [fill]:not([fill="none"]) {
	fill: currentColor;
}

.mgh-emergency-contact .mgh-emergency-contact__phone:hover,
.mgh-emergency-contact .mgh-emergency-contact__phone:hover span,
.mgh-emergency-contact .mgh-emergency-contact__phone:hover svg {
	color: #baa558;
	text-decoration: none;
}

.mgh-emergency-contact__placeholder {
	margin: 0;
	color: var(--mgh-ec-blue);
	opacity: 0.85;
	font-size: 14px;
	line-height: 1.4;
}

.mgh-emergency-contact__placeholder a {
	color: var(--mgh-ec-blue);
	text-decoration: underline;
}

/* Desktop */
@media (min-width: 1280px) {
	.mgh-emergency-contact {
		margin: 50px 0 0 0;
		padding: 70px 50px;
		max-width: 100%;
	}

	.mgh-emergency-contact__title {
		font-size: 27px;
	}

	.mgh-emergency-contact__subtitle {
		font-size: 17px;
	}

	.mgh-emergency-contact__description {
		font-size: 14px;
	}
}
