/* Manaferra Content Slider 318 — v1.4.0 */
.mcs318-wrapper {
    position: relative;
}

.mcs318-swiper {
    width: 100%;
    overflow: hidden;
}

.mcs318-swiper .swiper-slide {
    width: var(--mcs318-slide-width, 33.333%);
    height: auto;
}

.mcs318-swiper .swiper-slide.mcs318-double {
    width: calc(var(--mcs318-slide-width, 33.333%) * 1.5 + var(--mcs318-gap, 24px) * 0.5);
}

.mcs318-card {
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 480px;
    height: 100%;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mcs318-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.18);
}

.mcs318-card.mcs318-dark {
    background-color: #0d2b2b;
    color: #fff;
}

.mcs318-card.mcs318-light {
    background-color: #f0f0f0;
    color: #1a1a1a;
}

.mcs318-image-wrap {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    max-height: 300px;
}

.mcs318-dark .mcs318-image-wrap {
    background-color: #0a2020;
}

.mcs318-light .mcs318-image-wrap {
    background-color: #e8e8e8;
}

.mcs318-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mcs318-light .mcs318-image-wrap img {
    object-fit: contain;
    padding: 24px;
    max-height: 260px;
}

.mcs318-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mcs318-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mcs318-dark .mcs318-label {
    color: #4ecdc4;
}

.mcs318-light .mcs318-label {
    color: #555;
}

.mcs318-title {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
}

.mcs318-dark .mcs318-title {
    color: #fff;
}

.mcs318-light .mcs318-title {
    color: #1a1a1a;
}

.mcs318-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    margin-top: 8px;
    transition: gap 0.2s ease;
}

.mcs318-cta:hover {
    gap: 14px;
}

.mcs318-dark .mcs318-cta {
    color: #fff;
}

.mcs318-light .mcs318-cta {
    color: #0d2b2b;
}

.mcs318-arrow {
    font-size: 16px;
    line-height: 1;
}

/* Progress Bar — full width, thin line */
.mcs318-progress-bar {
    margin-top: 24px;
    width: 100%;
}

.mcs318-progress-track {
    position: relative;
    width: 100%;
    height: 2px;
    background-color: #e0e0e0;
    border-radius: 0;
    overflow: hidden;
}

.mcs318-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background-color: #4ecdc4;
    border-radius: 0;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 1.5x slide — slightly larger title */
.mcs318-double .mcs318-title {
    font-size: 28px;
}

@media (max-width: 1024px) {
    .mcs318-double .mcs318-title {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .mcs318-card {
        min-height: 380px;
    }
    .mcs318-title {
        font-size: 18px;
    }
    .mcs318-double .mcs318-title {
        font-size: 20px;
    }
}
