.tab-content {
    flex: 1;
    background-color: #f8f8f8;
    padding: var(--page-padding) 0;
}

.tab-content__tab {
    padding: 0 var(--page-padding);
    margin-bottom: 2rem;
}

.tab-content__tab-head {
    text-transform: uppercase;
    color: #000;
    font-size: var(--font-size-l);
    border-bottom: 2px solid #000;
    display: block;
    line-height: 1.2;
    font-weight: 600;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
    position: relative;
    cursor: pointer;
}

.tab-content__tab-head::after {
    content: '';
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #000;
    position: absolute;
    right: 0;
    top: 20px;
    transform: rotate(180deg);
    transition: transform 400ms ease;
}

.state--tab-closed .tab-content__tab-head::after {
    transform: rotate(0);
}

.tab-content__tab-bottom {
    overflow: hidden;
    transition: height 400ms ease;
}

.state--tab-closed .tab-content__tab-bottom {
    height: 0!important;
}

@media screen and (min-width: 768px) {
    .tab-content {
        display: flex;
        flex-wrap: wrap;
    }

    .tab-content__tab {
        width: 50%;
    }
}

@media screen and (min-width: 1000px) {
    .tab-content__tab {
        width: 33.33%;
    }

    .tab-content__tab-head {
        font-size: 1.5rem;
    }
}