:root {    
    --iv-grey: #aaa;
    --iv-grey-light: #f4f4f4;
    --iv-grey-lightest: #efefef;
    --iv-blue-dark: #253553;
    --iv-blue-darker: #101e3a;
    --bs-body-color: #1e1e1e;
    --bs-body-font-size: clamp(14px, 1.5vw, 16px);
    --bs-font-sans-serif: "Montserrat",sans-serif;    
    --bs-body-bg: var(--iv-grey-lightest);        
}

img {
    max-width: 100%;
}

h2 {
    font-weight: 700;
    color: var(--iv-blue-dark);
}

#MPOuterFooter {
    padding: 60px 30px;
    background-color: var(--iv-grey);
    color: white;
    font-size: 14px;
    line-height: 16px;    
    position: relative;
}

#MPOuterFooter a {
    color: white;    
}

#MPOuterFooter::after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 300px 225px 0;
    border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, .2) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
    position: absolute;
    right: 0;
    top: 0;
    z-index: 0;
}

.footer-social {
    list-style-type: none;
    display: flex;
    gap: 4px;
    padding: 0;
    margin: 0;
}

.navbar-nav {
    --bs-nav-link-color: var(--iv-blue-dark);
    --bs-navbar-nav-link-padding-x: 12px;
    --bs-nav-link-font-size: 16px;
    --bs-nav-link-font-weight: 600;        
    text-transform: uppercase;
}

.navbar-icon .collapsing {
    display: none;
}

.navbar-icon .collapsing.show {
    height: auto !important;
}

.navbar-toggler {    
    border: none;
}

#MPOuterHeader {
    box-shadow: 0px 2px 8px rgba(131,135,145,.24);
    background: white;
    position: sticky;
    top: 0;
}

.hosted-video-container video {
    width: 100%;
}

.center-image,
a:has(.centered-image-link) {
    display: flex;
    justify-content: center;
}

.generic-section {
    padding: 2.5rem 0;
}

p:last-child {
    margin-bottom: 0;
}

.responsive-embed {
    aspect-ratio: 16 / 9;
    max-width: 700px;
    margin: 0 auto 2rem;    
}

.accordion {
    --bs-accordion-inner-border-radius: 0;    
    --bs-accordion-bg: var(--iv-grey-light);
    --bs-accordion-active-bg: var(--iv-grey-light);    
    margin: 2rem 0;
}

.accordion-item {
    margin: 0 0 1rem;
}

.btn-primary {
    --bs-btn-bg: var(--iv-blue-dark);
    --bs-btn-hover-bg: var(--iv-blue-darker);
    --bs-btn-active-bg: var(--iv-blue-darker);
    --bs-btn-border-color: var(--iv-blue-dark);
    --bs-btn-hover-border-color: var(--iv-blue-darker);
    --bs-btn-active-border-color: var(--iv-blue-darker);
}

@media (max-width: 991px) {
    .navbar-nav {
        border-top: 1px solid #e7e7e7;
        margin: 0.5rem -1.5rem 0 !important;
        padding: 0.5rem 1.5rem 0;
    }

    #MPOuterHeader .container {
        padding: 0 1.5rem;
        max-width: 100% !important;
    }

    .ast-resource-search .ais-Hits-list {
        grid-template-columns: repeat(2, 1fr);
    }           
}