/* Breadcrumb Navigation */
.breadcrumb-section {
    padding: 1rem 0;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb a {
    color: var(--primary-color, #007bff);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.breadcrumb .separator {
    color: #ccc;
    font-size: 0.8rem;
}

.breadcrumb .current-page {
    color: #333;
    font-weight: 500;
}

.news-detail {
    padding: 3rem 0;
}

.news-detail .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

.news-header {
    text-align: center;
    margin-bottom: 2rem;
}

.news-header .category {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--primary-color, #007bff);
    color: #fff;
    border-radius: 5px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    margin-top: 6rem;
}

.news-header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.news-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-meta i {
    color: var(--primary-color, #007bff);
}

.news-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.news-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    text-align: justify;
}

.news-content p {
    margin-bottom: 1.5rem;
}

.news-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 2rem 0;
}

/* Related News Section */
.related-news {
    margin-top: 4rem;
    padding: 3rem 0;
    background-color: #f8f9fa;
    border-radius: 15px;
}

.related-news .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.related-news h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #333;
    text-align: center;
    position: relative;
}

.related-news h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color, #007bff);
    border-radius: 2px;
}

.related-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Related News Cards */
.related-news .news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.related-news .news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.related-news .news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-news .news-card:hover img {
    transform: scale(1.05);
}

.related-news .news-card .news-content {
    padding: 1.5rem;
    text-align: left;
}

.related-news .news-card .date {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    display: block;
}

.related-news .news-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-news .news-card .news-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-news .read-more-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color, #007bff);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.related-news .read-more-button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

/* Loading and Error States */
.related-news-grid p {
    text-align: center;
    color: #666;
    font-style: italic;
    grid-column: 1 / -1;
    padding: 2rem;
}

.related-news-grid div[style*="text-align: center"] {
    grid-column: 1 / -1;
    padding: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .news-header h1 {
        font-size: 2rem;
    }

    .news-image {
        height: 300px;
    }

    .news-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .related-news {
        margin-top: 2rem;
        padding: 2rem 0;
    }

    .related-news h2 {
        font-size: 1.5rem;
    }

    .related-news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .related-news .news-card .news-content {
        padding: 1rem;
    }

    .related-news .news-card h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .related-news .news-card img {
        height: 180px;
    }

    .related-news .read-more-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

