
#header {
    min-height: 104px;
}

#header .container {
    height: auto;
    min-height: 84px;
    padding-left: 0;
    padding-right: 0;
    padding-top: 20px;
}

#header .container .logo {
    align-items: start;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap
}

#header .container .nsf-logo {
    height: 49px
}

#header .container .access-logo {
    height: 23px;
    margin-top: 12px;
    width: auto
}

#header .container .access,
#header .container .nsf {
    display: block;
    text-decoration: none
}

#header .container .divider {
    border-right: 2px solid #bbbbbb;
    height: 40px;
    margin: 4px 15px 0 12px;
    width: 0
}

#header .container .additional-actions {
    max-width: 450px;
    display: flex;
    align-items: center;
    padding-bottom: 10px;
}

/* Community support icons */
img[src*="community_support_icon_"] {
    max-width: 75px !important;
    height: auto !important;
}

.accordion-button::after {
    order: -1;
    margin-left: 0;
    margin-right: 1rem;
}

/* Resources page actions header */
.resource-actions-header {
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-bottom: 3px solid #138597;
    border-radius: 0.25rem;
}

.resource-actions-header .btn-accent-primary,
.resource-actions-header .btn-access-primary {
    font-size: 14px;
    white-space: nowrap;
}

/* Accordion section card — resources page, FAQ pages, and any future accordion sections */
.accordion-section {
    background-color: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 0.375rem;
    padding: 1.25rem;
}

/* Accordion section heading with teal underline */
.accordion-section-header {
    color: #232323;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #138597;
}

.accordion-flush .accordion-item {
    border: none;
    border-bottom: 1px solid #d9d9d9;
}

.accordion-flush .accordion-item:last-child {
    border-bottom: none;
}

.accordion-body {
    padding: 1.25rem;
}

.description-label {
    font-size: 1rem;
    font-weight: 600;
    color: #232323;
    margin-bottom: 0.75rem;
}

.description-content {
    color: #495057;
    line-height: 1.6;
}

.description-content p {
    margin-bottom: 1rem;
}

.description-content p:last-child {
    margin-bottom: 0;
}

.resource-link {
    color: #138597;
    text-decoration: none;
    font-weight: 500;
    padding: 0;
}

.resource-link:hover {
    color: #1a5b6e;
    text-decoration: underline;
}

.accordion-body .btn-link {
    color: #008597;
    text-decoration: none;
    padding: 0;
    vertical-align: baseline;
}

.accordion-body .btn-link:hover {
    color: #1a5b6e;
    text-decoration: underline;
}

.accordion-body .resource-link {
    color: #008597 !important;
    text-decoration: none;
}

.accordion-body .resource-link:hover {
    color: #1a5b6e !important;
    text-decoration: underline;
}

@media (min-width: 900px) {
    #header {
        min-height: 196px;
    }

    #header .container {
        height: 144px;
        padding-top: 52px;
    }

    #header .container .nsf-logo {
        height: 82px
    }

    #header .container .divider {
        height: 70px;
        margin: 6px 23px 0 20px
    }

    #header .container .access-logo {
        height: auto;
        margin-top: 22px;
        width: 253px
    }
}
