/**
 * MM Media Card Carousel styles.
 * Card visuals reference existing Global Classes where they exist
 * (e.g. color--light, theme-button-navy) — swap the placeholder values
 * below for `var(--e-global-color-*)` tokens once wired up in the editor.
 */

.mm-media-card-carousel {
	position: relative;
}

.mm-media-card-carousel .mm-media-card-carousel__swiper {
	overflow: hidden;
	padding-bottom: 48px !important; /* room for pagination dots */
}

.mm-media-card-carousel .mm-media-card-carousel__swiper .swiper-slide {
  widht: 33%;
}

.mm-media-card-carousel .mm-media-card {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.mm-media-card-carousel .mm-media-card__image {
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: 12px;
	margin-bottom: 16px;
}

.mm-media-card-carousel .mm-media-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.mm-media-card-carousel h4.mm-media-card__title {
	color: #fff;
}

.mm-media-card-carousel .mm-media-card__description {
	color: #fff;
}

.mm-media-card-carousel .mm-media-card__links {
	display: flex;
	gap: 12px;
	margin-top: auto;
}

.mm-media-card-carousel .mm-media-card__links a {
  background: transparent;
}

.mm-media-card-carousel .mm-media-card__link svg,
.mm-media-card-carousel .mm-media-card__link i {
  fill: #fff;
  width: 24px !important;
  height: 24px !important;
  font-size: 24px !important;
}

.mm-media-card-carousel .mm-media-card__link svg:hover,
.mm-media-card-carousel .mm-media-card__link i:hover {
  fill: #2ebdef;
}

.mm-media-card-carousel .mm-media-card__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #fff;
	color: #0a1a2f;
	font-size: 1rem;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.mm-media-card-carousel .mm-media-card__link:hover {
	transform: translateY(-2px);
	opacity: 0.85;
}

.mm-media-card-carousel .mm-media-card__link svg,
.mm-media-card-carousel .mm-media-card__link i {
	width: 16px;
	height: 16px;
	font-size: 16px;
}

.mm-media-card-carousel .mm-media-card__cta {
  cursor: pointer;
  font-weight: 500;
  font-size: 16px;
  color: var(--white);
  letter-spacing: 0.8px;
  line-height: 100%;
  text-align: center;
  text-transform: uppercase;
  padding: 16px 24px;
  border-radius: 0px;
  border-width: 1px;
  border-color: var(--white);
  border-style: solid;
  background-color: var(--deep-navy);
  display: flex;
  align-items: center;
  width: fit-content;
}

.mm-media-card-carousel .mm-media-card__cta:hover {
  color: #fff;
}

/* Pagination / arrows */
.mm-media-card-carousel .swiper-pagination-bullet {
	background: rgba(255, 255, 255, 0.4);
	opacity: 1;
  width: 14px;
  height: 14px;
}

.mm-media-card-carousel .swiper-pagination-bullet-active {
	background: #fff;
}

.mm-media-card-carousel .swiper-pagination-bullet:hover {
	background: #2ebdef;
	opacity: 1;
}

.mm-media-card-carousel .swiper-button-prev,
.mm-media-card-carousel .swiper-button-next {
	color: #fff;
}

.mm-media-card-carousel .swiper-button-prev:after,
.mm-media-card-carousel .swiper-button-next:after {
	font-size: 1.25rem;
}

/*
 * Breakpoints owned here (not Elementor's global responsive settings)
 * to match the JS Swiper config exactly: 768 / 1265.
 */
/* @media (max-width: 767px) {
	.mm-media-card-carousel .mm-media-card__title {
		font-size: 1.125rem;
	}
}

@media (min-width: 768px) and (max-width: 1264px) {
	.mm-media-card-carousel .mm-media-card-carousel__swiper {
		padding-bottom: 44px;
	}
}

@media (min-width: 1265px) {
	.mm-media-card-carousel .mm-media-card-carousel__swiper {
		padding-bottom: 48px;
	}
} */
