/* =====================================================
   Browse Bid / Property Search — PREMIUM ULTRA UI
   ===================================================== */

/* === HERO BANNER === */
.bb-hero {
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    padding: 60px 0 50px;
    position: relative;
    overflow: hidden;
}

.bb-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.bb-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: orbFloat 8s ease-in-out infinite;
}

.bb-hero-orb-1 {
    width: 300px;
    height: 300px;
    background: rgba(99, 102, 241, 0.3);
    top: -100px;
    right: -50px;
    animation-delay: 0s;
}

.bb-hero-orb-2 {
    width: 200px;
    height: 200px;
    background: rgba(168, 85, 247, 0.25);
    bottom: -80px;
    left: 10%;
    animation-delay: -3s;
}

.bb-hero-orb-3 {
    width: 150px;
    height: 150px;
    background: rgba(236, 72, 153, 0.2);
    top: 20%;
    left: 40%;
    animation-delay: -5s;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -20px) scale(1.1);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }

    75% {
        transform: translate(15px, 10px) scale(1.05);
    }
}

.bb-hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.bb-hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #c4b5fd;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.bb-hero-title {
    font-size: 42px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 14px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.bb-hero-title span {
    background: linear-gradient(135deg, #818cf8, #c084fc, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bb-hero-sub {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.55);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.6;
}

/* === MAIN SECTION === */
.bb-main-section {
    padding: 40px 0 60px;
    background: #f8fafc;
    position: relative;
}

.bb-main-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, #eef2ff 0%, transparent 100%);
    pointer-events: none;
}

/* === FILTER PANEL === */
.bb-filter-toggle {
    width: 100%;
    padding: 14px 20px;
    border-radius: 14px;
    border: 2px solid #e2e8f0;
    background: #fff;
    color: #475569;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bb-filter-toggle:hover {
    border-color: #6366f1;
    color: #6366f1;
    background: #eef2ff;
}

.bb-filter-panel {
    background: #ffffff;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(99, 102, 241, 0.08);
    overflow: hidden;
    position: sticky;
    top: 100px;
}

.bb-filter-panel-header {
    background: linear-gradient(135deg, #312e81, #4338ca);
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
}

.bb-filter-panel-header i {
    font-size: 14px;
    opacity: 0.8;
}

.bb-filter-section {
    padding: 18px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bb-filter-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
    margin: 0;
}

.bb-filter-label {
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bb-filter-search {
    position: relative;
    display: flex;
    align-items: center;
}

.bb-filter-search i {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    font-size: 14px;
    pointer-events: none;
}

.bb-filter-search .form-control {
    padding: 13px 16px 13px 42px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    background: #f8fafc;
    font-size: 14px;
    transition: all 0.3s ease;
}

.bb-filter-search .form-control:focus {
    border-color: #818cf8;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.bb-filter-select {
    padding: 13px 16px !important;
    border-radius: 12px !important;
    border: 2px solid #e2e8f0 !important;
    background: #f8fafc !important;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-appearance: auto;
    -moz-appearance: auto;
    appearance: auto;
    color: #334155;
}

.bb-filter-select:focus {
    border-color: #818cf8 !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1) !important;
}

.bb-price-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bb-price-inputs .form-control {
    padding: 11px 14px;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    background: #f8fafc;
    font-size: 14px;
    text-align: center;
    transition: all 0.3s ease;
    color: #334155;
}

.bb-price-inputs .form-control:focus {
    border-color: #818cf8;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.bb-price-separator {
    color: #94a3b8;
    font-weight: 500;
    font-size: 12px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.bb-filter-actions {
    display: flex;
    gap: 10px;
    margin-top: 6px;
}

.bb-btn-apply {
    flex: 1;
    padding: 12px 18px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.bb-btn-apply::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bb-btn-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4);
    color: #fff;
}

.bb-btn-apply:hover::before {
    opacity: 1;
}

.bb-btn-clear {
    flex: 1;
    padding: 12px 18px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bb-btn-clear:hover {
    border-color: #ef4444;
    color: #ef4444;
    background: #fef2f2;
    transform: translateY(-2px);
}

/* === RESULTS HEADER === */
.bb-results-header {
    margin-bottom: 24px;
    padding: 20px 24px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.bb-results-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bb-results-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ede9fe, #e0e7ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #6366f1;
    flex-shrink: 0;
}

.bb-results-count {
    font-size: 16px;
    font-weight: 600;
    color: #334155;
    margin: 0;
}

.bb-count-num {
    font-weight: 900;
    font-size: 26px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bb-results-sub {
    font-size: 13px;
    color: #94a3b8;
    margin: 0;
}

/* === PROPERTY CARD === */
.bb-property-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.bb-card-glow {
    position: absolute;
    inset: -1px;
    border-radius: 20px;
    background: linear-gradient(135deg, #6366f1, #a855f7, #ec4899, #6366f1);
    background-size: 300% 300%;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    animation: glowRotate 4s linear infinite;
}

@keyframes glowRotate {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.bb-property-card:hover .bb-card-glow {
    opacity: 1;
}

.bb-card-accent {
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #a855f7, #ec4899);
    position: relative;
    z-index: 1;
}

.bb-card-inner {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    height: calc(100% - 4px);
    position: relative;
    z-index: 1;
    padding: 0;
}

.bb-property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.2);
}

.bb-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px 10px;
}

.bb-category-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 25px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
}

.bb-card-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

.bb-action-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    color: #64748b;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    position: relative;
    overflow: hidden;
}

.bb-action-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.bb-action-btn i {
    position: relative;
    z-index: 1;
}

.bb-action-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.bb-action-btn:hover::after {
    opacity: 1;
}

.bb-action-btn:hover i {
    color: #fff;
}

.bb-action-btn .fa-solid.fa-heart {
    color: #ef4444;
}

.bb-action-btn:hover .fa-solid.fa-heart {
    color: #fff;
}

.bb-card-actions .social-media {
    position: absolute;
    top: 44px;
    right: 0;
    z-index: 100;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    padding: 12px;
    display: none;
    min-width: 170px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.bb-card-actions .social-media.show,
.bb-card-actions .social-media[style*="display: block"] {
    display: block !important;
}

.bb-card-actions .social-media a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    margin: 3px;
    font-size: 16px;
    transition: all 0.25s ease;
}

/* Card Body */
.bb-card-body {
    padding: 6px 20px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bb-property-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ede9fe, #faf5ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #7c3aed;
    border: 1px solid rgba(124, 58, 237, 0.1);
}

.bb-property-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
    transition: color 0.25s ease;
}

.bb-property-title:hover {
    color: #6366f1;
}

/* Card Footer */
.bb-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 16px 20px 20px;
    background: linear-gradient(180deg, transparent, #f8fafc);
    margin-top: auto;
    border-top: 1px solid #f1f5f9;
}

.bb-price-block {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.bb-price-label {
    font-size: 10px;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.bb-price-value {
    font-size: 17px;
    font-weight: 900;
    background: linear-gradient(135deg, #1e293b, #475569);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.bb-price-value i {
    font-size: 13px;
    -webkit-text-fill-color: #1e293b;
}

.bb-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(79, 70, 229, 0.25);
}

.bb-view-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.bb-view-btn:hover::before {
    left: 100%;
}

.bb-view-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.45);
    color: #fff;
}

.bb-view-btn i {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.bb-view-btn:hover i {
    transform: translateX(4px);
}

/* === EMPTY STATE === */
.bb-empty-state {
    text-align: center;
    padding: 80px 30px;
    background: #fff;
    border-radius: 20px;
    border: 2px dashed #e2e8f0;
}

.bb-empty-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.bb-empty-icon i {
    font-size: 36px;
    color: #ef4444;
}

.bb-empty-state h4 {
    font-size: 22px;
    font-weight: 800;
    color: #334155;
    margin-bottom: 8px;
}

.bb-empty-state p {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 20px;
}

/* === LATEST AUCTIONS SECTION === */
.bb-latest-section {
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    padding: 60px 0 70px;
    position: relative;
    overflow: hidden;
}

.bb-latest-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.bb-latest-bg-orb-1 {
    width: 350px;
    height: 350px;
    background: rgba(99, 102, 241, 0.2);
    top: -100px;
    left: -80px;
    animation: orbFloat 10s ease-in-out infinite;
}

.bb-latest-bg-orb-2 {
    width: 250px;
    height: 250px;
    background: rgba(168, 85, 247, 0.15);
    bottom: -80px;
    right: -60px;
    animation: orbFloat 8s ease-in-out infinite reverse;
}

.bb-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.bb-section-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    border-radius: 50px;
    background: rgba(249, 115, 22, 0.15);
    border: 1px solid rgba(249, 115, 22, 0.25);
    color: #fb923c;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 16px;
}

.bb-section-title {
    font-size: 34px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.bb-section-sub {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.45);
    max-width: 400px;
    margin: 0 auto;
}

/* Latest Cards */
.bb-latest-card {
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* height: 100%; */
    position: relative;
}

.bb-latest-card-accent {
    height: 3px;
    background: linear-gradient(90deg, #f97316, #fb923c, #fbbf24);
}

.bb-latest-inner {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    /* height: calc(100% - 3px); */
}

.bb-latest-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.bb-latest-card:hover .bb-latest-inner {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}

.bb-latest-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bb-latest-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(251, 146, 60, 0.15));
    border: 1px solid rgba(249, 115, 22, 0.2);
    color: #fb923c;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.bb-latest-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fbbf24;
    font-size: 14px;
}

.bb-latest-title {
    font-size: 15px;
    font-weight: 700;
    color: #e2e8f0;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.45;
    transition: color 0.25s ease;
}

.bb-latest-title:hover {
    color: #fbbf24;
}

.bb-latest-price {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.bb-latest-price-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.bb-latest-price-value {
    font-size: 18px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.3px;
}

.bb-latest-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #fb923c;
    text-decoration: none;
    transition: all 0.25s ease;
    margin-top: auto;
    padding-top: 4px;
}

.bb-latest-link:hover {
    color: #fbbf24;
    gap: 16px;
}

.bb-latest-link i {
    font-size: 13px;
    transition: transform 0.3s ease;
}

.bb-latest-link:hover i {
    transform: translateX(6px);
}

/* === RESPONSIVE === */
@media (max-width: 1199.98px) {
    .bb-filter-panel {
        margin-bottom: 16px;
    }

    .bb-hero-title {
        font-size: 34px;
    }
}

@media (max-width: 767.98px) {
    .bb-hero {
        padding: 40px 0 35px;
    }

    .bb-hero-title {
        font-size: 28px;
    }

    .bb-hero-sub {
        font-size: 14px;
    }

    .bb-property-card {
        border-radius: 16px;
    }

    .bb-card-glow {
        border-radius: 16px;
    }

    .bb-card-header {
        padding: 14px 16px 8px;
    }

    .bb-card-body {
        padding: 4px 16px 12px;
    }

    .bb-card-footer {
        padding: 12px 16px 16px;
    }

    .bb-property-title {
        font-size: 14px;
    }

    .bb-price-value {
        font-size: 15px;
    }

    .bb-view-btn {
        padding: 8px 14px;
        font-size: 11px;
    }

    .bb-section-title {
        font-size: 24px;
    }

    .bb-latest-inner {
        padding: 18px 16px;
    }

    .bb-results-header {
        padding: 16px;
    }

    .bb-results-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 575.98px) {
    .bb-card-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .bb-view-btn {
        justify-content: center;
    }

    .bb-hero-title {
        font-size: 24px;
    }
}

/* === CARD ENTRANCE ANIMATION === */
@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.col-sm-6.col-lg-4 {
    animation: cardSlideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

.col-sm-6.col-lg-4:nth-child(1) {
    animation-delay: 0.05s;
}

.col-sm-6.col-lg-4:nth-child(2) {
    animation-delay: 0.12s;
}

.col-sm-6.col-lg-4:nth-child(3) {
    animation-delay: 0.19s;
}

.col-sm-6.col-lg-4:nth-child(4) {
    animation-delay: 0.26s;
}

.col-sm-6.col-lg-4:nth-child(5) {
    animation-delay: 0.33s;
}

.col-sm-6.col-lg-4:nth-child(6) {
    animation-delay: 0.40s;
}

.col-sm-6.col-lg-4:nth-child(7) {
    animation-delay: 0.47s;
}

.col-sm-6.col-lg-4:nth-child(8) {
    animation-delay: 0.54s;
}

.col-sm-6.col-lg-4:nth-child(9) {
    animation-delay: 0.61s;
}

/* Override social-media display from share library */
.social-media {
    display: none;
}

/* === PAGINATION === */
.bb-pagination {
    margin-top: 36px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.bb-pagination-info {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.3px;
}

.bb-pagination .pagination,
.bb-pagination nav ul {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.bb-pagination .pagination li,
.bb-pagination nav ul li {
    list-style: none;
}

.bb-pagination .pagination li a,
.bb-pagination .pagination li span,
.bb-pagination nav ul li a,
.bb-pagination nav ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
    background: #fff;
    color: #475569;
}

.bb-pagination .pagination li a:hover,
.bb-pagination nav ul li a:hover {
    border-color: #6366f1;
    background: #eef2ff;
    color: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

.bb-pagination .pagination li.active span,
.bb-pagination .pagination li span[aria-current="page"],
.bb-pagination nav ul li.active span,
.bb-pagination nav ul li span[aria-current="page"],
.bb-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #4f46e5, #7c3aed) !important;
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.35);
}

.bb-pagination .pagination li.disabled span,
.bb-pagination nav ul li.disabled span,
.bb-pagination .page-item.disabled .page-link {
    opacity: 0.4;
    cursor: not-allowed;
    background: #f8fafc;
    border-color: #e2e8f0;
}

/* Laravel default pagination overrides */
.bb-pagination nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.bb-pagination nav .hidden {
    display: none;
}

.bb-pagination nav>div {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.bb-pagination nav>div>div:first-child {
    display: none;
}

@media (max-width: 575.98px) {

    .bb-pagination .pagination li a,
    .bb-pagination .pagination li span,
    .bb-pagination nav ul li a,
    .bb-pagination nav ul li span {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 13px;
        border-radius: 10px;
    }
}