/* w_faq — front: struktura i strzałki zgodne z oryginałem magnesy.eu */

.w-faq {
    max-width: 100%;
    padding: 3.125rem;
    margin-bottom: 1.5rem;
}

.w-faq-section {
    margin-bottom: 3rem;
}

.w-faq-section-title {
    margin: 1rem 0 1rem;
    font-size: 18pt;
    font-weight: 600;
    color: #000;
    text-align: left;
}

/* lista */
.faq-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.question-container {
    cursor: pointer;
    padding-top: 1px;
    background-color: #fafafa;
    margin: 0;
    border: 1px solid #eee;
}

/* wiersz pytania (link SEO) oraz akordeon */
.faq-page,
.faq-page-sprzedaz {
    cursor: pointer;
        font-family: Noto Sans, sans-serif;
        color: #000;
        font-size: 14pt !important;
        text-align: left !important;
        padding: 10px;
        line-height: 1.6rem;
        border: none;
        outline: 0;
        transition: .4s;
        margin: 0 !important;
}

.faq-page a {
    color: #000;
    font-size: 14pt !important;
}

.faq-page a:hover {
    color: #000;
}

/* ===== strzałka jako pseudo-element (zgodnie z dostarczonym CSS) ===== */
.faq-page-sprzedaz:after,
.faq-page:after {
    content: '';
    transition: transform .8s, -webkit-transform .8s;
    -webkit-transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-top: 2px solid #000;
    border-right: 2px solid #000;
    right: 0;
    transform: rotate(45deg);
    margin: 5px;
}

.faq .faq-arrow,
.faq-page-sprzedaz:after,
.faq-page:after {
    width: 12px;
    height: 12px;
    transition: transform .8s;
    float: right;
    position: relative;
}

/* akordeon: po rozwinięciu strzałka w dół */
.question-container.is-open .faq-page-sprzedaz:after {
    transform: rotate(135deg);
}

/* treść akordeonu */
.faq-body {
    width: 95%;
    padding: 0 18px;
    font-size: 12pt !important;
    font-size: 12pt !important;
    text-align: left !important;
    margin: 0 0 .5rem;
}

.faq-body p, .faq-body span {
    font-size: 12pt !important;
    text-align: left !important;
    margin: 0 0 .5rem;
}

.faq-body p:last-child {
    margin-bottom: 0;
}

.faq-body a {
    text-decoration: underline;
}
#module-w_faq-item section#main {
    padding: 15px;
    background-color: #fff;
}
#module-w_faq-item h1 {
    font-size: 22px !important;
}
.w-faq-item-body {
    color: #2b2b2b;
    font-size: 12pt;
    text-align: justify;
}
.w-faq-item-body p{
    font-size: 12pt;
}
.w-faq-item-body div{
    font-size: 12pt;
}
.w-faq-item-body.rte a {
    color: #009899 !important;
    text-decoration: underline !important;
}
/* podstrona pojedynczego pytania */
.w-faq-item-body {
    color: #2b2b2b;
}

.w-faq-back a {
    font-weight: 600;
}

@media (max-width: 575px) {
    .faq-page,
    .faq-page-sprzedaz {
        font-size: 14px;
    }
    .w-faq-section-title {
        font-size: 1.15rem;
    }
}
