/* Codex v3 footer — Elementor Theme Builder template */

body.hipopo-site-v3 .elementor-location-footer:not(:has(.hp-bottom-stack)),
body.hipopo-site-v3 footer.site-footer:not(.hp-footer):not(:has(.hp-bottom-stack)),
body.hipopo-site-v3 .site-footer:not(.hp-footer):not(:has(.hp-bottom-stack)),
body.hipopo-site-v3 #site-footer:not(.hp-footer):not(:has(.hp-bottom-stack)),
body.hipopo-site-v3 #colophon:not(:has(.hp-bottom-stack)) {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

body.hipopo-site-v3.hipopo-codex-inner .hp-friday-section,
body.hipopo-site-v3.hipopo-codex-inner .hp-footer-section,
body.hipopo-site-v3.hipopo-hp-v3 .hp-codex-home > .hp-bottom-stack {
  display: none !important;
}

.hp-footer-section--global {
  max-width: 100vw;
  overflow: hidden;
  margin-top: 24px;
}

body.hipopo-v3-product-preview .hp-footer-section--global,
body.hipopo-redesign-product .hp-footer-section--global {
  margin-top: 32px;
}

.hp-footer-section--global .hp-footer-wave--top {
  color: #eafaff;
  line-height: 0;
}

body.hipopo-thursday-live .hp-footer-section--global .hp-footer-wave--top {
  color: #101d33;
  background: transparent;
}

body.hipopo-thursday-live .hp-footer-section--global .hp-footer-wave--top .hp-wave-svg path {
  fill: #101d33 !important;
}

.hp-footer--codex-global {
  background: linear-gradient(180deg, #eafaff 0%, #fff 100%);
  padding: 28px 0 0;
}

body.hipopo-thursday-live .hp-footer--codex-global {
  background: linear-gradient(180deg, #101d33 0%, #0b1526 100%);
}

.hp-footer--codex-global .hp-footer__main {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding-bottom: 22px;
}

.hp-footer--codex-global .hp-footer__brand img {
  width: min(210px, 72vw);
  display: block;
  margin-bottom: 10px;
  background: transparent !important;
}

.hp-footer--codex-global .hp-footer__brand p,
.hp-footer--codex-global .hp-footer__col a {
  display: block;
  margin: 0 0 8px;
  color: #102d5c;
  font-weight: 750;
  text-decoration: none;
}

body.hipopo-thursday-live .hp-footer--codex-global .hp-footer__brand p,
body.hipopo-thursday-live .hp-footer--codex-global .hp-footer__col a {
  color: #c8d9ef;
}

.hp-footer--codex-global .hp-footer__col h3 {
  margin: 0 0 12px;
  color: #0874bd;
  font-size: 17px;
  font-weight: 950;
}

body.hipopo-thursday-live .hp-footer--codex-global .hp-footer__col h3 {
  color: #5dd8ff;
}

.hp-footer--codex-global .hp-footer__col a:hover {
  color: #058ee8;
}

.hp-footer--codex-global .hp-footer__utility {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0 18px;
  border-top: 1px solid rgba(5, 142, 232, 0.12);
}

.hp-footer--codex-global .hp-footer__socials {
  display: flex;
  gap: 10px;
}

.hp-footer--codex-global .hp-footer__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(5, 142, 232, 0.2);
  color: #063f90;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.hp-footer--codex-global .hp-footer__payments {
  max-height: 34px;
  width: auto;
}

.hp-footer--codex-global .hp-footer__bottom,
body.hipopo-site-v3 .hp-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 14px 26px;
  background: #061c45;
  color: #d8e8f8;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

body.hipopo-site-v3 .hp-footer__bottom-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
}

body.hipopo-site-v3 .hp-footer__bottom-lines {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

body.hipopo-site-v3 .hp-footer__bottom-lines > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1.45;
}

body.hipopo-site-v3 .hp-footer__bottom-lines > span:not(:last-child)::after {
  content: "|";
  display: inline-block;
  margin-inline: 10px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 400;
}

.hp-footer__credit-bubble {
  display: inline-flex;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}

.hp-footer__credit-bubble-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem 0.75rem;
  min-width: 12.5rem;
  max-width: 15rem;
  width: min(15rem, 88vw);
  background: #fff;
  border-radius: 16px;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hp-footer__credit-bubble:hover .hp-footer__credit-bubble-inner {
  transform: translateY(-2px);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(74, 240, 242, 0.4);
}

.hp-footer__credit-logo img {
  display: block;
  max-width: 168px;
  height: auto;
}

.hp-footer__credit-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
}

.hp-footer__credit-sub {
  color: #4d6f92;
  font-size: 11px;
  font-weight: 700;
}

.hp-footer__credit-name {
  color: #061c45;
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0.02em;
}
