/* ==========================================================================
   CLUMA - FEATURES CAROUSEL STYLES
   ==========================================================================
   Card layout: horizontal, image on the left, title + subtitle on the right.
   Full card is a single <a> element (see cluma-features-carousel.php).
   ========================================================================== */

.cluma-features-carousel {
	width: 100%;
	padding-bottom: 10px; /* room for swiper nav / pagination if added later */
}

/* --------------------------------------------------------------------------
   Slide sizing - tweak per design, "auto" lets Swiper size slides to content.
   -------------------------------------------------------------------------- */
.cluma-features-carousel .swiper-slide {
	width: 320px;
	height: auto;
}

/* --------------------------------------------------------------------------
   Card - horizontal layout (image | content)
   -------------------------------------------------------------------------- */
.cluma-feature-card {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	gap: 0;
	width: 100%;
	height: 100%;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* --------------------------------------------------------------------------
   Column 1 - Image (always square, 1:1 ratio)
   -------------------------------------------------------------------------- */
.cluma-feature-card__media {
	flex: 0 0 96px;
	width: 96px;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #f2f2f2;
	align-self: flex-start; /* decouples square size from text column height */
}

.cluma-feature-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* --------------------------------------------------------------------------
   Column 2 - Title + Subtitle
   -------------------------------------------------------------------------- */
.cluma-feature-card__content {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 12px 16px;
	min-width: 0; /* allow text truncation/wrapping inside flex */
}

.cluma-feature-card__title {
	margin: 0 0 4px 0;
	font-size: 16px;
	line-height: 1.3;
	font-weight: 600;
}

.cluma-feature-card__subtitle {
	margin: 0;
	font-size: 13px;
	line-height: 1.4;
	color: #666;
}

/* --------------------------------------------------------------------------
   Navigation arrows - basic visibility tweak, override per theme as needed.
   -------------------------------------------------------------------------- */
.cluma-features-carousel .swiper-button-prev,
.cluma-features-carousel .swiper-button-next {
	width: 36px;
	height: 36px;
	background: #fff;
	border-radius: 50%;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.cluma-features-carousel .swiper-button-prev::after,
.cluma-features-carousel .swiper-button-next::after {
	font-size: 14px;
	color: #222;
}