/*
 * FSM Features: Campaigns post type styles
 * Sample Campaigns gallery ([fsm_campaigns_search], [fsm_campaigns_bar], [fsm_campaigns])
 * and the single campaign page. Loaded by includes/campaigns.php, after the theme sheets.
 * Split out of style.css in theme v3.3.0.
 */

/* ================================================================== */
.fsm-cg { position: relative; scroll-margin-top: 24px; color: var(--fsm-plum); }
.fsm-cg *, .fsm-cg *::before, .fsm-cg *::after { box-sizing: border-box; }
.fsm-cg .screen-reader-text, .fsm-cg-search .screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.fsm-cg-icon { flex-shrink: 0; display: block; }
/* Filter bar: Filter & Sort, Season, Theme */
.fsm-cg-bar { display: flex; flex-wrap: wrap; gap: 12px; position: relative; }
.fsm-cg-drop { position: relative; }
.fsm-cg-btn {
	display: inline-flex; align-items: center; gap: 10px; list-style: none; cursor: pointer; user-select: none;
	min-height: 48px; padding: 10px 20px; background: #fff; color: var(--fsm-plum);
	border: 1.5px solid #d6d3d9; border-radius: 6px;
	font-family: var(--fsm-body); font-size: 1rem; font-weight: 500; line-height: 1.2;
	transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.fsm-cg-btn::-webkit-details-marker { display: none; }
.fsm-cg-btn::marker { content: ""; }
.fsm-cg-btn:hover { border-color: var(--fsm-plum); }
.fsm-cg-btn:focus-visible { outline: 2px solid var(--fsm-blue); outline-offset: 2px; }
.fsm-cg-drop[open] > .fsm-cg-btn { border-color: var(--fsm-plum); background: var(--fsm-cream); }
.fsm-cg-btn.is-active { border-color: var(--fsm-plum); background: var(--fsm-plum); color: #fff; }
.fsm-cg-badge {
	display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
	background: var(--fsm-orange); color: #fff; font-size: 0.75rem; font-weight: 700;
}
/* Season and Theme dropdown menus */
.fsm-cg-menu {
	position: absolute; top: calc(100% + 8px); left: 0; z-index: 30;
	min-width: 230px; max-height: 340px; overflow-y: auto; margin: 0; padding: 6px; list-style: none;
	background: #fff; border: 1px solid var(--fsm-stroke); border-radius: 10px;
	box-shadow: 0 18px 40px rgba(22, 0, 50, 0.18);
	animation: fsm-cg-pop 0.16s ease-out;
}
@keyframes fsm-cg-pop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.fsm-cg-menu a {
	display: flex; justify-content: space-between; gap: 16px; padding: 10px 12px; border-radius: 6px;
	color: var(--fsm-plum); text-decoration: none; font-size: 0.95rem;
}
.fsm-cg-menu a span { color: var(--fsm-secondary); font-size: 0.8125rem; }
.fsm-cg-menu a:hover, .fsm-cg-menu a:focus-visible { background: var(--fsm-cream); outline: none; }
.fsm-cg-menu a[aria-current] { font-weight: 600; background: var(--fsm-cream); }
.fsm-cg-menu a[aria-current]::after { content: "\2713"; color: var(--fsm-orange); margin-left: auto; }
.fsm-cg-menu a[aria-current] span { display: none; }
.fsm-cg-menu__empty { padding: 10px 12px; color: var(--fsm-secondary); font-size: 0.9rem; }
/* Filter & Sort slide out panel */
.fsm-cg-drawer { position: fixed; inset: 0; z-index: 100000; }
.fsm-cg-backdrop { position: absolute; inset: 0; background: rgba(22, 0, 50, 0.45); animation: fsm-cg-fade 0.25s ease-out; cursor: pointer; }
.fsm-cg-panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%);
	display: flex; flex-direction: column; background: #fff; color: var(--fsm-plum);
	box-shadow: -18px 0 48px rgba(22, 0, 50, 0.2);
	animation: fsm-cg-slide 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes fsm-cg-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fsm-cg-slide { from { transform: translateX(100%); } to { transform: none; } }
html.fsm-cg-locked { overflow: hidden; }
.fsm-cg-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 32px; border-bottom: 1px solid var(--fsm-stroke); }
.fsm-cg-panel__head h2 { margin: 0; font-family: var(--fsm-heading); font-size: 1.375rem; font-weight: 700; color: var(--fsm-plum); }
.fsm-cg-x { display: grid; place-items: center; width: 40px; height: 40px; margin-right: -8px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--fsm-plum); cursor: pointer; }
.fsm-cg-x:hover { background: var(--fsm-cream); }
.fsm-cg-x:focus-visible { outline: 2px solid var(--fsm-blue); }
.fsm-cg-panel__body { flex: 1; overflow-y: auto; padding: 0 32px; overscroll-behavior: contain; }
.fsm-cg-panel__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 32px; border-top: 1px solid var(--fsm-stroke); background: #fff; }
.fsm-cg-reset { color: var(--fsm-plum); font-size: 0.95rem; font-weight: 500; }
.fsm-cg-reset:hover { color: var(--fsm-orange); }
.fsm-cg-apply {
	flex: 1; max-width: 240px; padding: 14px 20px; border: 0; border-radius: 4px; cursor: pointer;
	background: var(--fsm-blue); color: #fff; font-family: var(--fsm-heading); font-weight: 600; font-size: 1rem;
}
.fsm-cg-apply:hover { background: var(--fsm-orange); }
/* Panel sections: Sort, Season, Campaign Type, Industry */
.fsm-cg-acc { border-bottom: 1px solid #cfcbd3; }
.fsm-cg-acc > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; list-style: none; cursor: pointer; }
.fsm-cg-acc > summary::-webkit-details-marker { display: none; }
.fsm-cg-acc > summary::marker { content: ""; }
.fsm-cg-acc > summary:focus-visible { outline: 2px solid var(--fsm-blue); outline-offset: 2px; }
.fsm-cg-acc__text { display: grid; gap: 6px; min-width: 0; }
.fsm-cg-acc__title { font-family: var(--fsm-heading); font-size: 1.25rem; font-weight: 700; color: var(--fsm-plum); }
.fsm-cg-acc__value { color: var(--fsm-secondary); font-size: 1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fsm-cg-chev { transition: transform 0.2s; }
.fsm-cg-acc[open] .fsm-cg-chev { transform: rotate(180deg); }
.fsm-cg-acc__body { display: grid; gap: 4px; margin: 0; padding: 0 0 22px; border: 0; min-width: 0; }
/* Radio and checkbox rows */
.fsm-cg-opt { position: relative; display: flex; align-items: center; gap: 16px; padding: 8px 0; cursor: pointer; font-size: 1.125rem; color: var(--fsm-plum); }
.fsm-cg-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fsm-cg-opt__mark {
	position: relative; flex-shrink: 0; width: 28px; height: 28px; border: 1.5px solid var(--fsm-plum); border-radius: 50%; background: #fff;
	transition: box-shadow 0.15s;
}
.fsm-cg-opt input:checked + .fsm-cg-opt__mark::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--fsm-plum); }
.fsm-cg-opt--check .fsm-cg-opt__mark { border-radius: 5px; }
.fsm-cg-opt--check input:checked + .fsm-cg-opt__mark { background: var(--fsm-plum); }
.fsm-cg-opt--check input:checked + .fsm-cg-opt__mark::after {
	inset: 4px 8px 7px; border-radius: 0; background: none; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
.fsm-cg-opt input:focus-visible + .fsm-cg-opt__mark { box-shadow: 0 0 0 3px rgba(50, 100, 217, 0.35); }
.fsm-cg-opt:hover .fsm-cg-opt__mark { box-shadow: 0 0 0 4px var(--fsm-cream); }
.fsm-cg-opt__label { flex: 1; }
.fsm-cg-opt__count { color: var(--fsm-secondary); font-size: 0.875rem; }
.fsm-cg-opt__empty { margin: 0; color: var(--fsm-secondary); font-size: 0.95rem; }
/* Active filter tags */
.fsm-cg-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.fsm-cg-chip {
	display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px 6px 14px; border-radius: 999px;
	background: var(--fsm-cream); color: var(--fsm-plum); text-decoration: none; font-size: 0.875rem;
}
.fsm-cg-chip:hover { background: var(--fsm-sand); }
.fsm-cg-chip:hover .fsm-cg-icon { color: var(--fsm-orange); }
.fsm-cg-clear { color: var(--fsm-orange); font-size: 0.875rem; font-weight: 500; }
/* Count and pagination */
.fsm-cg-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 28px; }
.fsm-cg-bar + .fsm-cg-top, .fsm-cg-chips + .fsm-cg-top { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--fsm-stroke); }
.fsm-cg-count { margin: 0; color: var(--fsm-secondary); font-size: 0.95rem; }
.fsm-cg-bottom { display: flex; justify-content: center; margin-top: 56px; }
.fsm-cg-pages { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.fsm-cg-page {
	display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 8px; border-radius: 6px;
	border: 1.5px solid transparent; color: var(--fsm-plum); text-decoration: none; font-weight: 500; font-size: 0.95rem;
	transition: border-color 0.2s, background-color 0.2s;
}
a.fsm-cg-page:hover { border-color: var(--fsm-plum); }
.fsm-cg-page.is-current { background: var(--fsm-plum); color: #fff; }
.fsm-cg-page--arrow { border-color: #d6d3d9; background: #fff; }
.fsm-cg-page--arrow.is-disabled { opacity: 0.35; }
.fsm-cg-page--gap { min-width: 24px; padding: 0; color: var(--fsm-secondary); }
/* Card grid, three wide. White box, square image corners, title and theme. */
.fsm-cg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 24px; margin: 0; padding: 0; list-style: none; }
.fsm-cg-grid > li { display: flex; }
/* Campaign cards match the Resources post cards (fsm-post-card): rounded
   image, Season in orange, title, then Theme | Industry. */
/* Campaign card (fsm_cg_card_html): image, then title + Season | Campaign Type
   on the left and an arrow button on the right. Only the title and the arrow
   are links. Sizes follow the testimonial name and title. */
.fsm-cg-card { display: flex; flex-direction: column; width: 100%; margin: 0; color: var(--fsm-plum); }
.fsm-cg-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }
.fsm-cg-body { min-width: 0; }
.fsm-cg-card .fsm-cg-title { margin: 0; font-family: var(--fsm-heading); font-size: 1.125rem; font-weight: 600; line-height: 1.2; color: var(--fsm-plum); }
.fsm-cg-title a { color: inherit; text-decoration: none; transition: color 0.2s; }
.fsm-cg-title a:hover, .fsm-cg-card:hover .fsm-cg-title a { color: var(--fsm-blue); }
.fsm-cg-title a:focus-visible { outline: 3px solid var(--fsm-blue); outline-offset: 3px; border-radius: 2px; }
.fsm-cg-card .fsm-cg-sub { margin: 4px 0 0; font-size: 0.875rem; line-height: 1.3; color: var(--fsm-secondary); }
/* Blue arrow, no box. Orange on hover. */
.fsm-cg-go { flex: none; display: grid; place-items: center; width: 32px; height: 32px; color: #3264D9; text-decoration: none; font-family: var(--fsm-body); font-size: 1.5rem; line-height: 1; transition: color 0.2s, transform 0.2s; }
.fsm-cg-go:hover, .fsm-cg-card:hover .fsm-cg-go { color: var(--fsm-orange); transform: translateX(3px); }
.fsm-cg-img { display: grid; place-items: center; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 10px; background: #e9e3da; color: #c7bdb0; }
.fsm-cg-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.fsm-cg-empty { padding: 56px 24px; text-align: center; background: #fff; }
.fsm-cg-empty p { margin: 0 0 8px; font-family: var(--fsm-heading); font-size: 1.25rem; font-weight: 600; }
@media (max-width: 900px) {
	.fsm-cg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (max-width: 600px) {
	.fsm-cg-grid { grid-template-columns: 1fr; }
	.fsm-cg-bar { gap: 8px; }
	.fsm-cg-btn { padding: 10px 14px; font-size: 0.95rem; }
	.fsm-cg-drop:not(.fsm-cg-drop--panel) { position: static; }
	.fsm-cg-menu { left: 0; right: 0; }
	.fsm-cg-top { justify-content: center; }
	.fsm-cg-panel__head, .fsm-cg-panel__foot, .fsm-cg-panel__body { padding-inline: 20px; }
}
@media (prefers-reduced-motion: reduce) {
	.fsm-cg-menu, .fsm-cg-panel, .fsm-cg-backdrop { animation: none; }
	.fsm-cg-title a, .fsm-cg-go, .fsm-cg-img img, .fsm-cg-chev { transition: none; }
}
/* Filter tags and result count above the grid */
.fsm-cg-status { margin-bottom: 28px; }
.fsm-cg-status .fsm-cg-chips { margin: 0 0 18px; }
.fsm-cg-status .fsm-cg-top { margin: 0; }
.fsm-cg--results .fsm-cg-chip { gap: 14px; padding: 10px 14px 10px 16px; border-radius: 8px; background: #fff; font-size: 1rem; box-shadow: 0 1px 2px rgba(22, 0, 50, 0.06); }
.fsm-cg--results .fsm-cg-chip:hover { background: #fff; color: var(--fsm-orange); }
.fsm-cg--results .fsm-cg-chip .fsm-cg-icon { width: 16px; height: 16px; }
.fsm-cg--results .fsm-cg-count { color: var(--fsm-plum); font-weight: 700; font-size: 1rem; }
/* AJAX loading and lazy image fade */
.fsm-cg--results { transition: opacity 0.2s; }
.fsm-cg--results.is-loading { opacity: 0.45; pointer-events: none; cursor: progress; }
.fsm-cg--results.is-loading::after {
	content: ""; position: absolute; top: 120px; left: 50%; width: 36px; height: 36px; margin-left: -18px;
	border: 3px solid var(--fsm-stroke); border-top-color: var(--fsm-orange); border-radius: 50%;
	animation: fsm-cg-spin 0.8s linear infinite;
}
@keyframes fsm-cg-spin { to { transform: rotate(360deg); } }
.fsm-cg-js .fsm-cg-img img { opacity: 0; }
.fsm-cg-img img.is-loaded { opacity: 1; transition: opacity 0.35s, transform 0.4s; }
@media (prefers-reduced-motion: reduce) {
	.fsm-cg--results.is-loading::after { animation-duration: 2s; }
	.fsm-cg-img img.is-loaded { transition: none; }
}
/* ================================================================== */
/* Single campaign (templates/single-fsm_campaign.html). Redesigned v1.6.0:
   cream section, no hero. Image and details sit in one white box. */
.fsm-cd { padding-block: 28px clamp(72px, 9vw, 112px); }
.fsm-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: clamp(24px, 3vw, 40px); font-size: 0.875rem; color: var(--fsm-secondary); }
.fsm-crumbs a { color: var(--fsm-secondary); text-decoration: none; }
.fsm-crumbs a:hover { color: var(--fsm-orange); text-decoration: underline; }
.fsm-crumbs a:last-child { color: var(--fsm-plum); font-weight: 500; }
.fsm-crumbs__sep { color: #a39bb0; }

/* Image left (a little wider), details right */
.fsm-cd__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; padding: clamp(20px, 3.5vw, 48px); background: #fff; border-radius: var(--fsm-radius); }
.fsm-cd__main, .fsm-cd__side { display: flex; flex-direction: column; min-width: 0; }
.fsm-cd__main { gap: 40px; }
.fsm-cd__media { margin: 0; border-radius: 10px; overflow: hidden; background: var(--fsm-sand); }
.fsm-cd__media img { display: block; width: 100%; height: auto; }
.fsm-cd .fsm-cd__h { margin: 0 0 14px; font-family: var(--fsm-heading); font-size: 1.375rem; font-weight: 600; color: var(--fsm-plum); }
.fsm-cd .fsm-cd__h--sm { font-size: 1.125rem; margin-bottom: 4px; }
.fsm-cd__desc { color: var(--fsm-secondary); line-height: 1.65; }
.fsm-cd__desc > * + * { margin-top: 1rem; }

/* Campaign type chip (neon) */
.fsm-cd__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fsm-cd__chip { display: inline-block; font-size: 0.75rem; font-weight: 500; line-height: 1; padding: 7px 12px; border-radius: 999px; }
.fsm-cd__chip { background: var(--fsm-neon); color: var(--fsm-plum); }

.fsm-cd .fsm-cd__title { margin: 18px 0 0; font-family: var(--fsm-heading); font-size: clamp(2.5rem, 4.6vw, 3.75rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; color: var(--fsm-plum); }
.fsm-cd .fsm-cd__lead { margin: 20px 0 0; font-size: 1.125rem; line-height: 1.6; color: var(--fsm-secondary); max-width: 34em; }

/* Details: 2 by 2, ruled */
.fsm-cd .fsm-cd__details { margin: 32px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; border-top: 1px solid var(--fsm-plum); }
.fsm-cd__details div { display: flex; flex-direction: column; gap: 6px; padding: 16px 0; border-bottom: 1px solid var(--fsm-stroke); }
.fsm-cd__details dt { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: #c4501a; }
.fsm-cd__details dd { margin: 0; font-family: var(--fsm-heading); font-size: 1.0625rem; font-weight: 600; color: var(--fsm-plum); }
.fsm-cd__details a { color: inherit; text-decoration: none; }
.fsm-cd__details a:hover { color: var(--fsm-orange); text-decoration: underline; }

/* Included: ruled checklist like the Sharp Shooter page */
.fsm-cd__incl { margin-top: 36px; }
.fsm-cd .fsm-cd__list { list-style: none; margin: 0; padding: 0; font-size: 1rem; line-height: 1.45; color: var(--fsm-plum); }
.fsm-cd__list li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--fsm-stroke); }
.fsm-cd__check { flex-shrink: 0; margin-top: 1px; color: var(--fsm-orange); }

.fsm-cd .fsm-cd__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Shared heading row: eyebrow and h2 left, text right */
.fsm-cd-row { display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: flex-end; justify-content: space-between; margin-bottom: 48px; }
.fsm-cd-row__main { flex: 1 1 420px; }
.fsm-cd-row__aside { flex: 1 1 360px; color: var(--fsm-secondary); font-size: 1.0625rem; line-height: 1.6; }
.fsm-cd-row__aside p { margin: 0; }
.fsm-cd-row h2 { margin: 0; }
.fsm-sec .fsm-cd-eyebrow { margin: 0 0 12px; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: #c4501a; }
.fsm-sec
/* More like this: same cards as the gallery */
.fsm-cd-more__all { display: inline-block; margin-top: 14px; font-size: 0.9375rem; font-weight: 500; color: #2a50b8; text-decoration: none; }
.fsm-cd-more__all:hover { color: var(--fsm-orange); text-decoration: underline; }

/* Run this campaign: dark band, steps left, form card right */
.fsm-cd-run {
	scroll-margin-top: 90px;
	color: #fff;
	background:
		radial-gradient(ellipse 60% 70% at 0% 100%, rgba(232, 105, 47, 0.85), transparent 70%),
		radial-gradient(ellipse 60% 70% at 100% 0%, rgba(44, 42, 180, 0.8), transparent 70%),
		linear-gradient(135deg, #1a0b2e, #150028 50%, #1a0b3a);
	padding-block: clamp(72px, 9vw, 112px);
}
.fsm-cd-run__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.fsm-cd-run h2 { margin: 0; color: #fff; }
.fsm-cd-run .fsm-cd-run__lead { margin: 18px 0 0; font-size: 1.125rem; line-height: 1.6; color: rgba(255, 255, 255, 0.88); max-width: 32em; }
.fsm-cd-run__steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 22px; }
.fsm-cd-run__steps li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; }
.fsm-cd-run__steps li > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(215, 232, 74, 0.15); color: var(--fsm-neon); font-family: var(--fsm-heading); font-weight: 700; }
.fsm-cd-run__steps b { display: block; font-family: var(--fsm-heading); font-size: 1.125rem; font-weight: 700; color: #fff; }
.fsm-cd-run__steps small { display: block; margin-top: 4px; font-size: 0.9375rem; line-height: 1.5; color: var(--fsm-lavender); }
.fsm-cd-run .fsm-cd-run__contact { margin: 32px 0 0; font-size: 0.9375rem; color: rgba(255, 255, 255, 0.75); }
.fsm-cd-run__contact a { color: #fff; }
.fsm-cd-run .fsm-cd-run__card { align-self: start; }
.fsm-cd-run__card .fsm-hubspot { margin-top: 20px; }

@media (max-width: 960px) {
	.fsm-cd__grid, .fsm-cd-run__grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.fsm-cd .fsm-cd__details { grid-template-columns: 1fr 1fr; gap: 0 20px; }
	.fsm-cd .fsm-cd__actions .wp-block-button { flex: 1 1 100%; }
	.fsm-cd .fsm-cd__actions .wp-block-button__link { width: 100%; text-align: center; }
}

/* Campaign top: bone band with the breadcrumb, white section under it (2026-10-17) */
.fsm-cd-crumbbar { background: var(--wp--preset--color--bone, #F2E8DE); padding-block: 18px; }
.fsm-cd-crumbbar .fsm-crumbs { margin-bottom: 0; }
.fsm-cd { padding-block: clamp(40px, 5vw, 64px) clamp(72px, 9vw, 112px); }
.fsm-cd__grid { padding: 0; background: none; border-radius: 0; }

/* Filter bar on a light section (2026-10-17): white boxes with a chevron,
   dark tags, blue Clear all, Sort on the right. */
.fsm-sec .fsm-cg--bar { margin-top: 20px; }
.fsm-sec .fsm-cg-bar { align-items: center; gap: 12px; }
.fsm-sec .fsm-cg-btn { min-height: 52px; padding: 12px 18px; gap: 14px; background: #fff; color: var(--fsm-plum); border: 1px solid var(--fsm-stroke); border-radius: 6px; font-family: var(--fsm-heading); font-size: 1.0625rem; font-weight: 600; }
.fsm-sec .fsm-cg-btn:hover, .fsm-sec .fsm-cg-drop[open] > .fsm-cg-btn { background: #fff; border-color: var(--fsm-plum); }
.fsm-sec .fsm-cg-btn.is-active { background: #fff; color: var(--fsm-plum); border-color: var(--fsm-plum); }
.fsm-cg-chev { flex-shrink: 0; transition: transform 0.2s; }
.fsm-cg-drop[open] > summary .fsm-cg-chev { transform: rotate(180deg); }
.fsm-cg-bar > .fsm-cg-chips { margin: 0; gap: 12px; }
.fsm-cg-bar .fsm-cg-chip { gap: 6px; padding: 10px 14px; border-radius: 4px; background: var(--fsm-plum); color: #fff; font-size: 1rem; }
.fsm-cg-bar .fsm-cg-chip:hover { background: var(--fsm-purple, #2A1257); color: #fff; }
.fsm-cg-bar .fsm-cg-chip:hover .fsm-cg-icon { color: #fff; }
.fsm-cg-bar .fsm-cg-clear { color: var(--fsm-blue); font-size: 1rem; font-weight: 600; text-decoration: none; margin-left: 4px; }
.fsm-cg-bar .fsm-cg-clear:hover { text-decoration: underline; }
.fsm-cg-drop--sort { margin-left: auto; }
.fsm-cg-sort { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; cursor: pointer; list-style: none; color: var(--fsm-secondary); font-size: 1rem; }
.fsm-cg-sort::-webkit-details-marker { display: none; }
.fsm-cg-sort::marker { content: ""; }
.fsm-cg-sort b { color: var(--fsm-plum); font-weight: 700; }
.fsm-cg-sort:focus-visible { outline: 2px solid var(--fsm-blue); outline-offset: 2px; border-radius: 4px; }
.fsm-cg-drop--sort > .fsm-cg-menu { left: auto; right: 0; }
.fsm-hero .fsm-cg-sort, .fsm-hero .fsm-cg-sort b { color: #fff; }
.fsm-hero .fsm-cg-bar .fsm-cg-chip { background: rgba(255, 255, 255, 0.12); }
/* Tags show in the bar, so hide the copy above the results when a bar is on the page. */
body:has(.fsm-cg--bar) .fsm-cg--results .fsm-cg-status > .fsm-cg-chips { display: none; }
@media (max-width: 600px) { .fsm-cg-drop--sort { margin-left: 0; flex-basis: 100%; } }

/* Campaign type pill in all caps (2026-10-20). */
.fsm-cd__chip { text-transform: uppercase; letter-spacing: 0.06em; }
