/* 공통 */
* {
    list-style: none;
    text-decoration: none;
    margin: 0 auto;
    padding: 0;
    color: #fdfee9;
    line-height: 20px;
}

body {
    background-color: #241d21;
}

p,
a,
h1,
h2,
h3,
h4,
h5,
h6 {
    transform: skew(-0.04deg);
}

/* 레이아웃 */
.contentwrap {}

.contentwrap>.maintext {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.textwrap {
    display: block;
    margin: 0 auto;
    width: 800px;
    padding: 0 20px;
}

.textwrap>h2 {
    font-size: 2.2em;
    font-weight: bold;
    margin-top: 20px;
}

.textwrap>p {
    margin-bottom: 10px;
    color: #fdfee9;
    font-weight: normal;
    font-size: 1.4rem;
    word-break: keep-all;
}

.line {
    width: 800px;
    height: 1px;
    background: #4d4d4d;
}

/* 리스트 */
ul {
    display: block;
    margin: 0 auto;
    width: 800px;
    padding: 0 20px;
}

ul>figcaption {
    margin-top: 15px;
}

/* 리스트 그리드: gap만으로 간격 (가로 margin 병용 시 옆 칸·이름 글자와 겹침 발생) */
#artist-list {
    display: grid;
    grid-template-columns: repeat(7, 100px);
    gap: 12px;
    margin: 15px auto 28px;
    padding: 0;
    width: fit-content;
    justify-content: center;
    min-width: 0;
}


/* 카드 컨테이너 */
#artist-list>.imagecontainer {
    padding: 0 !important;
    background: transparent !important;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100px;
    min-width: 0;
    /* 이미지 100px + 아래 이름: 세로만 간격, 가로는 grid gap에만 맡김 */
    margin: 0 0 4px 0;
    box-sizing: border-box;
}


ul>figcaption>.imagecontainer>h3 {
    margin-top: 4px;
    font-size: 1.2em;
    font-weight: normal;
    text-align: center;
    text-transform: capitalize;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}


/* 정사각형 이미지 + 둥근 모서리 */
#artist-list .artist-img {
    width: 100px;
    height: 100px;
    /* 고정 정사각형 */
    object-fit: cover;
    /* 크면 잘라서 맞춤 */
    border-radius: 12px;
    display: block;
}

/* (선택) 이미지 로딩 중 살짝 배경 */
.loading-skel {
    background: linear-gradient(90deg, #2a2428, #332b2f, #2a2428);
    background-size: 200% 100%;
    animation: sk 1.2s linear infinite;
}

@keyframes sk {
    to {
        background-position: -200% 0;
    }
}

/* 직퍼·인증 상단 줄: 아티스트 그리드와 겹침 방지를 위해 숨김 (협력기관 페이지는 별도 레이아웃) */
.jigpulink {
    display: none !important;
}
footer > .line:first-child {
    display: none;
}

/* 이름 (100px 안에서만 표시 — 긴 한글 이름이 옆 칸과 겹치지 않게) */
#artist-list .artist-name {
    margin-top: 4px;
    width: 100%;
    max-width: 100%;
    font-size: 1.1em;
    font-weight: 400;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fdfee9;
    box-sizing: border-box;
}