/**
 * Eurasian Transit 0.2.6 — restore the pre-rebrand footer typography.
 *
 * The homepage keeps the compact branded composition introduced in 0.2.x,
 * while the visible text returns to the proven pre-rebrand reading scale.
 */

@media (min-width: 80rem) {
	body.et-brand-v2-home .wp-site-blocks footer.wp-block-template-part .et-site-footer.et-site-footer--v030 {
		font-size: 0.82rem !important;
		height: auto !important;
		line-height: 1.5 !important;
		max-height: none !important;
		min-height: 18.5rem !important;
		padding-block: 1.8rem 0.75rem !important;
	}

	body.et-brand-v2-home .et-site-footer--v030 .et-footer-grid {
		align-items: start !important;
		box-sizing: border-box !important;
		gap: clamp(1.6rem, 3vw, 3.25rem) !important;
		grid-template-columns: minmax(15rem, 1.05fr) minmax(9rem, 0.62fr) minmax(12rem, 0.82fr) minmax(22rem, 1.35fr) !important;
		height: auto !important;
		justify-content: stretch !important;
		margin-inline: auto !important;
		max-height: none !important;
		max-width: var(--et-v202-wide, 82rem) !important;
		min-height: 10.25rem !important;
		width: min(calc(100% - 2 * var(--et-v202-gutter, 2.5rem)), var(--et-v202-wide, 82rem)) !important;
	}

	body.et-brand-v2-home .et-site-footer--v030 .et-footer-brand {
		max-width: 18rem !important;
	}

	body.et-brand-v2-home .et-site-footer--v030 .et-footer-logo img {
		height: auto !important;
		max-width: 10rem !important;
		width: 10rem !important;
	}

	body.et-brand-v2-home .et-site-footer .et-footer-title {
		font-size: 0.9rem !important;
		line-height: 1.35 !important;
		margin-block-end: 0.75rem !important;
	}

	body.et-brand-v2-home .et-site-footer .et-footer-links li,
	body.et-brand-v2-home .et-site-footer :is(.et-footer-links a, .et-footer-links span) {
		font-size: 0.78rem !important;
		line-height: 1.45 !important;
		margin: 0 !important;
		min-height: 1.85rem !important;
	}

	body.et-brand-v2-home .et-site-footer .et-footer-links li + li {
		margin-block-start: 0.125rem !important;
	}

	body.et-brand-v2-home .et-site-footer .et-footer-brand p {
		font-size: 0.82rem !important;
		line-height: 1.5 !important;
		margin-block: 0.8rem 0 !important;
	}

	body.et-brand-v2-home .et-site-footer .et-footer-brand .et-footer-brand-note {
		font-size: 0.78rem !important;
		line-height: 1.5 !important;
		margin-block: 0.25rem 0 !important;
	}

	body.et-brand-v2-home .et-site-footer--v030 .et-footer-contact-list {
		display: grid !important;
		gap: 0.65rem !important;
		margin-block: 0 !important;
	}

	body.et-brand-v2-home .et-site-footer--v030 .et-footer-contact-item {
		gap: 0.65rem !important;
		grid-template-columns: 1.35rem minmax(0, 1fr) !important;
	}

	body.et-brand-v2-home .et-site-footer--v030 .et-footer-contact-item p,
	body.et-brand-v2-home .et-site-footer--v030 .et-footer-contact-item a {
		font-size: 0.8rem !important;
		line-height: 1.5 !important;
	}

	body.et-brand-v2-home .et-site-footer--v030 .et-footer-contact-icon,
	body.et-brand-v2-home .et-site-footer--v030 .et-footer-contact-icon img {
		height: 1.35rem !important;
		width: 1.35rem !important;
	}

	body.et-brand-v2-home .et-site-footer .et-footer-meta {
		box-sizing: border-box !important;
		font-size: 0.74rem !important;
		height: auto !important;
		line-height: 1.65 !important;
		margin: 0.75rem auto 0 !important;
		max-width: var(--et-v202-wide, 82rem) !important;
		min-height: 0 !important;
		padding-block-start: 0.75rem !important;
		padding-inline: 0 !important;
		width: min(calc(100% - 2 * var(--et-v202-gutter, 2.5rem)), var(--et-v202-wide, 82rem)) !important;
	}

	body.et-brand-v2-home .et-site-footer .et-footer-meta :is(p, a) {
		font-size: 0.74rem !important;
		line-height: 1.65 !important;
	}
}
