@charset "UTF-8";
 
/* layout: */
    /* tri-column layout: */
.tricol-active {
    min-width: 73rem;
    max-width: 98rem;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    grid-template-rows: 1fr;
    grid-column-gap: 2rem;
}
.tricol-center {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 2;
}
.tricol-left {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 1;
    grid-row-end: 2;
}
.tricol-right {
    grid-column-start: 3;
    grid-column-end: 4;
    grid-row-start: 1;
    grid-row-end: 2;
}

    /* gallery layout: */
.gallery {
    box-sizing: border-box;
    width: 100%;
    padding: 3px;
    margin-left: auto;
    margin-right: auto;
    break-inside: avoid;
}
section > .gallery:first-child > .gallery-view {
    border-top-left-radius: calc(1rem - 5px);
    border-top-right-radius: calc(1rem - 5px);
}
.gallery-view {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
    padding-bottom: calc(min(75%, 93vh - (2rem + 13px)));
    overflow-x: hidden;
}
.no-js .gallery-view { overflow-x: scroll !important; }
section > .gallery:last-child .gallery-view:last-child {
    border-bottom-left-radius: calc(1rem - 5px);
    border-bottom-right-radius: calc(1rem - 5px);
}
.gallery-strip {
    position: absolute;
    top: 0;
    left: 0;
    transition: left 1s ease;
    width: 100%;
    height: 100%;
    overflow-x: visible;
}
.no-js .gallery-strip {
    transition: unset;
    width: calc(100% + 4rem);
}
.gallery-slide {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}
.no-js .gallery-slide { width: calc(100% - 4rem); }
.gallery-slide > .responsive-image {
    margin: auto;
    max-height: 100%;
}
.gallery-control-bar { text-align: center; }
.gallery-control-bar > ul {
    justify-content: center;
    margin-right: -3px;
}
.gallery-control-bar li {
    margin: 3px 3px 0 0;
}
.gallery-control {
    display: block;
    height: 2em;
    padding-left: 1.5em;
    padding-right: 1.5em;
    line-height: 2em;
}
@supports (display: grid) {
    .gallery-control-bar > ul {
        display: grid;
        margin-right: 0;
        grid-auto-flow: column;
        grid-auto-columns: 1fr;
        grid-column-gap: 3px;
    }
    .gallery-control-bar li {
        display: block;
        margin-right: 0;
        overflow: hidden;
    }
    .gallery-control {
        width: 100%;
        padding: 0;
    }
}
section > .gallery:last-child li:first-child > button { border-bottom-left-radius: calc(1rem - 5px); }
section > .gallery:last-child li:last-child > button { border-bottom-right-radius: calc(1rem - 5px); }

    /* map layout: */
.map-block {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    break-inside: avoid;
}
.map-aspect {
    position: relative;
    padding-bottom: 75%;
    padding-bottom: calc(min(75%, 93vh - (2.5rem + 4px)));
}
.map-view {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.map-block > nav {
    padding-left: 1rem;
    padding-right: 1rem;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

/* cosmetic: */
    /* gallery cosmetic: */
.gallery { background-color: rgb(96, 96, 96); }
a.gallery-control {
    background-color: rgb(128, 128, 128);
    color: white !important;
}
a.gallery-control:link { background-color: hsl(32.5, 100%, 35%); }
a.gallery-control:visited { background-color: hsl(20, 100%, 35%); }
a.gallery-control:focus { background-color: hsl(10, 100%, 42.5%); }
a.gallery-control:hover { background-color: hsl(10, 100%, 50%); }

.gallery-state {
    background-color: rgb(160, 160, 160);
    outline: 3px solid rgb(160, 160, 160);
}
.gallery-state > button {
    background-color: hsl(200, 80%, 40%);
    color: white;
}
.gallery-state > button:focus { background-color: hsl(200, 100%, 50%); }
.gallery-state > button:hover { background-color: hsl(200, 100%, 60%); }
