.mcdf-hot-topics {
	position: relative;
	left: 50%;
	width: 100vw;
	max-width: none;
	margin: 0;
	box-sizing: border-box;
	transform: translateX(-50%);
}

.mcdf-hot-topics__layout {
	display: grid;
	grid-template-columns: minmax(0, 699px) minmax(0, 734px);
	width: 100%;
	justify-content: end;
	gap: 40px;
	align-items: stretch;
}

.mcdf-hot-topic-feature {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 471px;
	overflow: hidden;
	border-radius: 15px;
	background-color: #191919;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	box-shadow: 0 24px 42px rgba(0, 0, 0, 0.28);
	color: #fff;
	text-decoration: none;
}

.mcdf-hot-topic-feature:visited,
.mcdf-hot-topic-feature:hover,
.mcdf-hot-topic-feature:focus,
.mcdf-hot-topic-feature:active,
.mcdf-hot-topic-side:visited,
.mcdf-hot-topic-side:hover,
.mcdf-hot-topic-side:focus,
.mcdf-hot-topic-side:active {
	color: inherit;
	text-decoration: none;
}

.mcdf-hot-topic-feature:focus-visible,
.mcdf-hot-topic-side:focus-visible {
	outline: 3px solid #6b8d73;
	outline-offset: 4px;
}

.mcdf-hot-topic-feature--no-image {
	background: linear-gradient(135deg, #333 0%, #111 100%);
}

.mcdf-hot-topic-feature__shade {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.18) 48%, rgba(0, 0, 0, 0.84) 100%),
		linear-gradient(90deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.06) 70%);
	transition: opacity 220ms ease;
}

.mcdf-hot-topic-feature:hover .mcdf-hot-topic-feature__shade,
.mcdf-hot-topic-feature:focus-visible .mcdf-hot-topic-feature__shade {
	opacity: 0.94;
}

.mcdf-hot-topic-feature__content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	width: 100%;
	min-height: 165px;
	padding: 0 46px 17px;
}

.mcdf-hot-topic-feature__title {
	display: block;
	margin-bottom: 32px;
	color: #fff;
	font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 22px;
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: 0;
	transition: margin-bottom 220ms ease;
}

.mcdf-hot-topic-feature__description {
	display: -webkit-box;
	max-width: 520px;
	max-height: 0;
	margin: 0;
	overflow: hidden;
	color: #fff;
	font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.55;
	letter-spacing: 0;
	opacity: 0;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	transform: translateY(12px);
	transition: max-height 220ms ease, margin-bottom 220ms ease, opacity 220ms ease, transform 220ms ease;
}

.mcdf-hot-topic-feature:hover .mcdf-hot-topic-feature__title,
.mcdf-hot-topic-feature:focus-visible .mcdf-hot-topic-feature__title {
	margin-bottom: 4px;
}

.mcdf-hot-topic-feature:hover .mcdf-hot-topic-feature__description,
.mcdf-hot-topic-feature:focus-visible .mcdf-hot-topic-feature__description {
	max-height: 54px;
	margin-bottom: 28px;
	opacity: 1;
	transform: translateY(0);
}

.mcdf-hot-topic-feature__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	width: 100%;
}

.mcdf-hot-topic-feature__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 83px;
	min-height: 45px;
	padding: 10px 22px;
	border-radius: 999px;
	background: #6b8d73;
	color: #fff;
	font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	transition: background-color 180ms ease;
}

.mcdf-hot-topic-feature:hover .mcdf-hot-topic-feature__button,
.mcdf-hot-topic-feature:focus-visible .mcdf-hot-topic-feature__button {
	background: #497b55;
}

.mcdf-hot-topic-feature__label {
	color: #fff;
	font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	text-align: right;
}

.mcdf-hot-topics__side-list {
	display: flex;
	flex-direction: column;
	gap: 35px;
	max-height: 425px;
	overflow-x: hidden;
	overflow-y: auto;
	padding-right: 10px;
	scrollbar-color: #404041 transparent;
	scrollbar-width: thin;
}

.mcdf-hot-topics__side-list::-webkit-scrollbar {
	width: 10px;
}

.mcdf-hot-topics__side-list::-webkit-scrollbar-track {
	background: transparent;
}

.mcdf-hot-topics__side-list::-webkit-scrollbar-thumb {
	border-radius: 20px;
	background: #404041;
}

.mcdf-hot-topic-side {
	display: grid;
	grid-template-columns: 226px minmax(0, 1fr);
	gap: 25px;
	align-items: center;
	color: #222;
	text-decoration: none;
	flex: 0 0 auto;
}

.mcdf-hot-topic-side__image-wrap {
	display: block;
	width: 100%;
	height: 195px;
	overflow: hidden;
	border-radius: 8px;
	background: #f7f5ef;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.elementor .mcdf-hot-topics .mcdf-hot-topic-side__image-wrap {
	width: 100%;
	height: 195px;
}

.mcdf-hot-topics .mcdf-hot-topic-side__image,
.elementor .mcdf-hot-topics .mcdf-hot-topic-side__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

.mcdf-hot-topic-side__body {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.mcdf-hot-topic-side__title {
	color: #222;
	font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 22px;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: 0;
}

.mcdf-hot-topic-side:hover .mcdf-hot-topic-side__title,
.mcdf-hot-topic-side:focus .mcdf-hot-topic-side__title {
	text-decoration: underline;
	text-decoration-color: #cba760;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.mcdf-hot-topic-side__label {
	color: #222;
	font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.3;
}

.mcdf-hot-topics__see-all {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 62px;
	color: #222;
	font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
}

.mcdf-hot-topics__see-all:visited,
.mcdf-hot-topics__see-all:hover,
.mcdf-hot-topics__see-all:focus,
.mcdf-hot-topics__see-all:active {
	color: #222;
	text-decoration: none;
}

@media (max-width: 1024px) {
	.mcdf-hot-topics {
		padding: 0 24px;
		transform: translateX(-50%);
	}

	.mcdf-hot-topics__layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.mcdf-hot-topic-feature {
		min-height: 420px;
	}

	.mcdf-hot-topics__side-list {
		display: flex;
		flex-direction: row;
		gap: 20px;
		max-height: none;
		overflow-x: auto;
		overflow-y: hidden;
		margin-top: 0;
		padding: 0 0 18px;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.mcdf-hot-topics__side-list::-webkit-scrollbar {
		display: none;
	}

	.mcdf-hot-topic-side {
		display: flex;
		flex: 0 0 260px;
		flex-direction: column;
		gap: 0;
		width: 260px;
		min-height: 330px;
		overflow: hidden;
		border-radius: 8px;
		background: #fff;
		box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
		scroll-snap-align: start;
	}

	.mcdf-hot-topic-side__image-wrap {
		width: 100%;
		height: 180px;
		border-radius: 0;
		box-shadow: none;
	}

	.mcdf-hot-topic-side__body {
		gap: 18px;
		padding: 20px 18px 22px;
	}

	.mcdf-hot-topic-side__title {
		font-size: 20px;
		line-height: 1.35;
	}
}

@media (max-width: 767px) {
	.mcdf-hot-topics {
		padding: 0 13px;
	}

	.mcdf-hot-topic-feature {
		min-height: 306px;
		border-radius: 8px;
	}

	.mcdf-hot-topic-feature__content {
		min-height: 140px;
		padding: 0 18px 24px;
	}

	.mcdf-hot-topic-feature__title {
		margin-bottom: 24px;
	}

	.mcdf-hot-topic-feature__description {
		display: none;
	}

	.mcdf-hot-topics__side-list {
		gap: 16px;
		margin-top: 20px;
	}

	.mcdf-hot-topic-side {
		flex: 0 0 174px;
		width: 174px;
		min-height: 326px;
	}

	.mcdf-hot-topic-side__image-wrap {
		width: 100%;
		height: 174px;
		border-radius: 0;
		box-shadow: none;
	}

	.mcdf-hot-topic-side__title {
		font-size: 18px;
		line-height: 1.55;
	}

	.mcdf-hot-topic-side__body {
		gap: 20px;
		padding: 20px 14px 22px;
	}
}
