/* Fast Tracks redesign - footer (step 3). Every rule scoped under .ft-ft. Colours via tokens only. */

.ft-ft {
	background: var(--brown-primary);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.5;
	color: var(--text-on-inverse);
	margin: 0;
	padding: 0;
}

.ft-ft .ft-ft-main {
	display: flex;
	flex-wrap: wrap;
	gap: 32px 48px;
	padding-top: 48px;
	padding-bottom: 40px;
}

.ft-ft .ft-ft-brand {
	flex: 1 1 260px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-items: flex-start;
	min-width: 0;
}

.ft-ft .ft-ft-col {
	flex: 1 1 200px;
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.ft-ft img {
	display: block;
	max-width: 100%;
}

.ft-ft img.ft-ft-crest {
	height: 84px;
	width: auto;
}

.ft-ft img.ft-ft-cmrm {
	height: 110px;
	width: auto;
	max-width: 100%;
}

.ft-ft p.ft-ft-blurb {
	margin: 0;
	max-width: 320px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--text-on-inverse);
}

.ft-ft .ft-ft-social {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
}

/* Column headings: GeneratePress gives h2 35px / 20px bottom margin. */
.ft-ft h2.ft-ft-h {
	margin: 0 0 10px;
	padding: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: normal; /* the frame sets none, so the font's own: 1.5 spaced the columns out */
	font-weight: 700;
	text-transform: uppercase;
	color: var(--text-on-inverse);
}

.ft-ft a.ft-nav {
	color: var(--brass-400);
	text-decoration: none;
	font-size: 16px;
	font-weight: 500;
	line-height: normal;
	padding: 6px 0;
}

.ft-ft a.ft-nav:hover,
.ft-ft a.ft-nav:focus {
	color: var(--brass-400);
	text-decoration: underline;
}

.ft-ft a.ft-round2 {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	box-sizing: border-box;
	border-radius: 50%;
	border: 2px solid var(--brass-400);
	color: var(--brass-400);
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition: background-color .15s ease-out, color .15s ease-out;
}

.ft-ft a.ft-round2:hover,
.ft-ft a.ft-round2:focus {
	background: var(--brass-400);
	color: var(--espresso-900);
	text-decoration: none;
}

.ft-ft a.ft-ft-cmrm-link {
	display: flex;
	flex: 0 1 auto;
	border-radius: var(--radius-sm);
}

/* NMRA warrant badge at the foot of the About Fast Tracks column (Ron, 2026-11-25). */
.ft-ft a.ft-ft-nmra-link {
	display: flex;
	align-self: flex-start;
	margin-top: 16px;
	border-radius: var(--radius-sm);
}

.ft-ft img.ft-ft-nmra {
	width: 120px;
	height: auto;
}

/* The three round buttons wrap as one group: beside the badge when there is room, below it when
   not, so the email button never drops onto a line by itself. */
.ft-ft .ft-ft-rounds {
	display: flex;
	gap: 16px;
}

.ft-ft a.ft-nav:focus-visible,
.ft-ft a.ft-round2:focus-visible,
.ft-ft a.ft-ft-cmrm-link:focus-visible,
.ft-ft a.ft-ft-nmra-link:focus-visible {
	outline: none;
	box-shadow: var(--ring);
}

.ft-ft .ft-ft-legal {
	background: var(--surface-inverse);
}

.ft-ft .ft-ft-legal-in {
	padding-top: 14px;
	padding-bottom: 14px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--text-inverse-muted);
}
