﻿@media(min-width: 996px) {

/* button group */
    .faq-body .faq-button-group {
    width: 25%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0px 32px;
    gap: 18px;
}
    
    .faq-button-group .faq-button {
    display:block;
    padding: 16px 24px;
    color: #245C71;
    border: 2px solid #245C71;
    border-radius: 200px;
    background-color: #FFFFFF;
    text-align:left;
    cursor: pointer;
    font-size:20px;
}
    
    .faq-button-group .faq-button:hover {
    color: #FFFFFF;
    background-color: #245C71;
}
        
    .faq-button-group .faq-button.active {
    color: #FFFFFF;
    background-color: #245C71;
}
       
    .faq-accordion {
        display: none;
    }
}

/* container group */
.faq-right-group {
    width: 75%;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.faq-right-group .faq-item {
    position: relative;
    padding: 0;
}

.faq-item .faq-item-link {
    padding: 24px 32px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 16px;
    color: #41484D;
    background-color: #FFFFFF;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.faq-item-hightlight {
    width: 8px;
    height: 25%;
    background-color: #F58CBF;
    position: absolute;
    top: 50%; 
    transform: translateY(-50%); 
}

 .faq-item h4 {
    margin: auto 0;
    padding-left: 16px;
    font-size: 20px;
}

 .faq-item .faq-item-icon {
    padding: 4px;
    border-radius: 50%;
    background-color: #E9ECEC;
    border: none;
}

.faq-item-icon .img-link {
    width: 40px;
    height: 40px;
}

/*hover*/
.faq-item-link:hover {
    background-color: #E9ECEC;
}

.faq-item-link:hover .faq-item-icon {
    background-color: #245C71;
    box-shadow: rgba(46, 101, 122, 0.5) 2px 4px 2px;
}

.faq-item-link:hover .img-link path {
    stroke: #E9ECEC;
}

/*Mobile Device*/
@media(max-width:996px) {
    .faq-button-group, .faq-right-group {
        display: none;
    }

    .faq-accordion {
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }

    .mobile-accordion-group {
        width: 100%;
        padding: 0px;
    }

    .mobile-accordion-wrapper {
        border-radius: 36px;
        margin-bottom: 18px;
        transition: all 0.3s ease;
    }

    .mobile-accordion-header {
        box-shadow:0 0 0px 2px #245C71;
        border-radius: 36px;
        padding: 16px 24px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: ease 0.3s;
        color: #245C71;
        cursor: pointer;
    }

    .mobile-accordion-header:hover {
        background-color: #245C71;
        color: #FFFFFF;
    }

    .mobile-accordion-header h4 {
        margin: auto 0;
        font-size: 20px;
    }

    .faq-item-icon {
        padding: 8px;
        border-radius: 50%;
        background-color: #E9ECEC;
        border: none;
    }

    .faq-item-icon .img-link {
        width: 24px;
        height: 24px;
    }

    .mobile-accordion-body {
        overflow: hidden;
        transition: ease 0.3s;
    }

    .mobile-accordion-inner {
        padding-top: 24px;
    }

    .mobile-accordion-inner .mobile-item-link {
        padding: 24px;
        width: 100%;
        height: 100%;
        overflow: hidden;
        color: #41484D;
        background-color: #FFFFFF;
        display: flex;
        align-items: center;
        position: relative;
        transition: background-color 0.3s ease;
        text-decoration: none;
    }

    .mobile-accordion-inner h4 {
        margin: auto 0;
        padding-left: 16px;
        font-size: 20px;
    }

}