.dr-sheet-carousel {
	--dr-carousel-blue: #234e96;
	--dr-carousel-yellow: #ffe500;
	--dr-carousel-gap: 16px;
	--dr-carousel-card-width: 400px;

	position: relative;
	width: 100%;
	overflow: hidden;
	container-type: inline-size;
}

.dr-sheet-carousel__heading {
	margin: 0 0 32px;
	color: var(--dr-carousel-blue);
	font-size: 50px !important;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
}

@media (max-width: 767px) {
    .dr-sheet-carousel__heading {
    font-size: 28px !important;
    }
}

.dr-sheet-carousel__viewport {
	position: relative;
	width: 100%;
	max-width: 100%;
	overflow: hidden;
}

.dr-sheet-carousel__track {
	display: flex;
	align-items: stretch;
	gap: var(--dr-carousel-gap);
	width: max-content;
	max-width: none;
	transition: transform 0.45s ease;
	will-change: transform;
}

.dr-sheet-carousel__card {
	display: flex;
	flex: 0 0 var(--dr-carousel-card-width);
	width: var(--dr-carousel-card-width);
	max-width: var(--dr-carousel-card-width);
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 0;
	min-height: 174px;
	padding: 24px 28px;
	overflow: hidden;
	box-sizing: border-box;
	background: var(--dr-carousel-blue);
	border: 0;
	border-radius: 4px;
	color: #fff;
	text-decoration: none !important;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

a.dr-sheet-carousel__card {
	cursor: pointer;
	text-decoration: none !important;
}

a.dr-sheet-carousel__card:hover,
a.dr-sheet-carousel__card:focus,
a.dr-sheet-carousel__card:active,
a.dr-sheet-carousel__card:visited {
	color: #fff;
	text-decoration: none !important;
}

a.dr-sheet-carousel__card:focus-visible {
	outline: 3px solid var(--dr-carousel-yellow);
	outline-offset: 3px;
}

a.dr-sheet-carousel__card:hover,
a.dr-sheet-carousel__card:focus {
	background: #1d4280;
	transform: translateY(-2px);
}

.dr-sheet-carousel__title {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 2em;
	margin: 0;
	padding: 0;
	overflow: hidden;
	color: #fff !important;
	font-size: 23px !important;
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
	text-decoration: none !important;
	text-wrap: balance;
}

.dr-sheet-carousel__title-text {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.dr-sheet-carousel__date {
	margin: 0px 0 0;
	padding: 0;
	color: rgba(255, 255, 255, 0.88);
	font-size: 17px !important;
	font-weight: 400;
	line-height: 1.35;
	text-align: center;
	text-decoration: none !important;
}

.dr-sheet-carousel__more {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 10px 0 0;
	padding: 0 0 3px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.9);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.01em;
	text-decoration: none !important;
}

.dr-sheet-carousel__more span {
	color: #fff;
	font-size: 18px;
	line-height: 1;
	transition: transform 0.2s ease;
}

.dr-sheet-carousel__date--empty,
.dr-sheet-carousel__more--empty {
	visibility: hidden;
}

a.dr-sheet-carousel__card:hover .dr-sheet-carousel__more span,
a.dr-sheet-carousel__card:focus .dr-sheet-carousel__more span {
	transform: translateX(3px);
}

.dr-sheet-carousel__controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	margin-top: 28px;
}

.dr-sheet-carousel__arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: var(--dr-carousel-yellow);
	color: var(--dr-carousel-blue);
	font-size: 44px;
	font-weight: 700;
	line-height: 1;
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.16);
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dr-sheet-carousel__arrow:hover,
.dr-sheet-carousel__arrow:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 5px 16px rgba(0, 0, 0, 0.2);
}

.dr-sheet-carousel__arrow:disabled {
	opacity: 0.35;
	cursor: default;
}

.dr-sheet-carousel__message {
	padding: 20px;
	border: 1px solid #d1d5db;
	background: #f9fafb;
	text-align: center;
}

@media (max-width: 1024px) {
	.dr-sheet-carousel {
		--dr-carousel-card-width: 320px;
	}

	.dr-sheet-carousel__heading {
		font-size: 30px;
	}

	.dr-sheet-carousel__title {
		font-size: 21px !important;
	}
}

@media (max-width: 767px) {
	.dr-sheet-carousel {
		/* Size from the Elementor container, not the browser viewport. */
		--dr-carousel-card-width: min(400px, calc(100cqw - 48px));
	}

	.dr-sheet-carousel__heading {
		margin-bottom: 22px;
		font-size: 27px;
	}

	.dr-sheet-carousel__track {
		touch-action: pan-y;
	}

	.dr-sheet-carousel__arrow {
		width: 54px;
		height: 54px;
		font-size: 40px;
	}

	.dr-sheet-carousel__card {
		min-height: 172px;
		padding: 22px;
	}

	.dr-sheet-carousel__title {
		font-size: 20px !important;
	}

	.dr-sheet-carousel__date {
		font-size: 15px !important;
	}

	.dr-sheet-carousel__more {
		font-size: 14px;
	}
}
