
.featured-cards-block {
	display: flex;
	flex-direction: column;
	gap: var(--gutter-inset);
	position: relative;
}

.featured-cards-block>* {
	margin-bottom: 0;
	margin-top: 0;
}

.featured-cards-block--grid .featured-cards-block__grid {
	display: grid;
	gap: var(--cards-gap, 24px);
	grid-template-columns: repeat(var(--cards-columns-mobile, 1), 1fr);
	list-style: none;
	margin: 0;
	padding: 0;
}

@media (min-width:768px) {
	.featured-cards-block--grid .featured-cards-block__grid {
		grid-template-columns: repeat(var(--cards-columns-tablet, 2), 1fr);
	}
}

@media (min-width:1024px) {
	.featured-cards-block--grid .featured-cards-block__grid {
		grid-template-columns: repeat(var(--cards-columns-desktop, 3), 1fr);
	}
}

.featured-cards-block--carousel .carousel-container {
	position: relative;
}

.featured-cards-block--carousel .carousel-container .carousel__swiper {
	overflow: visible;
}

.featured-cards-block--carousel .carousel-container .carousel__swiper .swiper-wrapper {
	display: flex;
}

.featured-cards-block--carousel .carousel-container .carousel__swiper .swiper-wrapper .swiper-slide {
	height: auto;
	list-style: none;
}

.featured-cards-block--carousel .carousel-container .carousel__swiper .swiper-wrapper .swiper-slide>* {
	height: 100%;
}

.featured-cards-block--carousel .carousel-container .carousel__navigation {
	display: flex;
	gap: 12px;
	justify-content: center;
	margin-top: 32px;
}

@media (min-width:768px) {
	.featured-cards-block--carousel .carousel-container .carousel__navigation {
		justify-content: flex-end;
	}
}

.featured-cards-block--carousel .carousel-container .carousel-nav {
	align-items: center;
	background: transparent;
	border: 2px solid;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	height: 48px;
	justify-content: center;
	padding: 0;
	transition: all .2s ease;
	width: 48px;
}

.featured-cards-block--carousel .carousel-container .carousel-nav svg {
	height: 24px;
	width: 24px;
}

.featured-cards-block--carousel .carousel-container .carousel-nav svg path {
	stroke: currentColor;
	transition: stroke .2s ease;
}

.featured-cards-block--carousel .carousel-container .carousel-nav.swiper-button-disabled {
	cursor: not-allowed;
	opacity: .3;
	pointer-events: none;
}

.case-study-card--skeleton {
	pointer-events: none;
}

.case-study-card--skeleton .case-study-card__link {
	cursor: default;
}

.case-study-card--skeleton .skeleton-placeholder {
	animation: skeleton-loading 1.5s ease-in-out infinite;
	background: linear-gradient(90deg, hsla(0, 0%, 100%, .1), hsla(0, 0%, 100%, .2) 50%, hsla(0, 0%, 100%, .1));
	background-size: 200% 100%;
	border-radius: 4px;
}

.case-study-card--skeleton .skeleton-image {
	display: block;
	height: 200px;
	width: 100%;
}

.case-study-card--skeleton .skeleton-text {
	display: inline-block;
	height: 1em;
}

.case-study-card--skeleton .skeleton-text--small {
	height: .875em;
	width: 80px;
}

.case-study-card--skeleton .skeleton-text--large {
	height: 1.5em;
	max-width: 250px;
	width: 100%;
}

@keyframes skeleton-loading {
	0% {
		background-position: 200% 0;
	}
	
	to {
		background-position: -200% 0;
	}
}

.editor-styles-wrapper .featured-cards-block__loading {
	align-items: center;
	background: #f0f0f0;
	border-radius: 4px;
	display: flex;
	justify-content: center;
	padding: 40px;
}

.editor-styles-wrapper .featured-cards-block>.block-editor-inner-blocks>.block-editor-block-list__layout>* {
	margin-bottom: 0;
	margin-top: 0;
}

.editor-styles-wrapper .featured-cards-block__empty {
	background: #f9f9f9;
	border: 2px dashed #ddd;
	border-radius: 4px;
	color: #757575;
	padding: 40px;
	text-align: center;
}

.editor-styles-wrapper .featured-cards-block .featured-cards-preview--grid {
	display: grid;
	gap: var(--cards-gap, 24px);
	grid-template-columns: repeat(var(--cards-columns-mobile, 1), 1fr);
}

@media (min-width:768px) {
	.editor-styles-wrapper .featured-cards-block .featured-cards-preview--grid {
		grid-template-columns: repeat(var(--cards-columns-tablet, 2), 1fr);
	}
}

@media (min-width:1024px) {
	.editor-styles-wrapper .featured-cards-block .featured-cards-preview--grid {
		grid-template-columns: repeat(var(--cards-columns-desktop, 3), 1fr);
	}
}

.editor-styles-wrapper .featured-cards-block .featured-cards-preview--carousel {
	display: flex;
	gap: var(--carousel-gap, 24px);
	overflow-x: auto;
	padding-bottom: 16px;
}

.editor-styles-wrapper .featured-cards-block .featured-cards-preview--carousel::-webkit-scrollbar {
	height: 8px;
}

.editor-styles-wrapper .featured-cards-block .featured-cards-preview--carousel::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 4px;
}

.editor-styles-wrapper .featured-cards-block .featured-cards-preview--carousel::-webkit-scrollbar-thumb {
	background: #888;
	border-radius: 4px;
}

.editor-styles-wrapper .featured-cards-block .featured-cards-preview--carousel::-webkit-scrollbar-thumb:hover {
	background: #555;
}

.editor-styles-wrapper .featured-cards-block .featured-cards-preview--carousel .case-study-card {
	flex-shrink: 0;
	width: 360px;
}

@media (min-width:768px) {
	.editor-styles-wrapper .featured-cards-block .featured-cards-preview--carousel .case-study-card {
		width: 380px;
	}
}

@media (min-width:1024px) {
	.editor-styles-wrapper .featured-cards-block .featured-cards-preview--carousel .case-study-card {
		width: 400px;
	}
}

.editor-styles-wrapper .featured-cards-block .case-study-card--editor {
	position: relative;
}

.editor-styles-wrapper .featured-cards-block .case-study-card--editor:hover .case-study-card__controls {
	opacity: 1;
}

.editor-styles-wrapper .featured-cards-block .case-study-card__controls {
	background: hsla(0, 0%, 100%, .95);
	border-radius: 4px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
	display: flex;
	gap: 4px;
	opacity: 0;
	padding: 4px;
	position: absolute;
	right: 8px;
	top: 8px;
	transition: opacity .2s ease;
	z-index: 10;
}

.editor-styles-wrapper .featured-cards-block .case-study-card__controls button {
	height: 32px;
	min-width: 32px;
}

.editor-styles-wrapper .featured-cards-block--carousel .carousel-container {
	margin-top: 24px;
}

.editor-styles-wrapper .featured-cards-block--carousel .carousel-container .carousel-preview-notice {
	background: #f0f6fc;
	border-left: 4px solid #0073aa;
	border-radius: 2px;
	color: #1e1e1e;
	font-size: 13px;
	margin-bottom: 16px;
	padding: 12px 16px;
	text-align: center;
}

.editor-styles-wrapper .featured-cards-block--carousel .carousel-container .carousel__navigation {
	opacity: .6;
	pointer-events: none;
}

.editor-styles-wrapper .post-selector .components-form-token-field {
	margin-bottom: 12px;
}

.section-inner>.featured-cards-block .carousel__swiper {
	overflow: visible;
}
