/**
 * CES Showcase block — layout and spacing.
 *
 * @package PEAKT_Core
 */
 .ces-showcase {
	padding-top: 20em;
	padding-bottom: 20em;
}

.wp-block-acf-ces-showcase .ces-showcase-content {
	margin-top: 0;
	margin-bottom: 0;
	padding-top: 0;
	padding-right: 20px;
	padding-bottom: 0;
	padding-left: 20px;
}

.wp-block-acf-ces-showcase .ces-showcase-content-inner-wrap {
	margin-top: clamp(-4rem, -12vw, -146px);
	margin-bottom: 0;
	padding-top: 0;
	padding-bottom: 0;
}

.wp-block-acf-ces-showcase .ces-showcase-content .wp-block-image.aligncenter img {
	object-fit: cover;
}

.wp-block-acf-ces-showcase .ces-sec-sub-text-wrap {
	margin-top: 0;
	margin-bottom: 0;
	padding-top: 20px;
	padding-right: 0;
	padding-bottom: 46px;
	padding-left: 0;
}

.wp-block-acf-ces-showcase .floating-gallery-top,
.wp-block-acf-ces-showcase .floating-gallery-bottom {
	margin-top: 0;
	margin-bottom: 0;
	padding: 0;
}

.wp-block-acf-ces-showcase .bottom-last-ces-images {
	margin-top: -26%;
	margin-bottom: 0;
	padding: 0;
}

.ces-showcase .floating-gallery-top,
.ces-showcase .floating-gallery-bottom {
	display: flex;
	justify-content: space-between;
	gap: 16px;
}

.ces-showcase__item {
	position: absolute !important;
	margin: 0 !important;
	z-index: 1;
	transition: transform .3s ease, box-shadow .3s ease;
	border-radius: 12px;
	overflow: hidden;
}

.ces-showcase .floating-gallery-top>.ces-showcase__item:nth-child(1) {
	margin-left: 0 !important;
	margin-bottom: -68px !important;
	align-content: flex-end !important;
	z-index: 2;
}

.ces-showcase .floating-gallery-bottom>.ces-showcase__item:nth-child(1),
.ces-showcase .floating-gallery-bottom>.ces-showcase__item:nth-child(2) {
	margin-left: 0 !important;
	align-content: baseline !important;
}

.ces-showcase .floating-gallery-bottom>.ces-showcase__item:nth-child(2),
.ces-showcase .floating-gallery-bottom>.ces-showcase__item:nth-child(3) {
	margin-top: 4% !important;
}

.ces-showcase .floating-gallery-bottom>.ces-showcase__item:nth-child(1) {
	margin-top: -10% !important;
}

.ces-showcase .floating-gallery-top>.ces-showcase__item:nth-child(2) {
	margin-top: -120px !important;
}

.ces-showcase .floating-gallery-top>.ces-showcase__item:nth-child(3) {
	margin-left: 236px !important;
}

.ces-showcase .floating-gallery-bottom>.ces-showcase__item:nth-child(3) {
	margin-left: 133px !important;
}

.ces-showcase .floating-gallery-top .top-last-ces-images,
.ces-showcase .floating-gallery-bottom .bottom-last-ces-images {
	margin-right: 0 !important;
	justify-content: flex-end !important;
}

.ces-showcase .floating-gallery-top>.ces-showcase__item:nth-child(2),
.ces-showcase .floating-gallery-top>.ces-showcase__item:nth-child(3),
.ces-showcase .floating-gallery-bottom .bottom-last-ces-images {
	align-content: baseline !important;
}

.ces-showcase .ces-showcase__item {
	position: static !important;
	z-index: 1;
	top: unset;
	right: unset;
	bottom: unset;
	left: unset;
}

.ces-showcase .floating-gallery-top .ces-showcase__item,
.ces-showcase .floating-gallery-bottom .ces-showcase__item {
	transform: unset;
	width: auto !important;
	box-shadow: none;
	display: block !important;
	opacity: 1;
	overflow: unset;
}

.ces-showcase__item:hover {
	transform: scale(1.05) !important;
	z-index: 5 !important;
}

.ces-showcase .floating-gallery-top .wp-block-image,
.ces-showcase .floating-gallery-bottom .wp-block-image {
	align-content: center;
}

.top-last-ces-images {
	z-index: 1;
}

.top-last-ces-images::before {
	content: '';
	border-radius: 1248px;
	position: absolute;
	z-index: -1;
	width: 1248px;
	height: 1248px;
	left: calc(50% - 1248px/8 + 615px);
	bottom: 30%;
	background: radial-gradient(50% 50% at 50% 50%, #FFBF3F 0%, rgba(255, 236, 198, 0) 100%);
}

.top-last-ces-images>.wp-block-image:first-child::before,
.ces-showcase .floating-gallery-top>.ces-showcase__item:nth-child(1)::after,
.ces-showcase .floating-gallery-top>.ces-showcase__item:nth-child(2)::before,
.ces-showcase .floating-gallery-bottom .bottom-last-ces-images .ces-showcase__item:nth-child(2)::after,
.ces-showcase .floating-gallery-bottom>.ces-showcase__item:nth-child(3)::before {
	content: "";
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	position: absolute;
	z-index: -1;
}

.top-last-ces-images>.wp-block-image:first-child::before,
.ces-showcase .floating-gallery-top>.ces-showcase__item:nth-child(1)::after,
.ces-showcase .floating-gallery-bottom>.ces-showcase__item:nth-child(3)::before {
	background-image: url(/blocktheme/wp-content/uploads/2025/12/multiple-red-dots.png);
	max-width: 366px;
	max-height: 322px;
	transform: translateY(-50%);
}

.top-last-ces-images>.wp-block-image:first-child::before,
.ces-showcase .floating-gallery-bottom>.ces-showcase__item:nth-child(3)::before {
	right: 40%;
	top: 70%;
}

.ces-showcase .floating-gallery-top>.ces-showcase__item:nth-child(1)::after {
	right: -95px;
	bottom: -46%;
}

.ces-showcase .floating-gallery-top>.ces-showcase__item:nth-child(2)::before,
.ces-showcase .floating-gallery-bottom .bottom-last-ces-images .ces-showcase__item:nth-child(2)::after {
	background-image: url(/wp-content/uploads/2026/02/angula-layer.png) !important;
	max-width: 560px;
	max-height: 326px;
	width: 560px;
	height: 340px;
	top: 0;
	left: -90%;
	transform: translate(-40%, 50%);
}

.ces-showcase .floating-gallery-bottom .bottom-last-ces-images .ces-showcase__item:nth-child(1) {
	margin-right: 200px !important;
}

.ces-showcase .floating-gallery-bottom .bottom-last-ces-images .ces-showcase__item:nth-child(2)::before {
	content: '';
	border-radius: 476px;
	position: absolute;
	z-index: -1;
	width: 476px;
	height: 476px;
	left: 50%;
	top: -50%;
	background: radial-gradient(50% 50% at 50% 50%, #FFBF3F 0%, rgba(255, 236, 198, 0) 100%);
}

.ces-showcase .floating-gallery-bottom .bottom-last-ces-images .ces-showcase__item:nth-child(2)::after {
	top: 30px;
	left: 0;
}

.ces-showcase .floating-gallery-bottom>.ces-showcase__item:nth-child(3)::before {
	top: 16%;
}

/* End Animation Gallery CSS */