/* Article Features Styles */

/* Social Share Buttons */
.article-share-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
}

.share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 6px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: #fff;
    text-decoration: none;
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn.copy-link {
    background: #6c757d;
}

.share-btn.copy-link.copied {
    background: #28a745;
}

/* Engagement Stats */
.engagement-stats {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #495057;
}

.stat-item i {
    font-size: 1.2em;
    color: #007bff;
}

.stat-number {
    font-weight: bold;
    color: #212529;
}

/* Related Articles Widget */
.baca-juga-widget {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 20px;
    margin: 30px 0;
    border-radius: 4px;
}

.baca-juga-widget h3 {
    color: #856404;
    font-size: 1.3em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.related-article-item {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ffeaa7;
}

.related-article-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.related-content h4 {
    font-size: 1.1em;
    margin: 0;
    line-height: 1.4;
}

.related-content h4 a {
    color: #212529;
    text-decoration: none;
    font-weight: 600;
}

.related-content h4 a:hover {
    color: #007bff;
    text-decoration: underline;
}

/* Inline Ad Slots */
.inline-ad {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    padding: 20px;
    text-align: center;
    margin: 30px 0;
    border-radius: 8px;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inline-ad p {
    color: #6c757d;
    margin: 0;
    font-size: 0.9em;
}

/* Emoji Picker */
.emoji-picker-container {
    position: relative;
    display: inline-block;
}

.emoji-picker-btn {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.2em;
    transition: all 0.3s ease;
}

.emoji-picker-btn:hover {
    background: #e9ecef;
}

.emoji-picker {
    position: absolute;
    bottom: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: none;
    z-index: 1000;
    max-width: 300px;
}

.emoji-picker.show {
    display: block;
}

.emoji-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 5px;
}

.emoji-item {
    font-size: 1.5em;
    cursor: pointer;
    padding: 5px;
    text-align: center;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.emoji-item:hover {
    background: #f8f9fa;
}

/* Responsive */
@media (max-width: 768px) {
    .share-buttons {
        flex-direction: column;
    }

    .share-btn {
        width: 100%;
        justify-content: center;
    }

    .engagement-stats {
        flex-direction: column;
        gap: 10px;
    }
}