/* Showcase carousel — cat-carousel-gallery-posts */
#cat-carousel-gallery-posts-2.section-showcase,
#cat-carousel-gallery-posts-1.section-showcase {
	position: relative;
	padding-top: 72px;
	padding-bottom: 72px;
	background: linear-gradient(180deg, #f8fafc 0%, #ffffff 55%, #f8fafc 100%);
	overflow: hidden;
}

#cat-carousel-gallery-posts-2.section-showcase::before,
#cat-carousel-gallery-posts-1.section-showcase::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 72px;
	height: 3px;
	margin-left: -36px;
	background: linear-gradient(90deg, #15499a 0%, #2a7de8 50%, #15499a 100%);
	border-radius: 0 0 3px 3px;
}

#cat-carousel-gallery-posts-2 .showcase-heading,
#cat-carousel-gallery-posts-1 .showcase-heading {
	position: relative;
	display: block;
	width: 100%;
	margin-bottom: 44px;
	text-align: center;
}

#cat-carousel-gallery-posts-2 .showcase-heading b,
#cat-carousel-gallery-posts-2 .showcase-heading b a,
#cat-carousel-gallery-posts-1 .showcase-heading b,
#cat-carousel-gallery-posts-1 .showcase-heading b a {
	display: inline-block;
	color: #1e293b;
	font-size: clamp(24px, 2.8vw, 36px);
	font-weight: 700;
	text-decoration: none;
}

#cat-carousel-gallery-posts-2 .showcase-heading b a:hover,
#cat-carousel-gallery-posts-1 .showcase-heading b a:hover {
	color: #15499a;
}

#cat-carousel-gallery-posts-2 .showcase-heading b::before,
#cat-carousel-gallery-posts-2 .showcase-heading b::after,
#cat-carousel-gallery-posts-1 .showcase-heading b::before,
#cat-carousel-gallery-posts-1 .showcase-heading b::after {
	border-top-color: rgba(21, 73, 154, 0.22) !important;
}

#cat-carousel-gallery-posts-2 .showcase-heading .link-more,
#cat-carousel-gallery-posts-1 .showcase-heading .link-more {
	display: none !important;
}

#cat-carousel-gallery-posts-2 .showcase-carousel-wrap,
#cat-carousel-gallery-posts-1 .showcase-carousel-wrap {
	position: relative;
	padding: 0 52px;
}

#cat-carousel-gallery-posts-2 .cat-carousel-gallery-slider,
#cat-carousel-gallery-posts-1 .cat-carousel-gallery-slider {
	position: relative;
	margin: 0;
	padding: 8px 0 44px;
	overflow: hidden;
}

#cat-carousel-gallery-posts-2 .swiper-wrapper,
#cat-carousel-gallery-posts-1 .swiper-wrapper {
	align-items: stretch;
}

#cat-carousel-gallery-posts-2 .swiper-slide,
#cat-carousel-gallery-posts-1 .swiper-slide {
	height: auto;
	padding: 6px;
	box-sizing: border-box;
}

#cat-carousel-gallery-posts-2 .swiper-slide .item-content,
#cat-carousel-gallery-posts-1 .swiper-slide .item-content {
	float: none;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
}

#cat-carousel-gallery-posts-2 .item-grid-box,
#cat-carousel-gallery-posts-1 .item-grid-box {
	height: 100%;
	background: #fff;
	border: 1px solid rgba(21, 73, 154, 0.08);
	border-radius: 8px;
	overflow: hidden;
	transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

#cat-carousel-gallery-posts-2 .item-grid-box > a,
#cat-carousel-gallery-posts-1 .item-grid-box > a {
	display: block;
	height: 100%;
	text-decoration: none;
	color: inherit;
}

#cat-carousel-gallery-posts-2 .item-grid-box:hover,
#cat-carousel-gallery-posts-1 .item-grid-box:hover {
	transform: translateY(-5px);
	border-color: rgba(21, 73, 154, 0.16);
	-moz-box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
	-webkit-box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
	box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
}

#cat-carousel-gallery-posts-2 .item-cover,
#cat-carousel-gallery-posts-1 .item-cover {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #f1f5f9;
}

#cat-carousel-gallery-posts-2 .item-cover::before,
#cat-carousel-gallery-posts-1 .item-cover::before {
	display: none;
}

#cat-carousel-gallery-posts-2 .item-cover .attachment,
#cat-carousel-gallery-posts-2 .item-cover .thumbnail,
#cat-carousel-gallery-posts-2 .item-cover .centered,
#cat-carousel-gallery-posts-1 .item-cover .attachment,
#cat-carousel-gallery-posts-1 .item-cover .thumbnail,
#cat-carousel-gallery-posts-1 .item-cover .centered {
	height: 100%;
}

#cat-carousel-gallery-posts-2 .item-cover img,
#cat-carousel-gallery-posts-1 .item-cover img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	-webkit-filter: none;
	filter: none;
	transform: scale(1);
	transition: transform 0.35s ease;
}

#cat-carousel-gallery-posts-2 .item-grid-box:hover .item-cover img,
#cat-carousel-gallery-posts-1 .item-grid-box:hover .item-cover img {
	transform: scale(1.05);
}

#cat-carousel-gallery-posts-2 .item-cover .mask,
#cat-carousel-gallery-posts-1 .item-cover .mask {
	background: rgba(21, 73, 154, 0);
	transition: background 0.28s ease;
}

#cat-carousel-gallery-posts-2 .item-grid-box:hover .item-cover .mask,
#cat-carousel-gallery-posts-1 .item-grid-box:hover .item-cover .mask {
	background: rgba(21, 73, 154, 0.06);
}

#cat-carousel-gallery-posts-2 .item-content figcaption,
#cat-carousel-gallery-posts-1 .item-content figcaption {
	padding: 16px 16px 18px;
}

#cat-carousel-gallery-posts-2 .item-content h3,
#cat-carousel-gallery-posts-1 .item-content h3,
#cat-carousel-gallery-posts-2 .gallery-container .item-content h3,
#cat-carousel-gallery-posts-1 .gallery-container .item-content h3 {
	height: auto;
	min-height: 42px;
	max-height: 42px;
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
	color: #334155;
	text-align: center;
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	word-break: break-word;
	transition: color 0.22s ease;
}

#cat-carousel-gallery-posts-2 .item-grid-box:hover h3,
#cat-carousel-gallery-posts-1 .item-grid-box:hover h3 {
	color: #15499a;
}

#cat-carousel-gallery-posts-2 .gallery-swiper-pagination,
#cat-carousel-gallery-posts-1 .gallery-swiper-pagination {
	bottom: 0 !important;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: auto;
	line-height: 1;
}

#cat-carousel-gallery-posts-2 .gallery-swiper-pagination .swiper-pagination-bullet,
#cat-carousel-gallery-posts-1 .gallery-swiper-pagination .swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	margin: 0 4px !important;
	background: rgba(21, 73, 154, 0.25);
	opacity: 1;
	border-radius: 50%;
}

#cat-carousel-gallery-posts-2 .gallery-swiper-pagination .swiper-pagination-bullet::before,
#cat-carousel-gallery-posts-1 .gallery-swiper-pagination .swiper-pagination-bullet::before {
	display: none !important;
	content: none !important;
}

#cat-carousel-gallery-posts-2 .gallery-swiper-pagination .swiper-pagination-bullet-active,
#cat-carousel-gallery-posts-1 .gallery-swiper-pagination .swiper-pagination-bullet-active {
	background: #15499a;
}

#cat-carousel-gallery-posts-2 .gallery-swiper-button-prev,
#cat-carousel-gallery-posts-2 .gallery-swiper-button-next,
#cat-carousel-gallery-posts-1 .gallery-swiper-button-prev,
#cat-carousel-gallery-posts-1 .gallery-swiper-button-next {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	margin-top: -36px;
	color: #15499a;
	background: #fff;
	border: 1px solid rgba(21, 73, 154, 0.12);
	border-radius: 50%;
	-moz-box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
	-webkit-box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
	transition: color 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

#cat-carousel-gallery-posts-2 .gallery-swiper-button-prev,
#cat-carousel-gallery-posts-1 .gallery-swiper-button-prev {
	left: 0;
}

#cat-carousel-gallery-posts-2 .gallery-swiper-button-next,
#cat-carousel-gallery-posts-1 .gallery-swiper-button-next {
	right: 0;
}

#cat-carousel-gallery-posts-2 .gallery-swiper-button-prev:hover,
#cat-carousel-gallery-posts-2 .gallery-swiper-button-next:hover,
#cat-carousel-gallery-posts-1 .gallery-swiper-button-prev:hover,
#cat-carousel-gallery-posts-1 .gallery-swiper-button-next:hover {
	color: #fff;
	background: #15499a;
	border-color: #15499a;
}

@media only screen and (max-width: 1023px) {
	#cat-carousel-gallery-posts-2.section-showcase,
	#cat-carousel-gallery-posts-1.section-showcase {
		padding-top: 56px;
		padding-bottom: 56px;
	}

	#cat-carousel-gallery-posts-2 .showcase-carousel-wrap,
	#cat-carousel-gallery-posts-1 .showcase-carousel-wrap {
		padding: 0 44px;
	}
}

@media only screen and (max-width: 640px) {
	#cat-carousel-gallery-posts-2 .showcase-carousel-wrap,
	#cat-carousel-gallery-posts-1 .showcase-carousel-wrap {
		padding: 0 8px;
	}

	#cat-carousel-gallery-posts-2 .gallery-swiper-button-prev,
	#cat-carousel-gallery-posts-2 .gallery-swiper-button-next,
	#cat-carousel-gallery-posts-1 .gallery-swiper-button-prev,
	#cat-carousel-gallery-posts-1 .gallery-swiper-button-next {
		display: none !important;
	}
}
