/* Product screenshot board + lightbox (vanilla). Not a carousel. */

.shot-board {
    margin: 1.25em 0 1.75em;
}

.shot-board-title {
    text-align: center;
    margin: 0 0 0.35em;
}

.shot-board-note {
    text-align: center;
    font-size: 15px;
    line-height: 1.4;
    color: #555;
    margin: 0 0 0.9em;
}

.shot-board-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.shot-tile {
    display: block;
    text-decoration: none;
    color: inherit;
    border: 2px solid #d8e1ef;
    border-radius: 4px;
    background: #f4f6fa;
    overflow: hidden;
}

.shot-tile:hover,
.shot-tile:focus-visible {
    border-color: #365a9c;
    outline: none;
}

.shot-tile img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1840 / 980;
    object-fit: cover;
    background: #d8e1ef;
}

.shot-tile span {
    display: block;
    padding: 0.35em 0.55em 0.5em;
    font-size: 14px;
    line-height: 1.3;
    color: #365a9c;
}

.shot-board-more {
    text-align: center;
    margin: 0.7em 0 0;
    font-size: 15px;
}

.shot-board--stack .shot-board-list {
    grid-template-columns: 1fr;
    gap: 1.5em;
}

.shot-board--stack .shot-entry {
    margin: 0;
}

.shot-board--stack .shot-entry h3 {
    margin: 0 0 0.45em;
    padding-top: 0;
}

.shot-board--stack .shot-tile img {
    aspect-ratio: auto;
}

.shot-lb {
    padding: 0;
    border: 0;
    background: transparent;
    max-width: min(96vw, 1200px);
    width: 96vw;
}

.shot-lb::backdrop {
    background: rgba(22, 36, 58, 0.9);
}

.shot-lb-frame {
    position: relative;
    background: #111c2e;
    color: #f3f6fb;
    padding: 2.4em 2.8em 1em;
}

.shot-lb-frame img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 78vh;
    object-fit: contain;
    background: #0d1624;
}

.shot-lb-bar {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1em;
    margin-top: 0.65em;
    font-size: 15px;
    line-height: 1.35;
}

.shot-lb-cap {
    margin: 0;
    flex: 1;
}

.shot-lb-pos {
    color: #b7c4d8;
    white-space: nowrap;
}

.shot-lb button {
    font: inherit;
    cursor: pointer;
    border: 0;
    background: transparent;
    color: #fff;
}

.shot-lb-close {
    position: absolute;
    top: 0.15em;
    right: 0.25em;
    width: 2em;
    height: 2em;
    font-size: 1.6em;
    line-height: 1;
}

.shot-lb-close:hover,
.shot-lb-prev:hover,
.shot-lb-next:hover {
    color: #d8e1ef;
}

.shot-lb-prev,
.shot-lb-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.2em;
    height: 2.6em;
    font-size: 2em;
    line-height: 1;
}

.shot-lb-prev { left: 0.05em; }
.shot-lb-next { right: 0.05em; }

@media screen and (max-width: 40em) {
    .shot-board-list {
        grid-template-columns: 1fr;
    }
    .shot-lb-frame {
        padding: 2.2em 0.6em 0.8em;
    }
    .shot-lb-prev,
    .shot-lb-next {
        font-size: 1.6em;
    }
}
