/*
 * PICSALA_POST_IMAGE_PAGINATION_CSS_20260701
 */

body.single-post .psip-wrap {
    margin: 18px 0 26px;
}

body.single-post .psip-pages {
    opacity: 1;
    transition: opacity 120ms ease;
    will-change: opacity;
}

body.single-post .psip-pages.is-fading {
    opacity: .18;
}

body.single-post .psip-page[hidden] {
    display: none !important;
}

body.single-post .psip-page.is-active {
    display: block;
}

body.single-post .psip-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin: 20px auto 8px;
    padding: 0 4px;
    box-sizing: border-box;
}

body.single-post .psip-btn {
    appearance: none;
    -webkit-appearance: none;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    background: #111827;
    color: #dbe4f0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    text-align: center;
    touch-action: manipulation;
    transition: background 120ms ease, color 120ms ease, border-color 120ms ease, opacity 120ms ease;
}

body.single-post .psip-btn:hover,
body.single-post .psip-btn:focus {
    background: #1f2937;
    color: #fff;
    border-color: rgba(255,255,255,.32);
    outline: none;
}

body.single-post .psip-btn.is-active {
    background: #2f80ed;
    color: #fff;
    border-color: #2f80ed;
}

body.single-post .psip-btn:disabled {
    opacity: .42;
    cursor: not-allowed;
}

@media (max-width: 600px) {
    body.single-post .psip-wrap {
        margin: 14px 0 22px;
    }

    body.single-post .psip-nav {
        gap: 6px;
        margin-top: 16px;
        padding: 0 2px;
    }

    body.single-post .psip-btn {
        min-width: 34px;
        height: 34px;
        padding: 0 10px;
        font-size: 13px;
    }
}
