/**
 * Ad Styles
 * Styles for ad banners, placeholders, and sponsored labels
 */

/* Sponsored Label */
.slot-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #9ca3af;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.slot-label::before {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, #374151);
}

.slot-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to left, transparent, #374151);
}

/* Ad Banner */
.slot-card {
    margin: 1.5rem 0;
    text-align: center;
}

.slot-card .slot-link {
    display: block;
    width: 100%;
    max-width: 728px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: visible;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.slot-card .slot-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.slot-card .slot-img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Banner sizes */
.slot-card-community_post,
.slot-card-blog_article {
    width: 100%;
}

.slot-card-community_post .slot-img,
.slot-card-blog_article .slot-img {
    width: 100%;
    max-width: 728px;
    height: auto;
    min-height: 90px;
}

@media (max-width: 768px) {
    .slot-card-community_post .slot-img,
    .slot-card-blog_article .slot-img {
        max-width: 100%;
        max-height: 60px;
    }
}

/* Ad Placeholder */
.slot-empty {
    margin: 1.5rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
    border: 1px dashed rgba(99, 102, 241, 0.3);
    border-radius: 12px;
    text-align: center;
}

.slot-empty-content i {
    font-size: 2rem;
    color: #6366f1;
    margin-bottom: 0.75rem;
    display: block;
}

.slot-empty-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e5e7eb;
    margin-bottom: 0.5rem;
}

.slot-empty-content p {
    font-size: 0.9rem;
    color: #9ca3af;
    margin-bottom: 1rem;
}

.slot-empty-content .btn {
    font-size: 0.85rem;
}

/* Compact placeholder for smaller spaces */
.slot-empty-compact {
    padding: 1rem;
}

.slot-empty-compact .slot-empty-content i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.slot-empty-compact .slot-empty-content h4 {
    font-size: 1rem;
}

.slot-empty-compact .slot-empty-content p {
    display: none;
}

/* Dark theme adjustments */
@media (prefers-color-scheme: light) {
    .slot-label {
        color: #6b7280;
    }
    
    .slot-label::before,
    .slot-label::after {
        background: linear-gradient(to right, transparent, #d1d5db);
    }
    
    .slot-empty {
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.08));
        border-color: rgba(99, 102, 241, 0.2);
    }
    
    .slot-empty-content h4 {
        color: #1f2937;
    }
    
    .slot-empty-content p {
        color: #6b7280;
    }
}
