h1 {
    font-size: 3rem;
}

p {
    font-size: 1.125rem;
}

.lead p {
    font-size: 1.5rem;
}

.divider {
    border-top: 1px solid;
}

p:last-of-type {
    margin-bottom: 0;
}

.aspect-photo-container {
    aspect-ratio: 3/2;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.aspect-photo {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

a {
    text-decoration: none;
    color: #004A5D;
    font-size: 16px;
}

.services a, .navigation-item a {
    text-decoration: none;
    color: #004A5D;
    font-size: 24px;
}

.person-card {
    flex-basis: 100%;
}

.person-card-image-wrapper {
    aspect-ratio: 3 / 4;
    width: 100%;
    overflow: hidden;
    margin-bottom: 20px;
}

.person-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.supporter-image {
    width: auto;
    height: 75px;
    object-fit: contain;
}

.supporter-link {
    font-size: 18px;
    color: var(--text-navy-100);
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
}

.supporter-link:hover {
    color: var(--text-navy-100);
}

.supporter-link i,
.news-link i {
    display: inline-block;
    transition: transform 0.3s ease;
}

.supporter-link:hover i,
.news-link:hover i {
    transform: translateX(5px); 
}

.blog-heading {
    font-family: var(--font-body);
    font-size: 24px;
    color: var(--text-navy-100);
}

.news-link {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--text-navy-70);
    display: flex;
    align-items: center;
    font-weight: 500;
    font-style: italic;
}

.news-link:hover {
    color: var(--text-navy-70);
}

.latest-news-image {
    aspect-ratio: 3/2;
    object-fit: cover;
    width: 100%;
}

.blog-post-card {
    flex-basis: 100%;
}

.book-button {
    color: white;
    background: #004A5D;
    padding: 0px 55px;
    margin: 0 0;
    border-radius: 5px;
    text-transform: uppercase;
    transition: background 0.3s ease, color 0.3s ease;
}

.book-button:hover {
    background: #A73901;
    color: white;
}

.navigation-spacing {
    padding: 2rem 0;
}

.nb-navigation-item {
}

.nb-sub-navigation {
    display: none; 
    position: absolute;
    top: 100%; 
    left: 0;
    background: #D2E6E4; 
    padding: 0.5rem 0;
    list-style: none;
    margin: 0;
    min-width: 200px;
}

.nb-navigation-item:hover .nb-sub-navigation {
    display: block;
}

.nb-sub-navigation-item a {
    display: block;
    padding: 5px 15px;
    color: #004A5D;
    text-decoration: none;
    font-size: 16px;
    white-space: nowrap;
}

.nb-sub-navigation-item a:hover {
    background-color: #A73901;
    color: #fff;
}

.nb-navigation {
    display: flex;
    justify-content: center;
}

.nb-navigation-list {
    display: flex;
    justify-content: center;
    flex: 1;
}

.services p {
    color: var(--text-navy-100);
}

.services .cursive-link {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-style: italic;
}

.cursive-link {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-style: italic;
}

.services .cursive-arrow {
    font-weight: 400;
    font-size: 1.25rem;
    font-family: var(--font-heading);
}

.feature h3,
.subject h4,
.subject h5 {
    font-family: var(--font-body);
}
.divider-top {
    border-top: 1px solid var(--border-navy-100);
}
.divider-bottom {
    border-bottom: 1px solid var(--border-navy-100);
}
.divider-top-bottom {
    border-top: 1px solid var(--border-navy-100);
    border-bottom: 1px solid var(--border-navy-100);
}

.opportunity-link {
    color: var(--text-orange-100);
    text-decoration: none;
    font-style: italic;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
    font-family: var(--font-heading);
}

.opportunity-link i {
    transition: transform 0.3s ease;
    font-size: 0.7em;
}

.opportunity-post {
    padding: 3rem 0;
    border-top: 1px solid var(--border-navy-100);
}

.opportunity-link:hover {
    color: var(--text-orange-70);
}

.opportunity-link:hover i {
    transform: translateX(6px); 
}

.detail-block-body p {
    font-size: 14.5px;
}

.detail-block-body p.lead {
    font-size: 22.5px;
}

/* Events Page */

.upcoming-events {
    border-right: 1px solid var(--border-navy-100);
}

/* Logo Slider */
.logo-slider-container {
    background: white;
    padding: 3rem 0;
    border-top: solid 1px var(--border-navy-100);
}


.logo-slider {
    position: relative;
    width: 100%;
    height: 150px;
    margin: 0 auto;
}

.logo-slider-content {
    position: relative;
    overflow: hidden;
    transition: width 1s;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding-left: 20px;
}

.logo-slider-slide {
    height: 80%;
    background-color: white;
    position: absolute;
    z-index: 1;
    transition: left .4s cubic-bezier(.47,.13,.15,.89);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    padding: 0 20px;
}

.logo-wrapper {
    max-height: 100%;
    overflow: hidden;
}

.nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    cursor: pointer;
    color: white;
    -webkit-user-select: none;
    transform: translateY(-50%);
}

.nav-left {
    left: 0;
}

.nav-right {
    right: 0
}

.mobile-navigation {
    position: fixed;
    z-index: 20;
    top: 0;
    background: white;
    width: 100%;
}

.nav-spacing {
    padding-top: 70px;
}

.mobile-menu {
    background: var(--bg-navy-100);
    color: white;
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    z-index: 20;
    flex-direction: column;
    padding: 1rem 1rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-menu li {
    list-style: none;
}

.mobile-menu-toggle {
    background: none;
    border: none;
    color: var(--text-orange-100);
    font-size: 24px
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-item .mobile-link,
.mobile-submenu a {
    color: white !important;
}

.mobile-close {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 20;
}

.mobile-book-item {
    margin-bottom: 1rem;
    display: block!important;
    padding: 0!important;
}

.mobile-book-link {
    display: block;
    background: transparent; /* your highlight color */
    color: white !important;
    text-align: center;
    padding: 0.5rem;
    border: 1px solid white;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 5%;
}

.mobile-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.mobile-item-header .mobile-link {
    flex: 1;
    color: white;
    text-decoration: none;
}

.submenu-toggle {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    margin-left: 0.5rem;
}

.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    padding-left: 1.5rem;
    margin: 0;
}

    .mobile-submenu.open {
        max-height: 1000px;
        opacity: 1;
    }

    .mobile-submenu li {
        list-style: none;
        padding: 6px 0;
    }

    .nb-navigation-image {
        width: 100% !important;
        max-height: 30px;
        height: 100%;
    }

/* Forms */

.form-group {
    display: flex;
    margin-bottom: 10px!important;
    padding-bottom: 5px;
}

label {
    font-size: 28px;
    width: 40%;
    color: var(--text-navy-100);
    font-family: var(--font-heading);
    border-bottom: 1px solid var(--border-navy-100);
    display: none;
}

.form-control {
    border: none;
    border-bottom: 1px solid var(--border-navy-100);
    border-radius: 0;
    color: var(--text-navy-100);
    font-size: 28px;
    font-family: var(--font-heading);
    padding: 0;
}

.form-control:focus {
    color: var(--text-navy-100);
}

.form-control::placeholder,
.form-control::-moz-placeholder,
.form-control::-webkit-input-placeholder,
.form-control:-ms-input-placeholder {
    color: var(--text-navy-30);
    font-size: 28px;
    font-family: var(--font-heading);
}

.btn-submit {
    background: var(--bg-orange-100);
    color: var(--text-white-100);
    border: 1px solid var(--bg-orange-100);
    border-radius: 0;
    text-transform: uppercase;
    min-width: 280px;
}


/* Media Queries */
@media only screen and (min-width: 768px) {
    .blog-post-card {
        flex-basis: 50%;
    }
    .person-card {
        flex-basis: calc(50% - 1.25em);
    }
    .nb-navigation-image {
        width: 100% !important;
        height: 60px;
        max-height: 100%;
    }
    .nav-spacing {
        padding-top: 100px;
    }
}

@media only screen and (min-width: 1200px) {
    .blog-post-card {
        flex-basis: 25%;
    }
    .person-card {
        flex-basis: calc(33% - 1.25em);
    }

}

@media only screen and (min-width: 992px) {
    label {
        display: block;
    }
}