html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

#page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.footer {
  background: #000;
}

#main-content {
  flex: 1;
}

.footer-menu-top li ul.sub-menu li a:hover,
.footer-menu-bottom a:hover {
  text-decoration: underline;
  text-decoration-color: white;
  text-underline-offset: 3px;
}

.footer-bottom {
  padding: 30px 0;
  flex-shrink: 0;
  text-align: center;
  color: white;
  position: relative;
}

.footer-menu-bottom {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 0;
  margin: 0 0 10px 0;
  list-style: none;
}

.footer-bottom a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  line-height: 150%;
  transition: color 0.3s ease;
}

.footer-top {
  padding: 50px 0;
}

.footer-menu-top {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 0;
  margin: 0;
  list-style: none;
  flex-wrap: wrap;
}

.footer-menu-top > li {
  min-width: 150px;
}

.footer-menu-top > li > a {
  pointer-events: none;
  cursor: default;
  font-weight: 600;
  font-size: 1.1rem;
  color: white;
  margin-bottom: 25px;
  display: inline-block;
}

.footer-menu-top li ul.sub-menu {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: block;
}

.footer-menu-top li ul.sub-menu li {
  margin-bottom: 8px;
}

.footer-menu-top li ul.sub-menu li a {
  color: white;
  font-weight: normal;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

#menu-item-100 > a {
  margin-bottom: 10px !important;
  text-indent: -9999px;
  position: relative;
  display: inline-block;
  width: 110px;
  height: 44px;
  overflow: hidden;
}

#menu-item-100 > a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 110px;
  height: 44px;
  background-image: url("/wp-content/uploads/2026/06/logo-qapa-blanc.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

#menu-item-100 > ul.sub-menu {
  margin-top: 10px;
}

.footer-menu-top li.houschka-header > a {
  color: var(--FFFFFF, #fff);
  text-align: center;
  font-family: var(--font-heading);
  font-size: 22px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
}

.footer-menu-top > li#menu-item-99 > ul.sub-menu > li#menu-item-77 {
  display: block;
  width: 100%;
  margin-bottom: 10px;
}

.footer-menu-top > li#menu-item-99 > ul.sub-menu > li:not(#menu-item-77) {
  display: inline-block;
  margin-right: 10px;

  background-color: white;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.footer-menu-top > li#menu-item-99 > ul.sub-menu > li:not(#menu-item-77) a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--color-primary);
}

.footer-menu-top > li#menu-item-99 > ul.sub-menu > li:not(#menu-item-77) a svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
  display: block;
}

.footer-menu-top
  > li#menu-item-99
  > ul.sub-menu
  > li:not(#menu-item-77)
  a:hover {
  color: var(--color-secondary);
}

.footer-menu-top > li#menu-item-99 > ul.sub-menu > li:not(#menu-item-77):hover {
  background: linear-gradient(
      0deg,
      rgba(15, 5, 107, 0.2) 0%,
      rgba(15, 5, 107, 0.2) 100%
    ),
    #fff;
}

@media (max-width: 768px) {
  .footer-menu-top {
    flex-direction: column;
    gap: 20px;
  }

  .footer-top{
    padding: 40px 0 0 0;
  }

  .footer-menu-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: left;
  }
}
