/* Featured Business spotlight (same as the Cars page; used on For Rent) */
/* ---------- featured business: one cinematic banner at a time ---------- */
.rent-featured { padding: 50px 0 30px; background: #fff; }
.fbx { max-width: 1180px; margin: 30px auto 0; padding: 0 15px; }
.fbx-stage {
    position: relative; height: 340px;
    border-radius: 22px; overflow: hidden;
    background: #0e0e0e;
    box-shadow: 0 24px 50px -24px rgba(0,0,0,0.6);
}
.fbx-slide {
    position: absolute; inset: 0;
    opacity: 0; visibility: hidden;
    transition: opacity .7s ease, visibility .7s;
}
.fbx-slide.is-active { opacity: 1; visibility: visible; }
.fbx-slide img {
    position: absolute; top: 0; right: 0; width: 100%; height: 100%;
    object-fit: cover;
    transform: scale(1.06);
    transition: transform 6s ease-out;
}
.fbx-slide.is-active img { transform: scale(1); }
.fbx-slide:after {
    content: ""; position: absolute; inset: 0;
    /* Just enough shade behind the text; the rest of the photo stays visible. */
    background: linear-gradient(90deg, rgba(14,14,14,0.82) 0%, rgba(14,14,14,0.62) 30%, rgba(14,14,14,0.25) 52%, rgba(14,14,14,0) 70%);
}
.fbx-copy {
    position: absolute; left: 50px; top: 50%; transform: translateY(-50%); z-index: 1;
    width: 46%; color: #fff; text-align: left;
    text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}
.fbx-kicker { display: block; font-size: 13px; font-weight: 700; letter-spacing: 2px; color: #ff6b6b; margin-bottom: 14px; text-transform: uppercase; }
.fbx-name { margin: 0 0 12px; color: #fff; font-size: 42px; font-weight: 800; line-height: 1.05; text-transform: none; }
.fbx-meta { margin: 0 0 22px; color: #cfcfcf; font-size: 17px; line-height: 1.5; text-align: left; }
.fbx-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.fbx-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 20px; border-radius: 10px;
    font-family: Arial, Helvetica, sans-serif; font-size: 15px; font-weight: 700; line-height: 1.2;
    transition: filter .15s ease, background .15s ease;
}
.fbx-btn-primary, .fbx-btn-primary:hover, .fbx-btn-primary:focus { background: #dd1a22; color: #fff !important; }
.fbx-btn-primary:hover { filter: brightness(1.1); }
.fbx-btn-ghost, .fbx-btn-ghost:hover, .fbx-btn-ghost:focus { border: 1px solid rgba(255,255,255,0.45); color: #fff !important; }
.fbx-btn-ghost:hover { background: rgba(255,255,255,0.1); }
.fbx-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,0.12); z-index: 2; }
.fbx-progress span { display: block; height: 100%; width: 0; background: #dd1a22; }
.fbx.is-running .fbx-progress span { animation: fbx-fill var(--fbx-interval, 5s) linear forwards; }
.fbx.is-paused .fbx-progress span { animation-play-state: paused; }
@keyframes fbx-fill { to { width: 100%; } }
.fbx-thumbs { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 18px; padding: 6px; }
.fbx-thumb {
    width: 150px; height: 84px; padding: 0; border: 0; border-radius: 12px; overflow: hidden;
    background: #eee; cursor: pointer; opacity: 0.55;
    transition: opacity .2s ease;
}
.fbx-thumb:hover { opacity: 0.85; }
/* box-shadow, not outline: style.css strips outlines from every button. */
.fbx-thumb.is-active { opacity: 1; box-shadow: 0 0 0 2px #fff, 0 0 0 5px #dd1a22; }
.fbx-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Arabic: text on the right, shade coming from the right. */
.fbx-rtl .fbx-copy { left: auto; right: 50px; text-align: right; }
.fbx-rtl .fbx-meta { text-align: right; }
.fbx-rtl .fbx-slide:after { background: linear-gradient(270deg, rgba(14,14,14,0.82) 0%, rgba(14,14,14,0.62) 30%, rgba(14,14,14,0.25) 52%, rgba(14,14,14,0) 70%); }

/* Phones: photo on top, text underneath; swipe to change. */
@media (max-width: 767px) {
    /* Slides share one grid cell, so the banner is as tall as its tallest slide. */
    .fbx-stage { height: auto; display: grid; }
    .fbx-slide { position: relative; inset: auto; grid-area: 1 / 1; padding-bottom: 26px; }
    .fbx-slide img { position: relative; display: block; width: 100%; height: 200px; }
    .fbx-slide:after { inset: 0 0 auto 0; height: 200px; background: linear-gradient(180deg, rgba(14,14,14,0) 90px, #0e0e0e 200px); }
    .fbx-copy { position: relative; left: auto; top: auto; transform: none; width: auto; margin: 6px 20px 0; }
    .fbx-rtl .fbx-copy { right: auto; }
    .fbx-rtl .fbx-slide:after { background: linear-gradient(180deg, rgba(14,14,14,0) 90px, #0e0e0e 200px); }
    .fbx-name { font-size: 28px; }
    .fbx-meta { font-size: 15px; margin-bottom: 16px; }
    .fbx-thumbs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 4px; }
    .fbx-thumb { width: 104px; height: 60px; flex-shrink: 0; }
}
