/* Footer — desktop Figma */
@media (min-width: 1440px) {
	body .g2-footer {
		padding-bottom: 0;
	}

	body .g2-footer__cols {
		box-sizing: border-box;
		width: min(100% - 16px, 1424px);
		height: 427px;
		margin: 0 auto;
		padding: 32px 92px 0;
		grid-template-columns: 319px 317px 414px 134px;
		column-gap: 0;
		row-gap: 0;
		border-top: 1px solid var(--g2-line);
		border-bottom: 1px solid var(--g2-line);
		position: relative;
	}

	body .g2-footer__cols::after {
		content: "";
		position: absolute;
		top: 0;
		bottom: 0;
		left: 387px;
		width: 1px;
		background-color: var(--g2-line);
	}

	body .g2-footer__col {
		padding-left: 0;
		border-left: 0;
	}

	body .g2-footer__inner {
		box-sizing: border-box;
		width: min(100% - 16px, 1424px);
		height: 181px;
		margin: 0 auto;
		display: flex;
		flex-direction: column;
		align-items: center;
		position: relative;
	}

	body .g2-footer__inner::before {
		content: "";
		position: absolute;
		top: 132px;
		left: 0;
		right: 0;
		height: 1px;
		background-color: var(--g2-line);
	}

	body .g2-footer__logo-img {
		display: block;
		width: 188px;
		height: 89px;
		margin: 25px auto 0;
	}

	body .g2-footer__copy {
		width: 1170px;
		max-width: 100%;
		margin: 34px auto 0;
		padding: 0;
		font-size: 12px;
		line-height: 16.5px;
		text-align: center;
	}
}

/* Footer — phone Figma */
@media (max-width: 767px) {
	body .g2-footer {
		padding-bottom: 0;
	}

	body .g2-footer__cols {
		box-sizing: border-box;
		width: 100%;
		height: 741px;
		margin: 0;
		padding: 13px 24px 0;
		grid-template-columns: 173px 148px;
		grid-template-rows: 411px 330px;
		column-gap: 24px;
		row-gap: 0;
		border-top: 1px solid var(--g2-line);
		border-bottom: 1px solid var(--g2-line);
		position: relative;
	}

	body .g2-footer__cols::before {
		content: "";
		position: absolute;
		top: 411px;
		left: 0;
		right: 0;
		height: 1px;
		background-color: var(--g2-line);
	}

	body .g2-footer__cols::after {
		content: "";
		position: absolute;
		top: 0;
		bottom: 0;
		left: 197px;
		width: 1px;
		background-color: var(--g2-line);
	}

	body .g2-footer__col {
		padding-left: 0;
		border-left: 0;
	}

	body .g2-footer__inner {
		box-sizing: border-box;
		width: 100%;
		height: 227px;
		padding: 0 24px;
		display: flex;
		flex-direction: column;
		align-items: center;
		position: relative;
	}

	body .g2-footer__inner::before {
		content: "";
		position: absolute;
		top: 119px;
		left: 0;
		right: 0;
		height: 1px;
		background-color: var(--g2-line);
	}

	body .g2-footer__logo-img {
		display: block;
		width: 150px;
		height: 71px;
		margin: 24px auto 0;
	}

	body .g2-footer__copy {
		width: 100%;
		max-width: 345px;
		margin: 38px auto 0;
		padding: 0;
		font-size: 12px;
		line-height: 22px;
		text-align: center;
	}
}

/* Coesione dentro la colonna */
body .g2-footer__coesione {
	margin-top: 0;
}

/* Newsletter: una colonna su phone */
@media (max-width: 767px) {
	.g2-news__form .breakdance-form .breakdance-form-field,
	.g2-news__form .breakdance-form .breakdance-form-footer {
		grid-column: 1 / -1 !important;
	}
}

/* Contrasto link e copyright footer (AA) */
body .g2-footer__link,
body .g2-footer__copy {
	color: #6f665f;
}
