/* ==========================================================================
 * [호스트 · 납품 제외] 경기도일자리재단 누리집 게시물 상세페이지 목업
 * gjf.or.kr /main/pst/view.do 실측값 재현 (2026-09-03)
 *   컨테이너 1272(패딩 33) · 상단바 42px #2A71B9 · 헤더 105px · 푸터 #222
 * ========================================================================== */
@font-face { font-family: "ONE Mobile"; src: url("../assets/ONE-Mobile-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "ONE Mobile Title"; src: url("../assets/ONE-Mobile-Title.woff") format("woff"); font-weight: 700; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 15.2px/1.5 "Noto Sans KR", "Malgun Gothic", "맑은 고딕", arial, sans-serif; color: #000; background: #fff; letter-spacing: -.01em; word-break: keep-all; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; }
img { vertical-align: middle; }
.skip { position: absolute; left: 0; top: -40px; }
.skip:focus { top: 0; background: #000; color: #fff; padding: 8px 12px; z-index: 100; }

/* ------------------------------------------------------------ header */
header { position: relative; z-index: 10; background: #fff; }
.hd_inner { max-width: 1272px; margin: 0 auto; padding: 0 20px; }
.hd_top { background: #2a71b9; height: 42px; }
.hd_top .hd_inner { display: flex; justify-content: flex-end; align-items: center; height: 42px; }
.util_list { display: flex; gap: 22px; }
.util_list a { color: #fff; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.util_list svg { width: 16px; height: 16px; }
.hd_bot { border-bottom: 1px solid #e5e5e5; }
.hd_bot .hd_inner { display: flex; align-items: center; height: 105px; }
.logo img { width: 151px; height: 34px; }
.nav { flex: 1; display: flex; justify-content: center; }
.nav_list { display: flex; gap: 0; }
.nav_list > li { position: relative; }
.depth01 { display: flex; align-items: center; height: 105px; padding: 0 43px; font: 400 20px/1 "ONE Mobile", "Noto Sans KR", sans-serif; color: #000; }
.nav_list > li.on .depth01::after, .depth01:hover::after { content: ""; position: absolute; left: 43px; right: 43px; bottom: 0; height: 3px; background: #2a71b9; }
.hd_tools { display: flex; align-items: center; gap: 14px; }
.btn_search { all: unset; width: 28px; height: 28px; cursor: pointer; color: #000; }
.btn_search svg { width: 28px; height: 28px; }
.btn_allmenu { all: unset; display: none; width: 26px; height: 20px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.btn_allmenu span { display: block; height: 2px; background: #000; border-radius: 1px; }

/* ------------------------------------------------------------ container */
#container { padding: 38px 0 95px; }
.inner { max-width: 1272px; margin: 0 auto; padding: 0 33px; }
.right_contents { padding-top: 90px; }

.page_title_area { border-bottom: 1px solid #ddd; padding-bottom: 28.5px; margin-bottom: 52.25px; }
.page_breadcrumb { margin-bottom: 38px; }
.bcmb_list { display: flex; align-items: center; }
.bcmb_item { display: flex; align-items: center; font-size: 15.2px; }
.bcmb_item + .bcmb_item::before { content: ""; width: 7px; height: 7px; border-right: 1.5px solid #999; border-top: 1.5px solid #999; transform: rotate(45deg); margin: 0 14px 0 12px; }
.bcmb_home { display: inline-flex; width: 17px; height: 17px; color: #000; }
.bcmb_home svg { width: 17px; height: 17px; }
.bcmb_anchor { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.bcmb_cur { color: #555; }
.page_title_row { display: flex; align-items: center; justify-content: space-between; }
.page_title { font-size: 34.2px; font-weight: 900; line-height: 1.4; letter-spacing: -.02em; }
.btn_share { display: inline-flex; align-items: center; justify-content: center; width: 43px; height: 43px; border-radius: 50%; border: 1px solid #ddd; background: #fff; color: #000; }
.btn_share svg { width: 20px; height: 20px; }

/* 게시물 상세 */
.cm_board_view { margin-top: -52.25px; background: #fff; }
.board_view_head { padding: 33.25px 38px; }
.view_title_area { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.view_title { font-size: 24.7px; font-weight: 600; line-height: 1.6; letter-spacing: -.02em; }
.view_title_tools { flex: none; display: flex; align-items: center; gap: 8px; padding-top: 0; }
.view_info { display: flex; flex-wrap: wrap; margin: 14.25px 0 -4.75px -14.25px; }
.view_info li { position: relative; padding: 4.75px 14.25px; font-size: 14.25px; color: #000; }
.view_info li + li::before { content: ""; position: absolute; left: 0; top: 50%; height: 12px; margin-top: -6px; border-left: 1px solid #ccc; }
.view_info li span { color: #555; }
.board_view_file { padding: 0 38px 33.25px; }
.form_file_list li { display: flex; align-items: center; gap: 8px; }
.icon_pdf::before { content: "PDF"; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 4px; background: #e5484d; color: #fff; font-size: 8px; font-weight: 700; }
/* 첨부 파일 행 — 파일명 옆 「AI 요약」 버튼 (PDF 만) */
.form_file_list li { align-items: center; }
.form_file_list li + li { margin-top: 10px; }
.file_ai { display: inline-flex; margin-left: 10px; flex: none; }
.btn_file { font-size: 15.2px; color: #000; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #bbb; }
.btn_file:hover { color: #2a71b9; text-decoration-color: currentColor; }
.board_view_cont { border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; padding: 38px; }
.editor_cont { font-size: 15.2px; line-height: 1.75; }
.editor_cont p + p { margin-top: 1.5em; }

.cm_btn_area { text-align: center; margin-top: 38px; }
.btn3 { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 9.5px 28.5px; margin: 4.75px 0; border-radius: 2.85px; background: #000; border: 1px solid #000; color: #fff; font-size: 16.15px; font-weight: 500; }
.cm_paging2 { display: flex; margin-top: 95px; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; }
.page_control { flex: 1; display: block; padding: 23.75px 28.5px 23.75px 57px; position: relative; }
.page_control.next { padding: 23.75px 57px 23.75px 28.5px; border-left: 1px solid #ddd; text-align: right; }
.page_control::before { content: ""; position: absolute; top: 50%; width: 9px; height: 9px; border-left: 2px solid #333; border-bottom: 2px solid #333; margin-top: -5px; }
.page_control.prev::before { left: 28.5px; transform: rotate(45deg); }
.page_control.next::before { right: 28.5px; transform: rotate(-135deg); }
.ctrl_txt { font-size: 15.2px; color: #757575; margin-bottom: 9.5px; }
.ctrl_title { font-size: 16.15px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ctrl_title.none { color: #999; font-weight: 400; }

.cm_copyright { margin-top: 95px; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; }
.copy_btm { display: flex; align-items: center; gap: 22px; padding: 19px 28.5px; font-size: 14.25px; color: #333; }
.copy_mark { flex: none; font-size: 13px; font-weight: 700; color: #2a71b9; border: 1px solid #2a71b9; border-radius: 4px; padding: 4px 8px; }
.copy_btm p { line-height: 1.5; }
.copy_dept { margin-left: auto; display: flex; gap: 18px; color: #555; white-space: nowrap; }
.cm_satisfaction { border-bottom: 1px solid #ddd; }
.stsfc_top { display: flex; align-items: center; justify-content: space-between; padding: 33.25px; gap: 20px; }
.stsfc_txt { font-size: 16.15px; font-weight: 500; margin-bottom: 9.5px; }
.stsfc_sub { font-size: 14.25px; color: #555; margin-bottom: 12px; }
.stsfc_opinion_label { display: flex; gap: 22px; font-size: 15.2px; }
.stsfc_opinion_label label { display: inline-flex; align-items: center; gap: 6px; }
.stsfc_btn { height: 48px; padding: 9.5px 23.75px; border-radius: 100px; border: 1px solid #333; background: #fff; cursor: pointer; }

/* ------------------------------------------------------------ footer */
footer { background: #222; color: #c3c4c6; }
.ft_inner { max-width: 1272px; margin: 0 auto; padding: 0 33px; }
.ft_top { padding: 25px 0; border-bottom: 1px solid #4a4a4a; }
.ft_top .ft_inner { display: flex; justify-content: space-between; align-items: center; }
.ft_nav_list { display: flex; gap: 34px; }
.ft_link { font-size: 16px; color: #c3c4c6; }
.ft_link.em { color: #fff; font-weight: 600; }
.sns_list { display: flex; gap: 10px; }
.ft_sns { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: #3a3a3a; color: #ddd; font-size: 13px; font-weight: 700; }
.ft_bot { padding: 40px 0; }
.ft_bot .ft_inner { display: flex; justify-content: space-between; align-items: flex-start; }
.ft_bot .left { display: flex; gap: 30px; align-items: flex-start; }
.ft_logo img { width: 160px; height: auto; opacity: .9; }
.address { font-size: 15px; line-height: 1.6; }
.copyright { margin-top: 6px; font-size: 14px; color: #8c8d90; }
.family_site_wrap { display: flex; }
.family_site_wrap .select_btn { all: unset; display: inline-flex; align-items: center; justify-content: space-between; width: 200px; height: 46px; padding: 0 16px; border: 1px solid #666; color: #ddd; font-size: 15px; cursor: pointer; }
.family_site_wrap .select_btn i { width: 7px; height: 7px; border-right: 1.5px solid #ddd; border-bottom: 1.5px solid #ddd; transform: rotate(45deg); margin-top: -4px; }
.move_btn { display: inline-flex; align-items: center; height: 46px; padding: 0 20px; background: #444; color: #fff; font-size: 15px; }

/* 목업 범위 밖 링크 — 클릭 불가 */
a.inert, .inert { cursor: default !important; pointer-events: none; }
.gnb_col a.inert, .bcmb_dd a.inert { color: #aaa; }
.page_control.inert { opacity: .6; }

/* ------------------------------------------------------------ GNB 드롭다운 (정책연구) */
.nav_list > li.has_sub { position: relative; }
.gnb_sub { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); min-width: 640px; background: #fff; border: 1px solid #e5e5e5; border-top: 3px solid #2a71b9; box-shadow: 0 14px 34px rgba(0,0,0,.1); padding: 26px 30px 28px; display: none; z-index: 20; }
.nav_list > li.has_sub:hover .gnb_sub, .nav_list > li.has_sub:focus-within .gnb_sub { display: flex; gap: 40px; }
.gnb_col { min-width: 130px; }
.gnb_col > a, .gnb_col > b { display: block; font-size: 16px; font-weight: 700; color: #111; margin-bottom: 10px; }
.gnb_col > a:hover { color: #2a71b9; }
.gnb_col ul li a { display: block; font-size: 14.5px; color: #555; padding: 5px 0; }
.gnb_col ul li a:hover, .gnb_col ul li a.on { color: #2a71b9; font-weight: 600; }
.gnb_col > a.on { color: #2a71b9; }

/* 브레드크럼 드롭다운 */
.bcmb_item.has_dd { position: relative; }
.bcmb_item .bcmb_dd_btn { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-size: 15.2px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.bcmb_item .bcmb_dd_btn::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid #333; border-bottom: 1.5px solid #333; transform: rotate(45deg); margin-top: -3px; }
.bcmb_dd { position: absolute; left: 0; top: 100%; margin-top: 8px; min-width: 180px; background: #fff; border: 1px solid #ddd; box-shadow: 0 8px 24px rgba(0,0,0,.08); padding: 6px 0; display: none; z-index: 15; }
.bcmb_item.has_dd.open .bcmb_dd { display: block; }
.bcmb_dd a { display: block; padding: 9px 16px; font-size: 14.5px; color: #333; white-space: nowrap; }
.bcmb_dd a:hover { background: #f4f6fa; color: #2a71b9; }
.bcmb_dd a.on { color: #2a71b9; font-weight: 600; }

/* ------------------------------------------------------------ 목록 페이지 (list.do 실측) */
.board_search { background: #f7f8f9; padding: 26.6px 20px; margin-bottom: 28.5px; }
.search_item { display: flex; justify-content: center; gap: 8px; }
.search_select { display: flex; gap: 8px; }
.search_select select { appearance: none; -webkit-appearance: none; width: 190px; height: 48px; padding: 0 33.25px 0 14.25px; border: 1px solid #ddd; border-radius: 4.75px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; font: inherit; font-size: 15.2px; color: #000; }
.search_form_wrap { display: flex; gap: 6px; }
.search_form { width: 261px; height: 48px; padding: 0 14.25px; border: 1px solid #ddd; font: inherit; font-size: 15.2px; }
.search_form::placeholder { color: #999; }
.search_btn { all: unset; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 48px; padding: 0 23.75px; background: #222; color: #fff; border-radius: 5px; font-size: 15.2px; font-weight: 500; cursor: pointer; }
.search_btn svg { width: 16px; height: 16px; }
.board_option { display: flex; align-items: center; justify-content: space-between; margin-bottom: 23.75px; }
.board_utill { display: flex; align-items: center; font-size: 14.25px; }
.utill_item { padding: 2.85px 14.25px; position: relative; }
.utill_item:first-child { padding-left: 0; }
.utill_item + .utill_item::before { content: ""; position: absolute; left: 0; top: 50%; height: 12px; margin-top: -6px; border-left: 1px solid #ccc; }
.utill_item b { font-weight: 700; }
.icon_reset { all: unset; display: inline-flex; align-items: center; gap: 6px; font-size: 14.25px; color: #333; cursor: pointer; }
.icon_reset svg { width: 16px; height: 16px; }
.cm_list .list_body { display: block; }
.list_item { margin-bottom: 28.5px; }
.item_box { display: flex; align-items: center; background: #fff; border: 1px solid #ddd; border-radius: 7.6px; padding: 39.9px 38px; transition: box-shadow .15s, border-color .15s; }
.item_box:hover { border-color: #b9c6d8; box-shadow: 0 8px 24px rgba(42,113,185,.08); }
.thumb_area { flex: none; width: 276px; height: 172px; border-radius: 7.6px; overflow: hidden; display: block; }
.thumb_box { width: 100%; height: 100%; background: #ddd; }
.item_thumb { width: 100%; height: 100%; object-fit: cover; display: block; }
.desc_area { flex: 1; min-width: 0; padding-left: 38px; }
.item_lebel { margin-bottom: 14px; }
.cm_label { display: inline-flex; align-items: center; justify-content: center; height: 33px; padding: 4.75px 14.25px; border: 1px solid #ddd; border-radius: 95px; background: #fff; color: #222; font-size: 13.3px; }
.item_title { display: block; font-size: 20.9px; font-weight: 500; line-height: 1.4; margin-bottom: 28.5px; color: #000; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item_title:hover { color: #2a71b9; text-decoration: underline; text-underline-offset: 4px; }
.icon_new { display: inline-flex; align-items: center; justify-content: center; width: 19px; height: 19px; border-radius: 50%; background: #538104; color: #fff; font-size: 11px; font-weight: 700; font-style: normal; margin-right: 6px; vertical-align: 2px; }
.item_info dl { display: flex; align-items: center; margin: 0 0 14.25px; }
.item_info dl:last-child { margin-bottom: 0; }
.item_info dt { width: 109px; flex: none; font-size: 15.2px; font-weight: 500; padding-right: 4.75px; position: relative; padding-left: 14px; }
.item_info dt::before { content: ""; position: absolute; left: 2px; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: #333; margin-top: -2px; }
.item_info dd { margin: 0; display: flex; align-items: center; font-size: 15.2px; }
.file_area { display: flex; gap: 6px; }
.file_area a { position: relative; }
.file_area .icon_pdf, .file_area .icon_hwp, .file_area .icon_xls, .file_area .icon_xlsx, .file_area .icon_zip, .file_area .icon_etc { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 29px; }
.file_area .cm_icon::before { content: "FILE"; width: 26px; height: 26px; border-radius: 4px; background: #777; color: #fff; font-size: 8px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.file_area .icon_pdf::before { content: "PDF"; background: #e5484d; }
.file_area .icon_hwp::before { content: "HWP"; background: #1a73e8; }
.file_area .icon_xls::before, .file_area .icon_xlsx::before { content: "XLS"; background: #1f7a3e; }
.file_area .icon_zip::before { content: "ZIP"; background: #777; }
.file_area a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.cm_paging1 { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 47.5px; }
.page_link { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; font-size: 14.25px; color: #333; }
.page_link:hover { background: #f0f2f5; }
.page_link.active { background: #000; color: #fff; }
.page_link.disabled { color: #bbb; pointer-events: none; }
.list_empty { padding: 80px 0; text-align: center; color: #777; }

/* ------------------------------------------------------------ 반응형 */
@media (max-width: 1024px) {
  .nav { display: none; }
  .btn_allmenu { display: flex; }
  .hd_bot .hd_inner { height: 72px; justify-content: space-between; }
  .logo img { width: 130px; height: auto; }
  .right_contents { padding-top: 40px; }
  #container { padding: 20px 0 60px; }
  .inner { padding: 0 20px; }
}
@media (max-width: 1024px) {
  .gnb_sub { display: none !important; }
}
@media (max-width: 767px) {
  .board_search { padding: 16px; }
  .search_item { flex-direction: column; }
  .search_select { flex-direction: column; }
  .search_select select { width: 100%; }
  .search_form_wrap .search_form { flex: 1; width: auto; }
  .item_box { flex-direction: column; align-items: stretch; padding: 18px; }
  .thumb_area { width: 100%; height: auto; aspect-ratio: 276 / 172; }
  .desc_area { padding: 16px 0 0; }
  .item_title { white-space: normal; font-size: 17px; margin-bottom: 14px; }
  .item_info dt { width: 96px; font-size: 14px; }
  .item_info dd { font-size: 14px; }
  .item_info dl { margin-bottom: 8px; }
  .page_breadcrumb { display: block; }
  .hd_top { display: none; }
  .page_breadcrumb { display: none; }
  .page_title { font-size: 26px; }
  .page_title_area { padding-bottom: 18px; margin-bottom: 28px; }
  .cm_board_view { margin-top: -28px; }
  .board_view_head { padding: 22px 0; }
  .view_title_area { flex-direction: column; gap: 14px; }
  .view_title { font-size: 20px; }
  .view_title_tools { width: 100%; }
  .view_title_tools .cas-btn { width: 100%; justify-content: center; }
  .board_view_file { padding: 0 0 22px; }
  .btn_file { font-size: 14px; word-break: break-all; }
  .board_view_cont { padding: 24px 0; }
  .editor_cont { font-size: 14.5px; }
  .cm_paging2 { margin-top: 40px; flex-direction: column; }
  .page_control.next { border-left: 0; border-top: 1px solid #ddd; text-align: left; padding: 18px 20px 18px 44px; }
  .page_control.prev { padding: 18px 20px 18px 44px; }
  .page_control.next::before { right: auto; left: 20px; transform: rotate(-135deg); }
  .page_control.prev::before { left: 20px; }
  .cm_copyright { margin-top: 40px; }
  .copy_btm { flex-wrap: wrap; gap: 10px; padding: 16px; }
  .copy_dept { margin-left: 0; flex-wrap: wrap; gap: 8px 16px; white-space: normal; }
  .stsfc_top { flex-direction: column; align-items: flex-start; padding: 22px 16px; }
  .stsfc_opinion_label { flex-wrap: wrap; gap: 10px 16px; }
  .ft_top .ft_inner, .ft_bot .ft_inner, .ft_bot .left { flex-direction: column; gap: 16px; }
  .ft_nav_list { flex-wrap: wrap; gap: 10px 18px; }
  .ft_link { font-size: 14px; }
  .address { font-size: 13px; }
}
