.custom_slide_container {
    position: relative;
    max-width: 100%;
    margin: 30px auto 30px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.custom_slide_wrapper {
    position: relative;
    width: 100%;
    height: 500px;
}

.custom_slide_item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.custom_slide_item.custom_slide_active {
    opacity: 1;
}

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

.custom_slide_overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 25px;
    color: white;
}

.custom_slide_overlay h3 {
    font-size: 2.0rem;
    color: #ff9900;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 700;
    margin-bottom: 12px;
}

.custom_slide_overlay p {
    font-size: 1.2rem;
    color: #cccccc;
    font-family: Georgia, serif;
    font-weight: 400;
    margin: 0;
}

.custom_slide_nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    background: #2c3e50;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.custom_slide_prev,
.custom_slide_next {
    background: #2c3e50;
    border: 2px solid #ffffff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.custom_slide_prev:hover,
.custom_slide_next:hover {
    background: #1a2530;
    transform: scale(1.1);
}

.custom_slide_dots {
    display: flex;
    gap: 12px;
}

.custom_slide_dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #95a5a6;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom_slide_dot.custom_slide_active_dot {
    background: #3498db;
    transform: scale(1.2);
}

.custom_slide_dot:hover {
    background: #3498db;
}

@media (max-width: 968px) {
    .custom_slide_wrapper {
        height: 400px;
    }

    .custom_slide_overlay h3 {
        font-size: 1.8rem;
    }

    .custom_slide_prev,
    .custom_slide_next {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 640px) {
    .custom_slide_wrapper {
        height: 300px;
    }

    .custom_slide_overlay {
        padding: 15px;
    }

    .custom_slide_overlay h3 {
        font-size: 1.5rem;
    }

    .custom_slide_overlay p {
        font-size: 1rem;
    }

    .custom_slide_nav {
        padding: 15px 0;
        gap: 15px;
    }

    .custom_slide_prev,
    .custom_slide_next {
        width: 40px;
        height: 40px;
    }

    .custom_slide_dots {
        gap: 10px;
    }

    .custom_slide_dot {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 400px) {
    .custom_slide_wrapper {
        height: 250px;
    }

    .custom_slide_overlay h3 {
        font-size: 1.3rem;
    }

    .custom_slide_nav {
        padding: 10px 0;
        gap: 10px;
    }

    .custom_slide_prev,
    .custom_slide_next {
        width: 35px;
        height: 35px;
    }

    .custom_slide_dots {
        gap: 8px;
    }

    .custom_slide_dot {
        width: 10px;
        height: 10px;
    }
}
