.rrca-carousel,
.rrca-carousel * {
	box-sizing: border-box;
}

.rrca-carousel {
	--rrca-gap: 24px;
	--rrca-transition: 450ms;
	position: relative;
	width: 100%;
	max-width: 100%;
}

.rrca-viewport {
	width: 100%;
	overflow: hidden;
	touch-action: pan-y;
}

.rrca-track {
	display: flex;
	align-items: stretch;
	gap: var(--rrca-gap);
	transform: translate3d(0, 0, 0);
	transition: transform var(--rrca-transition) cubic-bezier(.22, .61, .36, 1);
	will-change: transform;
}

.rrca-slide {
	display: flex;
	flex: 0 0 auto;
	min-width: 0;
	height: auto;
}

.rrca-card {
	display: flex;
	align-items: stretch;
	width: 100%;
	min-width: 0;
	overflow: hidden;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 12px 34px rgba(15, 23, 42, .09);
	transform: translateZ(0);
}

.rrca-equal-height-yes .rrca-slide,
.rrca-equal-height-yes .rrca-card {
	height: 100%;
}

.rrca-image {
	--rrca-image-side-width: 42%;
	--rrca-image-stack-height: 250px;
	position: relative;
	display: block;
	flex: 0 0 var(--rrca-image-side-width);
	width: var(--rrca-image-side-width);
	min-width: 0;
	overflow: hidden;
	background: #eef2f7;
	text-decoration: none;
}

.rrca-card-no-image .rrca-content {
	width: 100%;
	flex-basis: auto;
}

.rrca-image-element,
.rrca-image img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: inherit;
	object-fit: cover;
	transition: transform .4s ease;
}

.rrca-card:hover .rrca-image img {
	transform: scale(1.035);
}

.rrca-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	min-height: inherit;
	background:
		linear-gradient(135deg, rgba(226, 232, 240, .9), rgba(248, 250, 252, .96)),
		repeating-linear-gradient(45deg, transparent, transparent 12px, rgba(148, 163, 184, .08) 12px, rgba(148, 163, 184, .08) 24px);
}

.rrca-content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	min-width: 0;
	padding: 30px;
}

.rrca-category {
	margin: 0 0 8px;
	color: #64748b;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .065em;
	line-height: 1.35;
	text-transform: uppercase;
}

.rrca-title {
	margin: 0 0 10px;
	color: #172033;
	font-size: clamp(20px, 2vw, 28px);
	font-weight: 700;
	line-height: 1.2;
	overflow-wrap: anywhere;
}

.rrca-title a {
	color: inherit;
	text-decoration: none;
}

.rrca-title a:hover {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.rrca-date {
	display: block;
	margin: 0 0 14px;
	color: #64748b;
	font-size: 13px;
	line-height: 1.5;
}

.rrca-excerpt {
	margin: 0 0 20px;
	color: #566174;
	font-size: 15px;
	line-height: 1.65;
	overflow-wrap: anywhere;
}

.rrca-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	max-width: 100%;
	margin-top: auto;
	padding: 11px 18px;
	border-radius: 8px;
	background: #2563eb;
	color: #fff;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.rrca-button:hover {
	background: #1d4ed8;
	color: #fff;
	transform: translateY(-1px);
}

.rrca-arrow {
	position: absolute;
	top: 50%;
	z-index: 5;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: #fff;
	color: #172033;
	box-shadow: 0 8px 24px rgba(15, 23, 42, .16);
	cursor: pointer;
	transform: translateY(-50%);
	transition: opacity .2s ease, transform .2s ease;
}

.rrca-arrow:hover:not(:disabled) {
	transform: translateY(-50%) scale(1.05);
}

.rrca-prev {
	left: 8px;
}

.rrca-next {
	right: 8px;
}

.rrca-arrow:disabled {
	opacity: .3;
	cursor: default;
}

.rrca-dots {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 20px;
}

.rrca-dot {
	width: 9px;
	height: 9px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: #cbd5e1;
	cursor: pointer;
	transition: width .2s ease, background-color .2s ease;
}

.rrca-dot.is-active {
	width: 24px;
	background: #2563eb;
}

.rrca-empty {
	padding: 18px 20px;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	background: #f8fafc;
	color: #475569;
	text-align: center;
}

.rrca-arrow:focus-visible,
.rrca-dot:focus-visible,
.rrca-image:focus-visible,
.rrca-title a:focus-visible,
.rrca-button:focus-visible {
	outline: 3px solid rgba(37, 99, 235, .35);
	outline-offset: 3px;
}

.rrca-slide[aria-hidden="true"] {
	pointer-events: none;
}

.rrca-carousel[data-layout="right"] .rrca-image {
	flex: 0 0 var(--rrca-image-side-width);
	width: var(--rrca-image-side-width);
	height: auto;
	min-height: 100%;
}

.rrca-carousel[data-layout="bottom"] .rrca-card {
	flex-direction: column;
}

.rrca-carousel[data-layout="bottom"] .rrca-image {
	flex: 0 0 var(--rrca-image-stack-height);
	width: 100%;
	height: var(--rrca-image-stack-height);
	min-height: var(--rrca-image-stack-height);
}

@media (max-width: 767px) {
	.rrca-content {
		padding: 22px;
	}

	.rrca-title {
		font-size: 22px;
	}

	.rrca-arrow {
		width: 38px;
		height: 38px;
	}

	.rrca-prev {
		left: 4px;
	}

	.rrca-next {
		right: 4px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rrca-track,
	.rrca-image img,
	.rrca-button,
	.rrca-arrow,
	.rrca-dot {
		transition: none !important;
	}
}
