/* ---------------------------------------------------------------- Footer
 * Two halves (logo and text | Ring Secretary box and page links), 120px apart, stacked from 1023px down;
 * then the copyright line and the credit. 40px padding, 80px between the two rows (30px on phones).
 */

.ioa-footer__stack {
	display: flex;
	flex-direction: column;
	gap: 80px;
}

.ioa-footer .ioa-footer__columns {
	gap: 120px;
}

.ioa-footer__about {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.ioa-footer__row {
	align-items: flex-start;
	display: flex;
	gap: 60px;
	justify-content: flex-end;
}

.ioa-footer__links {
	display: flex;
	flex-direction: column;
	flex-shrink: 0;
	gap: 24px;
}

.ioa-footer__list {
	display: flex;
	flex-direction: column;
}

.ioa-footer__bottom {
	align-items: center;
	display: flex;
	justify-content: space-between;
}

.ioa-footer__bottom p {
	font-size: 12px;
}

.ioa-footer__bottom p.ioa-copyright {
	margin-block: 12px;
}

@media (max-width: 1023px) {
	.ioa-footer .ioa-footer__columns {
		flex-direction: column;
		gap: 50px;
	}

	.ioa-footer .ioa-footer__columns > .wp-block-column {
		flex-basis: auto !important;
		width: 100%;
	}

	.ioa-footer__row {
		justify-content: space-between;
	}
}

@media (max-width: 767px) {
	.ioa-footer__stack {
		gap: 30px;
	}

	.ioa-footer .ioa-footer__columns {
		gap: 30px;
	}

	.ioa-footer__row {
		flex-direction: column;
		gap: 30px;
		justify-content: flex-start;
	}

	.ioa-footer__links {
		width: 100%;
	}

	.ioa-footer__list {
		flex-direction: row;
		gap: 15px;
	}

	/* Breakdance also set min-width: 100% here; the name's box was wider than its text but the text wrapped the
	   same, so it is left out (it only added a sideways scroll in the rebuild). */
	.ioa-brand--footer .ioa-brand__name {
		font-size: 0.9em;
	}
}

@media (max-width: 479px) {
	.ioa-footer__bottom {
		align-items: flex-start;
		flex-direction: column;
	}
}

/* ---- Ring Secretary box (synced pattern, also on Contact Us) */

.ioa-ring-sec {
	padding: 20px;
	width: 100%;
}
