.site-footer {
  background-color: var( --bg-footer );
  color: var( --text-light );
  font-size: 0.9rem;
  line-height: 1.5;
  padding: 0 0 1.5rem 0;
  margin-top: auto; /* Pushes footer to bottom if page content is short */
}
.site-footer A{
	color: var( --text-light ) !important;
}

.footer-container {
  max-width: var( --page-width );
  margin: 0 auto;
  padding: 3rem 1.5rem 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.footer-brand {
  position: relative;
}

.footer-brand-titles {
	display: flex;
	flex-direction: column;
	position: relative;
	align-items: flex-start;
	border-radius: var( --border-radius );
}

.footer-brand-titles:focus-within{
	outline: 2px solid var( --focus-color );
	outline-offset: 3px;
}

A.footer-logo {
	font-family: var( --font-display );
	display: flex;
	flex-direction: column;
	row-gap: 0.75rem;
	align-items: flex-start;
	font-size: 1.6rem;
	letter-spacing: 0;
	font-weight: 500;
	outline: none;
}
.footer-logo::before{
	content: '';
	background-image: url( '/icons/st-george-white.svg');
	background-size: contain;
	background-position: 0 center;
	background-repeat: no-repeat;
	width: 32px;
	height: 32px;
}

.footer-tagline {
  margin: 0;
  font-weight: 500;
  font-style: normal;
}

/* Navigation Layout */
.footer-nav {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
}

.footer-nav-group h3 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 1rem 0;
}

.footer-nav-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav-group li {
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.footer-nav-group a {
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-nav-group a:hover {
  text-decoration: underline;
  opacity: 0.8;
}

/* Bottom Copyright Row */
.footer-bottom {
  margin-top: 3rem;
  border-top: 2px solid #FFF2;
  padding-top: 1.5rem;
}

.footer-bottom-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
}

.footer-bottom p {
  margin: 0;
}