/**
 * AfroMag - Footer.
 */

.afromag-footer {
	background-color: var(--afromag-color-black);
	color: #E5E5E5;
	padding-block: 48px 24px;
	margin-top: 48px;
}

.afromag-footer__top {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 32px;
}

@media (min-width: 1024px) {
	.afromag-footer__top {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}
}

.afromag-footer__logo img {
	height: 48px;
	width: auto;
	/* Le logo garde ses couleurs d'origine (fond transparent) : aucun filtre
	   n'est appliqué ici, conformément à la consigne de ne jamais l'altérer. */
}

.afromag-footer__nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.afromag-footer__nav a {
	color: #E5E5E5;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	font-weight: 600;
}

.afromag-footer__nav a:hover {
	color: var(--afromag-color-red);
}

.afromag-footer__social {
	display: flex;
	gap: 16px;
	list-style: none;
	margin: 20px 0 0;
	padding: 0;
}

.afromag-footer__social .afromag-social-list__item {
	line-height: 0;
}

.afromag-footer__social .afromag-social-list__link {
	display: inline-flex;
	width: 20px;
	height: 20px;
	color: #E5E5E5;
}

.afromag-footer__social .afromag-social-list__link svg {
	width: 18px;
	height: 18px;
}

.afromag-footer__social .afromag-social-list__link:hover {
	color: var(--afromag-color-red);
}

.afromag-footer__bottom {
	border-top: 1px solid #2A2A2A;
	margin-top: 32px;
	padding-top: 20px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	font-size: 0.82rem;
	color: #9A9A9A;
}

@media (min-width: 1024px) {
	.afromag-footer__bottom {
		flex-direction: row;
		justify-content: space-between;
	}
}

.afromag-footer__legal a {
	color: #9A9A9A;
	margin-right: 16px;
}

.afromag-footer__legal a:hover {
	color: var(--afromag-color-white);
}
