/* VitruvianOS logo colors */
.navbar-brand .vos-v   { color: #cc1111; }
.navbar-brand .vos-mid { color: #1a1a1a; }
.navbar-brand .vos-os  { color: #0055cc; }
.navbar-brand {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    padding-top: 22px;
    padding-bottom: 0;
}

.box-image-text .image {
    min-height: 190px;
    max-height: 190px;
}

.box-image-text .image img {
    max-height: 190px;
    margin: auto;
}

.box-simple {
    min-height: 230px;
}

/* Screenshots gallery */
.vos-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 24px;
    margin-bottom: 48px;
}
.vos-gallery-thumb {
    display: block;
    overflow: hidden;
    border-radius: 4px;
    background: #111;
    aspect-ratio: 16/10;
}
.vos-gallery-thumb img,
.vos-gallery-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.2s;
}
.vos-gallery-thumb:hover img { opacity: 0.85; }

/* Lightbox */
.vos-gallery-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.vos-gallery-lightbox:target { display: flex; }
.vos-gallery-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.85);
}
.vos-gallery-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    z-index: 1;
    text-align: center;
}
.vos-gallery-content img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 3px;
    display: block;
}
.vos-gallery-close {
    position: absolute;
    top: -36px;
    right: 0;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    text-decoration: none;
}
.vos-gallery-caption {
    color: #ddd;
    margin-top: 8px;
    font-size: 0.9em;
}
