.bd-cat {
	--bd-green: #0a7c6e;
	--bd-green-deep: #086257;
	--bd-green-soft: #e6f4f2;
	--bd-blue: #ff6b35;
	--bd-yellow: #f59e0b;
	--bd-bg: #fafafa;
	--bd-surface: #ffffff;
	--bd-text: #1a1a1a;
	--bd-muted: #5c5c5c;
	--bd-line: #ebebeb;
	--bd-radius: 18px;
	--bd-max: 1200px;
	--bd-shadow: 0 12px 28px rgba(10, 124, 110, 0.1);
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	background: var(--bd-bg);
	color: var(--bd-text);
	--bd-font: "ABeeZee", system-ui, -apple-system, sans-serif;
	--bd-font-display: "Bricolage Grotesque", system-ui, sans-serif;
	font-family: var(--bd-font);
	font-size: 17px;
	line-height: 1.55;
	padding-bottom: 48px;
}

body:has(.bd-cat) {
	background: var(--bd-bg, #fafafa) !important;
}

body:has(.bd-cat) .wp-block-post-title {
	display: none !important;
}

body:has(.bd-cat) .wp-block-post-content,
body:has(.bd-cat) .entry-content,
body:has(.bd-cat) main,
body:has(.bd-cat) main > .wp-block-group,
body:has(.bd-cat) .wp-block-group,
body:has(.bd-cat) .is-layout-constrained,
body:has(.bd-cat) .is-layout-flow {
	max-width: none !important;
	width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}

body:has(.bd-cat) .wp-site-blocks {
	padding: 0 !important;
}

body:has(.bd-cat) .has-global-padding {
	padding-right: 0 !important;
	padding-left: 0 !important;
}

body:has(.bd-cat) :where(.is-layout-constrained) > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.entry-content > .bd-cat,
.wp-block-post-content > .bd-cat,
.bd-cat.alignfull {
	width: 100vw !important;
	max-width: 100vw !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
}

.bd-cat *,
.bd-cat *::before,
.bd-cat *::after { box-sizing: border-box; }

.bd-cat a { color: var(--bd-green-deep); }
.bd-cat [hidden] { display: none !important; }

.bd-cat .screen-reader-text {
	position: absolute;
	width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}

.bd-cat :focus-visible {
	outline: 3px solid var(--bd-yellow);
	outline-offset: 3px;
}

.bd-cat__wrap {
	width: min(100% - 32px, var(--bd-max));
	margin-inline: auto;
}

.bd-cat__top {
	position: sticky;
	top: 0;
	z-index: 40;
	background: color-mix(in srgb, #fff 86%, transparent);
	border-bottom: none;
	backdrop-filter: blur(14px) saturate(1.2);
	box-shadow: 0 10px 36px rgba(10, 124, 110, 0.12);
}

.bd-cat__top::before {
	content: "";
	display: block;
	height: 5px;
	background: linear-gradient(90deg, var(--bd-green) 0%, var(--bd-yellow) 48%, var(--bd-blue) 100%);
}

.bd-cat__top-inner {
	width: min(100% - 24px, var(--bd-max));
	margin: 0 auto;
	min-height: 72px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 0 14px;
}

.bd-cat__brand {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	text-decoration: none;
	color: inherit;
}

.bd-cat__mark {
	width: 48px;
	height: 48px;
	border-radius: 16px;
	background: linear-gradient(160deg, #fff 0%, var(--bd-green-soft) 100%);
	display: grid;
	place-items: center;
	overflow: hidden;
	flex: 0 0 auto;
	box-shadow:
		0 0 0 3px rgba(10, 124, 110, 0.14),
		0 10px 22px rgba(10, 124, 110, 0.18);
}

.bd-cat__mark img {
	width: 34px;
	height: 34px;
	object-fit: contain;
	display: block;
}

.bd-cat__brand-text {
	min-width: 0;
}

.bd-cat__brand strong {
	color: var(--bd-green);
	font-family: var(--bd-font-display);
	font-size: clamp(1.05rem, 4vw, 1.35rem);
	font-weight: 400;
	line-height: 1.1;
}

.bd-cat__nav {
	display: none;
	gap: 8px;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bd-cat__nav a {
	color: var(--bd-text);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
	padding: 8px 12px;
	border-radius: 999px;
}

.bd-cat__nav a:hover {
	color: var(--bd-green);
	background: var(--bd-green-soft);
}

.bd-cat__top-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
}

.bd-cat__menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--bd-line);
	border-radius: 12px;
	background: #fff;
	color: var(--bd-green);
	cursor: pointer;
}

.bd-cat__menu-toggle svg { width: 22px; height: 22px; }

.bd-cat__btn {
	display: none;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 10px 16px;
	border-radius: 999px;
	background: var(--bd-green);
	color: #fff !important;
	font-weight: 700;
	text-decoration: none;
	font-size: 0.92rem;
	white-space: nowrap;
}

.bd-cat__btn:hover,
.bd-cat__btn:visited,
.bd-cat__btn:focus {
	color: #fff !important;
}

.bd-cat__drawer {
	display: none;
	border-top: 1px solid var(--bd-line);
	background: #fff;
	padding: 12px 16px 16px;
}

.bd-cat__drawer.is-open { display: block; }
.bd-cat__drawer[hidden] { display: none !important; }

.bd-cat__drawer-nav {
	display: grid;
	gap: 4px;
	margin: 0 0 12px;
	padding: 0;
	list-style: none;
}

.bd-cat__drawer-nav a {
	display: block;
	padding: 12px 10px;
	border-radius: 12px;
	color: var(--bd-green);
	text-decoration: none;
	font-weight: 700;
}

.bd-cat__drawer-nav a:hover { background: var(--bd-green-soft); }

.bd-cat__drawer .bd-cat__btn { display: inline-flex; width: 100%; }

.bd-cat__footer {
	margin-top: 36px;
	padding: 28px 0 24px;
	border-top: 1px solid var(--bd-line);
	background: var(--bd-green-soft);
	font-size: 0.92rem;
	color: var(--bd-muted);
}

.bd-cat__footer strong { color: var(--bd-green); }

.bd-cat__footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	margin: 10px 0 0;
	padding: 0;
	list-style: none;
}

.bd-cat__footer a {
	color: var(--bd-green-deep);
	font-weight: 650;
	text-decoration: none;
}

.bd-credit {
	margin: 14px 0 0;
	font-size: 0.78rem;
	line-height: 1.4;
	color: var(--bd-muted);
}

.bd-credit a { color: inherit; }

.bd-cat__intro {
	padding: 36px 0 8px;
	background: linear-gradient(180deg, var(--bd-green-soft) 0%, var(--bd-bg) 100%);
}

.bd-cat__eyebrow {
	margin: 0 0 8px;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--bd-green);
}

.bd-cat__intro h1 {
	margin: 0 0 10px;
	font-family: var(--bd-font-display);
	font-size: clamp(1.9rem, 6vw, 2.55rem);
	line-height: 1.1;
	color: var(--bd-green);
	font-weight: 400;
	letter-spacing: 0.01em;
}

.bd-cat__lead {
	margin: 0;
	max-width: 48ch;
	color: var(--bd-text);
}

.bd-cat__carousel-section,
.bd-cat__list-section {
	padding: 28px 0 8px;
}

.bd-cat__carousel-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.bd-cat__carousel-head h2,
.bd-cat__list-section h2 {
	margin: 0;
	font-family: var(--bd-font-display);
	font-size: clamp(1.35rem, 4vw, 1.7rem);
	color: var(--bd-green);
	font-weight: 400;
}

.bd-cat__carousel-controls {
	display: flex;
	gap: 8px;
}

.bd-cat__icon-btn {
	width: 42px;
	height: 42px;
	border-radius: 12px;
	border: 1px solid var(--bd-line);
	background: #fff;
	color: var(--bd-green);
	display: grid;
	place-items: center;
	cursor: pointer;
}

.bd-cat__icon-btn:hover {
	background: var(--bd-green-soft);
	border-color: color-mix(in srgb, var(--bd-green) 35%, var(--bd-line));
}

.bd-cat__carousel {
	display: flex;
	gap: 14px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding-bottom: 8px;
	-webkit-overflow-scrolling: touch;
}

.bd-cat__carousel::-webkit-scrollbar { height: 6px; }
.bd-cat__carousel::-webkit-scrollbar-thumb {
	background: color-mix(in srgb, var(--bd-blue) 35%, #fff);
	border-radius: 999px;
}

.bd-cat__slide {
	flex: 0 0 min(82vw, 340px);
	scroll-snap-align: start;
	display: grid;
	grid-template-rows: 150px 1fr;
	background: var(--bd-surface);
	border: 1px solid var(--bd-line);
	border-radius: var(--bd-radius);
	overflow: hidden;
	box-shadow: var(--bd-shadow);
	text-decoration: none;
	color: inherit;
	min-height: 280px;
}

.bd-cat__slide-media {
	background:
		linear-gradient(145deg, #0a7c6e 0%, #086257 45%, #ff6b35 140%);
	background-size: cover;
	background-position: center;
	position: relative;
}

.bd-cat__slide-media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.45));
}

.bd-cat__slide-body {
	padding: 16px 16px 18px;
	display: grid;
	gap: 8px;
	align-content: start;
}

.bd-cat__badge {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.bd-cat__badge--playground {
	background: var(--bd-green-soft);
	color: var(--bd-green-deep);
}

.bd-cat__badge--report {
	background: #fef3c7;
	color: #92400e;
}

.bd-cat__badge--proposal {
	background: #ffe8df;
	color: #c2410c;
}

.bd-cat__slide h3,
.bd-cat__card h3 {
	margin: 0;
	font-family: var(--bd-font-display);
	font-size: 1.15rem;
	line-height: 1.2;
	color: var(--bd-green);
	font-weight: 400;
}

.bd-cat__meta {
	margin: 0;
	font-size: 0.88rem;
	color: var(--bd-muted);
}

.bd-cat__excerpt {
	margin: 0;
	font-size: 0.92rem;
	color: var(--bd-text);
}

.bd-cat__dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 10px;
}

.bd-cat__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	border: 0;
	background: #cbd5e1;
	padding: 0;
	cursor: pointer;
}

.bd-cat__dot.is-active { background: var(--bd-green); }

.bd-cat__filters-section { padding: 18px 0 0; }

.bd-cat__filters {
	display: grid;
	gap: 12px;
	padding: 16px;
	background: var(--bd-surface);
	border: 1px solid var(--bd-line);
	border-radius: var(--bd-radius);
	box-shadow: var(--bd-shadow);
}

.bd-cat__field {
	display: grid;
	gap: 6px;
	margin: 0;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--bd-green);
}

.bd-cat__field input,
.bd-cat__field select {
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid var(--bd-line);
	border-radius: 12px;
	background: #fff;
	color: var(--bd-text);
	font: inherit;
	font-weight: 500;
}

.bd-cat__field input::placeholder { color: #9ca3af; }

.bd-cat__count {
	margin: 12px 0 0;
	font-size: 0.92rem;
	color: var(--bd-muted);
	font-weight: 600;
}

.bd-cat__grid {
	display: grid;
	gap: 14px;
	margin-top: 16px;
}

.bd-cat__card {
	display: grid;
	grid-template-columns: 96px 1fr;
	gap: 0;
	background: var(--bd-surface);
	border: 1px solid var(--bd-line);
	border-radius: var(--bd-radius);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	box-shadow: 0 8px 20px rgba(10, 124, 110, 0.06);
	min-height: 118px;
}

.bd-cat__card:hover {
	border-color: color-mix(in srgb, var(--bd-blue) 28%, var(--bd-line));
}

.bd-cat__card-media {
	background:
		linear-gradient(145deg, #0a7c6e 0%, #086257 45%, #ff6b35 140%);
	background-size: cover;
	background-position: center;
	min-height: 100%;
}

.bd-cat__card-body {
	padding: 14px 14px 16px;
	display: grid;
	gap: 6px;
	align-content: start;
}

.bd-cat__empty {
	margin: 24px 0 0;
	padding: 20px;
	border-radius: var(--bd-radius);
	background: var(--bd-green-soft);
	color: var(--bd-green-deep);
	font-weight: 600;
	text-align: center;
}

@media (min-width: 768px) {
	.bd-cat { font-size: 18px; }
	.bd-cat__nav { display: flex; }
	.bd-cat__menu-toggle { display: none; }
	.bd-cat__btn { display: inline-flex; }
	.bd-cat__drawer { display: none !important; }
	.bd-cat__filters {
		grid-template-columns: 1.4fr 1fr 1fr;
		align-items: end;
	}
	.bd-cat__slide { flex-basis: 320px; }
	.bd-cat__grid { grid-template-columns: repeat(2, 1fr); }
	.bd-cat__card {
		grid-template-columns: 1fr;
		grid-template-rows: 140px 1fr;
		min-height: 0;
	}
	.bd-cat__card-media { min-height: 140px; }
}

@media (min-width: 1024px) {
	.bd-cat__grid { grid-template-columns: repeat(3, 1fr); }
	.bd-cat__intro { padding-top: 48px; }
}

@media (prefers-reduced-motion: reduce) {
	.bd-cat__carousel { scroll-behavior: auto; }
}
