html.thth-ad-closed .thth-desktop-ad {
  display: none !important;
}

.thth-desktop-ad {
  z-index: 2;
}

html.thth-ad-closed .thth-mobile-ad {
  display: none !important;
}

html.thth-ad-mobile .thth-desktop-ad {
  display: none !important;
}

html.thth-ad-desktop .thth-mobile-ad {
  display: none !important;
}

.thth-desktop-ad.anymal.top-header {
  background: #64B33A;
  color: white;
  padding: 24px 1.4rem;
  font-size: 16px;
  position: relative;
  display: none;
}

.thth-desktop-ad.anymal.top-header.hidden {
  height: 0;
  padding: 0;
  overflow: hidden;
  opacity: 0;
  margin: 0;
}

@media (min-width: 769px) {
  .thth-desktop-ad.anymal.top-header:not(.hidden) ~ .wrapper--page-header {
    position: relative !important;
  }
}

.thth-desktop-ad.anymal.top-header .container {
  display: grid;
  grid-template-columns: 1fr minmax(auto, 220px) auto;
  align-items: center;
  gap: 20px;
}

.thth-desktop-ad.anymal.top-header .top-header-mobile {
  display: none;
}

.thth-desktop-ad.anymal.top-header p {
  color: currentColor;
  font-family: var(--font-family-justuspro-medium);
  margin: 0;
}

.thth-desktop-ad.anymal.top-header .nav-link {
  position: relative;
  display: inline-block;
  text-decoration-line: none;
  -webkit-transition: color .22s ease;
  transition: color .22s ease;
  font-family: var(--font-family-benton-bold);
  font-size: 1rem;
  font-size: var(--nav-font-size, 1rem);
  letter-spacing: 0px;
  letter-spacing: var(--nav-letter-spacing, 0px);
  line-height: 1.25;
  line-height: var(--nav-line-height, 1.25);
  padding-top: .5em;
  padding-top: var(--nav-py, .5em);
  padding-bottom: .5em;
  padding-bottom: var(--nav-py, .5em);
  overflow: hidden;
  border: 1px solid #FFFFFF;
  padding: 10px 20px;
  border-radius: 20px;
  margin-top: -2px;
  color: currentColor;
  width: fit-content;
}

.thth-desktop-ad.anymal.top-header .nav-link:hover {
  background: var(--nav-link-hover-color);
  border-color: var(--nav-link-hover-color);
}

.thth-desktop-ad__close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  color: inherit;
  opacity: 0.8;
  transition: opacity 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thth-desktop-ad__close:hover {
  opacity: 0.75;
}

.thth-desktop-ad__close svg {
  display: block;
  width: 10px;
  height: 10px;
}

@media (min-width: 769px) {
  .thth-desktop-ad.anymal.top-header {
    display: block;
  }

  .thth-desktop-ad.anymal.top-header.hidden {
    display: block;
  }

  html.thth-ad-closed .thth-desktop-ad {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .thth-desktop-ad {
    display: none !important;
  }
}

@media (max-width: 1199px) {
  .thth-desktop-ad.anymal.top-header .container {
    grid-template-columns: 1fr auto auto;
  }
}

.thth-mobile-ad.anymal.top-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999;
  overflow: auto;
  padding: 85px 30px 52px 30px;
  background: #64B33A;
  color: white;
  font-size: 16px;
  display: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.thth-mobile-ad.anymal.top-header.visible {
  opacity: 1;
  visibility: visible;
}

.thth-mobile-ad.anymal.top-header.hidden {
  display: none !important;
}

.thth-mobile-ad.anymal.top-header .container {
  max-width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr auto;
  align-items: start;
  padding: 0;
  height: 100%;
  gap: 54px;
}

.thth-mobile-ad.anymal.top-header .top-header-screen {
  display: none;
}

.thth-mobile-ad.anymal.top-header .top-header-mobile {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.thth-mobile-ad__logo {
  margin-bottom: 0;
}

.thth-mobile-ad__logo img,
.thth-mobile-ad__logo svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: 280px;
}

.thth-mobile-ad.anymal.top-header p {
  color: currentColor;
  font-family: var(--font-family-justuspro-medium);
  letter-spacing: -0.5px;
  font-size: 16px;
  line-height: 30px;
  margin: 0;
}

.thth-mobile-ad.anymal.top-header p strong {
  letter-spacing: -1.5px;
  font-size: 22px;
  line-height: 40px;
  font-family: var(--font-family-benton-bold);
}

.thth-mobile-ad__close {
  position: absolute;
  top: 40px;
  right: 40px;
  z-index: 999;
  transform: scale(1.8);
  transform-origin: right top;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  color: inherit;
  opacity: 0.8;
  transition: opacity 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thth-mobile-ad__close:hover {
  opacity: 0.75;
}

.thth-mobile-ad__close svg {
  display: block;
  width: 10px;
  height: 10px;
}

.thth-mobile-ad__button {
  position: relative;
  display: inline-block;
  text-decoration-line: none;
  -webkit-transition: color .22s ease;
  transition: color .22s ease;
  font-family: var(--font-family-benton-bold);
  font-size: 20px;
  letter-spacing: -0.9px;
  line-height: 1.25;
  line-height: var(--nav-line-height, 1.25);
  padding-top: .5em;
  padding-top: var(--nav-py, .5em);
  padding-bottom: .5em;
  padding-bottom: var(--nav-py, .5em);
  overflow: hidden;
  border: 1px solid #FFFFFF;
  padding: 16px;
  border-radius: 44px;
  color: currentColor;
  width: 100%;
  text-align: center;
  background: var(--nav-link-hover-color);
  border-color: var(--nav-link-hover-color);
  font-size: 28px;
}

.thth-mobile-ad__button:hover {
  opacity: 0.9;
}

@media (max-width: 768px) {
  .thth-mobile-ad.anymal.top-header {
    display: block;
  }

  .thth-mobile-ad.anymal.top-header.hidden {
    display: none !important;
  }

  .thth-mobile-ad.anymal.top-header.visible {
    display: block;
    z-index: 10001;
  }

  html.thth-ad-closed .thth-mobile-ad {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .thth-mobile-ad {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .thth-mobile-ad.anymal.top-header {
    padding: 70px 20px 40px 20px;
  }

  .thth-mobile-ad__close {
    top: 40px;
    right: 40px;
    transform: scale(1.8);
  }

  .thth-mobile-ad.anymal.top-header p {
    font-size: 16px;
    line-height: 30px;
  }

  .thth-mobile-ad.anymal.top-header p strong {
    font-size: 22px;
    line-height: 40px;
  }

  .thth-mobile-ad__button {
    font-size: 22px;
    padding: 20px;
    border-radius: 50px;
  }
}
