/* Kamil - Niewiem skąd te .custom-faq ale dałem */

.custom-faq,
.faq {
    position: relative;
    background-image: url("../../../dist/images/tiles-blog-pattern.svg");
    background-size: 75rem 48rem;
    background-color: #f1f8f5;
    background-repeat: no-repeat;
    background-position: 10% 15%;
    border: 1px solid #ddeee7;
    border-radius: 15px
}

.custom-faq section {
    margin: 0 !important;
}
.faq__header {
    position: relative;
    width: 100%;
    text-align: center
}
.faq-list {
    border: 1px solid #ddeee7;
    background-color: #fff;
    border-radius: 15px;
    max-width: 113.6rem;
    margin: 0 auto
}
.faq-list__tab {
    position: relative;
    cursor: pointer
}

@media (max-width: 576px) {
    .faq-list__tab {
        padding: 4rem 4rem 5rem 4rem
    }
}

@media (min-width: 577px) {
    .faq-list__tab {
        padding: 4.5rem 6rem
    }
}

.faq-list__tab:not(:last-child) {
    border-bottom: 1px solid #ddeee7
}

.faq-list__tab--question {
    position: relative;
    padding-right: 25px
}

.faq-list__tab--question:before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    transform-origin: center center;
    transform: translateY(-50%);
    width: 1.6rem;
    height: 1rem;
    transition: all 0.4s ease;
    background-image: url("../../assets/images/ico-arrow-tab.svg");
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat
}

@media (max-width: 576px) {
    .faq-list__tab--question {
        font-size: 2.2rem;
        font-weight: 600;
        line-height: 3rem
    }
}

@media (min-width: 577px) {
    .faq-list__tab--question {
        font-size: 3rem;
        font-weight: 600;
        line-height: 4rem
    }
}

.faq-list__tab--answer {
    position: relative;
    overflow: hidden
}

@media (max-width: 576px) {
    .faq-list__tab--answer {
        font-size: 1.6rem;
        font-weight: 300;
        line-height: 2.4rem
    }
}

@media (min-width: 577px) {
    .faq-list__tab--answer {
        font-size: 2.1rem;
        font-weight: 300;
        line-height: 3.5rem
    }
}

.faq-list__tab--answer p {
    margin-bottom: 15px
}

.faq-list__tab--answer p strong {
    font-weight: 500
}

.faq-list__tab.--open:before {
    transform: translate(-50%, -50%) rotate(180deg)
}

.faq-list__tab.--open .faq-list__tab--question:before {
    transform: translateY(-50%) rotate(180deg)
}

.faq-list__tab.--open .faq-list__tab--answer {
    animation: show-faq-tab 0.6s ease forwards
}

.faq-list__tab:not(.--open) .faq-list__tab--answer {
    max-height: 0;
    padding-top: 0;
    animation: hide-faq-tab 0.4s ease forwards
}

.faq-list__tab--answer ul {
    list-style: none
}

.faq-list__tab--answer ul li {
    padding-left: 20px;
    position: relative;
    padding-bottom: 10px
}

.faq-list__tab--answer ul li:before {
    content: "";
    position: absolute;
    left: 0;
    width: 6px;
    height: 6px;
    background-color: #04bf7e;
    border-radius: 3px
}

@media (max-width: 576px) {

    .faq-list__tab--answer ul{
        margin-bottom: 4rem
    }

    .faq-list__tab--answer ul li{
        line-height: 2.5rem
    }

    .faq-list__tab--answer ul li:before{
        top: 8px
    }
}

@media (min-width: 577px) {

    .faq-list__tab--answer ul {
        margin-bottom: 4rem;
        margin-left: 2rem
    }

    .faq-list__tab--answer ul li {
        line-height: 4rem
    }

    .faq-list__tab--answer ul li:before {
        top: 13px;
    }
}

.faq-list__tab--answer ul ul {
    padding-bottom: 0;
    margin-bottom: 0;
}

.faq-list__tab--answer ul ul li:first-child {
    margin-top: 10px;
}

.faq-list__tab--answer ul ul li:last-child {
    padding-bottom: 0;
}

.faq-list__tab--answer ol li{
    padding-left: 20px;
    margin-left: 15px;
    padding-bottom: 10px;
}

@media (max-width: 576px) {

    .faq-list__tab--answer ol{
        margin-bottom: 4rem;
    }

    .faq-list__tab--answer ol li {
        line-height: 2.5rem;
    }
}

@media (min-width: 577px) {

    .faq-list__tab--answer ol{
        margin-bottom: 4rem;
        margin-left: 2rem
    }

    .faq-list__tab--answer ol li{
        line-height: 4rem
    }
}

.faq-list__tab--answer ol ol {
    padding-bottom: 0;
    margin-bottom: 0
}

.faq-list__tab--answer ol ol li:first-child {
    margin-top: 10px
}

.faq-list__tab--answer ol ol li:last-child{
    padding-bottom: 0
}


@media (max-width: 576px) {
    .faq__header {
        font-size: 3.5rem;
        font-weight: 700;
        line-height: 4rem;
        margin-bottom: 5rem
    }

    .faq__header small {
        font-size: 2.4rem;
        line-height: 3.5rem
    }
}

@media (min-width: 577px) {
    .faq__header {
        font-size: 7rem;
        font-weight: 700;
        line-height: 7.9rem;
        margin-bottom: 10rem
    }

    .faq__header small {
        font-size: 4rem;
        line-height: 6.5rem
    }
}



@media (max-width: 768px) {
    .faq {
        padding: 5rem 3rem
    }
}
@media (min-width: 769px) {
    .faq {
        padding: 10rem
    }
}

@media (min-width: 1441px) {
    .faq {
        padding: 10rem 14rem
    }
}
@media (min-width: 1621px) {
    .faq {
        padding: 12rem 17rem
    }
}

.faq__button {
    display: flex;
    justify-content: center
}

@media (max-width: 576px) {
    .faq__button {
        margin-top: 4rem
    }
}

@media (min-width: 577px) {
    .faq__button {
        margin-top: 8rem
    }
}