.qb-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 6px;
    background: #1b2e4b;
}
.qb-slider__track {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56%;
}
@media (max-width: 767px) {
    .qb-slider__track { padding-bottom: 70%; }
}
.qb-slider__slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
}
.qb-slider__slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}
.qb-slider__link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: #fff;
}
.qb-slider__image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.qb-slider__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.qb-slider__badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    margin-bottom: 8px;
    width: fit-content;
}
.qb-slider__tier {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    color: #ffd700;
    border: 1px solid #ffd700;
    margin-bottom: 8px;
    margin-left: 6px;
    width: fit-content;
}
.qb-slider__title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
    margin: 0 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 767px) {
    .qb-slider__title {
        font-size: 16px;
        -webkit-line-clamp: 2;
    }
    .qb-slider__overlay { padding: 20px 15px 15px; }
}
.qb-slider__excerpt {
    font-size: 13px;
    line-height: 1.4;
    color: rgba(255,255,255,0.85);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.qb-slider__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: none;
    font-size: 28px;
    width: 36px;
    height: 50px;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.qb-slider__nav:hover { background: rgba(0,0,0,0.7); }
.qb-slider__nav--prev { left: 0; border-radius: 0 4px 4px 0; }
.qb-slider__nav--next { right: 0; border-radius: 4px 0 0 4px; }
@media (max-width: 767px) {
    .qb-slider__nav {
        width: 28px;
        height: 40px;
        font-size: 22px;
    }
}
.qb-slider__dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 6px;
}
.qb-slider__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.qb-slider__dot.active {
    background: #fff;
    transform: scale(1.25);
}

.qb-listing-media {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    background: #333;
}

.qb-listing-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.qb-listing-media--card {
    height: 27vh;
}

.qb-listing-media--list {
    height: 15vh;
}

.qb-listing-media--card-short {
    height: 25vh;
}

.qb-listing-media--thumb {
    height: 10vh;
}
