.wwf-feed-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.wwf-feed-wrapper.wwf-feed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.wwf-feed-wrapper.wwf-feed-grid.wwf-feed-columns-1 {
    grid-template-columns: 1fr;
}

.wwf-feed-wrapper.wwf-feed-grid.wwf-feed-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.wwf-feed-wrapper.wwf-feed-grid.wwf-feed-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.wwf-feed-wrapper.wwf-feed-grid.wwf-feed-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.wwf-feed-wrapper.wwf-feed-list {
    flex-direction: column;
}

.wwf-feed-wrapper.wwf-feed-list .wwf-feed-post {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.wwf-feed-wrapper.wwf-feed-list .wwf-feed-post:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.wwf-feed-post {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Make whole card clickable */
.wwf-feed-post a.wwf-feed-post-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.wwf-feed-post:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.wwf-feed-post-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.wwf-feed-post:hover .wwf-feed-post-image img {
    transform: scale(1.05);
}

.wwf-feed-wrapper.wwf-feed-list .wwf-feed-post-image {
    width: 200px;
    height: 150px;
    flex-shrink: 0;
}

.wwf-feed-post-content {
    padding: 20px;
}

.wwf-feed-wrapper.wwf-feed-list .wwf-feed-post-content {
    padding: 0;
    flex: 1;
}

.wwf-feed-post-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    line-height: 1.4;
}

.wwf-feed-post-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.wwf-feed-post-title a:hover {
    color: #007cba;
}

.wwf-feed-post-content-text {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

@media (max-width: 768px) {
    .wwf-feed-wrapper.wwf-feed-grid {
        grid-template-columns: 1fr;
    }

    .wwf-feed-wrapper.wwf-feed-list .wwf-feed-post {
        flex-direction: column;
    }

    .wwf-feed-wrapper.wwf-feed-list .wwf-feed-post-image {
        width: 100%;
        height: 200px;
    }

    .wwf-feed-wrapper.wwf-feed-list .wwf-feed-post-content {
        padding: 20px 0 0 0;
    }
}

@media (max-width: 480px) {
    .wwf-feed-wrapper {
        gap: 15px;
    }

    .wwf-feed-post-content {
        padding: 15px;
    }

    .wwf-feed-post-title {
        font-size: 16px;
    }

    .wwf-feed-post-content-text {
        font-size: 13px;
    }
}