/* 게시판 전용 — 원본 style.css에 없는 항목만 정의 */

/* 인증서 카드 — 디자인 시안 반영 (배지 원이 카드 안쪽, 하단 라인 2줄) */
.sub .cert-section .cert-list .cert-paper{
    padding: 20px 14px 18px;
}
.sub .cert-section .cert-list .cert-paper .badge{
    position: static;
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    transform: none;
    background: linear-gradient(135deg, var(--main-color) 0%, var(--sub-color) 100%);
}
.sub .cert-section .cert-list .cert-paper .badge img{
    width: 20px;
}
.sub .cert-section .cert-list .cert-paper .line{
    display: block;
    height: 7px;
    border-radius: 4px;
    background-color: #EFF3F7;
}
.sub .cert-section .cert-list .cert-paper .line:first-of-type{
    margin-top: 18px;
}
.sub .cert-section .cert-list .cert-paper .line.short{
    width: 62%;
    margin: 8px auto 0;
}

/* 상세 — 글쓰기 항목과 동일 라벨 */
.sub .cert-view-section .cert-view-info{
    display: grid;
    gap: 12px;
    margin-bottom: 28px;
    padding: 20px 22px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background-color: #fff;
}
.sub .cert-view-section .cert-view-info li{
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 12px;
    align-items: start;
}
.sub .cert-view-section .cert-view-info .label{
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-color);
}
.sub .cert-view-section .cert-view-info .value{
    font-size: 15px;
    color: var(--black-color);
    line-height: 1.5;
    word-break: keep-all;
}
.sub .cert-view-section .cert-view-thumb{
    width: fit-content;
    margin: 0 auto 28px;
}
.sub .cert-view-section .cert-view-thumb .cert-paper{
    position: relative;
    width: 122px;
    margin: 0 auto;
    padding: 20px 14px 18px;
    border: 1px solid var(--line-color);
    border-radius: 6px;
    background-color: #fff;
    box-shadow: 0 6px 16px rgba(20,26,32,0.08);
    text-align: center;
}
.sub .cert-view-section .cert-view-thumb .cert-paper .badge{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--main-color) 0%, var(--sub-color) 100%);
}
.sub .cert-view-section .cert-view-thumb .cert-paper .badge img{
    width: 20px;
}
.sub .cert-view-section .cert-view-thumb .cert-paper b{
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: var(--black-color);
    line-height: 1.3;
}
.sub .cert-view-section .cert-view-thumb .cert-paper span{
    display: block;
    margin-top: 3px;
    font-size: 11px;
    color: #9AA6B2;
    line-height: 1.3;
}
.sub .cert-view-section .cert-view-thumb .cert-paper .line{
    display: block;
    height: 7px;
    border-radius: 4px;
    background-color: #EFF3F7;
}
.sub .cert-view-section .cert-view-thumb .cert-paper .line:first-of-type{
    margin-top: 18px;
}
.sub .cert-view-section .cert-view-thumb .cert-paper .line.short{
    width: 62%;
    margin: 8px auto 0;
}

@media screen and (max-width: 650px){
    .sub .cert-view-section .cert-view-info li{
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

/* 등록된 글이 없을 때 */
.sub .cert-section .cert-list .empty-list{
    grid-column: 1 / -1;
    padding: 60px 0;
    text-align: center;
    font-size: 15px;
    color: var(--gray-color);
    background: none;
    border: 0;
}

/* 인증서 팝업 — 첨부 이미지 */
.certPopup .cert-img img{
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
