/* MGH Notified News widget */

.mgh-notified-news {
	padding: 60px 20px 0;
	margin-left: auto;
	margin-right: auto;
}

.mgh-notified-news__title {
	margin: 0 0 20px;
	line-height: 1.2;
}

.mgh-notified-news__track {
	display: flex;
	flex-direction: row;
	gap: 40px;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
	cursor: grab;
}

.mgh-notified-news__track::-webkit-scrollbar {
	display: none;
}

.mgh-notified-news__track.is-dragging {
	cursor: grabbing;
	user-select: none;
}

.mgh-notified-news__card {
	width: 324px;
	flex: 0 0 324px;
}

.mgh-notified-news__card-link {
	display: block;
	flex: 0 0 324px;
	color: inherit;
	text-decoration: none;
	pointer-events: auto;
}

.mgh-notified-news__card-link--clickable,
.mgh-notified-news__card--clickable,
.mgh-notified-news__card-link--clickable .mgh-notified-news__link {
	cursor: pointer;
}

.mgh-notified-news__image-wrap {
	width: 324px;
	height: 182px;
	border-radius: 8px;
	overflow: hidden;
	background: #f0f0f0;
	margin-bottom: 12px;
}

.mgh-notified-news__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 300ms ease-out;
	transform: scale(1);
	pointer-events: none;
	user-select: none;
	-webkit-user-drag: none;
}

.mgh-notified-news__card--clickable:hover .mgh-notified-news__image,
.mgh-notified-news__card--clickable:focus-within .mgh-notified-news__image,
.mgh-notified-news__card-link:hover .mgh-notified-news__image,
.mgh-notified-news__card-link:focus .mgh-notified-news__image,
.mgh-notified-news__card-link:focus-visible .mgh-notified-news__image {
	transform: scale(1.1);
}

.mgh-notified-news__card-title {
	margin: 0 0 8px;
	color: #2c3a60;
	font-family: Poppins, sans-serif;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.2;
}

.mgh-notified-news__summary {
	margin: 0 0 10px;
	color: #2c3a60;
	font-family: Poppins, sans-serif;
	font-size: 14px;
	font-weight: 300;
	line-height: 1.4;
}

.mgh-notified-news__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #2c3a60;
	font-family: Poppins, sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
}

.mgh-notified-news__card--clickable:hover .mgh-notified-news__link,
.mgh-notified-news__card--clickable:focus-within .mgh-notified-news__link,
.mgh-notified-news__card-link:hover .mgh-notified-news__link,
.mgh-notified-news__card-link:focus .mgh-notified-news__link,
.mgh-notified-news__card-link:focus-visible .mgh-notified-news__link {
	color: #baa558;
}

.mgh-notified-news__link--muted {
	opacity: 0.75;
}

.mgh-notified-news__link-icon {
	display: inline-flex;
	width: 12px;
	height: 12px;
}

.mgh-notified-news__link-icon svg {
	width: 100%;
	height: 100%;
	display: block;
}

.mgh-notified-news__fallback {
	margin: 0;
	color: #4c4c4c;
	font-family: Poppins, sans-serif;
	font-size: 14px;
	line-height: 1.4;
}

@media (min-width: 1280px) {
	.mgh-notified-news {
		padding: 100px 50px 0;
	}

	.mgh-notified-news__card-title {
		font-size: 21px;
	}
}
