@charset "utf-8";

/* =========================================================
   공통 & 프리미엄 아카이브 폰트/컬러 세팅
========================================================= */
body, input, textarea, select, button { font-family: 'Pretendard', -apple-system, sans-serif; }
#bo_v, #bo_w { max-width: 1280px; margin: 40px auto 80px; color: #111; letter-spacing: -0.02em; }

/* =========================================================
   [게시물 읽기 - view.skin.php] 전시 도록 스타일
========================================================= */
#bo_v_title { border-bottom: 2px solid #111; padding-bottom: 20px; margin-bottom: 20px; text-align: center; }
#bo_v_title .bo_v_cate { display: inline-block; font-size: 13px; font-weight: 700; color: #fff; background: #111; padding: 4px 12px; border-radius: 20px; margin-bottom: 15px; }
#bo_v_title .bo_v_tit { display: block; font-size: 2.5em; font-weight: 800; line-height: 1.3; word-break: keep-all; }

#bo_v_info { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #eee; padding-bottom: 20px; margin-bottom: 40px; color: #666; font-size: 15px; }
#bo_v_info .profile_info { display: flex; align-items: center; gap: 15px; }
#bo_v_info .profile_info_ct strong { color: #111; font-weight: 600; margin-right: 15px; }

/* 읽기 상단/하단 버튼 커스텀 */
.btn_bo_user { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0; }
.btn_b01.btn { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 20px; font-size: 14px; font-weight: 600; color: #555; background: #f5f5f7; border-radius: 30px; border: 1px solid transparent; transition: all 0.3s ease; text-decoration: none; }
.btn_b01.btn:hover { background: #111; color: #fff; }

/* 본문 영역 */
#bo_v_con { font-size: 17px; line-height: 1.8; color: #333; min-height: 400px; padding: 20px 0; }
#bo_v_img img { max-width: 100%; border-radius: 12px; margin-bottom: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }

/* 첨부파일 다운로드 버튼 */
#bo_v_file ul { list-style: none; padding: 0; margin: 30px 0; }
#bo_v_file li { display: flex; align-items: center; padding: 15px 25px; background: #fdfdfd; border: 1px solid #e5e5e5; border-radius: 12px; margin-bottom: 10px; transition: 0.3s; }
#bo_v_file li:hover { border-color: #111; box-shadow: 0 4px 15px rgba(0,0,0,0.03); }
#bo_v_file li i { font-size: 24px; color: #111; margin-right: 15px; }
#bo_v_file a { font-size: 15px; font-weight: 600; color: #111; text-decoration: none; flex-grow: 1; }
#bo_v_file .bo_v_file_cnt { font-size: 13px; color: #888; }

/* =========================================================
   [게시물 쓰기 - write.skin.php] 모던 폼 UI
========================================================= */
#bo_w .write_div { margin-bottom: 20px; border-bottom: 1px solid #f5f5f7; padding-bottom: 20px; }
#bo_w .frm_input { width: 100%; height: 50px; border: 1px solid #e5e5e5; background: #fff; border-radius: 8px; padding: 0 15px; font-size: 15px; transition: 0.3s; box-sizing: border-box; }
#bo_w .frm_input:focus { border-color: #111; outline: none; box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.05); }
#bo_w .half_input { width: calc(50% - 10px); display: inline-block; }

/* 👑 명인/명장 라디오 버튼 탭 스타일링 */
.custom-radio-group { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.custom-radio-group input[type="radio"] { display: none; /* 기본 라디오 버튼 숨김 */ }
.custom-radio-group label { display: inline-block; padding: 12px 24px; font-size: 15px; font-weight: 600; color: #777; background: #f5f5f7; border: 1px solid #e5e5e5; border-radius: 30px; cursor: pointer; transition: all 0.2s ease; }
.custom-radio-group input[type="radio"]:checked + label { background: #111; color: #fff; border-color: #111; box-shadow: 0 4px 12px rgba(0,0,0,0.15); }

/* 파일 첨부 영역 */
#bo_w .bo_w_flie .file_wr { position: relative; border: 1px solid #e5e5e5; border-radius: 8px; height: 50px; display: flex; align-items: center; padding: 0 15px; }
#bo_w .bo_w_flie .lb_icon { margin-right: 15px; font-size: 18px; color: #111; }
#bo_w .bo_w_flie input[type="file"] { font-size: 14px; color: #555; }

/* 하단 작성 버튼 */
.btn_confirm { text-align: center; margin-top: 40px; border-bottom: none !important; }
.btn_confirm .btn_submit { background: #111; color: #fff; font-size: 16px; font-weight: 700; padding: 0 40px; height: 55px; border-radius: 30px; border: none; cursor: pointer; transition: 0.3s; }
.btn_confirm .btn_submit:hover { background: #000; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.btn_confirm .btn_cancel { background: #fff; color: #111; font-size: 16px; font-weight: 600; padding: 0 30px; height: 55px; line-height: 53px; border-radius: 30px; border: 1px solid #e5e5e5; display: inline-block; text-decoration: none; transition: 0.3s; margin-right: 10px; }
.btn_confirm .btn_cancel:hover { background: #f5f5f7; }


/* =========================================================
   [아카이브 뷰어] 전시 도록형 레이아웃 세팅 (최종 완성본)
========================================================= */
.archive-view-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 60px auto 100px;
    padding: 0 20px;
    font-family: 'Pretendard', -apple-system, sans-serif;
    color: #111;
}

/* 상단 버튼 영역 */
.archive-top-btn { text-align: right; margin-bottom: 50px; }
.archive-top-btn a { display: inline-block; padding: 8px 18px; border-radius: 30px; text-decoration: none; font-size: 13px; font-weight: 700; margin-left: 8px; transition: all 0.2s ease; }
.archive-top-btn .btn-back { background: #111; color: #fff; }
.archive-top-btn .btn-admin { border: 1px solid #ccc; color: #555; background: #fff; }
.archive-top-btn .btn-back:hover { background: #333; }
.archive-top-btn .btn-admin:hover { background: #f5f5f5; }

/* 헤더 (이름, 서브타이틀) */
.archive-header { text-align: center; margin-bottom: 60px; }
.archive-header .archive-title { font-size: 3.5rem; font-weight: 900; letter-spacing: -0.04em; margin-bottom: 15px; color: #111; line-height: 1.2; }
.archive-header .archive-subtitle { font-size: 1.3rem; font-weight: 600; color: #555; letter-spacing: -0.02em; }

/* 👑 본문 2단 분할 레이아웃 (뼈대) */
.archive-body {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 50px;
    max-width: 950px;
    margin: 0 auto;
}

/* 좌측 이미지 박스 */
.archive-left { flex: 0 0 380px; }
.archive-left img { width: 100%; height: auto; display: block; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); }

/* 우측 텍스트 정보 박스 */
.archive-right { flex: 1; }

/* 단답형 리스트 (인증번호, 분야 등 좌우 열 맞춤) */
.archive-specs { list-style: none; padding: 0; margin: 0 0 40px 0; border-top: 2px solid #111; }
.archive-specs li { display: flex; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid #eee; }
.archive-specs li strong { flex: 0 0 110px; font-size: 15px; font-weight: 800; color: #111; }
.archive-specs li span { flex: 1; font-size: 15px; color: #444; line-height: 1.6; }

/* 긴 프로필/작가노트 텍스트 영역 */
.info-block { margin-bottom: 35px; }
.info-block h3 { font-size: 16px; font-weight: 800; color: #111; margin-bottom: 15px; padding-bottom: 15px; border-bottom: 2px solid #111; }
.info-block .info-desc { font-size: 15px; line-height: 1.8; color: #444; padding-left: 10px; word-break: keep-all; }

/* 모바일 반응형 처리 */
@media (max-width: 850px) {
    .archive-body { flex-direction: column; align-items: center; gap: 40px; }
    .archive-left { flex: 0 0 auto; width: 100%; max-width: 450px; }
    .archive-header .archive-title { font-size: 2.5rem; }
}





/* 모바일 반응형 처리 (스마트폰 & 태블릿 완벽 대응) */
@media (max-width: 850px) {
    .archive-body { 
        flex-direction: column; 
        align-items: center; 
        gap: 30px; 
    }
    .archive-left { 
        flex: 0 0 auto; 
        width: 100%; 
        max-width: 400px; /* 모바일에서도 사진이 너무 비대해지지 않도록 조절 */
    }
    .archive-right { 
        width: 100%; /* 우측 텍스트 박스가 화면 꽉 차게 방어 */
        box-sizing: border-box; 
    }
    .archive-header .archive-title { 
        font-size: 2.2rem; 
        word-break: keep-all; 
    }
    .archive-top-btn { 
        text-align: center; /* 모바일에서는 상단 버튼도 중앙으로 */
    }
}

/* 아주 작은 스마트폰 화면 대응 */
@media (max-width: 480px) {
    .archive-header .archive-title { 
        font-size: 1.8rem; /* 타이틀 크기 축소 */
    }
    .archive-specs li {
        padding: 12px 0;
    }
    .archive-specs li strong { 
        flex: 0 0 90px; /* 제목 칸 너비 살짝 축소 */
        font-size: 14px; 
    }
    .archive-specs li span { 
        font-size: 14px; 
    }
    .info-block h3 { 
        font-size: 15px; 
    }
    .info-block .info-desc { 
        font-size: 14px; 
        padding-left: 0; /* 모바일에서는 들여쓰기 제거해서 공간 확보 */
    }
}