.hds-archive-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hds-archive-menu ul ul {
    padding-inline-start: 20px;
}

.hds-archive-menu li {
    margin-block-end: 12px;
}

.hds-archive-menu a {
    color: #000;
    font-size: 15px;
    font-weight: 600;
    line-height: 26px;
}

.hds-archive-menu .current-menu-item > a,
.hds-archive-menu a:hover {
    color: #e02b20;
}

.hds-article-carousel {
    --hds-gap: 30px;
    --hds-columns: 3;
    position: relative;
}

.hds-article-track {
    display: grid;
    grid-template-columns: repeat(var(--hds-total), calc((100% - (var(--hds-columns) - 1) * var(--hds-gap)) / var(--hds-columns)));
    gap: var(--hds-gap);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

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

.hds-article-card {
    min-width: 0;
    scroll-snap-align: start;
    border-radius: 8px;
    padding: 10px;
}

.hds-article-preview {
    display: block;
    overflow: hidden;
    border-radius: 4px;
}

.hds-article-preview img {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.hds-article-meta {
    padding: 20px;
}

.hds-article-meta h2 {
    padding: 0;
    font-size: 17px;
    font-weight: 700;
}

.hds-article-meta time {
    font-size: 16px;
}

.hds-article-previous,
.hds-article-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    color: #262626;
    background: #fff;
    border: 1px solid #707070;
    border-radius: 50%;
    font: inherit;
    font-size: 34px;
    line-height: 1;
    width: 44px;
    height: 44px;
    padding: 0;
    cursor: pointer;
}

.hds-article-previous { left: -35px; }
.hds-article-next { right: -35px; }
.hds-article-carousel button:disabled { opacity: 0.3; cursor: default; }

.hds-article-carousel button:focus-visible {
    outline: 2px solid #262626;
    outline-offset: 2px;
}

.hds-article-pause {
    display: block;
    margin: 12px auto 0;
    padding: 4px 12px;
    color: #262626;
    background: #fff;
    border: 1px solid #707070;
    border-radius: 4px;
    font: inherit;
    cursor: pointer;
}

.hds-article-pages {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 12px;
}

.hds-article-pages button {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #4a4a4a;
    cursor: pointer;
}

.hds-article-pages button::before {
    content: "";
    width: 10px;
    height: 10px;
    border: 1px solid currentColor;
    border-radius: 50%;
}

.hds-article-pages button[aria-current="true"]::before { background: currentColor; }
.hds-article-carousel [hidden] { display: none; }

@media (max-width: 980px) {
    .hds-article-carousel { --hds-columns: 2; }
}

@media (max-width: 767px) {
    .hds-article-carousel { --hds-columns: 1; }
    .hds-article-previous { left: -28px; }
    .hds-article-next { right: -28px; }
}
