/*
 * Footer — measured from live (ThemeREX layout 7456): #1A1A1A, four columns 12 / 12.5 / 40.462 / 35%,
 * then social circles and the license/copyright line.
 */
.sg-footer { background: var(--c-surface); color: var(--c-white); }

.sg-footer__top {
	display: grid; grid-template-columns: 12% 12.5% 40.462% 35%;
	max-width: 1540px; margin: 0 auto; padding: 45px 50px 50px;
}
.sg-footer__links ul { list-style: none; padding-top: 15px; }
.sg-footer__links li + li { margin-top: 32px; }
.sg-footer__links a { display: block; color: var(--c-white); font-size: 17px; line-height: 28.22px; }
.sg-footer__links a:hover { color: var(--c-grey); }

.sg-footer__contact { padding: 15px 15px 0; }
.sg-footer__contact p { color: var(--c-white); font-size: 17px; }
.sg-footer__address { line-height: 1.75em; margin: 1px 0 29px; }
.sg-footer__address em { font-style: italic; }
.sg-footer__line { line-height: 2.25em; margin-bottom: 14px; }
.sg-footer__contact a { color: var(--c-white); }
.sg-footer__contact a:hover { color: var(--c-grey); }

.sg-footer__newsletter { margin-top: 17px; }
.sg-footer__heading { font-size: 24px; font-weight: 500; line-height: 1.214em; margin-bottom: 16px; }

.sg-footer__bottom {
	display: grid; grid-template-columns: 1fr 1fr; align-items: start;
	max-width: 1540px; margin: 0 auto; padding: 94px 50px 34px;
}
.sg-footer__bottom .sg-social { padding-top: 6px; }
.sg-footer__bottom .sg-social__link { width: 52px; height: 52px; }
.sg-footer__bottom .sg-social__link svg { width: 21px; height: 21px; }
.sg-footer__legal { margin-top: 2px; text-align: right; color: var(--c-muted); font-size: 14px; font-weight: 600; line-height: 2.25em; }
.sg-footer__legal a { color: var(--c-muted); }
.sg-footer__legal a:hover { color: var(--c-grey); }

/* Tablet (live: section padding 0 15px, 14px text, columns 50/50, 41px social circles). */
@media (max-width: 1024px) {
	.sg-footer__top { grid-template-columns: 1fr 1fr; padding: 0 15px 3px; }
	.sg-footer__links ul { padding-top: 11px; }
	.sg-footer__links li + li { margin-top: 31.5px; }
	.sg-footer__links a { font-size: 14px; line-height: 27px; }
	.sg-footer__contact p { font-size: 14px; }
	.sg-footer__contact { padding: 34px 15px 0 0; }
	.sg-footer__address { margin: 0 0 14px; }
	.sg-footer__newsletter { padding-top: 29px; margin-top: 0; }
	.sg-footer__heading { font-size: 20px; }
	.sg-footer__bottom { padding: 0 15px 24px; }
	.sg-footer__bottom .sg-social { padding-top: 84px; gap: 10px; }
	.sg-footer__legal { margin-top: 59px; }
	.sg-footer__bottom .sg-social__link { width: 41px; height: 41px; }
	.sg-footer__bottom .sg-social__link svg { width: 18px; height: 18px; }
}
/* Phone (live: links 62/38%, contact + newsletter full width, centred 33px social circles, centred legal). */
@media (max-width: 767px) {
	.sg-footer__top { grid-template-columns: 62% 38%; padding: 20px 20px 0; }
	.sg-footer__links li + li { margin-top: 24px; }
	.sg-footer__contact, .sg-footer__newsletter { grid-column: 1 / -1; }
	.sg-footer__contact { margin: 63px 0 43px; padding: 0; }
	.sg-footer__address { margin-bottom: 17px; line-height: 2.12em; }
	.sg-footer__line { line-height: 36px; }
	.sg-footer__line:last-child { margin-bottom: 0; }
	.sg-footer__newsletter { padding-top: 23px; }
	.sg-footer__heading { margin-bottom: 23px; }
	.sg-footer__bottom { grid-template-columns: 1fr; padding: 0 10px 13px; }
	.sg-footer__bottom .sg-social { justify-content: center; gap: 7px; padding: 44px 0 0 11px; }
	.sg-footer__bottom .sg-social__link { width: 33px; height: 33px; }
	.sg-footer__bottom .sg-social__link svg { width: 15px; height: 15px; }
	.sg-footer__legal { margin-top: 41px; text-align: center; }
}
