@charset "utf-8";

/* ============================================================
   서브 비주얼 — 흰 배경, 중앙 정렬 (이미지 없음)
   ============================================================ */
.sub_visual {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    padding: 70px 60px;
    box-sizing: border-box;
    text-align: center;
}
.sub_vis_tit {
    font-size: 40px;
    font-weight: 800;
    color: #111;
    margin: 0 0 20px;
    line-height: 1.3;
}
/* 브레드크럼 — 비주얼 내부, 제목 바로 아래 */
.sub_vis_path {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 17px;
    color: #888;
    line-height: 1.5;
}
.sub_vis_path > a:first-child {
    background: url("/images/subsite_common_mobile/common/layout_sp.png") no-repeat -198px -32px;
    background-size: 360px;
    width: 24px;
    height: 22px;
    display: inline-block;
    text-indent: -9999px;
    vertical-align: middle;
}
.sub_vis_path a { color: #888; text-decoration: none; }
.sub_vis_path a:hover { color: #333; }
.sub_vis_path #path { display: inline-flex; flex-wrap: wrap; gap: 2px; align-items: center; }
.sub_vis_path #path a { color: #888; text-decoration: none; }
.sub_vis_path #path a:hover { color: #333; }

/* ============================================================
   2뎁스 수평 탭 (Figma: Frame 185 — 91px, #0080c8 active)
   ============================================================ */
.sub_gnb_bar {
    background: #fff;
    border-bottom: 1px solid #e1e1e1;
    position: sticky;
    top: 0;
    z-index: 50;
}
.sub_gnb_list {
    display: flex;
    list-style: none;
    margin: 0 auto;
    padding: 0 60px;
    width: 1500px;
    max-width: 100%;
    box-sizing: border-box;
    height: 91px;
    align-items: stretch;
}
.sub_gnb_list li { flex: 1; display: flex; align-items: stretch; }
.sub_gnb_list li a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 16px;
    font-size: 18px;
    font-weight: 800;
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    text-align: center;
    transition: color 0.2s, border-color 0.2s;
    box-sizing: border-box;
}
.sub_gnb_list li.active > a {
    color: #0080c8;
    border-bottom-color: #0080c8;
}
.sub_gnb_list li > a:hover {
    color: #0080c8;
    border-bottom-color: rgba(0,128,200,0.35);
}

/* ============================================================
   3뎁스 수평 탭 (Figma: Frame 188 — #f5f5f5, 86px, active #016db2)
   ============================================================ */
.sub_gnb_bar3 {
    background: #f5f5f5;
    border-bottom: 1px solid #e1e1e1;
}
.sub_gnb_list3 {
    display: flex;
    list-style: none;
    margin: 0 auto;
    width: 1500px;
    max-width: 100%;
    padding: 0 60px;
    box-sizing: border-box;
    height: 65px;
    align-items: stretch;
    gap: 0;
}
.sub_gnb_list3 li { flex: 1; display: flex; align-items: stretch; }
.sub_gnb_list3 li a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    font-size: 16px;
    font-weight: 500;
    color: #595555;
    text-decoration: none;
    white-space: nowrap;
    text-align: center;
    transition: color 0.2s, background 0.2s;
    box-sizing: border-box;
}
.sub_gnb_list3 li.active > a {
    background: #016db2;
    color: #fff;
    font-weight: 700;
}
.sub_gnb_list3 li > a:hover { color: #016db2; }
.sub_gnb_list3 li.active > a:hover { color: #fff; }

/* 외부 링크 아이콘 */
.sub_gnb_list li a[target="_blank"]::after,
.sub_gnb_list3 li a[target="_blank"]::after,
.snbA a[target="_blank"]::after,
#SubMenu a[target="_blank"]::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    background: url('/images/mayor2026/icon_external.png') center / contain no-repeat;
    margin-left: 5px;
    vertical-align: middle;
}

/* ============================================================
   콘텐츠 영역 — 사이드바 없는 전폭
   ============================================================ */
#container { background: #fff; }

.sub_content_wrap {
    width: 1500px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 60px;
    box-sizing: border-box;
}
#content_box {
    background: #fff;
    padding: 40px 40px 60px;
    box-sizing: border-box;
}
.cont_titlebox { display: none !important; }
.tool_box { position: static !important; }

/* 기존 common_layout.css float 레이아웃 무효화 */
.sub_inner { margin-top: 0 !important; }
.sub_inner > div { float: none !important; position: static !important; }
#left { display: none !important; }
#right { padding-left: 0 !important; width: 100% !important; }

/* ============================================================
   반응형
   ============================================================ */
@media screen and (max-width: 1499px) {
    .sub_visual { padding: 60px 40px; }
    .sub_gnb_list { padding: 0 40px; }
    .sub_gnb_list3 { padding: 0 40px; }
    .sub_content_wrap { padding: 0 40px; }
}
@media screen and (max-width: 1199px) {
    .sub_visual { min-height: 180px; padding: 48px 32px; }
    .sub_vis_tit { font-size: 32px; }
    .sub_gnb_list { height: 72px; padding: 0 32px; }
    .sub_gnb_list li a { font-size: 16px; padding: 20px 12px; }
    .sub_gnb_list3 { height: 70px; padding: 0 32px; }
    .sub_gnb_list3 li a { font-size: 18px; padding: 0 20px; }
    .sub_content_wrap { padding: 0 32px; }
    #content_box { padding: 32px 28px 48px; }
}
@media screen and (max-width: 999px) {
    .sub_visual { min-height: 160px; padding: 44px 24px; }
    .sub_vis_tit { font-size: 28px; }
    .sub_gnb_list { height: 64px; padding: 0 24px; }
    .sub_gnb_list li a { font-size: 15px; padding: 18px 10px; }
    .sub_gnb_list3 { height: 60px; padding: 0 24px; }
    .sub_gnb_list3 li a { font-size: 16px; padding: 0 16px; }
    .sub_content_wrap { padding: 0 24px; }
    #content_box { padding: 28px 24px 48px; }
}
@media screen and (max-width: 768px) {
    .sub_visual { min-height: 130px; padding: 36px 16px; }
    .sub_vis_tit { font-size: 22px; }
    .sub_vis_path { font-size: 12px; }
    .sub_gnb_list { height: 52px; padding: 0 16px; }
    .sub_gnb_list li a { font-size: 13px; padding: 14px 6px; }
    .sub_gnb_list3 { height: 50px; padding: 0 16px; }
    .sub_gnb_list3 li a { font-size: 14px; padding: 0 12px; }
    .sub_content_wrap { padding: 0 16px; }
    #content_box { padding: 20px 12px 36px; }
}
