/* ==========================================================================
   Темы конкурсных работ (461:4993, 463:5414, 463:5542). Эталон 1600 px.
   ========================================================================== */

body.page-topics {
    background: #fdfdff;
}

.topics {
    min-height: 689px;
    padding-top: 104.5px;
}

.topics__logo {
    position: absolute;
    left: 0;
    top: -67.7px;
    width: 65px;
    height: 58.35px;
}

.topics__lead {
    width: 1107px;
    max-width: 100%;
    margin-left: -1px;
    font-size: 32px;
    line-height: 48px;
    letter-spacing: -1.2px;
    color: #000;
}

.topics__card {
    padding: 34px 95px;
    border-radius: 14px;
    background: var(--surface);
}

.topics__head {
    display: flex;
    gap: 30px;
    width: 855px;
    max-width: 100%;
}

.topics__chip {
    display: flex;
    align-items: center;
    gap: 22px;
    flex: 0 0 auto;
    height: 44px;
    padding: 5px 22px;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    line-height: normal;
    letter-spacing: 1.12px;
    white-space: nowrap;
    text-decoration: none;
}

.topics__chip img {
    width: 24px;
    height: 24px;
}

.topics__chip--green {
    width: 161px;
    background: var(--green);
}

.topics__chip--blue {
    width: 665px;
    max-width: 100%;
    background: #094aaa;
    transition: filter .2s ease;
}

.topics__chip--blue:hover {
    filter: brightness(1.08);
}

.topics__rule {
    position: relative;
    width: 855px;
    max-width: 100%;
    height: 3px;
    margin-top: 15.5px;
    background: #094aaa;
}

.topics__rule::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 173.9px;
    height: 3px;
    background: var(--green);
}

.topics__scroll {
    width: 855px;
    max-width: 100%;
    margin-top: 4.5px;
}

.topics__table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.topics__table td {
    min-height: 52px;
    padding: 14px 20px;
    border-bottom: 1px solid #d6d6d6;
    font-size: 16px;
    line-height: 22px;
    color: var(--ink);
    vertical-align: middle;
}

.topics__num {
    width: 173.9px;
    border-right: 1px solid #d6d6d6;
    font-weight: 600;
    color: #094aaa;
    text-align: center;
}

.topics__text {
    padding-left: 24px;
}

.topics__group td {
    padding-top: 18px;
    padding-bottom: 12px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1.12px;
    text-transform: uppercase;
    color: var(--green);
}

@media (max-width: 1279px) {
    .topics {
        padding-top: 100px;
    }

    .topics__card {
        padding: 28px 40px;
    }

    .topics__chip--blue {
        width: auto;
        flex: 1 1 auto;
        white-space: normal;
    }
}

@media (max-width: 767px) {
    .topics {
        padding-top: 96px;
    }

    .topics__logo {
        top: -64px;
        width: 52px;
        height: 47px;
    }

    .topics__lead {
        font-size: 20px;
        line-height: 28px;
        letter-spacing: -.4px;
    }

    .topics__card {
        padding: 20px 16px;
        border-radius: 12px;
    }

    .topics__head {
        flex-direction: column;
        gap: 10px;
    }

    .topics__chip {
        height: auto;
        min-height: 44px;
        gap: 14px;
        padding: 8px 16px;
        font-size: 13px;
        letter-spacing: .6px;
    }

    .topics__chip--green {
        width: 100%;
    }

    .topics__rule::before {
        width: 40%;
    }

    .topics__num {
        width: 56px;
        padding: 12px 8px;
    }

    .topics__table td {
        padding: 12px 10px;
        font-size: 15px;
        line-height: 21px;
    }

    .topics__text {
        padding-left: 14px;
    }
}
