/* News Detail Page Styles */

body {
    background-color: #ffffff;
}

/* Hero Section */
.news-hero {
    position: relative;
    padding: 1rem 0 2rem;
    background: #ffffff;
    text-align: center;
    margin-top: 0;
}

.news-hero__bg {
    display: none;
}

.news-hero .container {
    position: relative;
    z-index: 1;
    width: 100%;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--color-muted);
}

.breadcrumbs a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

/* Remove dark breadcrumbs styles */
.breadcrumbs.dark {
    color: inherit;
}

.breadcrumbs.dark a {
    color: var(--color-primary);
}

.news-header {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 4rem;
}

.news-date {
    display: inline-block;
    background: rgba(28, 78, 128, 0.1);
    color: var(--color-primary);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.news-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.2;
    margin: 0;
    color: var(--color-highlight);
    text-shadow: none;
}

/* Content Section */
.news-content-section {
    padding: 4rem 0 6rem;
}

.news-body {
    max-width: 800px;
    margin: 0 auto;
}

.news-body .lead {
    font-size: 1.4rem;
    line-height: 1.6;
    font-weight: 500;
    color: var(--color-highlight);
    margin-bottom: 2.5rem;
    border-left: 4px solid var(--color-primary);
    padding-left: 1.5rem;
}

.news-body .content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text);
}

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

.news-body .content h3 {
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.back-link {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--color-highlight);
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--color-muted);
}

.share-buttons a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.share-buttons a:hover {
    color: var(--color-primary);
}

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

.related-news h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--color-highlight);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.related-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.related-card .date {
    font-size: 0.8rem;
    color: var(--color-muted);
    display: block;
    margin-bottom: 0.5rem;
}

.related-card h4 {
    font-size: 1.1rem;
    color: var(--color-highlight);
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .news-hero {
        padding: 0.5rem 0 1.5rem;
    }

    .news-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* News Header with Image */
.news-header-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.news-header-image {
    flex: 0 0 200px;
    width: 200px;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

.news-header-content {
    flex: 1;
}

.news-header-content h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    line-height: 1.2;
    color: var(--color-highlight);
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .news-header-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .news-header-content h1 {
        font-size: 1.8rem;
    }
}


.news-header-image,
.news-body img {
    cursor: pointer;
}

/* News Detail Slider */
.news-detail-slider {
    flex: 0 0 400px;
    width: 400px;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .news-detail-slider {
        flex: 0 0 auto;
        width: 100%;
        height: 250px;
    }
}

.news-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s;
    cursor: pointer;
}

.news-slide.is-active {
    opacity: 1;
    visibility: visible;
}

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

.news-slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
    z-index: 2;
}

.slider-btn {
    pointer-events: auto;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: background 0.2s;
}

.slider-btn:hover {
    background: #fff;
}

.news-slider-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.news-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(0,0,0,0.1);
    padding: 0;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.news-dot.is-active {
    background: #fff;
    transform: scale(1.2);
}

