/* Sepnex Social Plugin Styles */
.sepnex-posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 10px;
    margin: 10px 0;
    font-family: "Iran sans"
}

.sepnex-card {
    border: 1px solid #ddd;
    border-radius: 15px 15px 8px 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sepnex-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.sepnex-image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.sepnex-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sepnex-card h3 {
    margin: 0 15px 10px;
    font-size: 16px;
    line-height: 1.4;
    color: #333;
    font-family: "Iran sans", Sans-serif !important;
}

.sepnex-card .author {
    margin: 0 15px 10px;
    color: #666;
    font-size: 14px;
    font-family: "Iran sans", Sans-serif !important;
}

.sepnex-card .price {
    margin: 0 15px 15px;
    color: #674FA3;
    font-weight: bold;
    font-size: 14px;
    font-family: "Iran sans", Sans-serif !important;
}

/* Error and empty state styles */
.sepnex-error,
.sepnex-empty {
    margin: 20px 0;
    border-radius: 8px;
}

.sepnex-error p,
.sepnex-empty p {
    margin: 0;
    font-weight: 500;
}

/* Responsive design */
@media (max-width: 768px) {
    .sepnex-posts {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .sepnex-posts {
        grid-template-columns: 1fr;
    }
}
