/*==================================================
PAGE BUILDER - FAQ
==================================================*/

.pcb-faq{
    padding: var(--space-11) 0;
    background: var(--white);
}

/*=========================
Header
=========================*/

.pcb-faq .title-row{
    margin-bottom: var(--space-8);
}

/*=========================
FAQ List
=========================*/

.pcb-faq-list{
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/*=========================
Item
=========================*/

.pcb-faq-item{
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(15,43,91,.06);
    transition: .35s ease;
}

.pcb-faq-item:hover{
    box-shadow: 0 18px 45px rgba(15,43,91,.10);
}

.pcb-faq-item.active{
    border-color: rgba(60,168,255,.25);
}

/*=========================
Question
=========================*/

.pcb-faq-title{
    width: 100%;
    background: transparent;
    border: 0;
    cursor: pointer;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 30px;

    padding: 28px 34px;

    text-align: left;

    color: var(--color-primary);

    font-size: var(--fs-h6);
    font-weight: 600;
    line-height: 1.45;
}

/*=========================
Icon
=========================*/

.pcb-faq-icon{

    width: 34px;
    height: 34px;

    min-width: 34px;

    border-radius: 50%;

    background: #F2F8FF;

    position: relative;

    transition: .3s;
}

.pcb-faq-icon::before,
.pcb-faq-icon::after{

    content: "";

    position: absolute;

    background: var(--color-primary);

    left: 50%;
    top: 50%;

    transform: translate(-50%,-50%);

    transition: .3s;
}

.pcb-faq-icon::before{

    width: 12px;
    height: 2px;

}

.pcb-faq-icon::after{

    width: 2px;
    height: 12px;

}

.pcb-faq-item.active .pcb-faq-icon{

    background: #EAF5FF;

}

.pcb-faq-item.active .pcb-faq-icon::after{

    opacity: 0;

    transform: translate(-50%,-50%) rotate(90deg);

}

/*=========================
Answer
=========================*/

.pcb-faq-content{

    display: none;

}

.pcb-faq-item.active .pcb-faq-content{

    display: block;

}

.pcb-faq-content > div{

    padding: 0 34px 30px;

    border-top: 1px solid #EDF1F6;

}

.pcb-faq-content p{

    margin: 22px 0 0;

    color: var(--color-text);

    line-height: 1.85;

}

.pcb-faq-content p:last-child{

    margin-bottom: 0;

}

/*=========================
Tablet
=========================*/

@media (max-width:991px){

.pcb-faq{

    padding: var(--space-10) 0;

}

.pcb-faq .title-row{

    margin-bottom: var(--space-7);

}

.pcb-faq-title{

    padding: 24px;

    font-size: 20px;

}

.pcb-faq-content>div{

    padding: 0 24px 24px;

}

}

/*=========================
Mobile
=========================*/

@media (max-width:767px){

.pcb-faq{

    padding: var(--space-8) 0;

}

.pcb-faq .title-row{

    margin-bottom: var(--space-6);

}

.pcb-faq-list{

    gap: 16px;

}

.pcb-faq-item{

    border-radius: 16px;

}

.pcb-faq-title{

    padding: 18px;

    gap: 16px;

    font-size: 18px;

    line-height: 1.5;

}

.pcb-faq-icon{

    width: 28px;
    height: 28px;
    min-width: 28px;

}

.pcb-faq-icon::before{

    width: 10px;

}

.pcb-faq-icon::after{

    height: 10px;

}

.pcb-faq-content>div{

    padding: 0 18px 18px;

}

.pcb-faq-content p{

    margin-top: 16px;

    line-height: 1.7;

}

}

