.hero-section{
    position: relative;
    width: 100%;
    min-height: 460px;
    overflow: hidden;
    background: #222;
    color: #fff;
}

.hero-article{
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero-article.active{
    display: block;
    animation: fadeIn 0.6s ease;
}

.hero-image{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
}


.hero-image::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.88) 0%,
        rgba(0, 0, 0, 0.35) 45%,
        rgba(0, 0, 0, 0.1) 100%
    );
}

.hero-content{
    position: absolute;
    z-index: 1;
    bottom: 72px;
    left: 30px;
    right: 30px;
    max-width: 820px;
}

.hero-category{
    display: inline-block;
    background: var(--color-primary);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 2px;
    margin-bottom: 12px;
}

.hero-content h2{
    font-size: clamp(26px, 4vw, 42px);
    color: #fff;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.hero-content p{
    font-size: 16px;
    line-height: 1.65;
    color: #f1f1f1;
    max-width: 64ch;
}

.hero-meta{
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 14px 0 18px;
    color: #ddd;
    font-size: 13px;
}

.hero-read-more{
    display: inline-block;
    background: var(--color-primary);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    padding: 11px 20px;
    border-radius: var(--radius);
    transition: background-color 0.25s ease;
}

.hero-read-more:hover,
.hero-read-more:focus-visible{
    background: var(--color-primary-dark);
    color: #fff;
}

.hero-controls{
    position: absolute;
    z-index: 2;
    right: 30px;
    bottom: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}

#storyCounter{
    font-size: 14px;
    color: #fff;
}

.hero-controls button{
    background: var(--color-primary);
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 2px;
    transition: background-color 0.3s ease;
}

.hero-controls button:hover{
    background: var(--color-primary-dark);
}

@keyframes fadeIn{
    from { opacity: 0; }
    to { opacity: 1; }
}