@charset "UTF-8";

/*
 * 전자책접근성검증 퍼블 적용 보완 CSS
 */

/* 하위 메뉴가 기존 .wrap의 overflow에 잘리지 않도록 처리 */
.wrap.acc_wrap {
    overflow: visible;
}

/* 기존 header의 고정 위치 해제 */
.acc_wrap .acc_header {
    position: relative;
    top: auto;
    left: auto;
    height: auto !important;
    transition: none;
}

.acc_wrap .acc_header.on {
    border-bottom: 0;
    box-shadow: none;
}

/* 기존 버튼 기본 스타일과의 충돌 방지 */
.acc_header button {
    box-sizing: border-box;
    font-family: inherit;
    cursor: pointer;
}

.acc_header .acc_sitemap,
.acc_header .acc_search_link {
    border: 0;
    background-color: transparent;
}

.acc_header .acc_search_link:disabled {
    cursor: default;
}

/* 기존 하위 메뉴를 새 퍼블 주메뉴에 연결 */

.acc_wrap .acc_gnb {
    position: relative;
    z-index: 2000;
}

.acc_gnb .eac_nav_item {
    position: relative;
    flex-shrink: 0;
}

.acc_gnb .eac_allmenu_head,
.acc_gnb .eac_subnav {
    display: none;
}

/* JS에서 eac_open을 붙이면 하위 메뉴 표시 */
.acc_gnb .eac_nav_item.eac_open > .eac_subnav {
    display: flex;
}

.acc_gnb .eac_nav_item.eac_open > .eac_nav_top {
    color: #256ef4;
}

.acc_gnb .eac_nav_item.eac_open > .eac_nav_top::after {
    transform: rotate(180deg);
}

.acc_gnb .eac_subnav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    border: 1px solid #cdd1d5;
    border-radius: 0 0 8px 8px;
    background-color: #fff;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

/* .acc_gnb .eac_subnav {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    border: 1px solid #cdd1d5;
    border-radius: 0 0 8px 8px;
    background-color: #fff;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
} */


/* 퍼블의 주메뉴용 고정 폭·높이가 하위 링크에 적용되지 않도록 처리 */
.acc_gnb .eac_nav_item .eac_subnav > a {
    width: auto;
    height: auto;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 4px;
    font-size: 17px;
    font-weight: 400;
    line-height: 26px;
    overflow-wrap: anywhere;
}

/* 펼친 하위 메뉴 글자를 위 메뉴 글자 위치(칸 안쪽 16px)에 맞춤. 전체메뉴는 제외 */
.acc_gnb:not(.eac_all_open) .eac_nav_item .eac_subnav > a {
    padding: 10px 8px;
    word-break: keep-all;
}

.acc_gnb .eac_subnav > a::after {
    display: none;
}

.acc_gnb .eac_subnav > a:hover,
.acc_gnb .eac_subnav > a:focus-visible {
    color: #256ef4;
}

/* 전체메뉴
   기존 메뉴 5개 그룹·13개 하위 링크 표시 */

.acc_wrap .acc_gnb.eac_all_open {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: block;
    width: 100%;
    height: 100%;
    height: 100dvh;
    padding: 32px;
    box-sizing: border-box;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 0;
    background-color: #fff;
}

.acc_gnb.eac_all_open .eac_allmenu_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid #cdd1d5;
}

.acc_gnb .eac_allmenu_head h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 40px;
    color: #1e2124;
}

.acc_gnb .eac_allmenu_head button {
    min-width: 64px;
    min-height: 44px;
    padding: 8px 16px;
    border: 1px solid #cdd1d5;
    border-radius: 6px;
    background-color: #fff;
    font-family: inherit;
    font-size: 17px;
    line-height: 26px;
    color: #1e2124;
    cursor: pointer;
}

.acc_gnb.eac_all_open > .eac_nav_groups {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: start;
    gap: 24px;
    width: 100%;
    max-width: 1440px;
    height: auto;
    margin: 0 auto;
    padding: 0;
}

.acc_gnb.eac_all_open .eac_nav_item {
    min-width: 0;
}

.acc_gnb.eac_all_open .eac_nav_item > .eac_nav_top {
    width: auto;
    height: auto;
    min-height: 54px;
    padding: 12px;
    border-bottom: 2px solid #256ef4;
    color: #1e2124;
}

.acc_gnb.eac_all_open .eac_nav_top::after {
    display: none;
}

.acc_gnb.eac_all_open .eac_subnav {
    position: static;
    display: flex;
    min-width: 0;
    margin-top: 12px;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

/* 모바일 헤더·전체메뉴 */

@media (max-width: 768px) {
    .acc_wrap .acc_header {
        height: 72px !important;
    }

    .acc_wrap .acc_gnb.eac_all_open {
        padding: 20px 16px;
    }

    .acc_gnb.eac_all_open .eac_allmenu_head {
        margin-bottom: 20px;
        padding-bottom: 16px;
    }

    .acc_gnb .eac_allmenu_head h2 {
        font-size: 24px;
        line-height: 34px;
    }

    .acc_gnb.eac_all_open > .eac_nav_groups {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }
}

/* 기존 #menu 숨김 규칙과 새 헤더의 충돌 보완 */
@media (min-width: 769px) {
    .acc_wrap #menu.acc_gnb {
        display: block;
    }
}

/* 새 퍼블 푸터: 기존 footer 배경·여백·테두리 해제 */
.acc_wrap footer.acc_footer {
    padding: 0;
    border: 0;
    background: transparent;
}

.acc_footer,
.acc_footer * {
    box-sizing: border-box;
}

/* 기존 로고 링크 기능을 퍼블의 배경 이미지에 연결 */
.acc_footer .acc_footer_surface .logo {
    display: block;
    flex-shrink: 0;
}

/* 관련사이트·참고정보원은 디자인 유지, 기능 연결 보류 */
.acc_footer .acc_footer_related .btn_related {
    font-family: inherit;
    background-color: #fff;
}

.acc_footer .acc_footer_related .btn_related:disabled {
    opacity: 1;
    color: #1e2124;
    cursor: default;
    -webkit-text-fill-color: #1e2124;
}

@media (max-width: 768px) {
    .acc_wrap #menu.acc_gnb {
        display: none;
    }
}

/* 화면 폭과 관계없이 전체메뉴를 열면 표시 */
.acc_wrap #menu.acc_gnb.eac_all_open {
    display: block;
}

/* 메인: 기존 동적 목록·관련 사이트 기능 보존 영역 */
.eac_main_extra,
.eac_main_extra * {
    box-sizing: border-box;
}

.eac_main_extra .acc_section_inner {
    gap: 40px;
}

.eac_main_list_grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
}

.eac_main_list_box {
    min-width: 0;
}

.eac_main_list_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 24px;
    border-bottom: 2px solid #1e2124;
}

.eac_main_list_head h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 40px;
    color: #1e2124;
}

.eac_main_more {
    flex-shrink: 0;
    min-height: 40px;
    padding: 6px 12px;
    border: 1px solid #cdd1d5;
    border-radius: 6px;
    background-color: #fff;
    font-family: inherit;
    font-size: 17px;
    line-height: 26px;
    color: #1e2124;
    cursor: pointer;
}

.eac_main_board {
    margin: 0;
    padding: 0;
    list-style: none;
}

.eac_main_board > li {
    border-bottom: 1px solid #cdd1d5;
}

.eac_main_board > li > a {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 64px;
    padding: 16px 0;
    font-size: 17px;
    line-height: 26px;
    color: #1e2124;
}

.eac_main_board > li > a > em {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    font-style: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.eac_main_board > li > a > span {
    flex-shrink: 0;
    font-size: 15px;
    line-height: 23px;
    color: #464c53;
}

.eac_main_board > li > a:hover,
.eac_main_board > li > a:focus-visible {
    color: #256ef4;
}

.eac_main_extra .eac_main_sites {
    padding-top: 0;
}

.eac_main_site_grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.eac_main_site {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 120px;
    padding: 24px;
    border: 1px solid #cdd1d5;
    border-radius: 12px;
    background-color: #f4f5f6;
}

.eac_main_site img {
    display: block;
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .eac_main_extra .acc_section_inner {
        gap: 24px;
    }

    .eac_main_list_grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .eac_main_list_head {
        padding-bottom: 16px;
    }

    .eac_main_list_head h2 {
        font-size: 22px;
        line-height: 32px;
    }

    .eac_main_more {
        font-size: 15px;
        line-height: 24px;
    }

    .eac_main_board > li > a {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
        font-size: 16px;
        line-height: 26px;
    }

    .eac_main_board > li > a > em {
        flex: none;
        width: 100%;
    }

    .eac_main_site_grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }
}

/* 접근성 개요: API 제목·본문 유지, 바깥 퍼블 적용 */
.eac_api_overview {
    padding-top: 40px;
    box-sizing: border-box;
}

.eac_api_overview .acc_article {
    width: 100%;
}

@media (max-width: 768px) {
    .eac_api_overview {
        padding: 24px 16px 0;
    }
}

/* 메인 히어로: 퍼블 디자인에 기존 Swiper 연결 */
.acc_hero_slide.main-visual {
    margin: 0;
    box-sizing: border-box;
}

.acc_hero_slide.main-visual > .swiper-wrapper {
    height: auto;
    flex-shrink: 0;
}

.acc_hero_slide.main-visual .swiper-slide {
    height: auto;
    box-sizing: border-box;
}

/* 기존 페이지 표시의 위치·모양을 퍼블 막대에 맞춤 */
.acc_hero_slide .slide_ctrl .visual-pagination {
    position: static;
    width: 240px;
    height: 3px;
    transform: none;
    display: flex;
    gap: 0;
}

.acc_hero_slide .visual-pagination .swiper-pagination-bullet {
    flex: 1 1 0;
    width: auto;
    height: 3px;
    margin: 0;
    border-radius: 0;
    background-color: #fff;
    opacity: 0.3;
}

.acc_hero_slide .visual-pagination .swiper-pagination-bullet-active {
    background-color: #fff;
    opacity: 1;
}

.acc_hero_slide .slide_btns button {
    padding: 0;
    border: 0;
    background-color: transparent;
}

/* 접근성 개요: 기존 API 본문의 바깥 스타일 보완 */
.eac_api_overview .acc_sec_head h3,
.eac_api_overview .acc_sec_head .desc {
    margin: 0;
}

.eac_api_overview #detailContent {
    padding: 0;
    color: #1e2124;
    font-size: 18px;
    line-height: 31px;
    overflow-wrap: anywhere;
}

@media (max-width: 768px) {
    .eac_api_overview #detailContent {
        font-size: 16px;
        line-height: 26px;
    }
}

/* 법·제도 안내: API 제목·본문 유지, 바깥 퍼블 적용 */
.eac_api_law {
    padding-top: 40px;
    box-sizing: border-box;
}

.eac_api_law .acc_article {
    width: 100%;
}

.eac_api_law .acc_sec_head h3,
.eac_api_law .acc_sec_head .desc {
    margin: 0;
}

.eac_api_law #detailContent {
    padding: 0;
    color: #1e2124;
    font-size: 18px;
    line-height: 31px;
    overflow-wrap: anywhere;
}

@media (max-width: 768px) {
    .eac_api_law {
        padding: 24px 16px 0;
    }

    .eac_api_law #detailContent {
        font-size: 16px;
        line-height: 26px;
    }
}

/* 법·제도 안내: 새 퍼블 본문·좌측 메뉴 적용 */
/* .eac_law_page {
    padding-top: 40px;
} */

.eac_law_page,
.eac_law_page * {
    box-sizing: border-box;
}

/* @media (max-width: 768px) {
    .eac_law_page {
        padding: 24px 16px 0;
    }
}
 */
/* 접근성 개요: 새 퍼블 본문·좌측 메뉴 적용 */
.eac_overview_page,
.eac_overview_page * {
    box-sizing: border-box;
}

/* 새 퍼블 영역에 원본 퍼블 글꼴 적용 */
:is(.acc_masthead, .acc_header, .acc_gnb, .acc_main, .acc_footer),
:is(.acc_masthead, .acc_header, .acc_gnb, .acc_main, .acc_footer)
:is(a, button, input, select, textarea, label) {
    font-family: "PretendardGOV", sans-serif;
}

/* 단일 배너에서도 퍼블의 조작부 모양은 표시 */
.acc_hero_slide .slide_btns button.swiper-button-lock {
    display: block;
}

.acc_hero_slide .slide_btns button.swiper-button-disabled {
    opacity: 1;
    cursor: default;
}

/* 단일 배너에서 이동할 슬라이드가 없음을 표시 */
.acc_hero_slide .slide_btns button.swiper-button-lock:hover {
    cursor: pointer;
}

.acc_hero_slide .slide_ctrl
.visual-pagination.swiper-pagination-lock {
    display: flex;
}

.acc_hero_slide .visual-pagination 
.swiper-pagination-bullet:only-child{
	display:inline-block!important;
}

.eac_guideline_page,.eac_guideline_page *{
	box-sizing:border-box;
}

.eac_service_page,
.eac_service_page * {
    box-sizing: border-box;
}

.eac_check_page,
.eac_check_page * {
    box-sizing: border-box;
}

.eac_check_page .dropzone input:focus-visible + button {
    outline: 2px solid #256ef4;
    outline-offset: 1px;
}

.eac_result_page,
.eac_result_page * {
    box-sizing: border-box;
}

.eac_result_page .acc_paging > li {
    display: contents;
}

/* 퍼블에 맞춰 페이지 번호의 처음·마지막 숨김 (모든 퍼블 목록 공통, 이전·숫자·다음만 표시) */
.acc_main .acc_paging > li.page-first,
.acc_main .acc_paging > li.page-last {
    display: none;
}

.eac_result_page .acc_table .nodata {
    text-align: center;
}

.eac_tools_page,
.eac_tools_page * {
    box-sizing: border-box;
}

.eac_trends_page,
.eac_trends_page * {
    box-sizing: border-box;
}

.eac_trends_page .acc_paging > li {
    display: contents;
}

/* 카드 테두리를 a → li 로 옮김  */
.eac_trends_page .acc_card_grid > li {
    position: relative;
    min-width: 0;
    min-height: 386px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: #fff;
    border: 1px solid #cdd1d5;
    border-radius: 16px;
}

/* 제목 링크 - acc.css 의 .acc_card_grid a 카드 모양을 지우고, ::after 로 카드 전체를 누를 수 있게 */
.eac_trends_page .acc_card_grid .article-detail-link {
    display: inline;
    height: auto;
    overflow: visible;
    background: none;
    border: 0;
    border-radius: 0;
    font: inherit;
    color: inherit;
    text-decoration: none;
}
.eac_trends_page .acc_card_grid .article-detail-link::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* 해시태그 - 카드 링크 위로 올려 따로 누를 수 있게, 3개가 한 줄에 안 들어가면 줄바꿈 */
.eac_trends_page .acc_card_grid .hashtags {
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}
.eac_trends_page .acc_card_grid .hashtags button {
    padding: 0;
    background: none;
    border: 0;
    font: inherit;
    line-height: inherit;
    color: inherit;
    cursor: pointer;
}

@media (max-width: 1471px) {
    .eac_trends_page .acc_card_grid > li {
        min-height: 0;
    }
}

.eac_trends_page .acc_card_grid > li.article-nodata {
    grid-column: 1 / -1;
    display: block;
    min-height: 0;
    /* padding: 80px 24px; */
    padding: 112px 24px 0;
    border: 0;
    border-radius: 0;
}

/* 결과 없을 때 빈 페이지 번호 줄 자리(간격 28) 없애기 */
.eac_trends_page .acc_paging:empty {
    display: none;
}

.eac_trends_page .metas .article-date::before,
.eac_trends_page .metas .article-count::before,
.eac_trends_page .metas .blind::before {
    content: none;
}

.eac_trends_page .article-img {
	display: block;
    max-width: none;
}

.eac_manual_page,
.eac_manual_page * {
    box-sizing: border-box;
}

.eac_manual_page .acc_table tbody th.title {
    padding: 12px 6px;
    background-color: transparent;
    border-bottom: 1px solid #cdd1d5;
    font-size: 17px;
    font-weight: 400;
    line-height: 26px;
    color: #464c53;
    text-align: left;
}

.eac_manual_page .acc_table tbody th.title a {
    color: inherit;
}

/* 교육 메뉴얼 제목 글자 */
.eac_manual_page .acc_table tbody th.title .text_clamp {
    overflow: visible;
    white-space: normal;
    font: inherit;
    color: inherit;
}

@media (max-width: 768px) {
    .eac_manual_page .acc_table.edu tbody th.title {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        padding: 0;
        border: 0;
        font-size: 16px;
        line-height: 26px;
    }
    .eac_manual_page .acc_table.edu tbody th.title a {
        min-width: 0;
        overflow-wrap: anywhere;
    }
}

.eac_notice_page,
.eac_notice_page * {
    box-sizing: border-box;
}

.eac_notice_page .acc_paging > li {
    display: contents;
}

.eac_event_page,
.eac_event_page * {
    box-sizing: border-box;
}

.eac_event_page .acc_paging > li {
    display: contents;
}

.eac_event_page .acc_event_grid > li {
    min-width: 0;
}

.eac_event_page .acc_event_grid > li.events-nodata {
    grid-column: 1 / -1;
    display: block;
    padding: 80px 24px;
}

.eac_event_page .acc_empty strong {
    font-size: 22px;
    line-height: 33px;
}

.eac_faq_page,
.eac_faq_page * {
    box-sizing: border-box;
}

.eac_faq_page .acc_paging > li {
    display: contents;
}

.eac_faq_page .acc_faq .faq-date::before {
    content: none;
}


/* 관련사이트 바로가기: 홈 퍼블 shortcut_container 디자인 적용 */
:is(#eacRelatedSites, #eacReferenceSites) .shortcut_container {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10001;
    width: 100%;
    height: 100%;
    height: 100dvh;
    display: flex;
    justify-content: center;
    background-color: #eef2f7;
    overflow-y: auto;
}

:is(#eacRelatedSites, #eacReferenceSites) .shortcut_inner {
    width: 1200px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 48px;
    padding: 160px 0 80px;
}

:is(#eacRelatedSites, #eacReferenceSites) .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

:is(#eacRelatedSites, #eacReferenceSites) .header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 36px;
    color: #1e2124;
}

:is(#eacRelatedSites, #eacReferenceSites) .header .close {
    position: relative;
    left: 80px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: url("../images/acc/ico/ico_close.svg") no-repeat center center;
    cursor: pointer;
}

:is(#eacRelatedSites, #eacReferenceSites) .content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

:is(#eacRelatedSites, #eacReferenceSites) .content ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

:is(#eacRelatedSites, #eacReferenceSites) .content ul li {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 46px;
    padding: 10px 8px;
    font-size: 17px;
}

:is(#eacRelatedSites, #eacReferenceSites) .content ul li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 4px;
    background-color: #33363d;
}

:is(#eacRelatedSites, #eacReferenceSites) .content a {
    color: #1e2124;
}

:is(#eacRelatedSites, #eacReferenceSites) .hover_line a:hover,
:is(#eacRelatedSites, #eacReferenceSites) .hover_line a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* 닫기 버튼이 화면 밖으로 나가지 않는 폭부터 안쪽으로 */
@media (max-width: 1360px) {
    :is(#eacRelatedSites, #eacReferenceSites) .header .close {
        left: 0;
    }
}

/* 홈 퍼블 screen1200.css 의 바로가기 모바일 배치 */
@media (max-width: 1200px) {
    :is(#eacRelatedSites, #eacReferenceSites) .shortcut_inner {
        width: 100%;
        gap: 24px;
        padding: 32px 16px;
    }

    :is(#eacRelatedSites, #eacReferenceSites) .content {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    :is(#eacRelatedSites, #eacReferenceSites) .header .close {
        width: 32px;
        height: 32px;
        background-size: 32px 32px;
    }
}

.eac_agency_page,
.eac_agency_page * {
    box-sizing: border-box;
}

.eac_agency_page .acc_org_grid > li {
    min-width: 0;
}

.eac_agency_page .curation-logo {
    width: auto;
    height: auto;
    max-width: 190px;
    max-height: 126px;
}

.eac_agency_page .curation-description {
    overflow-wrap: anywhere;
}

/* 기존 헤더처럼: 주메뉴에 올리면 5개 하위 메뉴를 각 메뉴 아래에 한 번에 펼침 (전체메뉴 제외) */
.acc_gnb.eac_mega_open:not(.eac_all_open)::before {
    content: "";
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    height: var(--eac-mega-h, 0px);
    background-color: #fff;
    border-bottom: 1px solid #cdd1d5;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.acc_gnb.eac_mega_open:not(.eac_all_open) .eac_nav_item > .eac_subnav {
    display: flex;
    top: calc(100% + 1px);
    left: 0;
    right: 28px;
    gap: 0;
    padding: 12px 0 16px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    z-index: 1;
}

.acc_gnb.eac_mega_open:not(.eac_all_open) .eac_nav_item .eac_subnav > a {
    justify-content: center;
    min-height: 40px;
    padding: 7px 0;
    text-align: center;
    white-space: nowrap;
}

/* 행사 상세 분류 배지: 목록과 동일한 퍼블 색상 */
.acc_wrap .eac_events_detail #eventsGubun.bg-blue,
.acc_wrap .eac_events_detail .eac_detail_nav .badge.bg-blue {
    background: #ecf2fe !important;
    color: #0b50d0;
}

.acc_wrap .eac_events_detail #eventsGubun.bg-blue0,
.acc_wrap .eac_events_detail .eac_detail_nav .badge.bg-blue0 {
    background: #063a74 !important;
    color: #fff;
}

.acc_wrap .eac_events_detail #eventsGubun.bg-blue01,
.acc_wrap .eac_events_detail .eac_detail_nav .badge.bg-blue01 {
    background: #fff !important;
    border: 1px solid #cdd1d5;
    color: #464c53;
}

/* 이전글·다음글 배지: 퍼블 공통 크기 및 제목 간격 */
.acc_wrap .eac_events_detail .eac_detail_nav .badge {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 8px;
    margin-right: 8px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 400;
    line-height: 24px;
    vertical-align: middle;
    white-space: nowrap;
}

/* 공지사항 상세 배지: 기존 분류 유지, 퍼블 색상 적용 */
.acc_wrap #noticeGubun.bg-blue {
    background: #ecf2fe !important;
    color: #0b50d0;
}

.acc_wrap #noticeGubun.bg-blue0 {
    background: #063a74 !important;
    color: #fff;
}
/* 공지사항 상세 이전글·다음글 배지: 새 퍼블 색상 적용 */
.acc_wrap .eac_notice_detail .eac_detail_nav .badge.bg-blue {
    background: #ecf2fe !important;
    color: #0b50d0;
}

.acc_wrap .eac_notice_detail .eac_detail_nav .badge.bg-blue0 {
    background: #063a74 !important;
    color: #fff;
}

/* 이전글·다음글 배지: 퍼블 공통 크기 및 제목 간격 */
.acc_wrap .eac_notice_detail .eac_detail_nav .badge {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 8px;
    margin-right: 8px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 400;
    line-height: 24px;
    vertical-align: middle;
    white-space: nowrap;
}

/* 인쇄: 제목과 본문만 출력 */
@media print {
    #skip,
    .acc_masthead,
    .acc_header,
    #menu,
    .acc_page_title .breadcrumb,
    .acc_page_title .utility,
    .acc_lnb,
    .acc_footer,
    .btTop,
    :is(#eacRelatedSites, #eacReferenceSites) {
        display: none !important;
    }

    .acc_sub {
        display: block;
    }
}

/* 게시판 상세 공통: 공지사항·행사 및 세미나 */
.eac_board_detail,
.eac_board_detail * {
    box-sizing: border-box;
}

.eac_board_detail .eac_detail {
    gap: 0;
}

.eac_board_detail .eac_detail_header {
    padding: 28px 24px;
    border-top: 2px solid #1e2124;
    border-bottom: 1px solid #cdd1d5;
}

.eac_board_detail .eac_detail_title {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    line-height: 38px;
    color: #1e2124;
    overflow-wrap: anywhere;
}

.eac_board_detail .eac_detail_meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
    font-size: 15px;
    line-height: 23px;
    color: #464c53;
}

.eac_board_detail .eac_detail_files {
    padding: 20px 24px;
    background-color: #f4f5f6;
    border-bottom: 1px solid #cdd1d5;
    font-size: 16px;
    line-height: 26px;
}

.eac_board_detail .eac_detail_files strong {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.eac_board_detail #fileList {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.eac_board_detail #fileList a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0b50d0;
    overflow-wrap: anywhere;
}

.eac_board_detail #fileList img {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.eac_board_detail .eac_detail_content {
    min-width: 0;
    padding: 32px 24px;
    font-size: 17px;
    line-height: 1.7;
    color: #464c53;
    overflow-wrap: anywhere;
    overflow-x: auto;
}

.eac_board_detail .eac_detail_content img {
    max-width: 100%;
    height: auto;
}

.eac_board_detail .eac_detail_nav {
    border-top: 1px solid #cdd1d5;
}

.eac_board_detail .eac_detail_nav > div {
    border-bottom: 1px solid #cdd1d5;
}

.eac_board_detail .eac_detail_nav a {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 20px 24px;
    font-size: 16px;
    line-height: 26px;
    color: #464c53;
}

.eac_board_detail .eac_detail_nav i {
    flex-shrink: 0;
    font-style: normal;
    font-weight: 700;
}

.eac_board_detail .eac_detail_nav em {
    min-width: 0;
    font-style: normal;
    overflow-wrap: anywhere;
}

.eac_board_detail .eac_detail_actions {
    display: flex;
    justify-content: center;
    padding-top: 32px;
}

@media (max-width: 768px) {
    .eac_board_detail .eac_detail_header,
    .eac_board_detail .eac_detail_files,
    .eac_board_detail .eac_detail_content,
    .eac_board_detail .eac_detail_nav a {
        padding: 20px 16px;
    }

    .eac_board_detail .eac_detail_title {
        font-size: 22px;
        line-height: 32px;
    }

    .eac_board_detail .eac_detail_nav a {
        gap: 16px;
    }
}/* 최신 기술 동향 상세 분류 배지: 목록과 동일한 퍼블 색상 */
.acc_wrap .eac_article_detail #articleGubun.bg-blue,
.acc_wrap .eac_article_detail .eac_detail_nav .badge.bg-blue {
    background: #ecf2fe !important;
    color: #0b50d0;
}

.acc_wrap .eac_article_detail #articleGubun.bg-blue0,
.acc_wrap .eac_article_detail .eac_detail_nav .badge.bg-blue0 {
    background: #063a74 !important;
    color: #fff;
}

.acc_wrap .eac_article_detail #articleGubun.bg-blue01,
.acc_wrap .eac_article_detail .eac_detail_nav .badge.bg-blue01 {
    background: #fff !important;
    border: 1px solid #cdd1d5;
    color: #464c53;
}

/* 이전글·다음글 배지: 퍼블 공통 크기 및 제목 간격 */
.acc_wrap .eac_article_detail .eac_detail_nav .badge {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 8px;
    margin-right: 8px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 400;
    line-height: 24px;
    vertical-align: middle;
    white-space: nowrap;
}

/* 교육 및 매뉴얼 상세 */
.eac_training_detail #title-section .post-title {
    margin: 0;
    font-size: 26px;
    line-height: 38px;
    color: #1e2124;
    overflow-wrap: anywhere;
}

.eac_training_detail #content-section .post-content {
    margin: 0;
}

@media (max-width: 768px) {
    .eac_training_detail #title-section .post-title {
        font-size: 22px;
        line-height: 32px;
    }
}

/* 공유하기 버튼 배경 */
.eac_training_detail #share-btn-section .acc_btn.secondary {
    background-color: transparent;
}

.eac_training_detail #share-btn-section .acc_btn.secondary:hover {
    background-color: #ecf2fe;
}

/* 검사 진행·검증 결과·오류 상세의 본문 제목 구분선 */
/*
.acc_main .eac_access_detail_head {
    padding-bottom: 12px;
    border-bottom: 1px solid #cdd1d5;
}
*/

.eac_board_detail .eac_detail_meta#title:empty {
    display: none;
}

/* 자가검증 시작 확인 팝업 */
.eac_confirm_popup {
    max-width: 560px;
}

.eac_confirm_popup .modal-content {
    border-radius: 12px;
}

.eac_confirm_popup h4 {
    font-size: 26px;
    color: #1e2124;
}

@media (max-width: 768px) {
    .eac_confirm_popup h4 {
        font-size: 22px;
    }
}

/* 검증 결과 조회용 비밀번호 입력 팝업 */
.eac_pwd_popup {
    max-width: 560px;
}

.eac_pwd_popup .modal-content {
    border-radius: 12px;
}

.eac_pwd_popup h4 {
    font-size: 26px;
    color: #1e2124;
}

.eac_pwd_popup .password-wrap {
    padding: 0;
}

.eac_pwd_popup #password {
    box-sizing: border-box;
    min-width: 0;
    height: 56px;
}

.eac_pwd_popup .input-flex.pop .acc_btn {
    gap: 8px;
    white-space: nowrap;
}

.eac_pwd_popup .input-flex.pop .acc_btn img {
    margin-right: 0;
}

@media (max-width: 768px) {
    .eac_pwd_popup h4 {
        font-size: 22px;
    }
}

/* 필수 입력값 안내 팝업 */
.eac_validator_popup .modal-content {
    border-radius: 12px;
}

/* 검증 결과 목록: 검색 구분 「소속기관명」 「이메일주소」 잘림 방지 (퍼블 130px → 150px, 화살표는 오른쪽 간격 그대로) */
@media (min-width: 769px) {
    .eac_result_page .acc_search .acc_select {
        width: 150px;
        background-position: calc(100% - 33.85px) 19.65px;
    }
}
.eac_result_page .acc_search .acc_input {
    border-radius: 6px;
}

.eac_result_page .acc_checkbox input {
    appearance: none;
}

/* 검증 결과 목록: PC 표 정렬 */
@media (min-width: 769px) {
    .eac_result_page .acc_table th,
    .eac_result_page .acc_table td:not(.title) {
        text-align: center;
    }
}


/* 결과 없음 모바일: 공지사항 퍼블(.p_notice) 규칙과 같게 - 여백 20/24, 제목 18/27, 안내 16/26 */
@media (max-width: 768px) {
    .eac_trends_page .acc_card_grid > li.article-nodata,
    .eac_event_page .acc_event_grid > li.events-nodata,
    .eac_result_page .acc_table tbody td.empty {
        padding: 20px 24px;
    }

    /* 최신 기술 동향: 위 20(목록 간격)+28 = 아래 48(본문 공통 여백) */
    .eac_trends_page .acc_card_grid > li.article-nodata {
        padding: 28px 24px 0;
    }

    .eac_trends_page .acc_empty strong,
    .eac_event_page .acc_empty strong,
    .eac_result_page .acc_empty strong {
        font-size: 18px;
        line-height: 27px;
    }

    .eac_trends_page .acc_empty p,
    .eac_event_page .acc_empty p,
    .eac_result_page .acc_empty p {
        font-size: 16px;
        line-height: 26px;
    }

    /* 검증 결과: 모바일 카드 모양(테두리·칸 이름 자리) 빼기 */
    .eac_result_page .acc_table tr.acc_empty_row {
        padding: 0;
        background: none;
        border: 0;
        border-radius: 0;
    }

    .eac_result_page .acc_table tbody td.empty {
        display: block;
    }

    .eac_result_page .acc_table tbody td.empty::before {
        content: none;
    }
}

/* 입력창: 옛 common.css이 퍼블 .acc_input 을 덮지 않게 */
.acc_wrap .acc_input {
    border-radius: 6px;
}

.acc_wrap .acc_input::placeholder {
    font-size: inherit;
    line-height: inherit;
    letter-spacing: inherit;
}

.acc_wrap .acc_input:focus {
    border: 1px solid #58616a;
}


/* 마우스 올림 회색 배경 끄기*/
.acc_wrap .acc_table tbody tr:hover > td {
    background-color: transparent;
}

/* 왼쪽 정렬 대신 퍼블 정렬 */
.acc_wrap .acc_table th,
.acc_wrap .acc_table td:not(.title) {
    text-align: inherit;
}

/* common.css 대신 신규 퍼블*/
.acc_wrap .acc_edu_stats .count em,
.acc_wrap .acc_stat_list .count em {
    font-weight: inherit;
}

/* 최신 기술 동향 상세: 유형 뱃지 바로 뒤에 해시태그 전부 이어서(넘치면 다음 줄 왼쪽부터) / 마지막 줄 = 작성일 */
.eac_article_detail .eac_detail_meta {
    display: block;
    font-size: 0; 
}

.eac_article_detail .eac_detail_meta .acc_chip {
    display: inline-flex;
    vertical-align: top;
    margin: 0 8px 8px 0;
    font-size: 15px;
}

.eac_article_detail .eac_detail_meta .hashtags {
    display: inline;
}

/* 해시태그 뱃지: 목록 카드 퍼블 모양 그대로 (표시만) */
.eac_article_detail .eac_detail_meta .hashtags li {
    height: 24px;
    display: inline-flex;
    align-items: center;
    vertical-align: top;
    margin: 0 8px 8px 0;
    padding: 0 7px;
    border: 1px solid #256ef4;
    border-radius: 4px;
    font-size: 15px;
    line-height: 22px;
    color: #0b50d0;
    white-space: nowrap;
}

/* 작성일: 항상 다음 줄 */
.eac_article_detail .eac_detail_meta > span:last-child {
    display: block;
    margin-top: 8px;
    font-size: 15px;
    line-height: 23px;
}


/* FAQ 답변: CMS 본문(content_body) 구조는 그대로 두고 글자 모양만 퍼블에 맞춤 */
.eac_faq_page .acc_faq .answer .faq-answer {
    display: block;
    font-size: 16px;
    line-height: 26px;
    color: #464c53;
}

.eac_faq_page .acc_faq .answer .faq-answer p {
    margin: 0;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}

.eac_faq_page .acc_faq .answer .faq-answer strong {
    color: #1e2124;
}

.eac_faq_page .acc_faq .answer .faq-answer > p:first-child > strong {
    font-size: 18px;
    line-height: 28px;
}

@media (max-width: 768px) {
    .eac_faq_page .acc_faq .answer .faq-answer > p:first-child > strong {
        font-size: 16px;
        line-height: 26px;
    }
}

/* 통합검색 버튼 주석*/
@media (max-width: 768px) {
    .acc_header .acc_sitemap {
        margin-left: auto;
    }
}

/* 최신 기술 동향 검색 폼의 라벨 강조 */
.eac_trends_page .acc_filter .row > .label {
    font-weight: 600;
    color: #1e2124;
}

/* 최신 기술 동향: PC에서 라벨과 입력 영역 사이 간격 축소 */
@media (min-width: 769px) {
    .eac_trends_page .acc_filter .row > .label {
        width: 70px;
    }
}

/* 최신 기술 동향 카드: 본문 정보와 날짜·조회수 사이 여백 */
.eac_trends_page .acc_card_grid .body > .info {
    margin-bottom: 10px;
}