/* Campfire Site Toolkit: mobile disclosure toggles (buttons added by disclosure.js on phones only). */
.cf-disclosure-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-s);
	width: 100%;
	/* 44px tap area (brand target rule) without adding layout height: the extra over one text line
	   is pulled back with negative margins, so the title sits where it does on desktop. */
	min-height: 2.75rem;
	margin: calc((1lh - 2.75rem) / 2) 0;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
	text-align: left;
	cursor: pointer;
}

/* The +/- is two bars drawn as borders and placed without transforms: 2px on standard screens,
   1.5px on high-density ones. As 1.5px bars centred with a transform they fell between pixels on
   standard screens, so one bar looked thick and the other faint (2026-11-28). Borders, not
   backgrounds, so the mark also shows in forced-colours mode. */
.cf-disclosure-icon {
	position: relative;
	flex-shrink: 0;
	width: 1rem;
	height: 1rem;
}

.cf-disclosure-icon::before,
.cf-disclosure-icon::after {
	content: "";
	position: absolute;
	border: 0 solid currentColor;
}

.cf-disclosure-icon::before {
	top: calc(50% - 1px);
	right: 0;
	left: 0;
	border-top-width: 2px;
}

.cf-disclosure-icon::after {
	top: 0;
	bottom: 0;
	left: calc(50% - 1px);
	border-left-width: 2px;
}

@media (min-resolution: 2dppx) {
	.cf-disclosure-icon::before {
		top: calc(50% - 0.75px);
		border-top-width: 1.5px;
	}

	.cf-disclosure-icon::after {
		left: calc(50% - 0.75px);
		border-left-width: 1.5px;
	}
}

.cf-disclosure-toggle[aria-expanded="true"] .cf-disclosure-icon::after {
	display: none;
}

/* The heading holding the toggle fills its column, so the +/− sits at the row's right edge. */
.cf-disclosure-on [data-cf-disclosure-title] {
	align-self: stretch;
	width: 100%;
}

/* A closed panel stays closed even when a class gives it display: flex or grid (e.g. footer-links). */
[data-cf-disclosure-panel][hidden] {
	display: none !important;
}
