/* Feature cards (cwp/feature-cards): "Everything inside" on the Rawk the Year pages.
   A row of ivory cards wider than the page's text column, scrolling sideways with arrows under it.
   Three cards on a computer, two from 768px down to tablet, one on phones under 600px. */
.block-feature-cards {
}


.block-feature-cards__track {
	display: flex;
	gap: 28px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
}

.block-feature-cards__track::-webkit-scrollbar {
	display: none;
}

.block-feature-cards__card {
	flex: 0 0 calc((100% - 56px) / 3);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--wp--preset--color--background);
	color: var(--wp--preset--color--primary);
	scroll-snap-align: start;
}

@media only screen and (max-width: 991px) {
	.block-feature-cards__card {
		flex-basis: calc((100% - 28px) / 2);
	}
}

@media only screen and (max-width: 599px) {
	.block-feature-cards__card {
		flex-basis: 100%;
	}
}

.block-feature-cards__body {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 26px 24px 22px;
	text-align: center;
}

.block-feature-cards__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--quaternary);
}

.block-feature-cards .block-feature-cards__title {
	margin: 0;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.15;
	color: var(--wp--preset--color--primary);
}

.block-feature-cards__text {
	margin: 0;
	font-size: 1rem;
	line-height: 1.55;
}

/* Foot strip: a brass line over a small ivory one, on dark green */
.block-feature-cards__foot {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 14px 24px;
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--background);
	font-size: 0.9375rem;
	text-align: center;
}

.block-feature-cards__foot b {
	font-size: 1.0625rem;
	color: var(--wp--preset--color--quaternary);
}

/* Arrows: brass circles, the band's own button colours */
.block-feature-cards__arrows {
	display: flex;
	justify-content: center;
	gap: 16px;
	margin-top: 22px;
}

.block-feature-cards__arrow {
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--wp--preset--color--quaternary);
	border-radius: 50%;
	background: var(--wp--preset--color--quaternary);
	color: var(--wp--preset--color--primary);
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}

.block-feature-cards__arrow:is(:hover, :focus-visible) {
	background: transparent;
	border-color: var(--wp--preset--color--brass-dark);
	color: var(--wp--preset--color--brass-dark);
}
