@charset "UTF-8";

/* Reset */
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, textarea, p, blockquote, th, td, input, select, button {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
fieldset, img { border: 0 none; }
dl, ul, ol, li { list-style: none; }
a { color: #333; text-decoration: none; }
a:hover { text-decoration: underline; }
body {
  background: #fff;
  font-size: 14px;
  line-height: 1.6;
  font-family: 'Spoqa Han Sans', 'Apple SD Gothic Neo', sans-serif;
  color: #333;
}

/* 글로벌 구분선 */
.txt_bar {
  display: inline-block;
  width: 1px;
  height: 10px;
  margin: 0 8px;
  background-color: #e5e5e5;
}

/* 전체 30:70 플렉스 레이아웃 구조 */
.custom-blog-container {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

/* 왼쪽 사이드바 (30%) - 다크 모던 스타일 */
.sidebar-left {
  width: 30%;
  min-width: 280px;
  max-width: 360px;
  background-color: #1e1e24; /* 어두운 배경 */
  color: #fff;
  padding: 40px 30px;
  border-right: 1px solid #2d2d35;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

/* 프로필 컴포넌트 */
.profile-section {
  text-align: center;
  margin-bottom: 30px;
}
.profile-thumb {
  width: 90px;
  height: 90px;
  margin: 0 auto 15px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #6bacce;
}
.profile-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 5px;
}
.blog-title a { color: #fff; }
.blogger-name {
  font-size: 14px;
  color: #a7a7a7;
  margin-bottom: 2px;
}
.blogger-email {
  font-size: 12px;
  color: #6bacce;
  margin-bottom: 15px;
}

/* 카운터 스타일 */
.visitor-counter {
  display: flex;
  justify-content: center;
  gap: 15px;
  font-size: 12px;
  color: #888;
  background: #2a2a35;
  padding: 6px 12px;
  border-radius: 20px;
  width: fit-content;
  margin: 0 auto;
}
.visitor-counter .num {
  color: #fff;
  font-weight: bold;
}

.sidebar-divider {
  border: 0;
  height: 1px;
  background: #2d2d35;
  margin: 20px 0;
}

/* 카테고리 스타일 메뉴 */
.category-section .tt_category .link_tit {
  display: block;
  font-size: 15px;
  color: #fff;
  font-weight: bold;
  margin-bottom: 12px;
  padding-bottom: 5px;
  border-bottom: 1px solid #3a3a45;
}
.category-section .category_list > li {
  margin-bottom: 8px;
}
.category-section .category_list .link_item {
  display: block;
  font-size: 14px;
  color: #ccc;
  padding: 6px 0;
  transition: color 0.2s;
}
.category-section .category_list .link_item:hover {
  color: #6bacce;
  text-decoration: none;
}
.category-section .tt_category .c_cnt {
  font-size: 11px;
  color: #666;
  margin-left: 5px;
}

/* 소분류 리스트 스타일 (기본 숨김은 JS 및 아래 코드 연동) */
.category-section .sub_category_list {
  padding-left: 15px;
  margin-top: 4px;
  margin-bottom: 8px;
  border-left: 1px dashed #444;
}
.category-section .sub_category_list .link_sub_item {
  display: block;
  font-size: 13px;
  color: #999;
  padding: 4px 0;
}
.category-section .sub_category_list .link_sub_item:hover {
  color: #6bacce;
  text-decoration: none;
}

/* 오른쪽 본문 영역 (70%) */
.content-right {
  width: 70%;
  flex: 1;
  padding: 60px 50px;
  background-color: #fafafa;
  overflow-y: auto;
}
.content-inner {
  max-width: 840px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* 최신글 및 카테고리별 목록 타이틀 */
.tit_skin {
  font-size: 22px;
  font-weight: 400;
  color: #222;
  border-bottom: 2px solid #222;
  padding-bottom: 15px;
  margin-bottom: 30px;
}

/* 글 목록 피드 스타일 */
.list_content {
  display: flex;
  gap: 20px;
  padding: 25px 0;
  border-bottom: 1px solid #eee;
}
.thumbnail_post img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 4px;
}
.post-summary-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.tit_post {
  display: block;
  font-size: 18px;
  color: #111;
  margin-bottom: 8px;
}
.txt_post {
  font-size: 14px;
  color: #666;
  margin-bottom: 12px;
  line-height: 1.5;
}
.detail_info {
  font-size: 12px;
  color: #999;
}
.detail_info .link_cate { color: #6bacce; font-weight: bold; }

/* 본문 보기 화면 스타일 */
.area_title {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}
.tit_category a { color: #6bacce; font-size: 14px; }
.tit_post-view { font-size: 28px; color: #111; margin-top: 5px; margin-bottom: 10px; }
.info_post { font-size: 12px; color: #999; }
.area_view { font-size: 16px; color: #333; line-height: 1.8; margin-bottom: 40px; }

/* 페이징 */
.area_paging {
  text-align: center;
  margin-top: 40px;
}
.inner_paging a {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid #ddd;
  margin: 0 2px;
  font-size: 13px;
  border-radius: 3px;
}
.inner_paging .link_page:hover {
  background: #6bacce;
  color: #fff;
  border-color: #6bacce;
}

/* 푸터 */
.area_foot {
  text-align: center;
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  font-size: 12px;
  color: #aaa;
}
.area_foot a { color: #888; }