
.theme-cycle-posts.has-custom-layout .theme-cycle-posts-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--theme-cycle-gap, 20px);
}

.theme-cycle-posts.has-custom-layout .theme-cycle-posts-item {
    flex: 0 0 var(--theme-cycle-item-width, calc((100% - 60px) / 4));
}

.theme-cycle-posts-slider-wrapper {
    position: relative;
}

.theme-cycle-posts-slider-wrapper .theme-cycle-posts-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    align-items: stretch;
}

.theme-cycle-posts-slider-wrapper .theme-cycle-posts-item {
    flex-shrink: 0;
    width: 100%;
    height: auto;
}

.theme-cycle-categories.has-custom-layout .theme-cycle-categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--theme-cycle-gap, 20px);
}

.theme-cycle-categories.has-custom-layout .theme-cycle-categories-item {
    flex: 0 0 var(--theme-cycle-item-width, calc((100% - 60px) / 4));
    width: auto;
}

.theme-cycle-categories-slider-wrapper {
    position: relative;
}

.theme-cycle-categories-slider-wrapper .theme-cycle-categories-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    align-items: stretch;
}

.theme-cycle-categories-slider-wrapper .theme-cycle-categories-item {
    flex-shrink: 0;
    width: 100%;
    height: auto;
}
