body {
    font-family: "Montserrat", arial, san-serif;
    font-feature-settings: "cpsp", "calt", "kern", "zero", "liga";
}

#sticky-header {
    color: white;
    background: #4f4f4f;
    position: sticky;
    padding-left: 50px;
    padding-top: 30px;
    top: -146.469px;
    overflow: hidden;
    white-space: nowrap;
}

.home-menu {
    vertical-align: bottom;
}

.header-text {
    padding-left: 15px;
}

.header-logo {
    display: inline-block;
    vertical-align: bottom;
    position: relative;
    background-image: url(FR-logo-1inx1in-SFFD-grey.png);
    /* background-size: cover; */
    background-size: contain;
    background-repeat: no-repeat;
    width: 150px;
    height: 153px;
    margin-top: 5px;
    margin-bottom: 5px;
    flex: 0 0 153px;
}

.header-menu {
    display: inline-block;
    width: 100%;
}    

#header-logo-mobile {
    display: none;
}

#menu-links {
    height: 50px;
    align-items: stretch;
}

.home-menu .pure-menu-list {
    height: 50px;
    display: flex;
    justify-content: flex-start; /* Align to the left/start */
}

.home-menu .pure-menu-item {
    color: white;
    height: 100%;
    flex: 0 0 auto; /* Size based on content, do not grow/shrink to fill */
}

.home-menu .pure-menu-link {
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 20px; /* Consistent spacing around text */
    min-width: 30px; /* Ensure a minimum touch/click target */
}

.toggle {
    width: 34px;
    min-height: 100%;
    margin-right: 10px;
    padding-top: 6px;
    display: none;
}

.toggle .bar {
    background-color: #EEE;
    display: block;
    width: 30px;
    height: 3px;
    border-radius: 100px;
    margin-top: 10px;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    transition: all 0.5s;
}

.home-menu .pure-menu-item:hover {
    color: #222;
}

body.menu-open {
    overflow: hidden;
}

body.menu-open::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: block;
}

@media (max-width: 47.999em) {
    .home-menu {
        position: fixed;
        right: -250px;
        top: 0;
        width: 250px;
        height: 100vh;
        background: #4f4f4f; /* Match header color */
        z-index: 1010;
        transition: right 0.3s ease-in-out;
        padding-top: 80px; /* More space for the top header area */
        box-shadow: -5px 0 15px rgba(0,0,0,0.3);
        display: block;
        white-space: normal;
    }

    .home-menu.active {
        right: 0;
    }

    .home-menu .pure-menu-list {
        display: block;
        height: auto;
    }

    .home-menu .pure-menu-item {
        display: block;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        text-align: left; /* Changed from right to left for better readability */
        padding: 0; /* Remove padding from item to let link handle it */
    }

    .home-menu .pure-menu-link {
        display: block;
        padding: 15px 20px;
        color: white;
        width: 100%;
        box-sizing: border-box; /* Ensure padding doesn't push width over 100% */
        line-height: 1.2;
    }

    .home-menu .pure-menu-item:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: white;
    }

    .header-menu {
        padding-left: 10px;
        vertical-align: middle;
        flex: 1;
    }

    .header-text {
        display: flex;
        flex: 1;
        align-items: center;
        height: 100%;
        min-height: 51px; /* Match logo height */
    }

    .header-text h1 {
        margin-top: 0;
        margin-bottom: 0;
        font-size: 1.2rem;
        display: inline-block;
        line-height: 1;
    }

    #sticky-header {
        padding-left: 10px;
        padding-top: 6px;
        padding-bottom: 6px;
        display: flex;
        top: 0;
        z-index: 1001; /* Stay above content and potentially above side menu if we want but side menu covers it usually */
        overflow: visible;
    }

    .header-logo {
        vertical-align: middle;
        width: 50px;
        height: 51px;
        margin-bottom: 0px;
        margin-top: 0px;
        flex: 0 0 50px;
    }

    #header-logo-desktop {
        display: none;
    }

    #header-logo-mobile {
        display: inline-block;
    }

    #desktop-header-text {
        display: none;
    }

    .toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 44px;
        height: 44px;
        cursor: pointer;
        z-index: 1100;
        position: relative;
    }

    .toggle-inner {
        width: 30px;
        height: 19px; /* (3 * 3px bars) + (2 * 5px margins) */
        position: relative;
    }

    .toggle .bar {
        position: absolute;
        left: 0;
        width: 30px;
        height: 3px;
        background-color: #EEE;
        border-radius: 100px;
        transition: all 0.3s;
        margin: 0;
    }

    .toggle .bar:nth-child(1) { top: 0; }
    .toggle .bar:nth-child(2) { top: 8px; }
    .toggle .bar:nth-child(3) { top: 16px; }

    .toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .toggle-spacer {
        flex: 1 1 auto;
    }
}

@media (min-width: 48em) {
    #mobile-header-text {
        display: none;
    }
}

.content-wrapper {
    background-image: url(Splash-BG.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

.content {
    margin-top: 50px;
    margin-bottom: 50px;
    padding: 15px;
    line-height: 150%;
    background-color: rgba(255.0, 255.0, 255.0, 0.85);
}

.splash {
    width: 100%;
}

.splash-head {
    text-align: center;
}

@media (max-width: 47.999em) {
    .content-wrapper {
        background-position: center;
    }
}

.footer-text {
    color: white;
    background: black;
}

#footer-spacer {
    width: 100%;
    height: 100px;
    background: linear-gradient(
        #4f4f4f 20px,
        #4f4f4f,
        black
    );
}

#footer-image {
    width: 100%;
    height: 500px;
    display: inline-block;
    background-image: url(Footer-img-fade.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    vertical-align: text-bottom;
}

#footer-info {
    padding-top: 25px;
    padding-right: 10px;
    text-align: right;
    color: white;
}
