/* RecNation AI facilities slider — plain CSS grid pages + JS-driven paging.
   Page width/columns are fixed by CSS from first paint, so there is no
   layout jump waiting for JS to size anything. */

.rn-fac-ai-viewport {
    overflow: hidden;
}

.rn-fac-ai-track {
    display: flex;
    transition: transform 0.35s ease;
}

.rn-fac-ai-page {
    flex: 0 0 100%;
    width: 100%;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 640px) {
    .rn-fac-ai-page {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .rn-fac-ai-page {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
    }
}

.rn-fac-ai-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    background: #fff;
    border: 1px solid #e8e8e8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.rn-fac-ai-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
