/**
Theme Name: MT
Version: 1
 */

.gallery.gallery-columns-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (min-width: 1280px) {
    .gallery.gallery-columns-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.gallery figure,
.gallery img,
.gallery a {
    padding: 0;
    margin: 0;
    aspect-ratio: 16/10;
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 1280px) {
    .gallery figure,
    .gallery img,
    .gallery a {
        border-radius: 8px;
    }
}

.form-captcha > p {
    display: flex;
    align-items: center;
}

.form-captcha img {
    margin: 0 5px 0 0;
    flex-shrink: 0;
}

.form-captcha span {
    display: block;
    flex-grow: 1;
}

.form-captcha input {
    max-width: 150px !important;
}

.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)) {
    font-weight: 600;
}

.search-panel {
    display: none;
}

.bvi-active .search-panel input {
    border-bottom: 2px solid #000;
    border-radius: 0;
}

.shortcode-post-title {
    margin: 0 !important;
}

@media(max-width: 1280px) {
    .shortcode-post-title {
        margin: 10px 0 !important;
    }
}


li.itk-ul-li:after {
    background-color: green !important;
}

.main-menu>li.current-menu-item>a:after, .main-menu>li:hover>a:after {
    --tw-bg-opacity: 1;
    background-color: #0dc604;
    bottom: 0;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    right: 0;
}

.events article .event-time {
    --tw-bg-opacity: 1;
    --tw-text-opacity: 1;
    align-items: center;
    color: #0e6f05;
    background-color: #e4ffe0;
    display: flex;
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
    margin-bottom: 16px;
    padding: 5px 8px;
    text-transform: uppercase;
}


.more-link, .news-events .section-link {
    --tw-bg-opacity: 1;
    align-items: center;
    background-color: #e3f6e7;
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 30px;
}

.external-links-li-a {
    --tw-bg-opacity: 1;
    background-color: #e3f0e1;
}

.top-panel .inner-container {
    --tw-bg-opacity: 1;
    background-color: #0d4b17;
    padding-inline: 10px;
    z-index: 2;
}

.top-panel {
    --tw-bg-opacity: 1;
    --tw-text-opacity: 1;
    background-color: #0d4b17;
    color: rgb(255 255 255/var(--tw-text-opacity));
    height: 38px;
    position: relative;
}

.top-panel-menu a.set-mode {
    --tw-bg-opacity: 1;
    background-color: #0d4b17;
    padding-right: 10px;
}


.mobile-menu-inner,
.bg-edu-blue,
.top-panel:after {
    background: #0d4b17 !important;
}



/**
 * front-page-images
 */

.fpi-wrapper {
    margin-bottom: 16px;
}

.fpi {
    gap: 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fpi a,
.fpi img {
    text-align: center;
    transition: .3s all linear;
    max-width: 100%;

}

@media(min-width: 1280px) {
    .fpi-wrapper {
        margin: 48px 0 16px;
    }

    .fpi {
        display: block;
        columns: 3;
    }

    .fpi a,
    .fpi img {
        float: left;
    }

    .fpi a,
    .fpi > img {
        margin-bottom: 32px
    }
}

.fpi a > img:hover {
    transform: scale(1.05);
}

#js-show-iframe-wrapper {
    margin-top: 2rem;
    margin-bottom: -20px;
}