.news-carousel{min-width:0;width:100%;--carousel-line:var(--line);--carousel-soft:var(--panel2);color:var(--text)}
.news-carousel-frame{border:1px solid var(--carousel-line);border-radius:13px;overflow:hidden;background:var(--carousel-soft)}
.news-carousel-track{position:relative;display:flex;gap:0;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;-ms-overflow-style:none;overscroll-behavior-x:contain;scroll-behavior:smooth;border-radius:12px;aspect-ratio:4/3;min-width:0;width:100%;touch-action:pan-x pan-y pinch-zoom}
.news-carousel-track::-webkit-scrollbar{display:none}
.news-carousel-track:focus-visible{outline:3px solid color-mix(in srgb,var(--orange) 70%,transparent);outline-offset:-3px}
.news-carousel-slide{display:grid;place-items:center;flex:0 0 100%;min-width:0;width:100%;height:100%;margin:0;padding:12px;scroll-snap-align:start;scroll-snap-stop:always;overflow:hidden;background:var(--carousel-soft)}
.news-carousel-slide img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;border:0;border-radius:5px;user-select:none;-webkit-user-drag:none}
.news-carousel-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px;min-width:0;flex-wrap:wrap}
.news-carousel-navigation{display:flex;align-items:center;gap:7px;flex-shrink:0}
.news-carousel-arrow{display:grid;place-items:center;width:34px;height:34px;min-height:34px;padding:7px;border:1px solid var(--carousel-line);border-radius:8px;background:var(--panel);color:var(--text);box-shadow:none;transition:background .18s,border-color .18s}
.news-carousel-arrow svg{width:17px;height:17px}
.news-carousel-arrow:hover{background:var(--carousel-soft);border-color:color-mix(in srgb,var(--muted) 35%,var(--line));transform:none}
.news-carousel-count{display:block;min-width:38px;text-align:center;color:var(--muted);font-size:11px;line-height:1.5;font-variant-numeric:tabular-nums;white-space:nowrap}
.news-carousel-dots{display:flex;align-items:center;justify-content:center;gap:1px;min-width:0}
.news-carousel-dots button{display:grid;place-items:center;width:27px;height:32px;min-height:32px;padding:0;border:0;border-radius:6px;background:transparent;box-shadow:none}
.news-carousel-dots button span{display:block;width:6px;height:6px;border-radius:50%;background:color-mix(in srgb,var(--muted) 42%,var(--panel));transition:background .18s,transform .18s}
.news-carousel-dots button[aria-pressed=true] span{background:var(--orange);transform:scale(1.2)}
.news-carousel-dots button:hover{background:var(--carousel-soft);transform:none}
.news-carousel-autoplay{display:flex;align-items:center;justify-content:center;gap:5px;min-height:34px;padding:6px 9px;border:1px solid var(--carousel-line);border-radius:8px;background:transparent;color:var(--muted);font-size:11px;line-height:1.5;font-weight:500;white-space:nowrap;box-shadow:none}
.news-carousel-autoplay svg{width:15px;height:15px;flex-shrink:0}
.news-carousel-autoplay:hover{color:var(--text);background:var(--carousel-soft);transform:none}
.news-carousel-autoplay[hidden]{display:none}
.news-carousel-controls button:focus-visible{outline:2px solid var(--orange);outline-offset:3px}
@media(max-width:700px){.news-carousel-frame{border-radius:10px}.news-carousel-track{border-radius:9px}.news-carousel-slide{padding:8px}.news-carousel-controls{gap:7px;margin-top:8px}.news-carousel-navigation{gap:4px}.news-carousel-arrow{width:36px;height:36px;min-height:36px}.news-carousel-count{min-width:32px}.news-carousel-dots button{width:24px;height:36px;min-height:36px}.news-carousel-autoplay{min-height:36px;padding:6px 8px}}
@media(max-width:380px){.news-carousel-controls{gap:5px}.news-carousel-navigation{gap:4px}.news-carousel-arrow{width:31px;height:34px;min-height:34px}.news-carousel-count{min-width:32px;font-size:10px}.news-carousel-dots button{width:21px}.news-carousel-autoplay{padding:5px 6px;font-size:10px;gap:3px;min-height:34px}.news-carousel-autoplay svg{width:13px;height:13px}}
@media(prefers-reduced-motion:reduce){.news-carousel-track{scroll-behavior:auto}.news-carousel *, .news-carousel *:before,.news-carousel *:after{animation:none!important;transition:none!important}}

.news-carousel-controls{display:grid;grid-template-columns:44px 1fr 44px;gap:8px}.news-carousel-controls>.news-carousel-arrow{width:44px;height:44px;min-height:44px}.news-carousel-dots{justify-self:center}.news-carousel-slide img:focus-visible{outline-offset:-3px}
