/* 아방스 스튜디오 게시판 스킨: board.default.css 위에 덮어쓴다 */

.st-board {
	--st-ink: #16181d;
	--st-muted: #596070;
	--st-line: #dfe3ea;
	--st-soft: #f2f4f7;
	--st-blue: var(--blue, #2b3af7);
	color: var(--st-ink);
	font-family: inherit;
}

.st-board a { color: inherit; }

/* 카테고리 탭 */
.st-board .cTab { margin: 0 0 20px; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.st-board .cTab li { float: none; margin: 0; border: 0; background: none; }
.st-board .cTab li a { display: block; padding: 6px 16px; border: 0; border-radius: 999px; background: var(--st-soft); color: var(--st-muted); font-weight: 600; font-size: 0.92rem; }
.st-board .cTab li.on > a { background: var(--st-ink); color: #fff; }

/* 공지 */
.st-notices { margin: 0 0 24px; padding: 0; list-style: none; border-top: 2px solid var(--st-ink); }
.st-notices li { display: flex; align-items: baseline; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--st-line); }
.st-notices a { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.st-notices a:hover { color: var(--st-blue); }
.st-notices time { flex: none; color: var(--st-muted); font-size: 0.85rem; font-variant-numeric: tabular-nums; }
.st-notice-tag { flex: none; color: var(--st-blue); font-size: 0.85rem; font-weight: 700; }

.st-empty { padding: 72px 0; text-align: center; color: var(--st-muted); }

/* 목록: 썸네일 카드 */
.st-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 32px 20px; margin: 0; padding: 0; border: 0; width: auto; }
.st-card { position: relative; min-width: 0; }
.st-card-link { display: block; }
.st-card-thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 8px; background: var(--st-line); }
.st-card-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.st-card-link:hover .st-card-thumb img { transform: scale(1.04); }
.st-card-title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-top: 10px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: -0.02em;
}
.st-card-link:hover .st-card-title { color: var(--st-blue); }
.st-card-meta { display: flex; flex-wrap: wrap; gap: 2px 10px; margin: 4px 0 0; color: var(--st-muted); font-size: 0.82rem; font-variant-numeric: tabular-nums; }
.st-card-meta a:hover { color: var(--st-blue); }
.st-file { color: var(--st-blue); font-weight: 600; }
.st-card.current .st-card-thumb { outline: 3px solid var(--st-blue); outline-offset: 2px; }

.st-check { position: absolute; z-index: 2; top: 8px; left: 8px; padding: 4px; background: rgba(255, 255, 255, 0.92); border-radius: 4px; line-height: 0; }
.st-notices .st-check { position: static; background: none; padding: 0; align-self: center; }

/* 목록 아래: 쪽 이동, 검색, 글쓰기 */
.st-footer { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; border: 0; background: none; padding: 0; }
.st-footer .pagination { flex: 1 0 100%; text-align: center; margin: 0; }
.st-search { display: flex; gap: 6px; margin: 0; position: static; padding: 0; border: 0; background: none; }
.st-search .iText { width: 220px; height: 40px; padding: 0 12px; border: 1px solid var(--st-line); border-radius: 8px; }
.st-search select { height: 40px; border: 1px solid var(--st-line); border-radius: 8px; padding: 0 8px; }
.st-footer .btn, .st-board .read_footer .btn {
	display: inline-block;
	height: 40px;
	padding: 0 18px;
	line-height: 38px;
	border: 1px solid var(--st-line);
	border-radius: 8px;
	background: #fff;
	color: var(--st-ink);
	font-weight: 600;
	font-size: 0.9rem;
	cursor: pointer;
}
.st-footer .btn:hover, .st-board .read_footer .btn:hover { border-color: var(--st-ink); }
.st-actions { display: flex; gap: 6px; margin: 0; float: none; }
.st-actions .btn:first-child { background: var(--st-blue); border-color: var(--st-blue); color: #fff; }

/* 글 본문 */
.st-board .board_read { margin: 0 auto 64px; max-width: 800px; padding: 0; border: 0; }
.st-board .read_header { margin: 0 0 28px; padding: 0; border: 0; background: none; }
.st-board .read_header h1 { margin: 0; padding: 0; font-size: clamp(1.55rem, 3.4vw, 2.2rem); font-weight: 800; line-height: 1.28; letter-spacing: -0.035em; }
.st-board .read_header h1 a { color: inherit; }
.st-board .read_header .category { margin-right: 8px; color: var(--st-blue); font-size: 0.6em; vertical-align: middle; }
.st-board .read_header .time { margin: 14px 0 0; float: none; position: static; color: var(--st-muted); font-size: 0.9rem; }
.st-board .read_header .meta { margin: 2px 0 0; float: none; position: static; color: var(--st-muted); font-size: 0.9rem; }
.st-board .read_header .meta .sum { margin-left: 10px; float: none; }
.st-board .read_header .meta .sum span + span { margin-left: 8px; }

.st-board .read_body { margin: 0; padding: 0; font-size: 1.04rem; line-height: 1.85; word-break: keep-all; overflow-wrap: break-word; }
.st-board .read_body img { max-width: 100%; height: auto; }
.st-board .read_body iframe, .st-board .read_body video { max-width: 100%; }
.st-board .read_body :where(h2, h3) { margin: 1.8em 0 0.6em; letter-spacing: -0.03em; line-height: 1.3; }
.st-board .read_body a { color: var(--st-blue); text-decoration: underline; text-underline-offset: 3px; }

/* 내려받기 블록 */
.st-download { margin: 0 0 28px; padding: 18px 20px; border: 1.5px solid var(--st-blue); border-radius: 12px; background: #f4f5ff; }
.st-download h2 { margin: 0 0 10px; font-size: 1rem; letter-spacing: -0.02em; }
.st-download h2 span { margin-left: 4px; color: var(--st-muted); font-weight: 500; }
.st-download ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.st-download a {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 4px 16px;
	padding: 12px 16px;
	border-radius: 8px;
	background: var(--st-blue);
	color: #fff;
}
.st-download a:hover { background: #1f2bd0; }
.st-download strong { min-width: 0; overflow-wrap: anywhere; }
.st-download a span { font-size: 0.82rem; opacity: 0.85; font-variant-numeric: tabular-nums; }

.st-board .read_footer { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--st-line); }
.st-board .read_footer .tns { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.st-board .read_footer .tags a { margin-right: 6px; color: var(--st-muted); }
.st-linkcopy { height: 34px; padding: 0 14px; border: 1px solid var(--st-line); border-radius: 8px; background: #fff; font: inherit; font-size: 0.86rem; font-weight: 600; cursor: pointer; }
.st-linkcopy:hover { border-color: var(--st-ink); }
.st-board .read_footer .btnArea { margin-top: 18px; display: flex; gap: 6px; }
.st-board .read_footer .btnArea .etc { margin-left: auto; float: none; }

/* 본문 아래에 나오는 같은 게시판 다른 글 */
.st-board .board_read ~ .st-cards::before,
.st-board .board_read ~ .st-notices { }
.st-board .board_read ~ .st-cards { padding-top: 28px; border-top: 2px solid var(--st-ink); }

@media (max-width: 860px) {
	.st-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
	.st-search { width: 100%; }
	.st-search .iText { flex: 1; width: auto; min-width: 0; }
	.st-board .read_body { font-size: 1rem; }
}
@media (max-width: 340px) {
	.st-cards { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
	.st-card-thumb img { transition: none; }
	.st-card-link:hover .st-card-thumb img { transform: none; }
}

/* 기본 스킨의 어두운 제목 띠와 고정 너비를 걷어낸다 */
.st-board .board_read { background: none; }
.st-board .read_header { background: none; }
.st-board .read_header h1 {
	width: auto;
	margin: 0;
	overflow: visible;
	white-space: normal;
	text-overflow: clip;
	color: var(--st-ink);
	font-size: clamp(1.55rem, 3.4vw, 2.2rem);
	line-height: 1.28;
}
.st-board .read_header h1 a { color: var(--st-ink); }
.st-board .read_header h1 .category { border: 0; padding: 0; margin: 0 10px 0 0; color: var(--st-blue); font-weight: 700; }
.st-board .read_header .time { position: static; color: var(--st-muted); font-size: 0.9rem; }
.st-board .read_header .meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 12px 0 14px; background: none; border-bottom: 1px solid var(--st-line); white-space: normal; }
.st-board .read_header .meta .author { float: none; color: var(--st-ink); }
.st-board .read_header .meta .sum { float: none; margin: 0; font-size: 0.9rem; }
.st-board .read_header .meta .sum .vote { border: 0; padding: 0; margin: 0 0 0 8px; }
.st-board .read_header .time { margin: 14px 0 0; }
.st-board .read_body { padding: 0; background: none; }
.st-board .read_body .xe_content { color: var(--st-ink); }
.st-board .read_footer .tns { margin: 0; padding: 0; border: 0; overflow: visible; }
.st-board .read_footer .tns .action { float: none; margin: 0; padding: 0 12px; line-height: 34px; border: 1px solid var(--st-line); border-radius: 8px; background: #fff; color: var(--st-ink); font-size: 0.86rem; font-weight: 600; }
.st-board .exOut { margin: 0 0 24px; }

/* 카테고리 탭: 기본 스킨의 고정 높이와 탭 테두리 제거 */
.st-board .cTab { border: 0; margin-bottom: 24px; }
.st-board .cTab li, .st-board .cTab li.on { border: 0; margin: 0; }
.st-board .cTab li a { float: none; position: static; height: auto; line-height: 1.5; padding: 6px 16px; border: 0; font-size: 0.92rem; }
.st-board .cTab li.on a { color: #fff; border: 0; }

.st-board .st-cards, .st-board .st-footer { background: none; }

/* 댓글 */
.st-board .feedback { margin: 48px auto 0; max-width: 800px; border: 0; color: var(--st-ink); }
.st-board .feedback .fbHeader { height: auto; margin: 0 0 8px; padding: 0 0 12px; line-height: 1.4; background: none; border-bottom: 2px solid var(--st-ink); }
.st-board #comment .fbHeader { background: none; }
.st-board .feedback .fbHeader h2 { display: block; font-size: 1.15rem; letter-spacing: -0.02em; }
.st-board .feedback .fbHeader h2 em { color: var(--st-blue); text-decoration: none; font-style: normal; }
.st-hint { margin: 20px 0; color: var(--st-muted); font-size: 0.93rem; line-height: 1.7; }

.st-board .feedback .fbList { margin: 0; }
.st-board .feedback .fbItem { padding: 18px 0; border-bottom: 1px solid var(--st-line); margin: 0; background: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.st-board .feedback .fbItem::after { display: none; }
.st-board .feedback .fbItem.indent { margin-left: 28px; padding-left: 16px; border-left: 3px solid var(--st-soft); }
.st-board .feedback .fbMeta { float: none; width: auto; padding: 0; display: flex; align-items: center; gap: 4px 10px; flex-wrap: wrap; }
.st-board .feedback .fbMeta .profile { float: none; flex: none; width: 32px; height: 32px; margin: 0; border: 0; border-radius: 50%; background-color: var(--st-soft); object-fit: cover; }
.st-board .feedback .fbMeta .author { font-size: 0.93rem; font-weight: 700; }
.st-board .feedback .author a { color: var(--st-ink); }
.st-board .feedback .time { font: inherit; font-size: 0.82rem; color: var(--st-muted); font-variant-numeric: tabular-nums; }
.st-board .feedback .xe_content { margin: 0; color: var(--st-ink); font-size: 0.97rem; line-height: 1.75; }
.st-board .feedback .xe_content.deleted { color: var(--st-muted); font-style: italic; }
.st-board .feedback .action { float: none; padding: 0; display: flex; gap: 14px; font-size: 0.84rem; white-space: normal; }
.st-board .feedback .action a, .st-board .feedback .action a.this { padding: 0; margin: 0; background: none; color: var(--st-muted); text-decoration: none; }
.st-board .feedback .action a:hover { color: var(--st-ink); }
.st-board .feedback .fileList { margin: 0; }

.st-board .write_comment { margin: 28px 0 0; padding: 20px; border: 1px solid var(--st-line); border-radius: 12px; background: var(--st-soft); }
.st-board .write_comment textarea { width: 100%; border: 1px solid var(--st-line); border-radius: 8px; background: #fff; font: inherit; }
.st-board .write_comment .write_author { margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.st-board .write_author .item { display: flex; align-items: center; gap: 8px; margin: 0; }
.st-board .write_author .iLabel, .st-board .write_author label { position: static; margin: 0; color: var(--st-muted); font-size: 0.86rem; text-indent: 0; width: auto; }
.st-board .write_author .iText { width: 150px; max-width: 100%; height: 38px; padding: 0 10px; border: 1px solid var(--st-line); border-radius: 8px; background: #fff; }
.st-board .write_comment .btnArea { margin-top: 14px; float: none; text-align: right; }
.st-board .write_comment .btn, .st-board .write_footer .btn {
	height: 42px;
	padding: 0 22px;
	line-height: 40px;
	border: 1px solid var(--st-ink);
	border-radius: 8px;
	background: #fff;
	color: var(--st-ink);
	font: inherit;
	font-size: 0.93rem;
	font-weight: 700;
	cursor: pointer;
}
.st-board .write_comment .btn[type="submit"], .st-board .write_footer input.btn[type="submit"] { background: var(--st-blue); border-color: var(--st-blue); color: #fff; }
.st-board .write_comment .btn[type="submit"]:hover, .st-board .write_footer input.btn[type="submit"]:hover { background: #1f2bd0; }
.st-board .fbFooter { max-width: 800px; margin: 20px auto 0; }
.st-board .fbFooter .btn { display: inline-block; height: 40px; padding: 0 18px; line-height: 38px; border: 1px solid var(--st-line); border-radius: 8px; background: #fff; font-weight: 600; font-size: 0.9rem; }
.st-board .context_data { max-width: 800px; margin: 0 auto 16px; padding: 16px 20px; border-left: 4px solid var(--st-line); background: var(--st-soft); border-radius: 0 8px 8px 0; }

/* 글쓰기 */
.st-board .board_write { max-width: 900px; margin: 0 auto; background: none; }
.st-write-title { margin: 0 0 20px; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.035em; }
.st-board .write_header { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; background: none; }
.st-board .write_header select { width: auto; height: 52px; padding: 0 12px; border: 1px solid var(--st-line); border-radius: 8px; background: #fff; font: inherit; }
.st-board .write_header .iText { flex: 1 1 320px; width: auto; min-width: 0; height: 52px; margin: 0; padding: 0 16px; border: 1px solid var(--st-line); border-radius: 8px; background: #fff; font: inherit; font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; }
.st-board .write_header .iText:focus { border-color: var(--st-blue); outline: 0; box-shadow: 0 0 0 3px rgba(var(--blue-rgb, 43, 58, 247), 0.18); }
.st-board .write_editor { margin-top: 14px; }
.st-board .write_editor .xd { margin-top: 0; }
.st-board .exForm { margin-top: 14px; padding: 0; background: none; }
.st-board .exForm table { width: 100%; border-collapse: collapse; }
.st-board .exForm th, .st-board .exForm td { padding: 10px 8px; border: 0; border-bottom: 1px solid var(--st-line); text-align: left; }
.st-board .exForm th { width: 140px; font-weight: 600; font-size: 0.9rem; }
.st-board .write_footer { margin: 20px 0 0; overflow: visible; }
.st-board .write_footer .write_option { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 6px; margin: 0 0 16px; padding: 14px 16px; border-radius: 10px; background: var(--st-soft); font-size: 0.9rem; }
.st-board .write_footer .write_option label { margin: 0 14px 0 0; }
.st-board .write_footer .write_author { padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 10px 16px; }
.st-board .write_footer .write_author .item:last-child { flex: 1 1 280px; flex-wrap: wrap; }
.st-board .write_footer .write_author .item:last-child .iText { flex: 1 1 200px; width: auto; }
.st-board .write_footer .btnArea { float: none; display: flex; gap: 8px; margin: 0; justify-content: flex-end; }

@media (max-width: 860px) {
	.st-board .feedback .fbItem.indent { margin-left: 12px; }
	.st-board .write_author .iText { width: 100%; }
	.st-board .write_author .item { flex: 1 1 100%; flex-wrap: wrap; }
	.st-board .exForm th { display: block; width: auto; border: 0; padding-bottom: 0; }
	.st-board .exForm td { display: block; }
}

/* 입력칸 이름표는 안내 문구(placeholder)가 대신한다. 화면 낭독용으로만 남긴다 */
.st-board .write_author .iLabel {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}
.st-board .write_author .item { position: relative; }
.st-board .write_footer .btnArea .btn { height: 46px; padding: 0 30px; line-height: 44px; font-size: 1rem; }
.st-board .write_footer .btnArea input.btn { appearance: none; -webkit-appearance: none; }

.st-board .write_footer .btnArea .btn,
.st-board .write_comment .btnArea .btn {
	height: 46px !important;
	padding: 0 30px !important;
	line-height: 44px !important;
	font-size: 1rem !important;
	border-radius: 8px !important;
}

/* 강좌 영상: 글에 박힌 고정 크기와 상관없이 본문 너비를 채운다 */
.st-board .read_body iframe[src*="youtube"],
.st-board .read_body iframe[src*="youtu.be"] {
	display: block;
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 16 / 9;
	border: 0;
	border-radius: 10px;
	background: #000;
}

/* 글 하단: 한 줄로 정리 */
.st-board .read_footer .tns { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0; padding: 0; border: 0; background: none; }
.st-board .read_footer .tns .st-back { margin-right: auto; }
.st-board .read_footer .tns .tags { order: 2; }
.st-board .read_footer .tns .action { margin-left: auto; }
.st-board .read_footer .btnArea:not(:has(a)) { display: none; }

/* 이어서 보기: 같은 게시판의 앞뒤 강좌 */
.st-neighbors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 32px 0 0; }
.st-nb { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 12px; border: 1px solid var(--st-line); border-radius: 12px; background: #fff; }
.st-nb:hover { border-color: var(--st-ink); }
.st-nb-prev { grid-column: 1; }
.st-nb-next { grid-column: 2; flex-direction: row-reverse; text-align: right; }
.st-nb-thumb { flex: none; width: 104px; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: var(--st-soft); }
.st-nb-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.st-nb-text { min-width: 0; }
.st-nb-text em { display: block; margin-bottom: 2px; font-style: normal; font-size: 0.8rem; color: var(--st-muted); }
.st-nb-text strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 0.95rem; line-height: 1.4; letter-spacing: -0.02em; }
@media (max-width: 860px) {
	.st-neighbors { grid-template-columns: minmax(0, 1fr); }
	.st-nb-next { grid-column: 1; }
	.st-nb-thumb { width: 88px; }
}

/* 글 하단 줄: 목록은 왼쪽, 나머지는 오른쪽. 버튼 높이를 맞춘다 */
.st-board .read_footer .tns { justify-content: flex-end; }
.st-board .read_footer .tns .st-back { order: -1; margin: 0 auto 0 0 !important; }
.st-board .read_footer .tns .action { margin-left: 0; }
.st-board .read_footer .tns .btn.st-back,
.st-board .read_footer .tns .action,
.st-board .read_footer .tns .st-linkcopy {
	box-sizing: border-box;
	height: 36px !important;
	padding: 0 16px !important;
	line-height: 34px !important;
	border: 1px solid var(--st-line);
	border-radius: 8px !important;
	background: #fff;
	color: var(--st-ink);
	font-size: 0.88rem;
	font-weight: 600;
}
.st-board .read_footer .tns { float: none; width: 100%; }

/* 보기 방식 전환: 방문자가 직접 고른다 */
.st-viewbar { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin: 0 0 14px; }
.st-viewbar-label { color: var(--st-muted); font-size: 0.85rem; }
.st-viewtoggle { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--st-soft); }
.st-viewtoggle button { appearance: none; -webkit-appearance: none; border: 0; background: none; font: inherit; font-size: 0.85rem; font-weight: 600; color: var(--st-muted); padding: 6px 14px; border-radius: 8px; cursor: pointer; }
.st-viewtoggle button[aria-pressed="true"] { background: #fff; color: var(--st-ink); box-shadow: 0 1px 3px rgba(22, 24, 29, 0.14); }
.st-viewtoggle button:focus-visible { outline: 2px solid var(--focus, #ffd23f); outline-offset: 2px; }

/* 목록(표) 모양 */
.st-board .board_list.st-table { background: none; margin: 0; }
.st-board .st-table table { width: 100%; border: 0; border-top: 2px solid var(--st-ink); border-collapse: collapse; background: none; color: var(--st-ink); font-size: 0.95rem; }
.st-board .st-table th { padding: 12px 10px; border: 0; border-bottom: 1px solid var(--st-line); height: auto; background: none; color: var(--st-muted); font-size: 0.82rem; font-weight: 600; text-align: center; white-space: nowrap; }
.st-board .st-table th.title { text-align: left; }
.st-board .st-table th span { display: inline; height: auto; padding: 0; border: 0; }
.st-board .st-table th a { color: inherit; }
.st-board .st-table td { padding: 14px 10px; border: 0; border-bottom: 1px solid var(--st-line); vertical-align: middle; white-space: nowrap; }
.st-board .st-table tr:last-child td { border-bottom: 1px solid var(--st-line); }
.st-board .st-table tbody tr:hover { background: var(--st-soft); }
.st-board .st-table tr.notice { background: #f6f7ff; }
.st-board .st-table tr.notice td.title a { font-weight: 700; }
.st-board .st-table td.title { width: 100%; white-space: normal; line-height: 1.45; }
.st-board .st-table td.title > a:first-child { font-weight: 600; color: var(--st-ink); }
.st-board .st-table td.title a:hover { color: var(--st-blue); }
.st-board .st-table .replyNum, .st-board .st-table .trackbackNum { margin-left: 6px; color: var(--st-blue); font-size: 0.82rem; font-weight: 700; text-decoration: none !important; }
.st-board .st-table td.no, .st-board .st-table td.notice, .st-board .st-table td.time, .st-board .st-table td.readNum,
.st-board .st-table td.voteNum, .st-board .st-table td.author, .st-board .st-table td.lastReply, .st-board .st-table td.lastReply a {
	font: inherit; font-size: 0.85rem; color: var(--st-muted); text-align: center; font-variant-numeric: tabular-nums;
}
.st-board .st-table td.notice { color: var(--st-blue); font-weight: 700; }
.st-board .st-table td.author a { color: inherit; }

@media (max-width: 640px) {
	.st-viewbar { justify-content: space-between; }
	.st-board .st-table thead { display: none; }
	.st-board .st-table tbody tr { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 14px 4px; border-bottom: 1px solid var(--st-line); }
	.st-board .st-table tbody tr:hover { background: none; }
	.st-board .st-table td, .st-board .st-table tr:last-child td { padding: 0; border: 0; font-size: 0.8rem; }
	.st-board .st-table td.title { order: -1; flex: 1 0 100%; font-size: 0.98rem; }
	.st-board .st-table td.no { display: none; }
}

/* ==== 리디자인 (2026-11-12) ==== */

/* 프로그램 색: 레이아웃의 TRACKS 기본 색과 같다. 게시판 mid가 이 목록에 없으면 대표 파랑 */
.st-board { --st-prog: var(--st-blue); }
.st-mid-pr { --st-prog: #7c6cf0; }
.st-mid-vegas { --st-prog: #1b7fd6; }
.st-mid-fcpx { --st-prog: #f29a1f; }
.st-mid-ae { --st-prog: #c25bd9; }

/* 게시판 머리: 이름, 소개, 글 수, 검색, 글쓰기 */
.st-board .st-bh { margin: 0; padding: 30px 0 0; border-top: 4px solid var(--st-prog); }
.st-board .st-bh-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 28px; padding-bottom: 26px; }
.st-board .st-bh-id { flex: 1 1 340px; min-width: 0; }
.st-board .st-bh-title { margin: 0; padding: 0; border: 0; font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; color: var(--st-ink); }
.st-board .st-bh-title a { color: inherit; }
.st-board .st-bh-desc { margin: 12px 0 0; max-width: 62ch; color: var(--st-muted); font-size: 1.02rem; line-height: 1.65; }
.st-board .st-bh-stat { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; color: var(--st-ink); font-size: 0.9rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.st-board .st-bh-stat::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--st-prog); }
.st-board .st-bh-search { display: flex; align-items: stretch; flex: 0 1 470px; height: 48px; margin: 0; padding: 0; border: 1px solid var(--st-line); border-radius: 999px; background: #fff; overflow: hidden; }
.st-board .st-bh-search:focus-within { border-color: var(--st-ink); }
.st-board .st-bh-search select { flex: none; max-width: 7.5em; height: auto; margin: 0; padding: 0 10px 0 20px; border: 0; border-right: 1px solid var(--st-line); border-radius: 0; background: none; color: var(--st-muted); font: inherit; font-size: 0.88rem; }
.st-board .st-bh-search input[type="search"] { flex: 1; min-width: 0; height: auto; margin: 0; padding: 0 14px; border: 0; border-radius: 0; background: none; font: inherit; font-size: 0.96rem; outline: none; box-shadow: none; }
.st-board .st-bh-search button { flex: none; margin: 0; padding: 0 22px; border: 0; background: var(--st-ink); color: #fff; font: inherit; font-size: 0.9rem; font-weight: 600; cursor: pointer; }
.st-board .st-bh-search button:hover { background: #000; }
.st-board .st-bh-search :focus-visible { outline: 2px solid var(--focus, #ffd23f); outline-offset: -2px; }
.st-board .st-bh-write { display: inline-flex; align-items: center; flex: none; height: 48px; padding: 0 26px; border-radius: 999px; background: var(--st-blue); color: #fff; font-size: 0.96rem; font-weight: 700; }
.st-board .st-bh-write:hover { background: var(--blue-deep, #1f2bd0); }

/* 분류와 보기 전환을 한 줄에 */
.st-board .st-bh-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin: 0 0 30px; padding: 14px 0; border-top: 1px solid var(--st-line); border-bottom: 1px solid var(--st-line); }
.st-board .st-bh-bar:not(:has(.cTab, .st-viewbar)) { display: none; }
.st-board .st-bh-bar .cTab { margin: 0; }
.st-board .st-bh-bar .st-viewbar { margin: 0 0 0 auto; }

/* 보기 전환 */
.st-viewbar { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin: 0 0 14px; }
.st-viewbar-label { color: var(--st-muted); font-size: 0.88rem; }
.st-viewtoggle { display: inline-flex; padding: 3px; border: 1px solid var(--st-line); border-radius: 999px; background: #fff; }
.st-viewtoggle button { appearance: none; -webkit-appearance: none; min-height: 32px; padding: 0 16px; border: 0; border-radius: 999px; background: none; color: var(--st-muted); font: inherit; font-size: 0.88rem; font-weight: 600; cursor: pointer; }
.st-viewtoggle button[aria-pressed="true"] { background: var(--st-ink); color: #fff; box-shadow: none; }
.st-viewtoggle button[aria-pressed="false"]:hover { color: var(--st-ink); }
.st-viewtoggle button:focus-visible { outline: 2px solid var(--focus, #ffd23f); outline-offset: 2px; }

/* 카드 */
.st-card-thumb { position: relative; border-radius: 10px; background: var(--st-soft); }
.st-card-thumb::before { content: ""; position: absolute; top: 50%; left: 50%; width: 0; height: 0; margin: -13px 0 0 -8px; border-style: solid; border-width: 13px 0 13px 22px; border-color: transparent transparent transparent #c9ced8; }
.st-card-thumb img { position: relative; }
.st-board .st-card-cat { position: absolute; z-index: 1; top: 10px; left: 10px; padding: 3px 10px; border-radius: 999px; background: rgba(22, 24, 29, 0.74); color: #fff; font-size: 0.76rem; font-weight: 600; line-height: 1.5; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.st-board .st-card-play { position: absolute; z-index: 1; inset: 0; background: rgba(22, 24, 29, 0.3); opacity: 0; transition: opacity 0.2s; }
.st-board .st-card-play::before { content: ""; position: absolute; top: 50%; left: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: #fff; }
.st-board .st-card-play::after { content: ""; position: absolute; top: 50%; left: 50%; margin: -10px 0 0 -6px; border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent var(--st-ink); }
.st-card-link:hover .st-card-play, .st-card-link:focus-visible .st-card-play { opacity: 1; }
.st-card-title { font-size: 1.02rem; font-weight: 650; }
.st-card-meta { align-items: center; gap: 2px 12px; font-size: 0.86rem; }
.st-board .st-new { color: var(--st-blue); font-weight: 700; }

/* 표 */
.st-board .board_list.st-table { margin: 0; border: 1px solid var(--st-line); border-radius: 14px; background: #fff; overflow: hidden; }
.st-board .st-table table { border: 0; }
.st-board .st-table thead th { background: #f7f8fa; }
.st-board .st-table td { padding: 16px 12px; }
.st-board .st-table tbody tr:last-child td { border-bottom: 0; }
.st-board .st-table tbody tr:hover { background: #f7f8fa; }
.st-board .st-table td.title > a:first-of-type { font-weight: 500; }
.st-board .st-table tr.notice td.title a { font-weight: 700; }
.st-board .st-table td.title a:hover { color: var(--st-blue); }
.st-board .st-table td.no { width: 56px; }
.st-board .st-table .st-cat { display: inline-block; margin-right: 8px; padding: 2px 10px; border-radius: 999px; background: var(--st-soft); color: var(--st-muted); font-size: 0.8rem; font-weight: 600; line-height: 1.5; vertical-align: 1px; }

/* 페이지 이동 */
.st-board .st-footer .pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 8px 0 0; padding: 0; border: 0; background: none; }
.st-board .pagination a, .st-board .pagination strong { display: inline-flex; align-items: center; justify-content: center; float: none; min-width: 40px; height: 40px; margin: 0; padding: 0 12px; border: 1px solid transparent; border-radius: 999px; background: none; color: var(--st-ink); font-size: 0.92rem; font-weight: 600; line-height: 1; text-decoration: none; }
.st-board .pagination a:hover { background: var(--st-soft); }
.st-board .pagination strong { background: var(--st-ink); color: #fff; }
.st-board .pagination .direction { border-color: var(--st-line); color: var(--st-muted); }
.st-board .pagination .direction span { display: none; }

/* 글 읽기: 머리 */
.st-board .read_header h1 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.3; }
.st-board .read_header h1 .category { display: inline-block; margin: 0 10px 0 0; padding: 3px 12px; border-radius: 999px; background: color-mix(in srgb, var(--st-prog) 13%, #fff); color: var(--st-prog); font-size: 0.8rem; font-weight: 700; letter-spacing: 0; vertical-align: 0.35em; }
.st-board .board_read .read_body { font-size: 1.06rem; line-height: 1.85; }

.st-board .st-crumb { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; color: var(--st-muted); font-size: 0.88rem; font-weight: 600; }
.st-board .st-crumb::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--st-prog); }
.st-board .st-crumb:hover { color: var(--st-ink); }

/* 글 읽기: 넓은 화면에서는 내려받기가 오른쪽에서 따라온다 */
@media (min-width: 1100px) {
	.st-board .board_read:has(.st-download) { display: grid; grid-template-columns: minmax(0, 760px) 300px; column-gap: 56px; justify-content: center; align-items: start; max-width: none; }
	.st-board .board_read:has(.st-download) > * { grid-column: 1; }
	.st-board .board_read:has(.st-download) > .st-download { grid-column: 2; grid-row: 1 / span 40; position: sticky; top: 88px; margin: 6px 0 0; }
}

@media (max-width: 720px) {
	.st-board .st-bh { padding-top: 22px; }
	.st-board .st-bh-search { flex: 1 1 100%; }
	.st-board .st-bh-write { flex: 1 1 100%; justify-content: center; }
	.st-board .st-bh-bar .st-viewbar { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .st-board .st-card-play { transition: none; } }

/* ---- 점검 반영 (2026-11-12) ---- */
/* 글 읽기: 분류 줄을 본문 칼럼과 같은 폭에 맞춘다 */
.st-board:has(.board_read) .st-bh-bar { max-width: 760px; margin-left: auto; margin-right: auto; }
@media (min-width: 1100px) { .st-board:has(.board_read .st-download) .st-bh-bar { max-width: 1116px; } }
/* 글 읽기: 제목 아래 날짜와 글쓴이·조회수를 한 줄로 */
.st-board .read_header { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.st-board .read_header > .st-crumb, .st-board .read_header > h1 { flex: 1 0 100%; }
.st-board .read_header .time { order: 2; margin: 0; color: var(--st-muted); font-size: 0.9rem; }
.st-board .read_header .meta { order: 3; display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0; color: var(--st-muted); font-size: 0.9rem; }
.st-board .read_header .meta a { color: inherit; }
/* 본문 안의 표·코드·인용·이미지: 화면 밖으로 넘치지 않게 정돈 */
.st-board .read_body { overflow-wrap: anywhere; }
.st-board .read_body img, .st-board .read_body video, .st-board .read_body iframe { max-width: 100%; height: auto; }
.st-board .read_body pre { max-width: 100%; margin: 1.2em 0; padding: 14px 16px; overflow-x: auto; border-radius: 10px; background: #f4f5f8; font-size: 0.9rem; line-height: 1.6; overflow-wrap: normal; }
.st-board .read_body code { font-size: 0.92em; }
.st-board .read_body table { display: block; max-width: 100%; margin: 1.2em 0; overflow-x: auto; border-collapse: collapse; font-size: 0.92rem; }
.st-board .read_body th, .st-board .read_body td { padding: 9px 14px; border: 1px solid var(--st-line); font-size: inherit; }
.st-board .read_body th { background: var(--st-soft); font-weight: 700; text-align: left; }
.st-board .read_body blockquote { margin: 1.2em 0; padding: 4px 18px; border-left: 3px solid var(--st-line); color: var(--st-muted); }
.st-board .read_body :where(h2, h3, h4) { margin: 1.8em 0 0.6em; letter-spacing: -0.02em; line-height: 1.35; }
/* 누를 수 있는 영역: 눈에 보이는 모양은 그대로, 터치 크기를 36px 이상으로 */
.st-board .cTab li a { padding: 9px 16px; }
.st-viewtoggle button { min-height: 36px; }
.st-board .st-crumb { min-height: 36px; margin-bottom: 4px; }
.st-board .read_footer .btnArea .btn, .st-board .list_footer .btn { min-height: 36px; box-sizing: border-box; }
.st-board .st-table td.title > a:first-of-type { display: inline-block; padding: 5px 0; }

/* 글 머리: 구분선은 머리 전체 아래에 한 줄로 */
.st-board .read_header { margin-bottom: 26px; padding-bottom: 20px; border-bottom: 1px solid var(--st-line); }
.st-board .read_header .meta { padding: 0; border: 0; background: none; }
/* 댓글 수정·삭제, 표 목록의 글쓴이·댓글 수: 모양은 그대로 두고 누를 영역만 키운다 */
.st-board .feedback a.modify, .st-board .feedback a.delete { display: inline-flex; align-items: center; min-height: 32px; padding: 0 8px; }
.st-board .st-table td.author a, .st-board .st-table .replyNum { display: inline-block; padding: 8px 6px; margin: -8px -6px; }
