.flex_layout.faq .button_wrapper a{
    margin: 0px;
}

.flex_layout.faq .heading {
    color: #5E66EA;
    font-size: 25px;
}

.flex_layout.faq .faq_container_simple {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
}

.flex_layout.faq .faq_head {
    padding: 20px 33px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    border-radius: 11px;
    background-color: #fff;
    border: 1px solid #00000016;
}

.flex_layout.faq .faq_head h5 {
    margin-bottom: 0;
    text-transform: none;
    font-size: 18px;
    padding-right: 0px;
    font-family: "Codec-pro-news";
    font-size: 20px;
    color: #5E66EA;
	margin-right: 40px;
}

.flex_layout.faq .faq_head svg {
    fill: var(--wp--preset--color--fl-body-text); 
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    background: #00FCAC;
    padding: 10px;
    border-radius: 3px;
    box-sizing: content-box;
}

.flex_layout.faq .faq_head svg rect {
    transform-origin: center;
    transition: rotate 300ms ease-in-out;
    transform: scale(0.7);
}

.flex_layout.faq .faq_inner {
    display: grid;
    grid-template-rows: 0fr;
    padding-inline: 0px;
    transition: grid-template-rows 300ms ease-in-out, padding-block 300ms ease-in-out;
    
    border-radius: 0px;
    /* background-color: var(--wp--preset--color--fl-footer-widgets-text); */
}

.flex_layout.faq .faq_inner .faq_content{
    padding: 0px 20px;
}

.flex_layout.faq .faq_wrapper.open .faq_head svg rect:first-child {
    rotate: 90deg;
}

.flex_layout.faq .faq_wrapper.open .faq_head svg rect:last-child {
    rotate: 180deg;
}

.flex_layout.faq .faq_wrapper.open .faq_inner {
    padding-block: 0px;
    grid-template-rows: 1fr;
}

.flex_layout.faq .faq_wrapper.open .faq_inner p {
    margin-top: 20px;
}

.flex_layout.faq .faq_content {
    overflow: hidden;
    font-size: 18px;
}

#pk_flex_content .flex_layout.faq .faq_content *{
    color: var(--wp--preset--color--fl-body-text);
}

#pk_flex_content .flex_layout.faq .faq_flex {
    display: flex;
    gap: 100px;
    align-items: flex-start;
    margin-top: 40px;
}

#pk_flex_content .flex_layout.faq .faq_flex .info_col {
    background: var(--wp--preset--color--fl-footer-link);
    padding: 25px;
    max-width: 360px;
    width: 100%;
    height: fit-content;
}

@media screen and (min-width: 768px) {
    /* Parent Grid */
    #pk_flex_content .flex_layout.faq .content_wrapper {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, auto);
        grid-column-gap: 20px;
        grid-row-gap: 10px;
        max-width: 100%; /* Adjust as needed */
        align-items: start; /* Align items to the top */
    }
    
    /* Heading (spans across two columns in the first row) */
    #pk_flex_content .flex_layout.faq .heading_wrapper {
        grid-area: 1 / 1 / 2 / 3;
    }
    
    /* Text (spans across two columns in the second row) */
    #pk_flex_content .flex_layout.faq .text_wrapper {
        grid-area: 2 / 1 / 6 / 4;
    }
    
    /* Button (placed in the third column of the second row) */
    #pk_flex_content .flex_layout.faq .button_wrapper {
        grid-area: 2 / 3 / 3 / 4;
        align-self: flex-end; /* Center button vertically */
        text-align: right;
    }
}

@media screen and (max-width: 1200px) {
    
}

@media screen and (max-width: 992px) {
    
}

@media screen and (max-width: 767px) {
   
}