
html :where(.block-editor-block-list__block.wp-block.main-container) {
    margin-bottom: 60px;
    margin-top: 60px;
    max-width: 1200px;
}


/* Our Custom Gallery Slider Styles */
.our-custom-gallery-slider-block-editor .our-custom-gallery-slider {
    margin: 40px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 12px;
}

.our-custom-gallery-slider-block-editor .our-custom-gallery-slider .gallery-heading {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5rem;
    color: #333;
    font-weight: 700;
    line-height: 1.2;
}

.our-custom-gallery-slider-block-editor .our-custom-gallery-slider .gallery-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

/* Main Slider Styles */
.our-custom-gallery-slider-block-editor .our-custom-gallery-slider .main-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.our-custom-gallery-slider-block-editor .our-custom-gallery-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
    z-index: 0;
}

.our-custom-gallery-slider-block-editor .our-custom-gallery-slider .slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.our-custom-gallery-slider-block-editor .our-custom-gallery-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}



/* Block Editor Styles */
.our-custom-gallery-slider-block-editor .gallery-preview {
    border: 2px dashed #ddd;
    padding: 20px;
    border-radius: 8px;
    background: #fafafa;
}

.our-custom-gallery-slider-block-editor .gallery-images-manager {
    margin: 20px 0;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.our-custom-gallery-slider-block-editor .add-images-section {
    margin-bottom: 20px;
    text-align: center;
}

.our-custom-gallery-slider-block-editor .add-images-btn {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 120%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.our-custom-gallery-slider-block-editor .add-images-btn:hover {
    color: #fff;
}

.our-custom-gallery-slider-block-editor .images-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.our-custom-gallery-slider-block-editor .image-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.our-custom-gallery-slider-block-editor .image-preview {
    height: 120px;
    overflow: hidden;
}

.our-custom-gallery-slider-block-editor .image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.our-custom-gallery-slider-block-editor .image-controls {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f9f9f9;
}

.our-custom-gallery-slider-block-editor .move-controls {
    display: flex;
    gap: 5px;
}

.our-custom-gallery-slider-block-editor .move-up,
.our-custom-gallery-slider-block-editor .move-down {
    background: #0073aa;
    color: #fff;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.our-custom-gallery-slider-block-editor .move-up:hover,
.our-custom-gallery-slider-block-editor .move-down:hover {
    background: #005a87;
    color: #fff;
}

.our-custom-gallery-slider-block-editor .move-up:disabled,
.our-custom-gallery-slider-block-editor .move-down:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.our-custom-gallery-slider-block-editor .remove-image {
    background: #dc3545;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.our-custom-gallery-slider-block-editor .remove-image:hover {
    background: #000;
    color: #fff;
}

.our-custom-gallery-slider-block-editor .no-images {
    text-align: center;
    padding: 40px;
    color: #666;
    font-style: italic;
    background: #f9f9f9;
    border-radius: 8px;
    border: 2px dashed #ddd;
}