.header
{
    background: #FFFFFF;
    width: calc(100% - 24px);
    max-width: none;
}

.header_content
{
    width: calc(100% - 279px);
}

.header_logo_image
{
    display: block;
    width: 185px;
    height: auto;
}

.main_nav_container
{
    padding-right: 44px;
}

.main_nav_item
{
    margin-right: 14px;
}

.main_nav_item a
{
    font-size: 13px;
}

.main_nav_item:last-child
{
    margin-right: 0;
}

.main_nav_item.has_sub
{
    position: relative;
}

.main_nav_item.has_sub > a
{
    display: block;
}

.main_nav_item.has_sub .sub_menu_nav
{
    position: absolute;
    top: 100%;
    left: -20px;
    z-index: 30;
    display: none;
    min-width: 220px;
    padding: 10px 0;
    margin: 0;
    background: #FFFFFF;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.main_nav_item.has_sub:hover .sub_menu_nav,
.main_nav_item.has_sub:focus-within .sub_menu_nav
{
    display: block;
}

.main_nav_item.has_sub .sub_menu_nav li
{
    display: block;
    margin: 0;
}

.main_nav_item.has_sub .sub_menu_nav li a
{
    display: block;
    padding: 10px 18px;
    color: #3a3a3a;
    font-size: 13px;
    line-height: 1.3;
    text-transform: none;
    white-space: nowrap;
}

.main_nav_item.has_sub .sub_menu_nav li a:hover,
.main_nav_item.has_sub .sub_menu_nav li a:focus
{
    color: #FFFFFF;
    background: #8a1405;
}

.header_side
{
    width: 279px;
    background: #8a1405;
    box-sizing: border-box;
    flex: 0 0 279px;
    gap: 8px;
    padding: 0 12px;
    min-width: 0;
}

.header_side .dropdown
{
    min-width: 0;
    max-width: 145px;
    margin-left: 8px !important;
    flex: 0 1 145px;
}

.header_side .header-user-name
{
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header_side .header-user-name span
{
    display: block;
    padding-left: 0;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.resource-card
{
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 218px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dfe6e2;
    border-top: 3px solid #0f684e;
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(22, 43, 35, 0.06);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.resource-card:hover
{
    border-color: #b8cbc2;
    border-top-color: #c34f26;
    box-shadow: 0 8px 22px rgba(22, 43, 35, 0.11);
    transform: translateY(-2px);
}

.resource-card__content
{
    flex: 1 1 auto;
    padding: 20px 20px 16px;
}

.resource-card__eyebrow
{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-bottom: 13px;
}

.resource-card__eyebrow span
{
    display: inline-block;
    padding: 4px 7px;
    color: #36594b;
    background: #edf3ef;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.resource-card__eyebrow span + span
{
    color: #765036;
    background: #f5f0e9;
}

.resource-card__title
{
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 650;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.resource-card__title a
{
    color: #183b30;
    text-decoration: none;
}

.resource-card__title a:hover,
.resource-card__title a:focus
{
    color: #a44325;
}

.resource-card__meta
{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    margin: 0;
    color: #65746d;
    font-size: 12px;
    line-height: 1.5;
}

.resource-card__meta span::before
{
    content: "·";
    margin-right: 7px;
    color: #98a69f;
}

.resource-card__school
{
    margin: 9px 0 0;
    color: #765036;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.resource-card__footer
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 50px;
    padding: 9px 20px;
    background: #f5f7f5;
    border-top: 1px solid #e8edea;
    color: #65746d;
    font-size: 12px;
    font-weight: 600;
}

.resource-card__action
{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0f684e;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.resource-card__action:hover,
.resource-card__action:focus
{
    color: #a44325;
}

.header_side .btn-primary,
.menu_container .btn-primary
{
    background-color: #e86900;
    border-color: #e86900;
    color: #FFFFFF;
}

.header_side .btn-primary:hover,
.header_side .btn-primary:focus,
.menu_container .btn-primary:hover,
.menu_container .btn-primary:focus
{
    background-color: #8a1405;
    border-color: #8a1405;
}

.home
{
    width: 100%;
    height: 447px;
    overflow: hidden;
    position: relative;
}

.home.home-slider
{
    height: 100vh;
}

.home_content
{
    background: rgba(232, 105, 0, 0.9);
}

.page-hero
{
    width: 100%;
    height: 447px;
    overflow: hidden;
    position: relative;
}

.page-hero__background-container
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.page-hero__background
{
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    filter: brightness(0.7);
}

.page-hero__content
{
    position: absolute;
    left: 50%;
    bottom: 80px;
    transform: translateX(-50%);
    max-width: calc(100% - 32px);
    padding: 24px 42px 18px;
    background: rgba(232, 105, 0, 0.9);
    text-align: center;
    z-index: 1;
}

.page-hero__content h1
{
    margin: 0;
    font-size: clamp(2rem, 4vw, 4.5rem);
    font-weight: 400;
    color: #FFFFFF;
    line-height: 1.1;
    white-space: nowrap;
}

.search_content .resource-choice p,
.search_content .donation-form .donation-form-notice
{
    color: #555 !important;
    text-shadow: none !important;
}

.section_title h1,
.about_title,
.contact_title,
.service_item h3,
.event_name a,
.card-title a
{
    color: #1a1a1a;
}

.section_title h1::before,
.register_button,
.newsletter_submit_btn,
.search_submit_button,
.contact_send_btn
{
    background-color: #e86900;
}

.service_item p,
.event_content p,
.card-text,
.about_text,
.footer_about_text,
.footer_contact_item
{
    color: #5c5c5c;
}

.button a,
.register_button a,
.search_submit_button,
.contact_send_btn,
.newsletter_submit_btn
{
    color: #FFFFFF;
}

.register_section,
.testimonials,
.footer
{
    background-color: #8a1405;
}

.register_button:hover,
.newsletter_submit_btn:hover,
.search_submit_button:hover,
.contact_send_btn:hover
{
    background-color: #8a1405;
}

.event_date
{
    border-color: #e86900;
}

.event_day,
.event_month,
.event_name a:hover,
.footer_list_item a:hover,
.footer_social .menu_social_item a i:hover
{
    color: #8a1405;
}

.footer_list_item a,
.footer_contact_item
{
    color: #FFFFFF;
}

.newsletter,
.footer_content
{
    border-color: rgba(255, 255, 255, 0.25);
}

.page_section > .container p[style*="color:#777"],
.page_section > .container p[style*="color: #777"]
{
    color: #5c5c5c !important;
}

@media only screen and (max-width: 1380px)
{
    .header
    {
        width: calc(100% - 24px);
    }

    .header_content
    {
        width: calc(100% - 219px);
    }

    .header_side
    {
        width: 219px;
        flex-basis: 219px;
    }

    .header_side .dropdown
    {
        max-width: 105px;
        flex-basis: 105px;
    }

    .main_nav_container
    {
        padding-right: 28px;
    }

    .main_nav_item
    {
        margin-right: 12px;
    }

    .main_nav_item a
    {
        font-size: 12px;
    }
}

@media only screen and (max-width: 1280px)
{
    .header
    {
        width: calc(100% - 24px);
    }

    .header_content
    {
        width: 100%;
    }

    .header_side
    {
        display: none !important;
    }

    .main_nav_container
    {
        padding-right: 18px;
    }

    .main_nav_item
    {
        margin-right: 10px;
    }
}

@media only screen and (max-width: 1199px)
{
    .main_nav_container
    {
        display: none;
    }

    .hamburger_container
    {
        display: block;
    }
}

@media only screen and (max-width: 575px)
{
    .header
    {
        height: 74px;
    }

    .logo_container
    {
        padding-left: 15px;
    }

    .header_logo_image
    {
        width: 150px;
    }

    .page-hero__content
    {
        bottom: 48px;
        padding: 16px 20px 12px;
    }

    .page-hero__content h1
    {
        font-size: 2rem;
        white-space: normal;
    }
}
