/* ===== .i-navigation ===== */
.i-navigation{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:8px;
    margin:6px 0 0;
    padding:0;
}
.i-navigation a,
.i-navigation span,
.i-navigation b,
.i-navigation .page{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:44px;
    height:44px;
    padding:0 14px;
    font-size:15px;
    font-weight:500;
    line-height:1;
    color:var(--navy);
    background:var(--surface);
    border:1px solid var(--line);
    border-radius:12px;
    text-decoration:none;
    box-shadow:var(--shadow);
    transition:color .15s ease, border-color .15s ease, background .15s ease,
    transform .15s ease, box-shadow .15s ease;
}
.i-navigation a:hover{
    color:var(--accent-dark);
    border-color:var(--accent);
    background:var(--accent-soft);
    transform:translateY(-1px);
}
.i-navigation a:focus-visible{
    outline:2px solid var(--accent);
    outline-offset:2px;
}
.i-navigation a:active{transform:translateY(0);}

/* активная страница */
.i-navigation b,
.i-navigation .active,
.i-navigation .current,
.i-navigation [aria-current="page"]{
    color:#fff;
    background:var(--accent);
    border-color:var(--accent);
    font-weight:600;
    box-shadow:0 8px 18px -8px rgba(47,111,237,.65);
    cursor:default;
}

/* «…» */
.i-navigation .dots{
    background:transparent;
    border-color:transparent;
    box-shadow:none;
    color:var(--muted);
    cursor:default;
}

/* назад / вперёд */
.i-navigation a:first-child,
.i-navigation a:last-child{
    padding:0 18px;
    font-weight:600;
}
.i-navigation .disabled,
.i-navigation span:first-child:not(a),
.i-navigation span:last-child:not(a){
    color:#9aa6b8;
    background:#f1f4f9;
    border-color:var(--line);
    box-shadow:none;
    cursor:default;
}

/* ===== адаптив ===== */


@media (max-width:600px){
    .i-navigation{gap:6px;}
    .i-navigation a,
    .i-navigation span,
    .i-navigation b{min-width:40px; height:40px; padding:0 11px; font-size:14px; border-radius:10px;}
}

@media (prefers-reduced-motion:reduce){
    .i-navigation a{transition:none;}
}