/*
 * Single Post/Blog Styles
 * Single news article page
 */

/* Single News Page */
.single-news-page {
    padding-top: 100px;
    background: var(--bg-light);
}

.single-news-hero {
    margin-bottom: 2rem;
}

.single-news-featured-image {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
}

.single-news-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-news-content {
    padding: 2rem 0;
}

.single-news-article {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.single-news-header {
    margin-bottom: 2rem;
}

.single-news-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 0 0 1rem;
    line-height: 1.3;
}

.single-news-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.news-date {
    color: var(--primary-red);
}

.single-news-content-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.single-news-content-text p {
    margin-bottom: 1.5rem;
}

.single-news-content-text h2 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin: 2rem 0 1rem;
}

.single-news-content-text h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin: 1.5rem 0 1rem;
}

.single-news-content-text ul,
.single-news-content-text ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.single-news-footer {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    margin-top: 2rem;
}

.cat-links,
.tags-links {
    display: inline-block;
    margin-right: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.cat-links a,
.tags-links a {
    color: var(--primary-red);
    text-decoration: none;
}

.cat-links a:hover,
.tags-links a:hover {
    text-decoration: underline;
}

.single-news-navigation {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.back-to-news-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary-red);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.back-to-news-btn:hover {
    background: var(--primary-red);
}

/* Related News */
.related-news {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.related-news-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 2rem;
}

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

.related-news-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.related-news-item:hover {
    transform: translateY(-3px);
}

.related-news-item a {
    display: block;
    text-decoration: none;
}

.related-news-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
}

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

.related-news-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-dark);
    padding: 1rem;
    margin: 0;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
    .single-news-title {
        font-size: 1.75rem;
    }

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

    .single-news-article {
        padding: 1.5rem;
    }
}

