/*
 * Category & Tag index pages (page-category.php / page-tags.php)
 * ---------------------------------------------------------------------------
 * assets/css/tailwind.css is a compiled, purged build — only classes that
 * were already in use elsewhere in the theme at build time made it in.
 * A handful of utilities these two pages need weren't, so they live here
 * instead, the same way faq-page.css / about-page.css / etc. each hold
 * the extras their own page template needs.
 */

/* Tag-filter search box: icon + input padding. */
.openpress-search-wrap {
	position: relative;
	max-width: 24rem;
}
.openpress-search-wrap .openpress-search-icon {
	position: absolute;
	left: 0.875rem;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
}
.openpress-search-wrap input {
	width: 100%;
	padding-left: 2.5rem;
	padding-right: 1rem;
}

/* Section card title underline on hover — driven by the theme's existing
   .group marker class (already used for group-hover:text-accent). */
.group:hover .openpress-cat-underline {
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Guaranteed no-wrap for tag pills, regardless of what the Tailwind
   purge run kept — a two-word tag should never break mid-pill. */
.openpress-nowrap {
	white-space: nowrap;
}
