* {
    margin: 0;
    padding: 0;
    font-family: 'Oswald', sans-serif;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: black;
}

/* Section Navigation */
.section-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.5rem 0;
    padding: 1rem 0;
    background: transparent;
    position: sticky;
    top: 80px;
    z-index: 100;
}

.section-link {
    flex: 1;
    padding: 0.5rem 1rem;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    text-align: center;
}

.section-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.section-link:active {
    transform: translateY(0);
}

.news-article{
    padding-left: 10vw;
}
/* Article Content Layout */
.article-content {
    width: 70%;
    background-color: transparent;
}

/* Article Images */
.article-image {
    padding: 0;
    width: 100%;
    height: auto;
    margin: 0; /* Center the container */
}

.article-image img {
    width: 100%; /* Changed from 85% to 100% since parent is now 85% */
    height: auto;
    border-radius: 8px;
    max-height: 600px;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}

.article-text {
    font-size: 16px;
    line-height: 1.6;
    color: #ffffff;
    padding: 0;
    margin-top: 2rem;
}

.article-text h2 {
    color: #fff;
    font-size: 2rem;
    margin: 0 0 1rem;
    padding: 0;
}

.article-text p {
    color: #fff;
    margin-bottom: 1.5rem;
    padding: 0;
    line-height: 1.6;
}

/* Summary row for pros / cons / mn_take (side-by-side on desktop, stacked on mobile) */
.summary-row {
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}
.summary-item {
    flex: 1 1 0;
    min-width: 0; /* prevents overflow when text is long */
    background: rgba(255,255,255,0.02);
    padding: 0.75rem 1rem;
    border-radius: 8px;
}
.summary-item h2 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.summary-item p {
    color: #ddd;
    font-size: 0.95rem;
    margin: 0;
}

.image-gallery {
    width: 85%;
    margin: 0 auto; 
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    overflow-x: auto;
    padding-bottom: 1rem;
}

.image-gallery::-webkit-scrollbar {
    display: none;
    height: 8px;
}

.image-gallery::-webkit-scrollbar-track {
    background: transparent;
}

.image-gallery::-webkit-scrollbar-thumb {
    background-color: lightskyblue;
    border-radius: 4px;
}

.image-gallery img {
    width: 120px;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.3s ease;
    border-radius: 16px;
}

.image-gallery img:hover {
    opacity: 0.8;
    border-radius: 16px;
}

.main-image-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 16px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 4px;
    transition: background-color 0.3s, opacity 0.2s;
    opacity: 0; /* hidden by default */
    pointer-events: none; /* avoid accidental clicks when hidden */
}

.main-image-container:hover .slider-btn,
.slider-btn:focus {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 12px;
    opacity: 1;
    pointer-events: auto;
}

/* Ensure arrows are accessible when focused (keyboard users) */
.slider-btn:focus {
    outline: 2px solid lightskyblue;
    outline-offset: 2px;
}

.prev-btn {
    left: 10px;
    border-radius: 12px;
}

.next-btn {
    right: 10px;
    border-radius: 12px;
}

.image-gallery-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    width: 100%;
}

.gallery-nav {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.gallery-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}

.image-gallery {
    flex: 1;
    scroll-behavior: smooth;
}
hr{
    width: 90%;
    margin: auto;
    background-color: lightskyblue;
    border: 1px solid lightskyblue;
    height: 2px;
}
@media (max-width: 768px) {
    .article-container {
        width: 95%;
        padding: 20px 15px;
    }
    
    .article-header h1 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .article-image {
        width: 100%;
        margin: 15px 0;
    }
    
    .image-gallery {
        width: 100%;
        gap: 0.5rem;
    }
    
    .image-gallery img {
        width: 80px;
        height: 60px;
    }
    
    .article-text h2 {
        font-size: 1.3rem;
    }
    
    .article-text p {
        font-size: 14px;
        line-height: 1.5;
    }
    /* On mobile/touch devices, make slider buttons visible (no hover) */
    .slider-btn {
        opacity: 1;
        pointer-events: auto;
    }
    /* Stack summary fields on mobile */
    .summary-row {
        flex-direction: column;
        gap: 0.75rem;
    }
    .summary-item {
        padding: 0.75rem;
    }
    
    /* Section navigation responsive */
    .section-nav {
        gap: 0.4rem;
        padding: 0.75rem;
        top: 60px;
        overflow-x: auto;
        flex-wrap: nowrap;
    }
    
    .section-nav::-webkit-scrollbar {
        height: 4px;
    }
    
    .section-nav::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.3);
        border-radius: 2px;
    }
    
    .section-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
}