.bojanje-gallery__stage:empty {
    display: none;
}

.bojanje-gallery__stage {
    display: grid;
    overflow: hidden;
    perspective: 950px;
    background: #10242b;
    color: #fff6e4;
}

.bojanje-gallery__stage figure {
    grid-area: 1 / 1;
    margin: 0;
    min-width: 0;
    transform-origin: 50% 44%;
}

.bojanje-gallery__stage a {
    display: block;
}

.bojanje-gallery__stage img {
    display: block;
    width: 100%;
    aspect-ratio: 43 / 40;
    object-fit: contain;
}

.bojanje-gallery__stage figcaption {
    padding: .55rem .75rem;
    overflow-wrap: anywhere;
}

.bojanje-gallery__choices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 4rem), 1fr));
    gap: .45rem;
    padding-block: .65rem;
}

.bojanje-gallery__choices a {
    border: 2px solid transparent;
}

.bojanje-gallery__choices a[aria-current="true"],
.bojanje-gallery__choices a:focus-visible {
    border-color: #ffb724;
}

.bojanje-gallery__choices img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.bs-gallery-layout {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1.25rem;}
.bs-gallery-colors {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.25rem;}
.bs-gallery-colors img {width:100%;display:block;aspect-ratio:1.9;object-fit:cover;}
.bs-gallery-description {padding:1rem;background:#f7eddc;color:#252018;margin-top:.8rem;}
@media(max-width:700px){.bs-gallery-layout{grid-template-columns:1fr;}}

.bs-gallery-autoplay {margin-top:.6rem;padding:.45rem .8rem;border:1px solid #b78538;background:#172c37;color:#fff4de;border-radius:.4rem;}
.bs-gallery-autoplay[aria-pressed="true"] {background:#69420f;}
@media(max-width:700px){.bojanje-gallery__stage img{max-height: min(62vw,23rem);} .bojanje-gallery__choices{grid-template-columns:repeat(4,minmax(0,1fr));}}
