/* ===================== GLOBAL LAYOUT (Sticky Footer Fix) ===================== */

html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

.site-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.page-content {
  flex: 1;
}

/* ===================== FOOTER ===================== */

body.page-id-217 .footer {
  background: #1f5f2e;
}

.footer {
  background: #0b1a2d;
  color: #fff;
  padding: 35px 20px 20px;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* TEXT */

.footer-note {
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  color: #ffffffcc;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 20px;
  line-height: 1.5;
}

/* LINKS */

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  position: relative;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  opacity: 0.8;
}

.footer-links a:hover {
  opacity: 1;
}

/* Divider between links */

.footer-links a:not(:last-child)::after {
  content: "|";
  margin-left: 12px;
  color: rgba(255,255,255,0.4);
}

/* ===================== MOBILE ===================== */

@media (max-width: 768px) {

  .footer {
    padding: 30px 15px 20px;
  }

  .footer-note {
    font-size: 11.5px;
  }

  .footer-links {
    gap: 10px;
  }

  .footer-links a {
    font-size: 13px;
  }

  /* Remove divider on mobile */
  .footer-links a:not(:last-child)::after {
    content: none;
  }
}