/*
 * Ausclin site footer.
 *
 * Dark band in a darkened version of the brand sage rather than a borrowed
 * navy, so it still reads as Ausclin. Inner wrappers use `width: min(...)`
 * rather than `max-width`, because Astra resets max-width to none on
 * page-builder-template children.
 */

.aft {
	--aft-bg: #2b312a;
	--aft-bg-deep: #232821;
	--aft-band: #333a31;
	--aft-text: #e9eae4;
	--aft-muted: #b9beb2;   /* ~7:1 on --aft-bg */
	--aft-accent: #c3a17f;
	--aft-rose: #a06675;
	--aft-rose-dark: #8f5566;
	--aft-line: rgba(233, 234, 228, .14);

	background: var(--aft-bg);
	color: var(--aft-text);
	font-size: 15px;
	line-height: 1.6;
}

.aft__inner {
	width: min(1240px, 100%);
	margin-inline: auto;
	padding: 4rem 40px 3rem;
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1fr 1.15fr;
	gap: 2.5rem;
}

.aft__logo { width: 132px; height: auto; margin-bottom: 1rem; display: block; }

.aft__tagline {
	color: var(--aft-accent);
	letter-spacing: .14em;
	text-transform: uppercase;
	font-size: .72rem;
	font-weight: 600;
	margin: 0 0 .9rem;
}

.aft__blurb { color: var(--aft-muted); margin: 0 0 1.2rem; font-size: .92rem; }
.aft__creds { display: flex; flex-wrap: wrap; gap: .5rem; }

.aft__cred {
	border: 1px solid var(--aft-line);
	border-radius: 999px;
	padding: .3rem .75rem;
	font-size: .72rem;
	color: var(--aft-muted);
	letter-spacing: .04em;
}

.aft__h {
	font-size: 1rem;
	font-weight: 600;
	margin: 0 0 1.15rem;
	padding-bottom: .6rem;
	position: relative;
	color: #fff;
}

.aft__h::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 30px;
	height: 2px;
	background: var(--aft-accent);
}

.aft__list { list-style: none; margin: 0; padding: 0; }
.aft__list li { margin-bottom: .55rem; }
.aft__list a { color: var(--aft-muted); text-decoration: none; font-size: .92rem; }
.aft__list a:hover,
.aft__list a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.aft__contact { list-style: none; margin: 0 0 1.2rem; padding: 0; }

.aft__contact li {
	display: flex;
	gap: .6rem;
	align-items: flex-start;
	margin-bottom: .85rem;
	color: var(--aft-muted);
	font-size: .92rem;
}

.aft__contact a { color: var(--aft-muted); text-decoration: none; }
.aft__contact a:hover, .aft__contact a:focus-visible { color: #fff; }
.aft__ico { flex: 0 0 18px; margin-top: 2px; color: var(--aft-accent); }

.aft__btn {
	display: inline-block;
	background: var(--aft-rose);
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	padding: .7rem 1.4rem;
	border-radius: 999px;
	font-size: .92rem;
}

.aft__btn:hover, .aft__btn:focus-visible { background: var(--aft-rose-dark); color: #fff; }

/* Acknowledgement of Country + diversity */

.aft-ack { background: var(--aft-band); border-top: 1px solid var(--aft-line); }

.aft-ack__inner {
	width: min(1240px, 100%);
	margin-inline: auto;
	padding: 2.2rem 40px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2.5rem;
}

.aft-ack__title {
	display: flex;
	align-items: center;
	gap: .6rem;
	font-size: .82rem;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--aft-accent);
	margin: 0 0 .6rem;
}

.aft-ack p { margin: 0; color: var(--aft-muted); font-size: .86rem; line-height: 1.65; }
.aft-ack__flags { display: inline-flex; gap: .3rem; }
.aft-flag { width: 26px; height: auto; border-radius: 2px; display: block; }

/* Legal bar */

.aft-base { background: var(--aft-bg-deep); }
.aft-base__inner { width: min(1240px, 100%); margin-inline: auto; padding: 1.5rem 40px; text-align: center; }

.aft-base__links {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem 1.2rem;
	justify-content: center;
	margin-bottom: .9rem;
}

.aft-base__links a { color: var(--aft-text); text-decoration: none; font-size: .88rem; font-weight: 500; }
.aft-base__links a:hover, .aft-base__links a:focus-visible { text-decoration: underline; }
.aft-base__legal { color: var(--aft-muted); font-size: .8rem; margin: 0 0 .35rem; }
.aft-base__credit { color: var(--aft-muted); font-size: .8rem; margin: 0; }
.aft-base__credit a { color: var(--aft-muted); }

@media (max-width: 1100px) {
	.aft__inner { grid-template-columns: 1fr 1fr 1fr; gap: 2rem; padding: 3.5rem 32px 2.5rem; }
	.aft__brand { grid-column: 1 / -1; }
	.aft-ack__inner { padding: 2rem 32px; }
}

@media (max-width: 767px) {
	.aft__inner { grid-template-columns: 1fr; gap: 2rem; padding: 2.75rem 24px 2rem; }
	.aft-ack__inner { grid-template-columns: 1fr; gap: 1.6rem; padding: 1.8rem 24px; }
	.aft-base__inner { padding: 1.4rem 24px; }
}
