/* News Detail Page Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.pagenav{ 
	margin-top: 40px;
	margin-bottom: 20px;
	color:#666666;
	font-size: 1rem
}

.pagenav a{ 
	color:darkred;
	font-weight: bold;
	font-size: 1rem;
}

.news-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding: 40px 0;
}

.news-content {
    color: #333;
    line-height: 1.6;
}

.news-content h1 {
    font-size: 2.5rem;
    margin: 20px 0;
    color: #222;
}

.news-content h2 {
    font-size: 1.8rem;
    margin: 30px 0 15px;
    color: #222;
}

.news-meta .category {
    display: inline-block;
    background: #0066cc;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
}

.meta-info {
    margin: 15px 0;
    color: #666;
    font-size: 0.9rem;
}

.meta-info span {
    margin-right: 15px;
}

.news-image {
    margin: 30px 0;
}

.news-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.news-body p {
    margin-bottom: 20px;
}

.news-body a{
	color:blue;
}

.news-body img {
	max-width: 700px;
    margin-bottom: 20px;
}

/* Recommended News Sidebar */
.recommended-news {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
}

.recommended-news h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.recommended-list {
    display: grid;
    gap: 20px;
}

.news-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.card-content {
    padding: 15px;
}

.card-content .category {
    display: inline-block;
    color: #FFFFFF;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 8px;
}

/*.card-content h3 {
    margin: 5px 0 10px;
}*/

.card-content h3 a {
	font-size: 1rem;
    color: #222;
    text-decoration: none;
}

.card-content h3 a:hover {
    color: #0066cc;
}

.card-content .meta {
    color: #666;
    font-size: 0.8rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .news-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .news-content h1 {
        font-size: 2rem;
    }
}