/* Mobile CSS - user_css_poster_basic_m.css */
/* (max-width:1199px) */

* { box-sizing: border-box; }

body {
    margin: 0;
    padding: 0;
    background: #fff;
    font-family: 'Nanum Gothic', -apple-system, BlinkMacSystemFont, 'Noto Sans KR', sans-serif;
}
a { cursor: pointer; font-weight: bold; }

/* ───────────────────────────────────────
   전체 래퍼: 모바일은 세로 스택, 여백 없음
─────────────────────────────────────── */
#poster_wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    background: #fff;
}

/* ───────────────────────────────────────
   사이드바 → 상단 영역으로 변환
─────────────────────────────────────── */
#poster_sidebar {
    width: 100%;
    background: #fff;
    border-bottom: 2px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* 로그인 영역 */
#gwon_login_area {
    border-bottom: 1px solid #f0f0f0;
    background: #fafafa;
}
#gwon_login_area_txt {
    padding: 6px 15px;
    text-align: right;
    font-size: 11px;
    color: #777;
}
#gwon_login_area_txt a {
    color: #777;
    font-weight: normal;
    text-decoration: none;
}

/* 대표 이미지: 모바일에서는 적당한 높이로 */
#sidebar_img_area {
    width: 100%;
    max-height: 50vw;
    overflow: hidden;
    background: #f5f5f5;
}
#sidebar_logo_img {
    width: 100%;
    height: auto;
    max-height: 50vw;
    display: block;
    object-fit: cover;
    object-position: center top;
}

/* 캠페인명 */
#sidebar_title_area {
    padding: 10px 15px 6px;
}
#sidebar_title {
    font-size: 14px;
    font-weight: bold;
    color: #222;
    line-height: 1.4;
    margin: 0;
    text-align:center;
    
    word-break: keep-all;
    overflow-wrap: break-word;
    white-space: normal;
}

/* 모집기간 */
#sidebar_date_area {
    padding: 6px 15px 8px;
    border-bottom: 1px solid #f0f0f0;
}
.sidebar_date_label {
    font-size: 10px;
    color: #999;
    font-weight: bold;
    margin-bottom: 2px;
}
.sidebar_date_con {
    font-size: 12px;
    color: #444;
    line-height: 1.6;
    text-align: left;
}
.sidebar_date_tilde {
    display: inline;
    color: #aaa;
    margin: 0 4px;
}
.sidebar_date_block {
    display: inline-block;
    white-space: nowrap;
}

/* 메뉴: 가로 스크롤 탭 형태 */
#sidebar_menu_area {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0;
}
#sidebar_menu_ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    white-space: nowrap;
    justify-content: center; /* 추가 */
}
#sidebar_menu_ul li {
    display: inline-block;
    flex-shrink: 0;
}
.sidebar_down_bt_area{
    display: none !important;
}
a.sidebar_menu_link {
    display: block;
    padding: 10px 16px;
    font-size: 13px;
    color: #444;
    text-decoration: none;
    font-weight: normal;
}
a.sidebar_menu_link:hover { color: #2874a6; }

#sidebar_apply_bt {
    font-size: 12px;
    margin: 6px 12px;
    padding: 6px 14px;
    border-radius: 4px;
}

/* 사이드바 푸터: 모바일에서 숨김 */
#sidebar_footer { display: none; }

/* ───────────────────────────────────────
   우측(하단) 콘텐츠
─────────────────────────────────────── */
#poster_right {
    flex: 1;
    width: 100%;
    overflow-x: hidden;
    background: #fff;
}

/* 콘텐츠 */
#con_area {
    width: 90%;
    margin: 0 auto;
    padding: 15px 2%;
    text-align: center;
    background: #fff;
    clear: both;
}
#main_con_area { background: #fff; }

.con_area_div {
    float: left;
    text-align: left;
    border-bottom: #ebebe3 1px solid;
    width: 96%;
    padding: 15px 2%;
    background: #fff;
}
.con_area_div img { width: 100%; min-width: 50px; }

.con_titles {
    float: left;
    text-align: left;
    font-weight: bold;
    font-size: 18px;
    line-height: 25px;
    padding: 5px 0;
}
#apply_bt_area { text-align: center; }
#apply_bt_title { display: none; }

#other_info {
    float: left;
    display: block;
    border-top: #ebebe3 1px solid;
    width: 100%;
    text-align: left;
    background-color: #fff;
}
#other_info a { font-size: 10px; }

#content_area h1, #content_area h3,
#con_area h1, #con_area h3 {
    font-family: '나눔 명조','Nanum Myeongjo','Palatino Linotype','Book Antiqua','Palatino',serif;
    font-style: normal;
    font-weight: 800;
    margin-bottom: 10px;
    text-align: center;
    width: 100%;
}
#other_info h1, #other_info h3 { text-align: left; }

/* 푸터 */
#bottom {
    clear: both;
    width: 100%;
    padding: 15px 4%;
    background: #f9f9f9;
    border-top: 1px solid #e0e0e0;
}
#bt_top_area { display: none; }
#bt_txt {
    width: 80%;
    margin: 0 auto;
    text-align: center;
    font-size: 11px;
    color: #888;
    line-height: 1.8;
}
#bt_txt a { color: #555; font-weight: normal; }

.contact_gwon_cr_img { display: none; }
.openpage_contact_area_con {
    display: flex;
    align-items: flex-start;
    padding: 12px 4%;
    gap: 10px;
}
.openpage_contact_area_con_detail { flex: 1; }
#contact_info_ul {
    margin: 6px 0 0;
    padding-left: 16px;
    font-size: 12px;
    line-height: 2;
}
#openpage_contact_area { margin-top: 0; }
.sidebar_contact_area_con {
    display: flex;
    align-items: flex-start;
    padding: 10px 15px;
    gap: 10px;
    border-top: 1px solid #f0f0f0;
}
.sidebar_contact_area_con_detail {
    flex: 1;
    font-size: 12px;
    line-height: 1.7;
}

.sidebar_contact_area_con .contact_gwon_cr_img{
    display: none;
}
.sidebar_contact_area_con{
    display: none;
}
#sidebar_date_area{
    display: none;
}
#sidebar_title_area{
    display: none;
}