/**
 * Bootstrap 등 외부 CSS가 a 태그에 적용하는 색·밑줄 복원
 */
body a,
body a:link,
body a:visited {
    color: #000 !important;
    text-decoration: none !important;
}

body a:hover,
body a:focus,
body a:active {
    color: #222 !important;
    text-decoration: none !important;
}

/* 버튼형 링크는 기존 스타일 유지 */
body a.btn,
body a[class^="btn_"],
body a.btn_b01,
body a.btn_b02,
body a.btn_b03,
body a.btn_b04,
body a.btn_admin,
body a.btn_cancel,
body a.btn_frmline,
body #hd_login_msg a,
body .pg_current,
body header #sub ul li a:hover {
    color: inherit;
}

body .tbl_head01 a:hover,
body .tbl_head03 a:hover {
    text-decoration: none !important;
}

/* 게시판·최신글 제목 */
body .lat_title a,
body .bo_tit a,
body .list_item a,
body #bo_list a,
body .pic_lt a {
    color: #000 !important;
}

[data-theme='dark'] body a:not(.btn):not([class^="btn_"]):not(.btn_b01):not(.btn_b02) {
    color: #e8e8e8 !important;
}

[data-theme='dark'] body .lat_title a,
[data-theme='dark'] body #bo_list a {
    color: #e8e8e8 !important;
}
