.site-header {
    padding-bottom: 2.5em !important;
}

.site-logo {
    margin-bottom: 1.25em !important;
}

.site-logo a {
    border: 0;
    display: inline-block;
}

.site-logo img {
    display: block;
    height: auto;
    max-height: 120px;
    max-width: min(420px, 86vw);
    width: auto;
}

.site-header p {
    color: #5d5d5d;
    font-size: 1.15em;
    margin: .35em 0 1.5em;
}

.site-featured-image img {
    aspect-ratio: 16 / 7;
    object-fit: cover;
}

#main .box.post {
    color: #333333;
    font-weight: 400;
}

#main .box.post p,
#main .box.post li,
#main .box.post td,
#main .box.post th {
    color: #333333;
    font-weight: 400;
}

#main .box.post a {
    color: #252122;
}

#main .box.post strong,
#main .box.post b {
    font-weight: 700;
}

#nav > ul > li.language-switch > a {
    background: #252122;
    color: #fff !important;
}

.contact-grid {
    display: grid;
    gap: 1.5em;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-panel {
    border: solid 1px #ddd;
    border-radius: 8px;
    padding: 1.5em;
}

.open-state {
    border-radius: 8px;
    display: inline-block;
    font-weight: 700;
    margin: 0 0 1em;
    padding: .55em .8em;
}

.open-state.open {
    background: #d9f0df;
    color: #255c35;
}

.open-state.closed {
    background: #f3e1dc;
    color: #7c2e1d;
}

.holiday-note {
    background: #fff7d6;
    border-radius: 8px;
    margin-bottom: 1em;
    padding: .8em 1em;
}

.holiday-note span {
    display: block;
}

.hours-table {
    margin: 0;
}

.hours-table th,
.hours-table td {
    padding: .45em .2em;
}

.hours-table th {
    color: #5d5d5d;
    font-weight: 700;
    text-align: left;
}

.contact-line {
    color: #5d5d5d;
    font-weight: 700;
    margin: 0 0 .65em;
}

.contact-line a {
    color: inherit;
    text-decoration: none;
}

.contact-line a:hover {
    text-decoration: underline;
}

.footer-contact p {
    color: #5d5d5d;
    font-weight: 700;
    margin: 0 0 .65em;
}

.footer-contact a {
    color: inherit;
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}

.inline-social {
    margin-top: 1em !important;
}

.document-frame,
.taproom-frame {
    border: 0;
    width: 100%;
}

.document-frame {
    height: 1000px;
}

.taproom-frame {
    min-height: 620px;
}

.gallery-block {
    margin-top: 2.5em;
}

.photo-grid {
    display: grid;
    gap: .75em;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.photo-grid a {
    border: 0;
    display: block;
}

.photo-grid img {
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.lightbox {
    align-items: center;
    background: rgba(18, 18, 20, .92);
    display: none;
    inset: 0;
    justify-content: center;
    padding: 4em;
    position: fixed;
    z-index: 10000;
}

.lightbox.visible {
    display: flex;
}

.lightbox-open {
    overflow: hidden;
}

.lightbox-image {
    box-shadow: 0 1em 3em rgba(0, 0, 0, .45);
    max-height: 90vh;
    max-width: 90vw;
}

.lightbox button {
    background: rgba(255, 255, 255, .92);
    border: 0;
    border-radius: 999px;
    color: #252122;
    cursor: pointer;
    font-size: 2em;
    height: 2em;
    line-height: 1;
    padding: 0;
    position: fixed;
    width: 2em;
}

.lightbox button:hover {
    background: #fff;
}

.lightbox-close {
    right: 1em;
    top: 1em;
}

.lightbox-prev,
.lightbox-next {
    top: calc(50% - 1em);
}

.lightbox-prev {
    left: 1em;
}

.lightbox-next {
    right: 1em;
}

.bottle-menu section {
    margin-top: 2em;
}

.beer-row {
    border-top: solid 1px #e5e5e5;
    display: grid;
    gap: 1em;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 1em 0;
}

.beer-row h4 {
    margin: 0 0 .35em;
}

.beer-row h4 span {
    color: #888;
    font-size: .85em;
    font-weight: 400;
}

.beer-row p {
    margin: 0;
}

.beer-row aside {
    min-width: 8em;
    text-align: right;
}

.beer-row aside a {
    display: block;
    font-size: .85em;
    margin-top: .4em;
}

.person-photo {
    border-radius: 8px;
    float: right;
    margin: 0 0 1em 1.5em;
    max-width: 220px;
    width: 40%;
}

.tastings-list {
    margin: 2em 0;
}

.tasting-row {
    align-items: center;
    border-top: solid 1px #e5e5e5;
    display: grid;
    gap: 1em;
    grid-template-columns: minmax(0, 1fr) auto auto;
    padding: 1em 0;
}

.tasting-row span {
    margin-left: .75em;
}

.tasting-row a {
    font-weight: 700;
}

@media screen and (max-width: 736px) {
    .site-header {
        padding-bottom: 1.5em !important;
    }

    .site-featured-image img {
        aspect-ratio: 4 / 3;
    }

    .contact-grid,
    .beer-row,
    .tasting-row {
        grid-template-columns: 1fr;
    }

    .tasting-row span {
        display: block;
        margin-left: 0;
    }

    .photo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lightbox {
        padding: 1em;
    }

    .lightbox button {
        font-size: 1.4em;
    }

    .beer-row aside {
        text-align: left;
    }

    .person-photo {
        float: none;
        margin: 0 0 1em;
        width: 100%;
    }
}
