
.site-footer {
  --sf-bg: #162f6a;          
  --sf-bg-deep: #0f2250;
  --sf-text: #ffffff;
  --sf-muted: #c9d4ee;
  --sf-line: rgba(255, 255, 255, 0.22);
  --sf-focus: #ffd34d;
  --sf-gap: 1.5rem;

  background: #162F6A;
  color: var(--sf-text);
  font-family: "Noto Sans", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  padding: 2.5rem 1.25rem;
}

.site-footer *,
.site-footer *::before,
.site-footer *::after {
  box-sizing: border-box;
}

/* ---------- Outer layout: 7 / 3 columns on desktop ---------- */
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2.5rem var(--sf-gap);
  max-width: 1200px;
  margin: 0 auto;
}

.site-footer__links-col {
  flex: 1 1 100%;
}

.site-footer__side-col {
  flex: 1 1 100%;
}

@media (min-width: 992px) {
  .site-footer__links-col {
    flex: 0 1 62%;
  }
  .site-footer__side-col {
    flex: 0 1 28%;
    text-align: right;
  }
}

/* ---------- Headings ---------- */
.site-footer__title {
  margin: 0 0 1rem;
  font-size: 1.0rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--sf-text);
}

/* ---------- Useful links ---------- */
.site-footer__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 1.5rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

@media (min-width: 576px) {
  .site-footer__links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .site-footer__links {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.site-footer__links li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* CSS-drawn chevron: no icon font needed */
.site-footer__links li::before {
  content: "";
  flex: none;
  width: 0.5rem;
  height: 0.5rem;
  border-top: 2px solid var(--sf-muted);
  border-right: 2px solid var(--sf-muted);
  transform: rotate(45deg);
  margin-right: 0.25rem;
}

.site-footer a {
  color: var(--sf-text);
  text-decoration: none;
  font-size: 0.8rem;
}

.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer a:focus-visible {
  outline: 3px solid var(--sf-focus);
  outline-offset: 3px;
  border-radius: 2px;
}

.site-footer__owner {
  margin: 0;
  font-size: 0.8rem;
  color: var(--sf-muted);
}

/* ---------- Right column ---------- */
.site-footer__side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  height: 100%;
}

.site-footer__social {
  display: flex;
  justify-content: flex-start;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 992px) {
  .site-footer__social {
    justify-content: flex-end;
  }
}

.site-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--sf-line);
  border-radius: 50%;
  font-size: 1.15rem;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.site-footer__social a:hover {
  background: var(--sf-bg-deep);
  border-color: var(--sf-text);
  text-decoration: none;
}

.site-footer__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
}

@media (min-width: 992px) {
  .site-footer__badges {
    justify-content: flex-end;
  }
}

.site-footer__badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  background: #fff;
  border-radius: 4px;
}

.site-footer__badge img {
  display: block;
  width: 100px;
  height: 40px;
  object-fit: contain;
}

.site-footer__updated {
  margin: 0;
  font-size: 0.875rem;
  color: var(--sf-muted);
}