.emd,
.emd * {
	box-sizing: border-box;
}

.emd {
	--emd-navy: #102f51;
	--emd-blue: #1c5279;
	--emd-sky: #4f91b5;
	--emd-light: #78b7d2;
	--emd-orange: #ef7b2d;
	display: grid;
	grid-template-columns: 210px minmax(0, 1fr) 104px;
	width: 100%;
	max-width: none;
	min-height: 165px;
	margin: 28px 0;
	overflow: hidden;
	color: #fff;
	background: linear-gradient(108deg, var(--emd-navy) 0%, var(--emd-blue) 44%, var(--emd-sky) 100%);
	border: 1px solid rgba(79, 145, 181, .28);
	border-radius: 5px;
	box-shadow: 0 12px 30px rgba(16, 47, 81, .18);
	font-family: Poppins, "Inter Local", Arial, sans-serif;
}

.emd__label {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 13px;
	padding: 28px 24px 28px 36px;
	background: linear-gradient(145deg, #0d2948 0%, var(--emd-navy) 100%);
	border-right: 1px solid rgba(255, 255, 255, .16);
}

.emd__label-rule {
	display: block;
	width: 38px;
	height: 3px;
	background: var(--emd-orange);
	box-shadow: 0 0 0 4px rgba(239, 123, 45, .12);
}

.emd__label strong {
	max-width: 135px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 1.25px;
}

.emd__slider {
	position: relative;
	min-width: 0;
}

.emd__viewport {
	height: 100%;
	overflow: hidden;
}

.emd__stories {
	display: flex;
	height: 100%;
	min-width: 0;
	will-change: transform;
	transition: transform .48s cubic-bezier(.22, .61, .36, 1);
}

.emd__story {
	display: grid;
	flex: 0 0 33.333333%;
	grid-template-columns: 104px minmax(0, 1fr);
	align-items: center;
	gap: 17px;
	min-width: 0;
	padding: 25px 23px;
	border-right: 1px solid rgba(255, 255, 255, .16);
	border-top: 3px solid transparent;
	transition: background .22s ease, border-color .22s ease;
}

.emd__story:nth-child(1) {
	background: rgba(25, 79, 119, .42);
}

.emd__story:nth-child(2) {
	background: rgba(63, 137, 177, .30);
}

.emd__story:nth-child(3) {
	background: rgba(120, 183, 210, .22);
}

.emd__story:hover {
	background: rgba(239, 123, 45, .14);
	border-top-color: var(--emd-orange);
}

.emd__thumb {
	display: block;
	width: 104px;
	height: 82px;
	overflow: hidden;
	background: rgba(255, 255, 255, .1);
	border-radius: 2px;
	box-shadow: 0 6px 15px rgba(8, 35, 60, .22);
}

.emd__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .25s ease;
}

.emd__story:hover .emd__thumb img {
	transform: scale(1.04);
}

.emd__fallback {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .04));
}

.emd__content {
	min-width: 0;
}

.emd__content h3 {
	display: -webkit-box;
	overflow: hidden;
	margin: 0;
	font-family: Poppins, "Inter Local", Arial, sans-serif;
	font-size: clamp(15px, 1vw, 16px);
	font-weight: 600;
	line-height: 1.38;
	letter-spacing: -.1px;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.emd__content h3 a,
.emd__content h3 a:hover,
.emd__content h3 a:focus {
	color: #fff;
	text-decoration: none;
}

.emd__content h3 a:focus-visible,
.emd__more:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 4px;
}

.emd__content p {
	margin: 11px 0 0;
	color: rgba(255, 255, 255, .9);
	font-size: 10px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: .2px;
	text-transform: uppercase;
}

.emd__more {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 18px 12px;
	color: #fff;
	text-align: center;
	text-decoration: none;
	background: linear-gradient(150deg, #f18a42 0%, var(--emd-orange) 58%, #d65f18 100%);
	box-shadow: inset 1px 0 rgba(255, 255, 255, .16);
	transition: filter .2s ease, transform .2s ease;
}

.emd__more:hover {
	color: #fff;
	filter: brightness(1.08);
}

.emd__more span {
	font-size: 10px;
	font-weight: 800;
	line-height: 1.35;
	letter-spacing: .8px;
}

.emd__more b {
	font-size: 28px;
	font-weight: 300;
	line-height: 1;
	transition: transform .2s ease;
}

.emd__more:hover b {
	transform: translateX(3px);
}

.emd__nav {
	position: absolute;
	top: 50%;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 30px;
	height: 42px;
	padding: 0;
	color: #fff;
	font: inherit;
	font-size: 25px;
	line-height: 1;
	background: rgba(13, 41, 72, .72);
	border: 1px solid rgba(255, 255, 255, .34);
	border-radius: 3px;
	cursor: pointer;
	transform: translateY(-50%);
	transition: background .2s ease, border-color .2s ease;
}

.emd__nav:hover,
.emd__nav:focus-visible {
	background: var(--emd-orange);
	border-color: var(--emd-orange);
}

.emd__nav--prev {
	left: 7px;
}

.emd__nav--next {
	right: 7px;
}

@media (max-width: 1280px) {
	.emd {
		grid-template-columns: 190px minmax(0, 1fr) 92px;
	}

	.emd__story {
		flex-basis: 50%;
	}
}

@media (max-width: 900px) {
	.emd {
		display: block;
		min-height: 0;
		border-radius: 0;
	}

	.emd__label {
		flex-direction: row;
		align-items: center;
		justify-content: flex-start;
		padding: 18px 22px;
		border-right: 0;
		border-bottom: 1px solid rgba(255, 255, 255, .16);
		background: linear-gradient(100deg, #0d2948, var(--emd-blue));
	}

	.emd__label strong {
		max-width: none;
	}

	.emd__slider {
		min-height: 142px;
	}

	.emd__story,
	.emd__story:nth-child(3) {
		display: grid;
		flex: 0 0 100%;
		min-height: 142px;
		padding: 23px 21px;
	}

	.emd__content h3 {
		font-size: 15px;
		line-height: 1.4;
		-webkit-line-clamp: 3;
	}

	.emd__more {
		flex-direction: row;
		min-height: 58px;
		border-top: 1px solid rgba(255, 255, 255, .16);
		background: linear-gradient(100deg, var(--emd-orange), #d65f18);
	}

	.emd__nav {
		width: 32px;
		height: 38px;
	}
}

@media (max-width: 520px) {
	.emd {
		margin: 20px 0;
	}

	.emd__label {
		padding: 16px 18px;
	}

	.emd__label strong {
		font-size: 15px;
	}

	.emd__story,
	.emd__story:nth-child(3) {
		grid-template-columns: 88px minmax(0, 1fr);
		gap: 14px;
		flex-basis: 100%;
		padding: 20px 18px;
	}

	.emd__thumb {
		width: 88px;
		height: 72px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.emd__thumb img,
	.emd__more,
	.emd__stories,
	.emd__nav {
		transition: none;
	}
}
