.stories {
    padding: 70px 0;
}

.stories-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.stories-title {
    font-size: 28px;
    font-weight: 600;
}

.stories-nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.stories-arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: white;
    cursor: pointer;
}

.stories-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d1d5db;
    transition: .3s;
}

.dot.active {
    background: var(--navy);
}

.stories-track {
    display: flex;
    gap: 18px;
    overflow: hidden;
    scroll-behavior: smooth;
}

.story-card {
    position: relative;
    min-width: 260px;
    height: 320px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 22px;
    color: white;
    flex-shrink: 0;
}

.story-card img {
    position: absolute;
    inset: 0;
    height: 100%;
    object-fit: cover;
}

.story-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .65), rgba(0, 0, 0, .2));
}

.story-card h3 {
    position: relative;
    font-size: 18px;
    line-height: 1.3;
    z-index: 2;
}

.story-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .2);
    backdrop-filter: blur(6px);
    color: white;
    z-index: 2;
}

@media(max-width:900px) {

    .story-card {
        min-width: 220px;
        height: 260px;
    }

}

@media(max-width:520px) {

    .stories-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .story-card {
        min-width: 200px;
        height: 240px;
    }

}
