:root {
  --jy-footer-bg: #050912;
  --jy-footer-panel: #09111d;
  --jy-footer-line: rgba(255, 255, 255, 0.1);
  --jy-footer-text: #aeb8c6;
  --jy-footer-heading: #f8f5ef;
  --jy-footer-accent: #f47a13;
  --jy-footer-cyan: #4bc3c8;
}

#masthead .site-main-header-wrap .site-header-row-container-inner {
  background: #090d14 !important;
}
#masthead .main-navigation .menu > li > a,
#masthead .mobile-toggle-open-container .menu-toggle-open {
  color: #f3f5f8 !important;
}
#masthead .main-navigation .menu > li > a:hover,
#masthead .main-navigation .menu > li.current-menu-item > a {
  color: #f47a13 !important;
}
#masthead .site-main-header-wrap {
  border-bottom: 1px solid rgba(255,255,255,.08);
}

#colophon.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--jy-footer-bg);
  color: var(--jy-footer-text);
}

#colophon.site-footer::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -210px;
  top: -230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 122, 19, 0.13), transparent 68%);
  pointer-events: none;
}

#colophon .site-top-footer-wrap,
#colophon .site-bottom-footer-wrap,
#colophon .site-footer-row-container-inner {
  background: transparent;
}

#colophon .site-top-footer-inner-wrap {
  position: relative;
  padding-top: clamp(3.5rem, 7vw, 6rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  gap: clamp(2rem, 4vw, 4.5rem);
}

#colophon .site-top-footer-inner-wrap .widget {
  margin: 0;
}

#colophon .widget_block .wp-block-site-logo {
  margin: 0 0 1.5rem;
}

#colophon .widget_block .custom-logo-link,
#colophon .widget_block .custom-logo {
  display: block;
  max-width: 142px;
  height: auto;
}

#colophon .widget_block h2,
#colophon .widget_block h3 {
  margin: 0 0 1.25rem;
  color: var(--jy-footer-heading);
  font-size: 0.95rem;
  line-height: 1.25;
  letter-spacing: 0.08em;
}

#colophon .jy-footer-brand h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.45rem, 2vw, 2rem);
  letter-spacing: -0.02em;
}

#colophon .widget_block p {
  margin: 0;
  color: var(--jy-footer-text);
  font-size: 0.92rem;
  line-height: 1.8;
}

#colophon .widget_block ul {
  display: grid;
  gap: 0.72rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

#colophon .widget_block li {
  margin: 0;
}

#colophon .widget_block a:not(.wp-block-button__link),
#colophon .footer-navigation a {
  color: var(--jy-footer-text);
  text-decoration: none;
  transition: color 160ms ease;
}

#colophon .widget_block a:not(.wp-block-button__link):hover,
#colophon .footer-navigation a:hover {
  color: var(--jy-footer-accent);
}

#colophon .jy-footer-contact {
  padding: 1.35rem;
  border: 1px solid rgba(244, 122, 19, 0.3);
  border-radius: 4px;
  background: linear-gradient(145deg, rgba(244, 122, 19, 0.1), rgba(9, 17, 29, 0.74));
}

#colophon .jy-footer-contact p {
  margin-bottom: 1.1rem;
}

#colophon .jy-footer-contact .wp-block-button__link {
  padding: 0.75rem 1rem;
  border-radius: 2px;
  background: var(--jy-footer-accent);
  color: #101010;
  font-size: 0.84rem;
  font-weight: 750;
  text-decoration: none;
}

#colophon .site-bottom-footer-wrap {
  border-top: 1px solid var(--jy-footer-line);
}

#colophon .site-bottom-footer-inner-wrap {
  min-height: 72px;
  padding-top: 1.35rem;
  padding-bottom: 1.35rem;
  gap: 1.25rem;
}

#colophon .site-footer-bottom-section-1 {
  justify-content: flex-start;
}

#colophon .site-footer-bottom-section-2 {
  justify-content: flex-end;
}

#colophon .site-footer-bottom-section-2 .footer-navigation .menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem 1.25rem;
}

#colophon .footer-html,
#colophon .footer-navigation a {
  color: #7f8b9a;
  font-size: 0.78rem;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  #colophon .site-top-footer-inner-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 719px) {
  #colophon .site-top-footer-inner-wrap {
    grid-template-columns: 1fr;
    padding-top: 3.25rem;
    padding-bottom: 2.75rem;
  }

  #colophon .site-top-footer-inner-wrap .site-footer-section {
    padding: 0;
  }

  #colophon .site-bottom-footer-inner-wrap {
    grid-template-columns: 1fr;
    text-align: left;
  }

  #colophon .site-footer-bottom-section-1,
  #colophon .site-footer-bottom-section-2 {
    justify-content: flex-start;
  }

  #colophon .site-footer-bottom-section-2 .footer-navigation .menu {
    justify-content: flex-start;
  }
}

/* Center the footer legal line and its MIIT filing link across the whole bottom row. */
#colophon .site-bottom-footer-inner-wrap {
  grid-template-columns: minmax(0, 1fr);
  text-align: center;
}
#colophon .site-footer-bottom-section-1,
#colophon .site-footer-bottom-section-2 {
  grid-column: 1 / -1;
  width: 100%;
  justify-content: center;
}
#colophon .footer-html-inner { text-align: center; }
#colophon .footer-html-inner p { margin: 0.2rem 0; }
#colophon .footer-html-inner a.jy-icp-record {
  color: #aeb8c6;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
#colophon .site-footer-bottom-section-2 .footer-navigation .menu {
  justify-content: center;
}
/* Consistent native Kadence branding and consultation action across pages. */
#masthead .site-branding .custom-logo { width:auto; height:auto; max-height:42px; }
#masthead .main-navigation .primary-menu-container > ul > li.menu-item > a { font-size:14px; font-weight:600; }
#masthead .main-navigation .primary-menu-container > ul > li.jy-nav-cta { display:flex; align-items:center; }
#masthead .main-navigation .primary-menu-container > ul > li.jy-nav-cta > a { min-height:44px; height:auto; margin-left:14px; padding:11px 18px; line-height:1.4; border-radius:4px; background:#f4a24f; color:#171b21!important; }
#masthead .main-navigation .primary-menu-container > ul > li.jy-nav-cta > a:hover { background:#ffb66e; color:#171b21!important; }
#masthead #mobile-toggle { min-width:44px; min-height:44px; }
@media(max-width:767px) { #masthead .site-branding .custom-logo { max-height:40px; } }
