.dropdown {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.dropdown--light {
    --headerColor: var(--blue100);
    --headerBackground: #FFF;
    --collapsedHeaderBackground: #FFF;
    --suffixColor: var(--blue50);
    --chevronBackground: var(--blue5);
    --chevronColor: var(--blue100);
    --dropdownBackground: var(--blue10);
    --labelColor: var(--blue100);
}

.dropdown--dark {
    --headerColor: var(--blue100);
    --headerBackground: var(--blue10);
    --collapsedHeaderBackground: var(--blue10);
    --suffixColor: var(--blue50);
    --chevronBackground: var(--blue5);
    --chevronColor: var(--blue100);
    --dropdownBackground: #FFF;
    --labelColor: var(--blue100);
}

.dropdown--circular-light {
    --headerColor: var(--blue100);
    --headerBackground: white;
    --collapsedHeaderBackground: var(--circular-shift-light-blue-tint-1);
    --suffixColor: var(--blue50);
    --chevronBackground: var(--circular-shift-light-blue-tint-2);
    --chevronColor: var(--blue100);
    --dropdownBackground: #FFF;
    --labelColor: var(--circular-shift-bright-green);
}

/* HEADER */

.dropdown__header {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    background-color: transparent;
    padding: 30px 20px 25px;
    border: 0;
    font-family: var(--fontFamily);
    color: var(--headerColor);
    gap: 15px;
    width: 100%;
    background: var(--headerBackground);
    text-align: left;
    min-height: 100px;
}
.dropdown--collapsed .dropdown__header {
    background-color: var(--collapsedHeaderBackground);
}

.dropdown--collapsable .dropdown__header {
    cursor: pointer;
}

.dropdown__title {
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-width: 80%;
    width: 100%;
}

.dropdown__prefix {
    flex: 0 0 50px;
    width: 50px;
}

.dropdown__suffix {
    margin-left: auto;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    gap: 40px;
    color: var(--suffixColor);
    margin-top: -40px;
}

.dropdown__suffix > span { letter-spacing: .09em; }

.dropdown__icon {
    width: 50px;
    height: 50px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dropdown__icon img {
    object-fit: contain;
    max-width: 100%;
    max-height: 500;
}

.dropdown__maintitle {
    font-size: 18px;
    line-height: 1.25;
    letter-spacing: .015em;
    font-weight: 500;
}
.dropdown--circular-light .dropdown__maintitle {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.26px;
}

.dropdown__subtitle {
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.01em;
    opacity: 0.5;
    max-width: 80%;
}
.dropdown--circular-light .dropdown__subtitle {
    font-weight: 700;
    font-size: 20px;
    opacity: 1;
}
@media (min-width: 991px) {
    .dropdown--circular-light .dropdown__subtitle {
        padding-left: 1rem;
    }
}
.dropdown--circular-light .dropdown__subtitle-prefix {
    display: none;
}

.dropdown__label {
    font-size: 16px;
    line-height: 24px;
    color: var(--labelColor);
}

.dropdown__chevron {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border-radius: 50%;
    background-color: var(--chevronBackground);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--chevronColor);
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 0.015em;
    margin-top: -10px;
    transition: 250ms;
}

.dropdown__chevron svg { width: 12px; }

.dropdown--collapsed .dropdown__suffix .dropdown__chevron {
    transform: rotate(180deg);
}

.dropdown--collapsed.dropdown--light, .dropdown--light:hover {
    --headerBackground: var(--blue10);
    --dropdownBackground: #FFF;
}

.dropdown--collapsed.dropdown--dark, .dropdown--dark:hover {
    --headerBackground: #FFF;
    --dropdownBackground: var(--blue10);
}

.dropdown--clean .dropdown__header {
    flex-direction: row;
    align-items: center;
}


/* CONTENT */
.dropdown__content p:first-child { margin-top: 0; }
.dropdown__content {
    padding: 30px 20px;
    background-color: var(--dropdownBackground);
}

.category-separator {
    position: relative;
    --hr-margin: 25px;
    --category-separator-text-height: calc(2 * var(--hr-margin) + 1px);
}
.category-separator hr {
    height: 1px;
    border: none;
    background-color: var(--c-2-c-blue-100);
    margin: var(--hr-margin) 0;
}
.category-separator span {
    display: block;
    margin: calc(-1 * var(--category-separator-text-height) - 1px) auto 0;
    line-height: var(--category-separator-text-height);
    max-width: max-content;
    padding: 0 10px;
    background-color: var(--chevronBackground);
}

@media(min-width: 991px) {
    .dropdown__header {
        flex-direction: row;
        align-items: center;
        padding: 20px 30px;
    }
    .dropdown__maintitle {
        font-size: 20px;
    }
    .dropdown__title {
        flex-direction: row;
        align-items: center;
        gap: 15px;
    }
    .dropdown__subtitle {
        max-width: 100%;
    }
    .dropdown__suffix {
        margin-top: 0;
    }
    .dropdown__chevron {
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
        margin-top: 0;
    }
    .dropdown__chevron svg {
        width: 16px;
    }
    .dropdown__content {
        padding: 65px;
    }
}
