.hg-converted-header,
.hg-converted-header *,
.hg-converted-footer,
.hg-converted-footer * {
  box-sizing: border-box;
}

.hg-converted-header a,
.hg-converted-footer a {
  color: inherit;
  text-decoration: none;
}

@keyframes hg-shared-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.hg-ticker-track {
  display: inline-flex;
  white-space: nowrap;
  animation: hg-shared-ticker 48s linear infinite;
}

.hg-ticker-band:hover .hg-ticker-track {
  animation-play-state: paused;
}

.hg-nav-shell {
  position: relative;
  z-index: 50;
}

.hg-mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 0;
  border: 1px solid #dce3eb;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.hg-mobile-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #33404f;
  transition: transform .18s ease, opacity .18s ease;
}

.hg-mobile-menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hg-mobile-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.hg-mobile-menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hg-mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  padding: 14px 20px 20px;
  border-top: 1px solid #eef1f5;
  border-bottom: 1px solid #dce3eb;
  background: #fff;
  box-shadow: 0 14px 28px rgba(25, 45, 70, .14);
}

.hg-mobile-menu nav {
  display: flex;
  flex-direction: column;
}

.hg-mobile-menu nav a {
  padding: 13px 4px;
  border-bottom: 1px solid #eef1f5;
  color: #33404f !important;
  font-size: 15.5px;
  font-weight: 600 !important;
  text-decoration: none;
}

.hg-mobile-menu nav a[aria-current="page"] {
  color: #1277e1 !important;
  font-weight: 700 !important;
}

.hg-mobile-menu-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-top: 16px;
}

.hg-mobile-menu-actions a {
  display: flex !important;
  align-items: center;
  justify-content: center !important;
  width: 100%;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 1.5px solid #1277e1 !important;
  border-radius: 8px !important;
  color: #1277e1 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-decoration: none;
  white-space: nowrap;
}

.hg-mobile-menu-actions a:last-child {
  background: #1277e1 !important;
  color: #fff !important;
}

.hg-converted-footer a:hover { color: #fff !important; }

.hg-converted-footer-columns {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 36px clamp(40px, 6vw, 88px);
}

.hg-converted-footer-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.hg-converted-footer-social {
  display: flex;
  gap: 11px;
}

.hg-converted-footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(120, 160, 220, .16);
  border-radius: 9px;
  background: #16335a;
}

.hg-converted-footer-social a:hover { background: #1277e1; }

@media (max-width: 860px) {
  .hg-converted-footer-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px 48px;
  }
}

@media (max-width: 820px) {
  .hg-nav-links,
  .hg-nav-actions { display: none !important; }
  .hg-mobile-menu-toggle { display: flex; }
  .hg-mobile-menu.is-open { display: block; }
  .hg-nav-row { height: 68px !important; }
  .hg-nav-row > a img { max-width: 170px; height: 28px !important; }
}

@media (max-width: 560px) {
  .hg-converted-footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 36px;
  }
}

@media (max-width: 420px) {
  .hg-mobile-menu-actions { grid-template-columns: 1fr; }
  .hg-mobile-menu { padding-right: 16px; padding-left: 16px; }
}
