@charset "UTF-8";

	html {
		box-sizing: border-box;
		scroll-behavior: smooth;
	}

	img {
		height: auto;
		max-width: 100%;
		border-radius: 0.365em;
	}

	::selection {
		background-color: #FFD800; /* 선택된 텍스트의 배경 색을 노란색으로 설정 */
		color: #000; /* 선택된 텍스트의 글자 색을 검정색으로 설정 (선택적) */
	}

	.both {
		clear: both;
	}
	b, strong {
		font-family: 'Noto Serif KR', sans-serif !important;
		font-weight: 600;
		background: linear-gradient(transparent 50%, #E9EDEE 50%);
	}

	.small {
		font-size: 0.8rem !important;
	}

/* 텍스트 위치 */
	.align-left {
		text-align: left !important;
	}
	.align-center {
		text-align: center !important;
	}
	.align-right {
		text-align: right !important;
	}

	.fl {
		float: left;
	}
	.fr {
		float: right;
	}

	.flex-left {
		justify-content: flex-start !important;
	}

   

/* 폰트 한글 + 영문 */
	.hangle {
		font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
	}
	.hangles {
		font-family: 'Noto Serif KR', sans-serif !important;
	}
	.eng {
		font-family: "Taviraj", serif !important;
	}
	.pr {
		padding-right: 0.2em;
	}

	hr {
		clear: both;
		margin: 3rem 0;
		color: inherit;
		background-color: #303030;
		opacity: .25;
	}
	hr.major {
		margin: 1rem 0;
		color: inherit;
		background-color: currentColor;
		opacity: .25;
	}

	.posts .mbzero {
		    margin-bottom: 0rem !important;
	}

	.posts h3 {
		    font-size: 1.15rem;
		    font-weight: 700;
		    letter-spacing: 0.075em;
		    word-spacing: 0.1em;
		    line-height: 180%;
		    margin-bottom: 1rem !important;
	}
		@media (max-width: 768px) { /* 모바일 화면 크기에 맞춰 조정 */
		.posts h3 {
			font-size: 1rem;
		}
	}

	.posts p {
		    font-size: 0.9rem;
		    font-weight: 400;
		    letter-spacing: 0.075em;
		    word-spacing: 0.1em;
		    line-height: 180%;
		    margin-bottom: 2rem !important;
	}
		@media (max-width: 768px) { /* 모바일 화면 크기에 맞춰 조정 */
		.posts p {
			font-size: 0.9rem;
		}
	}

	blockquote p {
		    color: #878E94;
		    font-size: 1.15rem;		    
		    /* font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif; */
		    font-family: 'Noto Serif KR', sans-serif;
		    font-weight: 400;
		    letter-spacing: 0.075em;
		    word-spacing: 0.1em;
		    line-height: 200%;
		    margin: 0 0 0.3em 0;
	}


	hr {
		clear: both;
		margin: 3rem 0;
		color: inherit;
		background-color: #303030;
		opacity: .25;
	}
	hr.major {
		margin: 1rem 0;
		color: inherit;
		background-color: currentColor;
		opacity: .25;
	}


/* 본문 콘텐츠 영역 */
.post .content {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    line-height: 1.8;
    font-size: 1rem;
    clear: both;
}

/* 콘텐츠 내부 문단 */
.post .content p {
    margin: 0 0 1.5em;
}

/* 콘텐츠 내부 제목 */
.post .content h2 {
    margin: 2.5em 0 1em;
}

.post .content .box h2 {
    margin: 0em 0 1em;
}

.post .content h3 {
    margin: 2em 0 0.8em;
}

/* 콘텐츠 내부 이미지 */
.post .content img {
    max-width: 100%;
    height: auto;
}

/* 왼쪽 이미지 */
.post .content .image.left {
    margin: 0 1em 1em 0;
}

/* 테이블 영역 */
.post .content .table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 2em 0;
}

/* 구분선 */
.post .content hr {
    margin: 2.5em 0;
}


/* 파일공유사이트 검색 폼 */
.searchs {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden; /* 화면 밖으로 나가지 않도록 설정 */
}

.inputs {
    width: 100%;
    padding: 1.3em 1em !important;
    box-sizing: border-box;
    padding-right: 3em; /* 검색 아이콘과의 간격을 적당히 설정 */
    line-height: 2em !important;
    border-radius: 0.35em; /* 입력 폼의 라운딩을 정확하게 설정 */
    border: 1px solid #ccc; /* 입력 필드에 테두리를 추가하여 라운딩 효과 확실히 */
    background: #F9F9F9; /* 배경색 */
    box-shadow: inset 0px 0px 1px 0px #a0a1a7; /* 적당한 내부 그림자 */
}

.searchs .submits {
    background: none;
    border: none;
    position: absolute;
    right: 1em; /* 버튼이 검색폼 우측에 위치하도록 설정 */
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    padding: 0;
    min-width: 0;
    height: auto;
    line-height: normal;
    font-size: 1em;
    box-shadow: inset 0 0 0 0 #fff;
}

/* 모바일 화면에서 아이콘 위치 조정 */
@media screen and (max-width: 736px) {
    .inputs {
        padding-right: 3em;
    }

    .submits {
        right: 1em;
    }
}

/* 기존의 css가 검색폼에 적용되지 않게 */
.searchs button:hover {
    background-color: transparent;
}

/* 기본적으로 적용되는 스타일을 제외하려면, form.searchs를 추가해서 검색폼에만 스타일 적용 */
form.searchs input[type="text"],
form.searchs input[type="email"],
form.searchs input[type="password"],
form.searchs select,
form.searchs textarea {
    -webkit-transition: all .25s ease-in-out;
    -ms-transition: all .25s ease-in-out;
    transition: all .25s ease-in-out;
    -webkit-appearance: none;
    display: block;
    border: 0;
    background: #F9F9F9;
    box-shadow: inset 0px 0px 1px 0px #a0a1a7;
    border-radius: 0.35em;
    width: 100%;
    padding: 0;
}

/* 기존 버튼 스타일을 검색폼 버튼에서 제거
input[type="button"],
input[type="submit"],
input[type="reset"],
button,
.button {
    background: none !important;
    border: none !important;
    text-transform: none !important;
    font-weight: normal !important;
    letter-spacing: normal !important;
    text-decoration: none !important;
    padding: 0 !important;
    font-size: inherit !important;
    min-width: auto !important;
    height: auto !important;
    line-height: normal !important;
    cursor: pointer !important;
}
 */

/* 모바일에서 버튼 스타일 변경 */
@media screen and (max-width: 736px) {
    form.searchs .submits {
        display: inline-block;
        width: auto;
        font-size: 1em;
        max-width: none;
        margin: 0;
    }
/*
    input[type="button"], input[type="submit"], input[type="reset"], button, .button {
        display: inline-block !important;
        width: auto !important;
        font-size: inherit !important;
        max-width: none !important;
        margin: 0 !important;
    }
*/
}
/* 모바일에서 검색 관련 이미지가 안나오게  */
@media screen and (max-width: 736px) {
    .mobile-hide {
        display: none !important; /* mobile-hide 클래스를 가진 이미지 숨기기 */
    }
}

/* NEW */
.new {
    font-weight: 900;
    background: linear-gradient(to right, #FF8400, #FFC600); /* 그라데이션 색상 설정 */
    -webkit-background-clip: text; /* 텍스트에 배경을 클립 */
    -webkit-text-fill-color: transparent; /* 텍스트 색상을 투명으로 설정 */
    text-align: center; /* 텍스트 정렬 */
}
.hot {
    font-weight: 900;
    background: linear-gradient(to right, #A12B2B, #DF7474); /* 그라데이션 색상 설정 */
    -webkit-background-clip: text; /* 텍스트에 배경을 클립 */
    -webkit-text-fill-color: transparent; /* 텍스트 색상을 투명으로 설정 */
    text-align: center; /* 텍스트 정렬 */
}
.mobi {
    font-weight: 900;
    background: linear-gradient(to right, #C2438B, #ED8BC2); /* 그라데이션 색상 설정 */
    -webkit-background-clip: text; /* 텍스트에 배경을 클립 */
    -webkit-text-fill-color: transparent; /* 텍스트 색상을 투명으로 설정 */
    text-align: center; /* 텍스트 정렬 */
}




/* FAQ 코드 */
/* FAQ Accordion 스타일 */
.faq-list {
    margin: 30px 0;
}

.faq-item {
    border: 1px solid #e1e4e8;
    border-radius: 6px;
    margin-bottom: 12px;
    overflow: hidden;
    background: #fff;
}

.faq-header {
    padding: 20px;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: background 0.2s;
    position: relative;
}

.faq-header:hover {
    background: #f8f9fa;
}

.faq-header.faq-active {
    background: #f8f9fa;
    border-bottom: 1px solid #e1e4e8;
}

.faq-q-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: #D3E4F8;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
}

.faq-header.faq-active .faq-q-icon {
    color: #D3E4F8;
    background: #A9BFD8;
}

.faq-q-icon::after {
    content: 'Q';
}

.faq-header.faq-active .faq-q-icon::after {
    content: 'A';
}

.faq-toggle-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #666;
    transition: transform 0.4s ease;
}

.faq-header.faq-active .faq-toggle-icon {
    transform: translateY(-50%) rotate(180deg);
}

.faq-content-area {
    flex: 1;
    min-width: 0;
}

.faq-title {
    font-size: 16px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 10px;
    line-height: 1.5;
    padding-right: 30px;
}

.faq-meta {
    font-size: 13px;
    color: #868e96;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* 부드러운 아코디언 애니메이션 */
.faq-body {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.4s ease;
}

.faq-body.faq-active {
    max-height: 2000px; /* 충분히 큰 값 */
    opacity: 1;
}

.faq-answer {
    padding: 25px;
    background: #f8f9fa;
    border-top: 1px solid #e1e4e8;
}

.faq-answer-label {
    font-weight: bold;
    color: #4CAF50;
    margin-bottom: 15px;
    font-size: 15px;
}

.faq-answer-content {
    line-height: 1.8;
    color: #495057;
}

.faq-answer-content img {
    max-width: 100%;
    height: auto;
    margin: 15px 0;
}

.faq-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 4px 8px;
    font-size: 11px;
    border-radius: 3px;
    margin-left: 6px;
    font-weight: 500;
}

.badge-notice {
    background: #D3E4F8;
    color: white;
}

.badge-new {
    background: #D3E4F8;
    color: white;
}

.badge-category {
    background: #868e96;
    color: white;
}

/* 검색 폼 */
.search-box {
    margin: 25px 0;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 6px;
}

.search-form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-form select {
    flex: 0 0 150px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.search-form input[type="text"] {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* 상단 정보 */
.board-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #333;
}

.board-info {
    font-size: 14px;
    color: #666;
}

.board-info strong {
    color: #333;
    font-weight: bold;
}

.board-buttons {
    display: flex;
    gap: 8px;
}

/* 전체선택 */
.select-all-wrap {
    margin-bottom: 15px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 4px;
}

.select-all-wrap label {
    cursor: pointer;
    user-select: none;
    margin-right: 15px;
    font-weight: 500;
}

/* 체크박스 */
.faq-checkbox {
    flex-shrink: 0;
    margin-right: 10px;
}

.faq-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* 빈 목록 */
.empty-list {
    text-align: center;
    padding: 80px 20px;
    color: #868e96;
}

/* 페이지네이션 */
.pagination-wrap {
    text-align: center;
    margin: 40px 0;
}

/* 반응형 */
@media (max-width: 768px) {
    .faq-header {
        padding: 15px;
    }
    
    .faq-title {
        font-size: 14px;
    }
    
    .faq-meta {
        font-size: 12px;
        gap: 8px;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .search-form select,
    .search-form input[type="text"] {
        width: 100%;
    }
    
    .search-form select {
        flex: 0 0 50px;
    }

    .board-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}


/* 게시판 목록 */
.guide-list {
	border-top: 2px solid #222;
	margin-top: 10px;
	width: 100%;
	overflow-x: hidden;      /* 혹시 넘쳐도 스크롤 대신 잘리게 */
	box-sizing: border-box;
}
.guide-list-head {
	display: flex;
	align-items: center;
	padding: 1rem;
	background: #f7f8fa;
	font-size: 13px;
	font-weight: 600;
	color: #888;
	border-bottom: 1px solid #eaeaea;
}
.guide-row {
	display: flex;
	align-items: center;
	padding: 16px;
	text-decoration: none;
	color: #222;
	border-bottom: 1px solid #eee;
	transition: background 0.15s ease, padding-left 0.15s ease;
	width: 100%;
	box-sizing: border-box;   /* padding이 너비에 포함되도록 */
}
.guide-row:hover {
	background: #fafbfc;
	padding-left: 20px;
}
.guide-row:hover .col-subject {
	color: #2563eb;
}
.col-num {
	flex: 0 0 60px;
	font-size: 1rem;
	color: #aaa;
	font-weight: 500;
}
.col-subject {
	flex: 1;
	min-width: 0;             /* flex 아이템이 내용 때문에 넘치는 것 방지 (핵심) */
	font-size: 1rem;
	font-weight: 500;
	text-align: left;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: color 0.15s ease;
}
.col-date {
	flex: 0 0 110px;
	text-align: right;
	font-size: 1rem;
	font-weight: 500;
	color: #999;
}

/* 모바일: 번호/날짜 숨기고 제목만 */
@media (max-width: 736px) {
	.guide-list-head { display: none; }
	.guide-row { padding: 14px 12px; }
	.col-num, .col-date { display: none; }
	.col-subject {
		font-size: 14px;
		white-space: nowrap;      /* normal → nowrap + ellipsis로 변경 (아래 설명) */
		overflow: hidden;
		text-overflow: ellipsis;
	}
}


/* 목차 */
.toc-accordion {
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	overflow: hidden;
	margin: 24px 0;
	background: #fff;
}
.toc-toggle {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 16px 20px;
	background: #f8f9fb !important;
	border: none;
	cursor: pointer;
	font-size: 15px;
	font-weight: 700;
	color: #1f2937 !important;
	text-align: left;
	transition: background 0.15s ease;
	box-shadow: inset 0 0 0 0 #fff;
}
.toc-toggle:hover {
	color:555# !important;
	background: #f1f2f5 !important;
	box-shadow: inset 0 0 0 0 #fff;
}
.toc-toggle-icon {
	font-size: 16px;
	color: #6b7280;
}
.toc-toggle-text {
	flex: 1;
}
.toc-toggle-arrow {
	font-size: 13px;
	color: #9ca3af;
	transition: transform 0.3s ease;
}
.toc-toggle.is-open .toc-toggle-arrow {
	transform: rotate(180deg);
}

.toc-body {
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	transition: max-height 0.35s ease, opacity 0.25s ease;
}
.toc-body.is-open {
	opacity: 1;
}

.toc-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 4px 24px;
	padding: 8px 20px 20px;
	border-top: 1px solid #eee;
}
.toc-col {
	list-style: none;
	margin: 0;
	padding: 0;
}
.toc-col li {
	border-bottom: 1px dashed #eee;
}
.toc-col li:last-child {
	border-bottom: none;
}
.toc-col a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 4px;
	text-decoration: none;
	color: #374151;
	font-size: 14px;
	transition: color 0.15s ease, padding-left 0.15s ease;
	border-bottom: dotted 0px;
}
.toc-col a:hover {
	color: #2563eb;
	padding-left: 6px;
}
.toc-num {
	flex: 0 0 auto;
	font-size: 12px;
	font-weight: 700;
	color: #9ca3af;
	min-width: 20px;
}
.toc-col a:hover .toc-num {
	color: #2563eb;
}

/* 모바일: 3열 → 1열 */
@media (max-width: 736px) {
	.toc-grid {
		grid-template-columns: 1fr;
		gap: 0;
		padding: 4px 16px 16px;
	}
	.toc-toggle {
		padding: 14px 16px;
		font-size: 14px;
	}
}