.ecg-main-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    background: #000;
}

.ecg-slide {
    display: none;
    position: relative;
}

.ecg-slide.active {
    display: block;
}

.ecg-slide img {
    width: 100%;
    height: auto;
    display: block;
}

/* کپشن */
.ecg-caption {
    background: #f7f7f7;
    padding: 12px 15px;
    font-size: 15px;
    color: #333;
    text-align: center;
}

/* دکمه‌های اکشن (بزرگنمایی و دانلود) */
.ecg-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 10px;
    z-index: 9999;
}

.ecg-actions span,
.ecg-actions a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #84cbf1;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.ecg-actions span:hover,
.ecg-actions a:hover {
    opacity: 0.8;
}

/* دکمه‌های چپ و راست */
.ecg-prev,
.ecg-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(132, 203, 241, 0.8);
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    transition: all 0.3s ease;
}

.ecg-prev { left: 15px; }
.ecg-next { right: 15px; }

.ecg-prev:hover,
.ecg-next:hover {
    background: #84cbf1;
    opacity: 1;
}

/* تامبنیل‌ها */
.ecg-thumbnails {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.ecg-thumbnails img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.ecg-thumbnails img.active {
    border-color: #84cbf1;
}