@charset "UTF-8";

/* =======================================================
   전역 디자인 토큰 (Design Tokens & Typography Variables)
======================================================= */
:root {
  /* 테마 컬러 */
--navy-700: #0e1338; /* 미드나잇 딥 네이비 */
--navy-600: #231952; /* 다크 퍼플 네이비 */
--navy-500: #7c3aed; /* 비비드 로고 퍼플 */
--navy-400: #0ea5e9; /* 선명한 스카이블루 */
--navy-200: #f0f4ff; /* 연한 블루퍼플 배경 */
--ink-900:  #090d16; /* 딥 잉크 블랙 */
--ink-800:  #161c2d; /* 보조 잉크 블랙 */
--border-soft: #e8ecf4; /* 은은한 쿨 그레이 테두리 */

  /* [PC 본문 폰트 크기 변수] */
  --fs-post-title: 40px;      /* 글 메인 제목 (h1) */
  --fs-h1: 30px;              /* 본문 h1 */
  --fs-h2: 26px;              /* 본문 메인 헤더 (h2) */
  --fs-h3: 22px;              /* 본문 서브 헤더 (h3) */
  --fs-h4: 20px;              /* 본문 소분류 헤더 (h4) */
  --fs-body: 20px;            /* 본문 텍스트 (p) */
  --fs-body-lead: 18px;       /* 인트로 리드 텍스트 */
  --fs-summary: 16px;         /* 요약 카드 텍스트 */
  --fs-footer: 12px;          /* 푸터 및 카피라이트 */

  /* [PC 목록 폰트 크기 변수] */
  --fs-list-title: 20px;      /* 목록 글 제목 */
  --fs-list-desc: 14px;       /* 목록 글 요약(설명) */
  --fs-list-meta: 13px;       /* 목록 카테고리/날짜 메타정보 */

  /* [PC 목차(TOC) 폰트 크기 변수] */
  --fs-toc-title: 19px;       /* 목차 메인 제목 ('목차') */
  --fs-toc-item: 17px;        /* 1단계 대목차 */
  --fs-toc-subitem: 16px;     /* 2단계 소목차 (h3 하위) */
}

/* [모바일 폰트 크기 변수 (820px 이하 밸런스 조정)] */
@media (max-width: 820px) {
  :root {
    --fs-post-title: 24px;
    --fs-h1: 22px;
    --fs-h2: 20px;
    --fs-h3: 18px;
    --fs-h4: 16px;
    --fs-body: 16px;
    --fs-body-lead: 16px;
    --fs-summary: 15px;
    --fs-footer: 12px;

    /* [모바일 목록 폰트 크기 변수] */
    --fs-list-title: 16px;
    --fs-list-desc: 13px;
    --fs-list-meta: 12px;

    /* [모바일 목차(TOC) 폰트 크기 변수] */
    --fs-toc-title: 17px;
    --fs-toc-item: 16px;
    --fs-toc-subitem: 14px;
  }
}

/* 본문 영역 마크다운 표 100% 너비 적용 */
.entry-content table,
.article_view table,
.tt_article_useless_p_margin table {
  width: 100% !important;
  border-collapse: collapse;
}

/* ================================
   Progress Bar (상단 스크롤 표시줄)
=================================== */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, var(--navy-500), var(--navy-700));
  z-index: 9999;
}

/* =======================================================
   상단 고정 헤더 & 사이트 타이틀 (중앙 정렬)
======================================================= */
.area_head {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  z-index: 999;
  display: flex;
  align-items: center;
}

.area_head .area_profile {
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.area_head .tit_site {
  margin: 0;
  padding: 0;
  text-align: center;
  width: 100%;
}

.area_head .tit_site a {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy-700);
  text-decoration: none;
  letter-spacing: -0.5px;
  transition: color 0.2s ease;
  display: inline-block;
}

.area_head .tit_site a:hover {
  color: var(--navy-500);
}

/* 상단 여백 클래스 */
.center { text-align: center; padding-top: 50px; }
.top-class { text-align: center; padding-top: 60px; }

/* 푸터 */
.aros-footer {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 53px 0;
	background-color: rgb(54, 54, 52);

	.aros-footer-inner {
		width: 100%;
		max-width: 820px;
		padding: 0 20px;
		box-sizing: border-box;

		.aros-footer-logo {
			width: 104px;
			height: auto;

			img {
				width: 100%;
				height: 100%;
			}
		}

		.aros-footer-section01 {
			display: flex;
			justify-content: space-between;
			align-items: center;

			.aros-content {
				opacity: 0.7;
				font-family: 'SUIT Regular';
				font-size: 13px;
				line-height: 1.62;
				letter-spacing: -0.13px;
				text-align: left;
				color: #fff;
				margin-top: 10px;
				opacity: 0.6;
			}

			.aros-sns-link {
				color: rgb(243, 28, 28);
				font-family: 'SUIT Regular';
				font-size: 13px;
				display: flex;
				justify-content: space-between;
				align-items: center;
				column-gap: 10px;
				cursor: pointer;

				.aros-footer-dot {
					width: 3px;
					height: 3px;
					border-radius: 50%;
					background-color: white;
				}
			}
		}

		.aros-footer-section02 {
			.end-bar {
				border-top: 1px solid white;
				opacity: 0.2;
				margin-top: 25px;
			}

			.aros-footer-fixed {
				display: flex;
				justify-content: space-between;
				align-items: center;
				font-family: 'SUIT Light';
				font-size: var(--fs-footer);
				opacity: 0.5;
				color: rgb(245, 155, 155);
				margin-top: 25px;

				.aros-footer-aros100-warp {
					display: flex;
					justify-content: space-between;
					width: 220px;
					align-items: center;

					.aros-aros100-icon {
						cursor: pointer;
					}
				}
			}
		}
	}
}

/* 푸터 카피라이트 단일 클래스 */
.aros-copyright {
  font-size: var(--fs-footer);
  line-height: 1.6;
  color: #fff;
  opacity: 0.5;
  margin-top: 15px;
  letter-spacing: -0.2px;
  word-break: keep-all;
}

/* =======================================================
   아로스-목차 (TOC) 스타일 최적화
======================================================= */
.aros-toc {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 18px 20px;
  background-color: #f8fafc;
  margin: 20px 0;
}

.aros-toc .toc-center {
  text-align: center;
  padding-top: 0;
}

.aros-toc .toc-center p {
  font-size: var(--fs-toc-title);
  font-weight: 700;
  color: var(--navy-700);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.aros-toc #toc {
  box-sizing: border-box;
  margin: 0;
  padding: 0 0 0 0;
  list-style-type: decimal;
}

.aros-toc #toc li {
  color: var(--navy-500);
  font-size: var(--fs-toc-item);
  line-height: 1.6;
  margin-bottom: 8px;
  word-break: break-word;
}

.aros-toc #toc li a {
  color: var(--navy-600);
  text-decoration: none;
  transition: color 0.15s ease;
}

.aros-toc #toc li a:hover {
  color: var(--navy-400);
  text-decoration: underline;
}

.aros-toc #toc ul {
  list-style-type: disc;
  margin-top: 6px;
  margin-bottom: 4px;
}

.aros-toc #toc ul li {
  font-size: var(--fs-toc-subitem);
  margin-bottom: 4px;
}

@media (max-width: 767px){
  .hidden-xs { display: none!important; }
}
@media (min-width: 768px) and (max-width: 991px){
  .hidden-sm { display: none!important; }
}
@media (min-width: 992px) and (max-width: 1199px){
  .hidden-md { display: none!important; }
}
@media (min-width: 1200px){
  .hidden-lg { display: none!important; }
}

u {
  text-decoration: none;
  display: inline;
  box-shadow: inset 0 -9px 0 rgba(26, 59, 148, 0.25); 
}

/* === 본문 컴포넌트 === */
.skin_view .area_view .lead-intro {
  font-size: var(--fs-body-lead);
  line-height: 1.8;
  color: #2a2f45;
  background: #f4f6fb;
  border: 1px solid #cdd6f4;
  border-radius: 12px;
  padding: 14px 16px;
  margin: 12px 0 18px;
}

.skin_view .area_view .post-card{
  border: 1px solid var(--border-soft);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
  margin: 20px 0;
  overflow: hidden;
}

.skin_view .area_view .post-card .card-body{
  padding: 16px 14px 18px;
}

/* =======================================================
   모던 인디고 본문 헤딩 (H1 ~ H4) 타이포그래피 & 형태
======================================================= */
.skin_view .area_view h1 {
  font-size: var(--fs-h1) !important;
  line-height: 1.35;
  margin: 28px 0 16px;
  color: var(--ink-900);
}

/* H2: 솔리드/그라데이션 풀 필 둥근 직사각형 박스 */
.skin_view .area_view h2 {
  font-size: var(--fs-h2) !important;
  margin-top: 32px;
  margin-bottom: 18px;
  padding: 12px 18px;
  font-weight: 700 !important;
  line-height: 1.45;
  color: #ffffff !important;
  text-indent: 0;
  background: linear-gradient(90deg, var(--navy-600) 0%, var(--navy-500) 100%);
  border-radius: 8px;
  border: none;
  box-shadow: 0 4px 12px rgba(11, 31, 94, 0.12);
  box-sizing: border-box;
}

/* H3: 소프트 틴트 박스 + 좌측 두꺼운 세로선 강조 바 */
.skin_view .area_view h3 {
  font-size: var(--fs-h3) !important;
  margin: 24px 0 14px;
  padding: 11px 16px;
  font-weight: 700 !important;
  line-height: 1.5;
  color: var(--navy-700) !important;
  background: var(--navy-200);
  border-left: 5px solid var(--navy-500);
  border-radius: 0 8px 8px 0;
  border-top: none;
  border-right: none;
  border-bottom: none;
  box-sizing: border-box;
}

/* H4: 아웃라인 카드형 미니 박스 */
.skin_view .area_view h4 {
  font-size: var(--fs-h4) !important;
  margin: 18px 0 10px;
  padding: 8px 14px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink-800) !important;
  background: #f8fafc;
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  box-sizing: border-box;
}

/* ================================
   요약 카드 (summary-card)
=================================== */
.skin_view .area_view .summary-card{
  background: var(--navy-200);
  border-left: 4px solid var(--navy-500);
  padding: 14px 16px;
  margin: 20px 0;
  border-radius: 8px;
  font-size: var(--fs-summary);
  line-height: 1.75;
  color: #25304d;
  position: relative;
}

.skin_view .area_view .summary-card::before{
  content: "";
  display: inline-block;
  width: 16px; height: 16px;
  margin-right: 8px;
  vertical-align: -2px;
  background: var(--navy-600);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="%23000" d="M9.00011 16.1701L4.83011 12.0001L3.41011 13.4101L9.00011 19.0001L21.0001 7.00011L19.5901 5.59011L9.00011 16.1701Z"/></svg>') no-repeat center/contain;
          mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="%23000" d="M9.00011 16.1701L4.83011 12.0001L3.41011 13.4101L9.00011 19.0001L21.0001 7.00011L19.5901 5.59011L9.00011 16.1701Z"/></svg>') no-repeat center/contain;
}
.skin_view .area_view .summary-card strong{ color: var(--navy-700); }

/* =======================================================
   본문 텍스트 (p 태그) 행간 및 마진
======================================================= */
.skin_view .area_view p,
.skin_view .area_view p[data-ke-size] {
  font-size: var(--fs-body);
  line-height: 2.1;
  margin: 18px 0;
  color: #2b2b2b;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

/* 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;outline:none}
fieldset,img{border:0 none}
dl,ul,ol,menu,li {list-style:none}
blockquote, q {quotes: none}
input,select,textarea,button {vertical-align:middle}
button {border:0 none;background-color:transparent;cursor:pointer}
body {background:#fff; font-family:'Noto Sans', sans-serif; color:#333; -webkit-font-smoothing: antialiased;} 
a {color:#333;text-decoration:none}
a:active, a:hover {text-decoration:none}

#tistorytoolbarid { display:none }

/* global */
#dkIndex {overflow:hidden;position:absolute;left:-9999px;width:0;height:1px;margin:0;padding:0}
.ir_pm {display:block;overflow:hidden;font-size:0px;line-height:0;text-indent:-9999px}
.screen_out {overflow:hidden;position:absolute;width:0;height:0;line-height:0;text-indent:-9999px}
.cont_skin{margin-top:20px}
.article_skin{width:100%; max-width:820px; margin:0 auto; box-sizing:border-box;}
.txt_bar{display:inline-block;width:1px;height:9px;margin:0 5px;background-color:#ebebeb}
.img_profile{float:left;margin-right:16px;border-radius:50px}

.area_list .tit_category{ position:fixed; top:1px; width:50%; left:25%; line-height:80px; text-align:center;text-overflow: ellipsis;overflow: hidden;white-space: nowrap;z-index:21}
.tit_category .link_category{font-size:20px; font-weight:bold;color:var(--navy-500)}

/* 뷰 (플랫 베이스) */
.skin_view {
  background: transparent;
  border-radius: 0;
  padding: 0;
  border: none;
  box-shadow: none;
  margin-bottom: 0;
}
.skin_view .area_title{margin:0 15px;padding:15px 0 20px;border-bottom:1px solid #ebebeb;text-align:center}
.skin_view .tit_category a {font-weight:bold; color:var(--navy-500)}
.skin_view .tit_post{margin-top:7px;font-size:var(--fs-post-title);font-weight:bold;color:#000;line-height:1.35}
.skin_view .tit_post a { color:#000 }
.skin_view .txt_detail{display:block;margin-top:20px;font-size:12px;color:#aaa}
.skin_view .txt_detail .txt_bar { margin:0 7px 0 5px; }

.skin_view .area_view{padding:20px 0}
.skin_view .area_view a {color:#4c26f5}
.skin_view .area_view ul,
.skin_view .area_view ol { margin: 0 auto 28px; padding: 0 0 0 10px; }
.skin_view .area_view ul li,
.skin_view .area_view ol li { margin-left:24px; margin-bottom:8px; line-height: 1.8; }
.skin_view .area_view ul li { list-style:disc }
.skin_view .area_view ol li { list-style:decimal }
.skin_view .area_view blockquote { padding: 10px 20px; margin: 0 auto 24px; border-left:5px solid #eee }
.skin_view .area_view img { max-width:100%; height:auto }

/* =======================================================
   홈 / 카테고리 글 목록 (카드형 리스트 스타일)
======================================================= */
.list_content {
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border-soft);
  padding: 22px 24px;
  margin-bottom: 18px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: block;
  overflow: hidden;
}

.list_content:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11, 31, 94, 0.08);
  border-color: #c7d2e8;
}

.list_content::after {
  content: '';
  clear: both;
  display: table;
}

.list_content .thumbnail_post {
  float: right;
  width: 130px;
  height: 130px;
  margin: 0 0 0 20px;
  border-radius: 10px;
  overflow: hidden;
  background: #f1f3f7;
  display: block;
}

.list_content .thumbnail_post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.list_content:hover .thumbnail_post img {
  transform: scale(1.05);
}

.list_content .link_post {
  display: block;
  overflow: hidden;
  text-decoration: none !important;
}

.list_content .tit_post {
  font-size: var(--fs-list-title);
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.45;
  margin-bottom: 8px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  transition: color 0.2s;
}

.list_content:hover .tit_post {
  color: var(--navy-500);
}

.list_content .txt_post {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: var(--fs-list-desc);
  line-height: 1.6;
  color: #666;
  max-height: 45px;
  word-break: break-all;
  margin-bottom: 12px;
}

.list_content .detail_info {
  font-size: var(--fs-list-meta);
  color: #999;
  display: flex;
  align-items: center;
}

.list_content .detail_info .link_cate {
  font-weight: 600;
  color: var(--navy-500);
  margin-right: 8px;
}

/* =======================================================
   페이징 (Paging) - 가로 정렬 & 모던 버튼 스타일
======================================================= */
.area_paging {
  margin: 35px 0 60px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.area_paging .inner_paging {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #fff;
  padding: 8px 14px;
  border-radius: 40px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.area_paging .link_prev,
.area_paging .link_next,
.area_paging .link_page {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 !important;
  font-size: 14px;
  font-weight: 500;
  color: #555;
  border-radius: 50%;
  text-decoration: none !important;
  transition: all 0.2s;
  box-sizing: border-box;
}

.area_paging .link_page span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.area_paging .link_page span.selected {
  background-color: var(--navy-500) !important;
  color: #fff !important;
  border-radius: 50% !important;
  font-weight: 700;
}

/* 2. 선택된 번호의 width/height 정원형 보장 */
.area_paging .link_page span.selected {
  width: 34px !important;
  height: 34px !important;
  line-height: 34px !important;
  background-color: var(--navy-500) !important;
  color: #fff !important;
  border-radius: 50% !important;
  font-weight: 700;
}

.area_paging a:hover {
  background-color: #f0f3fa;
  color: var(--navy-600);
  border-radius: 50%;
}

.area_paging .interword {
  color: #aaa;
  font-size: 13px;
  padding: 0 4px;
}

.area_paging .no-more-prev,
.area_paging .no-more-next {
  display: none !important;
}

/* =======================================================
   모바일 반응형 최적화 (820px 이하)
======================================================= */
@media only screen and (max-width:820px) {
	.area_head {
	  height: 54px;
	}
	.area_head .area_profile {
	  padding: 0 16px;
	}
	.area_head .tit_site a {
	  font-size: 18px;
	}
	.top-class {
	  padding-top: 54px;
	}
	.cont_skin {
	  margin-top: 15px !important;
	}

	.article_skin{
	  padding: 0 12px;
	}
	
	.skin_view {
	  padding: 0;
	}
	
	.skin_view .area_title{margin:0 0 15px;padding:15px 0 15px}
	.skin_view .tit_category{font-size:13px}
	.skin_view .tit_post{margin-top:3px;padding:0;font-size:var(--fs-post-title);line-height:1.35}
	.skin_view .txt_detail{margin-top:14px}
	.skin_view .area_view{padding:14px 0}

	.skin_view .area_view p,
	.skin_view .area_view p[data-ke-size] {
	  line-height: 1.95 !important;
	  margin: 14px 0 !important;
	}

	/* 모바일 헤딩 패딩 미세 조정 */
	.skin_view .area_view h2 {
	  padding: 10px 14px;
	}
	.skin_view .area_view h3 {
	  padding: 9px 12px;
	}
	.skin_view .area_view h4 {
	  padding: 7px 10px;
	}

	/* 모바일 목차(TOC) 밸런스 조정 */
	.aros-toc {
	  padding: 14px 15px;
	  margin: 15px 0;
	}
	.aros-toc .toc-center p {
	  font-size: var(--fs-toc-title);
	  margin-bottom: 10px;
	}
	.aros-toc #toc {
	  padding-left: 0px;
	}
	.aros-toc #toc li {
	  font-size: var(--fs-toc-item);
	  line-height: 1.55;
	  margin-bottom: 6px;
	}
	.aros-toc #toc ul {
	  padding-left: 0px;
	}
	.aros-toc #toc ul li {
	  font-size: var(--fs-toc-subitem);
	}

	/* 모바일 목록 리스트 */
	.list_content {
	  padding: 16px;
	  margin-bottom: 12px;
	  border-radius: 12px;
	}
	.list_content .thumbnail_post {
	  width: 80px;
	  height: 80px;
	  margin: 0 0 0 12px;
	  border-radius: 8px;
	}
	.list_content .tit_post{
	  font-size: var(--fs-list-title);
	  line-height: 1.4;
	  margin-bottom: 6px;
	}
	.list_content .txt_post{
	  font-size: var(--fs-list-desc);
	  line-height: 1.5;
	  max-height: 38px;
	  margin-bottom: 8px;
	}
	.list_content .detail_info {
	  font-size: var(--fs-list-meta);
	}

	/* 모바일 페이징 */
	.area_paging_list { display: block !important; }
	.area_paging_simple { display: none !important; }
	.area_paging { margin: 25px 0 40px; }
	.area_paging .inner_paging {
	  padding: 6px 10px;
	  gap: 3px;
	}
	.area_paging .link_prev,
	.area_paging .link_next,
	.area_paging .link_page {
        width: 30px;              /* width로 고정 */
	height: 30px;
	padding: 0 !important; 
	font-size: 13px;
	}
        .area_paging .link_page span.selected {
	width: 30px !important;
	height: 30px !important;
	line-height: 30px !important;
	}

}

/* 댓글 영역 */
.skin_view .area_reply{margin-top:40px}
.area_reply .tf_reply{width:100%;height:90px;padding:12px;border:1px solid #eee;font-size:13px;box-sizing:border-box}
.area_reply .writer_btn .btn_enter{width:70px;height:36px;border-radius:4px;font-size:13px;background-color:var(--navy-500);color:#fff;font-weight:bold}

/* 페이지 번호 링크가 1개 이하(또는 1페이지만 존재)일 때 페이징 전체 숨김 */
.area_paging:not(:has(.link_page:nth-of-type(2))) {
  display: none !important;
}

/* 또는 '이전/다음' 링크가 모두 없고 현재 페이지만 있는 경우 숨김 */
.inner_paging:not(:has(a[href])) {
  display: none !important;
}