/* Footer TOP
   ========================================================================== */
.footer__top-content {
    padding: 40px var( --global-lateral-padding) 40px;
    display: flex;
    gap: 10%;
}
.footer__top-content .social-title {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.job-alert__inputs {
    display: inline-flex;
    width: 100%;
    background: var(--crf--light-grey);
    padding: 6px 6px;
    border-radius: 4px;
    margin: 20px 0;
    
}

.footer__socials {
    width: 100%;
    margin-top: 40px;
}
.footer__socials__title {
    font-size: 32px;
    line-height: 36px;
    font-weight: 300;
}

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

.footer__main-content {
    display: flex;
    padding: 50px var( --global-lateral-padding) 50px;
    background: var(--crf--light-grey);
    gap: 10%;
}

.footer__main-content .main-content__text {
    width: 35%;
}
.main-content__seo-text {
    margin-top: 20px;
}
.footer__main-content .sitemap__nav {
    width: 65%;
}

/* Footer BOTTOM
   ========================================================================== */
   
.footer__bottom-content {
    display: flex;
    column-gap: 50px;
    padding: 0 var(--global-lateral-padding) 0;
    font-size: 12px; /* was 11 */
    line-height: 46px;
    flex-wrap: wrap;
    justify-content: center;
}
.footer__bottom__link {
    cursor: pointer;
    transition: color 400ms ease-in-out;
}
.footer__bottom__link:hover {
    color: var(--crf--shiny-blue);
}

.footer__bottom-content button#ot-sdk-btn.ot-sdk-show-settings {
    color: inherit ;
    height: inherit ;
    background-color: transparent ;
    padding: 0;
    border: none; 
    font-size: 11px;
    line-height: inherit;
    font-weight: inherit;
}
.footer__bottom-content button#ot-sdk-btn.ot-sdk-show-settings:hover {
    color: var(--crf--shiny-blue);
    background-color: transparent ;
}

/* Social Networks
   ========================================================================== */
.footer__social-networks {
    margin-top: 20px;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    gap: 8px;
}
.social-network-link {
    display: inline-flex;
}
.social-network-icon {
    width: 50px;
    height: 50px;
    padding: 11px;
    border-radius: 50px;
    background-color: var(--crf--shiny-blue);
}
.social-network-icon:hover {
    background-color: var(--crf--blue);
}

/* Sitemap
   ========================================================================== */
.footer__sitemap__list {
    /*columns: auto 240px;*/
    /*column-gap: 57px;*/
    
    padding: 0;
    list-style-type: none;
}

@media screen and (min-width: 768px) {
    .footer__sitemap__list {
        columns: auto 240px;
        column-gap: 57px;
    }
}

.footer__sitemap__item {
    break-inside: avoid;
    /* white-space: nowrap; */
}
.footer__sitemap__summary {
    display: block;
    font-weight: 700;
}
.footer__sitemap__link:hover {
    color: var(--crf--shiny-blue);
}
.footer__sitemap__item.depth--1 {
    font-size: 15px;
    line-height: 20px;
}

@media screen and (max-width: 767px) {
    .footer__sitemap__hgroup {
        display: flex;
        flex-flow: row nowrap;
        align-items: center;
    }
    .footer__sitemap__hgroup > .footer__sitemap__summary,
    .footer__sitemap__hgroup > .footer__sitemap__link {
        flex-grow: 1;
    }
    .footer__sitemap__btn {
        margin-left: 15px;
        width: 1cm;
        height: 1cm;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }
    .footer__sitemap__btn::after {
        background-image: url('../images/svg/accordion-arrow-down.svg');
        background-size: 18px 18px;
        background-position: center;
        background-repeat: no-repeat;
    }
    .footer__sitemap__item.depth--0 {
        margin-bottom: 10px;
    }
    .footer__sitemap__summary {
        font-size: 14px !important;
        line-height: 24px;
    }
    .footer__sitemap__item.depth--1 {
        margin-bottom: 10px;
    }
}
@media screen and (min-width: 768px) {
    .footer__socials__title {
        font-size: 36px;
    }
    
    .footer__sitemap__summary { 
        margin-bottom: 8px;
    }
    .footer__sitemap__item.depth--0 {
        margin-bottom: 10px;
    }
    .footer__sitemap__summary {
        font-size: 15px;
        line-height: 24px;
    }
    .footer__sitemap__item.depth--1 {
        margin-bottom: 10px;
    }
    .footer__sitemap__summary::after {
        display: none;
    }
    .footer__sitemap__item > [data-accordion-region] {
        transition: none;
    }
    .footer__sitemap__btn {
        display: none;
    }
    .footer__top-content .footer__socials {
        width: 50%;
    }
}

/* Media Queries
   ========================================================================== */

@media screen and (max-width: 1025px) {
    .footer__top-content {
        flex-direction: column;
        gap: 0;
    }
    
    .footer__top-content .job-alert,
    .footer__top-content .social-title {
        width: 100%;
    }
    
    .footer__main-content {
        flex-direction: column;
        gap: 40px;
    }
    .footer__main-content .main-content__text,
    .footer__main-content .sitemap__nav {
       width: 100%;
    }
    
    .footer__bottom-content {
        gap: 20px;
        padding: 15px var( --global-lateral-padding);
        line-height: 21px;
    }
}

@media screen and (max-width: 768px) {
    .footer__bottom-content {
        margin-bottom: var(--bottom-bar--height);
    }
    
    .footer__bottom-content {
        gap: 20px;
        padding: 15px var( --global-lateral-padding);
        line-height: 21px;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    .footer__bottom__link {
        width: 45%;
    }
    .footer__bottom-content button#ot-sdk-btn.ot-sdk-show-settings {
        width: 45%;
        background-color: transparent ;
        padding: 0;
        line-height: 21px;
        text-align: left;
    }
}