.rcm-seasonal-topic,
.rcm-seasonal-topic * {
	box-sizing: border-box;
}

.rcm-seasonal-topic {
	padding: 19px 0 70px;
	background: #fff;
}

.rcm-seasonal-topic__container {
	width: min(1278px, calc(100% - 32px));
	margin: 0 auto;
}

.rcm-seasonal-topic__hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 283px;
	border-radius: 6px;
	background-color: #d9d9d9;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	overflow: hidden;
}

.rcm-seasonal-topic__hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(271deg, rgba(152, 129, 202, 0) 0.82%, var(--rcm-seasonal-accent, #f3494c) 99.63%);
}

.rcm-seasonal-topic__hero-content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 13px;
}

.rcm-seasonal-topic__hero-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 91.574px;
	height: 91.574px;
	border-radius: 50%;
	overflow: hidden;
}

.rcm-seasonal-topic__hero-icon img,
.rcm-seasonal-topic__hero-icon svg {
	width: 91.574px;
	height: 91.574px;
}

.rcm-seasonal-topic__hero-title {
	margin: 0;
	color: #fff;
	font-family: Manrope, sans-serif;
	font-size: 28.42px;
	font-weight: 700;
	line-height: 41.208px;
	text-align: center;
}

.rcm-seasonal-topic__ad {
	display: grid;
	place-items: center;
	width: min(920px, calc(100% - 80px));
	height: 70px;
	margin: 64px auto 72px;
	border-radius: 12px;
	background: #f1f1f1;
	color: #000;
	font-family: Inter, sans-serif;
	font-size: 28.59px;
	font-weight: 500;
	line-height: 1;
}

.rcm-seasonal-topic__subtopics {
	width: min(976px, 100%);
	margin: 0 auto;
}

.rcm-seasonal-topic__subtopics-row {
	display: flex;
	justify-content: center;
	gap: 11px;
}

.rcm-seasonal-topic__subtopics-row + .rcm-seasonal-topic__subtopics-row {
	margin-top: 11px;
}

.rcm-seasonal-topic__subtopic-card {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 318px;
	height: 318px;
	background-color: #d9d9d9;
	background-position: center;
	background-size: cover;
	text-decoration: none;
	overflow: hidden;
}

.rcm-seasonal-topic__subtopic-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(104, 103, 103, 0) 40%, var(--rcm-seasonal-accent, #f3494c) 100%);
}

.rcm-seasonal-topic__subtopic-card span {
	position: relative;
	z-index: 1;
	padding: 0 12px;
	color: #fff;
	font-family: Manrope, sans-serif;
	font-size: 27.255px;
	font-weight: 700;
	line-height: 35.521px;
	text-align: center;
	text-transform: uppercase;
}

@media (max-width: 1024px) {
	.rcm-seasonal-topic__hero {
		min-height: 245px;
	}

	.rcm-seasonal-topic__hero-icon {
		width: 78px;
		height: 78px;
	}

	.rcm-seasonal-topic__hero-title { font-size: 26px; line-height: 1.35; }

	.rcm-seasonal-topic__ad {
		width: 100%;
		margin-top: 44px;
		margin-bottom: 50px;
	}

	.rcm-seasonal-topic__subtopic-card { width: calc((100% - 22px) / 3); height: auto; aspect-ratio: 1 / 1; min-width: 0; }

}

@media (max-width: 767px) {
	.rcm-seasonal-topic {
		padding: 16px 0 48px;
	}

	.rcm-seasonal-topic__container {
		width: calc(100% - 20px);
	}

	.rcm-seasonal-topic__hero {
		min-height: 210px;
	}

	.rcm-seasonal-topic__hero-title {
		font-size: 28px;
	}

	.rcm-seasonal-topic__ad {
		width: 100%;
		height: 60px;
		margin: 30px auto 34px;
		font-size: 24px;
	}

	.rcm-seasonal-topic__subtopics-row {
		flex-wrap: wrap;
	}

	.rcm-seasonal-topic__subtopic-card { width: 100%; min-width: 0; aspect-ratio: 16 / 11; height: auto; }

	.rcm-seasonal-topic__subtopic-card span {
		font-size: 24px;
		line-height: 1.25;
	}

}
