@charset "utf-8";
/**
 * KBoard Default Skin - Modern 2026 Redesign
 * professionally crafted for global enterprise standards.
 */

:root {
	/* Palette */
	--kboard-primary: #084AF7;
	/* Modern Blue */
	--kboard-primary-hover: #084AF7;
	--kboard-text: #1e293b;
	/* Slate 800 */
	--kboard-text-muted: #64748b;
	/* Slate 500 */
	--kboard-bg: #ffffff;
	--kboard-bg-alt: #f8fafc;
	/* Slate 50 */
	--kboard-border: #e2e8f0;
	/* Slate 200 */
	--kboard-danger: #ef4444;

	/* Typography */
	--kboard-font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", Roboto, "Noto Sans KR", "Helvetica Neue", Arial, sans-serif;
	--kboard-font-size: 15px;

	/* Spacing & Radius */
	--kboard-radius: 8px;
	--kboard-spacing-sm: 8px;
	--kboard-spacing-md: 16px;
	--kboard-spacing-lg: 24px;

	/* Shadows */
	--kboard-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
	--kboard-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Global Reset within KBoard Container */
#kboard-thumbnail-list,
#kboard-thumbnail-document,
#kboard-thumbnail-editor,
#kboard-thumbnail-latest {
	font-family: var(--kboard-font-family);
	font-size: var(--kboard-font-size);
	color: var(--kboard-text);
	box-sizing: border-box;
	line-height: 1.6;
	margin: 0;
}

#kboard-thumbnail-list *,
#kboard-thumbnail-document *,
#kboard-thumbnail-editor *,
#kboard-thumbnail-latest *,
#kboard-thumbnail-list *::before,
#kboard-thumbnail-document *::before,
#kboard-thumbnail-editor *::before,
#kboard-thumbnail-latest *::before,
#kboard-thumbnail-list *::after,
#kboard-thumbnail-document *::after,
#kboard-thumbnail-editor *::after,
#kboard-thumbnail-latest *::after {
	box-sizing: inherit;
}

#kboard-thumbnail-list a,
#kboard-thumbnail-document a,
#kboard-thumbnail-editor a,
#kboard-thumbnail-latest a {
	text-decoration: none;
	color: inherit;
	transition: color 0.2s;
}

#kboard-thumbnail-list img,
#kboard-thumbnail-document img,
#kboard-thumbnail-editor img,
#kboard-thumbnail-latest img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

/* Buttons */
a.kboard-thumbnail-button-small,
input.kboard-thumbnail-button-small,
button.kboard-thumbnail-button-small {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 34px;
	padding: 0 16px;
	font-size: 12px;
	font-weight: 500;
	color: #fff !important;
	background-color: var(--kboard-text) !important;
	border: 1px solid transparent;
	/* border-radius: var(--kboard-radius); */
	cursor: pointer;
	transition: all 0.2s ease;
	line-height: 1;
	/* box-shadow: var(--kboard-shadow-sm); */
	text-shadow: none;
}

a.kboard-thumbnail-button-small:hover,
button.kboard-thumbnail-button-small:hover {
	background-color: var(--kboard-primary) !important;
	transform: translateY(-1px);
	/* box-shadow: var(--kboard-shadow-md); */
	opacity: 1 !important;
}

/* Lock Icon */
.kboard-icon-lock {
	display: inline-block;
	width: 14px;
	height: 14px;
	vertical-align: middle;
	margin-right: 4px;
	background-color: var(--kboard-text-muted);
	-webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M400 224h-24v-72C376 68.2 307.8 0 224 0S72 68.2 72 152v72H48c-26.5 0-48 21.5-48 48v192c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48zm-104 0H152v-72c0-39.7 32.3-72 72-72s72 32.3 72 72v72z'/%3E%3C/svg%3E") no-repeat center/contain;
	mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M400 224h-24v-72C376 68.2 307.8 0 224 0S72 68.2 72 152v72H48c-26.5 0-48 21.5-48 48v192c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48zm-104 0H152v-72c0-39.7 32.3-72 72-72s72 32.3 72 72v72z'/%3E%3C/svg%3E") no-repeat center/contain;
}

/* Reply Icon */
.kboard-icon-reply {
	display: inline-block;
	width: 16px;
	height: 16px;
	vertical-align: middle;
	margin-right: 4px;
	background-color: var(--kboard-text-muted);
	-webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 15l-6 6-1.42-1.42L15.17 16H4V4h2v10h9.17l-3.59-3.58L13 9l6 6z'/%3E%3C/svg%3E") no-repeat center/contain;
	mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 15l-6 6-1.42-1.42L15.17 16H4V4h2v10h9.17l-3.59-3.58L13 9l6 6z'/%3E%3C/svg%3E") no-repeat center/contain;
	transform: none;
}

/* Image Icon */
.kboard-icon-thumbnail {
	display: block;
	width: 50px;
	height: 35px;
	margin: 0 auto;
	background-color: #b0b0b0;
	-webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'%3E%3C/circle%3E%3Cpolyline points='21 15 16 10 5 21'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center/contain;
	mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'%3E%3C/circle%3E%3Cpolyline points='21 15 16 10 5 21'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center/contain;
}

/* Form Elements Reset & Style */
#kboard-thumbnail-list input[type=text],
#kboard-thumbnail-document input[type=text],
#kboard-thumbnail-editor input[type=text],
#kboard-thumbnail-latest input[type=text],
#kboard-thumbnail-list input[type=email],
#kboard-thumbnail-document input[type=email],
#kboard-thumbnail-editor input[type=email],
#kboard-thumbnail-latest input[type=email],
#kboard-thumbnail-list input[type=password],
#kboard-thumbnail-document input[type=password],
#kboard-thumbnail-editor input[type=password],
#kboard-thumbnail-latest input[type=password],
#kboard-thumbnail-list input[type=number],
#kboard-thumbnail-document input[type=number],
#kboard-thumbnail-editor input[type=number],
#kboard-thumbnail-latest input[type=number],
#kboard-thumbnail-list input[type=date],
#kboard-thumbnail-document input[type=date],
#kboard-thumbnail-editor input[type=date],
#kboard-thumbnail-latest input[type=date],
#kboard-thumbnail-list select,
#kboard-thumbnail-document select,
#kboard-thumbnail-editor select,
#kboard-thumbnail-latest select,
#kboard-thumbnail-list textarea,
#kboard-thumbnail-document textarea,
#kboard-thumbnail-editor textarea,
#kboard-thumbnail-latest textarea {
	appearance: none;
	-webkit-appearance: none;
	background-color: #fff;
	border: 1px solid var(--kboard-border);
	border-radius: var(--kboard-radius);
	padding: 8px 12px;
	font-size: 14px;
	color: var(--kboard-text);
	outline: none;
	transition: border-color 0.2s, box-shadow 0.2s;
	min-height: 40px;
	box-shadow: none;
	margin: 0;
}

#kboard-thumbnail-list input:focus,
#kboard-thumbnail-document input:focus,
#kboard-thumbnail-editor input:focus,
#kboard-thumbnail-latest input:focus,
#kboard-thumbnail-list select:focus,
#kboard-thumbnail-document select:focus,
#kboard-thumbnail-editor select:focus,
#kboard-thumbnail-latest select:focus,
#kboard-thumbnail-list textarea:focus,
#kboard-thumbnail-document textarea:focus,
#kboard-thumbnail-editor textarea:focus,
#kboard-thumbnail-latest textarea:focus {
	border-color: var(--kboard-primary);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
	border-bottom: 1px solid var(--kboard-primary) !important;
}

/* Select Custom Arrow (Restore Dropdown Icon) */
#kboard-thumbnail-list select,
#kboard-thumbnail-document select,
#kboard-thumbnail-editor select,
#kboard-thumbnail-latest select {
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 16px;
	padding-right: 32px !important;
	cursor: pointer;
}

/* --- List View --- */
#kboard-thumbnail-list {
	width: 100%;
	max-width: 100%;
	overflow: hidden;
}

/* Header (Total & Sort) */
#kboard-thumbnail-list .kboard-list-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-bottom: var(--kboard-spacing-md);
	flex-wrap: wrap;
	gap: 10px;
}

#kboard-thumbnail-list .kboard-total-count {
	float: none;
	font-weight: 600;
	color: var(--kboard-text-muted);
}

#kboard-thumbnail-list .kboard-sort {
	float: none;
}

#kboard-thumbnail-list .kboard-sort select {
	height: 36px;
	padding-right: 32px;
}

/* Categories */
#kboard-thumbnail-list .kboard-category .kboard-category-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 0;
	margin: 0 0 20px 0;
	list-style: none;
	background: transparent;
	border: none;
}

#kboard-thumbnail-list .kboard-category.category-pc .kboard-category-list:last-child {
	margin-bottom: 0;
}

#kboard-thumbnail-list .kboard-category .kboard-category-list li {
	display: block;
	margin: 0;
	padding: 0;
}

#kboard-thumbnail-list .kboard-category .kboard-category-list li a {
	display: block;
	padding: 6px 14px;
	border-radius: 20px;
	background-color: var(--kboard-bg-alt);
	color: var(--kboard-text-muted);
	font-size: 14px;
	font-weight: 500;
	transition: all 0.2s;
	border: 1px solid var(--kboard-border);
}

#kboard-thumbnail-list .kboard-category .kboard-category-list li.kboard-category-selected a,
#kboard-thumbnail-list .kboard-category .kboard-category-list li a:hover {
	background-color: var(--kboard-primary);
	color: #fff;
	text-decoration: none;
	border-color: var(--kboard-primary);
	font-weight: 500;
}

/* Table Listing */
#kboard-thumbnail-list .kboard-list {
	background: #fff;
	/* border-radius: var(--kboard-radius); */
	overflow: hidden;
	/* border: 1px solid var(--kboard-border); */
	/* box-shadow: var(--kboard-shadow-sm); */
}

#kboard-thumbnail-list .kboard-list table {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
	border: 0;
	margin: 0;
}

#kboard-thumbnail-list .kboard-list thead {
	background-color: var(--kboard-bg-alt);
	border-bottom: 1px solid var(--kboard-border);
}

#kboard-thumbnail-list .kboard-list thead td {
	padding: 12px 16px;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-weight: 600;
	color: var(--kboard-text-muted);
	text-align: center;
	border: 0;
	border-bottom: 1px solid var(--kboard-border);
}

#kboard-thumbnail-list .kboard-list tbody tr {
	background: #fff;
	border: 0;
	border-bottom: 1px solid var(--kboard-border);
	transition: background-color 0.1s;
}

#kboard-thumbnail-list .kboard-list tbody tr:last-child {
	border-bottom: none;
}

#kboard-thumbnail-list .kboard-list tbody tr:hover {
	background-color: var(--kboard-bg-alt);
}

#kboard-thumbnail-list .kboard-list td {
	padding: 16px;
	vertical-align: middle;
	text-align: center;
	border: 0;
	font-size: 15px;
}

#kboard-thumbnail-list .kboard-list td.kboard-list-title {
	text-align: left;
	width: auto;
}

/* Notice & Popular Rows */
#kboard-thumbnail-list .kboard-list tbody tr.kboard-list-notice {
	background-color: #eff6ff;
}

#kboard-thumbnail-list .kboard-list tbody tr.kboard-list-notice:hover {
	background-color: #dbeafe;
}

/* Selected Row (Current Post) */
#kboard-thumbnail-list .kboard-list tbody tr.kboard-list-selected {
	background-color: #f0f9ff;
	border-left: 3px solid var(--kboard-primary);
}

#kboard-thumbnail-list .kboard-list tbody tr.kboard-list-selected .kboard-list-title a {
	font-weight: 700;
	color: var(--kboard-primary);
}

/* Icons & Labels */
.kboard-thumbnail-new-notify {
	background-color: var(--kboard-danger);
	color: #fff;
	padding: 2px 6px;
	border-radius: 4px;
	font-size: 10px;
	font-weight: 700;
	vertical-align: middle;
	margin-right: 6px;
}

.kboard-thumbnail-cut-strings {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-weight: 500;
}

#kboard-thumbnail-list .kboard-list-title a {
	color: var(--kboard-text);
	text-decoration: none;
	transition: color 0.15s;
}

#kboard-thumbnail-list .kboard-list-title a:hover {
	color: var(--kboard-primary);
}

.kboard-comments-count {
	font-size: 12px;
	color: var(--kboard-primary);
	font-weight: 600;
	margin-left: 4px;
	background: rgba(37, 99, 235, 0.1);
	padding: 2px 6px;
	border-radius: 12px;
}

.kboard-comments-count:empty {
	display: none;
}

/* Mobile Contents hidden on Desktop */
#kboard-thumbnail-list .kboard-mobile-contents {
	display: none;
	margin-top: 6px;
	font-size: 13px;
	color: var(--kboard-text-muted);
}

/* Column Widths (Desktop) */
#kboard-thumbnail-list .kboard-list-uid {
	width: 90px;
	/* Slightly wider */
	color: var(--kboard-text-muted);
	font-size: 13px;
	word-break: keep-all;
	/* Prevent Notice from breaking */
}

/* Specific style for notice text in UID column */
#kboard-thumbnail-list .kboard-list-notice .kboard-list-uid {
	font-weight: 700;
	font-size: 12px;
	/* Smaller font for notice */
	color: var(--kboard-primary);
}

#kboard-thumbnail-list .kboard-list-user {
	width: 120px;
}

#kboard-thumbnail-list .kboard-list-date {
	width: 110px;
	color: var(--kboard-text-muted);
	font-size: 13px;
}

#kboard-thumbnail-list .kboard-list-vote {
	width: 70px;
	color: var(--kboard-text-muted);
	font-size: 13px;
}

#kboard-thumbnail-list .kboard-list-view {
	width: 70px;
	color: var(--kboard-text-muted);
	font-size: 13px;
}

/* Pagination */
#kboard-thumbnail-list .kboard-pagination {
	padding: 50px 0;
	text-align: center;
	float: none;
}

#kboard-thumbnail-list .kboard-pagination ul {
	margin: 0;
	display: inline-flex;
	padding: 0;
	list-style: none;
	gap: 4px;
}

#kboard-thumbnail-list .kboard-pagination li {
	display: block;
	margin: 0;
}

#kboard-thumbnail-list .kboard-pagination li a {
	display: flex;
	align-items: center;
	justify-content: center;
	/* min-width: 32px; */
	width: 34px;
	height: 34px;
	padding: 0;
	/* border-radius: var(--kboard-radius); */
	background: #fff;
	border: 0;
	font-weight: 400;
	font-size: 14px;
	color: rgba(0, 0, 0, 0.20);
	box-shadow: none;
}

#kboard-thumbnail-list .kboard-pagination li.active a,
#kboard-thumbnail-list .kboard-pagination li a:hover {
	background: var(--kboard-primary);
	color: #fff;
	border-color: 0;
}
#kboard-thumbnail-list .kboard-pagination li a:hover svg path{fill: #fff; fill-opacity:1;}

/* Search Bar */
#kboard-thumbnail-list .kboard-search {
	margin-bottom: 20px;
	text-align: center;
	padding: 20px;
	background: var(--kboard-bg-alt);
	border-radius: var(--kboard-radius);
	float: none;
}

#kboard-thumbnail-list .kboard-search form {
	display: inline-flex;
	gap: 8px;
	max-width: 100%;
}

#kboard-thumbnail-list .kboard-search select {
	width: 100px;
	margin: 0;
}

#kboard-thumbnail-list .kboard-search input {
	width: 200px;
	margin: 0;
}

/* Bottom Control */
#kboard-thumbnail-list .kboard-control {
	display: flex;
	justify-content: flex-end;
	padding: 10px 0;
	float: none;
}

/* Powered By - Subtle */
.kboard-thumbnail-poweredby {
	text-align: right;
	font-size: 14px;
	color: #ccc;
	margin-top: 10px;
	float: none;
	width: 100%;
}

/* --- Document View --- */
#kboard-thumbnail-document .kboard-document-wrap {
	background: #fff;
	border: 1px solid #DDD;
	/* border-radius: var(--kboard-radius); */
	overflow: hidden;
	float: none;
}

#kboard-thumbnail-document .kboard-title {
	float: none;
}

#kboard-thumbnail-document .kboard-title h1 {
	margin: 0;
	padding: 24px;
	text-align: left;
	font-size: 24px;
	font-weight: 500;
	color: #1C2A39;
	border-bottom: 1px solid #ddd;
}

#kboard-thumbnail-document .kboard-detail {
	display: flex;
	flex-wrap: wrap;
	padding: 12px 24px;
	background: #F4F4F7;
	font-size: 14px;
	gap: 20px;
	align-items: center;
	float: none;
	border: 0;
	border-bottom: 1px solid #ddd;
}

#kboard-thumbnail-document .kboard-detail .detail-attr {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0;
	float: none;
}

#kboard-thumbnail-document .kboard-detail .detail-name {
	font-weight: 400;
	color: #1C2A39;
	float: none;
	text-align: left;
}

#kboard-thumbnail-document .kboard-detail .detail-value {
	font-weight: s00;
	color: #515356;
	float: none;
	padding: 0;
}

/* Content */
#kboard-thumbnail-document .kboard-content {
	padding: 30px 24px;
	min-height: 200px;
	float: none;
}

#kboard-thumbnail-document .content-view {
	font-size: 16px;
	line-height: 1.8;
	color: #334155;
	/* Slate 700 */
	padding: 0;
}

/* Document Actions (Like/Unlike/Print) */
#kboard-thumbnail-document .kboard-document-action {
	padding: 10px 24px 20px;
	display: flex;
	justify-content: space-between;
}

.kboard-button-action {
	border: 1px solid var(--kboard-border);
	background: #fff;
	padding: 6px 12px;
	/* border-radius: 4px; */
	font-size: 13px;
	cursor: pointer;
	margin-right: 5px;
	font-weight: 500;
}

.kboard-button-action:hover {
	background: var(--kboard-bg-alt);
}

.kboard-button-like {
	color: #ef4444;
}

.kboard-button-unlike {
	color: var(--kboard-primary);
}

/* Document Control Buttons (List, Reply, Edit, Delete) */
#kboard-thumbnail-document .kboard-control {
	display: flex;
	justify-content: space-between;
	padding: 20px 0;
	float: none;
	gap: 10px;
}

#kboard-thumbnail-document .kboard-control .left,
#kboard-thumbnail-document .kboard-control .right {
	display: flex;
	flex-wrap: nowrap;
	/* Prevent wrapping */
	gap: 8px;
	white-space: nowrap;
	/* Keep text on one line */
}

/* Attachments */
.kboard-attach {
	border-top: 1px dashed var(--kboard-border);
	padding: 15px 24px;
	background: var(--kboard-bg-alt);
	margin: 0;
}

/* Comments & Navi */
.kboard-comments-area {
	float: none;
	width: 100%;
	margin-top: 20px;
}

.kboard-document-navi {
	display: flex;
	gap: 10px;
	margin-top: 20px;
	float: none;
	padding: 0;
}

/* Document Added Options Group Container */
.kboard-document-options-group {
	margin-bottom: 40px;
	border: none;
	background: transparent;
	padding: 0;
}

/* Individual Option Wrapper (Row Style) */
.kboard-document-add-option-value-wrap {
	background-color: #fff;
	border: 1px solid var(--kboard-border);
	border-radius: var(--kboard-radius);
	padding: 0;
	margin-bottom: 12px;
	/* Margin between rows */
	overflow: hidden;
	/* For radius */
	display: block;
}

.kboard-document-add-option-value-wrap:last-child {
	border-bottom: 1px solid var(--kboard-border);
	margin-bottom: 0px;
}

/* Inner Option Layout */
.kboard-document-add-option-value {
	display: flex;
	align-items: stretch;
	/* Stretch to fill height */
	padding: 0;
	min-height: 48px;
	/* Minimum row height */
	border: none;
}

.kboard-document-add-option-value .option-name {
	width: 160px;
	background-color: #f8fafc;
	border-right: 1px solid var(--kboard-border);
	font-weight: 600;
	color: var(--kboard-text);
	/* Matched text color */
	padding: 14px 20px;
	display: flex;
	align-items: center;
	flex-shrink: 0;
	font-size: 15px;
	/* Increased to match content */
}

.kboard-document-add-option-value .option-separator {
	display: none;
}

.kboard-document-add-option-value .option-value {
	color: var(--kboard-text);
	padding: 14px 20px;
	display: flex;
	align-items: center;
	flex-grow: 1;
	word-break: break-all;
	font-size: 15px;
	/* Same size as label */
}

.kboard-document-add-option-value-wrap hr {
	display: none;
}


#kboard-thumbnail-document .kboard-document-navi a {
	display: flex;
	align-items: center;
	gap: 8px;
	/* space between arrow and text */
	padding: 16px;
	border: 1px solid #ddd;
	background: #fff;
	/* border-radius: var(--kboard-radius); */
	margin-bottom: 0;
	font-weight: 400;
	height: 100%;
	color: #515356;
}
#kboard-thumbnail-document .kboard-document-navi a span{
	font-weight: 300;
}

#kboard-thumbnail-document .kboard-document-navi a:hover {
	border-color: var(--kboard-primary);
	color: var(--kboard-primary);
	box-shadow: var(--kboard-shadow-sm);
}

#kboard-thumbnail-document .kboard-document-navi .kboard-prev-document,
#kboard-thumbnail-document .kboard-document-navi .kboard-next-document {
	float: none;
	width: calc(50% - 5px);
}

#kboard-thumbnail-document .kboard-document-navi .kboard-prev-document a {
	justify-content: flex-start;
	text-align: left;
}

#kboard-thumbnail-document .kboard-document-navi .kboard-next-document a {
	justify-content: flex-end;
	text-align: right;
}

#kboard-thumbnail-document .kboard-document-navi .navi-arrow {
	position: static;
}

#kboard-thumbnail-document .kboard-control {
	float: none;
	display: flex;
	justify-content: space-between;
	padding: 20px 0;
}

#kboard-thumbnail-document .kboard-control .left,
#kboard-thumbnail-document .kboard-control .right {
	float: none;
	position: static;
}

/* --- Editor --- */
#kboard-thumbnail-editor .kboard-attr-row {
	display: flex;
	flex-direction: column;
	margin-bottom: 16px;
	padding: 0;
	background: transparent;
	border-bottom: none;
	float: none;
}

#kboard-thumbnail-editor .attr-name {
	font-weight: 600;
	margin-bottom: 8px;
	font-size: 14px;
	width: 100% !important;
	float: none !important;
	text-align: left;
	padding: 0 !important;
}

#kboard-thumbnail-editor input[type=file] {
	margin: 0;
	padding: 8px 0;
	width: 100%;
}

#kboard-thumbnail-editor .attr-value {
	margin: 0 !important;
	width: 100%;
	padding: 0;
}

#kboard-thumbnail-editor .attr-value .attr-value-option {
	display: inline-flex;
	align-items: center;
	margin-right: 16px;
	cursor: pointer;
	font-size: 14px;
	color: var(--kboard-text);
}

#kboard-thumbnail-editor .attr-value .attr-value-option input[type=checkbox] {
	appearance: none;
	-webkit-appearance: none;
	width: 18px !important;
	height: 18px !important;
	border: 1px solid var(--kboard-border);
	border-radius: 4px;
	background: #fff;
	cursor: pointer;
	position: relative;
	margin-right: 8px;
	vertical-align: middle;
	outline: none;
	margin: 0 8px 0 0;
	/* Reset margins */
}

#kboard-thumbnail-editor .attr-value .attr-value-option input[type=checkbox]:checked {
	background-color: var(--kboard-primary);
	border-color: var(--kboard-primary);
	background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
	background-position: center;
	background-repeat: no-repeat;
	background-size: 100% 100%;
}

#kboard-thumbnail-editor input[type=text],
#kboard-thumbnail-editor input[type=email],
#kboard-thumbnail-editor input[type=password],
#kboard-thumbnail-editor select {
	width: 100% !important;
}

#kboard-thumbnail-editor .kboard-content {
	border: none;
	padding: 0;
	margin: 0;
	background: transparent;
	float: none;
}

#kboard-thumbnail-editor textarea {
	width: 100% !important;
	min-height: 400px;
	border: 1px solid var(--kboard-border);
	box-sizing: border-box;
}

#kboard-thumbnail-editor .kboard-control {
	float: none;
	display: flex;
	justify-content: space-between;
}

#kboard-thumbnail-editor .kboard-control .left,
#kboard-thumbnail-editor .kboard-control .right {
	float: none;
	width: auto;
}

/* --- Confirm (Password) Page --- */
#kboard-thumbnail-editor.confirm {
	max-width: 400px;
	margin: 60px auto;
	padding: 30px;
	border: 1px solid var(--kboard-border);
	border-radius: var(--kboard-radius);
	background: #fff;
	box-shadow: var(--kboard-shadow-md);
}

#kboard-thumbnail-editor.confirm .kboard-confirm-row {
	margin-bottom: 24px;
}

#kboard-thumbnail-editor.confirm .attr-name {
	margin-bottom: 10px;
}

#kboard-thumbnail-editor.confirm .description {
	color: var(--kboard-danger);
	font-size: 13px;
	margin-top: 8px;
	font-weight: 500;
}

#kboard-thumbnail-editor.confirm input[type=password] {
	width: 100%;
}

#kboard-thumbnail-editor.confirm .kboard-control {
	justify-content: center;
	flex-direction: column-reverse;
	gap: 10px;
}

#kboard-thumbnail-editor.confirm .kboard-control .left,
#kboard-thumbnail-editor.confirm .kboard-control .right {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
	margin: 0;
}

#kboard-thumbnail-editor.confirm .kboard-control button {
	width: 100%;
	height: 40px;
	font-size: 15px;
}

#kboard-thumbnail-editor.confirm .kboard-control a {
	width: 100%;
	height: 40px;
	background: #fff !important;
	color: var(--kboard-text-muted) !important;
	border: 1px solid var(--kboard-border);
	box-shadow: none;
}

#kboard-thumbnail-editor.confirm .kboard-control a:hover {
	background: var(--kboard-bg-alt) !important;
	color: var(--kboard-text) !important;
	border-color: var(--kboard-text-muted);
}

/* Tree Category in Editor */
#kboard-thumbnail-editor .kboard-tree-category-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	width: 100%;
	margin-bottom: 20px;
}

#kboard-thumbnail-editor .kboard-tree-category-wrap select {
	flex: 1;
	min-width: 120px;
	width: auto;
}

/* --- Address Field (Postcode) --- */
#kboard-thumbnail-editor .kboard-row-postcode {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
}

#kboard-thumbnail-editor .kboard-row-postcode input[type=text] {
	width: 150px !important;
	flex: 0 0 auto;
	/* Fixed width */
}

#kboard-thumbnail-editor .kboard-row-postcode button {
	height: 40px;
	flex: 0 0 auto;
	white-space: nowrap;
	margin: 0 !important;
}

#kboard-thumbnail-editor .kboard-row-address-1,
#kboard-thumbnail-editor .kboard-row-address-2 {
	display: block;
	width: 100%;
	margin-bottom: 8px;
}

#kboard-thumbnail-editor .kboard-row-address-2 {
	margin-bottom: 0;
}

#kboard-thumbnail-editor .kboard-row-address-1 input[type=text],
#kboard-thumbnail-editor .kboard-row-address-2 input[type=text] {
	width: 100% !important;
}

/* --- Latest View (Widget) --- */
#kboard-thumbnail-latest {
	width: 100%;
	background: #fff;
	/* border: 1px solid var(--kboard-border); */
	/* border-radius: var(--kboard-radius); */
	overflow: hidden;
	box-sizing: border-box;
}

#kboard-thumbnail-latest table {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
	border: 0;
}

#kboard-thumbnail-latest thead th {
	padding: 10px;
	background: var(--kboard-bg-alt);
	border-bottom: 1px solid var(--kboard-border);
	font-size: 13px;
	color: var(--kboard-text-muted);
	font-weight: 600;
	text-align: center;
	border-top: 0;
	border-left: 0;
	border-right: 0;
}

#kboard-thumbnail-latest tbody tr {
	border-bottom: 1px solid var(--kboard-border);
	background: #fff;
}

#kboard-thumbnail-latest tbody tr:last-child {
	border-bottom: none;
}

#kboard-thumbnail-latest tbody tr:hover {
	background-color: var(--kboard-bg-alt);
}

#kboard-thumbnail-latest td {
	padding: 12px 16px;
	vertical-align: middle;
	font-size: 14px;
	border: 0;
}

#kboard-thumbnail-latest .kboard-latest-title {
	text-align: left;
}

#kboard-thumbnail-latest .kboard-latest-title a {
	display: block;
	color: var(--kboard-text);
	text-decoration: none;
}

#kboard-thumbnail-latest .kboard-latest-title a:hover {
	color: var(--kboard-primary);
}

#kboard-thumbnail-latest .kboard-thumbnail-cut-strings {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#kboard-thumbnail-latest .kboard-latest-date,
#kboard-thumbnail-latest .kboard-latest-author {
	color: var(--kboard-text-muted);
	font-size: 13px;
	text-align: center;
	width: 90px;
}


/* ============================================
   Tree Category Search (Default)
   ============================================ */
#kboard-thumbnail-list .kboard-tree-category-search {
	margin-bottom: 20px;
	padding: 15px;
	background: var(--kboard-bg-alt);
	border-radius: var(--kboard-radius);
	text-align: left;
	/* Changed to left */
}

#kboard-thumbnail-list .kboard-tree-category-search .kboard-tree-category-wrap {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: flex-start;
	/* Changed to flex-start */
	align-items: center;
}

/* Individual Select Wrapper */
#kboard-thumbnail-list .kboard-tree-category-search .kboard-search-option-wrap {
	display: inline-block;
}

/* Select Box Style */
#kboard-thumbnail-list .kboard-tree-category-search select {
	height: 38px;
	padding: 0 36px 0 16px;
	border: 1px solid var(--kboard-border);
	border-radius: 999px;
	/* Pill Shape */
	background-color: #fff;
	font-size: 14px;
	color: var(--kboard-text-muted);
	font-weight: 500;
	min-width: 120px;
	cursor: pointer;
	transition: all 0.2s ease;
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%236b7280%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 10px;
}

#kboard-thumbnail-list .kboard-tree-category-search select:hover {
	border-color: var(--kboard-primary);
	color: var(--kboard-primary);
	background-color: var(--kboard-bg-alt);
}

#kboard-thumbnail-list .kboard-tree-category-search select:focus {
	border-color: var(--kboard-primary);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
	outline: none;
}

/* =========================================================
   Category Styles (PC vs Mobile) - Default Skin
   ========================================================= */

/* Default: Show PC, Hide Mobile */
#kboard-thumbnail-list .kboard-category.category-mobile {
	display: none;
}

#kboard-thumbnail-list .kboard-category.category-pc {
	display: block;
	margin-bottom: 20px;
	padding: 15px;
	background-color: var(--kboard-bg-alt);
	border-radius: var(--kboard-radius);
}

/* PC Category List Style */
#kboard-thumbnail-list .kboard-category.category-pc .kboard-category-list {
	list-style: none;
	padding: 0;
	margin: 0 0 10px 0;
	/* Gap between rows of categories */
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

#kboard-thumbnail-list .kboard-category.category-pc .kboard-category-list li {
	display: inline-block;
	margin: 0;
	padding: 0;
	border: none;
}

#kboard-thumbnail-list .kboard-category.category-pc .kboard-category-list li a {
	display: block;
	padding: 6px 16px;
	font-size: 14px;
	font-weight: 500;
	color: var(--kboard-text-muted);
	background-color: #fff;
	border: 1px solid var(--kboard-border);
	border-radius: 999px;
	/* Pill shape */
	transition: all 0.2s ease;
	text-decoration: none;
}

#kboard-thumbnail-list .kboard-category.category-pc .kboard-category-list li a:hover {
	border-color: var(--kboard-primary);
	color: var(--kboard-primary);
	background-color: var(--kboard-bg-alt);
}

/* Selected Category */
#kboard-thumbnail-list .kboard-category.category-pc .kboard-category-list li.kboard-category-selected a {
	background-color: var(--kboard-primary);
	border-color: var(--kboard-primary);
	color: #fff;
	font-weight: 600;
	box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}

/* Mobile Category Style Base */
#kboard-thumbnail-list .kboard-category.category-mobile select {
	width: auto;
	min-width: 120px;
	height: 38px;
	padding: 0 12px;
	margin-right: 5px;
	border: 1px solid var(--kboard-border);
	border-radius: var(--kboard-radius);
	background-color: #fff;
	font-size: 14px;
	color: var(--kboard-text);
}


/* =========================================================
   Thumbnail Skin Unique Styles
   ========================================================= */

/* Thumbnail Column */
#kboard-thumbnail-list .kboard-list table td.kboard-list-thumbnail {
	width: 180px;
	padding: 10px;
	text-align: center;
}

/* Thumbnail Header (thead) */
#kboard-thumbnail-list .kboard-list thead td.kboard-list-thumbnail {
	width: 180px;
	padding: 12px 16px;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-weight: 600;
	color: var(--kboard-text-muted);
	text-align: center;
}

#kboard-thumbnail-list .kboard-list tbody td.kboard-list-thumbnail .icon-picture {
	font-size: 20px;
	color: var(--kboard-text-muted);
}

#kboard-thumbnail-list .kboard-list tbody td.kboard-list-thumbnail img {
	display: block;
	margin: 0 auto;
	width: 100%;
	max-width: 160px;
	height: auto;
	border-radius: var(--kboard-radius);
	object-fit: cover;
	aspect-ratio: 16/9;
	box-shadow: var(--kboard-shadow-sm);
}

/* Mobile: Thumbnail in mobile contents */
#kboard-thumbnail-list .kboard-list .kboard-mobile-contents .contents-thumbnail {
	float: left;
	display: inline;
	margin: 0 16px 8px 0;
	width: 100px;
	height: 75px;
	border: 1px solid var(--kboard-border);
	border-radius: var(--kboard-radius);
	object-fit: cover;
	aspect-ratio: 4/3;
}


/* ============================================
   Editor.js Visibility & Usability Patch
   ============================================ */
#kboard-editor-root,
.kboard-editor-root-editorjs,
.kboard-editor-scaffold {
	--kboard-editorjs-left-gutter: 44px;
	position: relative;
	margin: 8px 0 0;
	padding: 12px;
	min-height: 280px;
	background-color: #fff;
	border: 1px solid var(--kboard-border);
	border-radius: var(--kboard-radius);
	box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
	overflow: visible;
}


#kboard-editor-root:focus-within,
.kboard-editor-root-editorjs:focus-within,
.kboard-editor-scaffold:focus-within {
	border-color: var(--kboard-primary);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

#kboard-editor-root .codex-editor,
.kboard-editor-root-editorjs .codex-editor,
.kboard-editor-scaffold .codex-editor {
	position: relative;
	z-index: 1;
	overflow: visible;
}

#kboard-editor-root .codex-editor__redactor,
.kboard-editor-root-editorjs .codex-editor__redactor,
.kboard-editor-scaffold .codex-editor__redactor {
	overflow: visible;
}

#kboard-editor-root .ce-block,
.kboard-editor-root-editorjs .ce-block,
.kboard-editor-scaffold .ce-block {
	padding: 2px 0;
	margin-bottom: 8px;
}

#kboard-editor-root .ce-block:last-child,
.kboard-editor-root-editorjs .ce-block:last-child,
.kboard-editor-scaffold .ce-block:last-child {
	margin-bottom: 0;
}

#kboard-editor-root .ce-block__content,
#kboard-editor-root .ce-toolbar__content,
.kboard-editor-root-editorjs .ce-block__content,
.kboard-editor-root-editorjs .ce-toolbar__content,
.kboard-editor-scaffold .ce-block__content,
.kboard-editor-scaffold .ce-toolbar__content {
	max-width: calc(100% - var(--kboard-editorjs-left-gutter));
	margin-left: var(--kboard-editorjs-left-gutter);
	margin-right: 0;
}

#kboard-editor-root .ce-paragraph,
#kboard-editor-root .ce-header,
#kboard-editor-root .cdx-list,
.kboard-editor-root-editorjs .ce-paragraph,
.kboard-editor-root-editorjs .ce-header,
.kboard-editor-root-editorjs .cdx-list,
.kboard-editor-scaffold .ce-paragraph,
.kboard-editor-scaffold .ce-header,
.kboard-editor-scaffold .cdx-list {
	color: var(--kboard-text);
	line-height: 1.7;
}

#kboard-editor-root .ce-paragraph[data-placeholder]:empty::before,
#kboard-editor-root .ce-header[data-placeholder]:empty::before,
.kboard-editor-root-editorjs .ce-paragraph[data-placeholder]:empty::before,
.kboard-editor-root-editorjs .ce-header[data-placeholder]:empty::before,
.kboard-editor-scaffold .ce-paragraph[data-placeholder]:empty::before,
.kboard-editor-scaffold .ce-header[data-placeholder]:empty::before {
	color: var(--kboard-text-muted);
	opacity: 0.7;
}

#kboard-editor-root .ce-toolbar,
#kboard-editor-root .ce-inline-toolbar,
#kboard-editor-root .ce-popover,
#kboard-editor-root .ce-conversion-toolbar,
#kboard-editor-root .ce-settings,
.kboard-editor-root-editorjs .ce-toolbar,
.kboard-editor-root-editorjs .ce-inline-toolbar,
.kboard-editor-root-editorjs .ce-popover,
.kboard-editor-root-editorjs .ce-conversion-toolbar,
.kboard-editor-root-editorjs .ce-settings,
.kboard-editor-scaffold .ce-toolbar,
.kboard-editor-scaffold .ce-inline-toolbar,
.kboard-editor-scaffold .ce-popover,
.kboard-editor-scaffold .ce-conversion-toolbar,
.kboard-editor-scaffold .ce-settings {
	left: 0;
	right: 0;
	overflow: visible;
	visibility: visible;
	opacity: 1;
	z-index: 1000;
}

#kboard-editor-root .ce-toolbar__plus,
#kboard-editor-root .ce-toolbar__settings-btn,
.kboard-editor-root-editorjs .ce-toolbar__plus,
.kboard-editor-root-editorjs .ce-toolbar__settings-btn,
.kboard-editor-scaffold .ce-toolbar__plus,
.kboard-editor-scaffold .ce-toolbar__settings-btn {
	visibility: visible;
	opacity: 1;
	color: var(--kboard-text);
	background-color: #fff;
	border: 1px solid var(--kboard-border);
	border-radius: 999px;
	box-shadow: var(--kboard-shadow-sm);
}

#kboard-editor-root .ce-toolbar__plus:hover,
#kboard-editor-root .ce-toolbar__plus:focus,
#kboard-editor-root .ce-toolbar__settings-btn:hover,
#kboard-editor-root .ce-toolbar__settings-btn:focus,
.kboard-editor-root-editorjs .ce-toolbar__plus:hover,
.kboard-editor-root-editorjs .ce-toolbar__plus:focus,
.kboard-editor-root-editorjs .ce-toolbar__settings-btn:hover,
.kboard-editor-root-editorjs .ce-toolbar__settings-btn:focus,
.kboard-editor-scaffold .ce-toolbar__plus:hover,
.kboard-editor-scaffold .ce-toolbar__plus:focus,
.kboard-editor-scaffold .ce-toolbar__settings-btn:hover,
.kboard-editor-scaffold .ce-toolbar__settings-btn:focus {
	color: var(--kboard-primary);
	border-color: var(--kboard-primary);
	background-color: var(--kboard-bg-alt);
}

#kboard-editor-root .ce-block:focus-within .ce-toolbar__plus,
#kboard-editor-root .ce-block:focus-within .ce-toolbar__settings-btn,
#kboard-editor-root .ce-block--focused .ce-toolbar__plus,
#kboard-editor-root .ce-block--focused .ce-toolbar__settings-btn,
#kboard-editor-root .ce-block--empty .ce-toolbar__plus,
#kboard-editor-root .ce-block--empty .ce-toolbar__settings-btn,
.kboard-editor-root-editorjs .ce-block:focus-within .ce-toolbar__plus,
.kboard-editor-root-editorjs .ce-block:focus-within .ce-toolbar__settings-btn,
.kboard-editor-root-editorjs .ce-block--focused .ce-toolbar__plus,
.kboard-editor-root-editorjs .ce-block--focused .ce-toolbar__settings-btn,
.kboard-editor-root-editorjs .ce-block--empty .ce-toolbar__plus,
.kboard-editor-root-editorjs .ce-block--empty .ce-toolbar__settings-btn,
.kboard-editor-scaffold .ce-block:focus-within .ce-toolbar__plus,
.kboard-editor-scaffold .ce-block:focus-within .ce-toolbar__settings-btn,
.kboard-editor-scaffold .ce-block--focused .ce-toolbar__plus,
.kboard-editor-scaffold .ce-block--focused .ce-toolbar__settings-btn,
.kboard-editor-scaffold .ce-block--empty .ce-toolbar__plus,
.kboard-editor-scaffold .ce-block--empty .ce-toolbar__settings-btn {
	visibility: visible;
	opacity: 1;
}

#kboard-editor-root .ce-popover,
#kboard-editor-root .ce-conversion-toolbar,
.kboard-editor-root-editorjs .ce-popover,
.kboard-editor-root-editorjs .ce-conversion-toolbar,
.kboard-editor-scaffold .ce-popover,
.kboard-editor-scaffold .ce-conversion-toolbar {
	border: 1px solid var(--kboard-border);
	box-shadow: var(--kboard-shadow-sm);
}

.kboard-content hr,
.kboard-content .kboard-editorjs-delimiter,
.kboard-content .kboard-editorjs-block-delimiter,
.kboard-document-content hr,
.kboard-document-content .kboard-editorjs-delimiter,
.kboard-document-content .kboard-editorjs-block-delimiter {
	margin: 18px 0;
	border: 0;
	height: 0;
	border-top: 1px solid var(--kboard-border);
}

.kboard-content pre,
.kboard-content .kboard-editorjs-code,
.kboard-content .kboard-editorjs-block-code,
.kboard-document-content pre,
.kboard-document-content .kboard-editorjs-code,
.kboard-document-content .kboard-editorjs-block-code {
	margin: 16px 0;
	padding: 12px;
	overflow: auto;
	background-color: var(--kboard-bg-alt);
	border: 1px solid var(--kboard-border);
	border-radius: var(--kboard-radius);
	font-size: 13px;
	line-height: 1.6;
}

.kboard-content table,
.kboard-content .kboard-editorjs-table,
.kboard-content .kboard-editorjs-block-table,
.kboard-document-content table,
.kboard-document-content .kboard-editorjs-table,
.kboard-document-content .kboard-editorjs-block-table {
	width: 100%;
	margin: 16px 0;
	border-collapse: collapse;
	border: 1px solid var(--kboard-border);
	font-size: 14px;
}

.kboard-content table th,
.kboard-content table td,
.kboard-content .kboard-editorjs-table th,
.kboard-content .kboard-editorjs-table td,
.kboard-content .kboard-editorjs-block-table th,
.kboard-content .kboard-editorjs-block-table td,
.kboard-document-content table th,
.kboard-document-content table td,
.kboard-document-content .kboard-editorjs-table th,
.kboard-document-content .kboard-editorjs-table td,
.kboard-document-content .kboard-editorjs-block-table th,
.kboard-document-content .kboard-editorjs-block-table td {
	padding: 10px;
	border: 1px solid var(--kboard-border);
	vertical-align: top;
}

.kboard-content .kboard-warning,
.kboard-content .kboard-editorjs-warning,
.kboard-content .kboard-editorjs-block-warning,
.kboard-document-content .kboard-warning,
.kboard-document-content .kboard-editorjs-warning,
.kboard-document-content .kboard-editorjs-block-warning {
	margin: 16px 0;
	padding: 12px 14px;
	background-color: var(--kboard-bg-alt);
	border: 1px solid var(--kboard-border);
	border-left: 3px solid var(--kboard-primary);
	border-radius: var(--kboard-radius);
	line-height: 1.7;
}

.kboard-content .kboard-editorjs-checklist,
.kboard-content .kboard-editorjs-block-checklist,
.kboard-document-content .kboard-editorjs-checklist,
.kboard-document-content .kboard-editorjs-block-checklist {
	margin: 16px 0;
	padding-left: 0;
	list-style: none;
}

.kboard-content .kboard-editorjs-checklist li,
.kboard-content .kboard-editorjs-block-checklist li,
.kboard-document-content .kboard-editorjs-checklist li,
.kboard-document-content .kboard-editorjs-block-checklist li {
	margin: 0 0 8px;
	padding-left: 2px;
}



/* juhee css */
.kboardGallery ul {display: flex; flex-flow: wrap;  padding: 0; margin: 0 !important; gap: 50px 30px;} 
.kboardGallery .boardBox {width: calc((100% - 60px) / 3); list-style:none; } 
.kboardGallery .boardBox a {display: flex; height: 100%; flex-direction: column;} 
.kboardGallery .thumb-wrap {overflow: hidden; aspect-ratio: 38 / 23; border: 1px solid #ddd; position: relative;}
.kboardGallery .thumb {width: 100%; height: 100% !important; background-color: #fff; object-fit: cover; transition: all 0.5s; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);}
.kboardGallery .boardBox:hover .thumb{height: 105% !important;}
.txt_wrap{display: flex; flex-grow: 1; flex-direction: column; justify-content: space-between; padding: 24px 0 0;}
.txt_wrap > div{display: flex; gap: 30px; flex-direction: column; justify-content: space-between; flex-grow: 1;}
.txt_wrap > div .con-wrap{display: flex; gap: 10px; flex-direction: column;}
.kboardGallery .title {display: -webkit-box; font-size: 16px; font-weight: 500; line-height: 135%; color: #1C2A39; text-overflow: ellipsis; overflow: hidden; white-space: normal; word-wrap: break-word; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: break-all !important;} 
.kboardGallery .con {overflow: hidden; white-space: normal; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: keep-all; font-weight: 300; font-size: 16px; color: #686C74; line-height: 135%; letter-spacing: 0.32px;}
.kboardGallery .date {font-weight: 300; font-size: 16px; color: #070707; line-height: 135%; letter-spacing: 0.32px;} 

#kboard-thumbnail-list .kboard-pagination .kboard-pagination-pages li.first-page,
#kboard-thumbnail-list .kboard-pagination .kboard-pagination-pages li.last-page,
#kboard-thumbnail-list .kboard-pagination .kboard-pagination-pages li.prev-page,
#kboard-thumbnail-list .kboard-pagination .kboard-pagination-pages li.next-page{ display: block; }

#kboard-thumbnail-latest > div > div{display: flex; flex-wrap: wrap; gap: 20px;}
#kboard-thumbnail-latest.kboardGallery .thumb-wrap {aspect-ratio: 560 / 340;}
#kboard-thumbnail-latest.kboardGallery .boardBox:hover .thumb{transform: translate(-50%, -50%) scale(1.05);}

@media screen and (max-width: 1250px) {
	.kboardGallery ul{gap: 50px 20px;}
	.kboardGallery .boardBox{width: calc((100% - 40px) / 3);}
	#kboard-thumbnail-document .kboard-title h1 {font-size: 22px;}
}
@media screen and (max-width: 1024px) {
    #kboard-thumbnail-document .kboard-title h1{padding: 20px; font-size: 20px;}
	#kboard-thumbnail-document .kboard-detail{padding: 12px 20px;}
	#kboard-thumbnail-document .kboard-content{padding: 24px 20px;}
	#kboard-thumbnail-document .kboard-document-action{padding: 10px 20px 20px;}
	#kboard-thumbnail-document .kboard-document-navi a span{font-size: 14px;}

	.kboardGallery ul{gap: 40px 20px;}
	.txt_wrap{padding: 20px 0 0;}

	#kboard-thumbnail-list .kboard-pagination {padding: 40px 0 ;}
	#kboard-thumbnail-list .kboard-pagination .kboard-pagination-pages li a{width: 32px; height: 32px;}

}
@media screen and (max-width: 768px) {
	/* Hide complex table headers */
	#kboard-thumbnail-list .kboard-list thead {display: none;}

	/* Make rows into cards */
	#kboard-thumbnail-list .kboard-list tbody tr {display: block; padding: 16px; border-bottom: 1px solid var(--kboard-border);}

	/* Hide unneeded columns */
	#kboard-thumbnail-list .kboard-list-uid,
	#kboard-thumbnail-list .kboard-list-date,
	#kboard-thumbnail-list .kboard-list-vote,
	#kboard-thumbnail-list .kboard-list-view,
	#kboard-thumbnail-list .kboard-list-user {display: none;}

	/* Title takes full width */
	#kboard-thumbnail-list .kboard-list td.kboard-list-title {display: block; padding: 0; width: 100%; text-align: left;}
	#kboard-thumbnail-list .kboard-list-title .kboard-thumbnail-cut-strings {white-space: normal;  		font-size: 16px; line-height: 1.4; margin-bottom: 8px;}

	/* Show Mobile Contents */
	#kboard-thumbnail-list .kboard-mobile-contents {display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 12px;}
	#kboard-thumbnail-list .kboard-mobile-contents .contents-separator {color: #e2e8f0;}

	/* Search Stack */
	#kboard-thumbnail-list .kboard-search form {flex-direction: column; width: 100%;}
	#kboard-thumbnail-list .kboard-search select,
	#kboard-thumbnail-list .kboard-search input,
	#kboard-thumbnail-list .kboard-search button {width: 100% !important; margin: 0 !important;}

	/* Editor */
	#kboard-thumbnail-editor .kboard-control { flex-direction: column; gap: 10px;}
	#kboard-thumbnail-editor .kboard-control .left,
	#kboard-thumbnail-editor .kboard-control .right {width: 100%;  text-align: center; display: flex; flex-direction: column; gap: 8px;}

	/* Pagination Mobile */
	#kboard-thumbnail-list .kboard-pagination ul {flex-wrap: wrap; justify-content: center;}

	/* Latest Mobile */
	#kboard-thumbnail-latest thead,
	#kboard-thumbnail-latest .kboard-latest-author { display: none; }
	#kboard-thumbnail-latest tbody tr {display: flex;  flex-direction: column; padding: 8px 0;}
	#kboard-thumbnail-latest td.kboard-latest-title {display: block; width: 100%; padding-bottom: 4px; border: none; }
	#kboard-thumbnail-latest td.kboard-latest-date {display: block;  width: 100%; text-align: left; font-size: 12px; padding-top: 5px; padding-bottom: 8px; border: none; color: var(--kboard-text-muted);}

	/* Document Navi Mobile */
	.kboard-document-navi {flex-direction: column;}
	#kboard-thumbnail-document .kboard-document-navi a{padding: 14px;}
	#kboard-thumbnail-document .kboard-document-navi a span{font-size: 13px;}
	#kboard-thumbnail-document .kboard-document-navi .kboard-prev-document,
	#kboard-thumbnail-document .kboard-document-navi .kboard-next-document {width: 100%;}


	/* Mobile: Hide desktop thumbnail column */
	#kboard-thumbnail-list .kboard-list-thumbnail {display: none;}
	#kboard-thumbnail-list .kboard-list .kboard-mobile-contents .contents-thumbnail {display: block;}

	#kboard-editor-root,
	.kboard-editor-root-editorjs,
	.kboard-editor-scaffold {--kboard-editorjs-left-gutter: 36px;}
}
@media screen and (max-width: 767px) {
	.txt_wrap{padding: 16px 0 0;}
    .kboardGallery .title {font-size: 15px;} 
    
	#kboard-thumbnail-document .kboard-title h1{padding: 14px 20px; font-size: 18px;}
	#kboard-thumbnail-document .kboard-detail{gap: 5px 14px; font-size: 13px;}
	#kboard-thumbnail-document .kboard-content{padding: 24px 20px;}
	#kboard-thumbnail-document .content-view{font-size: 14px;}
	#kboard-thumbnail-document .kboard-document-action{padding: 10px 20px 20px;}

	#kboard-thumbnail-list .kboard-pagination {padding: 34px 0;}
	#kboard-thumbnail-list .kboard-pagination .kboard-pagination-pages li a{width: 30px; height: 30px; font-size: 13px;}
}
@media screen and (max-width: 690px) {
    .kboardGallery ul {gap: 30px 10px;} 
	.kboardGallery .title {font-size: 14px;} 
    .kboardGallery .boardBox{width: calc((100% - 10px) / 2);}
	#kboard-thumbnail-list .kboard-pagination .kboard-pagination-pages li a{width: 28px; height: 28px; font-size: 13px;}
}
@media screen and (max-width: 600px) {
	/* Mobile Responsive for Options */
	.kboard-document-options-group {padding: 0;}
	.kboard-document-add-option-value {flex-direction: column;}
	.kboard-document-add-option-value .option-name {width: 100%; border-right: none; border-bottom: 1px solid var(--kboard-border); padding: 12px 16px; background-color: #f8fafc; color: var(--kboard-text); font-size: 15px;}
	.kboard-document-add-option-value .option-value {padding: 12px 16px; display: block; align-items: flex-start;}
	.kboard-document-add-option-value-wrap {margin-bottom: 16px;}

	/* --- Mobile Media Query for Category --- */
	#kboard-thumbnail-list .kboard-category.category-pc { display: none;}
	#kboard-thumbnail-list .kboard-category.category-mobile { display: block; margin-bottom: 20px; padding: 10px; background: var(--kboard-bg-alt); border-radius: var(--kboard-radius);}
	#kboard-thumbnail-list .kboard-category.category-mobile form {display: flex; flex-wrap: wrap; gap: 8px;}
	#kboard-thumbnail-list .kboard-category.category-mobile select {flex: 1; width: 100%; min-width: 140px;}
}
@media screen and (max-width: 450px) {
    /* Document Control Mobile */
	#kboard-thumbnail-document .kboard-control { flex-direction: column; gap: 10px;}
	#kboard-thumbnail-document .kboard-control .left,
	#kboard-thumbnail-document .kboard-control .right { width: 100%; justify-content: center; flex-wrap: wrap; white-space: normal;}
	#kboard-thumbnail-document .kboard-control a,
	#kboard-thumbnail-document .kboard-control button { flex: 1; text-align: center; min-width: 0;}
}
@media screen and (max-width: 375px) {
    .kboardGallery .boardBox,
	#kboard-thumbnail-latest.kboardGallery .boardBox{width: 100%;}
}