/* Refined editorial navigation */
#bo_cate {
  margin: 0 0 54px !important;
  border-bottom: 1px solid #292b27;
}

#bo_cate ul {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0 !important;
  list-style: none;
}

#bo_cate li {
  display: block;
  margin: 0 !important;
}

#bo_cate a,
#bo_cate a.bo_cate_on {
  position: relative;
  display: block !important;
  min-height: 0;
  padding: 0 0 18px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #7f837b !important;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.01em;
}

#bo_cate a:hover,
#bo_cate a:focus {
  color: #f5f6f3 !important;
  outline: 1px solid transparent;
}

#bo_cate a.bo_cate_on {
  color: #d7ff00 !important;
  font-weight: 800;
}

#bo_cate a.bo_cate_on::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: #d7ff00;
}

/* Keep the useful lower action row; remove duplicated top admin toolbar. */
#bo_list > .bo_fx:first-of-type .btn_bo_user,
#bo_gall > .bo_fx:first-of-type .btn_bo_user {
  display: none !important;
}

#bo_list .tbl_head01 tr,
#bo_list .tbl_head01 td,
#bo_gall .gall_row,
#bo_gall .gall_li {
  outline: 0 !important;
  box-shadow: none !important;
  border-left: 0 !important;
}

#bo_list .bo_fx:last-of-type,
#bo_gall .bo_fx:last-of-type {
  margin-top: 28px;
}

#bo_list .bo_fx:last-of-type .btn_bo_user,
#bo_gall .bo_fx:last-of-type .btn_bo_user {
  justify-content: flex-end;
}

#bo_list .bo_fx:last-of-type .btn_bo_user li:last-child a,
#bo_gall .bo_fx:last-of-type .btn_bo_user li:last-child a {
  background: #d7ff00 !important;
  border-color: #d7ff00 !important;
  color: #050505 !important;
}

@media (max-width: 700px) {
  #bo_cate { margin-bottom: 38px !important; overflow-x: auto; }
  #bo_cate ul { width: max-content; gap: 24px; }
  #bo_cate a,#bo_cate a.bo_cate_on { font-size: 13px; padding-bottom: 15px !important; }
}


/* MAKE3 Insight mobile readability — final override */
@media (max-width: 700px) {

  /* 목록 카드 자체가 흐려지는 경우까지 차단 */
  #bo_list .tbl_head01 tbody tr,
  #bo_list .tbl_head01 tbody td,
  #bo_list .td_subject,
  #bo_list .td_subject .bo_tit {
    opacity: 1 !important;
    filter: none !important;
  }

  /* 실제 게시글 제목: list.skin.php의 .td_subject > .bo_tit > a */
  #bo_list .tbl_head01 tbody td.td_subject .bo_tit > a,
  #bo_list .tbl_head01 tbody td.td_subject .bo_tit > a:link,
  #bo_list .tbl_head01 tbody td.td_subject .bo_tit > a:visited,
  #bo_list .tbl_head01 tbody td.td_subject .bo_tit > a:hover,
  #bo_list .tbl_head01 tbody td.td_subject .bo_tit > a:active {
    color: #171817 !important;
    -webkit-text-fill-color: #171817 !important;
    opacity: 1 !important;
    filter: none !important;
    text-shadow: none !important;
    font-weight: 700 !important;
  }

  /* 상세페이지 제목 */
  #bo_v_title,
  #bo_v_title .bo_v_tit,
  #bo_v .bo_v_tit {
    color: #111211 !important;
    -webkit-text-fill-color: #111211 !important;
    opacity: 1 !important;
    filter: none !important;
    text-shadow: none !important;
  }

  /* 에디터에서 들어온 span/font/inline color까지 본문에서는 가독성 우선 */
  #bo_v_con,
  #bo_v_con p,
  #bo_v_con div,
  #bo_v_con span,
  #bo_v_con font,
  #bo_v_con li,
  #bo_v_con strong,
  #bo_v_con b,
  #bo_v_con em,
  #bo_v_con i,
  #bo_v_con h1,
  #bo_v_con h2,
  #bo_v_con h3,
  #bo_v_con h4,
  #bo_v_con h5,
  #bo_v_con h6 {
    color: #242624 !important;
    -webkit-text-fill-color: #242624 !important;
    opacity: 1 !important;
    filter: none !important;
    text-shadow: none !important;
  }

  #bo_v_con a {
    color: #111 !important;
    -webkit-text-fill-color: #111 !important;
  }

  /* 작성자 / 날짜 / 조회 등 */
  #bo_v_info,
  #bo_v_info span,
  #bo_v_info strong,
  #bo_list .td_name,
  #bo_list .td_datetime,
  #bo_list .td_num {
    color: #555851 !important;
    -webkit-text-fill-color: #555851 !important;
    opacity: 1 !important;
  }

  /* 페이지네이션/검색창 */
  .pg_wrap,
  .pg_wrap a,
  .pg_wrap strong,
  .pg_page,
  .pg_current {
    color: #5f635c !important;
    -webkit-text-fill-color: #5f635c !important;
    opacity: 1 !important;
  }

  #bo_sch select,
  #bo_sch input,
  #bo_sch .sch_input,
  #bo_sch .frm_input {
    color: #222422 !important;
    -webkit-text-fill-color: #222422 !important;
    background: #fff !important;
    opacity: 1 !important;
  }

  #bo_sch input::placeholder,
  #bo_sch .sch_input::placeholder,
  #bo_sch .frm_input::placeholder {
    color: #777b73 !important;
    -webkit-text-fill-color: #777b73 !important;
    opacity: 1 !important;
  }
}


/* MAKE3 Insight dark list readability — desktop + common */
#bo_list .tbl_head01 th {
    color: #d7d7d7 !important;
    -webkit-text-fill-color: #d7d7d7 !important;
}

#bo_list .td_subject .bo_tit > a,
#bo_list .td_subject .bo_tit > a:link,
#bo_list .td_subject .bo_tit > a:visited,
#bo_list .td_subject .bo_tit > a:hover,
#bo_list .td_subject .bo_tit > a:active {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    opacity: 1 !important;
    text-shadow: none !important;
    font-weight: 700 !important;
}

#bo_list .td_name,
#bo_list .td_num,
#bo_list .td_num2,
#bo_list .td_datetime {
    color: #d0d0d0 !important;
    -webkit-text-fill-color: #d0d0d0 !important;
    opacity: 1 !important;
}

#bo_list_total,
#bo_list_total span {
    color: #a9ada5 !important;
    -webkit-text-fill-color: #a9ada5 !important;
    opacity: 1 !important;
}

/* 모바일 목록도 검은 배경에서는 흰색 제목 유지 */
@media (max-width: 700px) {
    #bo_list .tbl_head01 tbody td.td_subject .bo_tit > a,
    #bo_list .tbl_head01 tbody td.td_subject .bo_tit > a:link,
    #bo_list .tbl_head01 tbody td.td_subject .bo_tit > a:visited,
    #bo_list .tbl_head01 tbody td.td_subject .bo_tit > a:hover,
    #bo_list .tbl_head01 tbody td.td_subject .bo_tit > a:active {
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
    }
}
