:root {
    --sg-container-padding: 20px;
    --sg-container-sm-padding: 20px;
    --sg-gap: 20px;
    --sg-container-xs: 100%;
    --sg-container-sm: 536px;
    --sg-container-md: 728px;
    --sg-container-lg: 984px;
    --sg-container-xl: 100%;
    --sg-container-xxl: 1330px;

    --white: #fff;
    --acsent: #fb8d69;
    --dark-txt: #1c4a66;
    --dark-blue: #0e2838;
    --bg: #061b28;
    --black: #252525;
    --font-family: "Aleo", sans-serif;
    --second-family: "Montserrat", sans-serif;
    --third-family: "Noto Sans", sans-serif;
}

/* container */
.sg-container {
    width: 100%;
    max-width: calc(100% - 140px);
    margin: 0 auto;
    padding-inline: var(--sg-container-padding);
}

.sg-inner-container {
    padding-inline: var(--sg-container-sm-padding);
}

/* breadcrums */
.breadcrums-container {
    width: max-content;
    display: flex;
    gap: 15px;
    margin: 20px auto 50px auto;
    border-radius: 10px;
    padding: 14px 24px;
    background: var(--black);
}

.breadcrums-text {
    margin: 0;
    padding: 0;
}

.separator-holder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.breadcrums-text {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    color: var(--grey);
}

.breadcrums-link {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    color: var(--acsent);
    text-decoration: none;
}

@media screen and (max-width: 768px) {
    .breadcrums-text {
        font-family: var(--font-family);
        font-weight: 500;
        font-size: 16px;
        color: var(--grey);

        max-width: 200px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media screen and (max-width: 567px) {
    .breadcrums-container {
        margin: 15px 15px 20px 15px;
        width: calc(100% - 30px);
    }

    .separator-holder {
        flex: 0 0 15px;
    }

    .breadcrums-text {
        max-width: 100%;
    }

    .breadcrums-text-container {
        flex: 0 0 auto;
    }

    .breadcrums-text-container:last-child {
        flex: 1;
        overflow: hidden;
    }
}

.faq-wrapper {
    display: flex;
    flex-flow: column;
    gap: 20px;
    overflow: hidden;
    max-width: 910px;
    margin: 70px auto;
    padding: 0;
    width: 100%;
    max-width: 100%;
}

.faq-wrapper-content {
    padding: 0;
    flex-flow: column;
    width: 100%;
    max-width: 100%;
}

.faq-wrapper__item {
    display: block;
    border-radius: 14px;
    background: rgba(14, 40, 56, 1);
    min-height: 70px;
    width: 100%;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 14px;
    background: rgba(14, 40, 56, 1);
    padding: 5px 24px;
    cursor: pointer;
    font-family: var(--font-family);
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    color: #FFFFFF;
    transition: background 0.3s;
    height: 70px;
    position: relative;
    z-index: 2;
}

.faq-wrapper__item {
    height: 70px;
    position: relative;
}

.faq-wrapper__item.open .faq-question {
    color: var(--acsent);
    padding-bottom: 30px;
    padding-top: 20px;
    background: transparent;
}

.faq-wrapper__item.open::before {
    width: 100%;
    max-width: 200px;
    height: 100%;
    content: '';
    display: block;
    background: linear-gradient(270deg, rgba(6, 27, 40, 0) 0%, rgba(0, 120, 114, 0.24) 100%);
    position: absolute;
    z-index: 0;
    left: 0;
    top: 0;
    border-radius: 20px 0 0 20px;
}

.faq-wrapper__item.open::after {
    width: 100%;
    max-width: 200px;
    height: 100%;
    content: '';
    display: block;
    background: linear-gradient(270deg, rgba(6, 27, 40, 0) 0%, rgba(0, 120, 114, 0.24) 100%);
    position: absolute;
    z-index: 0;
    right: 0;
    top: 0;
    border-radius: 20px 0 0 20px;
    transform: rotate(-180deg);
}

.faq-question:hover {
    background: rgba(14, 40, 56, 1);
}

.faq-question::after {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    background: url('../../images/front/plus.svg');
    transition: transform 0.3s;
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
}

.faq-wrapper__item.open .faq-question::after {
    background: url('../../images/front/minus.svg');
}

.faq-wrapper__item ul {
    display: none;
    padding: 12px 20px;
    margin: 0;
}

.faq-wrapper__item.open {
    position: relative;
    height: 100%;
}

.faq-wrapper__item.open ul {
    display: flex;
    animation: dropdown 0.25s ease-in-out;
    padding: 0 15px 15px 15px;
}

.faq-answer {
    font-family: var(--second-family);
    font-style: normal;
    font-weight: 500;
    font-size: 17px;
    line-height: 32px;
    color: #FFFFFF;
    padding: 0 48px 30px 24px;
    position: relative;
    z-index: 2;
}

@keyframes dropdown {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .faq-wrapper {
        margin: 30px auto 70px auto;
    }

}



/* Mobile layout */

@media (max-width: 768px) {

    .faq-wrapper{
        margin: 50px auto;
    }
}

@media (max-width: 650px) {}

@media (max-width: 560px) {
    .faq-wrapper-container {
        padding: 0 15px !important;
    }
    .faq-question{
        height: 100%;
    }
    .faq-question::after{
        right: 15px;
    }
    .faq-wrapper__item.open{
        height: auto;
    }
    .faq-wrapper__item {
        height: auto;
        display: flex;
        flex-flow: column;
    }
    .faq-wrapper__item.open .faq-question {
        padding-top: 15px;
        padding-bottom: 5px;
    }

    .faq-question {
    font-size: 17px;
        padding: 10px 55px 10px 15px;
        height: auto;
    }
.faq-answer{
    padding: 0 15px 10px 15px;
}
    .faq-wrapper {
        margin: 40px auto;
        gap: 10px;
    }
}

@media (max-width: 475px) {}