/**
 * FNF Circle Nav v1.2.0
 * Structural CSS only — all visual properties controlled by Elementor selectors.
 */

/* ─── Circle Carousel ─── */
.fnf-cn-wrap {
    width: 100%;
    overflow: hidden;
}

.fnf-cn-scroll {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.fnf-cn-scroll::-webkit-scrollbar {
    display: none;
}

.fnf-cn-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.fnf-cn-item:hover {
    text-decoration: none;
}

.fnf-cn-circle {
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    outline-style: solid;
    transition: outline-color 0.2s ease;
}

.fnf-cn-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
}

.fnf-cn-name {
    white-space: nowrap;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

/* Desktop: center when all fit */
@media (min-width: 1400px) {
    .fnf-cn-scroll {
        justify-content: center;
    }
}

/* Mobile: full bleed */
@media (max-width: 560px) {
    .fnf-cn-wrap {
        margin-left: -15px;
        margin-right: -15px;
        width: calc(100% + 30px);
    }
}

/* ─── Sticky Bar (structural) ─── */
.fnf-pill-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 998;
    border-top: 1px solid;
    border-bottom: 1px solid;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.25s ease;
}

.fnf-pill-bar.fnf-pill-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.fnf-pill-scroll {
    display: flex;
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

.fnf-pill-scroll::-webkit-scrollbar {
    display: none;
}

.fnf-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    white-space: nowrap;
    text-decoration: none;
    border: none;
    border-bottom-style: solid;
    border-bottom-color: transparent;
    transition: color 0.2s ease, border-color 0.2s ease, font-weight 0.2s ease;
    flex-shrink: 0;
    line-height: 1;
}

.fnf-pill:hover {
    background: transparent;
    text-decoration: none;
    transform: none;
}

/* Desktop pills center */
@media (min-width: 1025px) {
    .fnf-pill-scroll {
        justify-content: center;
    }
}

/* Mobile pills full width */
@media (max-width: 560px) {
    .fnf-pill-bar {
        width: 100vw;
        left: 0;
        right: 0;
    }

    .fnf-pill-scroll {
        padding: 0;
        justify-content: flex-start;
    }
}
