.abns-news-slider,
.abns-news-slider * {
    box-sizing: border-box;
}

.abns-news-slider {
    --abns-bg: #f6f6f7;
    --abns-white: #fff;
    --abns-text: #232b35;
    --abns-muted: #7b818a;
    --abns-purple: #7d3ca2;
    --abns-line: #e8e3ea;
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 88px 24px;
    background: linear-gradient(180deg, rgba(125, 60, 162, .035), rgba(125, 60, 162, 0)), var(--abns-bg);
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

.abns-inner { width: min(1280px, 100%); margin: 0 auto; }
.abns-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: end; margin-bottom: 38px; }
.abns-heading { min-width: 0; }
.abns-title { margin: 0; color: var(--abns-text); font-size: clamp(34px, 4vw, 52px); font-weight: 700; line-height: 1.1; letter-spacing: -.03em; text-transform: uppercase; }
.abns-subtitle { max-width: 760px; margin: 14px 0 0; color: var(--abns-muted); font-size: 18px; font-weight: 400; line-height: 1.75; }
.abns-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.abns-arrow { width: 46px; height: 46px; padding: 0; display: inline-flex; align-items: center; justify-content: center; color: var(--abns-text); background: var(--abns-white); border: 1px solid var(--abns-line); border-radius: 50%; box-shadow: 0 8px 18px rgba(27, 37, 50, .05); cursor: pointer; transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease; }
.abns-arrow:hover,
.abns-arrow:focus-visible { color: var(--abns-white); background: var(--abns-purple); border-color: var(--abns-purple); transform: translateY(-2px); }
.abns-arrow:focus-visible { outline: 3px solid rgba(125, 60, 162, .18); outline-offset: 3px; }
.abns-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.abns-dots { display: flex; align-items: center; justify-content: center; gap: 8px; margin-left: 4px; }
.abns-dot { width: 9px; height: 9px; padding: 0; background: #d6cfdb; border: 0; border-radius: 50%; cursor: pointer; transition: transform .25s ease, background .25s ease; }
.abns-dot.is-active { background: var(--abns-purple); transform: scale(1.25); }
.abns-shell { overflow: hidden; }
.abns-track { display: flex; gap: 26px; transition: transform .5s ease; will-change: transform; }
.abns-card { flex: 0 0 calc((100% - 52px) / 3); min-width: 0; display: flex; flex-direction: column; overflow: hidden; background: rgba(255, 255, 255, .96); border: 1px solid var(--abns-line); border-radius: 18px; box-shadow: none; transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.abns-card:hover { transform: translateY(-6px); border-color: rgba(125, 60, 162, .2); }
.abns-image-wrap { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: #eceaec; }
.abns-news-slider .abns-image { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center center; transition: transform .45s ease; }
.abns-card:hover .abns-image { transform: scale(1.04); }
.abns-content { padding: 24px 24px 26px; }
.abns-date { display: inline-flex; align-items: center; min-height: 34px; padding: 8px 12px; color: var(--abns-white); background: var(--abns-purple); border-radius: 4px; font-size: 14px; font-weight: 700; line-height: 1; }
.abns-card-title { margin: 18px 0 0; color: var(--abns-text); font-size: 18px; font-weight: 700; line-height: 1.5; text-transform: uppercase; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.abns-excerpt { margin: 18px 0 0; color: var(--abns-muted); font-size: 16px; font-weight: 400; line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.abns-divider { width: 100%; height: 1px; margin-top: 22px; background: var(--abns-line); }
.abns-card-link { color: inherit; text-decoration: none; }
.abns-card-link:focus-visible { outline: 3px solid rgba(125, 60, 162, .18); outline-offset: 2px; }
.abns-image-link { display: block; }
.abns-title-link { display: inline; }

@media (max-width: 1024px) {
    .abns-card { flex-basis: calc((100% - 26px) / 2); }
}

@media (max-width: 860px) {
    .abns-news-slider { padding: 68px 20px; }
    .abns-top { grid-template-columns: 1fr; align-items: start; gap: 18px; }
    .abns-controls { justify-content: flex-start; }
    .abns-subtitle { font-size: 16px; }
}

@media (max-width: 640px) {
    .abns-news-slider { padding: 54px 14px; }
    .abns-title { font-size: 30px; }
    .abns-subtitle { font-size: 14px; line-height: 1.75; }
    .abns-track { gap: 16px; }
    .abns-card { flex-basis: 100%; border-radius: 14px; }
    .abns-content { padding: 20px 18px 22px; }
    .abns-date { min-height: 31px; font-size: 13px; }
    .abns-card-title { margin-top: 16px; font-size: 16px; }
    .abns-excerpt { margin-top: 14px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    .abns-news-slider *,
    .abns-news-slider *::before,
    .abns-news-slider *::after {
        transition-duration: .01ms;
        animation-duration: .01ms;
        animation-iteration-count: 1;
    }
}
