/**
 * Nepali News Single Post Styles
 * Built for PopularFX theme compatibility
 * Black & white newspaper design
 */

/* Category Badge */
.nepali-category-badge {
    margin-bottom: 15px;
}

.nepali-category-badge a {
    display: inline-block;
    padding: 5px 15px;
    background: #000000;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 3px;
}

/* Entry Title */
.single-nepali-post .entry-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 15px 0;
    color: #000000;
}

/* Custom Meta Bar */
.nepali-entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 0;
    margin-bottom: 20px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
    color: #666;
}

.nepali-author-separator {
    color: #999;
}

/* Social Sharing */
.nepali-social-share {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
    padding: 12px;
    background: #f9f9f9;
    border: 1px solid #eee;
}

.nepali-social-share .share-label {
    font-size: 13px;
    font-weight: 600;
    color: #000;
    margin-right: 10px;
}

.nepali-social-share .share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nepali-social-share .share-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.nepali-social-share .share-btn.facebook {
    background: #1877f2;
}

.nepali-social-share .share-btn.twitter {
    background: #1da1f2;
}

.nepali-social-share .share-btn.whatsapp {
    background: #25d366;
}

.nepali-social-share .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Entry Content */
.single-nepali-post .entry-content {
    font-size: 17px;
    line-height: 1.8;
    color: #333;
    margin: 30px 0;
}

.single-nepali-post .entry-content p {
    margin-bottom: 20px;
}

.single-nepali-post .entry-content h2,
.single-nepili-post .entry-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #000;
}

/* Featured Image */
.single-nepali-post .post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 0 20px 0;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.single-nepali-post .post-thumbnail img:hover {
    filter: grayscale(0%);
}

/* Tags */
.nepali-tags {
    margin: 30px 0;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.nepali-tags .tags-label {
    font-weight: 600;
    color: #000;
    margin-right: 10px;
}

.nepili-tags a {
    display: inline-block;
    padding: 5px 12px;
    margin: 5px 5px 0 0;
    background: #f5f5f5;
    border: 1px solid #ddd;
    font-size: 13px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
}

.nepali-tags a:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* Related News */
.nepali-related-news {
    margin: 40px 0;
    padding: 30px 0;
    border-top: 2px solid #000;
}

.nepali-related-news .related-title {
    margin: 0 0 20px 0;
    font-size: 20px;
    font-weight: 600;
    color: #000;
}

.nepili-related-news .related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.nepali-related-news .related-item {
    display: flex;
    flex-direction: column;
}

.nepali-related-news .related-thumb {
    margin-bottom: 10px;
    overflow: hidden;
}

.nepali-related-news .related-thumb img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.nepali-related-news .related-thumb:hover img {
    filter: grayscale(0%);
}

.nepali-related-news .related-post-title {
    margin: 0 0 5px 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.nepali-related-news .related-post-title a {
    color: #000;
    text-decoration: none;
}

.nepali-related-news .related-post-title a:hover {
    color: #333;
    text-decoration: underline;
}

.nepali-related-news .related-date {
    font-size: 12px;
    color: #999;
}

/* Responsive */
@media (max-width: 768px) {
    .single-nepali-post .entry-title {
        font-size: 24px;
    }

    .nepali-entry-meta {
        font-size: 13px;
    }

    .nepili-social-share {
        flex-wrap: wrap;
    }

    .nepali-social-share .share-btn {
        flex: 1;
        justify-content: center;
    }

    .nepali-related-news .related-grid {
        grid-template-columns: 1fr;
    }

    .single-nepali-post .entry-content {
        font-size: 16px;
    }
}

/* Ensure sidebar works with PopularFX */
#primary {
    float: left;
    width: 70%;
}

@media (max-width: 992px) {
    #primary {
        float: none;
        width: 100%;
    }
}
