/* ================= HERO ================= */
.bi-search-hero {
    position: relative;
    height: 260px;
    background: url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?q=80&w=1600') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bi-search-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

.bi-search-hero-content {
    position: relative;
    text-align: center;
    color: #fff;
}


.bi-card-img img {
    transition: transform .6s ease;
    transform: scale(1);
}

.bi-card-img:hover img {
    transform: scale(1.06);

}

.bi-card-img {
	overflow: hidden;
}

.bi-search-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.bi-search-subtitle {
    font-size: 16px;
    opacity: 0.9;
}

/* ================= SECTION ================= */
.bi-section-title {
    font-weight: 700;
    font-size: 22px;
}

.bi-result-count {
    font-size: 13px;
    color: #666;
}

/* ================= CARD WRAPPER ================= */
.bi-card-wrap {
    display: block;
    background: #fff;
    padding: 0px;
    border-radius: 14px;
    border: 0px solid #ddd;
    margin-bottom: 15px;
}

.bi-card-inner {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 0px solid #e5e5e5;
}

/* ================= IMAGE ================= */
.bi-card-img {
    position: relative;
    height: 200px;
}

.bi-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ================= OVERLAY ================= */
.bi-card-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent 60%);
}

/* ================= BADGES ================= */
.bi-card-rating {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #2b2b2b;
    color: #fff;
    font-size: 12px;
    padding: 3px 7px;
    border-radius: 6px;
}

.bi-card-featured {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #ff5a1f;
    color: #fff;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
}

/* ================= LOGO ================= */
.bi-card-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.bi-card-logo img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 0px solid #fff;
    background: #fff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

/* ================= TEXT ================= */
.bi-card-info {
position: absolute;
  bottom: 10px;
  left: 12px;
  color: #fff;
  display: flex;
  right: 10px;
  justify-content: space-between;
  align-items: center;
}

.bi-card-name {
    font-size: 13px;
    font-weight: 600;
}

.bi-card-location {
    font-size: 12px;
    opacity: 0.9;
    display: none;
}

/* ================= GRID ================= */
.row.g-3 {
    --bs-gutter-x: 12px;
    --bs-gutter-y: 12px;
}

/* ================= AD ================= */
.bi-ad-box {
background: #dedede;
  border-radius: 14px;
  padding: 70px 20px;
  text-align: center;
  font-weight: 700;
  letter-spacing: 2px;
  height: 91%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
    .bi-search-title {
        font-size: 36px;
    }
}

@media (max-width: 576px) {
    .bi-search-hero {
        height: 200px;
    }

    .bi-search-title {
        font-size: 28px;
    }

    .bi-search-subtitle {
        font-size: 13px;
        padding: 0 10px;
    }

    .bi-card-img {
        height: 135px;
    }

    .bi-card-logo img {
        width: 55px;
        height: 55px;
    }
}

@media (max-width: 360px) {
    .bi-search-title {
        font-size: 24px;
    }

    .bi-card-name {
        font-size: 12px;
    }
}

.bi-featured-section .col-sm-6 {
    padding-left: 8px;
    padding-right: 8px;
}


/* ================= TAGS ================= */

.bi-tags-sort {
    font-size: 13px;
    color: #333;
    text-decoration: none;
}

/* WRAPPER */
.bi-tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* TAG */
.bi-tag {
display: inline-block;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  transition: all 0.2s ease;
}

/* HOVER */
.bi-tag:hover {
    background: #000;
    color: #fff;
    border-color: #000;
  text-decoration: none;

}

/* ACTIVE (optional later) */
.bi-tag.active {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* ================= RESPONSIVE ================= */

/* Tablet */
@media (max-width: 768px) {
    .bi-tag {
        font-size: 12px;
        padding: 7px 14px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .bi-tags-wrapper {
        gap: 8px;
    }

    .bi-tag {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* Small Mobile (320px) */
@media (max-width: 360px) {
    .bi-tag {
        font-size: 11px;
        padding: 5px 10px;
    }
}