/* News Details Page Styles */

/* Breadcrumb */
.news-details-breadcrumb {
    margin-top: 20px;
}

/* Page Header */
.page-header-small {
    font-size: 1.8rem;
    margin: 20px 0;
    color: #333;
    line-height: 1.3;
}

.page-header-small small {
    font-size: .9rem;
    color: #666;
}

/* Screen Reader Only */
.sr-only {
    display: none;
}

/* News Meta Row */
.news-meta-row {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    clear: both;
}

.news-meta-item {
    margin-right: 20px;
}

/* Tags Section */
.tags-section {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.tags-section strong {
    margin-right: 10px;
}

.tag-link {
    display: inline-block;
    margin: 5px 5px 5px 0;
    padding: 5px 12px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.tag-link:hover {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}

/* Category Link */
.news-category-link {
    margin: 10px 0;
}

.news-category-link a {
    color: #007bff;
    text-decoration: none;
}

/* Article Content */
.description_text {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
}

.description_text img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Gallery */
.gallery-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.gallery-row img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
}

/* Related News Section */
.related-news-section h2,
.latest-news-section h2 {
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
}

.related-news-card {
    margin-bottom: 20px;
}

.related-news-meta {
    color: #999;
    margin-top: 5px;
    display: block;
}

/* Sidebar Sections */
.sidebar-section {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,.1);
    margin-bottom: 20px;
}

.sidebar-section h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
}

.sidebar-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.sidebar-item:last-child {
    border-bottom: none;
}

.sidebar-item-link {
    text-decoration: none;
    color: #333;
}

.sidebar-item-title {
    font-size: 0.95rem;
    margin-bottom: 5px;
    line-height: 1.4;
}

.sidebar-item-meta {
    color: #999;
}

.sidebar-button {
    margin-top: 15px;
}

.sidebar-button .btn {
    width: 100%;
    text-align: center;
    padding: 10px;
}

/* Facebook Comments */
.fb-comments {
    margin-top: 20px;
    width: 100% !important;
}

/* Social Share */
.social-share {
    margin: 10px 0;
    text-align: right;
}

.social-share .fa-stack {
    font-size: 1.2rem;
    margin-left: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .page-header-small {
        font-size: 1.5rem;
    }
    
    .description_text {
        font-size: .95rem;
    }
    
    .gallery-row {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    
    .related-news-card img {
        height: 120px;
    }
    
    .related-news-section h2,
    .latest-news-section h2 {
        font-size: 1.3rem;
    }
}

