/*
 * fstbanc.com site styles.
 *
 * Decisions that hold on every page:
 *  1. The corner. Photos carry a copper bracket at the lower-left corner;
 *     the home hero photo carries the cornerstone plaque instead.
 *  2. Facade headline. H1/H2 are uppercase League Gothic, left aligned.
 *  3. Splits are 7/5 or 5/7. Parallel lists sit in equal halves.
 *  4. Bands: paper, sky tint, at most one indigo band per page.
 *  5. Data and documents are ruled lists, not cards.
 *
 * Colours and fonts come from the Kadence palette and typography settings
 * (Customizer). Breakpoints: 1024 (tablet), 767 (phone).
 *
 * Contents: tokens, base, header, page header, bands, home,
 * about section, loans, calculators, footer.
 */

/* ---------- Tokens ---------- */
:root {
	--fsb-ink: var(--global-palette3);
	--fsb-copper: var(--global-palette1);
	--fsb-copper-light: color-mix(in srgb, var(--global-palette1) 45%, white);
	--fsb-rule: var(--global-palette7);
	--fsb-rule-dark: color-mix(in srgb, var(--global-palette9) 22%, transparent);
	--fsb-sky: var(--global-palette8);
	--fsb-display: "League Gothic", "Arial Narrow", sans-serif;
	--fsb-band: clamp(56px, 8vw, 112px);
	--fsb-band-s: clamp(40px, 5vw, 64px);
	--fsb-gap: clamp(32px, 5vw, 80px);
	--fsb-measure: 660px;
	--fsb-wide: 780px;
	/* Side padding that lines a full-width band up with the site container. */
	--fsb-gutter: max(var(--global-content-edge-padding), calc((100% - var(--global-content-width)) / 2 + var(--global-content-edge-padding)));
}

/* ---------- Base ---------- */
h1,
h2,
.entry-hero h1 {
	letter-spacing: 0.012em;
	text-wrap: balance;
}

.single-content h2 {
	margin-top: 1.4em;
	margin-bottom: 0.4em;
}

.single-content h3 {
	margin-top: 1.6em;
	margin-bottom: 0.4em;
}

.single-content > p,
.single-content > .wp-block-list,
.single-content > h2,
.single-content > h3 {
	max-width: var(--fsb-measure);
}

.single-content > .wp-block-table {
	max-width: var(--fsb-wide);
}

.single-content a {
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

.single-content :is(h1, h2, h3, h4) a {
	color: inherit;
	text-decoration: none;
}

.single-content :is(h1, h2, h3, h4) a:hover {
	color: var(--fsb-copper);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
.wp-block-button__link:focus-visible {
	outline: 3px solid var(--fsb-copper);
	outline-offset: 3px;
}

.fsb-lead {
	font-size: clamp(19px, 1.5vw, 21px);
	line-height: 1.5;
	color: var(--fsb-ink);
}

.fsb-note {
	max-width: 560px;
	font-size: 15px;
	line-height: 1.55;
	color: var(--global-palette5);
}

.fsb-closing {
	margin-top: 2.2em;
	font-weight: 600;
	color: var(--fsb-ink);
}

/* Buttons */
.wp-block-button__link {
	padding: 0.85em 1.5em;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.wp-block-button.is-style-outline .wp-block-button__link,
.single-content .wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--fsb-ink);
	border: 2px solid var(--fsb-ink);
	padding: calc(0.85em - 2px) calc(1.5em - 2px);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--fsb-ink);
	border-color: var(--fsb-ink);
	color: var(--global-palette9);
}

/* The corner bracket on photos */
.fsb-photo {
	position: relative;
	margin: 0;
}

.fsb-photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.fsb-photo--small img {
	height: auto;
}

.fsb-photo::after {
	content: "";
	position: absolute;
	left: -12px;
	bottom: -12px;
	width: clamp(48px, 7vw, 84px);
	height: clamp(48px, 7vw, 84px);
	border-left: 4px solid var(--fsb-copper);
	border-bottom: 4px solid var(--fsb-copper);
	pointer-events: none;
}

/* Ruled lists: documents and index rows */
.single-content .fsb-docs,
.single-content .fsb-ledger,
.single-content .fsb-roster,
.single-content .fsb-contacts {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--fsb-rule);
}

.fsb-docs li,
.fsb-ledger li,
.fsb-roster li,
.fsb-contacts li {
	margin: 0;
	border-bottom: 1px solid var(--fsb-rule);
}

.fsb-docs a {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 0;
	font-weight: 600;
	color: var(--fsb-ink);
	text-decoration: none;
}

.fsb-docs a[href$=".pdf"]::after {
	content: "PDF";
	flex: none;
	padding: 2px 7px;
	border: 1px solid currentColor;
	border-radius: 2px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--fsb-copper);
}

.fsb-docs a:hover,
.fsb-ledger a:hover {
	color: var(--fsb-copper);
}

.fsb-ledger li {
	padding: 16px 0;
	color: var(--global-palette5);
	font-size: 16px;
	line-height: 1.5;
}

.fsb-ledger a {
	font-size: 19px;
	font-weight: 700;
	color: var(--fsb-ink);
	text-decoration: none;
}

/* ---------- Header ---------- */
.site-header {
	border-bottom: 1px solid var(--fsb-rule);
}

.main-navigation .primary-menu-container > ul > li.menu-item > a {
	position: relative;
}

.main-navigation .primary-menu-container > ul > li.menu-item > a::after {
	content: "";
	position: absolute;
	left: 0.75em;
	right: 0.75em;
	bottom: 0;
	height: 3px;
	background: var(--fsb-copper);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.18s ease;
}

.main-navigation .primary-menu-container > ul > li.menu-item > a:hover::after,
.main-navigation .primary-menu-container > ul > li.current-menu-item > a::after,
.main-navigation .primary-menu-container > ul > li.current-menu-ancestor > a::after {
	transform: scaleX(1);
}

.header-navigation .header-menu-container ul ul.sub-menu {
	border: 1px solid var(--fsb-rule);
	border-top: 3px solid var(--fsb-copper);
}

.mobile-navigation ul li a {
	padding-top: 0.9em;
	padding-bottom: 0.9em;
}

/* ---------- Page header (inner pages) ---------- */
.page-hero-section .entry-hero-container-inner {
	background-color: var(--fsb-ink);
	background-size: cover;
	background-position: center;
}

.page-hero-section .hero-section-overlay {
	background: linear-gradient(
		90deg,
		var(--fsb-ink) 0%,
		var(--fsb-ink) 36%,
		color-mix(in srgb, var(--fsb-ink) 62%, transparent) 68%,
		color-mix(in srgb, var(--fsb-ink) 30%, transparent) 100%
	);
}

.page-hero-section .hero-container {
	align-items: flex-end;
}

.page-hero-section .entry-header {
	padding-block: clamp(28px, 4vw, 48px);
}

.page-hero-section .entry-title {
	max-width: 12ch;
	margin: 0;
}

.page-hero-section .kadence-breadcrumbs {
	margin: 0 0 14px;
}

.page-hero-section .kadence-breadcrumbs a {
	text-decoration: none;
}

.page-hero-section .kadence-breadcrumbs a:hover {
	text-decoration: underline;
}

/* ---------- Bands ---------- */
.single-content > .fsb-band {
	width: auto;
	max-width: none;
	margin-block: 0;
	margin-inline: 0;
	padding: var(--fsb-band) var(--fsb-gutter);
}

/* The front end wraps group content in an inner container; the editor does not. */
[class*="fsb-"] > .wp-block-group__inner-container {
	display: contents;
}

.fsb-band > :first-child,
.fsb-band > .wp-block-group__inner-container > :first-child,
.fsb-band .wp-block-column > :first-child {
	margin-top: 0;
}

.fsb-band > :last-child,
.fsb-band > .wp-block-group__inner-container > :last-child,
.fsb-band .wp-block-column > :last-child {
	margin-bottom: 0;
}

.fsb-band h2 {
	margin-top: 0;
}

.wp-block-columns.fsb-split {
	display: grid;
	grid-template-columns: 7fr 5fr;
	gap: var(--fsb-gap);
	align-items: center;
	margin-bottom: 0;
}

.wp-block-columns.fsb-pair {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--fsb-gap);
	align-items: start;
	margin-bottom: 0;
}

.fsb-split > .wp-block-column,
.fsb-pair > .wp-block-column {
	min-width: 0;
}

/* ---------- Home ---------- */

/* Hero */
.single-content > .fsb-hero {
	padding-top: clamp(40px, 6vw, 88px);
	padding-bottom: calc(var(--fsb-band) + 12px);
	background: var(--fsb-sky);
}

.fsb-hero h1 {
	margin: 0 0 0.28em;
	font-size: clamp(54px, 8vw, 118px);
	line-height: 0.9;
	text-wrap: wrap;
}

.fsb-hero .fsb-lead {
	max-width: 34em;
	margin-bottom: 1.6em;
}

.fsb-hero .wp-block-column:last-child {
	position: relative;
}

.fsb-hero .fsb-photo {
	aspect-ratio: 4 / 5;
}

.fsb-hero .fsb-photo::after {
	display: none;
}

/* The cornerstone plaque */
.fsb-plaque {
	position: absolute;
	left: -28px;
	bottom: -28px;
	margin: 0;
	padding: 20px 26px 18px;
	background: var(--fsb-ink);
	color: var(--global-palette9);
	outline: 1px solid var(--fsb-copper-light);
	outline-offset: -7px;
}

.fsb-plaque p {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
}

.fsb-plaque p:nth-child(2) {
	font-family: var(--fsb-display);
	font-size: clamp(60px, 6vw, 84px);
	font-weight: 400;
	line-height: 0.95;
	letter-spacing: 0.02em;
	color: var(--fsb-copper-light);
}

/* Lending */
.single-content > .fsb-lending {
	background: var(--fsb-ink);
	color: var(--global-palette7);
}

.fsb-lending h2,
.fsb-lending h3,
.fsb-lending .fsb-lead {
	color: var(--global-palette9);
}

.fsb-lending .fsb-split {
	grid-template-columns: 5fr 7fr;
}

.fsb-lending .fsb-photo {
	aspect-ratio: 4 / 3;
}

.fsb-lending .fsb-photo::after {
	border-color: var(--fsb-copper-light);
}

.wp-block-columns.fsb-loan-types {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0 var(--fsb-gap);
	margin: var(--fsb-band-s) 0 0;
}

.fsb-loan-types > .wp-block-column {
	padding-top: 22px;
	border-top: 1px solid var(--fsb-rule-dark);
}

.fsb-loan-types h3 {
	margin: 0 0 0.4em;
}

.fsb-loan-types h3 a:hover {
	color: var(--fsb-copper-light);
}

.fsb-loan-types p {
	margin: 0;
	font-size: 16px;
}

/* Rates */
.fsb-rates .fsb-split {
	grid-template-columns: 5fr 7fr;
	align-items: start;
}

/* Documents */
.single-content > .fsb-documents {
	background: var(--fsb-sky);
}

/* Kiowa */
.single-content > .fsb-kiowa {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	padding-bottom: calc(var(--fsb-band) + 40px);
}

.fsb-kiowa .fsb-photo {
	grid-column: 3 / -1;
	grid-row: 1;
	aspect-ratio: 21 / 9;
	margin: 0;
}

.fsb-kiowa .fsb-photo::after {
	display: none;
}

.fsb-kiowa__card {
	grid-column: 1 / span 5;
	grid-row: 1;
	align-self: end;
	z-index: 1;
	margin: 0 0 -40px;
	padding: clamp(24px, 3vw, 44px) clamp(24px, 3vw, 44px) clamp(24px, 3vw, 40px) 0;
	background: var(--global-palette9);
	border-bottom: 4px solid var(--fsb-copper);
}

.fsb-kiowa__card h2 {
	margin: 0 0 0.35em;
}

.fsb-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
	margin: 1.2em 0 0;
	font-weight: 600;
}

/* Need help */
.single-content > .fsb-help {
	background: var(--fsb-sky);
}

.fsb-help .fsb-split {
	grid-template-columns: 5fr 7fr;
	align-items: start;
}

.fsb-contacts li {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	align-items: baseline;
	gap: 4px 24px;
	padding: 18px 0;
	color: var(--global-palette5);
	font-weight: 600;
}

.fsb-contacts br {
	display: none;
}

.fsb-contacts a {
	font-size: clamp(20px, 2.1vw, 26px);
	font-weight: 700;
	color: var(--fsb-ink);
	text-decoration: none;
	overflow-wrap: anywhere;
}

.fsb-contacts a:hover {
	color: var(--fsb-copper);
}

/* ---------- About section ---------- */

/* Section index in the sidebar */
.primary-sidebar .widget_nav_menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--fsb-rule);
}

.primary-sidebar .widget_nav_menu li {
	margin: 0;
	border-bottom: 1px solid var(--fsb-rule);
}

.primary-sidebar .widget_nav_menu a {
	position: relative;
	display: block;
	padding: 13px 0 13px 20px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--fsb-ink);
	text-decoration: none;
}

.primary-sidebar .widget_nav_menu a:hover {
	color: var(--fsb-copper);
}

.primary-sidebar .widget_nav_menu .current-menu-item > a {
	color: var(--fsb-copper);
}

/* Square marker: "you are here". */
.primary-sidebar .widget_nav_menu .current-menu-item > a::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 9px;
	height: 9px;
	margin-top: -5px;
	background: var(--fsb-copper);
}

/* Hub rows */
.fsb-index {
	margin-top: 2.5em;
	border-top: 1px solid var(--fsb-rule);
}

.single-content .fsb-index__item {
	display: grid;
	margin: 0;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 8px var(--fsb-gap);
	align-items: baseline;
	padding: 26px 0;
	border-bottom: 1px solid var(--fsb-rule);
}

.fsb-index__item h2,
.fsb-index__item p {
	margin: 0;
}

.fsb-index__item h2 {
	font-size: clamp(30px, 3vw, 40px);
}

/* History */
.fsb-photo--small {
	width: 300px;
	max-width: 100%;
	margin: 2em 0 2.5em 12px;
}

.fsb-timeline {
	max-width: var(--fsb-wide);
	border-top: 1px solid var(--fsb-rule);
}

.single-content .fsb-year {
	display: grid;
	margin: 0;
	grid-template-columns: 130px minmax(0, 1fr);
	gap: 8px 24px;
	align-items: start;
	padding: 24px 0;
	border-bottom: 1px solid var(--fsb-rule);
}

.fsb-year h2 {
	margin: 0;
	font-size: clamp(48px, 5vw, 64px);
	line-height: 0.9;
	color: var(--fsb-copper);
}

.fsb-year p {
	margin: 0;
}

/* Board */
.fsb-roster li {
	padding: 16px 0;
	font-size: clamp(19px, 1.8vw, 22px);
	font-weight: 600;
	color: var(--fsb-ink);
}

/* Team and fees: ruled tables */
.fsb-roster-table table,
.fsb-fees table {
	width: 100%;
	border-collapse: collapse;
	border: 0;
}

.fsb-roster-table :is(th, td),
.fsb-fees :is(th, td) {
	padding: 14px 0;
	border: 0;
	border-bottom: 1px solid var(--fsb-rule);
	text-align: left;
	vertical-align: baseline;
	background: none;
}

.fsb-roster-table thead,
.fsb-fees thead {
	border: 0;
}

.fsb-roster-table th,
.fsb-fees th {
	padding: 0 0 10px;
	border-bottom: 2px solid var(--fsb-ink);
	font-size: 14px;
	font-weight: 700;
	color: var(--global-palette5);
}

.fsb-roster-table td:first-child {
	width: 44%;
	padding-right: 24px;
	font-weight: 700;
	color: var(--fsb-ink);
}

.fsb-fees :is(th, td):last-child {
	padding-left: 24px;
	text-align: right;
}

.fsb-fees td:last-child {
	font-weight: 600;
	color: var(--fsb-ink);
	font-variant-numeric: tabular-nums;
}

.fsb-fees table:not(:has(thead)) {
	border-top: 2px solid var(--fsb-ink);
}

.single-content > .fsb-fees {
	margin-bottom: 0;
}

.single-content > .fsb-fees + .fsb-note {
	margin-top: 2em;
}

/* Community */
.single-content > .fsb-photo {
	max-width: var(--fsb-wide);
	aspect-ratio: 16 / 7;
	margin: 2.2em 0 2.6em 12px;
}

/* ---------- Loans ---------- */
.fsb-loan .fsb-photo {
	aspect-ratio: 4 / 3;
}

.fsb-loan--flip .fsb-split {
	grid-template-columns: 5fr 7fr;
}

.single-content > .fsb-loan--flip {
	background: var(--fsb-sky);
}

.fsb-loan p {
	max-width: 36em;
}

.single-content > .fsb-calculator {
	background: var(--fsb-ink);
	color: var(--global-palette7);
}

.fsb-calculator h2,
.fsb-calculator .fsb-lead {
	color: var(--global-palette9);
}

.fsb-calculator .fsb-note {
	color: var(--global-palette7);
}

.fsb-calculator .fsb-split {
	grid-template-columns: 5fr 7fr;
	align-items: start;
}

.fsb-calc {
	margin: 0;
	padding: clamp(22px, 3vw, 36px);
	background: var(--global-palette9);
	color: var(--global-palette4);
	border-bottom: 4px solid var(--fsb-copper);
}

.fsb-calc__row {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	align-items: center;
	gap: 6px 20px;
	padding: 12px 0;
	border-bottom: 1px solid var(--fsb-rule);
}

.fsb-calc__row label {
	font-weight: 600;
	color: var(--fsb-ink);
}

.fsb-calc__field {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--global-palette5);
	font-weight: 600;
}

.fsb-calc input[type="text"],
.fsb-calc select {
	width: 100%;
	min-width: 0;
	height: 46px;
	padding: 0 12px;
	border: 1px solid var(--global-palette6);
	border-radius: 3px;
	background-color: var(--global-palette9);
	color: var(--fsb-ink);
	font: inherit;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.fsb-calc__field--term input[type="text"] {
	flex: 1 1 40%;
}

.fsb-calc__field--term select {
	flex: 1 1 60%;
}

.fsb-calc input.is-result {
	border-color: var(--fsb-copper);
	background: color-mix(in srgb, var(--fsb-copper) 12%, white);
}

.fsb-calc__message {
	min-height: 1.5em;
	margin: 14px 0 0;
	font-size: 15px;
	font-weight: 600;
	color: var(--global-palette13, #b82105);
}

.fsb-calc__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 10px;
}

.fsb-calc__submit,
.fsb-calc__reset {
	padding: 0.85em 1.5em;
	border-radius: 3px;
	font: inherit;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.fsb-calc__submit {
	border: 2px solid var(--fsb-copper);
	background: var(--fsb-copper);
	color: var(--global-palette9);
}

.fsb-calc__submit:hover {
	border-color: var(--global-palette2);
	background: var(--global-palette2);
	color: var(--global-palette9);
}

.fsb-calc__reset {
	border: 2px solid var(--fsb-rule);
	background: transparent;
	color: var(--fsb-ink);
	box-shadow: none;
}

.fsb-calc__reset:hover {
	border-color: var(--fsb-ink);
	background: transparent;
	color: var(--fsb-ink);
	box-shadow: none;
}

.fsb-assist .fsb-split {
	align-items: start;
}

.fsb-assist h2 {
	max-width: 14em;
}

.fsb-assist .fsb-docs + p {
	margin-top: 1.2em;
}

/* ---------- Calculators ---------- */
.fsb-calc-group {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
	gap: 12px var(--fsb-gap);
	align-items: start;
	margin: 0;
	padding: var(--fsb-band-s) 0;
	border-top: 1px solid var(--fsb-rule);
	scroll-margin-top: 24px;
}

.single-content > .fsb-lead + .fsb-calc-group {
	margin-top: var(--fsb-band-s);
}

.fsb-calc-group h2 {
	margin: 0;
	max-width: 8em;
}

.fsb-calc-group .fsb-ledger {
	border-top: 0;
}

.fsb-calc-group .fsb-ledger li:first-child {
	padding-top: 6px;
}

/* ---------- Footer ---------- */
.site-footer .widget-title,
.site-footer h2.widget-title {
	margin: 0 0 10px;
	font-family: var(--global-body-font-family);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0;
	text-transform: none;
	color: var(--global-palette9);
}

.site-footer .footer-widget-area p {
	margin: 0 0 1.1em;
}

.site-footer .footer-widget-area p + h2.widget-title {
	margin-top: 1.6em;
}

.site-footer .footer-widget-area a {
	color: var(--global-palette9);
	text-decoration: none;
}

.site-footer .footer-widget-area a:hover {
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.fsb-footer-logo {
	max-width: 300px;
	margin: 0 0 18px;
}

.fsb-marks {
	display: flex;
	align-items: center;
	gap: 22px;
	margin-top: 22px;
}

.fsb-marks .wp-block-image {
	margin: 0;
}

.fsb-marks img {
	display: block;
	width: auto;
	height: 46px;
}

.site-footer .fsb-footer-nav {
	list-style: none;
	margin: 0;
	padding: 0;
}

.fsb-footer-nav li {
	margin: 0 0 8px;
}

.site-middle-footer-wrap .site-footer-row-container-inner > .site-container > .site-footer-row {
	border-top: 1px solid var(--fsb-rule-dark);
}

.site-bottom-footer-wrap .site-footer-row-container-inner {
	border-top: 1px solid var(--fsb-rule-dark);
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
	.wp-block-columns.fsb-split,
	.fsb-lending .fsb-split,
	.fsb-rates .fsb-split,
	.fsb-help .fsb-split,
	.fsb-calculator .fsb-split,
	.fsb-loan--flip .fsb-split {
		grid-template-columns: 1fr 1fr;
	}

	.fsb-kiowa .fsb-photo {
		grid-column: 2 / -1;
		aspect-ratio: 16 / 9;
	}

	.fsb-contacts li {
		grid-template-columns: minmax(0, 1fr);
	}

	.has-sidebar .primary-sidebar {
		margin-top: var(--fsb-band-s);
	}

	.fsb-kiowa__card {
		grid-column: 1 / span 7;
	}

	.page-hero-section .hero-section-overlay {
		background: linear-gradient(
			90deg,
			var(--fsb-ink) 0%,
			color-mix(in srgb, var(--fsb-ink) 80%, transparent) 55%,
			color-mix(in srgb, var(--fsb-ink) 45%, transparent) 100%
		);
	}
}

/* ---------- Phone ---------- */
@media (max-width: 767px) {
	.wp-block-columns.fsb-split,
	.wp-block-columns.fsb-pair,
	.wp-block-columns.fsb-loan-types,
	.fsb-lending .fsb-split,
	.fsb-rates .fsb-split,
	.fsb-help .fsb-split,
	.fsb-calculator .fsb-split,
	.fsb-loan--flip .fsb-split,
	.single-content .fsb-index__item,
	.fsb-calc-group {
		grid-template-columns: minmax(0, 1fr);
	}

	.fsb-loan-types > .wp-block-column {
		padding-bottom: 22px;
	}

	.fsb-hero .fsb-photo {
		aspect-ratio: 4 / 3;
	}

	.fsb-plaque {
		left: -8px;
		bottom: -20px;
		padding: 14px 20px 12px;
	}

	/* Text first, photo second, whatever the column order. */
	.fsb-loan .fsb-split > .wp-block-column:has(.fsb-photo) {
		order: 2;
	}

	.single-content > .fsb-kiowa {
		display: block;
		padding-bottom: var(--fsb-band);
	}

	.fsb-kiowa .fsb-photo {
		aspect-ratio: 4 / 3;
	}

	.fsb-kiowa__card {
		margin: 0;
		padding: 24px 0 22px;
	}

	.fsb-calc__row {
		grid-template-columns: minmax(0, 1fr);
	}

	.single-content .fsb-year {
		grid-template-columns: minmax(0, 1fr);
	}

	.fsb-roster-table thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
	}

	.fsb-roster-table tr {
		display: block;
		padding: 12px 0;
		border-bottom: 1px solid var(--fsb-rule);
	}

	.fsb-roster-table td,
	.fsb-roster-table td:first-child {
		display: block;
		width: auto;
		padding: 0;
		border: 0;
	}

	.single-content > .fsb-photo {
		aspect-ratio: 4 / 3;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		transition: none !important; /* user preference wins over component transitions */
	}
}
