.spc-container {
    margin: 40px 0;
    padding: 20px 0;
}

/* Приховуємо стрілки/кнопки теми */
.spc-similar-posts .slick-arrow,
.spc-similar-posts .swiper-button-prev,
.spc-similar-posts .swiper-button-next,
.spc-similar-posts button[class*="prev"],
.spc-similar-posts button[class*="next"],
.spc-similar-posts button[class*="arrow"],
.spc-scroll-container .slick-arrow,
.spc-scroll-container .swiper-button-prev,
.spc-scroll-container .swiper-button-next,
.spc-scroll-container button[class*="prev"],
.spc-scroll-container button[class*="next"],
.spc-scroll-container button[class*="arrow"],
.spc-recent-comments .slick-arrow,
.spc-recent-comments .swiper-button-prev,
.spc-recent-comments .swiper-button-next,
.spc-recent-comments button[class*="prev"],
.spc-recent-comments button[class*="next"],
.spc-recent-comments button[class*="arrow"],
.spc-comments-wrapper .slick-arrow,
.spc-comments-wrapper .swiper-button-prev,
.spc-comments-wrapper .swiper-button-next,
.spc-comments-wrapper button[class*="prev"],
.spc-comments-wrapper button[class*="next"],
.spc-comments-wrapper button[class*="arrow"] {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Радикальне приховування всіх кнопок у контейнерах плагіна */
.spc-container button,
.spc-similar-posts button,
.spc-recent-comments button {
    display: none !important;
}

.spc-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #333;
}

.spc-similar-posts {
    margin-bottom: 50px;
}

.spc-scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.spc-scroll-container::-webkit-scrollbar {
    display: none;
}

.spc-posts-wrapper {
    display: flex;
    gap: 20px;
    padding: 10px 0;
}

.spc-post-item {
    flex: 0 0 320px;
    height: 220px;
}

.spc-post-link {
    display: block;
    height: 100%;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.spc-post-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.spc-post-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.spc-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.spc-post-link:hover .spc-post-image img {
    transform: scale(1.08);
}

.spc-no-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.spc-post-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px 20px;
    background: linear-gradient(to top, 
        rgba(0, 0, 0, 0.9) 0%, 
        rgba(0, 0, 0, 0.7) 40%, 
        rgba(0, 0, 0, 0.4) 70%, 
        transparent 100%);
    min-height: 120px;
    display: flex;
    align-items: flex-end;
}

.spc-post-title {
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.spc-recent-comments {
    margin-top: 30px;
}

.spc-comments-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.spc-comment-item {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.spc-comment-item:hover {
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.spc-comment-link {
    display: flex;
    gap: 15px;
    text-decoration: none;
    color: inherit;
}

.spc-comment-avatar {
    flex-shrink: 0;
}

.spc-comment-avatar img,
.spc-comment-avatar .avatar,
.spc-round-avatar {
    border-radius: 50% !important;
    width: 60px !important;
    height: 60px !important;
    object-fit: cover !important;
    border: 3px solid #fff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    display: block !important;
}

.spc-comment-content {
    flex: 1;
    min-width: 0;
}

.spc-comment-author {
    font-weight: 700;
    color: #333;
    margin-bottom: 6px;
    font-size: 15px;
}

.spc-comment-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 8px;
}

.spc-comment-post {
    font-size: 12px;
    color: #999;
    font-style: italic;
}

@media (max-width: 768px) {
    .spc-post-item {
        flex: 0 0 280px;
        height: 200px;
    }
    
    .spc-post-title {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .spc-post-item {
        flex: 0 0 240px;
        height: 180px;
    }
    
    .spc-post-title {
        font-size: 14px;
    }
}