/* ========================================
   Header & Navigation
   ======================================== */

header {
    background-color: var(--naecon-dark-blue);
    position: sticky;
    width: 100%;
    top: 0;
    z-index: 100;

    .header-content-box {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        padding-top: 0.6rem;
        padding-bottom: 0.6rem;
    }
}

@media only screen and (min-width: 1080px) {
    div.centered-context-box {
        width: var(--naecon-site-width);
        max-width: 1080px;
        margin: auto;
    }
}

@media only screen and (max-width: 1080px) {
    div.centered-context-box {
        width: 100%;
        margin: auto;
        padding-left: 1rem;
        padding-right: 1rem;
        box-sizing: border-box;
    }
}

div.naecon-navigation {

    margin-top: 0.5rem;
    margin-bottom: 0.5rem;

    a {
        color: #fff;
        text-decoration: none;
        font-size: 0.9rem;
        padding: 0.3rem 0;
    }
}


/* ========================================
   Sections
   ======================================== */

div.site-section {
    width: 100%;
    display: flex;
    flex-direction: column;

    div.context-box {
        margin: auto;
    }

    @media only screen and (min-width: 1280px) {
        div.context-box {
            width: var(--naecon-site-width);
        }
    }

    @media only screen and (max-width: 1280px) {
        div.context-box {
            width: 100%;
        }
    }
}

/* ========================================
   Images
   ======================================== */

/* Parent of a SlotImage, which fills it behind its content */
.slot-host {
    position: relative;
    isolation: isolate;
}

/* ========================================
   Hero
   ======================================== */

.hero-section {
    min-height: 225px;
}

.hero-content {
    text-align: center;
    padding: 0 1rem;
}

.hero-title {
    font-size: 3rem;
}

.hero-subtitle {
    font-size: 1.5rem;
}

@media only screen and (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }
}

/* ========================================
   Page Content
   ======================================== */

.page-content {
    font-size: 16px;
    margin-top: 50px;
    margin-bottom: 50px;
    padding: 0 1rem;
}

#main-content {
    flex-grow: 1;
    width: 100%;

    #main-content-container {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
    }
}

/* ========================================
   Footer
   ======================================== */

footer {
    background-color: var(--naecon-dark-blue);
    color: #aaa;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;

    .footerContainer {
        width: 100%;
    }

    .footerCopyright {
        margin: auto;
    }
}


/* ========================================
   Base Layout
   ======================================== */

body {
    margin: 0;
    font-family: 'Lato', sans-serif;
    font-weight: 400; /* Regular weight */
    color: #ffffff;
    background-color: var(--naecon-white);
    width: 100%;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}

#body-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
