﻿.faqs {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12rem 0 0;
}

.faqs__left-container {
    position: relative;
}

.faqs__left {
    display: flex;
    flex-direction: column;
    min-height: 480px;
    padding: 5rem 5vw 3rem;
    background: #13449b;
    overflow: hidden;
}

.faqs__bottom-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 65px;
    background: linear-gradient(180deg, rgba(19, 68, 155, 0) -25%, #13449B 50%);
}

.faqs__title {
    padding: 0 0 2rem;
    color: #fff;
    font-size: 2.4rem;
    line-height: 3.1rem;
    text-align: center;
}

.faqs__pills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    min-height: 320px;
    padding: 0 0 3rem;
}

.faqs__pill {
    width: 100%;
    margin: 2rem 0 1rem 0;
    padding: 1.2rem 2.4rem;
    font-size: 1.4rem;
    border: 1px solid #fff;
    border-radius: 100px;
    text-align: left;
}

.faqs__pills:focus {
    -webkit-transform: rotateZ(-30deg);
    -ms-transform: rotateZ(-30deg);
    transform: rotateZ(-30deg);
}

.faqs__pill-active {
    background: #fff;
    color: #13449b;
}

.faqs__pill:last-child {
    align-self: baseline;
}

.faqs__ask-more {
    font-size: 1.4rem;
    text-align: center;
    text-transform: uppercase;
}

.faqs__ask-more-mobile {
    display: block;
}

.faqs__ask-more-desktop {
    display: none;
}

.faqs__right {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5rem 5vw;
    background: #13BAF5;
    opacity: 0.9;
}

.faqs__answer-title {
    margin: 0 0 2.4rem;
    color: #fff;
    font-size: 1.6rem;
    line-height: 2.1rem;
    opacity: 0.85;
}

.faqs__answer-text {
    color: #fff;
    font-size: 1.8rem;
    line-height: 2.8rem;
}

[data-faqs-answer] {
    display: none;
    transition: all 0.3s ease-in;
}

.faqs__answer-active {
    display: block;
}

.swiper-pagination {
    position: relative;
}

.swiper-pagination-bullet {
    margin: 0.3rem;
    background: #fff;
}

.swiper-pagination-bullet-active {
    background: #fff;
}

.faq__swiper {
    transition: all .2s ease;
}

.hidden-pill {
    opacity: 0;
    position: absolute;
    pointer-events: none;
}

.active-pill {
    transition: opacity 2s;
    opacity: 1;
}


@media screen and (min-width: 62.0625em) {
    .faqs {
        flex-direction: row;
    }

    .swiper-pagination-bullets {
        display: none;
    }

    .faqs__left-container {
        display: flex;
        width: 50%;
    }

    .faqs__left {
        position: initial;
        justify-content: flex-start;
        align-items: flex-start;
        height: initial;
        padding: 7rem 5vw 5rem;
        overflow: initial;
    }

    .faqs__bottom-overlay {
        display: none;
    }

    .faqs__title {
        font-size: 3.8rem;
        line-height: 5.4rem;
        text-align: start;
    }

    .faqs__pills {
        justify-content: flex-start;
        padding: 0 0 5rem;
    }

    .faqs__pill {
        width: auto;
        margin: 1rem 3rem 2rem 0;
        font-size: 1.8rem;
        height: fit-content;
    }

    .faqs__ask-more-mobile {
        display: none;
    }

    .faqs__ask-more-desktop {
        display: block;
    }

    .faqs__right {
        width: 50%;
    }

    .hidden-pill {
        display: flex;
        opacity: 1;
        position: relative;
        pointer-events: all;
    }

    .swiper-pagination {
        display: none;
    }
}
