/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* containers */

.accordion__wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* accordion item */

.accordion__item {
    margin-right: 25px;

    background: var(--blue-dk);
    border: none;
    border-radius: var(--box-border-radius-lg) !important; /* bootstrap override */

    color: var(--white);

    transition: all 0.3s ease;
}

.accordion__item:first-of-type,
.accordion__item:last-of-type {
    border-radius: var(--box-border-radius-lg) !important;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* accordion header */

.accordion__title {
    margin: 0;
}

.accordion__button {
    padding: 22px 30px;
    padding-right: 0;
    background: transparent !important; /* bootstrap override */
    box-shadow: none !important; /* bootstrap override */

    color: var(--white) !important; /* bootstrap override */

    display: flex;
    gap: 30px;
    justify-content: space-between;
    align-items: center;
    text-align: left;

    cursor: pointer;
}

.accordion__button::after {
    display: none; /* remove bootstrap default arrow */
}

.accordion__button-text {
    font-family: "Verdana";
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* accordion icons */

.accordion__icon-wrapper {
    position: relative;

    flex-shrink: 0;
    width: 56px;
    height: 56px;

    transform: translateX(50%);

    background: var(--purple-md);
    color: var(--white);
    border-radius: 50%;
    border: 5px solid var(--white);

    display: flex;
    align-items: center;
    justify-content: center;
}

.accordion__icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    transition: all 0.2s ease;
}
.accordion__icon--minus {
    width: 80%;
    height: 80%;
}
.accordion__icon--plus {
    width: 55%;
    height: 55%;
}

.accordion__icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

/* toggle icons */
.accordion__button.collapsed .accordion__icon--minus {
    opacity: 0;
}
.accordion__button:not(.collapsed) .accordion__icon--plus {
    opacity: 0;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* accordion body */

.accordion__collapse {
    border: none;
}

.accordion__body {
    padding: 0 30px 30px;
    color: var(--white);
}

.accordion__content,
.accordion__content p {
    font-weight: 300;
}
.accordion__content p:last-child {
    margin-bottom: 0;
}

.accordion__buttons {
    margin-top: 15px;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* mobile */

@media (max-width: 768px) {
    .accordion__item {
        margin-right: 20px;
    }

    .accordion__button {
        padding: 20px 25px;
        padding-right: 0;

        gap: 5px;
    }

    .accordion__button-text {
        font-size: 18px;
    }

    .accordion__icon-wrapper {
        width: 45px;
        height: 45px;
    }

    .accordion__body {
        padding: 0 25px 25px;
    }

    .accordion__content {
        max-width: 100%;
    }
}
