/* Put this on the wrapper: .wl-article-section.is-loading */
.wl-article-section.is-loading {
    position: relative;
    pointer-events: none; /* block clicks while loading */
}

/* Dim content while loading */
.wl-article-section.is-loading .wl-article-items,
.wl-article-section.is-loading .wl-article-pagination {
    opacity: 0.45;
    filter: blur(0.5px);
    transition: opacity 150ms ease, filter 150ms ease;
}

/* Simple spinner overlay */
.wl-article-section.is-loading::after {
    content: "";
    position: absolute;
    z-index: 10;
    top: 12px;
    right: 12px;
    width: 22px;
    height: 22px;
    border: 3px solid rgba(0, 0, 0, 0.15);
    border-top-color: rgba(0, 0, 0, 0.65);
    border-radius: 50%;
    animation: wlSpin 0.8s linear infinite;
}

/* Optional: full overlay (uncomment if you want to cover entire block) */

.wl-article-section.is-loading::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 9;
  background: rgba(255,255,255,0.55);
}

@keyframes wlSpin {
    to { transform: rotate(360deg); }
}

/* Optional: style active page button */
.wl-article-pagination .wl-page-btn.is-active {
    font-weight: 700;
    cursor: default;
    background-color: lightgrey;
}
.wl-article-pagination .wl-page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Cursor on hover for pagination buttons */
.wl-article-pagination .wl-page-btn {
    cursor: pointer;
    height: 30px;
}

.wl-article-pagination .wl-page-btn:disabled,
.wl-article-pagination .wl-page-btn[disabled] {
    cursor: not-allowed;
}

.wl-article-pagination {
    text-align: center;
    margin-top: 25px;
}

[id^="wl-faq-section-"] {
    scroll-margin-top: 120px;
}