/* ========================================
   Tab Navigation - ABOVE the container
   ======================================== */

.mb-media-gallery__tabs {
    display: flex;
    gap: 10px;
    margin: 0;;
    border-bottom: 2px solid #e0e0e0;
    background: transparent;
    position: relative;
    z-index: 2;
}

/* INACTIVE TABS — both Images & Videos */
.mb-media-gallery__tab {
    flex: 1;
    margin-bottom: 10px;
    padding: 1rem;
    background: #DE7A39 !important;     /* orange */
    color: #ffffff !important;        /* white text */
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 16px;
    font-weight: normal;              /* normal weight */
    transition: all 0.2s ease;
    position: relative;
    bottom: -2px;
}

/* Hover/focus on inactive tab */
.mb-media-gallery__tab:hover {
    background: #DE7A39 !important; /* a brighter orange on hover */
    color: #ffffff !important;
}

.mb-media-gallery__tab:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* ACTIVE TAB — same for images & videos */
.mb-media-gallery__tab.active {
    background: #008345 !important;  /* green */
    color: #ffffff !important;       /* white text */
    font-weight: bold !important;    /* bold when active */
    border-bottom-color: #008345;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Remove any type-specific overrides */
.mb-media-gallery__tab--images.active,
.mb-media-gallery__tab--videos.active {
    background: #008345 !important;
    border-bottom-color: #008345 !important;
    color: #ffffff !important;
}
