/*
 * Outreach Toolbox (harvester/toolbox). Values are the design handoff's
 * (2026-10-14), except small grey text, which uses the theme's darker
 * muted/olive tokens so it passes WCAG AA contrast on white.
 */
.ho-tb {
	--tb-ink: var(--wp--preset--color--charcoal, #3B3B35);
	--tb-yellow: var(--wp--preset--color--yellow, #D2DE26);
	--tb-olive: var(--wp--preset--color--olive-text, #6F780E);
	--tb-body: var(--wp--preset--color--body-text, #6B6B66);
	--tb-muted: var(--wp--preset--color--muted, #6E6E68);
	--tb-on-dark: var(--wp--preset--color--on-dark, #CFCFC8);
	--tb-fog: var(--wp--preset--color--fog, #F4F4F1);
	--tb-fill: #F1F1EE;
	--tb-line: #E6E6E0;
	--tb-line-strong: #CFCFC8;
	--tb-gutter: clamp(17px, 3.8vw, 48px);
	color: var(--tb-ink);
	margin-top: 0;
	margin-bottom: 0;
}
.ho-tb p,
.ho-tb h1,
.ho-tb h2 { margin: 0; }
.ho-tb button { font-family: inherit; }
.ho-tb a:focus-visible,
.ho-tb button:focus-visible,
.ho-tb input:focus-visible { outline: 2px solid var(--tb-ink); outline-offset: 2px; }
.ho-tb [hidden] { display: none !important; }
.ho-tb:not(.is-ready) .ho-tb-js { display: none; }

/* Hero band */
.ho-tb-hero { background: var(--tb-fog); border-bottom: 1px solid var(--tb-line); }
.ho-tb-hero-inner {
	max-width: 1240px; margin: 0 auto; box-sizing: border-box;
	padding: clamp(28px, 5vw, 64px) var(--tb-gutter) clamp(24px, 4vw, 48px);
	display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
}
.ho-tb-rule { width: 52px; height: 5px; background: var(--tb-yellow); }
.ho-tb-eyebrow { font-weight: 800; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--tb-olive); }
.ho-tb-title { font-weight: 900; font-size: clamp(30px, 4.4vw, 56px); letter-spacing: 0.01em; text-transform: uppercase; color: var(--tb-ink); line-height: 1; }
.ho-tb-lead { font-size: clamp(15.5px, 1.4vw, 17px); line-height: 1.6; color: #5E5E58; max-width: 620px; text-wrap: pretty; }
.ho-tb-search { position: relative; width: 100%; max-width: 560px; margin-top: 10px; }
.ho-tb-search-icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--tb-muted); pointer-events: none; }
.ho-tb-search-input {
	width: 100%; box-sizing: border-box; min-height: 52px; padding: 14px 18px 14px 46px;
	border-radius: 999px; border: 1.5px solid var(--tb-line-strong); background: #fff; color: var(--tb-ink);
	font-family: inherit; font-size: 15px; font-weight: 500; outline: none;
}
.ho-tb-search-input::placeholder { color: #8A8A84; }
.ho-tb-search-input:focus { border-color: var(--tb-ink); }

/* Layout */
.ho-tb-body {
	max-width: 1240px; margin: 0 auto; box-sizing: border-box;
	padding: 0 var(--tb-gutter) clamp(40px, 6vw, 80px);
	display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: start;
}
.ho-tb-side { display: none; }
.ho-tb-main { min-width: 0; padding-top: clamp(20px, 3vw, 36px); display: flex; flex-direction: column; gap: clamp(28px, 4vw, 48px); }

@media (min-width: 1024px) {
	.ho-tb-body { grid-template-columns: 232px minmax(0, 1fr); }
	.ho-tb-side { display: flex; flex-direction: column; gap: 28px; position: sticky; top: 90px; padding-top: 36px; }
	.ho-tb-chips,
	.ho-tb-help-strip { display: none !important; }
}

/* Sidebar */
.ho-tb-side-nav { display: flex; flex-direction: column; gap: 2px; }
.ho-tb-side-label { font-weight: 800; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tb-muted); padding: 0 12px 10px; }
.ho-tb-cat--side {
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
	padding: 11px 12px; border-radius: 8px; background: transparent; color: var(--tb-ink);
	font-size: 14px; font-weight: 600; text-decoration: none;
}
.ho-tb-cat--side .ho-tb-cat-name { display: flex; align-items: center; gap: 10px; }
.ho-tb-cat--side .ho-tb-cat-name::before { content: ""; width: 4px; height: 18px; border-radius: 2px; background: transparent; flex: none; }
.ho-tb-cat--side .ho-tb-cat-count { font-size: 12px; font-weight: 700; color: var(--tb-muted); }
.ho-tb-cat--side:hover { background: var(--tb-fill); color: var(--tb-ink); }
.ho-tb-cat--side[aria-current="true"] { background: var(--tb-fill); font-weight: 800; }
.ho-tb-cat--side[aria-current="true"] .ho-tb-cat-name::before { background: var(--tb-yellow); }

.ho-tb-help-card { background: var(--tb-ink); border-radius: 10px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.ho-tb-help-title { font-weight: 800; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; }
.ho-tb-help-body { font-size: 13.5px; line-height: 1.55; color: var(--tb-on-dark); }
.ho-tb-help-link { font-weight: 800; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tb-yellow); text-decoration: none; }
.ho-tb-help-link:hover { color: #E2EC45; }

/* Category chips (<1024px) */
.ho-tb-chips {
	display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
	margin: 0 calc(-1 * var(--tb-gutter)); padding: 0 var(--tb-gutter) 2px;
}
.ho-tb-chips::-webkit-scrollbar { display: none; }
.ho-tb-cat--chip {
	flex: 0 0 auto; min-height: 44px; box-sizing: border-box; padding: 10px 16px; border-radius: 999px;
	border: 1.5px solid var(--tb-line-strong); background: #fff; color: var(--tb-ink);
	font-size: 13px; font-weight: 700; white-space: nowrap; text-decoration: none;
	display: flex; align-items: center; gap: 8px;
}
.ho-tb-cat--chip .ho-tb-cat-count { font-size: 11.5px; opacity: 0.7; }
.ho-tb-cat--chip:hover { border-color: var(--tb-ink); color: var(--tb-ink); }
.ho-tb-cat--chip[aria-current="true"] { background: var(--tb-ink); border-color: var(--tb-ink); color: #fff; }
.ho-tb:not(.is-ready) .ho-tb-cat-count { display: none; }

/* Toolbar */
.ho-tb-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: -8px; }
.ho-tb-formats { display: flex; flex-wrap: wrap; gap: 6px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.ho-tb-formats::-webkit-scrollbar { display: none; }
@media (max-width: 639px) {
	.ho-tb-formats { flex-wrap: nowrap; margin: 0 calc(-1 * var(--tb-gutter)); padding: 0 var(--tb-gutter); max-width: none; }
}
.ho-tb-format {
	flex: 0 0 auto; white-space: nowrap; min-height: 36px; padding: 7px 13px; border-radius: 6px;
	border: 1px solid var(--tb-line); background: #fff; color: var(--tb-ink);
	font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer;
	display: flex; align-items: center; gap: 7px;
}
.ho-tb-format:hover { border-color: var(--tb-ink); }
.ho-tb-format[aria-pressed="true"] { background: var(--tb-fill); border-color: var(--tb-ink); }
.ho-tb-status { display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 600; color: var(--tb-body); }
.ho-tb-clear-link { background: none; border: none; padding: 6px 0; font-size: 13px; font-weight: 800; color: var(--tb-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Format markers */
.ho-tb-mark { width: 8px; height: 8px; flex: none; background: transparent; }
.ho-tb-mark--video { background: #D2DE26; }
.ho-tb-mark--guide { background: #3B3B35; border-radius: 50%; }
.ho-tb-mark--download { background: #8A8A84; border-radius: 2px; }
.ho-tb-mark--story { background: #B9C41F; border-radius: 50%; }
.ho-tb-mark--link { background: #CFCFC8; border-radius: 50%; }
.ho-tb-mark--form { background: #3B3B35; transform: rotate(45deg); }

/* Start here path */
.ho-tb-path { background: var(--tb-ink); border-radius: 14px; padding: clamp(22px, 3.4vw, 40px); display: flex; flex-direction: column; gap: 22px; }
.ho-tb-path-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; }
.ho-tb-path-titles { display: flex; flex-direction: column; gap: 8px; }
.ho-tb-path-eyebrow { font-weight: 800; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--tb-yellow); }
.ho-tb-path-title { font-weight: 900; font-size: clamp(22px, 2.6vw, 32px); text-transform: uppercase; color: #fff; line-height: 1.1; }
.ho-tb-path-all { padding: 6px 0; font-weight: 800; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tb-yellow); text-decoration: none; }
.ho-tb-path-all:hover { color: #E2EC45; }
.ho-tb-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 12px; }
.ho-tb-steps li { display: flex; margin: 0; }
.ho-tb-step {
	flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 10px;
	background: #4A4A43; text-decoration: none; color: #fff;
}
a.ho-tb-step:hover { background: #55554D; color: #fff; }
.ho-tb-step-num { width: 30px; height: 30px; border-radius: 50%; background: var(--tb-yellow); color: var(--tb-ink); font-weight: 900; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.ho-tb-step-title { font-weight: 800; font-size: 15px; color: #fff; }
.ho-tb-step-body { font-size: 13px; line-height: 1.5; color: var(--tb-on-dark); }

/* Category sections */
.ho-tb-group { display: flex; flex-direction: column; gap: 18px; scroll-margin-top: 90px; }
.ho-tb-group-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 8px 20px; border-bottom: 1px solid var(--tb-line); padding-bottom: 14px; }
.ho-tb-group-titles { display: flex; flex-direction: column; gap: 6px; }
.ho-tb-group-rule { width: 40px; height: 4px; background: var(--tb-yellow); }
.ho-tb .ho-tb-group-title { margin-top: 4px; font-weight: 800; font-size: clamp(19px, 1.9vw, 23px); letter-spacing: 0.03em; text-transform: uppercase; color: var(--tb-ink); }
.ho-tb-group-blurb { font-size: 14.5px; line-height: 1.5; color: var(--tb-body); max-width: 620px; text-wrap: pretty; }
.ho-tb-more { padding: 6px 0; font-weight: 800; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tb-ink); text-decoration: none; white-space: nowrap; }
.ho-tb-more:hover { color: var(--tb-olive); }

/* Cards */
.ho-tb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.ho-tb-card {
	text-decoration: none; background: #fff; border: 1px solid var(--tb-line); border-radius: 10px; padding: 20px;
	display: flex; flex-direction: column; gap: 10px; min-height: 150px; box-sizing: border-box; color: var(--tb-ink);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
a.ho-tb-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(40, 40, 35, 0.12); border-color: var(--tb-line-strong); color: var(--tb-ink); }
.ho-tb-card-type { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tb-body); }
.ho-tb-card-title { font-weight: 800; font-size: 16px; line-height: 1.3; color: var(--tb-ink); text-wrap: pretty; }
.ho-tb-card-desc { font-size: 13.5px; line-height: 1.55; color: var(--tb-body); flex: 1; text-wrap: pretty; }
.ho-tb-card-cta { font-weight: 800; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tb-olive); }

.ho-tb-card--form { background: var(--tb-yellow); border-color: var(--tb-yellow); }
.ho-tb-card--form .ho-tb-card-type,
.ho-tb-card--form .ho-tb-card-desc { color: var(--tb-ink); }
.ho-tb-card--form .ho-tb-card-cta { align-self: flex-start; background: var(--tb-ink); color: #fff; padding: 9px 14px; border-radius: 999px; }
a.ho-tb-card--form:hover { background: #DCE63F; border-color: #DCE63F; box-shadow: 0 12px 26px rgba(40, 40, 35, 0.16); }

@media (prefers-reduced-motion: reduce) {
	.ho-tb-card { transition: none; }
	a.ho-tb-card:hover { transform: none; }
}

/* Empty state + help strip */
.ho-tb-empty { border: 1.5px dashed var(--tb-line-strong); border-radius: 12px; padding: 48px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ho-tb-empty-title { font-weight: 800; font-size: 18px; text-transform: uppercase; color: var(--tb-ink); }
.ho-tb-empty-body { font-size: 14.5px; color: var(--tb-body); }
.ho-tb-clear-pill { margin-top: 6px; background: var(--tb-ink); color: #fff; border: none; min-height: 44px; padding: 12px 22px; border-radius: 999px; font-weight: 800; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; }
.ho-tb-help-strip { background: var(--tb-fog); border-radius: 10px; padding: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; }
.ho-tb-help-strip-text { font-weight: 700; font-size: 14.5px; color: var(--tb-ink); }
.ho-tb-help-strip-link { font-weight: 800; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tb-ink); text-decoration: none; }
.ho-tb-help-strip-link:hover { color: var(--tb-olive); }

/* The theme underlines and colours links inside post-content list items
 * (chrome.css, ".wp-block-post-content :is(p, li, ...) a"); the step tiles
 * are <li> links on a dark panel, so pin their colours here. */
.ho-tb .ho-tb-path .ho-tb-steps a.ho-tb-step,
.ho-tb .ho-tb-path .ho-tb-steps a.ho-tb-step:hover,
.ho-tb .ho-tb-path .ho-tb-steps a.ho-tb-step:visited { color: #fff; text-decoration: none; }
.ho-tb .ho-tb-path .ho-tb-steps .ho-tb-step-title { color: #fff; text-decoration: none; }
.ho-tb .ho-tb-path .ho-tb-steps .ho-tb-step-body { color: var(--tb-on-dark); text-decoration: none; }
