/* News Detail Page Styles */

/* Reading Progress Bar */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 1050;
    backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    .reading-progress-bar {
        height: 3px;
    }
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #fd8535, #ffb300, #fd8535);
    background-size: 200% 100%;
    animation: shimmer 2s infinite linear;
    transition: width 0.3s ease;
    border-radius: 0 4px 4px 0;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Hero Section */
.news-hero-section {
    height: 50vh;
    min-height: 300px;
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* Hero Content Section */
.hero-content-section {
    background: #fff;
    padding: 2rem 0;
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.hero-content-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #fd8535;
}

.hero-breadcrumb {
    background: #f8f9fa;
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e9ecef;
}

.hero-breadcrumb .breadcrumb-item a {
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-breadcrumb .breadcrumb-item a:hover {
    color: #fd8535;
}

.hero-breadcrumb .breadcrumb-item.active {
    color: #333;
}

.hero-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.hero-category,
.hero-district,
.hero-featured {
    background: linear-gradient(135deg, #fd8535, #ffb300);
    color: #fff;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(253, 133, 53, 0.3);
}

.hero-category:hover,
.hero-district:hover,
.hero-featured:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(253, 133, 53, 0.4);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #333;
    line-height: 1.3;
    text-align: center;
}

.hero-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.95rem;
    background: #f8f9fa;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.meta-item:hover {
    background: #fd8535;
    color: #fff;
    border-color: #fd8535;
}

.meta-item i {
    color: #fd8535;
    transition: color 0.3s ease;
}

.meta-item:hover i {
    color: #fff;
}

/* Content Section */
.news-content-section {
    background: linear-gradient(180deg, #fff8e1 0%, #ffffff 100%);
    position: relative;
}

.news-article {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.news-article::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #fd8535, #ffb300, #fd8535);
    background-size: 200% 100%;
    animation: shimmer 2s infinite linear;
}

/* Article Stats */
.article-stats-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 1rem 0;
    margin: 1rem 0;
    border-bottom: 1px solid rgba(253, 133, 53, 0.1);
}

.stats-row {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.stat-item:hover {
    color: #fd8535;
    transform: translateY(-1px);
}

.stat-item i {
    font-size: 1.1rem;
    color: #fd8535;
    transition: all 0.3s ease;
}

.stat-item:hover i {
    transform: scale(1.1);
}

.stat-item span {
    font-weight: 500;
    font-size: 0.85rem;
}

/* Article Content */
.article-content-wrapper {
    margin-top: 2rem;
}

.article-media {
    margin-bottom: 2rem;
}

.article-image {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.article-image:hover {
    transform: scale(1.02);
}

.image-caption {
    text-align: center;
    font-style: italic;
    color: #666;
    margin-top: 1rem;
    padding: 0.5rem;
    background: rgba(253, 133, 53, 0.05);
    border-radius: 10px;
    border-left: 4px solid #fd8535;
}

.article-carousel {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.carousel-control-prev,
.carousel-control-next {
    width: 8%;
    background: linear-gradient(135deg, rgba(253, 133, 53, 0.8), rgba(255, 179, 0, 0.8));
    backdrop-filter: blur(10px);
    border-radius: 50%;
    margin: auto 10px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-indicators [data-bs-target] {
    background-color: #fd8535;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    margin: 0 3px;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin: 2rem 0;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    color: #fd8535;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.article-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.article-content blockquote {
    background: linear-gradient(135deg, #fff8e1, #fff3c4);
    border-left: 5px solid #fd8535;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 10px;
    font-style: italic;
    position: relative;
}

.article-content blockquote::before {
    content: '"';
    font-size: 4rem;
    color: rgba(253, 133, 53, 0.3);
    position: absolute;
    top: -10px;
    left: 15px;
    font-family: serif;
}

/* Tags Section */
.article-tags {
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    border: 1px solid #dee2e6;
}

.tags-title {
    color: #fd8535;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-item {
    background: linear-gradient(135deg, #fd8535, #ffb300);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tag-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(253, 133, 53, 0.4);
}

.article-actions {
    background: #ffffff;
    border-radius: 15px;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    margin-top: 1.5rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
}

.action-buttons {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.btn-like-article,
.btn-share-article,
.btn-bookmark-article,
.btn-print-article {
    background: linear-gradient(145deg, #f7f7f7, #eaeaea);
    border: none;
    color: #444;
    padding: 0.7rem;
    border-radius: 50%;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

.btn-like-article:hover {
    color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
    transform: scale(1.2);
}
.btn-share-article:hover {
    color: #0d6efd;
    background: rgba(13, 110, 253, 0.1);
    transform: scale(1.2);
}
.btn-bookmark-article:hover {
    color: #ffc107;
    background: rgba(255, 193, 7, 0.1);
    transform: scale(1.2);
}
.btn-print-article:hover {
    color: #20c997;
    background: rgba(32, 201, 151, 0.1);
    transform: scale(1.2);
}

/* Optional: animate icons on hover */
.action-buttons i {
    transition: transform 0.3s ease;
}
.action-buttons button:hover i {
    transform: scale(1.3);
}

/* Like button active */
.btn-like-article.liked {
    color: #28a745;
    background: rgba(40, 167, 69, 0.1);
}
.btn-like-article.liked i {
    color: #28a745;
}

/* Responsive for all sizes (already horizontal) */
@media (max-width: 480px) {
    .action-buttons {
        gap: 0.8rem;
    }

    .btn-like-article,
    .btn-share-article,
    .btn-bookmark-article,
    .btn-print-article {
        width: 44px;
        height: 44px;
        font-size: 1.4rem;
    }
}

.article-actions {
    background: #ffffff;
    border-radius: 15px;
    padding: 1rem 1.5rem;
    border: 1px solid #e0e0e0;
    margin-top: 1.5rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: nowrap;
    margin-bottom: 1.2rem;
}

.social-share {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.share-label {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #fff;
    font-size: 1.1rem;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.social-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.social-btn.facebook { background: #3b5998; }
.social-btn.twitter { background: #1da1f2; }
.social-btn.whatsapp { background: #25d366; }
.social-btn.telegram { background: #0088cc; }
.social-btn.linkedin { background: #0077b5; }

/* Mobile Responsiveness */
@media (max-width: 480px) {
    .action-buttons {
        flex-wrap: wrap;
        gap: 0.8rem;
    }

    .social-icons {
        gap: 0.5rem;
    }

    .social-btn {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .share-label {
        font-size: 0.9rem;
    }
}

/* Comments Section */
.comments-section {
    background: #fff;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-top: 3px solid #fd8535;
    margin-top: 1.5rem;
}

.section-title {
    color: #fd8535;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
}

.comment-item {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.comment-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(253, 133, 53, 0.1);
    border-color: rgba(253, 133, 53, 0.3);
}

.comment-avatar {
    flex-shrink: 0;
}

.avatar-placeholder {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #fd8535, #ffb300);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.comment-author {
    font-weight: 600;
    color: #fd8535;
    margin: 0;
}

.comment-date {
    font-size: 0.85rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.comment-text {
    color: #333;
    line-height: 1.6;
    margin: 0;
}

.empty-comments {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.empty-icon {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 1rem;
}

.empty-comments h5 {
    color: #fd8535;
    margin-bottom: 0.5rem;
}

/* Comment Form */
.add-comment-section {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
    margin-top: 1rem;
}

.form-title {
    color: #fd8535;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.comment-form .form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.comment-form .form-control {
    border: 2px solid #dee2e6;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.comment-form .form-control:focus {
    border-color: #fd8535;
    box-shadow: 0 0 0 0.2rem rgba(253, 133, 53, 0.25);
}

.btn-submit-comment {
    background: linear-gradient(135deg, #fd8535, #ffb300);
    border: none;
    color: #fff;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-submit-comment:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(253, 133, 53, 0.4);
    color: #fff;
}

/* Sidebar Styles */
.sidebar-content {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: #fff;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.sidebar-widget:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.widget-title {
    color: #fd8535;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(253, 133, 53, 0.2);
}

/* Quick Actions Widget */
.quick-actions .widget-content {
    display: grid;
    gap: 0.75rem;
}

.quick-action-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 1px solid #dee2e6;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
}

.quick-action-btn:hover {
    background: linear-gradient(135deg, #fd8535, #ffb300);
    color: #fff;
    transform: translateX(5px);
    border-color: transparent;
}

.quick-action-btn i {
    font-size: 1.1rem;
    color: #fd8535;
    transition: color 0.3s ease;
}

.quick-action-btn:hover i {
    color: #fff;
}

/* Related News Widget */
.related-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #fff, #f8f9fa);
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.related-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(253, 133, 53, 0.1);
    border-color: rgba(253, 133, 53, 0.3);
}

.related-image {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #fd8535, #ffb300);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
}

.related-content {
    flex: 1;
}

.related-title a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.4;
    display: block;
    margin-bottom: 0.25rem;
}

.related-title a:hover {
    color: #fd8535;
}

.related-meta {
    font-size: 0.8rem;
    color: #666;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Popular News Widget */
.popular-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #fff, #f8f9fa);
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.popular-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(253, 133, 53, 0.1);
    border-color: rgba(253, 133, 53, 0.3);
}

.popular-rank {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #fd8535, #ffb300);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.popular-content {
    flex: 1;
}

.popular-title a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.4;
    display: block;
    margin-bottom: 0.25rem;
}

.popular-title a:hover {
    color: #fd8535;
}

.popular-stats {
    font-size: 0.8rem;
    color: #666;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Category Navigation Widget */
.category-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 1px solid #dee2e6;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
}

.category-item:hover {
    background: linear-gradient(135deg, #fd8535, #ffb300);
    color: #fff;
    border-color: transparent;
    transform: translateX(5px);
}

.category-count {
    background: #fff;
    color: #fd8535;
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    min-width: 25px;
    text-align: center;
}

.category-item:hover .category-count {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* Contact Widget */
.contact-widget .widget-content {
    text-align: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 10px;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: linear-gradient(135deg, #fd8535, #ffb300);
    color: #fff;
    border-color: transparent;
}

.contact-item i {
    color: #fd8535;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.contact-item:hover i {
    color: #fff;
}

.contact-item a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item:hover a {
    color: #fff;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.social-link.facebook { background: linear-gradient(135deg, #3b5998, #4267B2); }
.social-link.twitter { background: linear-gradient(135deg, #1da1f2, #0d8bd9); }
.social-link.instagram { background: linear-gradient(135deg, #e4405f, #fd1d1d); }
.social-link.youtube { background: linear-gradient(135deg, #ff0000, #cc0000); }

.social-link:hover {
    color: #fff;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.no-related,
.no-popular {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.no-related i,
.no-popular i {
    font-size: 2rem;
    color: #ddd;
    margin-bottom: 0.5rem;
    display: block;
}

/* Lightbox */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1060;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: -20px;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    background: rgba(253, 133, 53, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: #fd8535;
    transform: scale(1.1);
}

.lightbox-caption {
    color: #fff;
    margin-top: 1rem;
    font-style: italic;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .news-hero-section {
        height: 35vh;
        min-height: 250px;
        background-attachment: scroll;
    }
    
    .hero-content-section {
        padding: 1rem 0;
        margin-top: -50px;
    }
    
    .hero-content-card {
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .hero-breadcrumb {
        padding: 0.4rem 1rem;
        margin-bottom: 1rem;
        font-size: 0.85rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-badges {
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-category,
    .hero-district,
    .hero-featured {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
        gap: 0.25rem;
    }
    
    .hero-meta {
        gap: 0.75rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .meta-item {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .news-article,
    .comments-section {
        padding: 1.25rem;
        margin-bottom: 1rem;
        border-radius: 10px;
    }
    
    .article-stats-top {
        padding: 0.75rem 0;
        gap: 1.5rem;
    }
    
    .stats-row {
        gap: 1.5rem;
    }
    
    .stat-item {
        font-size: 0.85rem;
    }
    
    .stat-item i {
        font-size: 1rem;
    }
    
    .stat-item span {
        font-size: 0.8rem;
    }
    
    .article-content {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .article-actions {
        padding: 1.25rem;
    }
    
    .action-buttons {
        gap: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .btn-like-article,
    .btn-share-article,
    .btn-bookmark-article,
    .btn-print-article {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .social-share {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
    
    .social-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .comment-item {
        padding: 0.75rem;
        gap: 0.6rem;
    }
    
    .avatar-placeholder {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .comment-author {
        font-size: 0.9rem;
    }
    
    .comment-date {
        font-size: 0.75rem;
    }
    
    .comment-text {
        font-size: 0.9rem;
    }
    
    .sidebar-content {
        position: static;
        top: auto;
        margin-top: 2rem;
    }
    
    .sidebar-widget {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .widget-title {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .widget-title i {
        font-size: 0.9rem;
    }
    
    .quick-action-btn {
        padding: 0.65rem 0.85rem;
        font-size: 0.85rem;
    }
    
    .quick-action-btn i {
        font-size: 0.95rem;
    }
    
    .related-item,
    .popular-item {
        padding: 0.75rem;
        gap: 0.75rem;
    }
    
    .related-image {
        width: 50px;
        height: 50px;
    }
    
    .placeholder-image {
        font-size: 1.1rem;
    }
    
    .related-title a,
    .popular-title a {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .related-meta,
    .popular-stats {
        font-size: 0.75rem;
    }
    
    .related-meta i,
    .popular-stats i {
        font-size: 0.7rem;
    }
    
    .popular-rank {
        width: 25px;
        height: 25px;
        font-size: 0.75rem;
    }
    
    .category-item {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .category-count {
        font-size: 0.75rem;
        padding: 0.2rem 0.4rem;
    }
    
    .contact-item {
        padding: 0.6rem;
        font-size: 0.85rem;
    }
    
    .contact-item i {
        font-size: 0.95rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .news-hero-section {
        height: 30vh;
        min-height: 200px;
        background-attachment: scroll;
    }
    
    .hero-content-section {
        padding: 0.75rem 0;
        margin-top: -40px;
    }
    
    .hero-content-card {
        padding: 1rem;
        border-radius: 10px;
    }
    
    .hero-breadcrumb {
        padding: 0.3rem 0.8rem;
        margin-bottom: 0.75rem;
        font-size: 0.8rem;
    }
    
    .hero-title {
        font-size: 1.3rem;
        line-height: 1.2;
        margin-bottom: 0.75rem;
    }
    
    .hero-badges {
        gap: 0.4rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-category,
    .hero-district,
    .hero-featured {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
    
    .hero-meta {
        gap: 0.5rem;
        flex-direction: column;
        align-items: center;
    }
    
    .meta-item {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
    
    .news-article,
    .comments-section {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .article-stats-top {
        padding: 0.5rem 0;
        gap: 1rem;
    }
    
    .stats-row {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stat-item {
        font-size: 0.8rem;
    }
    
    .stat-item i {
        font-size: 0.95rem;
    }
    
    .stat-item span {
        font-size: 0.75rem;
    }
    
    .article-content {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .article-actions {
        padding: 1rem;
    }
    
    .action-buttons {
        gap: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .btn-like-article,
    .btn-share-article,
    .btn-bookmark-article,
    .btn-print-article {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
    
    .social-share {
        gap: 0.5rem;
    }
    
    .share-label {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
    
    .social-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .section-title i {
        font-size: 1rem;
    }
    
    .comment-item {
        padding: 0.75rem;
        gap: 0.5rem;
    }
    
    .avatar-placeholder {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .comment-author {
        font-size: 0.85rem;
    }
    
    .comment-date {
        font-size: 0.7rem;
    }
    
    .comment-text {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .sidebar-widget {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .widget-title {
        font-size: 0.95rem;
        margin-bottom: 0.85rem;
    }
    
    .widget-title i {
        font-size: 0.8rem;
    }
    
    .quick-action-btn {
        padding: 0.55rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .quick-action-btn i {
        font-size: 0.85rem;
    }
    
    .related-item,
    .popular-item {
        padding: 0.6rem;
        gap: 0.6rem;
    }
    
    .related-image {
        width: 45px;
        height: 45px;
    }
    
    .placeholder-image {
        font-size: 1rem;
    }
    
    .related-title a,
    .popular-title a {
        font-size: 0.8rem;
        line-height: 1.25;
    }
    
    .related-meta,
    .popular-stats {
        font-size: 0.7rem;
    }
    
    .related-meta i,
    .popular-stats i {
        font-size: 0.65rem;
    }
    
    .popular-rank {
        width: 22px;
        height: 22px;
        font-size: 0.7rem;
    }
    
    .category-item {
        padding: 0.5rem 0.7rem;
        font-size: 0.8rem;
    }
    
    .category-count {
        font-size: 0.7rem;
        padding: 0.15rem 0.35rem;
        min-width: 20px;
    }
    
    .contact-item {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    .contact-item i {
        font-size: 0.85rem;
    }
    
    .social-links {
        gap: 0.5rem;
        margin-top: 1rem;
    }
    
    .social-link {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    .lightbox-close {
        top: -35px;
        right: -8px;
        font-size: 1.3rem;
        width: 32px;
        height: 32px;
    }
    
    .form-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .comment-form .form-label {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }
    
    .comment-form .form-control {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
        border-radius: 8px;
    }
    
    .btn-submit-comment {
        padding: 0.6rem 1.5rem;
        font-size: 0.85rem;
        border-radius: 20px;
    }
    
    .btn-submit-comment i {
        font-size: 0.8rem;
    }
    
    .tags-title {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    
    .tags-title i {
        font-size: 0.8rem;
    }
    
    .tag-item {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
        border-radius: 15px;
    }
    
    .image-caption {
        font-size: 0.85rem;
        padding: 0.4rem;
        margin-top: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.3rem;
    }
    
    .stats-row {
        gap: 0.75rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stat-item {
        font-size: 0.75rem;
    }
    
    .stat-item i {
        font-size: 0.9rem;
    }
    
    .stat-item span {
        font-size: 0.7rem;
    }
    
    .action-buttons {
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .btn-like-article,
    .btn-share-article,
    .btn-bookmark-article,
    .btn-print-article {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    
    .social-btn {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
    }
    
    .sidebar-widget {
        padding: 0.85rem;
    }
    
    .widget-title {
        font-size: 0.9rem;
    }
}

/* Print Styles */
@media print {
    .reading-progress-bar,
    .article-actions,
    .comments-section,
    .sidebar-content,
    .lightbox-modal {
        display: none !important;
    }
    
    .news-hero-section {
        background: none !important;
        color: #333 !important;
        min-height: auto;
    }
    
    .hero-title {
        color: #333 !important;
        text-shadow: none !important;
    }
    
    .news-article {
        box-shadow: none !important;
        border: 1px solid #ddd;
    }
}

/* Loading States */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Accessibility Improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus States for Keyboard Navigation */
.btn:focus,
.form-control:focus,
.social-btn:focus,
.quick-action-btn:focus,
.category-item:focus {
    outline: 3px solid rgba(253, 133, 53, 0.5);
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .news-hero-section {
        background: #000 !important;
        color: #fff !important;
    }
    
    .hero-badges > * {
        background: #333 !important;
        border: 2px solid #fff !important;
    }
    
    .article-actions,
    .comments-section,
    .sidebar-widget {
        border: 2px solid #333;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .progress-fill {
        animation: none;
    }
}