/*----------------FOOTER SECTION-----------------------------*/
.footer {
  position: relative;
  padding: 0 0 2rem 0;
}
@media screen and (max-width: 1024px) {
  .footer .top .left {
    border-right: 0 !important;
  }
}
.footer .top .right nav ul li a {
  transition: 0.35s ease-in-out;
}
.footer .top .right nav ul li a:hover {
  color: var(--wp--preset--color--dapo-blue);
}

.wp-block-template-part {
  margin-top: 0 !important;
  height: 80px !important;
  background-color: transparent !important;
}

.footer .hwb-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 992px) {
  .footer .hwb-container .wp-block-columns .wp-block-column {
    border: none !important;
  }
  .footer .hwb-container .wp-block-columns .right {
    margin-top: 2rem;
  }
}

.footer-copyright {
  font-size: 0.675rem !important;
}

/* BACK TO TOP */
#back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: none;
  background-color: var(--wp--preset--color--hwb-dark);
  color: var(--wp--preset--color--hwb-white);
  border-radius: 50%;
  padding: 0.25rem;
  cursor: pointer;
}

#back-to-top a {
  display: block;
  width: 45px;
  height: 45px;
  line-height: 40px;
  text-align: center;
  background-color: var(--wp--preset--color--hwb-dark);
  color: var(--wp--preset--color--hwb-white);
  font-size: 0.875rem;
  text-decoration: none;
  border-radius: 50%;
  transition: background-color 0.3s ease-in-out;
}

#back-to-top a:hover {
  background-color: var(--wp--preset--color--hwb-secondary-dark);
}

/* Sticky Ad style */
.sticky-ad {
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 999;
  height: 100px;
}
@media screen and (max-width: 767px) {
  .sticky-ad {
    bottom: 3rem;
  }
  .sticky-ad .row {
    flex-direction: column-reverse !important;
  }
}
.sticky-ad__container {
  width: 100%;
  max-width: 728px;
  height: 90px;
  border-radius: 0 !important;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.sticky-ad .close-ad {
  cursor: pointer;
}

.sticky-ad .close-ad::before {
  font-size: 2rem !important;
  color: var(--wp--preset--color--hwb-white);
}

.sticky-ad .close-ad:hover::before {
  color: var(--wp--preset--color--hwb-dark);
}
