
{# Allow for selection in editor when no content #}
body.--editing .ee-takeaways {
    min-height: 130px;
}

.ee-takeaways__title .ee-takeaways__title-main {
    display: flex;
    align-items: center;
    font-size: 1.125rem;
    line-height: 1.5rem;
}

.ee-takeaways__title .ee-takeaways__title-main svg {
    margin-right: 10px;
}

.ee-key {
    padding: 24px;
    background: #F6F7F7;
}

.ee-key h4 {
    font-size: 1rem;
    line-height: 1.375rem;
    font-weight: 600;
    margin: 0 0 10px 0;
    padding: 0;
}

.ee-key + .ee-key {
    margin-top: 16px;
}

.ee-key__content {
    display: flex;
    font-size: 0.875rem;
}

.ee-key__content > svg {
    margin-right: 10px;
    min-width: 16px;
    transform: translateY(2px);
}

.ee-key__section {
    display: flex;
    align-items: center;
    font-size: 0.8125rem;
    font-style: italic;
    color: #4C7E84;
    margin-top: 24px;
}

.ee-key__section svg {
    margin-right: 10px;
    min-width: 16px;
}

.ee-key-more {
    max-height: 0;
    overflow: hidden;
    transition: all 500ms;
}

.ee-key-expand {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    cursor: pointer;
}

.ee-key-expand > span {
    color: #6A6B6C;
}

.ee-key-expand > div {
    display: flex;
    align-items: center;
    font-weight: 600;
}

.ee-key-expand > div svg {
    margin-left: 10px;
    transition: transform 350ms;
}

.ee-key-expand:hover > div svg {
    transform: rotate(180deg);
}

.ee-key-expand:hover > div span {
    text-decoration: underline;
}

.ee-key-expand.expand-open:after {
    content: "";
    position: absolute;
    height: 210px;
    width: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 100%);
    bottom: 30px;
}

.ee-key-expand.--hidden {
    display: none;
}

.ee-key-more.--open {
    max-height: 2500px;
    margin-top: 16px;
}
.ee-key-more.--open[data-keys="1"] {
    max-height: 500px;
}
.ee-key-more.--open[data-keys="2"] {
    max-height: 700px;
}
.ee-key-more.--open[data-keys="3"] {
    max-height: 900px;
}
.ee-key-more.--open[data-keys="4"] {
    max-height: 1100px;
}
.ee-key-more.--open[data-keys="5"] {
    max-height: 1200px;
}
.ee-key-more.--open[data-keys="6"] {
    max-height: 1400px;
}
.ee-key-more.--open[data-keys="7"] {
    max-height: 1600px;
}
.ee-key-more.--open[data-keys="8"] {
    max-height: 1800px;
}
.ee-key-more.--open[data-keys="9"] {
    max-height: 2000px;
}

.mobile-ee-toggle,
.mobile-ee-count {
    display: none;
}

@media screen and (max-width: 979.99px) {
    .ee-takeaways {
        background: #F6F7F7;
        transition: background 500ms;
    }

    .mobile-ee-count {
        display: inline-block;
        margin-left: 5px;
    }

    .mobile-ee-toggle {
        display: flex;
        align-items: center;
        font-size: 14px;
        font-weight: 400;
        color: #BC202D;
    }

    .mobile-ee-toggle svg {
        margin-left: 5px;
        transition: transform 350ms;
    }

    .mobile-ee-toggle::before {
        content: "Expand";
    }

    .ee-takeaways__title {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 35px;
        margin: 0;
        border-bottom: 1px solid #E5E6E7;
        cursor: pointer;
    }

    .ee-takeaways__title .ee-takeaways__title-main {
        margin-right: 10px;
        font-weight: 400;
        font-size: 0.875rem;
        line-height: 1.25rem;
    }

    .ee-takeaways__title .ee-takeaways__title-main svg {
        max-width: 27px;
    }

    .ee-key-expand {
        display: none !important;
    }

    .ee-takeaways__keys {
        max-height: 0;
        overflow: hidden;
        transition: max-height 500ms;
    }

    .ee-key-more {
        max-height: none;
        margin-top: 30px;
        padding-bottom: 16px;
    }

    .ee-key {
        padding: 16px 35px;
        background: none;
        margin-top: 16px;
    }

    .ee-key + .ee-key {
        margin-top: 30px;
        padding: 0 35px 20px 35px;
    }

    .ee-key__section {
        justify-content: flex-end;
    }

    .ee-key__content {
        font-size: 0.75rem;
        line-height: 1.125rem;
    }

    .ee-key__content h4 {
        font-size: 0.875rem;
        line-height: 1.125rem;
    }

    .ee-takeaways.--mobile-open {
        background: #fff;
    }

    .ee-takeaways.--mobile-open .ee-takeaways__title-main {
        font-weight: 700;
    }

    .ee-takeaways.--mobile-open .ee-takeaways__title-main .mobile-ee-count {
        font-weight: 400;
    }

    .ee-takeaways.--mobile-open .mobile-ee-toggle {
        font-weight: 700;
    }

    .ee-takeaways.--mobile-open .mobile-ee-toggle::before {
        content: "Collapse";
    }

    .ee-takeaways.--mobile-open .mobile-ee-toggle svg {
        transform: rotate(180deg);
    }

    .ee-takeaways.--mobile-open .ee-takeaways__keys {
        max-height: 425px;
        overflow: auto;
        border-bottom: 1px solid #E5E6E7;
    }
}
