/* CWC Horizontal Feed - Custom Scroll */
.cwc-horizontal-feed-block {
    position: relative;
    overflow: visible;
}

.cwc-container {
    /*max-width: 1200px;*/
    margin: 0 auto;
    /*padding: 0 20px;*/
    position: relative;
}

.cwc-feed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.cwc-feed-title {
    margin: 0;
}

.cwc-feed-nav {
    display: flex;
    gap: 10px;
}

.cwc-feed-subheader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.cwc-feed-subtitle {
    margin: 0;
}

.cwc-archive-link {
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.cwc-archive-link:hover {
    opacity: 0.7;
}

.cwc-arrow {
    position: relative;
    width: 50px!important;
    height: 50px!important;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 2px solid #000000;
    background: transparent;
}
.cwc-arrow:hover{
    opacity: 0.7;
    background: transparent;
    border: 2px solid #000000;
}

.cwc-arrow svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    color: #000000;
}

/* Feed Wrapper - Visible overflow */
.cwc-feed-wrapper {
    position: relative;
    overflow: visible;
}

/* Slick Slider Container */
.cwc-feed-scroll {
    position: relative;
    overflow: visible;
}

/* Slick Slider Overrides */
.cwc-feed-scroll.slick-slider {
    margin-bottom: 0;
}

.cwc-feed-scroll .slick-list {
    margin: 0 -10px;
    overflow: visible;
}

.cwc-feed-scroll .slick-slide {
    padding: 0 10px;
    box-sizing: border-box;
}

.cwc-feed-scroll .slick-slide > div {
    height: 100%;
}

/* Hide Slick dots and arrows */
.cwc-feed-scroll .slick-dots {
    display: none !important;
}

.cwc-feed-scroll .slick-arrow {
    display: none !important;
}

/* Post Cards */
.cwc-post-card {
    min-width: 300px;
    padding: 0 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cwc-post-card__wrapper{
    background: #e3e3e3;
    border-radius: 30px;
    overflow: hidden;
    flex-shrink: 0;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    padding: 32px;
    transition: box-shadow 0.3s ease;
    height: 100%;
}

/* Post Thumbnail */
.cwc-post-thumbnail {
    position: relative;
    overflow: hidden;
    height: 140px;
}

.cwc-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cwc-post-card:hover .cwc-post-thumbnail img {
    transform: scale(1.05);
}

/* Post Content */
.cwc-post-content {
    margin-top: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cwc-post-title {
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.cwc-post-title a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.cwc-post-title a:hover {
    color: #333;
    transition: color 0.3s ease;
}

.cwc-post-meta {
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cwc-post-date {
    font-weight: 600;
}

.cwc-post-categories {
    font-style: italic;
}

.cwc-post-excerpt {
    margin-bottom: 15px;
    line-height: 1.5;
    color: #555;
    font-size: 14px;
    flex: 1;
}



/* No Posts Message */
.cwc-no-posts {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cwc-container {
        /*padding: 0 15px;*/
    }

    .cwc-feed-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .cwc-feed-title {
        margin-bottom: 0;
    }

    .cwc-feed-subheader {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 20px;
    }

    .cwc-feed-subtitle {
        margin-bottom: 0;
    }
    
    .cwc-feed-scroll {
        gap: 20px;
    }
    
    .cwc-post-card {
        min-width: 280px;
    }
    
    .cwc-post-card[style*="calc(50%"] {
        flex: 0 0 calc(80% - 15px) !important;
    }
    
    .cwc-post-card[style*="calc(66.667%"] {
        flex: 0 0 calc(90% - 15px) !important;
    }
    
    .cwc-post-thumbnail {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .cwc-feed-scroll {
        gap: 15px;
    }
    
    .cwc-post-card {
        min-width: 260px;
    }
    
    .cwc-post-card[style*="calc(33.333%"] {
        flex: 0 0 calc(85% - 10px) !important;
    }
    
    .cwc-post-card[style*="calc(40%"] {
        flex: 0 0 calc(90% - 10px) !important;
    }
    
    .cwc-post-card[style*="calc(50%"] {
        flex: 0 0 calc(95% - 10px) !important;
    }
    
    .cwc-post-card[style*="calc(66.667%"] {
        flex: 0 0 calc(100% - 10px) !important;
    }
    
    .cwc-post-thumbnail {
        height: 160px;
    }
}
.slick-track{
    margin-left: 0!important;
}