﻿.formats-section-top {
    margin-bottom: 48px;
}

.formats-list {
    margin-bottom: 48px;
}

.format-item {
    position: relative;
    padding-left: 100px;
    margin-bottom: 32px;
}

    .format-item:last-child {
        margin-bottom: 0;
    }

    .format-item::before {
        display: block;
        content: "";
        position: absolute;
        top: -10px;
        transform: translate(0);
        left: 0;
        width: 60px;
        height: 60px;
        background: url("//cdn.specialist.ru/content/file/layouts/freeLearning2024/img/marker.png") top center no-repeat;
        background-size: contain;
    }

.format-item-header {
    font-weight: 700;
    font-size: 20px;
    line-height: 1.2;
    color: #181818;
    margin-bottom: 16px;
}

.format-item-text p {
    font-weight: 400;
    font-size: 17px;
    line-height: 1.3;
    color: #181818;
}

.formats-compare-text {
    margin-bottom: 48px;
}

.formats-compare-table {
    border-collapse: collapse;
    width: 100%;
}

    .formats-compare-table th, .formats-compare-table td {
        border: 1px solid #00000033;
        border-right: 4px solid #D9D9D9;
    }

    .formats-compare-table th {
        font-weight: 700;
        font-size: 16px;
        line-height: 1.2;
        letter-spacing: 0.02em;
        text-transform: uppercase;
        color: #181818;
    }

    .formats-compare-table td, .formats-compare-table th {
        padding: 12px 24px;
        vertical-align: top;
    }

        .formats-compare-table td:last-child, .formats-compare-table th:last-child {
            border-right: 1px solid #00000033;
        }

        .formats-compare-table td:first-child {
            font-weight: 700;
            font-size: 12px;
            line-height: 15px;
            letter-spacing: 0.02em;
            text-transform: uppercase;
            color: #181818;
        }

.formats-offline-online {
    display: flex;
    gap: 24px;
}

    .formats-offline-online span {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 11px;
        font-weight: 700;
    }

        .formats-offline-online span::before {
            display: block;
            content: "";
            width: 34px;
            height: 16px;
            flex-shrink: 0;
            background: url("//cdn.specialist.ru/content/file/layouts/freeLearning2024/img/off.png") center center no-repeat;
        }

        .formats-offline-online span.on::before {
            background: url("//cdn.specialist.ru/content/file/layouts/freeLearning2024/img/on.png") center center no-repeat;
        }

.formats-compare-table td.green, .formats-compare-table td.red {
    font-size: 28px;
    text-align: center;
    font-weight: 400;
    color: #23B40B;
}

.formats-compare-table td.red {
    color: #FF1479;
}

.circles-rating {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
}

    .circles-rating span {
        width: 18px;
        height: 18px;
        border-radius: 50%;
        flex-shrink: 0;
        background: #D9D9D9;
    }

        .circles-rating span.active {
            background: #0075FF;
        }

.formats-compare-table p, .page .formats-compare-table p {
    font-size: 10px;
    font-weight: 500;
    line-height: 10px;
}

.checkboxes-block p {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 12px;
}

    .checkboxes-block p:last-child {
        margin-bottom: 0;
    }

.formats-compare-table .blue-text {
    color: #0075FF;
}

.formats-compare-table a {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: underline;
    color: #317ECF;
}

.formats-compare-wrapper {
    max-height: 240px;
    overflow: hidden;
    position: relative;
    margin-bottom: 16px;
}

    .formats-compare-wrapper.active {
        max-height: none;
        overflow: auto;
    }

    .formats-compare-wrapper::after {
        display: block;
        content: "";
        position: absolute;
        width: 100%;
        height: 60px;
        bottom: 0;
        background: linear-gradient(180deg, transparent, white 70%);
    }

    .formats-compare-wrapper.active::after {
        display: none;
    }

.formats-compare-toggler {
    display: block;
    width: 100%;
    cursor: pointer;
    background: linear-gradient(342.79deg, rgba(237, 238, 249, 0.7) -2.64%, rgba(242, 249, 252, 0.7) 105.1%);
    border: none;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.2;
    color: #33393E;
    padding: 16px;
}


@media (max-width: 500px) {
    .format-item {
        padding-left: 80px;
    }

    .format-item-header {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .format-item-text p {
        font-size: 14px;
    }

    .formats-compare-table td, .formats-compare-table th {
        padding: 12px;
    }

    .formats-offline-online {
        flex-direction: column;
        gap: 12px;
    }

    .formats-compare-table th {
        font-size: 12px;
    }



}
