/**
 * HTA site footer.
 *
 * Three link columns, a contacts row, the trilingual tagline block and the
 * orange closing bar from references/homepage-design.pdf.
 */

.hta-footer {
	background: var(--hta-dark);
	color: var(--hta-white);
	font-family: var(--hta-font-body);
}

.hta-footer__inner {
	padding-block: clamp(40px, 5vw, 84px) clamp(32px, 4vw, 56px);
}

.hta-footer__columns,
.hta-footer__contacts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(24px, 3vw, 48px);
}

.hta-footer__contacts {
	margin-top: clamp(36px, 4vw, 72px);
	align-items: start;
}

.hta-footer__col {
	min-width: 0;
}

.hta-footer__heading {
	margin: 0 0 clamp(18px, 2vw, 30px);
	font-family: var(--hta-font-body);
	font-size: clamp(20px, 2vw, 30px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--hta-white);
}

.hta-footer__list {
	display: grid;
	gap: clamp(10px, 1.1vw, 16px);
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: clamp(15px, 1.1vw, 18px);
	line-height: 1.35;
}

.hta-footer__list a {
	color: rgba(255, 255, 255, 0.88);
	text-decoration: none;
	transition: color var(--hta-transition);
}

.hta-footer__list a:hover,
.hta-footer__list a:focus-visible {
	color: var(--hta-orange);
}

.hta-footer__list--static span {
	color: rgba(255, 255, 255, 0.88);
}

.hta-footer__note {
	color: rgba(255, 255, 255, 0.7);
}

.hta-footer__address {
	font-style: normal;
	color: rgba(255, 255, 255, 0.88);
}

.hta-footer .hta-menu-placeholder {
	margin-top: 14px;
	color: rgba(255, 255, 255, 0.75);
}

.hta-footer a:focus-visible {
	outline: 2px solid var(--hta-white);
	outline-offset: 2px;
}

/* The contacts heading sits in the first column, contacts fill the other two. */
.hta-footer__contacts .hta-footer__heading {
	margin-bottom: 0;
	grid-column: 1;
}

.hta-footer__phones {
	grid-column: 2;
}

.hta-footer__where {
	grid-column: 3;
}

/* --------------------------------------------------------------------------
   Taglines and copyright
   -------------------------------------------------------------------------- */

.hta-footer__bottom {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(24px, 3vw, 48px);
	align-items: end;
	margin-top: clamp(36px, 4vw, 76px);
}

.hta-footer__taglines {
	display: grid;
	gap: 10px;
	grid-column: 1 / span 2;
	margin: 0;
	font-size: clamp(14px, 1.05vw, 17px);
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.9);
}

.hta-footer__taglines span:first-child {
	margin-bottom: 12px;
}

.hta-footer__copyright {
	grid-column: 3;
	margin: 0;
	font-size: clamp(14px, 1.05vw, 17px);
	color: rgba(255, 255, 255, 0.9);
}

.hta-footer__bar {
	height: clamp(48px, 5vw, 76px);
	background: var(--hta-orange);
}

/* --------------------------------------------------------------------------
   Breakpoints
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {

	.hta-footer__columns {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px;
	}

	.hta-footer__contacts,
	.hta-footer__bottom {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hta-footer__contacts .hta-footer__heading {
		grid-column: 1 / -1;
		margin-bottom: 8px;
	}

	.hta-footer__phones {
		grid-column: 1;
	}

	.hta-footer__where {
		grid-column: 2;
	}

	.hta-footer__taglines {
		grid-column: 1 / -1;
	}

	.hta-footer__copyright {
		grid-column: 1 / -1;
	}
}

@media (max-width: 560px) {

	.hta-footer__columns,
	.hta-footer__contacts,
	.hta-footer__bottom {
		grid-template-columns: minmax(0, 1fr);
	}

	.hta-footer__phones,
	.hta-footer__where {
		grid-column: 1;
	}
}
