.faq-container {
    display: flex;
    flex-direction: column;
    margin: auto;
    gap: 2rem;
    width: min(880px, 100% - 40px);
    padding-block: 2rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    align-self: stretch;
    width: 100%;
}

.faq-item {
    display: flex;
    align-items: center;
    align-self: stretch;
    border: 1px solid var(--light-grey);
    border-radius: 32px;
    background: var(--light-beige);
    overflow: hidden;
}

.faq-summary-inner {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 15px;
    box-sizing: border-box;
}

.faq-summary-inner_content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.faq-summary-inner_img {
    display: flex !important;
    padding: 15px 19px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 14px;
    background: var(--light);
    border: 1px solid var(--light-grey);
    min-width: 60px;
    min-height: 60px;
}

.faq-summary-inner_img img {
    max-width: 100%;
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
}

summary {
    list-style: none !important;
}

summary::-webkit-details-marker {
    display: none !important;
}

details {
    width: 100%;
    display: block;
    list-style: none !important;
}

details[open] {
    box-shadow: inset 3px 0 0 var(--deep-turquiose); 
}

.faq-text {
    flex: 1;
}

.faq-arrow {
    height: 40px;
    width: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition:  0.5s ease;
}

.faq-arrow:hover {
    background-color: var(--light-grey);
    transform: scale(1.1);
}

.faq-arrow svg {
    width: 100%;
    height: 60%;
    rotate: 90deg;
    transition: transform 0.3s ease;
    transform-origin: center;
}

details[open] .faq-arrow svg {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 6px 15px 16px 20px;
}
 
details[open] .faq-answer {
    box-shadow: inset 3px 0 0 var(--deep-turquiose);
}
 