.bcom-pcar {
	--bcom-pcar-per-view: 3;
	--bcom-pcar-per-view-compact: 2;
	--bcom-pcar-gap: 15px;
	--bcom-pcar-promo-w: 400px;
	--bcom-pcar-arrow: 48px;
	font-family: var(--bcom-font);
}

.bcom-pcar__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--bcom-space-3) var(--bcom-space-5);
	margin-bottom: var(--bcom-space-5);
}

.bcom-pcar__heading {
	margin: 0;
	color: var(--bcom-fg-brand);
	font-family: var(--bcom-font);
	font-size: var(--bcom-fs-xl);
	font-weight: var(--bcom-fw-semibold);
	line-height: var(--bcom-lh-tight);
}

.bcom-pcar__all {
	display: inline-flex;
	align-items: center;
	gap: var(--bcom-space-2);
	color: var(--bcom-fg-brand);
	font-size: var(--bcom-fs-base);
	font-weight: var(--bcom-fw-semibold);
	text-decoration: none;
	transition: color var(--bcom-duration) cubic-bezier(0.23, 1, 0.32, 1);
}

.bcom-pcar__all:is(:link, :visited, :focus) {
	color: var(--bcom-fg-brand);
	text-decoration: none;
}

.bcom-pcar__all:focus-visible {
	border-radius: var(--bcom-radius-xs);
	outline: none;
	box-shadow: var(--bcom-focus-ring);
}

.bcom-pcar__all svg {
	transition: transform var(--bcom-dur-fast) cubic-bezier(0.23, 1, 0.32, 1);
}

@media (hover: hover) and (pointer: fine) {
	.bcom-pcar__all:hover {
		color: var(--bcom-accent-text);
		text-decoration: none;
	}

	.bcom-pcar__all:hover svg {
		transform: translateX(calc(2px * var(--bcom-motion, 1)));
	}
}

.bcom-pcar__body {
	display: flex;
	align-items: stretch;
	gap: var(--bcom-pcar-gap);
}

.bcom-pcar__promo {
	position: relative;
	display: flex;
	flex: 0 0 var(--bcom-pcar-promo-w);
	flex-direction: column;
	justify-content: flex-end;
	min-height: 420px;
	overflow: hidden;
	border-radius: var(--bcom-radius-md);
	background: var(--bcom-navy-100);
	color: var(--bcom-white);
	text-decoration: none;
}

.bcom-pcar__promo-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.bcom-pcar__promo-content {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--bcom-space-3);
	padding: 96px var(--bcom-space-5) var(--bcom-space-5);
	background: linear-gradient(to top, rgb(7 55 99 / 88%) 0%, rgb(7 55 99 / 55%) 55%, rgb(7 55 99 / 0%) 100%);
}

.bcom-pcar__promo-title {
	font-size: 22px;
	font-weight: var(--bcom-fw-medium);
	line-height: 1.25;
}

.bcom-pcar__promo-text {
	font-size: var(--bcom-fs-sm);
	line-height: var(--bcom-lh-base);
}

.bcom-pcar__promo-btn {
	display: inline-flex;
	align-items: center;
	min-height: var(--bcom-touch);
	padding: 10px 20px;
	border-radius: var(--bcom-radius-pill);
	background: var(--bcom-accent);
	color: var(--bcom-on-accent);
	font-size: 15px;
	font-weight: var(--bcom-fw-semibold);
	transition: background-color var(--bcom-duration) cubic-bezier(0.23, 1, 0.32, 1), color var(--bcom-duration) cubic-bezier(0.23, 1, 0.32, 1), transform var(--bcom-dur-fast) cubic-bezier(0.23, 1, 0.32, 1);
}

a.bcom-pcar__promo:active .bcom-pcar__promo-btn {
	transform: scale(calc(1 - 0.03 * var(--bcom-motion, 1)));
}

@media (hover: hover) and (pointer: fine) {
	a.bcom-pcar__promo:hover .bcom-pcar__promo-btn {
		background: var(--bcom-accent-hover);
		color: var(--bcom-on-accent);
	}
}

.bcom-pcar__promo:focus-visible {
	outline: 2px solid var(--bcom-focus);
	outline-offset: 2px;
}

.bcom-pcar__main {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-width: 0;
}

.bcom-pcar__controls {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-bottom: var(--bcom-space-3);
}

.bcom-pcar__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--bcom-pcar-arrow);
	height: var(--bcom-pcar-arrow);
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: var(--bcom-radius-sm);
	background: transparent;
	color: var(--bcom-fg-soft);
	cursor: pointer;
	transition: color var(--bcom-duration) cubic-bezier(0.23, 1, 0.32, 1), opacity var(--bcom-duration) cubic-bezier(0.23, 1, 0.32, 1), transform var(--bcom-dur-fast) cubic-bezier(0.23, 1, 0.32, 1);
}

.bcom-pcar__arrow .bcom-icon {
	width: 24px;
	height: 24px;
}

.bcom-pcar__arrow:not(:disabled):active {
	transform: scale(calc(1 - 0.03 * var(--bcom-motion, 1)));
}

@media (hover: hover) and (pointer: fine) {
	.bcom-pcar__arrow:not(:disabled):hover {
		background: transparent;
		color: var(--bcom-accent-text);
	}
}

.bcom-pcar__arrow:disabled {
	opacity: 0.35;
	cursor: default;
}

.bcom-pcar__arrow:focus-visible,
.bcom-pcar__dot:focus-visible {
	outline: none;
	box-shadow: var(--bcom-focus-ring);
}

.bcom-pcar__track {
	--bcom-pcar-n: var(--bcom-pcar-per-view);
	position: relative;
	display: flex;
	align-items: stretch;
	gap: var(--bcom-pcar-gap);
	margin: 0;
	padding: 0;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	list-style: none;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.bcom-pcar__track::-webkit-scrollbar {
	display: none;
}

.bcom-pcar__slide {
	display: flex;
	align-items: stretch;
	flex: 0 0 calc((100% - (var(--bcom-pcar-n) - 1) * var(--bcom-pcar-gap)) / var(--bcom-pcar-n));
	min-width: 0;
	margin: 0;
	padding: 0;
	scroll-snap-align: start;
}

.bcom-pcar__slide > .bcom-card {
	width: 100%;
	height: auto;
	min-height: 100%;
}

.bcom-pcar__dots {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0 var(--bcom-space-2);
	max-width: 1170px;
	margin: var(--bcom-space-5) auto 0;
}

.bcom-pcar__dot {
	position: relative;
	width: 56px;
	height: 24px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.bcom-pcar__dot::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 6px;
	margin-top: -3px;
	border-radius: var(--bcom-radius-pill);
	background: var(--bcom-line);
	transition: background-color var(--bcom-duration) cubic-bezier(0.23, 1, 0.32, 1);
}

@media (hover: hover) and (pointer: fine) {
	.bcom-pcar__dot:hover::before {
		background: var(--bcom-line-strong);
	}
}

.bcom-pcar__dot[aria-current="true"]::before {
	background: var(--bcom-fg-brand);
}

.bcom-pcar__main.is-static .bcom-pcar__controls,
.bcom-pcar__main.is-static .bcom-pcar__dots {
	display: none;
}

@media (max-width: 1499px) {
	.bcom-pcar {
		--bcom-pcar-promo-w: 350px;
	}
}

@media (max-width: 1299px) {
	.bcom-pcar__track {
		--bcom-pcar-n: var(--bcom-pcar-per-view-compact);
	}
}

@media (max-width: 1199px) {
	.bcom-pcar__promo {
		display: none;
	}
}

@media (max-width: 959px) {
	.bcom-pcar__controls,
	.bcom-pcar__dots {
		display: none;
	}

	.bcom-pcar__track {
		gap: 10px;
		padding-bottom: var(--bcom-space-3);
		scroll-snap-type: x proximity;
		scrollbar-width: thin;
	}

	.bcom-pcar__track::-webkit-scrollbar {
		display: block;
		height: 4px;
	}

	.bcom-pcar__slide {
		flex-basis: 41vw;
	}
}

@media (max-width: 767px) {
	.bcom-pcar__slide {
		flex-basis: 60vw;
	}
}

@media (max-width: 599px) {
	.bcom-pcar__slide {
		flex-basis: 68vw;
	}
}

@media (max-width: 399px) {
	.bcom-pcar__slide {
		flex-basis: 74vw;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bcom-pcar__track {
		scroll-behavior: auto;
	}

	.bcom-pcar__all svg {
		transition: none;
	}
}
