@charset "utf-8";

/* --- Product Skin Variables (Local) --- */
:root {
    --p-bg: #ffffff;
    --p-accent: #e9920a;
    --p-text-main: #121212;
    --p-text-sub: #666666;
    --p-border: #f0f0f0;
    --p-shadow: 0 30px 60px rgba(0, 0, 0, 0.06);
    --p-radius: 32px;
}

/* 게시판 공통 컨테이너 */

/* 게시판 카테고리 */
#bo_cate {
    margin: -20px 0 20px 0;
    text-align: center;
}

#bo_cate h2 {
    position: absolute;
    font-size: 0;
    line-height: 0;
    overflow: hidden
}

#bo_cate ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    width: 100%;
    margin: 0 auto;
    border-radius: 100px;

}

#bo_cate li {
    display: inline-block;
    padding: 0
}

#bo_cate a {
    display: block;
    line-height: 1;
    padding: 15px 22px;
    border: none;
    font-weight: 700;
    background: #fff;
    color: #666;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 16px;
    border-radius: 10px;
    border: 1px solid #ddd;
}

#bo_cate a:hover {
    background: #ededed;
}

#bo_cate #bo_cate_on {
    background: var(--p-accent);
    color: #fff;
    border-color: var(--p-accent);
}

/* 게시판 목록 */
/* 게시판 목록 */

#bo_gall #gall_ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
	grid-template-columns:repeat(4,1fr);
	gap:30px;
}

#bo_gall .gall_li {
}

#bo_gall .gall_li .gall_chk {
    position: absolute;
    top: 25px;
    left: 25px;
    z-index: 10
}

#bo_gall .gall_box {
    position: relative;
    background: #fff;
    border-radius: var(--p-radius);
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.2, 1, 0.3, 1);
    border: 1px solid var(--p-border);
    height: 100%;
    display: flex;
    flex-direction: column;
}

#bo_gall .gall_box:hover {
    border-color: var(--p-accent);
}

#bo_gall .gall_con {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.gall_row .col-gn-1 {
    width: 100%
}

.gall_row .col-gn-2 {
    width: 100%
}

.gall_row .col-gn-3 {
    width: 100%
}

.gall_row .col-gn-4 {
    width: 100%
}

.gall_row .col-gn-5 {
    width: 20%
}

#bo_gall .gall_now .gall_text_href a {
    color: var(--p-accent)
}

#bo_gall .gall_img {
    border: none;
    text-align: center;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/11;
    background: #f8f8f8;
}

#bo_gall .gall_img a,
#bo_gall .gall_img .no_image,
#bo_gall .gall_img .is_notice {
    display: block;
    height: 100%;
}

#bo_gall .gall_img img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    transition: all 1s cubic-bezier(0.2, 1, 0.3, 1);
}

#bo_gall .gall_box:hover .gall_img img {
    transform: scale(1.1);
    filter: brightness(0.9);
}

#bo_gall .gall_img span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: #f8f8f8;
    text-transform: uppercase;
    font-weight: 900;
    font-size: 14px;
    color: #ccc;
    letter-spacing: 2px;
}

#bo_gall .gall_text_href {
    padding: 35px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

#bo_gall .bo_tit {
    display: block;
    line-height: 1.3;
    font-weight: 800;
    color: #111;
    font-size: 24px;
    margin-bottom: 0;
    transition: all 0.2s;
    letter-spacing: -1px;
}

.bo_cate_link {
    font-weight: 600;
    font-size: 13px;
    color: #a2a2a2;
    margin-bottom: 10px;
}


#bo_gall .bo_tit .cnt_cmt {
    background: #f0f0f0;
    color: var(--p-accent);
    font-size: 11px;
    height: 18px;
    line-height: 18px;
    padding: 0 6px;
    border-radius: 4px;
    vertical-align: middle;
    margin-left: 5px;
}

#bo_gall .bo_tit .new_icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    line-height: 16px;
    background: #ff3b30;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 800;
    vertical-align: middle;
    margin-left: 5px;
    border: none;
}

#bo_gall .bo_en {
    display: block;
    font-family: 'Outfit';
    font-size: 14px;
    font-weight: 700;
    color: #adadad;
    margin-bottom: 15px;
    text-transform: uppercase;
}

#bo_gall .bo_cnt {
    color: var(--p-text-sub);
    line-height: 1.5;
    font-size: 15px;
    display: none;
}

#bo_gall .gall_info {
    padding: 0 30px 30px;
    border-top: 1px solid #f8f8f8;
    padding-top: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #999;
    font-weight: 700;
    display: flex;
}

#bo_gall .gall_info .gall_date,
#bo_gall .gall_info .gall_view {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

#bo_gall .gall_info i {
    font-size: 16px;
    color: #bbb;
}

/* 페이지 정보 / 버튼 */
#bo_btn_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

#bo_list_total {
    font-size: 14px;
    color: #888;
    font-weight: 700;
}

#bo_list_total strong {
    color: #000;
}

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

.btn_bo_user li {
    position: relative;
    padding: 0;
}

.btn_bo_user .btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    font-size: 20px;
    color: #444;
    transition: var(--transition);
}

.btn_bo_user .btn:hover {
    background: #000;
    color: #fff;
    border-color: #000;
    transform: translateY(-3px);
}

.more_opt {
    display: none;
    position: absolute;
    top: 55px;
    right: 0;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 100;
    width: 140px;
    padding: 10px 0;
    list-style: none;
}

.more_opt li {
    padding: 0;
    display: block;
}

.more_opt li a,
.more_opt li button {
    display: block;
    padding: 10px 20px;
    font-size: 13px;
    color: #444 !important;
    font-weight: 700;
    text-align: left;
    width: 100%;
    border: none !important;
    background: none !important;
    cursor: pointer;
    transition: all 0.2s;
}

.more_opt li a:hover,
.more_opt li button:hover {
    background: #f8f8f8;
    color: var(--p-accent) !important;
}

.more_opt li i {
    margin-left: 5px;
    font-size: 14px;
    opacity: 0.5;
}

/* 검색 팝업 */
.bo_sch_wrap {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
}

.bo_sch_bg {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    width: 100%;
    height: 100%;
}

.bo_sch {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    width: 90%;
    max-width: 450px;
    padding: 50px 40px;
    border-radius: 40px;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.3);
    z-index: 100;
}

.bo_sch h3 {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 25px;
    text-align: center;
}

.bo_sch select {
    width: 100%;
    height: 50px;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 0 15px;
    margin-bottom: 15px;
    font-weight: 700;
}

.bo_sch .sch_bar {
    position: relative;
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
}

.bo_sch .sch_input {
    flex: 1;
    height: 50px;
    border: none;
    padding: 0 20px;
    font-weight: 700;
}

.bo_sch .sch_btn {
    width: 60px;
    height: 50px;
    border: none;
    background: var(--p-accent);
    color: #fff;
    font-size: 20px;
}

.bo_sch .bo_sch_cls {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: #ccc;
    border: none;
    background: none;
}

/* 폼 요소 공통 */
.selec_chk {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    opacity: 0;
    outline: 0;
    z-index: -1;
    overflow: hidden
}

.bo_v_option {
    display: flex;
    flex-direction: column;
    gap: 15px;
    list-style: none;
    padding: 0;
}

.chk_box {
    position: relative;
    display: block;
}

.chk_box input[type="checkbox"]+label {
    position: relative;
    padding-left: 35px;
    color: #444;
    font-weight: 700;
    cursor: pointer;
    display: inline-block;
    line-height: 24px;
    min-height: 24px;
}

.chk_box input[type="checkbox"]+label span {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    display: block;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 6px;
    transition: all 0.3s;
}

.chk_box input[type="checkbox"]:checked+label span {
    background: var(--p-accent);
    border-color: var(--p-accent);
}

.chk_box input[type="checkbox"]:checked+label span:after {
    content: '\f00c';
    font-family: 'Line Awesome Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 14px;
}

/* 페이지네이션 */
.mw_pagination .pg_wrap {
    display: flex;
    justify-content: center;
    gap: 10px;
    float: initial;
}

.mw_pagination .pg_page,
.mw_pagination .pg_current {
    width: 44px;
    height: 44px;
    line-height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-weight: 800;
    transition: all 0.3s;
    border-color: var(--p-accent);
}

.mw_pagination .pg_page {
    background-color: #fff;
    border: 1px solid #eee;
    color: #888;
}

.mw_pagination .pg_page:hover {
    border-color: var(--p-accent);
    color: var(--p-accent);
}

.mw_pagination .pg_current {
    background: var(--p-accent);
    color: #fff;
}

/* --- 게시물 본문 (view.skin.php) --- */

#bo_v header {
    margin-bottom: 20px;
}

#bo_v_title .bo_v_cate {
    margin-bottom: 15px;
    display: inline-block;
    background: #f8f8f8;
    color: var(--p-accent);
    padding: 5px 15px;
    border-radius: 5px;
    font-weight: 800;
    font-size: 14px;
}

#bo_v_title .bo_v_tit {
    display: block;
    font-size: 38px;
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.2;
    color: #000;
}

#bo_v_summary {
    background: #fbfbfb;
    border-radius: 20px;
    padding: 30px;
    margin: 20px 0 60px 0;
    line-height: 1.6;
    border: 1px solid var(--p-border);
}

.v_summary_text {
    font-size: 18px;
    font-weight: 700;
    color: #444;
}

#bo_v_summary i {
    color: var(--p-accent);
    font-size: 24px;
    vertical-align: middle;
    margin-right: 8px;
}

/* 상세페이지 하단 버튼 */
#bo_v_bot {
    margin-top: 80px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.bo_v_list_btn .btn_large {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 18px 60px;
    border-radius: 100px;
    font-size: 18px;
    font-weight: 800;
    transition: all 0.3s;
    text-decoration: none;
}

.bo_v_list_btn .btn_large:hover {
    background: var(--p-accent);
}

.bo_v_opt_btn {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

#bo_v_info {
    background: #f8f8f8;
    padding: 0 30px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#bo_v_info .profile_info_ct span {
    margin-right: 20px;
    color: #777;
    font-size: 14px;
}

#bo_v_info .profile_info_ct strong {
    color: #333;
}

#bo_v_atc.yesdesign {
    background: #ffffff;
    padding: 40px;
    border-radius: 32px;
    border: 1px solid #f0f0f0;
}

#bo_v_img {
    margin-bottom: 50px;
}

.v_img_item {
    margin-bottom: 30px;
    text-align: center;
}

.v_img_item img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

#bo_v_con {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
}

#bo_v_link {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

#bo_v_link h2 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 25px;
}

#bo_v_link ul {
    list-style: none;
    padding: 0;
}

#bo_v_link li {
    background: #fff;
    border: 1px solid #eee;
    padding: 20px 25px;
    border-radius: 15px;
    margin-bottom: 15px;
    transition: all 0.3s;
}

#bo_v_link li:hover {
    border-color: var(--p-accent);
    background: #fbfbfb;
}

#bo_v_link li a {
    font-weight: 700;
    color: #333;
    display: block;
}

.bo_v_nb {
    margin-top: 80px;
    border-top: 1px solid #eee;
    list-style: none;
    padding: 0;
}

.bo_v_nb li {
    padding: 30px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.bo_v_nb .nb_tit {
    display: inline-block;
    width: 120px;
    color: #aaa;
    font-weight: 800;
    font-size: 14px;
}

.bo_v_nb li a {
    font-weight: 700;
    color: #333;
    flex: 1;
}

.bo_v_nb li a:hover {
    color: var(--p-accent);
}

/* --- 글쓰기 (write.skin.php) --- */
#bo_w {
    padding: 0;
}

#bo_w h2 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 50px;
    text-align: center;
    letter-spacing: -1px;
}

#fwrite {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.write_div {
    margin-top: 20px;
}

.write_div label {
    display: block;
    margin-bottom: 10px;
    font-weight: 800;
    color: #333;
    font-size: 16px;
}

.write_div select {
    width: 100%;
    height: 50px;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 0 15px;
    font-weight: 700;
}

.frm_input,
.frm_file {
    font-size: 14px !important;
    font-weight: 500 !important;
}


.file_wr .file_del * {
    display: inline-block;
    vertical-align: middle;
    margin: 0;
    font-weight: 500;
}

.write_div .full_input {
    width: 100%;
    height: 50px;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 0 15px;
    font-size: 15px;
}

.bo_w_info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.bo_file_header {
    margin: 60px 0 10px;
    padding: 15px 0;
    border-bottom: 2px solid #333;
}

.bo_file_header:first-of-type {
    margin-top: 40px;
}

.bo_file_header h3 {
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bo_file_header i {
    font-size: 24px;
    color: var(--p-accent);
}

.bo_w_flie {
    margin-top: 15px;
}

.file_wr {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    background: #fbfbfb;
}

.file_wr .full_input {
    margin-top: 10px;
    height: 40px;
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 0 10px;
}

.file_del {
    margin-top: 10px;
    font-size: 13px;
    color: #777;
}

#captcha {
    margin-top: 30px;
    text-align: center;
}

.btn_confirm {
    margin-top: 50px;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn_confirm .btn_cancel {
    height: 60px;
    line-height: 60px;
    padding: 0 40px;
    background: #eee;
    border-radius: 10px;
    font-weight: 800;
    color: #666;
}

.btn_confirm .btn_submit {
    height: 60px;
    line-height: 60px;
    padding: 0 50px;
    background: var(--p-accent);
    border-radius: 10px;
    font-weight: 800;
    color: #fff;
    border: none;
}

/* --- Mobile Responsive --- */
@media (max-width: 1400px) {
    .gall_row .col-gn-3 {
        width: 50%;
    }
}

@media (max-width: 900px) {

	#bo_gall #gall_ul {grid-template-columns:1fr; gap:20px;}

    .gall_row .col-gn-3,
    .gall_row .col-gn-4 {
        width: 100%;
    }

    #bo_gall .gall_li {
        padding: 0;
        margin-bottom: 30px;
    }


    #bo_cate ul {
        flex-wrap: wrap;
        border-radius: 20px;
        padding: 0;
        gap: 6px;
    }

    #bo_cate a {
        padding: 10px 15px;
        font-size: 15px;

    }

    .profile_info_ct {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    #bo_v_title .bo_v_tit {
        font-size: 28px;
    }

    #bo_v_info {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

}

/*커스텀 디자인*/
/* ex Skin Custom Styles */
#bo_v header {
    margin-bottom: 25px;
    text-align: center;
}

#bo_v_cate {
    color: #e9920a;
    font-weight: 800;
    font-size: 15px;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

#bo_v_title .bo_v_tit {
    font-size: 40px;
    font-weight: 800;
    color: #000;
    letter-spacing: -2px;
    line-height: 1.2;
}

#bo_v_info {
    background: transparent;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    padding-bottom: 20px;
}

#bo_v_info .profile_info_ct span {
    margin-right: 25px;
    color: #888;
    font-size: 14px;
    font-weight: 600;
}

#bo_v_info .profile_info_ct strong {
    color: #111;
    margin-left: 4px;
}

#bo_v_info i {
    color: #e9920a;
    margin-right: 2px;
    font-size: 16px;
}

#bo_v_box {
    background: #fff;
    padding: 60px;
	margin-top:40px;
    border-radius: 40px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.03);
    min-height: 200px;
}

#bo_v_con {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

#bo_v_img {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.v_img_item {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.v_img_item img.v_main_img {
    display: block;
    width: 100%;
    height: auto;
}

.v_img_item .v_watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 352px !important;
    opacity: 0.3;
    pointer-events: none;
    filter: brightness(0) invert(1);
    z-index: 10;
    box-shadow: none !important;
}

@media screen and (max-width: 768px) {
    #bo_v_title .bo_v_tit {
        font-size: 28px;
    }

    #bo_v_box {
        padding: 30px 20px;
        border-radius: 20px;
    }

    #bo_v_info {
        flex-direction: column;
        gap: 8px;
    }

    #bo_v_info .profile_info_ct span {
        margin-right: 0;
        display: block;
		font-size:12px;
    }
}