/**
 * Blog sidebar — ported from Codenexa wordpress-unit-test.css + blog single HTML.
 */

.blog-area {
	padding-top: 0;
}

@media (min-width: 1200px) {
	.blog-area {
		padding-left: 24px;
	}
}

.blog-sidebar {
	display: flex;
	flex-direction: column;
	gap: 32px;
	margin-top: 0;
}

/* Ridhwan overrides from wordpress-unit-test.css */
.blog-area .sidebar .sidebar-item {
	float: none;
	width: 100%;
	margin-bottom: 0;
	padding: 5px;
	background: none;
	border-radius: 0;
}

.blog-area .sidebar .sidebar-item a {
	color: var(--primary);
	font-weight: 600;
	font-size: 16px;
	text-decoration: none;
}

.blog-area .sidebar .sidebar-item a:hover {
	color: var(--brand) !important;
}

.blog-sidebar .sidebar-title {
	font-size: 18px;
	line-height: 1.3;
	font-weight: 600;
	color: var(--primary);
	margin-bottom: 16px;
}

/* Search — input + button on one line */
.blog-area .sidebar .widget_search form {
	position: relative;
	z-index: auto;
	display: block;
}

.blog-area .sidebar .widget_search fieldset.text {
	border: 0;
	margin: 0;
	padding: 0;
	min-width: 0;
}

.blog-area .sidebar .widget_search input[type="text"],
.blog-area .sidebar .widget_search input[type="search"] {
	width: 100%;
	height: 56px;
	padding: 0 56px 0 20px;
	border-radius: 8px;
	border: 1px solid var(--neutral-200);
	background: var(--white);
	font-size: 15px;
	color: var(--primary);
	outline: none;
	transition: all 0.3s ease;
}

.blog-area .sidebar .widget_search input::placeholder {
	color: var(--secondary);
}

.blog-area .sidebar .widget_search input:focus {
	border-color: var(--brand);
	box-shadow: 0 0 0 3px rgba(48, 125, 255, 0.15);
}

.blog-area .sidebar .widget_search button,
.blog-area .sidebar .widget_search input[type="submit"] {
	position: absolute;
	right: 6px;
	top: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: var(--brand);
	color: var(--white);
	transform: none;
	cursor: pointer;
	line-height: 1;
}

.blog-area .sidebar .widget_search button:hover {
	background: var(--cn-color-cta-bg, #2568e6);
	color: var(--white);
}

.blog-area .sidebar .widget_search button .icon {
	font-size: 18px;
	color: inherit;
}

/* Widget lists */
.blog-area .sidebar ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.blog-area .sidebar .widget_recent_entries li,
.blog-area .sidebar .widget_categories li {
	display: block;
	margin: 0 0 8px;
	padding: 0;
	border: 0;
	font-size: 16px;
	line-height: 1.5;
	color: var(--primary);
}

.blog-area .sidebar .widget_recent_entries li:last-child,
.blog-area .sidebar .widget_categories li:last-child {
	margin-bottom: 0;
}

.blog-area .sidebar .widget_recent_entries li a {
	display: inline;
	font-weight: 600;
	color: var(--primary);
}

.blog-area .sidebar .widget_recent_entries .post-date {
	display: inline;
	margin: 0;
	font-size: inherit;
	font-weight: 400;
	color: var(--secondary);
	text-transform: none;
}

.blog-area .sidebar .widget_recent_entries .post-date::before {
	content: " ";
}

.blog-area .sidebar .widget_categories li a {
	display: inline;
	float: none;
	text-align: left;
	font-weight: 600;
	color: var(--primary);
}

/* Tags — plain inline text */
.blog-area .sidebar .widget_tag_cloud .tagcloud {
	line-height: 1.6;
}

.blog-area .sidebar .widget_tag_cloud .tagcloud a,
.blog-area .sidebar .widget_tag_cloud .tag-cloud-link {
	padding: 8px 20px;
	margin-right: 5px;
    margin-top: 10px;
	border: 1px solid #000;
	border-radius: 5px;
	background: none;
	color: #454545;
	font-size: 15px !important;
	line-height: inherit;
	font-weight: 600;
	text-decoration: none;
	text-transform: none;
	box-shadow: none;
}

.blog-area .sidebar .widget_tag_cloud .tagcloud a:hover {
	color: var(--brand) !important;
	background: none;
}

.blog-area .sidebar .widget_tag_cloud .tagcloud a + a::before {
	content: " ";
}
