/* ARMIP-159 called the dark band too tall. The redesign spent 128px of it on
   vertical padding and 62px on the two gaps; at 40px/24px the band is 286px,
   inside the 323px the PROD stylesheet produces on the same page. */
.iata-main-footer {
	padding: 40px 96px;
	color: var(--iata-white);
	background-color: var(--iata-grey-40);
	margin-top: 0;
}

.iata-main-footer__content-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

/* Scoped to the footer so it outranks `.iata-material-shell h2` (0-2-0 vs 0-1-1);
   as a bare single-class rule it lost and the title rendered at the H2 scale. */
.iata-main-footer .iata-main-footer__title {
    width: min(100%, 480px);
    font-size: 20px;
    font-weight: 700;
    line-height: 26px;
    margin: 0;
}

.iata-main-footer__logo {
    width: 84px;
}

.iata-main-footer__links-container {
    margin-top: 0;
    display: flex;
    flex-wrap: wrap;
    row-gap: 8px;
    align-items: center;
    justify-content: center;
}

.iata-main-footer .iata-main-footer__link {
    color: var(--iata-grey-80);
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    text-decoration: none;
    padding: 2px 14px;
    border-right: var(--iata-border-width-strong) solid var(--iata-grey-50);
}

.iata-main-footer__link:last-of-type {
    border-right: none;
}

.iata-main-footer .iata-main-footer__link:hover {
    text-decoration: underline;
}

.iata-main-footer__social-links-container {
    margin-top: 30px;
}

.iata-main-footer__social-link {
    padding: 0 10px;
}

.iata-main-footer__lang-container {
    margin-top: 30px;
}

.iata-main-footer .iata-main-footer__lang-link {
    color: var(--iata-white);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    text-decoration: none;
    text-transform: uppercase;
    padding: 0 10px;
    border-right: var(--iata-border-width-strong) solid var(--iata-border-inverse);
    user-select: none;
    cursor: pointer;
}

.iata-main-footer__lang-link:last-of-type {
    border-right: none;
}

.iata-main-footer .iata-main-footer__lang-link:hover,
.iata-main-footer .iata-main-footer__lang-link.active-lang {
    text-decoration: underline;
}

.iata-main-footer__lang-link.active-lang {
    pointer-events: none;
}

/* ARMIP-241: 96px a side left a 360px phone 168px for a 379px row of links,
   which spilled past both edges and scrolled the page sideways. */
@media (max-width: 767px) {
	.iata-main-footer {
		padding: 40px 16px;
	}

	.iata-main-footer .iata-main-footer__link {
		padding: 2px 8px;
	}
}
