body {
    font-size: 0.65vw;
    margin:0;
    padding:0;
}

/* 타이틀 섹션 */
.Title_Img {
    display: flex;
    flex-direction: column;
    width:100%;
    height:33vw;
    border-bottom: 1px solid #ccc;
}
.Title_Line {
    display: flex;
    align-items: center;
    gap: 1vw;
    height: 5vw;
    padding-left: 1.2vw;
}
.Title_Line_Left {
    display: flex;
    align-items: center;
}
.Title_Logo {
    font-size: 1.5vw;
    transition: color 0.25s ease;
}
.Title_Logo:hover {
    color: #ff0000;
    transition: color 0.25s ease;
}
.Title_Sub {
    background: #b0b0b0;
    font-size: 11px;
    padding: 2px 0.8vw;
    margin: 2px 0px 0px 20px;
    transition: background-color 0.25s, color 0.25s ease;
}
.Title_Sub:hover {
    background: #999;
    color: #fff;
    transition: background-color 0.25s, color 0.25s ease;
}
.Title_Sub.active {
    background: #333;
    color: #fff;
}
.Title_Sub img {
    height:2vw;
}
.Title_Line_Right {
    margin: 0px 11vw 0px auto;
}
.Login_In {
    background: #ee7171;
    color: #fff;
    padding: 0.5vw 1vw;
    transition: background-color 0.25s ease;
}
.Login_Out {
    background: #7188ee;
    color: #fff;
    padding: 0.5vw 1vw;
    transition: background-color 0.25s ease;
}
.Login_In:hover {
    background: #dd5c5c;
    transition: background-color 0.25s ease;
}
.Login_Out:hover {
    background: #5c71dd;
    transition: background-color 0.25s ease;
}
.Title_Desc {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 28vw;
    align-items: center;
    padding: 3vw;
}

/* 메뉴 섹션 */
.Menu {
    display: flex;
    border-bottom: 1px solid #ccc;
}
.Menu_Block {
    flex: 3;
    padding: 1vw;
    background-color: #f0f0f0;
    border-left: 1px solid #ccc;
    cursor: default;
    text-align: center;
}
.Menu_Block[onclick] {
    cursor: pointer;
}
.Menu_Block:has(.Menu_Sub) {
    cursor: default;
}
.Menu_Block:hover,
.Menu_Block.active {
    background-color: #e0e0e0;
}

/* 메뉴 서브 항목 스타일 */
.Menu_Block {
    position: relative;
}
.Menu_Sub {
    position: absolute;
    top: 100%;
    left: -1px;
    right: 0;
    z-index: 100;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    background-color: #f0f0f0;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    transition: max-height 0.25s ease, opacity 0.25s ease;
}
.Menu_Block:hover .Menu_Sub {
    max-height: 30vw;
    opacity: 1;
    border-bottom: 1px solid #ccc;
}
.Menu_Sub_Item {
    padding: 0.8vw 1vw;
    border-top: 1px solid #ccc;
    cursor: default;
}
.Menu_Sub_Item[onclick] {
    cursor: pointer;
}
.Menu_Sub_Item:hover,
.Menu_Sub_Item.active {
    background-color: #e0e0e0;
}

/* 블로그 섹션 */
.Blog {
    display: flex;
}
.Category {
    display: flex;
    flex-direction: column;
}
.Category_Item {
    padding: 0.8vw 1vw;
    cursor: default;
    border-bottom: 1px solid #ccc;
    background-color: #f0f0f0;
}
.Category_Item[onclick] {
    cursor: pointer;
}
.Category_Group summary {
    cursor: row-resize;
}
.Category_Item:hover,
.Category_Item.active {
    background-color: #e0e0e0;
}

/* 카테고리 그룹 및 서브 항목 스타일 */
.Category_Group summary {
    list-style: none;
}
.Category_Group summary::-webkit-details-marker {
    display: none;
}
.Category_Sub_Item {
    padding: 0.8vw 1vw 0.8vw 2vw;
    cursor: default;
    border-bottom: 1px solid #ccc;
    background-color: #fafafa;
}
.Category_Sub_Item[onclick] {
    cursor: pointer;
}
.Category_Sub_Item:hover,
.Category_Sub_Item.active {
    background-color: #e0e0e0;
}
.Category_Search {
    box-sizing: border-box;
    width: 100%;
}
.Category_Search input[type="text"] {
    padding: 0.8vw 0.4vw;
}
.Category_Search button {
    padding: 0.8vw 0.6vw;
}

/* 블로그 레이아웃 */
.Blog .Left {
    width: 15vw; 
    border-right: 1px solid #ccc;  
}
.Admin_Image {
    border-bottom: 1px solid #ccc;
}
.Admin_Image img {
    width: 100%;
    vertical-align: bottom; /* 또는 top, middle */
}
.Blog .Right {
    width: 85vw; 
}

/* 소개 섹션 */
.About {
    box-sizing: border-box;
    padding: 2vw;
}
.About_Title {
    margin: 0 0 1.5vw;
    padding-bottom: 0.8vw;
    border-bottom: 1px solid #ccc;
    color: #333;
    font-size: 1.5vw;
}
.About_Content {
    display: flex;
    align-items: flex-start;
    gap: 2vw;
    padding: 1.5vw;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    background: #fff;
}
.About_IntroImg {
    flex: 0 0 30%;
    max-width: 30%;
}
.About_IntroImg img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
    object-fit: contain;
}
.About_Details {
    flex: 1 1 0;
    min-width: 0;
}
.About_Name {
    margin-bottom: 1vw;
    color: #333;
    font-size: 1.3vw;
    font-weight: bold;
}
.About_Info {
    margin: 0;
    padding: 0;
    list-style: none;
}
.About_Info li {
    display: flex;
    gap: 1vw;
    padding: 0.6vw 0;
    border-bottom: 1px solid #eee;
}
.About_Label {
    flex: 0 0 6em;
    color: #666;
    font-weight: bold;
}
.About_Value {
    min-width: 0;
    overflow-wrap: anywhere;
}
.About_Value a {
    color: inherit;
}
.About_Intro {
    margin-top: 1vw;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

/* 주제 블록 */
.Subject_Block {
    background: #fafafa;
    border-bottom: 1px solid #ccc;
    padding: 1vw 2vw;
}
.Subject_Block {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.Subject_Left {
    display: flex;
    align-items: center;
    text-align: left;
}

/* 아이콘 리스트 */
.Icon_List {
    margin-right: 1vw;
}
.Icon_List img {
    width: 4vw;
    border-radius: 50%;
}

/* 공지 텍스트 */
.Notice_Text {
    background: #222;
    color: #fff;
    padding: 0.3vw 1vw;
    border-radius: 5px;
    margin-right: 0.5vw;
}

/* 비밀 텍스트 */
.Secret_Text {
    background: #222;
    color: #fff;
    padding: 0.3vw 1vw;
    border-radius: 5px;
    margin-right: 0.5vw;
}

/* 편집 텍스트 */
.Edit_Text {
    background: #002291;
    color: #fff;
    padding: 0.3vw 1vw;
    border-radius: 5px;
    margin-right: 0.5vw;
    transition: background-color 0.3s, color 0.3s;
}
.Edit_Text:hover {
    background: #3340f8;
    transition: background-color 0.3s, color 0.3s;
}

/* 주제 블록 */
.Subject_Text {
    color: #333;
    font-size: 1vw;
    font-weight: bold;
}
.Subject_Right {
    display: flex;
    gap: 1vw;
    text-align: right;
}

/* 포스트 블록 */
.Post_Block {
    padding: 1vw 2vw;
    border-bottom: 1px solid #ccc;
}

/* 이미지 블록 */
.Image_Block {
    padding-bottom: 1vw;
}
.Image_Block img {
    max-width: 100%;
    height: auto;
}
.Image_Item {
    padding-bottom: 1vw;
}
.Image_Caption {
    padding-top: 0.4vw;
    color: #888888;
}

/* 내용 블록 */
.Text_Button_Area {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin: 1vw 0;
}
.Text_Button_Size,
.Text_Button_Actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.Text_Button_Actions {
    margin-left: auto;
}
.Text_Button_Area button {
    padding: 7px 12px;
    border: 1px solid #d0d5dd;
    border-radius: 5px;
    background: #fff;
    color: #344054;
    font: inherit;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.Text_Button_Area button:hover {
    border-color: #0c29aa;
    background: #f0f2ff;
    color: #0c29aa;
}
.Text_Button_Area button:focus-visible {
    outline: 2px solid #0c29aa;
    outline-offset: 2px;
}
.Content_Block {
    border: 1px solid #ddd;
    margin: 1vw 0vw;
    padding: 1vw;
}

/* 새벽글 블록 */
.Star_Block {
    display: flex;
    align-items: center;
    font-size: 0.6vw;
    margin-left: auto;
    padding: 0.5vw 0;
}
.Star_Block span {
    line-height: 1.7;
    background: #f4f4f4;
    border: 1px solid #eee;
    margin-left: auto;
    padding: 1vw;
}
/* 삽입 이미지 블록 */
.Insert_Block {
    text-align: right;
    padding: 1vw 0px;
}
.Insert_Block img {
    max-width: 100%;
    height: auto;
}

/* 태그 블록 */
.Tag_Block {
    margin-top: 2.5vw;
    font-size: 0.6vw;
    padding: 1vw 0;
    border-top:1px solid #ddd;
}
.Tag_Title {
    background: #f4f4f4;
    border:1px solid #eee;
    margin-right:8px;
    color:#333;
    padding: 0.2vw 1vw;
    border-radius: 5px;
}
.Tag_Item {
    display:inline-block;
    margin-left: 0.5vw;
    padding: 0.2vw 1vw;
    border-bottom:1px solid #fff;
    color:#888;
    text-decoration:none;
    transition: background-color 0.3s, border 0.3s, color 0.3s;
}
.Tag_Item:hover {
    border-bottom:1px solid #aaa;
    color: #000;
    transition: background-color 0.3s, border 0.3s, color 0.3s; /* 속도 전환 효과 */
}

/* 링크 블록 */
.Link_Block {
    border-top: 1px solid #ddd;
    padding: 0.8vw 0vw 0.8vw 0vw;
}
.Link_Span {
    background: #f0f0f0;
    margin-right: 0.5vw;
    padding: 0.2vw 1vw;
    border-radius: 3px;
}
.Link_Item {
    padding: 0.4vw 0;
}
.Link_Item a:hover {
    color: #002281;
}
.Link_Item a:hover {
    color: #002281;
}
.File_Block {
    border-top: 1px solid #ccc;
    padding: 3vw 0vw 0.8vw 0vw;
}
.File_Item {
    display: flex;
    align-items: center;
    padding: 0.4vw 0;
}
.File_Download {
    background: #f0f0f0;
    color: #555;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 0.15vw 0.5vw;
    text-decoration: none;
    transition: color 0.3s;
    margin: 0px 1vw 0 0.3vw;
    transition: background-color 0.3s, border 0.3s, color 0.3s;
}
.File_Download:hover {
    border: 1px solid #555;
    color: #222;
    transition: background-color 0.3s, border 0.3s, color 0.3s;
}





.Search_Modal {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.Search_Box {
    width: 30vw; /* 검색 팝업의 너비를 30vw로 설정 */
    height: 8.7vw; /* 검색 팝업의 높이를 20vw로 설정 */
    background-color: #ffffff;
    padding: 1.5vw;
    border-radius: 4px;
}
.Search_Title {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1vw;
}
.Search_Title i {
    cursor: pointer;
}

.Search_Form {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #ccc;
}
.Search_Form input[type="text"] {
    min-width: 0;
    flex: 1;
    padding: 0.9vw 0.6vw;
    background: #fbfbfb;
    border: 1px solid #f0f0f0;
    border-right: 1px solid #ccc;
}
.Search_Form button {
    padding: 0.9vw 1.2vw;
    border: 1px solid #f0f0f0;
    background-color: #f0f0f0;
    cursor: pointer;
}









.No_Post {
    padding: 2vw;
    text-align: center;
    color: #888888;
    font-size: 0.65vw;
}










.Align_Center {
    text-align: center;
}



/* 1. 파이어폭스(Firefox) 전용: [막대 색상] [트랙 색상] */
* {
  scrollbar-width: thin;
  scrollbar-color: #888888 #ffffff;
}

/* 2. 크롬, 에지, 사파리, 웨일 전용 */

/* 필수: 스크롤바 전체 너비/높이 지정 (이게 없으면 트랙 색상이 완전히 무시됩니다) */
::-webkit-scrollbar {
  width: 12px !important;
  height: 12px !important;
}

/* 트랙(배경)을 흰색으로 강제 설정 */
::-webkit-scrollbar-track {
  background-color: #ffffff !important;
  background: #ffffff !important;
  border-radius: 0px;
}

/* 스크롤바 막대 (배경이 흰색이므로 눈에 보이도록 어두운 톤 지정) */
::-webkit-scrollbar-thumb {
  background-color: #888888 !important;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #555555 !important;
}


/* 검색 페이지 스타일 */
.Search {
    box-sizing: border-box;
    padding: clamp(20px, 3vw, 48px);
    color: #333;
    font-size: 15px;
}
.Search_Info {
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #d8d8d8;
    color: #666;
    line-height: 1.5;
}
.Search_Info strong {
    color: #222;
}
.Search_List {
    margin: 0;
    padding: 0;
    list-style: none;
}
.Search_List > li {
    display: flex;
    align-items: flex-start;
    gap: clamp(16px, 2vw, 28px);
    min-width: 0;
    padding: 22px 0;
    border-bottom: 1px solid #e5e5e5;
}
.Search_Thumb {
    display: block;
    flex: 0 0 clamp(120px, 18vw, 220px);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #f2f2f2;
}
.Search_Thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}
.Search_Thumb:hover img {
    transform: scale(1.03);
}
.Search_Body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}
.Search_Date,
.Search_Category {
    display: inline-block;
    margin: 0 8px 8px 0;
    color: #888;
    font-size: 12px;
    line-height: 1.5;
}
.Search_Category {
    padding: 2px 8px;
    border: 1px solid #e5e5e5;
    border-radius: 2px;
    color: #666;
}
.Search_Subject {
    display: block;
    max-width: 100%;
    margin-bottom: 10px;
    color: #222;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.45;
    text-decoration: none;
    overflow-wrap: anywhere;
}
.Search_Subject:hover {
    color: #0c29aa;
}
.Search_Text {
    display: -webkit-box;
    overflow: hidden;
    color: #666;
    font-size: 14px;
    line-height: 1.7;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}
.Search_Tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
}
.Search_Tag {
    color: #777;
    font-size: 12px;
}
.Search_Tag a {
    display: inline-block;
    padding: 4px 9px;
    border-radius: 3px;
    background: #f4f4f4;
    color: inherit;
    text-decoration: none;
}
.Search_Tag a:hover {
    background: #e9ecf7;
    color: #0c29aa;
}
.Search .No_Post {
    padding: 48px 16px;
    border-bottom: 1px solid #e5e5e5;
    font-size: 14px;
}
.Search .pg_wrap {
    margin-top: 24px;
}

@media (max-width: 640px) {
    .Search {
        padding: 20px 16px;
        font-size: 14px;
    }
    .Search_List > li {
        gap: 14px;
        padding: 16px 0;
    }
    .Search_Thumb {
        flex-basis: clamp(88px, 28vw, 140px);
    }
    .Search_Subject {
        margin-bottom: 6px;
        font-size: 16px;
    }
    .Search_Text {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }
    .Search_Tags {
        margin-top: 8px;
    }
}


/* 페이징 스타일 */
.Paging {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 28px auto 8px;
}
.Paging a,
.Paging_Cur {
    display: inline-flex;
    min-width: 36px;
    height: 36px;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
    border: 1px solid #e2e2e2;
    border-radius: 4px;
    background: #fff;
    color: #555;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.Paging a:hover {
    border-color: #0c29aa;
    color: #0c29aa;
}
.Paging a:focus-visible {
    outline: 2px solid #0c29aa;
    outline-offset: 2px;
}
.Paging .Paging_Cur {
    border-color: #0c29aa;
    background: #0c29aa;
    color: #fff;
    font-weight: 600;
}
.Paging_First,
.Paging_Prev,
.Paging_Next,
.Paging_Last {
    padding: 0 12px;
}

@media (max-width: 480px) {
    .Paging {
        gap: 4px;
        margin-top: 20px;
    }
    .Paging a,
    .Paging_Cur {
        min-width: 32px;
        height: 32px;
        padding: 0 7px;
        font-size: 13px;
    }
}

.Blog .Right .pg_wrap {
    display: flex;
    float: none;
    clear: both;
    width: 100%;
    justify-content: center;
    margin: 28px 0 8px;
    text-align: center;
}
.Blog .Right .pg_wrap .pg {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
}
.Blog .Right .pg_wrap .pg_page,
.Blog .Right .pg_wrap .pg_current {
    display: inline-flex;
    box-sizing: border-box;
    min-width: 36px;
    height: 36px;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
    border: 1px solid #e2e2e2;
    border-radius: 4px;
    background: #fff;
    color: #555;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
    vertical-align: middle;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.Blog .Right .pg_wrap .pg_page:hover {
    border-color: #0c29aa;
    color: #0c29aa;
}
.Blog .Right .pg_wrap .pg_page:focus-visible {
    outline: 2px solid #0c29aa;
    outline-offset: 2px;
}
.Blog .Right .pg_wrap .pg_current {
    border-color: #0c29aa;
    background: #0c29aa;
    color: #fff;
    font-weight: 600;
}
.Blog .Right .pg_wrap .pg_page.pg_start,
.Blog .Right .pg_wrap .pg_page.pg_prev,
.Blog .Right .pg_wrap .pg_page.pg_next,
.Blog .Right .pg_wrap .pg_page.pg_end {
    overflow: visible;
    background-image: none;
    text-indent: 0;
}

@media (max-width: 480px) {
    .Blog .Right .pg_wrap {
        margin-top: 20px;
    }
    .Blog .Right .pg_wrap .pg {
        gap: 4px;
    }
    .Blog .Right .pg_wrap .pg_page,
    .Blog .Right .pg_wrap .pg_current {
        min-width: 32px;
        height: 32px;
        padding: 0 7px;
        font-size: 13px;
    }
}

/* 공지사항 섹션 */
.Notice_List {
    box-sizing: border-box;
    overflow: hidden;
    border-bottom: 1px solid #eadede;
    border-radius: 6px;
    background: #fff;
}
.Notice_Heading {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 20px 40px;
    border-bottom: 1px solid #f0e5e5;
    background: #fff8f8;
    color: #333;
    font-size: 15px;
}
.Notice_Heading_English {
    color: #bb5555;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
}
.Notice_Items {
    padding: 0px;
}
.Notice_Item {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
    padding: 20px 40px;
    border-bottom: 1px solid #f1eeee;
}
.Notice_Item:last-child {
    border-bottom: 0;
}
.Notice_Badge {
    flex: 0 0 auto;
    padding: 4px 8px;
    border-radius: 3px;
    background: #bb5555;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
}
.Notice_Link {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.Notice_Link:hover {
    color: #a63e3e;
    text-decoration: underline;
}
.Notice_Link:focus-visible {
    outline: 2px solid #bb5555;
    outline-offset: 3px;
}
.Notice_Date {
    flex: 0 0 auto;
    color: #888;
    font-size: 12px;
    white-space: nowrap;
}

@media (max-width: 480px) {
    .Notice_List {
        margin: 16px 12px;
    }
    .Notice_Heading {
        padding: 10px 12px;
    }
    .Notice_Items {
        padding: 0 12px;
    }
    .Notice_Item {
        gap: 8px;
        padding: 10px 0;
    }
    .Notice_Badge {
        padding: 4px 6px;
        font-size: 11px;
    }
    .Notice_Link {
        font-size: 13px;
    }
    .Notice_Date {
        font-size: 11px;
    }
}

/* 지역 / 영역 스타일 */
.Region_Block {
    display: flex;
    border-top: 1px solid #ccc;
    flex-wrap: wrap;
    gap: 8px;
    padding: 20px 0;
    color: #333;
    font-size: 12px;
    margin-bottom: 10px;
}
.Region_Item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    padding: 5px 9px;
    border: 1px solid #e6e8ed;
    border-radius: 4px;
    background: #f7f8fa;
}
.Region_Label {
    flex: 0 0 auto;
    color: #666;
    font-weight: 700;
}
.Area_Item {
    border-color: #e8dfd3;
    background: #fbf8f3;
}
.Area_Label {
    color: #8a6743;
}
.Region_Value {
    min-width: 0;
    overflow-wrap: anywhere;
}
