.mcc-carousel-wrapper {
    --mcc-primary-color: #0085ba;
    --mcc-title-color: #111827;
    --mcc-card-bg: #ffffff;
    --mcc-radius: 12px;
    --mcc-gap: 20px;
}

.mcc-carousel-track {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mcc-carousel-track .mcc-carousel {
    flex: 1 1 auto;
    min-width: 0;
}

.mcc-carousel .swiper {
    overflow: hidden;
}

.mcc-carousel .swiper-wrapper {
    align-items: stretch;
}

.mcc-slide-card {
    width: 100%;
    height: 100%;
    background: var(--mcc-card-bg);
    border-radius: var(--mcc-radius);
    box-shadow: 0 12px 28px rgba(16, 24, 40, 0.08);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

a.mcc-slide-card-link {
    cursor: pointer;
}

.mcc-slide-card:hover {
    transform: translateY(-4px);
}

.mcc-slide-media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f1f2f4;
}

.mcc-slide-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.mcc-slide-copy {
    padding: 16px;
    text-align: center;
    background: var(--mcc-card-bg);
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mcc-slide-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--mcc-title-color) !important;
    text-decoration: none;
    display: inline-block;
}

a.mcc-slide-title:hover {
    text-decoration: underline;
}

.mcc-swiper-button-prev,
.mcc-swiper-button-next {
    position: static;
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    cursor: pointer;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mcc-primary-color);
    opacity: 0.75;
    transition: opacity 0.15s ease;
}

.mcc-swiper-button-prev:hover,
.mcc-swiper-button-next:hover {
    opacity: 1;
}

.mcc-swiper-button-prev.swiper-button-disabled,
.mcc-swiper-button-next.swiper-button-disabled {
    opacity: 0.3;
    cursor: default;
}

.mcc-swiper-button-prev .swiper-navigation-icon,
.mcc-swiper-button-next .swiper-navigation-icon {
    display: none !important;
}

.mcc-swiper-button-prev::after {
    content: '\2039';
    font-size: 30px;
    line-height: 1;
}

.mcc-swiper-button-next::after {
    content: '\203A';
    font-size: 30px;
    line-height: 1;
}

.mcc-swiper-button-prev.mcc-has-custom-icon::after,
.mcc-swiper-button-next.mcc-has-custom-icon::after {
    content: none;
}

.mcc-swiper-button-prev i,
.mcc-swiper-button-next i {
    font-size: 24px;
    line-height: 1;
}

.mcc-swiper-button-prev svg,
.mcc-swiper-button-next svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.mcc-carousel-wrapper .mcc-carousel-pagination.swiper-pagination {
    position: static;
    margin-top: 18px;
    text-align: center;
}

.mcc-carousel-wrapper .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    background: #d1d5db;
    opacity: 1;
}

.mcc-carousel-wrapper .swiper-pagination-bullet-active {
    background: var(--mcc-primary-color);
}

@media (max-width: 600px) {
    .mcc-carousel-track {
        gap: 8px;
    }

    .mcc-swiper-button-prev,
    .mcc-swiper-button-next {
        width: 24px;
    }
}

/* --- Card hover effects (set from the Elementor Style tab; the plain
   .mcc-slide-card:hover rule above remains the default when no effect is
   chosen, so shortcode/block usage is unaffected) --- */

.mcc-hover-effect-none .mcc-slide-card:hover {
    transform: none;
}

.mcc-hover-effect-grayscale .mcc-slide-media img {
    filter: grayscale(100%);
}

.mcc-hover-effect-grayscale .mcc-slide-card:hover .mcc-slide-media img {
    filter: grayscale(0%);
}

.mcc-hover-effect-zoom .mcc-slide-card:hover {
    transform: none;
}

.mcc-hover-effect-zoom .mcc-slide-media {
    overflow: hidden;
}

.mcc-hover-effect-zoom .mcc-slide-card:hover .mcc-slide-media img {
    transform: scale(1.08);
}

.mcc-hover-effect-shadow .mcc-slide-card:hover {
    transform: none;
    box-shadow: 0 24px 48px rgba(16, 24, 40, 0.24);
}

/* --- Style presets --- */

/* Minimal: flat, no shadow, no hover lift */
.mcc-style-minimal .mcc-slide-card {
    box-shadow: none;
    border: 1px solid rgba(16, 24, 40, 0.08);
}

.mcc-style-minimal .mcc-slide-card:hover {
    transform: none;
}

/* Overlay: title sits over the image with a gradient scrim */
.mcc-style-overlay .mcc-slide-card {
    position: relative;
}

.mcc-style-overlay .mcc-slide-media {
    aspect-ratio: 3 / 4;
}

.mcc-style-overlay .mcc-slide-copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
    padding: 32px 16px 14px;
    text-align: left;
    justify-content: flex-start;
}

.mcc-style-overlay .mcc-slide-title {
    color: #ffffff !important;
}

/* Rounded: larger radius, bolder shadow, roomier padding */
.mcc-style-rounded .mcc-slide-card {
    box-shadow: 0 20px 40px rgba(16, 24, 40, 0.14);
}

.mcc-style-rounded .mcc-slide-copy {
    padding: 22px 20px;
}
