.tabs {
    padding: 3rem 0;
}

.tabs .redesign-title {
    font-size: 32px;
    letter-spacing: -0.67px;
    position: relative;
    font-weight: 400;
    margin-bottom: 48px;
    z-index: 1;
}

.tabs .img_wrapper {
    max-width: 69%;
}

.tabs .block {
    position: relative;
    color: var(--color-dark);
    background-color: var(--color-light);
    min-height: 100px;
    padding: 1.25rem 3rem 1.25rem 1.5rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.05), 0 1px 4px 0 rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    z-index: 1;
}

.tabs .block:hover {
    background-color: #dceef8;
    box-shadow: 0px 0px 15px 1px rgba(0,0,0,0.1);
}

.tabs .tab-container {
    flex-wrap: wrap;
    position: relative;
}

.tabs .tab-content {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    order: 1;
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin-top: 1rem;
    z-index: 0;
}

.tabs .tab-content p {
    margin-bottom: 1.5rem;
    line-height: 1.5;
    font-weight: 400;
}

@keyframes fadeRight {
    0% {
        opacity: 0;
        transform: translateX(-5%);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.tabs .tab-button[selected] + .tab-content {
    display: block;
    animation: fadeRight 0.5s ease-in-out;
    animation-fill-mode: forwards;
}

.tabs .tab-head {
    font-weight: 500;
    text-align: left;
    padding: 0;
    margin: 0 0 8px;
    font-size: 16px;
    overflow-wrap: break-word;
}

.tabs .tab-text {
    font-size: 14px;
    overflow-wrap: break-word;
}

.tabs .tab-button {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    list-style: none;
    flex-grow: 1;
    text-align: left;
    cursor: pointer;
    border-bottom: 1px solid lightgray;
}

.tabs .tab-button:after {
    content: '\e6f7';
    font-family: 'icons';
    font-size: 1.25em;
    font-weight: 700;
    position: absolute;
    right: 10px;
    top: 3px;
    line-height: 40px;
    color: var(--color-primary);
}

.tabs .tab-button[selected] {
    background-color: #dceef8;
    color: #012f5b;
}

.tabs .image-wrapper.with-circle .circle {
    width: 85%;
    padding-bottom: 85%;
    top: -20%;
    left: -20%;
}

@media screen and (max-width: 1024px) {
    .tabs .tab-container {
        padding: 0;
    }

    .tabs .tab-content {
        position: initial;
    }

    .tabs .tab-button {
        max-width: 100%;
    }

    .tabs .image-wrapper.with-circle .circle {
        left: 0;
    }

    .tabs .block {
        min-height: 72px;
        padding: 1rem 2.5rem 1rem 1rem;
    }
}

.tabs.edit-mode .tab-content {
    display: block;
    position: initial;
}

.tabs.edit-mode .tab-button {
    max-width: 100%;
}

@media screen and (min-width: 1024px) {
    .tabs .redesign-title {
        font-size: 36px;
        line-height: 1.25;
        max-width: 445px;
    }
}
