.cmy-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.cmy-slider--full-width {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    overflow: hidden;
}

.cmy-slider__track {
    position: relative;
    width: 100%;
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.cmy-slider__slide {
    position: relative;
    width: 100%;
    flex: 1;
    display: flex;
    align-items: stretch;
}

.cmy-slider__overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.cmy-slider__slide--has-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.cmy-slider__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    padding: 40px 90px;
    flex: 1;
}

.cmy-slider__title {
    margin: 0 0 12px;
}

.cmy-slider__tagline {
    margin: 0 0 12px;
}

.cmy-slider__button-wrap {
    margin-top: 8px;
}

.cmy-slider__button {
    display: inline-block;
    text-decoration: none;
    border-radius: 4px;
    transition: opacity 0.2s ease;
}

.cmy-slider__button:hover {
    opacity: 0.85;
}

.cmy-slider__image {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.cmy-slider__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Arrows */
.cmy-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.2s ease;
}

.cmy-slider__arrow:hover {
    background: rgba(0, 0, 0, 0.7);
}

.cmy-slider__arrow--prev {
    left: 12px;
}

.cmy-slider__arrow--next {
    right: 12px;
}

/* Indicators */
.cmy-slider__indicators {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.cmy-slider__indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease;
}

.cmy-slider__indicator.active {
    background: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .cmy-slider__slide--has-image {
        grid-template-columns: 1fr;
    }

    .cmy-slider__slide--image-left .cmy-slider__image {
        order: -1;
    }

    .cmy-slider__content {
        padding: 24px 90px;
    }
}
