:root {
    --bs-dark: rgb(31, 54, 62) !important;
    --bs-dark-rgb: 31, 54, 62 !important;
}

body { background: #f6f8fa; }

.navbar.navbar-expand-lg.navbar-dark.bg-dark { padding: 0; }

@media (min-width: 992px) {
    .navbar .navbar-nav.mx-auto {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

.container-fluid { padding-left: 60px; padding-right: 60px; }

.thumb {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: .5rem;
    cursor: zoom-in;
}
.thumb-sm { height: 200px !important; }

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img {
    max-width: 100%;
    max-height: 100%;
    border-radius: .5rem;
}

.thumb-wrap { position: relative; }
.thumb-delete {
    position: absolute;
    top: .5rem;
    right: .75rem;
    width: 28px;
    height: 28px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    border-radius: 50%;
    opacity: 0;
    transition: opacity .15s ease;
}
.thumb-wrap:hover .thumb-delete { opacity: 1; }

.rb-side-images {
    display: flex;
    flex-wrap: wrap;
    gap: .375rem;
}
.rb-side-image {
    position: relative;
    display: block;
    width: 72px;
    height: 72px;
    border: 1px solid #dee2e6;
    border-radius: .375rem;
    overflow: hidden;
    background: #fff;
    text-decoration: none;
}
.rb-side-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.rb-side-image-missing {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #adb5bd;
    font-size: .65rem;
    padding: .25rem;
}
