@charset "UTF-8";

/* ==========================================================================
   1. 폰트 및 기본 초기화 (Reset & Anti-aliasing)
   ========================================================================== */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@700;800&display=swap');

/* 블로그 전체 안티앨리어싱 강제 적용 */
*, *::before, *::after {
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: optimizeLegibility !important;
    box-sizing: inherit;
}

html {
  line-height: 1.4;
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
  position: relative;
  height: 100%;
  color: #333;
}

body {
  margin: 0;
  position: relative;
  height: 100%;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
}

h1 { font-size: 2em; margin: 0.67em 0; }
hr { box-sizing: content-box; height: 0; overflow: visible; }
pre, code, kbd, samp { font-family: monospace, monospace; font-size: 1em; }
a { background-color: transparent; text-decoration: none; }
b, strong { font-weight: bolder; }
img { border-style: none; max-width: 100%; }
button, input, optgroup, select, textarea { font-family: inherit; font-size: 100%; line-height: 1.15; margin: 0; outline: none; }
button, input { overflow: visible; }
button, select { text-transform: none; }
button, [type="button"], [type="reset"], [type="submit"] { -webkit-appearance: button; }
button::-moz-focus-inner, [type="button"]::-moz-focus-inner { border-style: none; padding: 0; }
textarea { overflow: auto; }
[type="checkbox"], [type="radio"] { box-sizing: border-box; padding: 0; }
[type="search"] { -webkit-appearance: textfield; outline-offset: -2px; }
[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }

.blind { position: absolute; overflow: hidden; clip: rect(0 0 0 0); margin: -1px; width: 1px; height: 1px; }

/* ==========================================================================
   2. 전역 테마 변수 (다크모드 확장 대비)
   ========================================================================== */
:root {
  --theme-color: #ff567a;
  --theme-text-color: #333333;
  --theme-bg-color: #ffffff;
}
.theme_pink  { --theme-color: #ff567a; }
.theme_blue  { --theme-color: #4167d9; }
.theme_green { --theme-color: #11998e; }
.theme_gray  { --theme-color: #1d2129; }

/* 공통 테마 컬러 적용 */
.thema_apply .link_detail, .thema_apply .active, .thema_apply .slick-active button, .thema_apply .btn_register { background: var(--theme-color); }
.thema_apply .btn_register, .thema_apply .btn_arrow:hover { color: var(--theme-bg-color); }
.thema_apply .btn_arrow:hover { background-color: var(--theme-color); }
.thema_apply .title_sidebar, .area_category .title_section span, .article_view a, .article_view blockquote, .article_view .moreless_fold span, .article_view .moreless_top span { color: var(--theme-color); }
.thema_apply .box_tag a:hover { border: 1px solid var(--theme-color); color: var(--theme-color); }
.article_view .footnote a { color: var(--theme-color) !important; }

/* ==========================================================================
   3. 공통 레이아웃 (Flex & Grid 시스템)
   ========================================================================== */
#wrap { position: relative; overflow: hidden; }
#container { position: relative; width: 100%; }
#main { width: 100%; }

/* Flexbox 가로 정렬 */
.box_header, .area_sidebar .sidebar_header, .area_popup .search_header { display: flex; align-items: center; justify-content: space-between; }
.list_type_notice .item_notice, .category_type_notice .item_category, .area_reply .item_reply { display: flex; align-items: flex-start; gap: 24px; padding: 30px 0; border-bottom: 1px solid #ebebeb; }

/* Grid 시스템 (갤러리, 카드 리스트) */
.area_related .list_related, .type_post .list_post, .category_type_post .list_category, .type_card .list_type_card, .category_type_related .list_category { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0; }
.category_type_related .list_category { grid-template-columns: repeat(3, 1fr); }
.area_related .item_related, .list_post .item_post, .category_type_post .item_category, .list_type_card .item_card, .category_type_related .item_category { width: auto; margin: 0; float: none; }
.list_post .link_post, .list_type_card .link_card, .category_type_related .link_category { margin: 0; }

/* 공통 썸네일 비율 유지 (2:1 강제) */
.list_type_card .link_card .thumnail, .area_related .thumnail, .category_type_related .thumnail { display: block; width: 100%; padding-top: 50%; background-size: cover; background-position: center; background-color: #e9e9e9; }
.type_notice .thumnail, .category_type_notice .thumnail { flex-shrink: 0; width: 280px; height: 160px; background-size: cover; background-position: 50% 50%; background-color: #e9e9e9; margin: 0; }
.item-thumbnail, .thumnail { background-color: #e9e9e9; background-position: center; background-size: cover; }
.no-img { background: #e9e9e9 url(./images/ico_no.svg) no-repeat center !important; background-size: 30px 30px !important; }

/* ==========================================================================
   4. 상단 헤더 및 네비게이션
   ========================================================================== */
.box_header { position: absolute; width: 100%; height: 70px !important; border-bottom: 1px solid rgba(0, 0, 0, 0.15); z-index: 21; transition: top 0.2s ease-in-out; padding: 0 56px 0 80px; }
.box_header .title_logo, .area_sidebar .title_logo, .area_popup .title_logo { font-family: 'JetBrains Mono', monospace !important; font-weight: 800 !important; font-size: 22px !important; letter-spacing: -1.5px !important; color: #a89fec !important; transition: color 0.3s ease-in-out; margin: 0; padding: 0; }
.box_header .link_logo:hover { color: #f4a8b6 !important; opacity: 1 !important; }
.link_logo { color: inherit; }
.link_logo img { max-height: 48px; }

.box_header button { background-color: transparent; border: none; cursor: pointer; }
.box_header .btn_menu, .box_header .btn_search { width: 48px; height: 48px; background-repeat: no-repeat; background-position: center; color: #666; transition: color .2s ease-out; }
.box_header .btn_menu { background-image: url(./images/ico_menu_b.svg); }
.box_header .btn_search { background-image: url(./images/ico_search_b.svg); margin-right: 12px; }
.box_header .btn_menu:hover, .box_header .btn_search:hover { color: #333; }

.white .box_header { border-bottom: none; }
.white .box_header .link_logo, .white .box_header .btn_menu, .white .box_header .btn_search { color: #fff; transition: opacity .2s ease-out; }
.white .box_header .link_logo:hover, .white .box_header .btn_menu:hover, .white .box_header .btn_search:hover { opacity: .6; }
.white .box_header .btn_menu { background-image: url(./images/ico_menu.svg); }
.white .box_header .btn_search { background-image: url(./images/ico_search.svg); }

/* ==========================================================================
   5. 사이드바 및 팝업 검색
   ========================================================================== */
.area_sidebar { position: relative; }
.area_sidebar .inner_sidebar { display: flex; flex-direction: column; position: fixed; top: 0; right: 0; width: 360px; height: 100%; padding: 0 48px; background: #fff; box-sizing: border-box; overflow: auto; z-index: 31; }
.area_sidebar .sidebar_contents { display: flex; flex-direction: column; justify-content: space-between; height: 100%; }
.area_sidebar .dimmed_sidebar { display: block; position: fixed; top: 0; left: 0; right: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 21; }
.area_sidebar .sidebar_header { margin: 60px -10px 30px 0; }
.area_sidebar .btn_close { width: 48px; font-size: 24px; text-align: right; padding: 0 7px 2px 7px; margin: 0; }
.area_sidebar .tt_category { margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid #e5e5e5; }
.area_sidebar .link_item { display: block; margin-top: 10px; padding: 15px 0 12px 0; font-size: 18px; font-weight: 700; color: #333; transition: all .2s ease-out; }
.area_sidebar .box_gnb { margin-bottom: 60px; }
.area_sidebar .link_sub_item { display: block; padding: 5px 0 5px 12px; font-size: 14px; color: rgba(0, 0, 0, 0.75); }
.area_sidebar .sub_category_list { margin-left: 6px; border-left: 3px solid #f1f1f1; }
.area_sidebar .tt_category .link_sub_item:hover { text-decoration: underline; }
.area_sidebar .list_sns { color: rgba(0, 0, 0, 0.87); font-size: 14px; }
.area_sidebar .link_add { display: block; margin-bottom: 28px; font-size: 16px; color: #888; }
.area_sidebar .link_add:hover { color: rgba(0, 0, 0, 0.87); }
.area_sidebar .box_tool { padding: 30px 0 80px 0; }
.area_sidebar .link_tool { position: relative; display: inline-block; margin-left: 40px; font-size: 14px; font-weight: bold; color: #888; }
.area_sidebar .link_tool:first-child { margin-left: 0; }
.area_sidebar .link_tool:hover { color: #666; }
.area_sidebar .link_tool:before { content: '｜'; position: absolute; top: 3px; left: -48px; width: 10px; margin-left: 20px; font-size: 11px; font-weight: lighter; color: #d3d4d7; }
.area_sidebar .link_tool:first-child:before { display: none; }
.area_sidebar .t_menu_home a, .area_sidebar .t_menu_tag a, .area_sidebar .t_menu_category a, .area_sidebar [class^="t_menu_link_"] a { display: block; margin-bottom: 28px; font-size: 16px; color: #333; }

/* 로그인/로그아웃 버튼 제어 */
.btn-for-guest, .btn-for-user { display: none; }

/* 팝업 검색 */
.area_popup { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #fff; z-index: 31; overflow: auto; }
.area_popup .search_header { padding: 60px 40px 0 80px; }
.area_popup .btn_close { width: 48px; height: 48px; margin-right: 11px; background: transparent; border: none; font-size: 24px; cursor: pointer; margin: 0; }
.area_popup .search_content { max-width: 1180px; margin: 60px auto; padding: 0 40px; }
.area_popup .box_form { position: relative; margin-bottom: 60px; padding-bottom: 40px; border-bottom: 1px solid rgba(0, 0, 0, 0.15); display: flex; align-items: center; }
.area_popup .box_form .icon-Search { font-size: 36px; margin-right: 23px; }
.area_popup .box_form .inp_search { flex: 1; border: none; font-size: 24px; font-weight: 900; color: #333; background: transparent; }
.area_popup .box_form .btn_search_del { position: absolute; right: 0; width: 36px; height: 36px; background-color: transparent; border: none; cursor: pointer; opacity: 0.3; }
.area_popup .title_sidebar { margin: 51px 0 29px 0; font-size: 18px; }
.area_popup .tag_zone, .area_popup .tag_board { display: inline-block; vertical-align: top; box-sizing: border-box; }
.area_popup .tag_zone { width: 50%; padding-right: 50px; }
.area_popup .tag_board { width: 50%; }
.tag_zone a { display: inline-block; margin-right: 10px; margin-bottom: 10px; padding: 5px 10px; border: solid 1px rgba(0, 0, 0, 0.25); font-size: 16px; color: #333; }
.tag_zone a:hover { border: solid 1px var(--theme-color); color: var(--theme-color); }
.list_sidebar .item_sidebar { margin-bottom: 20px; }
.list_sidebar .item_sidebar a { display: block; font-size: 16px; color: #333; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ==========================================================================
   6. 홈 커버 (Cover Sections)
   ========================================================================== */
.area_cover { margin-top: 268px; }
.title_section { position: relative; width: 100%; margin: 0 0 20px 0; font-size: 20px; font-weight: 900; color: #333; }

/* Featured 슬라이드 */
.type_featured { position: relative; margin-top: 120px; }
.type_featured .slide_zone { position: relative; width: 100%; height: calc(100vh - var(--vh-offset, 0px)); }
.type_featured .inner_main_slide { position: absolute; left: 0; right: 0; max-width: 1180px; margin: 0 auto; padding: 0 80px; }
.type_featured .box_arrow { position: absolute; top: 50%; left: 0; right: 0; width: 100%; margin-top: -18px; padding: 0 65px 0 80px; z-index: 10; display: flex; justify-content: space-between; }
.type_featured .btn_arrow { width: 64px; height: 64px; border-radius: 64px; background-color: rgba(0, 0, 0, 0.7); background-repeat: no-repeat; background-position: center; color: white; transition: .2s ease-out; cursor: pointer; border: none; }
.type_featured .btn_prev { background-image: url(./images/arr_left.png); }
.type_featured .btn_next { background-image: url(./images/arr_right.png); }
.type_featured .slide_item { z-index: 1; overflow: hidden; }
.type_featured .link_slide { position: relative; display: block; width: 100%; height: calc(100vh - var(--vh-offset, 0px)); background-size: cover; background-position: 50% 50%; z-index: 1; }
.type_featured .link_slide:before { content: ''; position: absolute; top: 0; bottom: 0; left: 0; right: 0; background-color: rgba(0, 0, 0, 0.54); transition: background-color .3s ease-in-out; }
.type_featured .text_slide { position: relative; display: flex; flex-direction: column; justify-content: center; max-width: 1180px; height: 100%; margin: 0 auto; padding: 0 76px; font-size: 44px; color: #fff; z-index: 10; }
.type_featured .text_slide strong { display: block; max-height: 130px; max-width: 1024px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.type_featured .text { width: 60%; max-height: 85px; margin: 20px 0 40px 0; font-size: 16px; line-height: 28px; word-break: keep-all; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.type_featured .link_detail { display: inline-block; width: 194px; height: 50px; line-height: 53px; box-sizing: border-box; font-size: 16px; font-weight: 700; color: #fff; text-align: center; }

/* 갤러리/포스트 커버 */
.type_post { max-width: 1180px; margin: 120px auto -20px auto; }
.list_post .link_post, .category_type_post .link_category { position: relative; display: block; padding-top: 143%; background-size: cover; background-position: 50% 50%; }
.list_post .item_post:hover .link_post:before, .category_type_post .item_category:hover .link_category:before { content: ''; position: absolute; top: 0; bottom: 0; left: 0; right: 0; background-color: rgba(0, 0, 0, 0.65); }
.list_post .link_post .info, .category_type_post .link_category .info { position: absolute; display: none; flex-direction: column; align-items: center; justify-content: center; top: 0; width: 100%; height: 100%; color: #fff; text-align: center; }
.list_post .link_post:hover .info, .category_type_post .link_category:hover .info { display: flex; }
.list_post .link_post .info .name, .category_type_post .link_category .info .name { display: block; width: calc(100% - 80px); max-height: 65px; margin: 0 auto; font-size: 20px; font-weight: 500; line-height: 1.33; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.list_post .info .date, .category_type_post .date { display: none; }

/* 카드 커버 */
.type_card { max-width: 1180px; margin: 120px auto -60px auto; }
.list_type_card .link_card { display: block; color: #333; line-height: 1.33; transition: all .2s ease-out; }
.list_type_card .link_card:hover { opacity: 0.6; }
.list_type_card .link_card strong { display: block; margin: 18px 8px 6px 0; font-size: 16px; font-weight: 700; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.list_type_card .link_card .text { margin: 0; font-size: 14px; color: #777; line-height: 1.71; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }

/* 배너 커버 */
.type_banner { max-width: 1180px; margin: 120px auto 0 auto; }
.list_type_banner .link_banner { position: relative; display: block; height: 280px; font-size: 24px; color: #333; background-size: cover; background-position: 50% 50%; transition: all .2s ease-out; }
.list_type_banner li:nth-child(even) .box_content { float: right; text-align: right; }
.list_type_banner li:nth-child(even) .btn_go { right: 50px; left: auto; }
.list_type_banner .box_content { width: 70%; padding: 47px 45px 50px 48px; }
.list_type_banner .link_banner:hover { opacity: 0.6; }
.list_type_banner .link_banner strong { display: block; font-size: 50px; font-weight: 900; color: #fff; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.list_type_banner .link_banner .text { margin: 12px 4px 0 2px; font-size: 16px; color: #fff; line-height: 1.62; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.list_type_banner .link_banner .btn_go { position: absolute; left: 50px; bottom: 48px; width: 42px; height: 42px; background: #000; border-radius: 42px; font-size: 17px; color: #fff; border: none; cursor: pointer; }

/* 리스트 커버 */
.type_notice { max-width: 1180px; margin: 120px auto 0 auto; }
.list_type_notice, .category_type_notice .list_category { border-top: solid 2px #333; }
.list_type_notice .link_notice, .category_type_notice .link_category { display: block; color: #333; transition: all .2s ease-out; }
.list_type_notice .link_notice:hover, .category_type_notice .link_category:hover { color: rgba(0, 0, 0, 0.6); }
.list_type_notice .link_notice strong, .category_type_notice .link_category strong { display: block; font-size: 22px; line-height: 32px; font-weight: 700; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.list_type_notice .link_notice .text, .category_type_notice .link_category .text { font-size: 14px; line-height: 24px; margin: 6px 0 12px 0; color: #777; width: 95%; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.list_type_notice .link_notice .date, .category_type_notice .link_category .date { display: block; font-size: 13px; opacity: .5; }

/* ==========================================================================
   7. 카테고리 & 본문 헤더
   ========================================================================== */
.area_category { max-width: 1180px; margin: 148px auto 0 auto; padding: 120px 24px 0 24px; }
.area_category .title_section span { padding-left: 8px; font-size: 16px; }
.category_type_notice, .category_type_post { margin-bottom: 60px; }
.category_type_post .link_category .text { display: none; }

.area_view { position: relative; max-width: 1180px; margin: 0 auto; padding: 0 24px; word-break: break-word; }
.area_view .area_article { padding-bottom: 60px; }
.area_view .article_header { position: relative; width: 100vw; left: 50%; margin-left: -50vw; }
.area_view .article_header:before { content: ''; position: absolute; top: 0; bottom: 0; left: 0; right: 0; background-color: rgba(0, 0, 0, 0.54); }
.area_view .article_header .inner_header { width: 100%; background-size: cover; background-position: 50% 50%; text-align: center; height: 520px; }
.area_view .article_header .info_text { position: relative; display: flex; flex-direction: column; justify-content: center; max-width: 700px; height: 100%; margin: 0 auto; color: #fff; z-index: 20; text-align: center; }
.area_view .article_header .title_post { display: block; font-size: 40px; line-height: 1.5em; }
.area_view .article_header .info { margin: 20px 0 0 0; font-size: 14px; }
.article_content { max-width: 700px; margin: 0 auto; }

/* ==========================================================================
   8. 본문 에디터 서식 (Typography, Markdown)
   ========================================================================== */
.article_view { max-width: 740px; margin: 80px auto 0 auto; line-height: 1.8 !important; letter-spacing: -0.02em; font-size: 16px; color: #333333; }
.article_view, .article_view p, .article_view span, .article_view a, .article_view b, .article_view strong, .article_view div, .article_view ul, .article_view ol, .article_view li {
    word-break: keep-all !important; overflow-wrap: break-word !important; line-height: 1.8 !important;
}
.article_view p { font-size: 16px; margin-bottom: 24px; font-weight: 400 !important; color: #333333 !important; text-align: justify; }

/* 헤딩 (Headings) */
#article-view h1, #article-view h2, #article-view h3, #article-view h4 { font-weight: 700; color: rgba(0, 0, 0, 0.87); transform: translateZ(0); text-shadow: 0 0 1px rgba(0, 0, 0, 0.15); -webkit-text-stroke: 0.2px rgba(0, 0, 0, 0.3); margin: 1em 0 20px; letter-spacing: -1px; }
.article_view h1 { font-size: 32px; line-height: 1.33; }
.article_view h2 { font-size: 24px; line-height: 1.38; }
.article_view h3 { font-size: 20px; line-height: 1.4; }
.article_view h4 { font-size: 18px; line-height: 1.33; }

/* 인용구 (Blockquote) */
.article_view blockquote { margin: 32px 0; padding: 18px 24px; border-left: 4px solid #212529; background-color: #f8f9fa; color: #495057; font-size: 16px; border-radius: 0 8px 8px 0; box-shadow: 0 1px 3px rgba(0,0,0,0.02); }
.article_view blockquote p { margin-bottom: 0; }

/* 리스트 */
.article_view ul, .article_view ol { margin: 0 0 24px 0; padding-left: 20px; }
.article_view ul { margin-top: 18px; }
.article_view ul li, .article_view ol li { font-size: 16px; font-weight: 400 !important; color: #333333 !important; margin-bottom: 6px; }
.article_view li ul, .article_view li ol { margin-top: 4px; margin-bottom: 0; }

/* 코드 및 서식 */
.article_view kbd { display: inline-block; background-color: #f8f9fa; border: 1px solid #ced4da; border-bottom: 2px solid #adb5bd; border-radius: 4px; padding: 3px 6px; margin: 0 2px; font-size: 0.85em; color: #495057; font-family: 'Fira Code', 'D2Coding', Consolas, monospace; }
.article_view pre { background-color: #282c34 !important; border-radius: 8px; margin: 24px 0; white-space: pre !important; overflow-x: auto !important; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); }
.article_view pre code.hljs { padding: 16px 20px !important; background-color: transparent !important; font-family: 'Fira Code', 'D2Coding', Consolas, monospace !important; font-size: 15px; word-break: normal !important; }
.article_view pre span { word-break: normal !important; }
.article_view pre::-webkit-scrollbar { height: 8px; }
.article_view pre::-webkit-scrollbar-track { background: #21252b; border-radius: 0 0 8px 8px; }
.article_view pre::-webkit-scrollbar-thumb { background: #4b5363; border-radius: 4px; }
.article_view pre::-webkit-scrollbar-thumb:hover { background: #5c6370; }

.article_view hr { margin: 30px 0; border: none; background: url(https://t1.daumcdn.net/keditor/dist/0.7.21/image/divider-line.svg) center 0 no-repeat; height: 4px; width: 64px;}
.article_view a { color: #3d62ce; }
.article_view img { max-width: 100%; height: auto; display: block; margin: 0 auto; }
.article_view figure { max-width: 100%; clear: both; margin: 20px 0; text-align: center; }
.article_view figure figcaption { font-size: 13px; color: #777; padding-top: 10px; }

/* ==========================================================================
   9. 본문 표(Table) 모던화 & 티스토리 플러그인 충돌 방지
   ========================================================================== */
/* 본문에 직접 삽입한 표(Table) 스타일 */
.article_view table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 32px 0 !important;
    font-size: 15px !important;
    border: 1px solid #ced4da !important;
}
.article_view table th {
    background-color: #f8f9fa !important;
    font-weight: 700 !important;
    color: #333 !important;
    text-align: center !important;
    padding: 14px 16px !important;
    border: 1px solid #ced4da !important;
}
.article_view table td {
    padding: 14px 16px !important;
    border: 1px solid #e9ecef !important;
    color: #495057 !important;
    line-height: 1.6 !important;
    vertical-align: middle !important;
}
.article_view table tbody tr:hover td {
    background-color: #f1f8ff !important;
    transition: background-color 0.2s ease;
}

/* 티스토리 '카테고리의 다른 글' 플러그인 표 예외 처리 (충돌 방지 및 원상 복구) */
.article_view .another_category table {
    border-collapse: collapse !important;
    border: none !important;
    margin: 30px 0 !important;
}
.article_view .another_category table th,
.article_view .another_category table td {
    border: none !important;
    border-bottom: 1px solid #f1f3f5 !important;
    background: none !important;
    padding: 12px 8px !important;
}
.article_view .another_category table th { text-align: left !important; }
.article_view .another_category table td {
    text-align: right !important;
    width: 100px !important;
    font-size: 13px !important;
    color: #888 !important;
}
.article_view .another_category table tbody tr:hover td,
.article_view .another_category table tbody tr:hover th {
    background-color: transparent !important;
}
.article_view .another_category table a {
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #333 !important;
}

/* ==========================================================================
   10. 하단 태그, 관련글, 댓글
   ========================================================================== */
/* 태그 (TAG) */
.area_tag { padding: 40px 0; border-bottom: 1px solid #eee; border-top: 1px solid #eee; display: flex; align-items: center; }
.area_tag .title_tag { margin: 0; padding: 0 40px 0 0; font-size: 16px !important; font-weight: 900; color: #333 !important; padding-top: 6px !important; }
.area_tag .tag_content a { font-size: 14px !important; color: #666 !important; text-decoration: none; margin-left: 8px !important; }
.area_tag .tag_content a:hover { text-decoration: underline; color: var(--theme-color) !important; }

/* 관련글 */
.area_related { border-bottom: 1px solid #eee; padding-bottom: 40px;}
.area_related .title_related { margin: 40px 0 20px 0; font-size: 16px; font-weight: 900; }
.area_related .link_related { display: block; text-decoration: none; }
.area_related .link_related strong { display: block; margin: 12px 0 0; font-size: 16px; font-weight: 500; color: #333; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.area_related .info { display: inline-block; font-size: 13px; color: rgba(0, 0, 0, 0.38); }

.category_type_related .link_category { display: block; background: none !important; color: #333; }
.category_type_related .link_category strong { display: block; margin: 18px 0 6px 0; font-size: 18px; color: #333; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.category_type_related .link_category .text { margin: 0 0 13px 0; font-size: 14px; opacity: 0.7; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; width: 95%; }

/* 댓글 */
.area_reply { width: 100%; overflow: hidden; }
.area_reply .box_reply_info { margin: 40px 0 20px 0; }
.area_reply .reply_events { margin: 0; font-size: 16px; font-weight: 900; color: #333; }
.area_reply .thumbnail_reply { width: 45px; height: 45px; margin: 0; float: none; }
.area_reply .thumbnail_reply img { width: 100%; height: 100%; border-radius: 50%; }
.area_reply .box_reply_content { flex: 1; overflow: hidden; }
.area_reply .item_reply .user a { display: inline-block; margin-bottom: 8px; font-size: 16px; font-weight: bold; color: #333; }
.area_reply .item_reply .date { display: inline-block; padding-left: 3px; }
.area_reply .box_reply_content .txt { margin: 10px 0 0 0; font-size: 16px; }
.area_reply .form_content textarea { width: 100%; height: 102px; padding: 12px 14px; border: 1px solid #e1e1e1; font-size: 14px; }
.area_reply .inner_inp { margin: 0 4px; padding: 9px 14px; border: 1px solid #e1e1e1; }
.area_reply .inner_inp input { width: 90%; border: none; font-size: 14px; }
.area_reply .form_reg { text-align: right; }
.area_reply .btn_register { width: 115px; height: 42px; border: none; color: #fff; cursor: pointer; }

/* ==========================================================================
   11. 페이징 & 푸터
   ========================================================================== */
.area_paging { text-align: center; margin: 40px 0; }
.area_paging .link_page { display: inline-block; font-size: 24px; color: rgba(0, 0, 0, 0.25); }
.area_paging .link_page:hover { color: rgba(0, 0, 0, 0.54); }
.area_paging .paging_num { display: inline-block; vertical-align: top; }
.area_paging .link_num span { display: inline-block; min-width: 28px; height: 28px; margin: 0 5px; font-size: 13px; font-weight: 600; line-height: 31px; color: #000; }
.area_paging .selected { display: block; border-radius: 999em; background: #000; color: #fff !important; font-size: 13px; line-height: 32px; }

#footer { margin-top: 120px; padding: 50px 0; border-top: 1px solid #ebebeb; font-size: 14px; color: #999; text-align: center; }
#footer .link_footer { margin-left: 24px; padding-bottom: 3px; border-bottom: 1px solid #fff; font-weight: 700; color: #777; }
#footer .link_footer:hover { border-bottom: 1px solid #777; }
#footer .inner_footer .link_footer:first-child { margin-left: 0; }
#footer address { margin-top: 20px; font-style: normal; }

.area_common { max-width: 1180px; margin: 200px auto 0 auto; padding: 0 20px; }
.area_common .title_common { padding-bottom: 30px; font-size: 24px; font-weight: 900; text-align: center; }

/* ==========================================================================
   12. 해상도별 미디어 쿼리 (반응형 제어)
   ========================================================================== */
/* Tablet & Small Desktop (1406px 이하) */
@media screen and (max-width: 1406px) {
  .type_featured { margin-top: 60px; }
  .type_featured .text_slide { padding: 0 80px; font-size: 40px; }
  .type_featured .box_arrow { display: none; }
}

/* Tablet & Mobile (1023px 이하) */
@media screen and (max-width: 1023px) {
  .thema_apply .selected { color: var(--theme-color) !important; }

  /* Grid 레이아웃 2단 변경 */
  .area_related .list_related, .type_post .list_post, .category_type_post .list_category, .type_card .list_type_card { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .category_type_related .list_category { grid-template-columns: 1fr; }

  /* 헤더 축소 */
  .box_header { height: 70px !important; padding: 0 24px; }
  .box_header .title_logo, .area_popup .title_logo { font-size: 20px !important; }
  
  /* 본문 및 커버 여백 축소 */
  .area_view, .type_card, .type_notice, .type_banner { padding: 0 24px; }
  .area_cover, .type_featured { margin-top: 60px; }
  .area_category { margin-top: 70px; padding-top: 60px; }
  .area_category .title_section { text-align: left; }
  .type_featured .text_slide { position: absolute; bottom: 100px; height: auto; padding: 0 24px; font-size: 32px; }
  .type_featured .text_slide strong { font-size: 30px; }
  .area_view .article_header .title_post { font-size: 28px; line-height: 38px; }

  .type_notice .thumnail { width: 160px; height: 160px; }
  .list_type_banner .link_banner { height: 100px; }
  .list_type_banner .box_content { width: 100%; padding: 25px; }
  .list_type_banner .link_banner strong { font-size: 26px; }
  .list_type_banner .btn_go { display: none; }
  #footer { margin-top: 60px; }
}

/* Mobile Specific (768px 이하) */
@media screen and (max-width: 768px) {
  .area_sidebar .inner_sidebar { width: 100%; padding: 0 24px; }
  .area_sidebar .title_logo { font-size: 20px; }
  
  .area_related .list_related { grid-template-columns: 1fr; }

  .list_type_notice .link_notice strong { font-size: 16px; line-height: normal; }
  .list_type_notice .link_notice .text { font-size: 14px; -webkit-line-clamp: 2; }
  .type_notice .thumnail { width: 100px; height: 100px; }

  .article_view { margin-top: 40px; }
  .area_common { margin-top: 36px; padding-top: 60px; }
  .area_popup .search_content { padding: 0; }
  .area_popup .tag_zone, .area_popup .tag_board { width: 100%; padding: 0; }
}

/* Extra Small Mobile (375px 이하) */
@media screen and (max-width: 375px) {
  .list_post .link_post .info .name { width: calc(100% - 32px); font-size: 13px; }
}