/* استایل‌های اصلی ریلز */
.wp-reels-container {
    max-width: 800px;
    margin: 0 auto;
    background: #000;
    color: #fff;
    border-radius: 10px;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.wp-reels-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #111;
    border-bottom: 1px solid #333;
}

.wp-reels-title {
    margin: 0;
    font-size: 24px;
    color: #fff;
}

.wp-reels-controls button {
    background: #0095f6;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 10px;
    transition: background 0.3s;
}

.wp-reels-controls button:hover {
    background: #0081d6;
}

.wp-reels-wrapper {
    height: 80vh;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.wp-reel-item {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #333;
    position: relative;
}

.wp-reel-video {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    overflow: hidden;
}

.wp-reel-video video,
.wp-reel-video img {
    max-width: 100%;
    max-height: 60vh;
    object-fit: contain;
}

.wp-reel-no-media {
    padding: 40px;
    text-align: center;
    color: #999;
    font-size: 18px;
}

.wp-reel-content {
    padding: 20px;
    background: rgba(0, 0, 0, 0.8);
}

.wp-reel-title {
    margin: 0 0 10px 0;
    font-size: 18px;
}

.wp-reel-title a {
    color: #fff;
    text-decoration: none;
}

.wp-reel-title a:hover {
    color: #0095f6;
}

.wp-reel-excerpt {
    color: #ccc;
    margin-bottom: 15px;
    line-height: 1.6;
}

.wp-reel-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #aaa;
}

.wp-reel-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wp-reel-author img {
    border-radius: 50%;
}

.wp-reel-actions {
    display: flex;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid #333;
}

.wp-reel-actions button,
.wp-reel-comment-link {
    background: transparent;
    color: #fff;
    border: 1px solid #555;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
}

.wp-reel-actions button:hover,
.wp-reel-comment-link:hover {
    background: #333;
    border-color: #777;
}

.wp-reels-pagination {
    padding: 20px;
    text-align: center;
    background: #111;
}

.wp-reels-pagination .page-numbers {
    color: #fff;
    padding: 5px 10px;
    margin: 0 2px;
    text-decoration: none;
    background: #333;
    border-radius: 3px;
}

.wp-reels-pagination .current {
    background: #0095f6;
}

.wp-reels-load-more {
    padding: 20px;
    text-align: center;
}

#wp-reels-load-more-btn {
    background: #0095f6;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

#wp-reels-load-more-btn:hover {
    background: #0081d6;
}

.wp-reels-no-posts {
    text-align: center;
    padding: 40px;
    color: #999;
    font-size: 18px;
}

/* استایل برای موبایل */
@media (max-width: 768px) {
    .wp-reels-container {
        border-radius: 0;
    }
    
    .wp-reel-item {
        min-height: 90vh;
    }
    
    .wp-reel-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .wp-reel-actions {
        flex-direction: column;
    }
}