/* ==========================================================================
   Blog listing wrapper and toolbar (topics and search)
   ========================================================================== */
.oqa-bloglist {
	padding: 70px 0 90px;
	background: #fcfaf6;
}

.oqa-blogbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 44px;
	padding: 12px 12px 12px 14px;
	background: var(--oqa-white);
	border: 1px solid rgba(69, 47, 95, 0.08);
	border-radius: 22px;
	box-shadow: 0 10px 28px rgba(42, 29, 58, 0.06);
}

.oqa-blogbar__topics {
	min-width: 0;
}

.oqa-blogbar__topics ul {
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 2px;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
}

.oqa-blogbar__topics ul::-webkit-scrollbar {
	display: none;
}

.oqa-blogbar__chip,
.oqa-blogbar__chip:visited {
	display: inline-flex;
	align-items: center;
	padding: 10px 18px;
	font-size: 14.5px;
	font-weight: 700;
	white-space: nowrap;
	color: var(--oqa-green-900);
	text-decoration: none;
	background: #f6f2e8;
	border-radius: var(--oqa-radius-pill);
	transition: background 0.2s var(--oqa-ease), color 0.2s var(--oqa-ease);
}

.oqa-blogbar__chip:hover {
	background: #efe6d2;
}

.oqa-blogbar__chip.is-active {
	color: var(--oqa-white);
	background: linear-gradient(160deg, var(--oqa-green-700) 0%, var(--oqa-green-900) 100%);
}

.oqa-blogbar__chip:focus-visible {
	outline: 2px solid var(--oqa-gold-500);
	outline-offset: 2px;
}

.oqa-blogbar__search {
	position: relative;
	display: flex;
	align-items: center;
	flex: 0 0 300px;
	background: #fbf9f4;
	border: 1.5px solid rgba(69, 47, 95, 0.12);
	border-radius: var(--oqa-radius-pill);
	transition: border-color 0.2s var(--oqa-ease), box-shadow 0.2s var(--oqa-ease);
}

.oqa-blogbar__search:focus-within {
	background: var(--oqa-white);
	border-color: var(--oqa-gold-500);
	box-shadow: 0 0 0 4px rgba(232, 196, 118, 0.3);
}

.oqa-blogbar__search > .oqa-icon {
	position: absolute;
	left: 18px;
	font-size: 18px;
	color: var(--oqa-green-700);
	pointer-events: none;
}

.oqa-blogbar__search input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 46px;
	padding: 0 8px 0 46px;
	font-size: 15px;
	color: var(--oqa-text);
	background: transparent;
	border: 0;
	outline: 0;
}

.oqa-blogbar__search button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	margin-right: 4px;
	padding: 0;
	font-size: 17px;
	color: var(--oqa-white);
	background: var(--oqa-green-800);
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	transition: background 0.2s var(--oqa-ease);
}

.oqa-blogbar__search button:hover {
	background: var(--oqa-gold-600);
}

/* Empty state */
.oqa-bloglist__empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 620px;
	margin: 0 auto;
	padding: 56px 24px;
	text-align: center;
	background: var(--oqa-white);
	border: 1.5px dashed rgba(216, 171, 82, 0.6);
	border-radius: 22px;
}

.oqa-bloglist__empty-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 70px;
	height: 70px;
	margin-bottom: 18px;
	font-size: 30px;
	color: var(--oqa-gold-600);
	background: #f6efe0;
	border-radius: 50%;
}

.oqa-bloglist__empty h2 {
	margin: 0 0 8px;
	font-size: 26px;
	color: var(--oqa-green-900);
}

.oqa-bloglist__empty p {
	margin: 0 0 22px;
	color: var(--oqa-muted);
}

@media (max-width: 991px) {
	.oqa-bloglist {
		padding: 50px 0 64px;
	}

	.oqa-blogbar {
		flex-direction: column-reverse;
		align-items: stretch;
		gap: 12px;
		padding: 12px;
	}

	.oqa-blogbar__search {
		flex-basis: auto;
	}
}
