.events .event {
    margin-bottom:2rem;
}
.events .event p.time, .single-event .event-callout p.time {
    font-size: 1.2rem;
    font-weight: 800;
	margin-bottom:0;
}
.events .event h2, .single-event .event-callout h1 {
    margin-top:.25rem;
    margin-bottom:.5rem;
    text-transform:capitalize;
}
.events .event figure {
    margin:0;
    min-width:500px;
}
.events .event figure img, .single-event figure img {
    display: block;
    border-radius: 4px;
}

.single-event .event-main aside .virtual-instructions {
    margin-top:1rem;
}

.single-event .event-main aside ul  {
    margin:0;
    li {
        display: inline-block;
        margin-right:1em;
        margin-bottom:.15em;
        padding:0;
    }
    &.event-category-list {
        li {
            display: block;
        }
    }
    a {
        &:hover {
            text-decoration: underline;
        }
    }
}



.single-event .event-callout p.time {
    color: #6F727B;
    font-family: "United Sans Condensed", Impact, "Arial Black", "sans serif";
    font-size: 1.125em;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: .075rem;
    text-transform: uppercase;
}

.single-event aside figure {
    margin:0 !important;
    padding:0;
    display: block;
}
.single-event nav.attachments {
    display: flex;
    flex-wrap: wrap;
    gap:2rem;
}
a.attachment {
    padding:1rem;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border:1px solid white;
}
a.attachment:hover {
    border:1px solid #cfcfcf;
}


a.attachment:before {
    width: 4rem;
    height: 4rem;
    margin-bottom: 1rem;
    background-repeat: no-repeat;
    background-position: center;
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3C!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--%3E%3Cpath d='M320 464c8.8 0 16-7.2 16-16V160H256c-17.7 0-32-14.3-32-32V48H64c-8.8 0-16 7.2-16 16V448c0 8.8 7.2 16 16 16H320zM0 64C0 28.7 28.7 0 64 0H229.5c17 0 33.3 6.7 45.3 18.7l90.5 90.5c12 12 18.7 28.3 18.7 45.3V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V64z'/%3E%3C/svg%3E");
}

a.attachment.jpg:before, a.attachment.jpeg:before, a.attachment.png:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3C!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--%3E%3Cpath d='M64 464c-8.8 0-16-7.2-16-16V64c0-8.8 7.2-16 16-16H224v80c0 17.7 14.3 32 32 32h80V448c0 8.8-7.2 16-16 16H64zM64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V154.5c0-17-6.7-33.3-18.7-45.3L274.7 18.7C262.7 6.7 246.5 0 229.5 0H64zm96 256a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm69.2 46.9c-3-4.3-7.9-6.9-13.2-6.9s-10.2 2.6-13.2 6.9l-41.3 59.7-11.9-19.1c-2.9-4.7-8.1-7.5-13.6-7.5s-10.6 2.8-13.6 7.5l-40 64c-3.1 4.9-3.2 11.1-.4 16.2s8.2 8.2 14 8.2h48 32 40 72c6 0 11.4-3.3 14.2-8.6s2.4-11.6-1-16.5l-72-104z'/%3E%3C/svg%3E");
}
a.attachment.vnd-ms-excel:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3C!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--%3E%3Cpath d='M48 448V64c0-8.8 7.2-16 16-16H224v80c0 17.7 14.3 32 32 32h80V448c0 8.8-7.2 16-16 16H64c-8.8 0-16-7.2-16-16zM64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V154.5c0-17-6.7-33.3-18.7-45.3L274.7 18.7C262.7 6.7 246.5 0 229.5 0H64zm90.9 233.3c-8.1-10.5-23.2-12.3-33.7-4.2s-12.3 23.2-4.2 33.7L161.6 320l-44.5 57.3c-8.1 10.5-6.3 25.5 4.2 33.7s25.5 6.3 33.7-4.2L192 359.1l37.1 47.6c8.1 10.5 23.2 12.3 33.7 4.2s12.3-23.2 4.2-33.7L222.4 320l44.5-57.3c8.1-10.5 6.3-25.5-4.2-33.7s-25.5-6.3-33.7 4.2L192 280.9l-37.1-47.6z'/%3E%3C/svg%3E");
}
a.attachment.vnd-ms-powerpoint:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3C!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--%3E%3Cpath d='M64 464c-8.8 0-16-7.2-16-16V64c0-8.8 7.2-16 16-16H224v80c0 17.7 14.3 32 32 32h80V448c0 8.8-7.2 16-16 16H64zM64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V154.5c0-17-6.7-33.3-18.7-45.3L274.7 18.7C262.7 6.7 246.5 0 229.5 0H64zm72 208c-13.3 0-24 10.7-24 24V336v56c0 13.3 10.7 24 24 24s24-10.7 24-24V360h44c42 0 76-34 76-76s-34-76-76-76H136zm68 104H160V256h44c15.5 0 28 12.5 28 28s-12.5 28-28 28z'/%3E%3C/svg%3E");
}
a.attachment.msword:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3C!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--%3E%3Cpath d='M48 448V64c0-8.8 7.2-16 16-16H224v80c0 17.7 14.3 32 32 32h80V448c0 8.8-7.2 16-16 16H64c-8.8 0-16-7.2-16-16zM64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V154.5c0-17-6.7-33.3-18.7-45.3L274.7 18.7C262.7 6.7 246.5 0 229.5 0H64zm55 241.1c-3.8-12.7-17.2-19.9-29.9-16.1s-19.9 17.2-16.1 29.9l48 160c3 10.2 12.4 17.1 23 17.1s19.9-7 23-17.1l25-83.4 25 83.4c3 10.2 12.4 17.1 23 17.1s19.9-7 23-17.1l48-160c3.8-12.7-3.4-26.1-16.1-29.9s-26.1 3.4-29.9 16.1l-25 83.4-25-83.4c-3-10.2-12.4-17.1-23-17.1s-19.9 7-23 17.1l-25 83.4-25-83.4z'/%3E%3C/svg%3E");
}
a.attachment:hover:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3C!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--%3E%3Cpath d='M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM216 232V334.1l31-31c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-72 72c-9.4 9.4-24.6 9.4-33.9 0l-72-72c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l31 31V232c0-13.3 10.7-24 24-24s24 10.7 24 24z'/%3E%3C/svg%3E");
}




nav.navigation.pagination {
    justify-content: space-between !important;
    a {
        text-decoration: none;
        &:hover {
            text-decoration: underline;
        }
    }
}

.post-type-archive-event, .tax-event-categories {
     .events .event {
         h2 {
             color: #000;
             margin-top: .25rem;

             a {
                 color: inherit;
                 text-decoration: none;

                 &:hover {
                     text-decoration: underline;
                 }
             }
         }

         p.time {
             color: #6F727B;
             font-family: "United Sans Condensed", Impact, "Arial Black", "sans serif";
             font-size: 1.125em;
             font-style: normal;
             font-weight: 700;
             line-height: normal;
             letter-spacing: .075rem;
             text-transform: uppercase;
         }
     }
}
.events-wrap {
    fieldset {
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        width: 325px;
        border: .5px solid #c4bfc0;
        border-radius: 4px;
        margin-bottom: .625rem;
        background: #fff;
        .field-title {
            border: none;
            background: none;
            font-size: 1.125rem;
            font-family: acumin-pro, "Franklin Gothic", sans-serif;
            padding: .75rem 2rem .75rem 1.5rem;
            margin-bottom: 0;
            text-align: left;
            position: relative;
            width: 100%;
            cursor: default;
            border-bottom: 1px solid #c4bfc0;
            color: #000;
            span {
                font-family: "United Sans Condensed", Impact, "Arial Black", "sans serif";
                font-size: 1.25rem;
                font-style: normal;
                font-weight: 700;
                line-height: normal;
                letter-spacing: .075rem;
                text-transform: uppercase;
            }
        }
        .field-content {
            padding: .75rem 1.5rem;
            overflow-y: auto;
            overflow-x: hidden;
            max-height:500px;
            .event-categories {
                > li > a {
                    font-weight: 700;
                }
            }

            li {
                margin-bottom:.15em;
            }
            ul.children {
                padding-left:1em;
                margin-top:.15em;
                li {
                    a {
                        font-weight: 400;
                    }
                }

            }

            a {
                color: #000;
                text-decoration: none;
                font-weight: 400;
                &:hover {
                    text-decoration: underline;
                }
            }
            ul {
                list-style: none;
                margin:0;
                padding:0;
                li {
                    padding:0;
                    &.current-cat {
                        > a {
                            text-decoration: underline;
                            font-weight:700;
                            color: #8e6f3e;
                        }
                    }
                }

            }

            .event-categories {
                list-style: none;
                margin-left:0;
                padding-left:0;
                > li {
                    margin:0;
                    margin-bottom: .25em;
                    padding:0;
                }
            }
        }
    }
}
.tax-event-categories {
    .section .container .wp-block-columns.page-layout-columns.columns {
        justify-content: inherit;
        > .wp-block-column {
            max-width:none !important;
        }
    }
}
.single-event aside a {
    text-decoration: none;
}

@media (min-width: 1024px) {
    .events-wrap {
        margin-top: 2em;
        display: flex;
        gap: 3em;
        .events-filter {
            fieldset {
                top: 20px;
                position: sticky;
            }
        }
    }

    .single-event .event-main {
        display: flex;
        gap: 2em;
    }
    .single-event .event-main .event-content {
        flex:3;
    }
    .single-event .event-main aside {
        flex:1;
        border-left: 1px solid #f1f1f1;
        padding-left:2em;
    }
}

