/* Event categories and tags (WP Nash - GatherPress Addons). */

/* Category pills: Post Terms links get wpn-cat-color-<colour> from the plugin. */
.wp-block-post-terms a.wpn-cat {
	display: inline-block;
	padding: 2px 12px;
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 700;
	line-height: 1.6;
	text-decoration: none;
	background: #e6f0f9;
	color: #135e96;
}
.wp-block-post-terms a.wpn-cat.wpn-cat-color-blue   { background: #e6f0f9; color: #135e96; }
.wp-block-post-terms a.wpn-cat.wpn-cat-color-green  { background: #e6f4ea; color: #1e6b34; }
.wp-block-post-terms a.wpn-cat.wpn-cat-color-orange { background: #fcf0e1; color: #8a4b00; }
.wp-block-post-terms a.wpn-cat.wpn-cat-color-purple { background: #f4f1fa; color: #5b3e96; }
.wp-block-post-terms a.wpn-cat:hover,
.wp-block-post-terms a.wpn-cat:focus-visible { filter: brightness(0.95); text-decoration: underline; }

/* Tag chips. */
.wp-block-post-terms a.wpn-tag {
	display: inline-block;
	padding: 2px 10px;
	border: 1px solid #c3c4c7;
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 600;
	text-decoration: none;
	color: #3c434a;
	background: #fff;
}
.wp-block-post-terms a.wpn-tag::before { content: "#"; opacity: 0.6; }

/* Category and tag archive pages. */
.wpn-tax-archive .wpn-back { margin: 0 0 var(--wp--preset--spacing--30); font-size: 0.95rem; font-weight: 500; }
.wpn-tax-archive .wpn-back a { text-decoration: none; }
.wpn-tax-archive .wpn-tax-title { margin: 0 0 12px; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.05; letter-spacing: -0.02em; }
.wpn-tax-archive .wp-block-term-description { margin: 0 0 var(--wp--preset--spacing--50); max-width: 680px; font-size: 1.1rem; color: #3c434a; }
.wpn-tax-archive .wp-block-post-template { display: flex; flex-direction: column; gap: 14px; padding: 0; list-style: none; }
.wpn-tax-archive .wpn-event-row { padding: 20px 24px; background: #fff; border: 1px solid #dcdfe3; border-radius: 14px; }
.wpn-tax-archive .wpn-event-row .wp-block-post-title { margin: 0 0 4px; font-size: 1.25rem; }
.wpn-tax-archive .wpn-event-row .wp-block-post-title a { text-decoration: none; }
.wpn-tax-archive .wpn-event-row .wp-block-gatherpress-event-date { margin: 0 0 8px; color: #3c434a; font-size: 0.95rem; }
.wpn-tax-archive .wpn-event-row .wp-block-post-terms { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.wpn-tax-archive .wpn-event-row .wp-block-post-terms .wp-block-post-terms__separator { display: none; }
