/* ============================================================
   Featured Listings — featured-listings.css
   ============================================================ */

/* ---------- Section wrapper ---------- */
.fl-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    /*padding: 2rem 1rem;*/
    box-sizing: border-box;
    font-family: inherit;
}

/* ---------- Eyebrow + heading ---------- */
.fl-eyebrow {
    margin: 0 0 0.25rem;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b6b6b;
}

.fl-heading {
    margin: 0 0 1.5rem;
    font-size: 28px;
    font-weight: 400;
    color: #1a1a1a;
    letter-spacing: -0.01em;
}

/* ---------- Tab nav ---------- */
nav.fl-tabs {
    display: flex !important;
    justify-content: flex-end;
    gap: 0;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    background: transparent;
    padding: 0;
    border-radius: 0 !important;
}

.fl-tab {
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #333;
    background: #fff;
    border: 1px solid #ccc;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
    line-height: 1.4;
    border-radius: 0 !important;
}

.fl-tab:first-child { border-radius: 0; }
.fl-tab:not(:first-child) { border-left: none; }

.fl-tab--active,
.fl-tab:focus-visible {
    background: #1b2f5e;
    color: #fff;
    border-color: #1b2f5e;
    outline: none;
}

.fl-tab:hover:not(.fl-tab--active) {
    background: #f5f5f5;
}

/* ---------- Panel ---------- */
.fl-panel {
    display: none;
}

.fl-panel--active {
    display: block;
}

/* ---------- Slider ---------- */
.fl-slider {
    position: relative;
    width: 100%;
    /*overflow: hidden;*/
    background: #f0f0f0;
    border-radius: 2px;
}

.fl-track-wrap {
    overflow: hidden;
    width: 100%;
}

.fl-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    height: 600px;
}

/* ---------- Slide ---------- */
.fl-slide {
    flex: 0 0 100%;
    width: 100%;
    aspect-ratio: 16 / 7;
    position: relative;
    overflow: hidden;
}

.fl-slide-link {
    display: block;
    width: 100%;
    height: 100%;
}

.fl-slide-img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

/* ---------- Arrows ---------- */
.fl-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.85);
    border: none;
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
    color: #1a1a1a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
    padding: 0;
}

.fl-arrow:hover { background: #fff; }
.fl-arrow--prev { left: 12px; }
.fl-arrow--next { right: 12px; }

/* ---------- Dots ---------- */
.fl-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 10px 0 8px;
}

.fl-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.2s;
}

.fl-dot--active {
    background: #1b2f5e;
}

/* ---------- Footer ---------- */
.fl-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
}

.fl-view-all {
    display: inline-block;
    padding: 9px 20px !important;
    font-size: 13px;
    font-weight: 500 !important;
    letter-spacing: 0.04em !important;
    color: #1a1a1a !important;
    border: 1px solid #c9a84c !important;
    text-decoration: none;
    transition: background 0.15s, color 0.15s !important;
}

.fl-view-all:hover {
    background: #1b2f5e;
    color: #fff;
    border-color: #1b2f5e;
}

/* ---------- No results ---------- */
.fl-no-results {
    color: #888;
    font-size: 14px;
    padding: 2rem 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
    .fl-track{
        height: 400px;
    }
    .fl-tabs {
        justify-content: flex-start !important;
        padding: 5px !important;        
        margin-bottom: 5rem !important;
        gap: 5px !important;
    }
    .fl-tab{
        width: 100%;
    }
    .fl-tabs button {
    }
    .fl-arrow {
        width: 36px;
        height: 36px;
        font-size: 22px;
    }
}