/**
 * uxneuron — work.css
 *
 * Filter pill row + the filterable portfolio grid (#workgrid). Hero reuses
 * .page-hero from layout.css; stats reuse .stats-grid from base.css; CTA
 * band reuses .cta-band from base.css.
 *
 * @package uxneuron
 */

.work-filters {
	max-width: var( --container-max );
	margin: 0 auto;
	padding: 14px var( --section-x ) 0;
}

.work-filters__list {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.filterbtn {
	transition: background .25s ease, color .25s ease, border-color .25s ease, transform .2s ease;
	cursor: pointer;
	font-family: var( --font-heading );
	font-weight: 600;
	font-size: 14.5px;
	padding: 11px 22px;
	border-radius: var( --radius-pill );
	border: 1px solid rgba(0,0,0,.12);
	background: #fff;
	color: #3a3a3a;
}

.filterbtn:hover {
	transform: translateY(-2px);
}

.filterbtn.is-active {
	border-color: var( --color-primary );
	background: var( --color-primary );
	color: #fff;
}

.work-grid-section {
	max-width: var( --container-max );
	margin: 0 auto;
	padding: 36px var( --section-x ) 90px;
}

#workgrid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
}

.work-card {
	display: block;
}

.work-card__media {
	overflow: hidden;
	border-radius: 20px;
	height: 260px;
	position: relative;
	border: 1px solid var( --color-border-soft );
}

.work-card__icon {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.work-card__tag {
	position: absolute;
	left: 18px;
	top: 18px;
	background: rgba(44,44,44,.5);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	color: #fff;
	font-family: var( --font-heading );
	font-weight: 600;
	font-size: 12px;
	padding: 6px 12px;
	border-radius: var( --radius-pill );
}

.work-card__body {
	padding-top: 16px;
}

.work-card__title {
	font-weight: 700;
	font-size: 20px;
	margin: 0 0 5px;
}

.work-card__desc {
	font-size: 14.5px;
	color: var( --color-text-muted );
	margin: 0;
}
