html.light-mode .kol-blog-container,
html.dark-mode .kol-blog-container {
	width: 100%;
	max-width: 980px;
	margin: 0 auto;
	padding: 24px;
	box-sizing: border-box;
	border-radius: 8px;
}

html.light-mode .kol-blog-container {
	background: #ffffff;
	color: #1f2937;
	border: 1px solid #e5e7eb;
}

html.dark-mode .kol-blog-container {
	background: #1a1a1a;
	color: #e0e0e0;
	border: 1px solid #333333;
}

html.light-mode .kol-blog-form-section,
html.dark-mode .kol-blog-form-section {
	margin-bottom: 32px;
	padding: 20px;
	border-radius: 8px;
}

html.light-mode .kol-blog-form-section {
	background: #f9fafb;
	border: 1px solid #e5e7eb;
}

html.dark-mode .kol-blog-form-section {
	background: #2a2a2a;
	border: 1px solid #333333;
}

html.light-mode .kol-blog-form-section h3,
html.dark-mode .kol-blog-form-section h3 {
	margin: 0 0 18px 0;
	font-size: 22px;
	line-height: 1.25;
}

html.light-mode .kol-blog-form,
html.dark-mode .kol-blog-form {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

html.light-mode .kol-blog-form-actions,
html.dark-mode .kol-blog-form-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

html.light-mode .kol-form-group,
html.dark-mode .kol-form-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

html.light-mode .kol-form-group label,
html.dark-mode .kol-form-group label {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
}

html.light-mode .kol-form-group label {
	color: #1f2937;
}

html.dark-mode .kol-form-group label {
	color: #e0e0e0;
}

html.light-mode #kol-blog-title,
html.dark-mode #kol-blog-title {
	width: 100%;
	min-height: 54px;
	padding: 0 16px;
	border: 1px solid;
	border-radius: 6px;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.2;
	box-sizing: border-box;
	outline: none;
}

html.light-mode #kol-blog-title {
	background: #ffffff;
	color: #1f2937;
	border-color: #e5e7eb;
}

html.dark-mode #kol-blog-title {
	background: #1a1a1a;
	color: #e0e0e0;
	border-color: #333333;
}

html.light-mode #kol-blog-title:focus {
	border-color: #d4d4d4;
	box-shadow: 0 0 0 3px #f3f4f6;
}

html.dark-mode #kol-blog-title:focus {
	border-color: #555555;
	box-shadow: 0 0 0 3px #2a2a2a;
}

html.light-mode .kol-form-group input[type="file"],
html.dark-mode .kol-form-group input[type="file"] {
	width: 100%;
	min-height: 40px;
	padding: 8px;
	border: 1px solid;
	border-radius: 6px;
	box-sizing: border-box;
}

html.light-mode .kol-form-group input[type="file"] {
	background: #ffffff;
	color: #1f2937;
	border-color: #e5e7eb;
}

html.dark-mode .kol-form-group input[type="file"] {
	background: #1a1a1a;
	color: #e0e0e0;
	border-color: #333333;
}

html.light-mode .kol-blog-featured-preview,
html.dark-mode .kol-blog-featured-preview {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	padding: 10px;
	border: 1px solid;
	border-radius: 8px;
}

html.light-mode .kol-blog-featured-preview[hidden],
html.dark-mode .kol-blog-featured-preview[hidden],
html.light-mode .kol-blog-cancel-edit-btn[hidden],
html.dark-mode .kol-blog-cancel-edit-btn[hidden] {
	display: none !important;
}

html.light-mode .kol-blog-featured-preview {
	background: #ffffff;
	border-color: #e5e7eb;
	color: #4b5563;
}

html.dark-mode .kol-blog-featured-preview {
	background: #1a1a1a;
	border-color: #333333;
	color: #b8bcc5;
}

html.light-mode .kol-blog-featured-preview img,
html.dark-mode .kol-blog-featured-preview img {
	width: 96px;
	height: 64px;
	object-fit: cover;
	border-radius: 6px;
	display: block;
}

html.light-mode .kol-blog-featured-preview span,
html.dark-mode .kol-blog-featured-preview span {
	flex: 1;
	min-width: 160px;
}

html.light-mode .kol-blog-form .wp-editor-wrap,
html.dark-mode .kol-blog-form .wp-editor-wrap {
	width: 100%;
}

html.light-mode .kol-blog-form .wp-editor-container {
	border-color: #e5e7eb;
}

html.dark-mode .kol-blog-form .wp-editor-container {
	border-color: #333333;
}

html.light-mode .kol-blog-latest-post,
html.dark-mode .kol-blog-latest-post,
html.light-mode .kol-blog-recent-widget,
html.dark-mode .kol-blog-recent-widget {
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 24px;
}

html.light-mode .kol-blog-latest-post,
html.dark-mode .kol-blog-latest-post {
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

html.light-mode .kol-blog-latest-post,
html.light-mode .kol-blog-recent-widget {
	background: #ffffff;
	border: 1px solid #e5e7eb;
}

html.dark-mode .kol-blog-latest-post,
html.dark-mode .kol-blog-recent-widget {
	background: #1a1a1a;
	border: 1px solid #333333;
}

html.light-mode .kol-blog-latest-header h1,
html.dark-mode .kol-blog-latest-header h1,
html.light-mode .kol-blog-widget-header h3,
html.dark-mode .kol-blog-widget-header h3 {
	margin: 0 0 12px 0;
	line-height: 1.25;
}

html.light-mode .kol-blog-latest-header h1 a,
html.dark-mode .kol-blog-latest-header h1 a {
	color: inherit;
	text-decoration: none;
}

html.light-mode .kol-blog-latest-meta,
html.dark-mode .kol-blog-latest-meta,
html.light-mode .kol-blog-card-meta,
html.dark-mode .kol-blog-card-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	font-size: 13px;
}

html.light-mode .kol-blog-latest-meta,
html.light-mode .kol-blog-card-meta {
	color: #6b7280;
}

html.dark-mode .kol-blog-latest-meta,
html.dark-mode .kol-blog-card-meta {
	color: #9ca3af;
}

html.light-mode .kol-blog-latest-featured,
html.dark-mode .kol-blog-latest-featured {
	order: -1;
	margin: -20px -20px 18px -20px;
	border-radius: 8px 8px 0 0;
	overflow: hidden;
}

html.light-mode .kol-blog-latest-featured img,
html.dark-mode .kol-blog-latest-featured img {
	display: block;
	width: 100%;
	height: 280px;
	object-fit: cover;
}

html.light-mode .kol-blog-latest-content,
html.dark-mode .kol-blog-latest-content {
	margin: 18px 0;
	line-height: 1.65;
}

html.light-mode .kol-blog-latest-actions,
html.dark-mode .kol-blog-latest-actions,
html.light-mode .kol-blog-discover .kol-discover-post-actions,
html.dark-mode .kol-blog-discover .kol-discover-post-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

html.light-mode .kol-blog-recent-cards,
html.dark-mode .kol-blog-recent-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 14px;
}

html.light-mode .kol-blog-recent-card,
html.dark-mode .kol-blog-recent-card {
	display: flex;
	flex-direction: column;
	gap: 0;
	min-width: 0;
	padding: 0;
	border-radius: 8px;
	text-decoration: none;
	overflow: hidden;
	box-sizing: border-box;
}

html.light-mode .kol-blog-recent-card {
	background: #f9fafb;
	color: #1f2937;
	border: 1px solid #e5e7eb;
}

html.dark-mode .kol-blog-recent-card {
	background: #2a2a2a;
	color: #e0e0e0;
	border: 1px solid #333333;
}

html.light-mode .kol-blog-card-image,
html.dark-mode .kol-blog-card-image {
	width: 100%;
	height: 160px;
	border-radius: 8px 8px 0 0;
	overflow: hidden;
	flex: 0 0 auto;
	display: block;
}

html.light-mode .kol-blog-card-image img,
html.dark-mode .kol-blog-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

html.light-mode .kol-blog-card-content,
html.dark-mode .kol-blog-card-content {
	min-width: 0;
	flex: 1;
	padding: 12px;
	box-sizing: border-box;
}

html.light-mode .kol-blog-card-content h4,
html.dark-mode .kol-blog-card-content h4 {
	margin: 0 0 6px 0;
	font-size: 16px;
	line-height: 1.3;
}

html.light-mode .kol-blog-card-content h4 a,
html.dark-mode .kol-blog-card-content h4 a {
	color: inherit;
	text-decoration: none;
}

html.light-mode .kol-blog-card-content h4 a:hover,
html.dark-mode .kol-blog-card-content h4 a:hover {
	text-decoration: underline;
}

html.light-mode .kol-blog-card-excerpt,
html.dark-mode .kol-blog-card-excerpt {
	margin: 0 0 8px 0;
	font-size: 13px;
	line-height: 1.45;
}

html.light-mode .kol-blog-card-excerpt {
	color: #4b5563;
}

html.dark-mode .kol-blog-card-excerpt {
	color: #b8bcc5;
}

html.light-mode .kol-blog-card-actions,
html.dark-mode .kol-blog-card-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin-top: 10px;
}

html.light-mode .kol-blog-empty,
html.dark-mode .kol-blog-empty {
	padding: 24px;
	text-align: center;
	border-radius: 8px;
	margin: 0;
}

html.light-mode .kol-blog-empty {
	background: #f9fafb;
	color: #6b7280;
	border: 1px solid #e5e7eb;
}

html.dark-mode .kol-blog-empty {
	background: #2a2a2a;
	color: #9ca3af;
	border: 1px solid #333333;
}

html.light-mode .kol-blog-status.draft,
html.dark-mode .kol-blog-status.draft {
	display: inline-flex;
	align-items: center;
	height: 24px;
	padding: 0 10px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 600;
}

html.light-mode .kol-blog-status.draft {
	background: #f3f4f6;
	color: #4b5563;
	border: 1px solid #e5e7eb;
}

html.dark-mode .kol-blog-status.draft {
	background: #2a2a2a;
	color: #b8bcc5;
	border: 1px solid #333333;
}

html.light-mode .kol-blog-submit-btn,
html.dark-mode .kol-blog-submit-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: max-content;
	height: 32px;
	padding: 0 15px;
	border-width: 1px;
	border-style: solid;
	border-radius: 6px;
	background: linear-gradient(to bottom, #2d7c2d, #1f5f1f);
	border-top-color: #3d9d3d;
	border-left-color: #3d9d3d;
	border-right-color: #1a4d1a;
	border-bottom-color: #1a4d1a;
	color: white;
	box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.28);
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	transition: none;
}

html.light-mode .kol-blog-view-btn,
html.light-mode .kol-blog-delete-btn,
html.light-mode .kol-blog-edit-btn,
html.light-mode .kol-blog-cancel-edit-btn,
html.light-mode .kol-blog-remove-featured-btn,
html.light-mode .kol-blog-like-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 32px;
	padding: 0 15px;
	border-width: 1px;
	border-style: solid;
	border-radius: 6px;
	background: linear-gradient(to bottom, #e2e2e2, #d4d4d4);
	border-top-color: #f0f0f0;
	border-left-color: #f0f0f0;
	border-right-color: #b0b0b0;
	border-bottom-color: #b0b0b0;
	color: #2d2d2d;
	box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	transition: none;
	box-sizing: border-box;
}

html.dark-mode .kol-blog-view-btn,
html.dark-mode .kol-blog-delete-btn,
html.dark-mode .kol-blog-edit-btn,
html.dark-mode .kol-blog-cancel-edit-btn,
html.dark-mode .kol-blog-remove-featured-btn,
html.dark-mode .kol-blog-like-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 32px;
	padding: 0 15px;
	border-width: 1px;
	border-style: solid;
	border-radius: 6px;
	background: linear-gradient(to bottom, #383838, #343434);
	border-top-color: #555555;
	border-left-color: #555555;
	border-right-color: #282828;
	border-bottom-color: #282828;
	color: white;
	box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.35);
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	transition: none;
	box-sizing: border-box;
}

html.light-mode .kol-blog-submit-btn:hover,
html.dark-mode .kol-blog-submit-btn:hover,
html.light-mode .kol-blog-view-btn:hover,
html.dark-mode .kol-blog-view-btn:hover,
html.light-mode .kol-blog-delete-btn:hover,
html.dark-mode .kol-blog-delete-btn:hover,
html.light-mode .kol-blog-edit-btn:hover,
html.dark-mode .kol-blog-edit-btn:hover,
html.light-mode .kol-blog-cancel-edit-btn:hover,
html.dark-mode .kol-blog-cancel-edit-btn:hover,
html.light-mode .kol-blog-remove-featured-btn:hover,
html.dark-mode .kol-blog-remove-featured-btn:hover,
html.light-mode .kol-blog-like-btn:hover,
html.dark-mode .kol-blog-like-btn:hover {
	transform: none;
	text-decoration: none;
}

html.light-mode .kol-blog-like-btn.active i,
html.dark-mode .kol-blog-like-btn.active i {
	color: #dc2626;
}

@media (max-width: 640px) {
	html.light-mode .kol-blog-container,
	html.dark-mode .kol-blog-container {
		padding: 16px;
	}

	html.light-mode .kol-blog-form-section,
	html.dark-mode .kol-blog-form-section,
	html.light-mode .kol-blog-latest-post,
	html.dark-mode .kol-blog-latest-post,
	html.light-mode .kol-blog-recent-widget,
	html.dark-mode .kol-blog-recent-widget {
		padding: 16px;
	}

	html.light-mode #kol-blog-title,
	html.dark-mode #kol-blog-title {
		min-height: 50px;
		font-size: 18px;
	}

	html.light-mode .kol-blog-recent-card,
	html.dark-mode .kol-blog-recent-card {
		flex-direction: column;
	}

	html.light-mode .kol-blog-card-image,
	html.dark-mode .kol-blog-card-image {
		width: 100%;
		height: 160px;
		flex-basis: auto;
	}

	html.light-mode .kol-blog-latest-featured,
	html.dark-mode .kol-blog-latest-featured {
		margin: -16px -16px 16px -16px;
	}

	html.light-mode .kol-blog-latest-featured img,
	html.dark-mode .kol-blog-latest-featured img {
		height: 220px;
	}
}
