/* =========================================================================
   삼우건축 고객센터 - 이벤트 갤러리 게시판 스타일
   ========================================================================= */

/* Accessibility */
.sound_only {
    display: none !important;
}

/* ===== Hero Banner Section ===== */
.cs_hero_section {
    width: 100%;
    height: 400px;
    background-image: url('/theme/samwoo/images/pc/event/main.png');
    background-size: auto;
    background-position: center top;
    background-repeat: no-repeat;
}

.cs_hero_section picture {
    display: none; /* Hide default responsive picture on PC */
}

@media (max-width: 1024px) {
    .cs_hero_section {
        height: auto;
        background-image: none;
    }
    .cs_hero_section picture {
        display: block;
    }
    .cs_hero_section picture img {
        width: 100%;
        height: auto;
        display: block;
    }
}

/* ===== Main Container ===== */
.event_content_wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px 100px;
}

.event_section_title {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #222;
    text-align: center;
    margin: 40px 0 30px 0;
    letter-spacing: -0.02em;
}

/* ===== Checkbox styling ===== */
.chk_box {
    position: relative;
    user-select: none;
}

.chk_box input[type="checkbox"] {
    display: none;
}

.chk_box label span {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 1px solid #ccc;
    background: #fff;
    vertical-align: middle;
    margin-right: 8px;
    cursor: pointer;
    border-radius: 3px;
    position: relative;
}

.chk_box input[type="checkbox"]:checked + label span {
    border-color: #927554;
    background-color: #927554;
}

.chk_box input[type="checkbox"]:checked + label span:after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.gallery_all_chk {
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-end;
}

.gallery_all_chk label {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 14px;
    color: #333;
    display: flex;
    align-items: center;
    cursor: pointer;
}

/* ===== Event Grid Layout (4 columns on PC) ===== */
.event_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 20px;
    row-gap: 40px;
    margin-bottom: 50px;
}

.event_card {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Checkbox on top of image for admin */
.event_card_chk {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.8);
    padding: 6px;
    border-radius: 4px;
}

.event_card_chk label span {
    margin-right: 0;
}

.event_card_img_wrap {
    width: 100%;
    aspect-ratio: 1.45; /* Horizontal landscape aspect ratio */
    overflow: hidden;
    border-radius: 8px;
    background-color: #f5f5f5;
    position: relative;
}

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

.event_card:hover .event_card_img {
    transform: scale(1.04);
}

.no_image_placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eaeaea;
    color: #999;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 14px;
    font-weight: 500;
}

.event_card_info {
    padding: 16px 0 4px 0;
}

.event_card_title {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin: 0 0 10px 0;
    line-height: 1.4;
    word-break: keep-all;
    letter-spacing: -0.02em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 44px; /* Fix height for 2 lines to align cards in row */
}

.event_card_date {
    font-family: 'Outfit', 'Noto Sans KR', sans-serif;
    font-size: 14px;
    color: #888;
    font-weight: 400;
}

/* Empty State */
.event_empty {
    text-align: center;
    padding: 80px 0;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 16px;
    color: #888;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 40px;
}

/* ===== Pagination ===== */
.event_pagination_wrap {
    margin-top: 50px;
}

.pg_wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.pg_wrap .pg_current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: #927554;
    color: #fff;
    border-radius: 50%;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 14px;
    font-weight: 700;
    margin: 0 3px;
}

.pg_wrap .pg_page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: #888;
    border-radius: 50%;
    text-decoration: none;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    margin: 0 3px;
}

.pg_wrap .pg_page:hover {
    background: #f5f0eb;
    color: #333;
}

.pg_wrap .pg_start,
.pg_wrap .pg_prev,
.pg_wrap .pg_next,
.pg_wrap .pg_end {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto !important;
    height: 34px;
    line-height: 34px;
    border-radius: 17px !important;
    padding: 0 12px !important;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 13px;
    color: #666;
    text-decoration: none;
    background: #f5f0eb;
    border: 1px solid #e8e2dc;
    transition: all 0.2s;
    box-sizing: border-box;
}

.pg_wrap .pg_start:hover,
.pg_wrap .pg_prev:hover,
.pg_wrap .pg_next:hover,
.pg_wrap .pg_end:hover {
    background: #927554;
    color: #fff;
    border-color: #927554;
}

/* ===== Admin Panel Buttons ===== */
.event_admin_toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.admin_batch_btns {
    display: flex;
    gap: 6px;
}

.admin_write_btn_wrap {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

.btn_admin_opt {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #666;
    border: 1px solid #ddd;
    background: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn_admin_opt:hover {
    border-color: #927554;
    color: #927554;
}

.btn_admin_opt.btn_delete:hover {
    border-color: #e74c3c;
    color: #e74c3c;
    background: #fdf2f2;
}

.btn_admin_write {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 13px;
    font-weight: 600;
    background: #927554;
    color: #fff;
    border: 1px solid #927554;
    border-radius: 4px;
    padding: 8px 20px;
    text-decoration: none;
    transition: all 0.2s;
}

.btn_admin_write:hover {
    background: #7a5f43;
    border-color: #7a5f43;
}


/* =========================================================================
   Responsive Design for Mobile
   ========================================================================= */
@media (max-width: 1024px) {
    .event_content_wrap {
        padding: 40px 20px 60px;
    }

    .event_section_title {
        font-size: 24px;
        margin-bottom: 24px;
    }

    /* 1 column on Mobile */
    .event_grid {
        grid-template-columns: repeat(1, 1fr);
        row-gap: 30px;
        margin-bottom: 30px;
    }

    .event_card_img_wrap {
        border-radius: 8px;
    }

    .event_card_title {
        font-size: 15px;
        height: auto; /* Let text flow naturally */
        margin-bottom: 6px;
        display: block; /* Disable clamping so full title is readable */
    }

    .event_card_date {
        font-size: 13px;
    }

    .event_admin_toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .admin_batch_btns {
        justify-content: flex-start;
    }

    .admin_write_btn_wrap {
        justify-content: flex-end;
        width: 100%;
        margin-left: 0;
    }
}#bo_v {margin-bottom:20px;background:#fff;box-sizing:border-box}

#bo_v_table {position:absolute;top:0;right:16px;margin:0;padding:0 5px;height:25px;background:#ff3061;color:#fff;font-weight:bold;line-height:2.2em}

#bo_v_title {}
#bo_v_title .bo_v_cate {display:inline-block;line-height:20px;background:#e2eaf6;color:#3a8afd;padding:0 10px;border-radius:3px;}
#bo_v_title .bo_v_tit {display:block;font-size:2em;margin:5px 0 0;word-break:break-all}

#bo_v_info {margin:0;border-bottom:1px solid #f1f1f1;color:#666}
#bo_v_info:after {display:block;visibility:hidden;clear:both;content:""} 
#bo_v_info h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}

#bo_v_info .profile_info {margin:20px 0 10px;display:inline-block;float:left}
#bo_v_info .profile_info .pf_img {float:left;margin-right:10px}
#bo_v_info .profile_info .pf_img img {border-radius:50%;width:50px;height:50px}
#bo_v_info .profile_info .profile_info_ct {float:left;padding:5px 0;line-height:18px}

#bo_v_info strong {display:inline-block;margin:0 10px 0 0;font-weight:normal}
#bo_v_info .sv_member,
#bo_v_info .sv_guest,
#bo_v_info .member,
#bo_v_info .guest {font-weight:bold}
#bo_v_info .profile_img {display:none}
#bo_v_info .sv_member {color:#000}
#bo_v_info .if_date {margin:0;color:#888}

#bo_v_file h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#bo_v_file ul {margin:0;list-style:none}
#bo_v_file li {padding:15px;position:relative;margin:10px 0;border:1px solid #dfdfdf;border-radius:5px;
-webkit-box-shadow:1px 1px 5px 0px hsl(232, 36%, 96%);
-moz-box-shadow:1px 1px 5px 0px hsl(232, 36%, 96%);
box-shadow:1px 1px 5px 0px hsl(232, 36%, 96%)}
#bo_v_file li i {float:left;color:#b2b2b2;font-size:2.35em;margin-right:20px}
#bo_v_file a {float:left;display:block;text-decoration:none;word-wrap:break-word;color:#000}
#bo_v_file a:focus, #bo_v_file li:hover a, #bo_v_file a:active {text-decoration:underline;color:#3a8afd}
#bo_v_file img {float:left;margin:0 10px 0 0}
#bo_v_file .bo_v_file_cnt {color:#b2b2b2;font-size:0.92em}
#bo_v_file li:hover {border-color:#bed4f4;color:#bed4f4}
#bo_v_file li:hover i {color:#3a8afd}
#bo_v_file li:hover .bo_v_file_cnt {color:#99c2fc}


#bo_v_link h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#bo_v_file ul {margin:0;list-style:none}
#bo_v_link li {padding:15px;position:relative;margin:10px 0;border:1px solid #dfdfdf;border-radius:5px;
-webkit-box-shadow:1px 1px 5px 0px hsl(232, 36%, 96%);
-moz-box-shadow:1px 1px 5px 0px hsl(232, 36%, 96%);
box-shadow:1px 1px 5px 0px hsl(232, 36%, 96%)}
#bo_v_link li i {float:left;color:#b2b2b2;font-size:2.35em;margin-right:20px}
#bo_v_link a {float:left;display:block;text-decoration:none;word-wrap:break-word;color:#000}
#bo_v_link a:focus, #bo_v_link li:hover a, #bo_v_link a:active {text-decoration:underline;color:#3a8afd}
#bo_v_link .bo_v_link_cnt {color:#b2b2b2;font-size:0.92em}
#bo_v_link li:hover {border-color:#bed4f4;color:#bed4f4}
#bo_v_link li:hover i {color:#3a8afd}
#bo_v_link li:hover .bo_v_link_cnt {color:#99c2fc}


#bo_v_top {zoom:1}
#bo_v_top:after {display:block;visibility:hidden;clear:both;content:""}
#bo_v_top h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#bo_v_top ul {padding:0;list-style:none;word-break:break-all}

#bo_v_bot {zoom:1}
#bo_v_bot:after {display:block;visibility:hidden;clear:both;content:""}
#bo_v_bot h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#bo_v_bot ul {padding:0;list-style:none}

.bo_v_com {margin:20px 0;float:right}
.bo_v_com > li {position:relative;float:left;margin-left:5px}

.bo_v_nb {margin:20px 0;position:relative;clear:both;text-align:left}
.bo_v_nb:after {display:block;visibility:hidden;clear:both;content:""}
.bo_v_nb li {border-top:1px solid #f1f1f1;padding:13px}
.bo_v_nb li:last-child {border-bottom:1px solid #f1f1f1}
.bo_v_nb li:hover {background:#f6f6f6}
.bo_v_nb li i {font-size:13px;color:#b3b3b3}
.bo_v_nb li .nb_tit {display:inline-block;padding-right:20px;color:#b3b3b3}
.bo_v_nb li .nb_date {float:right;color:#b3b3b3}

#bo_v_atc {min-height:200px;height:auto !important;height:200px}
#bo_v_atc_title {position:absolute;font-size:0;line-height:0;overflow:hidden}

#bo_v_img {width:100%;overflow:hidden;zoom:1}
#bo_v_img:after {display:block;visibility:hidden;clear:both;content:""}
#bo_v_img a.view_image {display:block}
#bo_v_img img {margin-bottom:20px;max-width:100%;height:auto}

#bo_v_con {margin:10px 0 30px;width:100%;line-height:1.7em;min-height:200px;word-break:break-all;overflow:hidden}
#bo_v_con a {color:#000;text-decoration:underline}
#bo_v_con img {max-width:100%;height:auto}

#bo_v_act {margin-bottom:30px;text-align:center}
#bo_v_act .bo_v_act_gng {position:relative}
#bo_v_act a {margin-right:5px;vertical-align:middle;color:#4a5158}
#bo_v_act a:hover {background-color:#fff;color:#ff484f;border-color:#ff484f}
#bo_v_act i {font-size:1.4em;margin-right:5px}
#bo_v_act_good, #bo_v_act_nogood {display:none;position:absolute;top:30px;left:0;z-index:9999;padding:10px 0;width:165px;background:#ff3061;color:#fff;text-align:center}
#bo_v_act .bo_v_good {display:inline-block;border:1px solid #dedede;width:70px;line-height:46px;border-radius:30px}
#bo_v_act .bo_v_nogood {display:inline-block;border:1px solid #dedede;width:70px;line-height:46px;border-radius:30px}

#bo_v_sns {padding:0;list-style:none;zoom:1;float:left;display:inline-block}
#bo_v_sns:after {display:block;visibility:hidden;clear:both;content:""}
#bo_v_sns li {float:left;width:135px;margin-right:5px;text-align:left}
#bo_v_sns li a {height:35px;line-height:35px;text-align:center;border-radius:5px;color:#fff;font-size:0.95em}
#bo_v_sns li img {vertical-align:middle;margin-right:5px}
#bo_v_sns li .sns_f {display:block;background:#3b5997}
#bo_v_sns li .sns_t {display:block;background:#09aeee}
#bo_v_sns li .sns_g {display:block;background:#ea4026}
#bo_v_sns li .sns_k {display:block;background:#fbe300}

#bo_v_share {position:relative;padding:20px 0}
#bo_v_share:after {display:block;visibility:hidden;clear:both;content:""}
#bo_v_share .btn {padding:0 10px;color:#555;font-weight:normal;font-size:1em;width:80px;line-height:35px;height:35px;border-color:#d5d5d5;border-radius:5px}
#bo_v_share .btn:hover {background:#fff}
#bo_v_share .btn i {margin-right:5px;color:#4b5259;vertical-align:middle}


/* 게시판 댓글 */
.cmt_btn {width:100%;text-align:left;border:0;border-bottom:1px solid #f0f0f0;background:#fff;font-weight:bold;margin:30px 0 0px;padding:0 0 15px}
.cmt_btn span.total {position:relative;display:inline-block;margin-right:5px;font-size:1em;color:#3a8afd}
.cmt_btn span.cmt_more {float:right;display:inline-block;width:15px;height:10px;background:url(./img/btn_cmt.png) no-repeat right 2px;margin-top:5px}
.cmt_btn_op span.cmt_more {background-position:right -8px}
.cmt_btn b {font-size:1.2em;color:#000}
.cmt_btn span.total:after {position:absolute;bottom:-17px;left:0;display:inline-block;background:#3a8afd;content:"";width:100%;height:2px}
#bo_vc {}
#bo_vc h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#bo_vc article {margin:20px 0;position:relative;border-bottom:1px solid #f0f0f0}
#bo_vc article:after {display:block;visibility:hidden;clear:both;content:""}
#bo_vc article .profile_img img {border-radius:50%}
#bo_vc article .pf_img {float:left;margin-right:10px}
#bo_vc article .pf_img img {border-radius:50%;width:50px;height:50px}
#bo_vc article .cm_wrap {float:left;max-width:870px;width:90%}
#bo_vc header {position:relative;width:100%}
#bo_vc header:after {display:block;visibility:hidden;clear:both;content:""}
#bo_vc header .profile_img {display:none}
#bo_vc header .icon_reply {position:absolute;top:15px;left:-20px}
#bo_vc .member, #bo_vc .guest, #bo_vc .sv_member, #bo_vc .sv_guest {font-weight:bold}
.bo_vc_hdinfo {color:#777}
#bo_vc h1 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#bo_vc .cmt_contents {line-height:1.8em;padding:0 0 20px}
#bo_vc p a {text-decoration:underline}
#bo_vc p a.s_cmt {text-decoration:underline;color:#ed6479}
#bo_vc_empty {margin:0;padding:80px 0 !important;color:#777;text-align:center}
#bo_vc #bo_vc_winfo {float:left}
#bo_vc .bo_vl_opt {position:absolute;top:0;right:0}

.bo_vc_act {display:none;position:absolute;right:0;top:40px;width:58px;text-align:right;border:1px solid #b8bfc4;margin:0;list-style:none;background:#fff;zoom:1;z-index:9999}
.bo_vc_act:before {content:"";position:absolute;top:-8px;right:5px;width:0;height:0;border-style:solid;border-width:0 6px 8px 6px;border-color:transparent transparent #b8bfc4 transparent}
.bo_vc_act:after {content:"";position:absolute;top:-6px;right:5px;width:0;height:0;border-style:solid;border-width:0 6px 8px 6px;border-color:transparent transparent #fff transparent}
.bo_vc_act li {border-bottom:1px solid #f0f0f0}
.bo_vc_act li:last-child {border-bottom:0}
.bo_vc_act li a {display:inline-block;padding:10px 15px}
.bo_vc_act li a:hover {color:#3a8afd}

.bo_vc_w {position:relative;margin:10px 0;display:block}
.bo_vc_w:after {display:block;visibility:hidden;clear:both;content:""}
.bo_vc_w h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
.bo_vc_w #char_cnt {display:block;margin:0 0 5px}
.bo_vc_w textarea {border:1px solid #ccc;background:#fff;color:#000;vertical-align:middle;border-radius:3px;padding:5px;width:100%;height:120px;
-webkit-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.1);
-moz-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.1);
box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.1)}
#wr_secret {}
.bo_vc_w_info {margin:10px 0;float:left}
.bo_vc_w_info:after {display:block;visibility:hidden;clear:both;content:""}
.bo_vc_w_info .frm_input {float:left;margin-right:5px}
.bo_vc_w_info #captcha {padding-top:10px;display:block;clear:both}
.bo_vc_w .btn_confirm {clear:both;margin-top:10px}
.bo_vc_w .btn_confirm label {display:inline-block;margin-right:10px;border-radius:3px;font-size:1.5em;text-align:center}
.bo_vc_w .btn_submit {height:45px;padding:0 20px;border-radius:3px;font-weight:bold;font-size:1.083em}
.bo_vc_w .btn_confirm .secret_cm label {font-size:1em !important}
.bo_vc_w_wr:after {display:block;visibility:hidden;clear:both;content:""}
.secret_cm {display:inline-block;float:left}

#bo_vc_send_sns {display:inline-block;float:left}
#bo_vc_sns {display:inline-block;margin:0;padding:0;list-style:none;zoom:1}
#bo_vc_sns:after {display:block;visibility:hidden;clear:both;content:""}
#bo_vc_sns li {float:left;margin:0 5px 0 0}
#bo_vc_sns .sns_li_f {border-radius:3px;background:#3a589b;height:40px;line-height:40px;padding:0 0 0 10px}
#bo_vc_sns .sns_li_t {border-radius:3px;background:#00aced;height:40px;line-height:40px;padding:0 0 0 10px}
#bo_vc_sns .sns_li_off {background:#bbb}
#bo_vc_sns a {display:inline-block;padding:0 15px 0 5px}
#bo_vc_sns input {margin:0 5px 0 0}

/*글쓰기*/
#bo_w .bo_v_option li {display:inline-block;float:left;text-align:left;margin:0 5px 0 0}
#bo_w .bo_v_option li label {vertical-align:baseline}
#bo_w .bo_v_option .chk_box input[type="checkbox"] + label span {margin-left:0;margin-right:5px}
#bo_w .write_div {margin:10px 0;position:relative}
#bo_w .write_div:after {display:block;visibility:hidden;clear:both;content:""}
#bo_w .bo_w_info:after {display:block;visibility:hidden;clear:both;content:""}
#bo_w .bo_w_info .frm_input {float:left;margin-bottom:1%}
#bo_w #wr_password, #bo_w #wr_homepage {margin-left:1%}
#bo_w .wr_content.smarteditor2 iframe {background:#fff}
#bo_w .bo_w_tit {position:relative}
#bo_w .bo_w_tit .frm_input {padding-right:120px}
#bo_w .bo_w_tit #btn_autosave {position:absolute;top:5px;right:5px;line-height:30px;height:30px}
#bo_w .bo_w_link label {position:absolute;top:1px;left:1px;border-radius:3px 0 0 3px;height:38px;line-height:38px;width:40px;font-size:1.2em;text-align:center;color:#b2b2b2}
#bo_w .bo_w_link .frm_input {padding-left:50px}
#bo_w .bo_w_flie .lb_icon {position:absolute;top:0px;left:0px;border-radius:3px 0 0 3px;height:38px;line-height:38px;width:40px;font-size:1.2em;text-align:center;color:#b2b2b2}
#bo_w .bo_w_flie .frm_file {padding-left:50px;margin-top:3px}
#bo_w .bo_w_flie .file_wr {position:relative;border:1px solid #ccc;background:#fff;color:#000;vertical-align:middle;border-radius:3px;padding:5px;height:40px;margin:0}
#bo_w .bo_w_flie .frm_input {margin:10px 0 0}
#bo_w .bo_w_flie .file_del {position:absolute;top:10px;right:10px;font-size:0.92em;color:#7d7d7d}
#bo_w .bo_w_select select {border:1px solid #d0d3db;width:100%;height:40px;border-radius:3px}
#bo_w .btn_submit {padding:0 20px;font-size:1.167em}
#bo_w .btn_cancel {border-radius:3px;font-size:1.167em}
/* ===== Event Details Page (View) ===== */
.event_view_header {
    border-top: 2px solid #333;
    padding-top: 24px;
    margin-bottom: 40px;
}

.event_view_meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.event_view_title {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #222;
}

.event_view_date {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 14px;
    color: #888;
}

.event_view_content {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 50px;
    word-break: break-all;
    border-bottom: 1px solid #eee;
    padding-bottom: 40px;
}

.event_view_content img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: 20px 0;
    border-radius: 8px;
}

.event_view_images {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    margin-bottom: 40px;
}

.event_img_item {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.02);
}

.event_img_item img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 !important;
}

/* Previous / Next Navigation */
.event_view_nav_list {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.event_view_nav_list .nav_item {
    display: flex;
    align-items: center;
    padding: 18px 12px;
}

.event_view_nav_list .nav_item + .nav_item {
    border-top: 1px solid #f5f5f5;
}

.event_view_nav_list .nav_label {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #888;
    width: 70px;
    flex-shrink: 0;
}

.event_view_nav_list .nav_link {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s;
}

.event_view_nav_list .nav_item:hover .nav_link {
    color: #927554;
}

/* View Actions */
.event_view_actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.event_back_list_btn {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background: #927554;
    text-decoration: none;
    border-radius: 6px;
    padding: 14px 60px;
    transition: all 0.2s;
    display: inline-block;
}

.event_back_list_btn:hover {
    background: #7a5f43;
}

.event_view_admin_opts {
    display: flex;
    gap: 8px;
}

.event_admin_opt_btn {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #888;
    border: 1px solid #ddd;
    padding: 6px 14px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s;
}

.event_admin_opt_btn:hover {
    border-color: #927554;
    color: #927554;
}

@media (max-width: 1024px) {
    .event_view_header {
        padding-top: 18px;
        margin-bottom: 30px;
    }
    .event_view_title {
        font-size: 17px;
    }
    .event_view_content {
        font-size: 15px;
    }
    .event_view_nav_list .nav_item {
        padding: 14px 12px;
    }
    .event_view_nav_list .nav_link {
        font-size: 14px;
    }
}

/* ===== Event Write Page (글쓰기) ===== */
.event_write_wrap {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 44px 40px;
    box-sizing: border-box;
}

.event_write_wrap .write_div {
    margin-bottom: 22px;
}

.event_write_wrap .write_label {
    display: block;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.event_write_wrap .write_label strong {
    color: #e74c3c;
    margin-left: 2px;
}

.event_write_wrap .frm_input {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 13px 18px;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s;
    background: #faf8f6;
    color: #333;
}

.event_write_wrap .frm_input:focus {
    background: #fff;
    border-color: #927554;
}

.event_write_wrap .wr_content {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px;
    background: #faf8f6;
    box-sizing: border-box;
}

.event_write_wrap .wr_content:focus-within {
    background: #fff;
    border-color: #927554;
}

.event_file_upload_box {
    background: #faf8f6;
    border: 1px dashed #d0ccc6;
    border-radius: 6px;
    padding: 18px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.event_file_upload_box input[type="file"] {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 14px;
    color: #555;
    cursor: pointer;
}

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

.event_write_wrap .btn_confirm .btn {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 44px;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.event_write_wrap .btn_confirm .btn_cancel {
    background: #fff;
    border: 1px solid #ddd;
    color: #666;
    text-align: center;
}

.event_write_wrap .btn_confirm .btn_cancel:hover {
    background: #f5f0eb;
}

.event_write_wrap .btn_confirm .btn_submit {
    background: #927554;
    border: 1px solid #927554;
    color: #fff;
}

.event_write_wrap .btn_confirm .btn_submit:hover {
    background: #7a5f43;
}

@media (max-width: 1024px) {
    .event_write_wrap {
        padding: 24px 20px;
    }
    .event_write_wrap .btn_confirm .btn {
        padding: 12px 24px;
        font-size: 14px;
        flex: 1;
        text-align: center;
    }
}
