/* HobbyWorld Latest Slider - scoped styles */
.hw-latest-slider {
    --hw-blue: #018be4;
    --hw-dark: #15191e;
    --hw-card: #20262d;
    --hw-text: #f4f7fa;
    --hw-muted: #b8c2cc;
    color: var(--hw-text);
    background: var(--hw-dark);
    padding: clamp(16px, 2.5vw, 30px);
    border-radius: 8px;
    overflow: hidden;
}
.hw-latest-slider * { box-sizing: border-box; }
.hw-latest-slider__header {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; margin-bottom: 18px;
}
.hw-latest-slider__header h2 {
    margin: 0; color: var(--hw-text); font-size: clamp(1.35rem, 2vw, 1.9rem);
    line-height: 1.2; font-weight: 700;
}
.hw-latest-slider__controls { display: flex; gap: 8px; flex-shrink: 0; }
.hw-latest-slider__arrow {
    width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.22);
    border-radius: 50%; background: transparent; color: #fff; font-size: 27px;
    line-height: 1; cursor: pointer; transition: background .2s, border-color .2s;
}
.hw-latest-slider__arrow:hover, .hw-latest-slider__arrow:focus-visible {
    background: var(--hw-blue); border-color: var(--hw-blue);
}
.hw-latest-slider__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hw-latest-slider__viewport::-webkit-scrollbar { display: none; }
.hw-latest-slider__track { display: flex; gap: 16px; align-items: stretch; }
.hw-latest-slider__card {
    flex: 0 0 calc((100% - 32px) / 3); min-width: 0; overflow: hidden;
    background: var(--hw-card); border-radius: 7px; scroll-snap-align: start;
    display: flex; flex-direction: column;
}
.hw-latest-slider__image-link {
    display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #303943;
}
.hw-latest-slider__image-link img {
    display: block; width: 100%; height: 100%; object-fit: cover;
    transition: transform .35s ease;
}
.hw-latest-slider__card:hover .hw-latest-slider__image-link img { transform: scale(1.035); }
.hw-latest-slider__image-placeholder {
    display: grid; place-items: center; width: 100%; height: 100%;
    color: var(--hw-blue); font-size: 3rem; font-weight: 800;
}
.hw-latest-slider__content { padding: 17px 18px 19px; display: flex; flex: 1; flex-direction: column; }
.hw-latest-slider__category {
    color: #65baff; font-size: .76rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .06em; margin-bottom: 8px;
}
.hw-latest-slider__content h3 { margin: 0 0 10px; font-size: 1.12rem; line-height: 1.35; }
.hw-latest-slider__content h3 a { color: var(--hw-text); text-decoration: none; }
.hw-latest-slider__content h3 a:hover { color: #65baff; }
.hw-latest-slider__content p { margin: 0 0 15px; color: var(--hw-muted); font-size: .92rem; line-height: 1.55; }
.hw-latest-slider__readmore {
    display: inline-flex; gap: 7px; align-items: center; margin-top: auto;
    color: #65baff; font-weight: 700; text-decoration: none;
}
.hw-latest-slider__readmore:hover { color: #fff; }
.hw-latest-slider__dots { display: flex; justify-content: center; gap: 8px; padding-top: 18px; }
.hw-latest-slider__dot {
    width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%;
    background: #65717d; cursor: pointer;
}
.hw-latest-slider__dot.is-active { width: 24px; border-radius: 8px; background: var(--hw-blue); }
.hw-latest-slider-empty { padding: 12px; border-left: 3px solid #018be4; }
@media (max-width: 900px) {
    .hw-latest-slider__card { flex-basis: calc((100% - 16px) / 2); }
}
@media (max-width: 600px) {
    .hw-latest-slider { padding: 15px; }
    .hw-latest-slider__card { flex-basis: 88%; }
    .hw-latest-slider__content { padding: 14px; }
    .hw-latest-slider__content h3 { font-size: 1.02rem; }
}
@media (prefers-reduced-motion: reduce) {
    .hw-latest-slider *, .hw-latest-slider *::before, .hw-latest-slider *::after {
        scroll-behavior: auto !important; transition-duration: .01ms !important;
        animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    }
}
