.nav-wrapper {
    height: auto;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    justify-content: space-between;
}

.secondary-nav-ul {
    row-gap: 0; 
    /* padding-top: 1rem;
    padding-bottom: 1rem; */
}

.subpage-ul a {
    padding: .25rem 0;
}

/* .secondary-nav-item {
    padding: 0 1rem;
} */

.banner-image {
    height: auto;
    padding: 2rem 0;
}

.banner-content {
    background: rgba(255, 255, 255, 0.30);
    backdrop-filter: blur(10px);
    padding: 2rem;
}

.banner-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.app-boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.app-boxes .btn {
    margin-top: 0;
}

.app-links {
    flex-wrap: wrap;
    row-gap: .5rem;
    margin-top: 1rem;
    padding: 0 1.5rem;
}

.app-content {
    padding: 1.5rem 1.5rem 0;
}

.app-box {
    width: 100%;
    border-radius: 5px;
    padding-bottom: 1.5rem;
}

.app-box img {
    margin-bottom: 1rem;
    width: 60%;
    object-fit: contain;
}

.app-alert {
    border-radius: 5px 5px 0px 0px;
    background: #FFC700;
    padding: 5px 10px;
    font-weight: var(--font-medium);
}

footer {
    padding-top: 2rem;
}

footer ul {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: .5rem;
    justify-content: center;
}

.footer-bottom .district-logo {
    margin-bottom: 0;
}

.page-header {
    background-color: white;
    background-image: url('/images/learning.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
    position: relative;
    min-height: 11vw;
}

.page-header::after {
    position: absolute;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.60) 0%, rgba(255, 255, 255, 0.60) 100%);
    backdrop-filter: blur(10px);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.page-header h1 {
    color: var(--dark-font-color);
}

.page-header img {
    display: block;
    width: 450px;
    margin: auto;
}

.login-wrapper {
    padding: 1.5rem;
    border-radius: 5px;
}

.login-wrapper * {
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.login-wrapper .btn {
    margin-top: 1.5rem;
}

/* Gallery */
.gallery-item {
	margin-bottom: 1rem;
}
.gallery-item img {
    min-height: unset;
	aspect-ratio: 4/3;
	width: 100%;
}

.pswp__custom-caption {
    text-align: center;
    font-size: 16px;
    color: #fff;
    width: fit-content;
    max-width: 800px;
    padding: .5rem 1rem;
    position: absolute;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
}

.editor img {
    box-shadow: 0px 0px 2px 2px #ddd;
}

@media (min-width: 62em) {
    .subpage-ul a {
        padding: .5rem 0;
    }

    .subpage-ul .level-3-has-children {
        padding: .5rem 0 .25rem;
    }

    .subpage-ul .level-4 {
        padding: 0 0 .25rem;
    }

    .editor img {
        max-width: max-content;
    }

    footer ul {
        flex-direction: row;
        gap: 2rem;
    }

    .banner-image {
        height: 30vw;
    }

    .banner-container {
        width: 70%;
    }

    .app-boxes-container {
        padding: 0 3rem;
    }

    .app-box {
        width: calc(50% - .5rem);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding-bottom: 2rem;
    }

    .app-box img {
        width: auto;
        height: 100px;
        margin-bottom: 2rem;
    }

    .app-links {
        padding: 0 2rem;
    }

    .app-content {
        padding: 2rem 2rem 0;
    }

    .app-alert {
        padding: .35rem 1rem;
    }
}