
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 4rem;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100vh;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 2s ease-in-out;
    opacity: 0;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.slide-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slide-image-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.slide-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    object-position: center;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    padding: 0.75rem;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 10;
}

.nav-btn:hover {
    background: rgba(255,255,255,0.3);
}

.prev-btn { left: 1rem; }
.next-btn { right: 1rem; }

.indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.indicator {
    width: 0.75rem;
    height: 0.75rem;
    background: white;
    border: none;
    border-radius: 50%;
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.indicator.active {
    opacity: 1;
}

.article-card {
    display: grid;
    grid-template-columns: 2fr 3fr; 
    grid-template-rows: auto auto; 
    gap: 40px;
    align-items: flex-start;
}

.article-card .hero {
    grid-column: 1 / -1; 
    margin: 0;
    padding: 0;
}

.article-card .hero .container {
    width: 100%;
}

.article-card .hero .container h2.subtitle {
    text-align: center;
    margin-bottom: 2rem; 
    margin-top: 1rem;
}

@media (max-width: 900px) {
    .article-card .hero {
        grid-column: 1 / -1; 
    }
}