/* ==========================================================================
   IMAGE & VIDEO GALLERY STYLES
   ========================================================================== */

.bos-gallery-section {
    background-color: #FFFFFF;
    font-family: var(--font-spartan, 'Spartan', sans-serif);
}

/* Sidebar Navigation */
.bos-gallery-sidebar {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bos-sidebar-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    background: transparent;
    border: none;
    border-left: 3px solid transparent;
    font-size: 14px;
    font-weight: 600;
    color: #333333;
    text-align: left;
    transition: all 0.2s ease;
    cursor: pointer;
}

.bos-sidebar-btn:hover {
    color: #3B71CA;
    background-color: #F8FAFC;
}

.bos-sidebar-btn.active {
    background-color: #EEF4FF;
    border-left-color: #3B71CA;
    color: #3B71CA;
    font-weight: 700;
}

/* Panel & Header */
.bos-gallery-panel {
    background: #F4F7FC;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.04);
}

.bos-gallery-header {
    background: #3B71CA;
    padding: 14px 24px;
}

.bos-gallery-header-title {
    font-size: clamp(20px, 2.5vw, 24px);
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
}

.bos-gallery-body {
    padding: 24px;
    min-height: 380px;
}

/* Filter Buttons */
.bos-gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.bos-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: #333333;
    transition: all 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
}

.bos-filter-btn:hover {
    border-color: #3B71CA;
    color: #3B71CA;
}

.bos-filter-btn.active {
    background: #000000;
    border-color: #000000;
    color: #FFFFFF;
}

/* Card Elements */
.bos-gallery-card {
    position: relative;
    width: 100%;
    height: 160PX;
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    overflow: hidden;
    background-color: #E2E8F0;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.06);
}

.bos-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.bos-gallery-card:hover .bos-gallery-img,
.bos-video-card:hover .bos-gallery-img {
    transform: scale(1.05);
}

/* --------------------------------------------------------------------------
   Video Card & "Watch Now" Glassmorphism Badge
   -------------------------------------------------------------------------- */

.bos-video-card {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    overflow: hidden;
    background-color: #111111;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.08);
    text-decoration: none;
}

.bos-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    transition: background 0.3s ease;
}

.bos-video-card:hover .bos-video-overlay {
    background: rgba(0, 0, 0, 0.1);
}

/* Glass Floating Badge */
.bos-watch-now-pill {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    padding: 6px 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, background 0.3s ease;
}

.bos-video-card:hover .bos-watch-now-pill {
    transform: translate(-50%, -50%) scale(1.08);
    background: rgba(255, 255, 255, 0.45);
}

.bos-play-icon-sm {
    color: #DB4101;
    font-size: 10px;
    display: inline-block;
}

/* Pagination Bar */
.bos-gallery-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 28px;
}

.bos-page-btn {
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    border: none;
    background: transparent;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #333333;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bos-page-btn.active {
    background-color: #3B71CA;
    color: #FFFFFF;
}

.bos-page-btn.nav-btn {
    color: #888888;
    font-weight: 500;
}

.bos-page-btn.nav-btn.disabled {
    color: #CCCCCC;
    cursor: not-allowed;
}

/* Empty Alert Pill */
.bos-gallery-empty-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 0;
    width: 100%;
}

.bos-gallery-alert-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background-color: #EFEFEF;
    border-radius: 30px;
    font-size: 13.5px;
    font-weight: 500;
    color: #555555;
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .bos-gallery-sidebar {
        flex-direction: row;
        border-bottom: 1px solid #E2E8F0;
        padding-bottom: 8px;
    }
    .bos-sidebar-btn {
        border-left: none;
        border-bottom: 3px solid transparent;
        width: auto;
    }
    .bos-sidebar-btn.active {
        border-left-color: transparent;
        border-bottom-color: #3B71CA;
    }
    .bos-gallery-body {
        padding: 16px;
    }
}