.forum-page--latest .forum-topic-table-head,
.forum-page--section .forum-topic-table-head {
    display: grid;
    grid-template-columns: 64px minmax(1, 2fr) 132px 212px;
    align-items: center;
    gap: 16px;
    min-height: 50px;
    margin-bottom: 8px;
    padding: 10px 18px;
    border-radius: 16px;
    background: rgba(51, 61, 102, 0.82);
}

.forum-page--latest .forum-topic-table-head > div,
.forum-page--section .forum-topic-table-head > div {
    display: flex;
    align-items: center;
    min-width: 0;
    color: #cfd8f8;
    font-weight: 700;
    line-height: 1.2;
}

.forum-page--latest .forum-topic-table-head > :nth-child(3),
.forum-page--latest .forum-topic-table-head > :nth-child(4),
.forum-page--section .forum-topic-table-head > :nth-child(3),
.forum-page--section .forum-topic-table-head > :nth-child(4) {
    justify-content: center;
    text-align: center;
}

.forum-page--latest .forum-topic-table-body,
.forum-page--section .forum-topic-table-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 12px;
}

.forum-page--latest .forum-topic-row,
.forum-page--section .forum-topic-row {
    position: relative;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) 132px 212px;
    align-items: center;
    gap: 16px;
    min-height: 118px;
    padding: 14px 18px;
    border-radius: 18px;
    background: rgba(58, 68, 110, 0.82);
    box-shadow: inset 0 0 0 1px rgba(168, 183, 237, 0.08);
    border-top: 0;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.58s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.forum-topic-row > :nth-child(4) img {
    transform: translateX(10px);
}

.forum-page--latest .forum-topic-row > :nth-child(3),
.forum-page--latest .forum-topic-row > :nth-child(4),
.forum-page--latest .forum-topic-row > :nth-child(5),
.forum-page--section .forum-topic-row > :nth-child(3),
.forum-page--section .forum-topic-row > :nth-child(4),
.forum-page--section .forum-topic-row > :nth-child(5) {
    position: relative;
    top: 0 !important;
    padding-left: 0 !important;
    min-width: 0;
}

.forum-page--latest .forum-topic-row:hover,
.forum-page--latest .forum-topic-row:focus-within,
.forum-page--section .forum-topic-row:hover,
.forum-page--section .forum-topic-row:focus-within {
    transform: translateY(-2px);
    background: rgba(67, 79, 126, 0.94);
    box-shadow: 0 16px 34px rgba(9, 13, 26, 0.18), inset 0 0 0 1px rgba(179, 198, 255, 0.18);
}

.forum-page--latest .forum-topic-row-link,
.forum-page--section .forum-topic-row-link {
    position: absolute;
    inset: 0;
    display: block;
    border-radius: inherit;
    z-index: 5;
    cursor: pointer;
    font-size: 1px;
}

.forum-page--latest .forum-topic-row > *:not(.forum-topic-row-link),
.forum-page--section .forum-topic-row > *:not(.forum-topic-row-link) {
    pointer-events: none;
}

.forum-page--latest .forum-topic-row-avatar,
.forum-page--section .forum-topic-row-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 16px;
}

.forum-page--latest .forum-topic-row-avatar img,
.forum-page--section .forum-topic-row-avatar img,
.forum-page--latest .forum-topic-row-last img,
.forum-page--section .forum-topic-row-last img {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    object-fit: cover;
}

.forum-page--latest .forum-topic-row-main,
.forum-page--section .forum-topic-row-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    min-width: 0;
}

.forum-page--latest .forum-topic-row-main h3,
.forum-page--section .forum-topic-row-main h3 {
    margin: 0;
    color: #f6f8ff;
    font-size: 17px;
    line-height: 1.24;
    overflow-wrap: anywhere;
}

.forum-page--latest .forum-topic-row-main p,
.forum-page--section .forum-topic-row-main p {
    margin: 0;
    color: #d4dcfb;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.forum-page--latest .forum-topic-row-main > span,
.forum-page--section .forum-topic-row-main > span {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 2px;
    color: #aab6de;
    line-height: 1.2;
}

.forum-page--latest .forum-topic-row-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
    color: #aab6de;
    line-height: 1;
    position: relative;
}

.forum-page--latest .forum-topic-row-category span {
    display: inline-flex;
    align-items: center;
    color: #95a5d3;
    line-height: 1.1;
}

.forum-page--latest .forum-topic-row-stats,
.forum-page--section .forum-topic-row-stats {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-align: center;
    color: #cfdaff;
}

.forum-page--latest .forum-topic-row-stats strong,
.forum-page--section .forum-topic-row-stats strong {
    width: 100%;
    color: #f5f8ff;
    font-size: 18px;
    line-height: 1;
}

.forum-page--latest .forum-topic-row-stats span,
.forum-page--section .forum-topic-row-stats span {
    width: 100%;
    color: #9eabd1;
    line-height: 1.1;
}

.forum-page--latest .forum-topic-row-last,
.forum-page--section .forum-topic-row-last {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-width: 0;
}

.forum-page--latest .forum-topic-row-last > div,
.forum-page--section .forum-topic-row-last > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    min-width: 0;
}

.forum-page--latest .forum-topic-row-last strong,
.forum-page--section .forum-topic-row-last strong {
    display: block;
    width: 100%;
    color: #f6f8ff;
    line-height: 1.15;
    text-align: left;
    overflow-wrap: anywhere;
}

.forum-page--latest .forum-topic-row-last span {
    display: block;
    width: 100%;
    color: #a4b0d8;
    line-height: 1.15;
    text-align: left;
    overflow-wrap: anywhere;

    transform: translateX(-14px);
}

.forum-page--section .forum-topic-row-last span {
    display: block;
    width: 100%;
    color: #a4b0d8;
    line-height: 1.15;
    text-align: left;
    overflow-wrap: anywhere;

    transform: translateX(-14px);
}


.forum-page--latest .forum-topic-row-last strong,
.forum-page--section .forum-topic-row-last strong {
    margin-left: -15px;
}

.forum-page--latest .forum-topic-row-last img {
    transform: translateX(40px);
}

.forum-page--section .forum-topic-row-last img {
    transform: translateX(50px);
}


@media (max-width: 1140px) {
    .forum-page--latest .forum-topic-table-head,
    .forum-page--section .forum-topic-table-head,
    .forum-page--latest .forum-topic-row,
    .forum-page--section .forum-topic-row {
        grid-template-columns: 56px minmax(0, 1fr) 116px 188px;
        gap: 14px;
    }

    .forum-page--latest .forum-topic-row-avatar img,
    .forum-page--section .forum-topic-row-avatar img,
    .forum-page--latest .forum-topic-row-last img,
    .forum-page--section .forum-topic-row-last img {
        width: 48px;
        height: 48px;
    }

    .forum-page--latest .forum-topic-row-last,
    .forum-page--section .forum-topic-row-last {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 10px;
    }
}

@media (max-width: 860px) {
    .forum-page--latest .forum-topic-table-head,
    .forum-page--section .forum-topic-table-head {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .forum-page--latest .forum-topic-table-head > :nth-child(3),
    .forum-page--latest .forum-topic-table-head > :nth-child(4),
    .forum-page--section .forum-topic-table-head > :nth-child(3),
    .forum-page--section .forum-topic-table-head > :nth-child(4) {
        justify-content: flex-start;
        text-align: left;
    }

    .forum-page--latest .forum-topic-row,
    .forum-page--section .forum-topic-row {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 12px;
    }

    .forum-page--latest .forum-topic-row-stats,
    .forum-page--section .forum-topic-row-stats,
    .forum-page--latest .forum-topic-row-last,
    .forum-page--section .forum-topic-row-last {
        grid-column: 2 / -1;
    }
}
