.ranking-page {
    padding: 18px 0 42px;
}

.ranking-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 22px 0 18px;
    border-bottom: 1px solid #e7e9ee;
}

.ranking-hero h1 {
    margin: 0 0 8px;
    color: #20242d;
    font-size: 30px;
    font-weight: 700;
    line-height: 38px;
}

.ranking-hero p {
    margin: 0;
    color: #687181;
    font-size: 15px;
    line-height: 23px;
}

.ranking-section {
    margin-top: 24px;
}

.ranking-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e8ebf0;
}

.ranking-section-head h2 {
    margin: 0 0 5px;
    color: #1e2a38;
    font-size: 22px;
    font-weight: 700;
    line-height: 28px;
}

.ranking-section-head p {
    margin: 0;
    color: #6d7684;
    font-size: 14px;
    line-height: 20px;
}

.ranking-list {
    display: grid;
    gap: 12px;
}

.ranking-card {
    position: relative;
    display: grid;
    grid-template-columns: 118px 52px minmax(0, 1fr);
    gap: 18px;
    min-height: 172px;
    padding: 18px;
    border: 1px solid #e7e9ee;
    border-radius: 6px;
    background: #fff;
    box-sizing: border-box;
}

.ranking-card:hover {
    border-color: #cfd8e4;
    box-shadow: 0 4px 14px rgba(22, 30, 42, .08);
}

.ranking-cover {
    display: block;
    width: 118px;
    height: 158px;
    overflow: hidden;
    border-radius: 4px;
    background: #f1f3f6;
}

.ranking-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ranking-rank {
    width: 42px;
    height: 42px;
    margin-top: 4px;
    border-radius: 50%;
    background: #edf1f6;
    color: #465264;
    font-size: 18px;
    font-weight: 700;
    line-height: 42px;
    text-align: center;
}

.ranking-rank--top {
    background: #253346;
    color: #fff;
}

.ranking-body {
    min-width: 0;
}

.ranking-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.ranking-title-group {
    min-width: 0;
}

.ranking-title {
    display: block;
    max-width: 100%;
    overflow: hidden;
    color: #1f2530;
    font-size: 21px;
    font-weight: 700;
    line-height: 28px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-subline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 7px;
    color: #6d7684;
    font-size: 13px;
    line-height: 19px;
}

.ranking-subline a {
    color: #2f6fa8;
}

.ranking-metric {
    flex: 0 0 116px;
    padding: 8px 10px;
    border-radius: 6px;
    background: #f5f7fa;
    text-align: right;
    box-sizing: border-box;
}

.ranking-metric span {
    display: block;
    color: #7a8492;
    font-size: 12px;
    line-height: 16px;
}

.ranking-metric strong {
    display: block;
    overflow: hidden;
    color: #243040;
    font-size: 16px;
    line-height: 22px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-description {
    display: -webkit-box;
    margin: 12px 0 10px;
    overflow: hidden;
    color: #414956;
    font-size: 14px;
    line-height: 22px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.ranking-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    padding-right: 86px;
    color: #737d8d;
    font-size: 13px;
    line-height: 20px;
}

.ranking-meta b {
    color: #475266;
    font-weight: 500;
}

.ranking-read {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 34px;
    border-radius: 4px;
    background: #2f6fa8;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.ranking-read:hover {
    background: #255e90;
    color: #fff;
    text-decoration: none;
}
