/* =============================== */
/* FAQ BLOG                        */
/* =============================== */
.faq-blog {
    background-color: var(--lightHelper);
    padding: 35px 18px;
    position: relative;
    color: var(--white);
    display: flex;
    flex-direction: column;
    /* gap: 17px; */
    align-items: stretch;
}

.faq-blog a {
    color: currentColor;
    text-decoration: underline currentColor;
}

.faq-blog .container.container-width {
    padding-left: 0;
    padding-right: 0;
}

.faq-blog .faq-wrap,
.faq-blog .faq-title,
.faq-blog .faq-item,
.faq-blog .faq-content {
    max-width: 900px;
    width: 100%;
    margin-inline: auto;
    box-sizing: border-box;
}

.faq-blog .container.container-width .faq-wrap .row {
    display: flex !important;
    flex-direction: column !important;
}

.faq-blog .container.container-width .faq-wrap .row .col {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.faq-blog .container.container-width .faq-wrap .row .col .faq-item {
    max-width: 900px !important;
    margin: 8px auto !important;
}

.faq-blog svg {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 20px;
    width: 70%;
}

/* title */
.faq-title {
    text-align: center;
    margin: 10px 0;
    font-size: 25px;
    position: relative;
    padding-bottom: 20px;
}

.faq-title::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 5px;
    border-radius: 25px;
    bottom: -10%;
    left: 0;
    background-image: linear-gradient(90deg, var(--white) 0%, var(--white) 100%);
}

/* row layout */
.faq-blog .row { display: flex; flex-direction: column;  justify-content: center; 
    align-items: center; }
.faq-blog .row .col { width: 100%; transition: 0.3s; }
.faq-blog .row .col .faq-item { width: 100%; margin: 8px 0; }

/* =============================== */
/* FAQ ITEM                        */
/* =============================== */
.faq-item {
    padding: 0;
    border-radius: 5px;
    border: 1px solid #E7ECF5;
    box-shadow: 0 12px 32px rgba(7, 20, 40, 0.15);
    width: 100%;
    max-width: 900px;
    margin: 12px auto;
    display: flex;
    flex-direction: column;
    font-weight: 700;
    transition: 0.3s;
    box-sizing: border-box;
    overflow: hidden;
    cursor: pointer;
}

/* =============================== */
/* SUMMARY                         */
/* =============================== */
.faq-item summary {
    display: flex;
    flex-direction: row-reverse;
    align-items: center; 
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
    background: transparent;
    gap: 10px;
    list-style: none;
    padding: 12px 18px; 
    min-height: 55px;   
    line-height: 1.6;  
}


.faq-item summary::-webkit-details-marker { display: none !important; }
.faq-item summary::marker { content: none !important; }

.faq-item summary::before {
    font-family: "Font Awesome 6 Free";
    content: "\f078";
    font-weight: 900;
    font-size: clamp(0.6rem, 2vw, 0.75rem);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    transition: 0.35s;
    transform: rotate(0deg);

    color: var(--white);
    border: 2px solid var(--white);
}


.faq-item[open] summary::before {
    transform: rotate(180deg);
}


/* =============================== */
/* FAQ CONTENT                     */
/* =============================== */
.faq-content {
    width: 100%;
    max-height: 0;
    opacity: 0;
    transform: translateY(-4px);
    overflow: hidden;
    padding: 0 30px;
    box-sizing: border-box;
    transition:
        max-height 0.5s ease,
        padding 0.35s ease,
        opacity 0.35s ease,
        transform 0.35s ease;
    pointer-events: none; 
}

.faq-item[open] .faq-content {
    max-height: 600px;
    padding: 14px 30px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.faq-content *  { max-width: 100%; word-break: break-word; }
.faq-content ul { margin: 8px 0; }


@media (max-width: 920px) {
    .faq-blog .row     { flex-direction: column; }
    .faq-blog .row .col { width: 100%; }
    .faq-item { padding: 12px 14px; max-width: 95%; min-width: 95%; }
}

@media (max-width: 600px) {

    .faq-title {
        font-size: 22px;
    }

    .faq-item {
        max-width: 95%;
        min-width: 95%;
    }

    .faq-item summary {
        padding: 6px 10px; 
        min-height: 30px;   
        font-size: 12px;   
    }

    .faq-content {
        padding: 0 10px; 
    }

    .faq-item[open] .faq-content {
        padding: 10px 15px;
    }
}