/* 게시판 스킨 리뉴얼 — board_basic / qna / faq / album / album2 / staff2 / selftest */
.wb,
.wb * { box-sizing: border-box; }
.wb {
	--wb-ink: #263c32;
	--wb-muted: #6b7a72;
	--wb-line: #e3ebe6;
	--wb-soft: #f4faf6;
	--wb-main: #27845c;
	--wb-main-dark: #1d6d4a;
	width: 100%;
	max-width: 100%;
	color: var(--wb-ink);
	font-family: inherit;
}
.wb a { color: inherit; text-decoration: none; }
.wb a:hover { color: var(--wb-main); }

.wb-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 16px;
	margin-bottom: 18px;
}
.wb-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
	color: var(--wb-muted);
	font-size: 13px;
	font-weight: 600;
}
.wb-meta b { color: var(--wb-main); font-weight: 800; }
.wb-setup {
	display: inline-flex;
	align-items: center;
	padding: 7px 12px;
	border: 1px solid #d7ebe0;
	border-radius: 999px;
	background: #f3faf6;
	color: var(--wb-main) !important;
	font-size: 12px;
	font-weight: 700;
}
.wb-headnote {
	margin-bottom: 18px;
	padding: 16px 18px;
	border: 1px solid var(--wb-line);
	border-radius: 16px;
	background: linear-gradient(135deg, #f7fbf8, #fffdf5);
	color: var(--wb-muted);
	font-size: 14px;
	line-height: 1.7;
	word-break: keep-all;
}
.wb-cate-form { display: flex; flex-wrap: wrap; gap: 8px; }
.wb-select,
.wb-search select,
.wb-search input[type="text"] {
	min-height: 40px;
	padding: 0 12px;
	border: 1px solid #d8e4dd;
	border-radius: 10px;
	background: #fff;
	color: #42544a;
	font-size: 13px;
}
.wb-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 18px;
}
.wb-tab {
	display: inline-flex;
	align-items: center;
	padding: 8px 14px;
	border: 1px solid var(--wb-line);
	border-radius: 999px;
	background: #fff;
	color: var(--wb-muted);
	font-size: 13px;
	font-weight: 700;
}
.wb-tab.is-active,
.wb-tab:hover {
	border-color: #b7dfc8;
	background: var(--wb-soft);
	color: var(--wb-main) !important;
}

.wb-list {
	overflow: hidden;
	border: 1px solid var(--wb-line);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(49, 85, 65, .05);
}
.wb-list-head,
.wb-item {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) 100px 96px 72px;
	gap: 10px;
	align-items: center;
	padding: 0 18px;
}
.wb-list--upload .wb-list-head,
.wb-list--upload .wb-item {
	grid-template-columns: 64px minmax(0, 1fr) 56px 100px 96px 72px;
}
.wb-list--qna .wb-list-head,
.wb-list--qna .wb-item {
	grid-template-columns: minmax(0, 1fr) 100px 96px 72px;
}
.wb-list--selftest .wb-list-head,
.wb-list--selftest .wb-item {
	grid-template-columns: 64px minmax(0, 1fr);
}
.wb-list--selftest.wb-list--upload .wb-list-head,
.wb-list--selftest.wb-list--upload .wb-item {
	grid-template-columns: 64px minmax(0, 1fr) 56px;
}
.wb-list-head {
	min-height: 48px;
	border-bottom: 1px solid var(--wb-line);
	background: var(--wb-soft);
	color: #4d6357;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .02em;
}
.wb-item {
	min-height: 62px;
	border-bottom: 1px solid #eef3f0;
	transition: background .18s ease;
}
.wb-item:last-child { border-bottom: 0; }
.wb-item:hover { background: #fbfdfa; }
.wb-col { min-width: 0; }
.wb-col--center { text-align: center; }
.wb-num,
.wb-date,
.wb-hit,
.wb-name,
.wb-file {
	color: var(--wb-muted);
	font-size: 12px;
	font-weight: 600;
}
.wb-subject {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px 8px;
	color: var(--wb-ink);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.45;
	word-break: keep-all;
}
.wb-subject a { color: inherit; }
.wb-subject a:hover { color: var(--wb-main); }
.wb-badge,
.wb-qa,
.wb-lock {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	min-width: 22px;
	height: 22px;
	padding: 0 7px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 800;
}
.wb-badge {
	background: #e8f6ee;
	color: var(--wb-main);
}
.wb-qa {
	background: #eaf4fb;
	color: #3b7ea0;
}
.wb-qa--a { background: #fff3e8; color: #b46a3a; }
.wb-lock {
	background: #f3f4f6;
	color: #7b8590;
}
.wb-reply { color: #9aa8a0; font-weight: 700; }
.wb-check { margin-right: 6px; vertical-align: middle; }

/* FAQ */
.wb-faq { display: flex; flex-direction: column; gap: 10px; }
.wb-faq-item {
	overflow: hidden;
	border: 1px solid var(--wb-line);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 8px 20px rgba(49, 85, 65, .04);
}
.wb-faq-q {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	width: 100%;
	padding: 18px 20px;
	border: 0;
	background: transparent;
	color: var(--wb-ink);
	font-size: 15px;
	font-weight: 800;
	line-height: 1.5;
	text-align: left;
	cursor: pointer;
	word-break: keep-all;
}
.wb-faq-q:hover { background: #f8fcf9; }
.wb-faq-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--wb-main);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
}
.wb-faq-a {
	display: none;
	padding: 0 20px 20px 60px;
	color: #52645a;
	font-size: 14px;
	line-height: 1.85;
	word-break: keep-all;
}
.wb-faq-item.is-open .wb-faq-a { display: block; }
.wb-faq-item.is-open .wb-faq-mark { background: #d8894a; }
.wb-faq-admin { display: flex; gap: 8px; margin-top: 10px; }
.wb-faq-admin a {
	font-size: 12px;
	font-weight: 700;
	color: var(--wb-main);
}

/* Album grid */
.wb-album {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	align-items: stretch;
}
.wb-album-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--wb-line);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 10px 24px rgba(49, 85, 65, .05);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.wb-album-card:hover {
	transform: translateY(-3px);
	border-color: #cfe3d6;
	box-shadow: 0 16px 30px rgba(49, 85, 65, .1);
}
.wb-album-thumb {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: linear-gradient(145deg, #f3f7f4, #eaf3ee);
	flex-shrink: 0;
}
.wb-album-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform .4s ease;
}
.wb-album-card:hover .wb-album-thumb img {
	transform: scale(1.04);
}
.wb-album-body {
	padding: 14px 14px 16px;
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.wb-album-body .wb-subject {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: baseline;
	gap: 6px 8px;
	text-align: center;
	font-size: 13px;
}
.wb-album-body .wb-subject a {
	color: #24362d;
	font-weight: 700;
	line-height: 1.45;
}
.wb-prefix {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	max-width: 100%;
	padding: 3px 8px;
	border-radius: 999px;
	background: #e8f6ee;
	border: 1px solid #cfe3d6;
	color: #27845c;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: -.01em;
	line-height: 1.2;
	white-space: nowrap;
}
.wb-album-admin {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 10px;
}

/* Album2 book list */
.wb-books { display: flex; flex-direction: column; gap: 14px; }
.wb-book {
	display: grid;
	grid-template-columns: 140px minmax(0, 1fr);
	gap: 20px;
	padding: 18px;
	border: 1px solid var(--wb-line);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 10px 24px rgba(49, 85, 65, .05);
}
.wb-book-cover {
	overflow: hidden;
	border-radius: 12px;
	background: var(--wb-soft);
	aspect-ratio: 1;
}
.wb-book-cover img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	cursor: pointer;
}
.wb-book-meta {
	color: var(--wb-main);
	font-size: 13px;
	font-weight: 700;
	margin: 8px 0;
}
.wb-book-desc {
	color: var(--wb-muted);
	font-size: 13px;
	line-height: 1.7;
	word-break: keep-all;
}

/* Staff */
.wb-staff { display: flex; flex-direction: column; gap: 18px; }
.wb-staff-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 22px;
}
.wb-staff-filter,
.wb-staff-tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 0 14px;
	border: 1px solid #d5e8dc;
	border-radius: 999px;
	background: #fff;
	color: #3f574a;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none !important;
	transition: .18s ease;
}
.wb-staff-filter:hover,
.wb-staff-filter.is-active {
	border-color: var(--wb-main);
	background: var(--wb-main);
	color: #fff !important;
}
.wb-staff-tag {
	background: #edf7f1;
	border-color: #cfe8da;
	color: #246749 !important;
	pointer-events: none;
}
.wb-staff-tag--sm {
	min-height: 26px;
	padding: 0 10px;
	margin-bottom: 8px;
	font-size: 11px;
}
.wb-staff-groups { display: flex; flex-direction: column; gap: 34px; }
.wb-staff-group__head {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 16px;
}
.wb-staff-group__line {
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, #cfe3d6, rgba(207, 227, 214, 0));
}
.wb-staff-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}
.wb-staff-card {
	display: grid;
	grid-template-columns: 130px minmax(0, 1fr);
	align-items: stretch;
	gap: 0;
	overflow: hidden;
	min-height: 150px;
	border: 1px solid var(--wb-line);
	border-radius: 18px;
	background: linear-gradient(135deg, #fff, #f8fcf9);
	box-shadow: 0 10px 24px rgba(49, 85, 65, .05);
	transition: transform .2s ease, box-shadow .2s ease;
}
.wb-staff-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 28px rgba(49, 85, 65, .09);
}
.wb-staff-photo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 130px;
	min-height: 150px;
	padding: 12px 10px;
	box-sizing: border-box;
	overflow: hidden;
	background:
		radial-gradient(80% 70% at 50% 40%, #ffffff 0%, rgba(255,255,255,0) 68%),
		linear-gradient(165deg, #eef7f1 0%, #f7fbf8 55%, #fff8ea 100%);
	border-right: 1px solid #e7f0ea;
}
.wb-staff-photo img {
	display: block;
	width: 110px;
	max-width: 100%;
	height: auto;
	max-height: 140px;
	object-fit: contain;
	object-position: center;
	padding: 0;
	image-rendering: auto;
}
.wb-staff-card:hover .wb-staff-photo img { transform: none; }
.wb-staff-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-width: 0;
	padding: 14px 14px 14px 16px;
}
.wb-staff-card__name {
	margin: 0 0 4px;
	font-size: 18px;
	letter-spacing: -.03em;
}
.wb-staff-card__name a {
	color: var(--wb-ink) !important;
	text-decoration: none !important;
}
.wb-staff-card__name a:hover { color: var(--wb-main) !important; }
.wb-staff-card__field {
	margin: 0 0 6px;
	color: var(--wb-main);
	font-size: 12.5px;
	font-weight: 800;
}
.wb-staff-card__career {
	margin: 0 0 12px;
	color: #5d6d64;
	font-size: 12.5px;
	line-height: 1.4;
	word-break: keep-all;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 0;
}
.wb-staff-card__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: auto;
}
.wb-staff-card__admin {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin-left: auto;
}
.wb-empty {
	padding: 48px 20px;
	border: 1px dashed #d7e5dd;
	border-radius: 18px;
	background: #fbfdfb;
	color: #7a8a82;
	text-align: center;
	font-weight: 700;
}

/* Footer / actions */
.wb-footer {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	margin-top: 22px;
}
.wb-pager {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	text-align: center;
	color: var(--wb-muted);
	font-size: 13px;
}
.wb-pager a,
.wb-pager span {
	text-decoration: none !important;
}
.wb-page {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 8px;
	border-radius: 10px;
	border: 1px solid transparent;
	color: #415549 !important;
	font-weight: 800;
	font-size: 13px;
}
.wb-page:hover {
	background: var(--wb-soft);
	color: var(--wb-main) !important;
}
.wb-page.is-current {
	border-color: var(--wb-main);
	background: var(--wb-main);
	color: #fff !important;
}
.wb-pagebtn {
	min-height: 36px;
	padding: 0 14px;
	border-radius: 10px;
}
.wb-pagebtn.is-disabled {
	opacity: .45;
	cursor: default;
	pointer-events: none;
}
.wb-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}
.wb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 40px;
	padding: 0 16px;
	border: 1px solid #d7e5dd;
	border-radius: 999px;
	background: #fff;
	color: #415549 !important;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
	text-decoration: none !important;
	transition: .18s ease;
}
.wb-btn:hover { border-color: #b7dfc8; color: var(--wb-main) !important; background: var(--wb-soft); }
.wb-btn--primary {
	border-color: var(--wb-main);
	background: var(--wb-main);
	color: #fff !important;
	box-shadow: 0 8px 18px rgba(39, 132, 92, .18);
}
.wb-btn--primary:hover { background: var(--wb-main-dark); border-color: var(--wb-main-dark); color: #fff !important; }
.wb-btn--ghost { background: #f8faf9; }
.wb-view-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 22px 22px;
	border-top: 1px solid var(--wb-line);
	background: #fbfdfb;
}
.wb-view-actions .wb-actions { justify-content: flex-start; }

/* Write form */
.wb-write {
	overflow: hidden;
	border: 1px solid var(--wb-line);
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 12px 32px rgba(49, 85, 65, .06);
}
.wb-write-head {
	padding: 24px 24px 18px;
	background: linear-gradient(135deg, #f5faf7 0%, #fffdf8 70%);
	border-bottom: 1px solid var(--wb-line);
}
.wb-write-title {
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px 12px;
	color: var(--wb-ink);
	font-size: clamp(20px, 2.6vw, 26px);
	font-weight: 800;
	letter-spacing: -.03em;
}
.wb-write-title small {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #8a9890;
}
.wb-write-body {
	display: grid;
	gap: 0;
	padding: 8px 0;
}
.wb-write-row {
	display: grid;
	grid-template-columns: 118px minmax(0, 1fr);
	gap: 12px 16px;
	align-items: start;
	padding: 14px 24px;
	border-bottom: 1px solid #eef3f0;
}
.wb-write-row:last-child { border-bottom: 0; }
.wb-write-label {
	padding-top: 10px;
	color: #415549;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: -.01em;
}
.wb-write-field {
	min-width: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}
.wb-write-static {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	color: #2f453a;
	font-size: 14px;
	font-weight: 600;
}
.wb-input,
.wb-select,
.wb-write .write_input,
.wb-write .write_select,
.wb-write .head_select,
.wb-write-extra input[type="text"],
.wb-write-extra input[type="password"],
.wb-write-extra select,
.wb-write-extra textarea {
	width: 100%;
	max-width: 100%;
	min-height: 40px;
	padding: 8px 12px;
	border: 1px solid #d7e5dd;
	border-radius: 12px;
	background: #fff;
	color: #24362d;
	font-size: 14px;
	line-height: 1.4;
	box-sizing: border-box;
}
.wb-input--full,
.wb-write .write_input[style*="width"] {
	max-width: 100% !important;
	width: 100% !important;
}
.wb-input--sm { max-width: 180px; width: 180px; }
.wb-select,
.wb-write .head_select,
.wb-write .write_select {
	width: auto;
	min-width: 140px;
	max-width: 100%;
}
.wb-input:focus,
.wb-select:focus,
.wb-write .write_input:focus,
.wb-write .write_select:focus,
.wb-write .head_select:focus {
	outline: none;
	border-color: #9fccb4;
	box-shadow: 0 0 0 3px rgba(39, 132, 92, .12);
}
.wb-file {
	display: block;
	width: 100%;
	max-width: 100%;
	font-size: 13px;
}
.wb-write-help {
	margin: 6px 0 0;
	width: 100%;
	color: #7a8a82;
	font-size: 12px;
	line-height: 1.55;
}
.wb-write-flags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 14px;
	width: 100%;
	margin-top: 4px;
	color: #5a6b63;
	font-size: 13px;
}
.wb-write-filelist {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}
.wb-write-filelist a {
	color: var(--wb-main);
	font-weight: 700;
	text-decoration: none;
	word-break: break-all;
}
.wb-btn--sm {
	min-height: 32px;
	padding: 0 12px;
	font-size: 12px;
}
.wb-write-row--editor {
	align-items: stretch;
}
.wb-write-editor {
	display: block;
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
.wb-write-editor table,
.wb-write-editor iframe {
	max-width: 100% !important;
}
.wb-write-extra-wrap {
	padding: 0 24px 8px;
}
.wb-write-extra {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
}
.wb-write-extra tr {
	display: grid;
	grid-template-columns: 118px minmax(0, 1fr);
	gap: 12px 16px;
	align-items: start;
	padding: 14px 0;
	border-bottom: 1px solid #eef3f0;
}
.wb-write-extra td {
	padding: 0 !important;
	border: 0 !important;
	vertical-align: top;
	color: #415549;
	font-size: 13px;
}
.wb-write-extra td.write_text {
	padding-top: 10px !important;
	font-weight: 800;
	text-align: left !important;
}
.wb-write-extra td.write_text img { display: none; }
.wb-write-extra .write_blank,
.wb-write-extra .tail_line { display: none; }
.wb-write-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 18px 22px 22px;
	border-top: 1px solid var(--wb-line);
	background: #fbfdfb;
}
.wb-search {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	width: 100%;
}
.wb-search input[type="text"] { width: min(100%, 240px); }
.wb-search .wb-btn { min-width: 84px; }

/* View */
.wb-view {
	overflow: hidden;
	border: 1px solid var(--wb-line);
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 12px 32px rgba(49, 85, 65, .06);
}
.wb-view-head {
	padding: 28px 28px 20px;
	background: linear-gradient(135deg, #f5faf7 0%, #fffdf8 70%);
	border-bottom: 1px solid var(--wb-line);
}
.wb-view-title {
	margin: 0;
	color: var(--wb-ink);
	font-size: clamp(22px, 3vw, 30px);
	font-weight: 800;
	line-height: 1.35;
	letter-spacing: -.04em;
	word-break: keep-all;
}
.wb-view-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	margin-top: 14px;
	color: var(--wb-muted);
	font-size: 13px;
	font-weight: 600;
}
.wb-view-body {
	padding: 28px;
	color: #43554b;
	font-size: 15px;
	line-height: 1.9;
	word-break: keep-all;
}
.wb-view-body img {
	max-width: 100% !important;
	height: auto !important;
}
.wb-view-aside {
	padding: 0 28px 22px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.wb-filebox,
.wb-linkbox {
	padding: 14px 16px;
	border: 1px solid var(--wb-line);
	border-radius: 14px;
	background: #fafcfb;
	color: var(--wb-muted);
	font-size: 13px;
	word-break: break-all;
}
.wb-filebox a,
.wb-linkbox a { color: var(--wb-main); font-weight: 700; }
.wb-view-comment {
	padding: 0 28px 20px;
}
.wb-view-comment-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
	color: var(--wb-main);
	font-size: 14px;
	font-weight: 800;
	cursor: pointer;
}
.wb-view-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 28px 24px;
	border-top: 1px solid var(--wb-line);
	background: #fcfdfc;
}
.wb-view-ip {
	margin-top: 18px;
	color: #99a59e;
	font-size: 12px;
	text-align: right;
}

/* Selftest */
.wb-test-title {
	margin: 0 0 18px;
	padding: 28px;
	border-radius: 20px;
	background: linear-gradient(135deg, #e8f6ee, #fff8df);
	text-align: center;
}
.wb-test-title h2 {
	margin: 8px 0 0;
	font-size: clamp(22px, 3vw, 30px);
	letter-spacing: -.04em;
}
.wb-test-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 20px;
}
.wb-test-q {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 180px;
	gap: 16px;
	align-items: center;
	padding: 18px 20px;
	border: 1px solid var(--wb-line);
	border-radius: 16px;
	background: #fff;
}
.wb-test-q strong {
	font-size: 15px;
	line-height: 1.55;
	word-break: keep-all;
}
.wb-test-opts {
	display: flex;
	justify-content: flex-end;
	gap: 14px;
	color: #52645a;
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
}
.wb-test-opts label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.wb-test-opts input { accent-color: var(--wb-main); width: 17px; height: 17px; }
.wb-test-submit { text-align: center; margin: 8px 0 24px; }
.wb-test-result {
	margin: 10px 0 24px;
	padding: 24px;
	border-radius: 18px;
	background: #f4faf6;
	border: 1px solid #d7ebe0;
	text-align: center;
	font-size: 15px;
	line-height: 1.8;
	word-break: keep-all;
}
.wb-test-result-label {
	display: inline-flex;
	margin-bottom: 12px;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--wb-main);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
}

/* Staff detail photo — slightly larger than list thumbnail (110x140) */
.wb-staff-view-photo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 168px;
	height: 196px;
	margin: 0 auto 22px;
	padding: 12px;
	box-sizing: border-box;
	overflow: hidden;
	border: 1px solid #e7f0ea;
	border-radius: 18px;
	background:
		radial-gradient(80% 70% at 50% 40%, #ffffff 0%, rgba(255,255,255,0) 68%),
		linear-gradient(165deg, #eef7f1 0%, #f7fbf8 55%, #fff8ea 100%);
}
.wb-staff-view-photo img {
	display: block;
	width: auto !important;
	height: auto !important;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	object-position: center;
}

/* Staff detail profile block reuse */
.wb-profile {
	padding: 8px 0 0;
}
.wb-profile h3 {
	margin: 0 0 18px;
	font-size: 26px;
}
.wb-profile h3 span {
	margin-left: 8px;
	color: #8a9891;
	font-size: 15px;
	font-weight: 600;
}
.wb-profile h4 {
	margin: 20px 0 8px;
	color: var(--wb-main);
	font-size: 14px;
}
.wb-profile p {
	margin: 0;
	color: #5d6d64;
	line-height: 1.4;
	word-break: keep-all;
}

@media (max-width: 1100px) {
	.wb-staff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.wb-album { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
	.wb-list-head { display: none; }
	.wb-list-head,
	.wb-item,
	.wb-list--upload .wb-item,
	.wb-list--qna .wb-item,
	.wb-list--selftest .wb-item {
		grid-template-columns: 1fr;
		gap: 6px;
		padding: 16px;
	}
	.wb-col--center { text-align: left; }
	.wb-meta-row {
		display: flex;
		flex-wrap: wrap;
		gap: 8px 12px;
	}
	.wb-album { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.wb-book,
	.wb-test-q { grid-template-columns: 1fr; }
	.wb-staff-grid { grid-template-columns: 1fr; }
	.wb-staff-card { grid-template-columns: 112px minmax(0, 1fr); min-height: 136px; }
	.wb-staff-photo { width: 112px; min-height: 136px; padding: 10px 8px; }
	.wb-staff-photo img { width: 96px; max-height: 120px; }
	.wb-staff-view-photo { width: 140px; height: 168px; }
	.wb-book-cover { max-width: 160px; }
	.wb-test-opts { justify-content: flex-start; }
	.wb-view-head,
	.wb-view-body,
	.wb-view-aside,
	.wb-view-comment,
	.wb-view-actions,
	.wb-write-head,
	.wb-write-row,
	.wb-write-actions,
	.wb-write-extra-wrap { padding-left: 16px; padding-right: 16px; }
	.wb-faq-a { padding-left: 20px; }
	.wb-view-actions,
	.wb-write-actions { justify-content: center; }
	.wb-write-row,
	.wb-write-extra tr {
		grid-template-columns: 1fr;
		gap: 8px;
	}
	.wb-write-label,
	.wb-write-extra td.write_text { padding-top: 0 !important; }
	.wb-input--sm { width: 100%; max-width: 100%; }
	.wb-write-actions .wb-actions { width: 100%; justify-content: stretch; }
	.wb-write-actions .wb-btn { flex: 1 1 auto; min-width: 96px; }
}
@media (max-width: 420px) {
	.wb-album { grid-template-columns: 1fr 1fr; }
}
