﻿/* =========================================================
   /css/news_ranking.css
   많이 본 뉴스 / 랭킹뉴스 전용 디자인
   반드시 news_list_readable.css 뒤에 로드
   ========================================================= */

.news-ranking-page {
    background: #ffffff;
}

.news-ranking-page .site-container {
    max-width: 1220px;
}

.news-ranking-page .news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 42px;
    align-items: start;
}

.news-ranking-page .ranking-page-head {
    margin-bottom: 18px;
    padding-bottom: 20px;
    border-bottom: 2px solid #202632;
}

.news-ranking-page .news-page-kicker {
    margin-bottom: 7px;
    color: #c62828;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.news-ranking-page .news-page-title {
    margin: 0;
    color: #101827;
    font-size: 34px;
    line-height: 1.25;
    font-weight: 760 !important;
    letter-spacing: -0.075em;
}

.news-ranking-page .news-page-desc {
    margin: 10px 0 0;
    color: #667085;
    font-size: 15.5px;
    line-height: 1.72;
}

/* 카테고리 탭 */
.news-ranking-page .ranking-tabs {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0;
    overflow-x: auto;
    margin: 0 0 26px;
    padding: 0;
    border-bottom: 1px solid #e4e8ef;
    scrollbar-width: none;
}

.news-ranking-page .ranking-tabs::-webkit-scrollbar {
    display: none;
}

.news-ranking-page .ranking-tabs a {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-bottom: 3px solid transparent;
    background: #ffffff;
    color: #4b5563;
    font-size: 14.5px;
    font-weight: 550 !important;
    letter-spacing: -0.035em;
    white-space: nowrap;
}

.news-ranking-page .ranking-tabs a:hover {
    color: #c62828;
    background: #fffafa;
}

.news-ranking-page .ranking-tabs a.active {
    color: #c62828;
    border-bottom-color: #c62828;
    font-weight: 750 !important;
}

/* TOP 3 */
.ranking-top3 {
    display: grid;
    grid-template-columns: 1.1fr 0.95fr 0.95fr;
    gap: 18px;
    margin-bottom: 34px;
}

.ranking-top-card {
    min-width: 0;
    border: 1px solid #e4e8ef;
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.055);
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.ranking-top-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.09);
}

.ranking-top-thumb {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10.5;
    overflow: hidden;
    background: #f1f4f8;
}

.ranking-top-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.22s ease;
}

.ranking-top-card:hover .ranking-top-thumb img {
    transform: scale(1.04);
}

.ranking-top-num {
    position: absolute;
    left: 14px;
    top: 14px;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #c62828;
    color: #ffffff;
    font-size: 22px;
    font-weight: 850;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(198, 40, 40, 0.25);
}

.ranking-top-body {
    padding: 17px 18px 20px;
}

.ranking-category {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    margin-bottom: 9px;
    padding: 0 9px;
    border-left: 3px solid #c62828;
    background: #fff5f5;
    color: #c62828;
    font-size: 12px;
    font-weight: 650 !important;
    letter-spacing: -0.02em;
}

.ranking-top-title {
    margin: 0;
    color: #111827;
    font-size: 21px;
    line-height: 1.42;
    font-weight: 750 !important;
    letter-spacing: -0.06em;
    word-break: keep-all;
}

.ranking-top-1 .ranking-top-title {
    font-size: 24px;
}

.ranking-top-title a:hover {
    color: #c62828;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.ranking-top-summary {
    margin: 10px 0 0;
    color: #5f6b7a;
    font-size: 14.5px;
    line-height: 1.65;
    word-break: keep-all;
}

.ranking-meta {
    margin-top: 12px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 14px;
    color: #8b95a1;
    font-size: 12.5px;
    line-height: 1.4;
}

.ranking-meta span {
    position: relative;
}

.ranking-meta span + span::before {
    content: "";
    position: absolute;
    left: -8px;
    top: 50%;
    width: 1px;
    height: 10px;
    background: #d7dde6;
    transform: translateY(-50%);
}

/* 4위 이하 */
.ranking-list-wrap {
    border-top: 2px solid #202632;
}

.ranking-list-head {
    min-height: 48px;
    padding: 0 2px;
    border-bottom: 1px solid #e4e8ef;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #667085;
    font-size: 14px;
}

.ranking-list-head strong {
    color: #111827;
    font-size: 18px;
    font-weight: 750;
    letter-spacing: -0.055em;
}

.ranking-list-item {
    display: grid;
    grid-template-columns: 48px 132px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #edf1f5;
    background: #ffffff;
    transition: background 0.16s ease;
}

.ranking-list-item:hover {
    background: #fffafa;
}

.ranking-list-num {
    color: #c62828;
    font-size: 26px;
    line-height: 1;
    font-weight: 850;
    text-align: center;
}

.ranking-list-thumb {
    display: block;
    width: 132px;
    aspect-ratio: 16 / 10.5;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e4e8ef;
    background: #f1f4f8;
}

.ranking-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ranking-list-body {
    min-width: 0;
}

.ranking-list-title {
    margin: 0;
    color: #111827;
    font-size: 18px;
    line-height: 1.48;
    font-weight: 680 !important;
    letter-spacing: -0.055em;
    word-break: keep-all;
}

.ranking-list-title a:hover {
    color: #c62828;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* 빈 상태 */
.ranking-empty {
    margin-top: 18px;
    padding: 58px 20px;
    border: 1px solid #e4e8ef;
    border-radius: 16px;
    background: #f8fafc;
    color: #8b95a1;
    font-size: 15px;
    text-align: center;
    font-weight: 400 !important;
}

/* 사이드바 */
.news-ranking-page .ranking-aside {
    position: sticky;
    top: 18px;
}

.news-ranking-page .news-side-box {
    margin-bottom: 26px;
    border: 1px solid #e4e8ef;
    border-top: 2px solid #202632;
    border-radius: 16px;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.045);
}

.news-ranking-page .news-side-head {
    padding: 16px 18px;
    border-bottom: 1px solid #e4e8ef;
    background: #fbfcfe !important;
    color: #111827 !important;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700 !important;
    letter-spacing: -0.055em;
}

.news-ranking-page .news-side-list {
    margin: 0;
    padding: 4px 18px 8px;
    list-style: none;
}

.news-ranking-page .news-side-list li {
    padding: 13px 0;
    border-bottom: 1px solid #edf1f5;
}

.news-ranking-page .news-side-list li:last-child {
    border-bottom: 0;
}

.news-ranking-page .news-side-list a {
    color: #273142;
    font-size: 14.5px;
    line-height: 1.55;
    font-weight: 500 !important;
    letter-spacing: -0.035em;
}

.news-ranking-page .news-side-list a:hover {
    color: #c62828;
}

/* no-thumb */
.news-ranking-page .no-thumb {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #98a2b3;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, #f5f7fa 0%, #eef2f7 100%);
}

/* 반응형 */
@media (max-width: 1080px) {
    .news-ranking-page .news-layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .news-ranking-page .ranking-aside {
        position: static;
    }
}

@media (max-width: 860px) {
    .ranking-top3 {
        grid-template-columns: 1fr;
    }

    .ranking-top-card {
        display: grid;
        grid-template-columns: 180px minmax(0, 1fr);
    }

    .ranking-top-thumb {
        height: 100%;
        min-height: 150px;
        aspect-ratio: auto;
    }

    .ranking-top-1 .ranking-top-title,
    .ranking-top-title {
        font-size: 20px;
    }
}

@media (max-width: 640px) {
    .news-ranking-page .news-page-title {
        font-size: 28px;
        line-height: 1.32;
    }

    .news-ranking-page .news-page-desc {
        font-size: 14.5px;
    }

    .news-ranking-page .ranking-tabs {
        margin-left: -15px;
        margin-right: -15px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .ranking-top-card {
        display: block;
    }

    .ranking-top-thumb {
        aspect-ratio: 16 / 10;
        min-height: 0;
    }

    .ranking-top-body {
        padding: 15px 15px 17px;
    }

    .ranking-top-title,
    .ranking-top-1 .ranking-top-title {
        font-size: 18px;
        line-height: 1.46;
    }

    .ranking-top-summary {
        display: none;
    }

    .ranking-list-head {
        display: block;
        padding: 13px 2px;
        line-height: 1.8;
    }

    .ranking-list-item {
        grid-template-columns: 38px 94px minmax(0, 1fr);
        gap: 12px;
        padding: 17px 0;
    }

    .ranking-list-num {
        font-size: 22px;
    }

    .ranking-list-thumb {
        width: 94px;
        border-radius: 10px;
    }

    .ranking-list-title {
        font-size: 15.8px;
        line-height: 1.48;
    }

    .ranking-list-item .ranking-category {
        display: none;
    }

    .ranking-meta {
        margin-top: 8px;
        font-size: 12px;
    }

    .ranking-meta span:nth-child(n+3) {
        display: none;
    }
}

@media (max-width: 420px) {
    .ranking-list-item {
        grid-template-columns: 34px 82px minmax(0, 1fr);
        gap: 10px;
    }

    .ranking-list-thumb {
        width: 82px;
    }

    .ranking-list-title {
        font-size: 15px;
    }
}

/* =========================================================
   랭킹뉴스 카테고리 탭 줄바꿈 보정
   메뉴 길어질 때 잘림 방지
   ========================================================= */

.news-ranking-page .news-category-tabs.ranking-tabs {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap !important;
    gap: 8px 8px !important;
    overflow: visible !important;
    margin: 0 0 26px !important;
    padding: 0 0 16px !important;
    border-bottom: 1px solid #e4e8ef;
    scrollbar-width: auto !important;
}

.news-ranking-page .news-category-tabs.ranking-tabs::-webkit-scrollbar {
    display: initial !important;
}

.news-ranking-page .news-category-tabs.ranking-tabs a {
    flex: 0 0 auto !important;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid #d9e1ec !important;
    border-radius: 999px !important;
    border-bottom: 1px solid #d9e1ec !important;
    background: #ffffff;
    color: #4b5563;
    font-size: 14px;
    font-weight: 550 !important;
    letter-spacing: -0.035em;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.news-ranking-page .news-category-tabs.ranking-tabs a:hover {
    border-color: #c62828 !important;
    background: #fff5f5 !important;
    color: #c62828 !important;
}

.news-ranking-page .news-category-tabs.ranking-tabs a.active {
    border-color: #c62828 !important;
    background: #c62828 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* 실시간/많이 본 뉴스는 살짝 더 강조 */
.news-ranking-page .news-category-tabs.ranking-tabs a[href="/news/latest.asp"],
.news-ranking-page .news-category-tabs.ranking-tabs a[href="/news/ranking.asp"] {
    border-color: #202632 !important;
    color: #202632;
    font-weight: 700 !important;
}

.news-ranking-page .news-category-tabs.ranking-tabs a[href="/news/ranking.asp"].active {
    border-color: #c62828 !important;
    background: #c62828 !important;
    color: #ffffff !important;
}

/* 모바일에서도 잘리지 않고 여러 줄 표시 */
@media (max-width: 640px) {
    .news-ranking-page .news-category-tabs.ranking-tabs {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        gap: 7px !important;
    }

    .news-ranking-page .news-category-tabs.ranking-tabs a {
        min-height: 34px;
        padding: 0 11px;
        font-size: 13px;
    }
}

/* =========================================================
   랭킹뉴스 TOP 3 특별 강조 + 모바일 본문 노출 보정
   /css/news_ranking.css 맨 아래 유지
   ========================================================= */

/* TOP3 공통 */
.news-ranking-page .ranking-top3 {
    align-items: stretch;
}

.news-ranking-page .ranking-top-card {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.news-ranking-page .ranking-top-card:hover {
    transform: translateY(-2px);
}

/* 1등 - Gold */
.news-ranking-page .ranking-top-card:nth-child(1),
.news-ranking-page .ranking-top-1 {
    background: linear-gradient(180deg, #fff8ec 0%, #ffffff 100%);
    border: 1px solid #f3d38a;
    box-shadow: 0 14px 34px rgba(184, 134, 11, 0.16);
}

.news-ranking-page .ranking-top-card:nth-child(1)::before,
.news-ranking-page .ranking-top-1::before {
    content: "TOP 1";
    position: absolute;
    right: 16px;
    top: 14px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #b8860b;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

/* 2등 - Silver */
.news-ranking-page .ranking-top-card:nth-child(2),
.news-ranking-page .ranking-top-2 {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    border: 1px solid #cfd8e3;
    box-shadow: 0 10px 24px rgba(100, 116, 139, 0.12);
}

/* 3등 - Bronze */
.news-ranking-page .ranking-top-card:nth-child(3),
.news-ranking-page .ranking-top-3 {
    background: linear-gradient(180deg, #fff8f4 0%, #ffffff 100%);
    border: 1px solid #e9c6b0;
    box-shadow: 0 10px 24px rgba(176, 104, 56, 0.12);
}

/* 숫자 배지 */
.news-ranking-page .ranking-top-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.news-ranking-page .ranking-top-card:nth-child(1) .ranking-top-num,
.news-ranking-page .ranking-top-1 .ranking-top-num {
    background: linear-gradient(135deg, #d4a017 0%, #f6d66f 100%);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(184, 134, 11, 0.28);
}

.news-ranking-page .ranking-top-card:nth-child(2) .ranking-top-num,
.news-ranking-page .ranking-top-2 .ranking-top-num {
    background: linear-gradient(135deg, #7c8da1 0%, #b9c4d1 100%);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(100, 116, 139, 0.24);
}

.news-ranking-page .ranking-top-card:nth-child(3) .ranking-top-num,
.news-ranking-page .ranking-top-3 .ranking-top-num {
    background: linear-gradient(135deg, #b46a3c 0%, #d89a72 100%);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(176, 104, 56, 0.24);
}

/* 제목 강조 */
.news-ranking-page .ranking-top-title {
    font-weight: 800 !important;
    letter-spacing: -0.055em;
    word-break: keep-all;
}

.news-ranking-page .ranking-top-card:nth-child(1) .ranking-top-title,
.news-ranking-page .ranking-top-1 .ranking-top-title {
    font-size: 30px;
    line-height: 1.32;
}

.news-ranking-page .ranking-top-card:nth-child(2) .ranking-top-title,
.news-ranking-page .ranking-top-card:nth-child(3) .ranking-top-title,
.news-ranking-page .ranking-top-2 .ranking-top-title,
.news-ranking-page .ranking-top-3 .ranking-top-title {
    font-size: 22px;
    line-height: 1.4;
}

/* 카테고리 배지 */
.news-ranking-page .ranking-top-card .ranking-category {
    font-weight: 800 !important;
}

.news-ranking-page .ranking-top-card:nth-child(1) .ranking-category,
.news-ranking-page .ranking-top-1 .ranking-category {
    background: #fff2cf;
    color: #9a6a00;
    border-left: 3px solid #d4a017;
}

.news-ranking-page .ranking-top-card:nth-child(2) .ranking-category,
.news-ranking-page .ranking-top-2 .ranking-category {
    background: #eef4fb;
    color: #4b5f76;
    border-left: 3px solid #8ea0b3;
}

.news-ranking-page .ranking-top-card:nth-child(3) .ranking-category,
.news-ranking-page .ranking-top-3 .ranking-category {
    background: #fff1e8;
    color: #9a5a34;
    border-left: 3px solid #b46a3c;
}

/* 썸네일 보정 */
.news-ranking-page .ranking-top-card:nth-child(1) .ranking-top-thumb,
.news-ranking-page .ranking-top-1 .ranking-top-thumb {
    box-shadow: inset 0 0 0 1px rgba(212, 160, 23, 0.18);
}

.news-ranking-page .ranking-top-card:nth-child(2) .ranking-top-thumb,
.news-ranking-page .ranking-top-2 .ranking-top-thumb {
    box-shadow: inset 0 0 0 1px rgba(124, 141, 161, 0.18);
}

.news-ranking-page .ranking-top-card:nth-child(3) .ranking-top-thumb,
.news-ranking-page .ranking-top-3 .ranking-top-thumb {
    box-shadow: inset 0 0 0 1px rgba(180, 106, 60, 0.18);
}

/* =========================================================
   모바일 TOP3: 이미지, 숫자, 제목 모두 보이게 리스트형 정렬
   ========================================================= */

@media (max-width: 640px) {
    .news-ranking-page .ranking-top3 {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        margin-bottom: 28px !important;
    }

    .news-ranking-page .ranking-top-card:nth-child(1),
    .news-ranking-page .ranking-top-1,
    .news-ranking-page .ranking-top-card:nth-child(2),
    .news-ranking-page .ranking-top-2,
    .news-ranking-page .ranking-top-card:nth-child(3),
    .news-ranking-page .ranking-top-3 {
        display: grid !important;
        grid-template-columns: 34px 92px minmax(0, 1fr) !important;
        gap: 10px !important;
        align-items: center !important;
        width: 100% !important;
        min-width: 0 !important;
        padding: 12px 0 !important;
        border-radius: 16px !important;
        overflow: visible !important;
    }

    .news-ranking-page .ranking-top-card:nth-child(1),
    .news-ranking-page .ranking-top-1 {
        border-left: 4px solid #d4a017 !important;
    }

    .news-ranking-page .ranking-top-card:nth-child(2),
    .news-ranking-page .ranking-top-2 {
        border-left: 4px solid #8ea0b3 !important;
    }

    .news-ranking-page .ranking-top-card:nth-child(3),
    .news-ranking-page .ranking-top-3 {
        border-left: 4px solid #b46a3c !important;
    }

    .news-ranking-page .ranking-top-thumb {
        position: static !important;
        grid-column: 2 / 3 !important;
        grid-row: 1 !important;
        display: block !important;
        width: 92px !important;
        height: 68px !important;
        min-height: 68px !important;
        aspect-ratio: auto !important;
        border-radius: 10px !important;
        overflow: hidden !important;
    }

    .news-ranking-page .ranking-top-thumb img,
    .news-ranking-page .ranking-top-thumb .no-thumb {
        width: 100% !important;
        height: 100% !important;
        min-height: 68px !important;
        object-fit: cover !important;
    }

    .news-ranking-page .ranking-top-num {
        position: static !important;
        grid-column: 1 / 2 !important;
        grid-row: 1 !important;
        width: 30px !important;
        height: 30px !important;
        border-radius: 50% !important;
        font-size: 15px !important;
        line-height: 1 !important;
        justify-self: center !important;
    }

    .news-ranking-page .ranking-top-body {
        grid-column: 3 / 4 !important;
        grid-row: 1 !important;
        display: block !important;
        min-width: 0 !important;
        padding: 0 12px 0 0 !important;
        overflow: visible !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .news-ranking-page .ranking-top-card:nth-child(1)::before,
    .news-ranking-page .ranking-top-1::before {
        right: 10px;
        top: 8px;
        height: 22px;
        padding: 0 7px;
        font-size: 10px;
    }

    .news-ranking-page .ranking-top-body .ranking-category {
        display: inline-flex !important;
        min-height: 20px !important;
        margin-bottom: 5px !important;
        padding: 0 7px !important;
        font-size: 11px !important;
    }

    .news-ranking-page .ranking-top-card:nth-child(1) .ranking-top-title,
    .news-ranking-page .ranking-top-1 .ranking-top-title,
    .news-ranking-page .ranking-top-card:nth-child(2) .ranking-top-title,
    .news-ranking-page .ranking-top-card:nth-child(3) .ranking-top-title,
    .news-ranking-page .ranking-top-2 .ranking-top-title,
    .news-ranking-page .ranking-top-3 .ranking-top-title {
        display: block !important;
        margin: 0 !important;
        color: #111827 !important;
        font-size: 15px !important;
        line-height: 1.45 !important;
        font-weight: 800 !important;
        letter-spacing: -0.055em !important;
        word-break: keep-all !important;
        overflow-wrap: anywhere !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .news-ranking-page .ranking-top-title a {
        display: block !important;
        color: inherit !important;
    }

    .news-ranking-page .ranking-top-summary {
        display: none !important;
    }

    .news-ranking-page .ranking-top-body .ranking-meta {
        display: flex !important;
        margin-top: 6px !important;
        gap: 5px 10px !important;
        color: #8b95a1 !important;
        font-size: 11.5px !important;
        line-height: 1.35 !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .news-ranking-page .ranking-top-body .ranking-meta span:nth-child(n+3) {
        display: none !important;
    }

    .news-ranking-page .ranking-list-item {
        display: grid !important;
        grid-template-columns: 32px 84px minmax(0, 1fr) !important;
        gap: 10px !important;
        align-items: center !important;
        padding: 14px 0 !important;
        overflow: visible !important;
    }

    .news-ranking-page .ranking-list-num {
        display: block !important;
        font-size: 20px !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .news-ranking-page .ranking-list-thumb {
        display: block !important;
        width: 84px !important;
        aspect-ratio: 4 / 3 !important;
        border-radius: 9px !important;
        overflow: hidden !important;
    }

    .news-ranking-page .ranking-list-body {
        display: block !important;
        min-width: 0 !important;
        overflow: visible !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .news-ranking-page .ranking-list-title {
        display: block !important;
        margin: 0 !important;
        color: #111827 !important;
        font-size: 15px !important;
        line-height: 1.46 !important;
        font-weight: 700 !important;
        letter-spacing: -0.05em !important;
        word-break: keep-all !important;
        overflow-wrap: anywhere !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .news-ranking-page .ranking-list-title a {
        display: block !important;
        color: inherit !important;
    }

    .news-ranking-page .ranking-list-body .ranking-meta {
        display: flex !important;
        margin-top: 7px !important;
        gap: 5px 10px !important;
        font-size: 11.5px !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .news-ranking-page .ranking-list-body .ranking-meta span:nth-child(n+3) {
        display: none !important;
    }
}

@media (max-width: 420px) {
    .news-ranking-page .ranking-top-card:nth-child(1),
    .news-ranking-page .ranking-top-1,
    .news-ranking-page .ranking-top-card:nth-child(2),
    .news-ranking-page .ranking-top-2,
    .news-ranking-page .ranking-top-card:nth-child(3),
    .news-ranking-page .ranking-top-3 {
        grid-template-columns: 30px 80px minmax(0, 1fr) !important;
        gap: 9px !important;
    }

    .news-ranking-page .ranking-top-thumb {
        width: 80px !important;
        height: 60px !important;
        min-height: 60px !important;
    }

    .news-ranking-page .ranking-top-thumb img,
    .news-ranking-page .ranking-top-thumb .no-thumb {
        min-height: 60px !important;
    }

    .news-ranking-page .ranking-top-num {
        width: 28px !important;
        height: 28px !important;
        font-size: 14px !important;
    }

    .news-ranking-page .ranking-top-card:nth-child(1) .ranking-top-title,
    .news-ranking-page .ranking-top-1 .ranking-top-title,
    .news-ranking-page .ranking-top-card:nth-child(2) .ranking-top-title,
    .news-ranking-page .ranking-top-card:nth-child(3) .ranking-top-title,
    .news-ranking-page .ranking-top-2 .ranking-top-title,
    .news-ranking-page .ranking-top-3 .ranking-top-title {
        font-size: 14px !important;
    }

    .news-ranking-page .ranking-list-item {
        grid-template-columns: 30px 76px minmax(0, 1fr) !important;
        gap: 9px !important;
    }

    .news-ranking-page .ranking-list-thumb {
        width: 76px !important;
    }

    .news-ranking-page .ranking-list-title {
        font-size: 14.3px !important;
    }
}
