/**
 * JSD Site Footer band
 *
 * Sits immediately above the theme footer on every page: brand line and trust
 * links on one row.
 *
 * The affiliate disclosure is not in this band. It renders in the theme's
 * bottom row, centred under the copyright, and is styled at the end of this
 * file — legally and editorially it should be read rather than buried, so it is
 * deliberately not the smallest or faintest text on the page.
 */

.jsd-site-footer {
	padding: 48px 24px 40px;
	border-top: 1px solid #e5e5e5;
	background: #ffffff;
}

.jsd-site-footer__inner {
	max-width: 1280px;
	margin: 0 auto;
}

.jsd-site-footer__top {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px 40px;
}

/* Brand ------------------------------------------------------------------ */

.jsd-site-footer .jsd-site-footer__name {
	margin: 0;
	color: #000000;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.jsd-site-footer .jsd-site-footer__tagline {
	margin: 6px 0 0;
	color: #767676;
	font-size: 13px;
	line-height: 1.5;
}

/* Links ------------------------------------------------------------------ */

.jsd-site-footer__list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 26px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.jsd-site-footer__item {
	margin: 0;
	padding: 0;
	list-style: none;
}

.jsd-site-footer .jsd-site-footer__link {
	color: #111111;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-decoration: none;
	text-transform: uppercase;
	border-bottom: 1px solid #e5e5e5;
	padding-bottom: 2px;
	transition: border-color 0.15s ease, color 0.15s ease;
}

.jsd-site-footer .jsd-site-footer__link:hover,
.jsd-site-footer .jsd-site-footer__link:focus-visible {
	border-bottom-color: #000000;
	color: #000000;
}

.jsd-site-footer .jsd-site-footer__link:focus-visible {
	outline: 2px solid #000000;
	outline-offset: 3px;
}

/* Disclosure ------------------------------------------------------------- */

/*
 * The affiliate disclosure sits in the theme's bottom footer row, directly
 * above the copyright, and is centred to match it — the two read as one closing
 * block rather than two separate footers.
 *
 * This is the site's only disclosure line, so it is deliberately not measured
 * to a reading column: it runs full width so the sentence stays on one line on
 * desktop, and it is set a step below the 15px copyright beneath it so it reads
 * as the fine print it is. It is still near-black rather than grey — small is
 * fine, unreadable is not.
 *
 * Scoped to .site-info (the theme's copyright container) rather than to the JSD
 * band, because that is where it renders.
 */
.site-info .jsd-footer-disclosure {
	max-width: none;
	margin: 0 auto 8px;
	color: #333333;
	font-size: 12px;
	line-height: 1.5;
	text-align: center;
}

.site-info .jsd-footer-disclosure__label {
	color: #000000;
	font-weight: 700;
}

/*
 * The operating company, one step quieter than the disclosure: the same
 * measure, smaller and greyer, so it reads as a legal footnote rather than a
 * second brand.
 */
.jsd-site-footer .jsd-site-footer__operator {
	max-width: 92ch;
	margin: 10px 0 0;
	color: #767676;
	font-size: 12.5px;
	line-height: 1.6;
}

/* Responsive ------------------------------------------------------------- */

@media (max-width: 767px) {
	.jsd-site-footer {
		padding: 36px 20px 32px;
	}

	.jsd-site-footer__top {
		align-items: flex-start;
		gap: 18px;
	}

	.jsd-site-footer__list {
		gap: 10px 20px;
	}

	/* Wraps to two or three lines on a phone, which is unavoidable and fine. */
	.site-info .jsd-footer-disclosure {
		font-size: 11.5px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jsd-site-footer .jsd-site-footer__link {
		transition: none;
	}
}
