@import url('/css/portfolio.css');

/* 이더블케이 — 공지사항(notices) 전용 CSS
   디지털 스튜디오 공지사항과 동일: 썸네일 없는 nt-list 행 리스트.
   공통 dg / pf / in-d 계열 시스템은 portfolio.css 재사용(위 @import).
   제목 앞에 스튜디오 라벨(.nt-studio) 표시. */

/* ── 공지 리스트(행) ── */
.nt-list {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.nt-list li + li {
    border-top: 1px solid var(--line2);
}

.nt-list a {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 17px 22px;
    transition: background .15s;
}

.nt-list a:hover {
    background: var(--bg2);
}

/* 제목 앞 스튜디오 라벨(소프트 틴트 pill, 영문 · 스튜디오 포인트색은 인라인 color) */
.nt-list .nt-studio {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    padding: 3px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .02em;
    background: color-mix(in srgb, currentColor 12%, #fff);
}

.nt-list .nt-title {
    flex: 1;
    min-width: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nt-list a:hover .nt-title {
    color: var(--blue);
}

.nt-list .nt-date {
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray2);
    font-variant-numeric: tabular-nums;
}

.nt-list .nt-go {
    flex: 0 0 auto;
    font-size: 18px;
    color: var(--gray2);
    transition: .15s;
}

.nt-list a:hover .nt-go {
    color: var(--blue);
    transform: translateX(2px);
}

/* ── 모바일: 스튜디오·날짜 한 줄, 제목 아래로 ── */
@media (max-width: 680px) {
    .nt-list a {
        flex-wrap: wrap;
        gap: 6px 12px;
        padding: 14px 16px;
    }

    .nt-list .nt-studio {
        min-width: 0;
        order: 1;
    }

    .nt-list .nt-date {
        order: 2;
        margin-left: auto;
    }

    .nt-list .nt-title {
        order: 3;
        flex: 1 1 100%;
        white-space: normal;
    }

    .nt-list .nt-go {
        display: none;
    }
}
