/* Blog post carousel */
.haminart-carousel .swiper {
	padding: 12px 8px 30px;
	margin: -12px -8px -30px;
}

/* Let the soft card shadows (74px blur) spill above/below instead of being cut into a box. */
.haminart-carousel .swiper.swiper-initialized,
.haminart-carousel .swiper.swiper-container-initialized {
	overflow: visible;
	clip-path: inset(-70px -8px -100px -8px);
}

/* Keep the off-screen slides from widening the page (clip, unlike hidden, leaves the Y axis visible). */
.haminart-carousel {
	overflow-x: clip;
}

.haminart-carousel .swiper-slide {
	height: auto;
}

.haminart-carousel.is-loading .swiper {
	pointer-events: none;
	opacity: 0.35;
}

.haminart-post {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 27px 28px 23px;
	background: #fff;
	border-radius: 24px;
	box-shadow: 0 0 43px rgba(0, 0, 0, 0.04);
}

.haminart-post__image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 253 / 151;
	object-fit: cover;
	background: #e1e1e1;
	border-radius: 22.8px;
}

.haminart-post__title {
	margin: 21px 0 17px;
	font-size: 14px;
	font-weight: 800;
	line-height: 28.47px;
	color: #434343;
	transition: color 0.2s;
}

.haminart-post:hover .haminart-post__title {
	color: var(--haminart-pink);
}

.haminart-post__excerpt {
	margin: 0 0 9px;
	font-size: 12px;
	font-weight: 400;
	line-height: 22.78px;
	color: #a0a0a0;
}

.haminart-post__meta {
	display: flex;
	gap: 6.5px;
	margin-top: auto;
}

.haminart-post__chip,
.haminart-post__more {
	display: flex;
	flex: 82 1 0;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1px;
	min-height: 52px;
	padding: 6px 4px;
	font-size: 10.83px;
	line-height: 20.56px;
	color: #595959;
	text-align: center;
	background: #f8f8f8;
	border-radius: 10.8px;
}

.haminart-post__chip:first-child {
	flex-grow: 67;
}

.haminart-post__chip b {
	font-weight: 700;
}

.haminart-post__chip svg,
.haminart-post__more svg {
	width: 14px;
	height: 14px;
}

.haminart-post__more {
	font-weight: 700;
	color: #383838;
	background: rgba(102, 102, 102, 0.12);
	transition: background-color 0.2s, color 0.2s;
}

.haminart-post:hover .haminart-post__more {
	color: #fff;
	background: var(--haminart-pink);
}

.haminart-carousel:not(:has(.haminart-stitle)) .haminart-nav--bottom {
	display: flex;
}
