.ryo-site-footer {
  --ryo-blue: #09d3f4;
  --ryo-dark: #050b0f;
  --ryo-border: rgba(9, 211, 244, 0.18);
  --ryo-text: #eaf4f7;
  --ryo-muted: #94a8b0;

  position: relative;
  left: 50%;
  overflow: hidden;
  width: 100vw;
  max-width: 100vw;
  margin: 0 0 0 -50vw;
  padding: 0;
  color: var(--ryo-text);
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 15% 10%, rgba(9, 211, 244, 0.09), transparent 34%),
    radial-gradient(circle at 85% 20%, rgba(46, 110, 255, 0.07), transparent 30%),
    var(--ryo-dark);
  border-top: 1px solid var(--ryo-border);
  clear: both;
  z-index: 20;
}

.ryo-site-footer,
.ryo-site-footer * {
  box-sizing: border-box;
}

.ryo-site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ryo-blue), transparent);
  opacity: 0.8;
}

.ryo-footer-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 58px 24px 42px;
}

.ryo-footer-layout {
  display: flex;
  flex-wrap: wrap;
  margin-right: -18px;
  margin-left: -18px;
}

.ryo-footer-brand-column {
  width: 34%;
  padding-right: 18px;
  padding-left: 18px;
}

.ryo-footer-menu-column {
  width: 22%;
  padding-right: 18px;
  padding-left: 18px;
}

.ryo-footer-brand {
  display: inline-block;
  margin-bottom: 16px;
  color: #fff !important;
  font-size: 29px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-decoration: none !important;
}

.ryo-footer-brand-dot {
  color: var(--ryo-blue);
}

.ryo-footer-description {
  max-width: 340px;
  margin: 0 0 20px;
  color: var(--ryo-muted);
  font-size: 15px;
  line-height: 1.75;
}

.ryo-footer-tagline {
  display: inline-block;
  padding: 7px 11px;
  color: var(--ryo-blue);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(9, 211, 244, 0.06);
  border: 1px solid rgba(9, 211, 244, 0.2);
  border-radius: 5px;
}

.ryo-footer-official-wrap {
  margin-top: 22px;
}

.ryo-footer-official-link {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 11px 15px;
  color: var(--ryo-text) !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none !important;
  background: rgba(9, 211, 244, 0.055);
  border: 1px solid rgba(9, 211, 244, 0.25);
  border-radius: 7px;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.ryo-footer-official-arrow {
  display: inline-block;
  margin-left: 9px;
  color: var(--ryo-blue);
  font-size: 16px;
  transition: transform 0.2s ease;
}

.ryo-footer-official-link:hover,
.ryo-footer-official-link:focus {
  color: #fff !important;
  background: rgba(9, 211, 244, 0.1);
  border-color: var(--ryo-blue);
  transform: translateY(-2px);
}

.ryo-footer-official-link:hover .ryo-footer-official-arrow,
.ryo-footer-official-link:focus .ryo-footer-official-arrow {
  transform: translate(2px, -2px);
}

.ryo-footer-menu-heading {
  position: relative;
  margin: 4px 0 21px;
  padding-bottom: 12px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ryo-footer-menu-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 34px;
  height: 2px;
  background: var(--ryo-blue);
  border-radius: 2px;
}

.ryo-footer-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ryo-footer-menu li {
  margin: 0 0 11px;
  padding: 0;
}

.ryo-footer-menu li:last-child {
  margin-bottom: 0;
}

.ryo-footer-menu a {
  position: relative;
  display: inline-block;
  padding: 2px 0;
  color: var(--ryo-muted) !important;
  font-size: 15px;
  line-height: 1.5;
  text-decoration: none !important;
  transition: color 0.2s ease, transform 0.2s ease;
}

.ryo-footer-menu a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -13px;
  width: 5px;
  height: 5px;
  margin-top: -2px;
  background: var(--ryo-blue);
  border-radius: 50%;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.ryo-footer-menu a:hover,
.ryo-footer-menu a:focus {
  color: #fff !important;
  transform: translateX(5px);
}

.ryo-footer-menu a:hover::before,
.ryo-footer-menu a:focus::before {
  opacity: 1;
  transform: translateX(0);
}

.ryo-footer-shop-link {
  color: var(--ryo-blue) !important;
  font-weight: 700;
}

.ryo-footer-divider {
  height: 1px;
  margin: 42px 0 0;
  background: linear-gradient(90deg, transparent, rgba(9, 211, 244, 0.25), transparent);
}

.ryo-footer-legal {
  position: relative;
  z-index: 2;
  padding: 19px 24px;
  color: #71858d;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  background: rgba(0, 0, 0, 0.18);
  border-top: 1px solid rgba(255, 255, 255, 0.035);
}

.ryo-footer-legal a {
  color: #8ba1a9 !important;
  text-decoration: none !important;
}

.ryo-footer-legal a:hover,
.ryo-footer-legal a:focus {
  color: var(--ryo-blue) !important;
}

@media (max-width: 900px) {
  .ryo-footer-brand-column {
    width: 100%;
    margin-bottom: 38px;
  }

  .ryo-footer-menu-column {
    width: 33.333%;
  }

  .ryo-footer-description {
    max-width: 650px;
  }
}

@media (max-width: 640px) {
  .ryo-footer-inner {
    padding: 44px 20px 32px;
  }

  .ryo-footer-layout {
    margin-right: 0;
    margin-left: 0;
  }

  .ryo-footer-brand-column,
  .ryo-footer-menu-column {
    width: 100%;
    padding-right: 0;
    padding-left: 0;
  }

  .ryo-footer-brand-column {
    margin-bottom: 38px;
  }

  .ryo-footer-menu-column {
    margin-bottom: 32px;
  }

  .ryo-footer-menu-column:last-child {
    margin-bottom: 0;
  }

  .ryo-footer-menu-heading {
    margin-bottom: 16px;
  }

  .ryo-footer-divider {
    margin-top: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ryo-footer-menu a,
  .ryo-footer-menu a::before,
  .ryo-footer-official-link,
  .ryo-footer-official-arrow {
    transition: none;
  }
}


/*
 * Primas and some classic BoldGrid themes call wp_footer() from inside the
 * theme footer wrapper. The companion script moves this footer to be a direct
 * child of <body>, so hiding the original theme footer cannot hide this one.
 */
body > .ryo-site-footer,
.ryo-site-footer.ryo-footer-relocated {
  left: auto !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
