﻿@charset "utf-8";

/* =============================================
   포트폴리오 게시판 전용 스타일
   공통 버튼/체크박스 등은 board.css 에서 관리
   ============================================= */

/* 래퍼 */
#pf_list_wrap {
    width: 100%;
    padding-top: 100px;
}

/* 기본 게시판 타이틀 숨김 (자체 타이틀 사용) */
#container_title {
    display: none;
}

/* 페이지 타이틀 */
.pf_title_area {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 60px;
}

.pf_title {
    font-family: 'Pretendard', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: #000;
    letter-spacing: -0.8px;
    line-height: 1.4;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
}

.pf_subtitle {
    font-family: 'Pretendard', sans-serif;
    font-size: 24px;
    font-weight: 500;
    color: #666;
    letter-spacing: -0.48px;
    line-height: 1.4;
    margin: 0;
}

/* 상단 버튼 영역 */
#bo_btn_top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

/* 삭제 버튼 */
.btn_del {
    display: inline-block;
    background: #e53935;
    padding: 0 15px;
    color: #fff;
    text-decoration: none;
    border: 0;
    vertical-align: middle;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
}
.btn_del:hover {
    background: #c62828;
}

#bo_list_total {
    font-family: 'Pretendard', sans-serif;
    font-size: 14px;
    color: #999;
}

/* 카드 그리드 */
.pf_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    width: 100%;
}

/* 카드 */
.pf_card {
    display: flex;
    flex-direction: column;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.pf_card:hover {
    text-decoration: none;
    color: inherit;
}

/* 이미지 영역 */
.pf_img_wrap {
    display: block;
    width: 100%;
    aspect-ratio: 453 / 640;
    overflow: hidden;
    position: relative;
}

.pf_img_wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.pf_card:hover .pf_img_wrap img {
    transform: scale(1.04);
}

.pf_no_image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #eee;
    color: #aaa;
    font-size: 14px;
    font-family: 'Pretendard', sans-serif;
}

/* 정보 바 */
.pf_info {
    background: #f8f8f8;
    padding: 32px 20px 20px;
    height: 160px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 12px;
    box-sizing: border-box;
}

.pf_info_top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    text-decoration: none;
}

.pf_info_top:hover {
    text-decoration: none;
}

.pf_name {
    font-family: 'Pretendard', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #000;
    letter-spacing: -0.48px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.pf_arrow {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
}

.pf_desc {
    font-family: 'Pretendard', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #666;
    letter-spacing: -0.4px;
    line-height: 1.4;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 빈 목록 */
.pf_empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 0;
    font-family: 'Pretendard', sans-serif;
    font-size: 16px;
    color: #999;
}

/* 공지 배지 */
.pf_card .is_notice {
    display: inline-block;
    background: #000;
    color: #fff;
    font-size: 12px;
    padding: 2px 8px;
}

/* 새글 아이콘 */
.new_icon {
    display: inline-block;
    background: #f00;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 4px;
    margin-left: 4px;
    vertical-align: middle;
}

/* 체크박스 - 포트폴리오 전용 (공중 띄우기) */
.gall_chk.chk_box {position:absolute;top:8px;left:8px;z-index:10}

/* 페이지네이션 */
#bo_paging { margin-top: 60px; }

/* 카테고리 - 포트폴리오 블랙 테마 오버라이드 */
#bo_cate {margin: 0 0 30px}
#bo_cate ul {gap:8px}
#bo_cate a {border-radius:20px;border:1px solid #ddd;color:#666;font-family:'Pretendard',sans-serif;font-size:14px}
#bo_cate a:hover, #bo_cate #bo_cate_on {background:#000;color:#fff;border-color:#000}

/* =============================================
   포트폴리오 작성 폼 (공통 스타일은 board.css)
   ============================================= */

/* 포트폴리오 전용: 상단 여백 */
#bo_w {
    padding-top: 100px;
}

/* 이름/이메일 등 숨김 */
#bo_w .bo_w_info {
    display: none;
}

/* =============================================
   포트폴리오 뷰 페이지
   ============================================= */

/* 뷰 래퍼 */
#pf_view_wrap {
    width: 100%;
    padding-top: 100px;
}

/* 제목 영역 */
.pfv_header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 60px;
}

.pfv_category {
    font-family: 'Pretendard', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #999;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0;
}

.pfv_title {
    font-family: 'Pretendard', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: #000;
    letter-spacing: -0.8px;
    line-height: 1.4;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
}

.pfv_subtitle {
    font-family: 'Pretendard', sans-serif;
    font-size: 24px;
    font-weight: 500;
    color: #666;
    letter-spacing: -0.48px;
    line-height: 1.4;
    margin: 0;
}

/* 메타 정보 영역 */
.pfv_meta {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 60px;
}

.pfv_meta_row {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.pfv_meta_label {
    font-family: 'Pretendard', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #000;
    letter-spacing: -0.48px;
    line-height: 1.4;
    min-width: 48px;
    flex-shrink: 0;
}

.pfv_meta_value {
    font-family: 'Pretendard', sans-serif;
    font-size: 24px;
    font-weight: 500;
    color: #666;
    letter-spacing: -0.48px;
    line-height: 1.4;
}

/* 이미지 그리드 */
.pfv_images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    width: 100%;
    margin-bottom: 60px;
}

.pfv_img_item {
    width: 100%;
}

.pfv_img_item img {
    max-width: 100%;
    max-height: 100%;
    display: block;
}

/* 본문 */
.pfv_content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 60px;
}

/* 하단 영역 */
.pfv_foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid #eee;
    gap: 20px;
}

.pfv_btn_list {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 이전/다음 */
.pfv_nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: right;
}

.pfv_nav li a {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    font-family: 'Pretendard', sans-serif;
    font-size: 14px;
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
    max-width: 400px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pfv_nav li a:hover {
    color: #000;
}

.pfv_nav_label {
    font-size: 12px;
    font-weight: 700;
    color: #aaa;
    flex-shrink: 0;
}
