.article-slider-head,
.article-slider,
.article-slider-track,
.article-slider-dots {
    width: 100%;
}

.article-slider-head {
    align-items: center;
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.article-slider-head .title {
    align-self: auto;
    max-width: none;
    text-align: center;
}

.article-slider {
    overflow: hidden;
}

.article-slider-track {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 0.35rem 0.1rem 0.75rem;
}

.article-slider-track::-webkit-scrollbar {
    display: none;
}

.article-slider-card {
    flex: 0 0 calc(100% - 1rem);
    scroll-snap-align: start;
}

.article-card-link {
    color: inherit;
    display: block;
    text-decoration: none;
}

.article-slider-card .article-grid-item {
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 0.6rem;
    box-shadow: 0 16px 30px rgba(26, 67, 103, 0.16);
    overflow: hidden;
    padding-top: 70%;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.article-slider-card .article-grid-item::before {
    background: linear-gradient(180deg, rgba(7, 23, 40, 0.02) 0%, rgba(7, 23, 40, 0.08) 58%, rgba(7, 23, 40, 0.18) 100%);
    content: "";
    inset: 0;
    position: absolute;
    z-index: 1;
}

.article-slider-card .article-grid-item:hover {
    box-shadow: 0 18px 34px rgba(26, 67, 103, 0.22);
    transform: translateY(-4px);
}

.article-slider-card .article-grid-item .mirror {
    align-items: stretch;
    background: transparent;
    justify-content: flex-end;
    padding: 0;
    z-index: 2;
}

.article-card-caption {
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    justify-content: flex-start;
    min-height: 25%;
    padding: 0.95rem 1rem 1rem;
    width: 100%;
}

.article-card-meta {
    color: rgba(255, 255, 255, 0.72);
    font-family: aileron-bold;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    line-height: 1;
    text-transform: uppercase;
}

.article-card-title {
    display: -webkit-box;
    font-family: aileron-bold;
    font-size: 1rem;
    letter-spacing: 0.01em;
    line-height: 1.3;
    color: #ffffff;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.article-slider-dots {
    align-items: center;
    display: flex;
    gap: 0.55rem;
    justify-content: center;
    margin-top: 1rem;
}

.article-slider-dot {
    background: rgba(255, 255, 255, 0.34);
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    height: 0.72rem;
    padding: 0;
    transition: transform 0.2s ease, background 0.2s ease, width 0.2s ease;
    width: 0.72rem;
}

.article-slider-dot.is-active {
    background: #ffffff;
    transform: scale(1.05);
    width: 2.1rem;
}

@media (max-width: 767px) {
    .article-slider-head {
        margin-bottom: 0.75rem;
    }
}

@media (min-width: 768px) {
    .article-slider-card {
        flex-basis: calc((100% - 1.25rem) / 2);
    }
}

@media (min-width: 1024px) {
    .article-slider-card {
        flex-basis: calc((100% - 3.75rem) / 4);
    }
}

@media (min-width: 1280px) {
    .article-card-title {
        font-size: 1.08rem;
    }
}
