/* =========================
   Popular Article (전체보기 전용)
========================= */

.popular-article {
    background: #26272B;
    border-radius: 16px;
    padding: 12px;
    color: #fff;
}

/* TITLE */
.popular-article__title {
    font-size: 18px;
    font-weight: 700;
    margin: 40px 0 20px 0;
    color: #fff;
}

.popular-article__title.mobile-ver {
    display: none;
}

/* LIST */
.popular-article__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ITEM */
.popular-article__item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
}

.popular-article__item+.popular-article__item {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* RANK */
.popular-article__rank {
    width: 24px;
    font-size: 24px;
    font-weight: 800;
    color: #5B5B60;
    flex-shrink: 0;
}

/* BODY */
.popular-article__body {
    flex: 1;
    min-width: 0;
}

/* SUBJECT */
.popular-article__subject {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    line-height: 1.45;
    word-break: keep-all;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* META WRAP */
.popular-article__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
}

/* AVATAR */
.popular-article__avatar img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #ea541a;
    flex-shrink: 0;
    overflow: hidden;
}

/* AUTHOR INFO */
.popular-article__author-info {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    font-size: 14px;
}

.popular-article__author {
    font-weight: 600;
    color: #fff;
}

.popular-article__org {
    color: rgba(255, 255, 255, 0.75);
}

.popular-article__role {
    color: rgba(255, 255, 255, 0.55);
}

/* SEPARATORS */
.popular-article__org::before,
.popular-article__role::before {
    content: '|';
    margin: 0 4px;
    color: rgba(255, 255, 255, 0.35);
}

/* EMPTY */
.popular-article__empty {
    padding: 24px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* MORE BUTTON */
.popular-article__more {
    margin-top: 22px;
    width: 100%;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: transparent;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popular-article__more:hover {
    background: rgba(255, 255, 255, 0.06);
}

/* DISABLED */
.popular-article__more.is-disabled,
.popular-article__more:disabled {
    opacity: 0.5;
    cursor: default;
    background: transparent;
}

.popular-article__link {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
    color: inherit;
    text-decoration: none;
}

@media(max-width:960px) {
    .popular-article__title {
        margin: 0 0 20px 0;
    }


    .popular-article__title.mobile-ver {
        display: block;
    }

    .popular-article__title.pc-ver {
        display: none;
    }

    .popular-article__list li:nth-child(n+4) {
        display: none;
    }
}