/* News Page Custom Styles */
.single-news-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.single-news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.single-news-item .news-image {
    position: relative;
    overflow: hidden;
}

.single-news-item .news-image img {
    transition: transform 0.3s ease;
}

.single-news-item:hover .news-image img {
    transform: scale(1.05);
}

.single-news-item .news-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.single-news-item .news-meta {
    font-size: 13px;
    color: #999;
}

.single-news-item .news-meta span {
    margin-right: 10px;
}

.single-news-item .title a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.single-news-item .title a:hover {
    color: #667eea !important;
}

.single-news-item .read-more-btn {
    display: inline-block;
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.single-news-item .read-more-btn:hover {
    color: #764ba2;
    transform: translateX(5px);
}

/* News Detail Styles */
.news-detail-content {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.news-meta {
    font-size: 14px;
    color: #999;
}

.news-meta span {
    margin-right: 15px;
}

.news-content h1,
.news-content h2,
.news-content h3,
.news-content h4 {
    margin-top: 20px;
    margin-bottom: 15px;
    color: #333;
}

.news-content p {
    margin-bottom: 15px;
}

.news-content ul,
.news-content ol {
    margin-bottom: 15px;
    padding-left: 30px;
}

.news-content blockquote {
    border-left: 4px solid #667eea;
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: #666;
}

.news-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

/* Sidebar Styles */
.news-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.related-news-item a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-news-item a:hover {
    color: #667eea !important;
}

/* Share Buttons */
.share-buttons .btn {
    width: 35px;
    height: 35px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Pagination */
.pagination-wrapper nav {
    display: flex;
    justify-content: center;
}

.pagination-wrapper .pagination {
    gap: 5px;
}

.pagination-wrapper .page-link {
    border-radius: 5px;
    color: #667eea;
    border: 1px solid #e0e0e0;
    padding: 8px 15px;
}

.pagination-wrapper .page-link:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.pagination-wrapper .page-item.active .page-link {
    background: #667eea;
    border-color: #667eea;
}

/* Responsive */
@media (max-width: 991px) {
    .news-sidebar {
        position: static;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .single-news-item .news-image img {
        height: 200px !important;
    }
    
    .news-detail-content {
        padding: 20px;
    }
    
    .news-title {
        font-size: 24px !important;
    }
    
    .share-buttons {
        margin-top: 15px;
    }
}
