/**
 * Blog page header filters — inline selects in the archive hero.
 */

.od-page-header-content .od-blog-filters {
	margin-top: 1.25rem;
	max-width: 100%;
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.od-page-header-content .od-blog-filters.od-hop1-form {
	display: block;
	gap: 0;
}

/* Override .od-hop1-form fieldset card shell from translations.css */
.od-page-header-content .od-blog-filters__fieldset {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 12px 20px;
	border: 0;
	border-radius: 0;
	padding: 0;
	margin: 0;
	background: transparent;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.od-blog-filter-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 0 0 auto;
	min-width: 0;
	max-width: none;
}

.od-blog-filter-group label {
	font-weight: 600;
	font-size: 13px;
	line-height: 1.2;
	color: #333;
	margin: 0;
}

.od-archive-header--has-bg .od-blog-filter-group label {
	color: #fff;
}

.od-blog-filter-group select {
	width: auto;
	min-width: 140px;
	max-width: 220px;
	padding: 8px 10px;
	font-size: 15px;
	line-height: 1.3;
	border: 1px solid #ccc;
	border-radius: 10px;
	background: #fff;
	color: #333;
	cursor: pointer;
	box-sizing: border-box;
}

.od-blog-filter-group select:focus {
	outline: 2px solid var(--od-color-purple, #6b2c91);
	outline-offset: 1px;
}

.od-blog-filter-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

.od-blog-filter-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px 4px 8px;
	border-radius: 999px;
	background: var(--od-color-purple, #6b3267);
	color: #fff;
	font-size: 13px;
	line-height: 1.2;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.15s ease;
}

.od-blog-filter-chip:hover,
.od-blog-filter-chip:focus {
	background: var(--od-color-purple-dark, #53264f);
	color: #fff;
	text-decoration: none;
}

.od-blog-filter-chip__remove {
	font-size: 15px;
	line-height: 1;
	font-weight: 700;
	opacity: 0.9;
}

.od-blog-filter-chip__label {
	white-space: nowrap;
}

.od-blog-filter-chip--link {
	padding: 4px 10px;
}

.od-entry-term-chips {
	margin-top: 0;
	margin-bottom: 1rem;
}

@media (max-width: 759px) {
	.od-page-header-content .od-blog-filters__fieldset {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
	}

	.od-blog-filter-group {
		flex-direction: row;
		align-items: center;
		gap: 10px;
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}

	.od-blog-filter-group label {
		flex: 0 0 auto;
		min-width: 60px;
	}

	.od-blog-filter-group select {
		flex: 1 1 0%;
		width: 0;
		min-width: 0;
		max-width: 100%;
	}
}
