
nav {
    display: flex;
    background: transparent;
    gap: 5px;
    border-bottom: 1px solid rgb(176, 176, 176);
    margin: 15px;
    padding: 0;
    padding-bottom: 10px;
}

main {
    /* max-width: 800px; */
    padding: 15px;
}

/* Navigation */
nav {
    line-height: initial;
}
a.button, .button {
    font-size: 13px;
    font-family: Arial, Helvetica, sans-serif;
    color: #424242 !important;
    padding: 4px 10px;
    border-radius: 3px;
    border: 1px solid #9c9c9c;
    background-color: #c8c8c8;
    text-decoration: none !important;
    width: max-content;
    cursor: pointer;
}
a.button:hover, .button:hover {
    background-color: #d6d6d6 !important;
}
.button#prev, .button#next {
    display: flex;
    align-items: center;
    width: max-content;
    padding: 0 10px;
}
a#prev::before {
    display: inline-block;
    /* margin-right: 5px; */
    content: '';
    width: 0px;
    height: 0px;
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-right: 7px solid #393939;
}
a#next::after {
    display: inline-block;
    /* margin-left: 5px; */
    content: '';
    width: 0px;
    height: 0px;
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-left: 7px solid #393939;
}

#meta p {
    margin: 0;
}
#text {
    max-width: 650px;
    /* margin-bottom: 100px; */
    margin-top: 20px;
}
#text p:last-child {
    margin-bottom: 0;
}
#info {
    font-family: Courier, monospace;
    letter-spacing: -.2px;
    display: block;
    font-size: 16px;
    line-height: 18px;
    padding: 1px 0;
    width: auto;
    text-transform: none;
    /* border-top: 1px solid gray;
    border-bottom: 1px solid gray; */
    margin-bottom: 20px;
    padding-top: 0px;
    padding-bottom: 12px;
}

p {
    font-size: 16px;
    line-height: 20px;
}

#text p:first-child {
    margin-top: 0;
}

#images {
    display: flex;
    flex-flow: row wrap;
    gap: 20px;
}

figure {
    margin: 0;
    padding: 0;
    max-width: 400px;
}
figure img {
    max-width: 900px;
    max-height: 900px;
    width: 100%;
    object-fit: contain;
    object-position: left top;
    /* height: 100%; */
    cursor: zoom-in;
}
figure video {
    max-width: 900px;
    width: 100%;
}




@media(max-width:600px) {
    #info {
        grid-template-columns: 1fr;
    }
    figure img {
        pointer-events: none;
    }
}


/* Blocks */
.block-type-gallery figure {
    padding: 0;
    margin: 0;
    margin-bottom: 46px;
}
.block-type-gallery figure ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 26px;
    max-width: 900px;
}
.block-type-gallery figure ul li {

}
.block-type-gallery figure ul li img {
    width: 100%;
}



#slideshow {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    /* background-color: #000; */
    z-index: 1000;
    cursor: zoom-out;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
}
#slideshow img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}