.wp-block-angie-snippets-subcategory-carousel-3787 {
    margin: 2rem 0;
    width: 100%;
}

.subcategory-carousel-title {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.subcategory-swiper-3787 {
    padding: 10px 0;
    overflow: hidden;
    position: relative;
}

.subcategory-card {
    display: block;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.subcategory-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.subcategory-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.subcategory-card:hover .subcategory-image {
    transform: scale(1.05);
}

.subcategory-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.subcategory-name {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
    color: white;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.subcategory-count {
    font-size: 0.9rem;
    color: #e0e0e0;
}

.subcategory-swiper-3787 .swiper-button-next,
.subcategory-swiper-3787 .swiper-button-prev {
    background-color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    color: #333;
}

.subcategory-swiper-3787 .swiper-button-next:after,
.subcategory-swiper-3787 .swiper-button-prev:after {
    font-size: 16px;
    font-weight: bold;
}

/* Editor Styles */
.editor-carousel-preview {
    display: flex;
    gap: 20px;
    overflow: hidden;
}

.editor-slide-preview {
    flex: 0 0 calc(25% - 15px);
}

.editor-notice {
    margin-top: 15px;
    padding: 10px;
    background: #f8f9fa;
    border-left: 4px solid #007cba;
    font-size: 13px;
}
