/* ==========================================================================
   Site footer (partials/global-footer.html + partials/footer-menu1.html).
   Loaded on every page via partials/head-analytics.html.
   ========================================================================== */

.rmp-footer {
  margin: 0;
  padding: 0;
  background: #1c1c1c;
  color: #cfcfcf;
  font-family: 'Rubik', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  text-align: left;
}

.rmp-footer::before,
.rmp-footer::after {
  content: none;
}

.rmp-footer a,
.rmp-footer a:visited {
  color: #e6e6e6;
  text-decoration: none;
  transition: color 0.15s ease;
}

.rmp-footer a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rmp-footer a:focus-visible {
  outline: 3px solid #f2b705;
  outline-offset: 3px;
}

.rmp-footer__inner {
  display: grid;
  grid-template-columns: minmax(220px, 1.1fr) minmax(0, 3fr);
  gap: 48px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 56px 24px 40px;
  box-sizing: border-box;
}

/* Brand column */
.rmp-footer__logo {
  display: inline-block;
}

.rmp-footer__logo img {
  display: block;
  width: 150px;
  height: auto;
}

.rmp-footer__tagline {
  max-width: 300px;
  margin: 18px 0 22px;
  color: #b5b5b5;
  font-size: 14px;
  line-height: 1.6;
}

.rmp-footer .rmp-footer__btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 20px;
  box-sizing: border-box;
  border: 2px solid #C71B1B;
  border-radius: 4px;
  background: #C71B1B;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}

.rmp-footer .rmp-footer__btn:hover {
  border-color: #a51616;
  background: #a51616;
  color: #fff;
  text-decoration: none;
}

/* Link columns */
.rmp-footer__nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.rmp-footer__title {
  margin: 0 0 14px;
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rmp-footer__title::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin-top: 8px;
  background: #C71B1B;
}

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

.rmp-footer li {
  margin: 0 0 10px;
  padding: 0;
  font-size: 15px;
  line-height: 1.45;
}

.rmp-footer li::before {
  content: none !important;
}

.rmp-footer__nav a {
  overflow-wrap: anywhere;
}

/* Bottom bar */
.rmp-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 20px 24px 28px;
  box-sizing: border-box;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
  color: #a8a8a8;
}

.rmp-footer .footer-copyright {
  display: block;
  width: auto;
  max-width: none;
  margin: 0;
  font-size: 13px;
  color: #a8a8a8;
}

.rmp-footer .site-version {
  color: #8a8a8a;
}

.rmp-footer .site-version::before {
  content: " | ";
}

.rmp-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

.rmp-footer__legal li {
  margin: 0;
  font-size: 13px;
}

.rmp-footer__legal a {
  color: #cfcfcf;
}

.rmp-footer .about-verification {
  flex-basis: 100%;
  margin: 0;
  font-size: 13px;
}

.rmp-footer .about-verification a {
  color: #a8a8a8;
}

/* Responsive */
@media (max-width: 1024px) {
  .rmp-footer__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .rmp-footer__tagline {
    max-width: 520px;
  }
}

@media (max-width: 767px) {
  .rmp-footer__inner {
    padding: 44px 20px 32px;
  }

  .rmp-footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }

  .rmp-footer .site-version {
    display: block;
  }

  .rmp-footer .site-version::before {
    content: none;
  }

  .rmp-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rmp-footer a {
    transition: none;
  }
}
