.ad-banner {
  bottom: 0;
  position: fixed;
  background-color: #f5f8fa;
  width: 100%;
  height: var(--ad-banner-height) !important;
  max-height: 90px !important;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  border: solid 1px var(--color-section-separator);
  z-index: 11000;
  overflow: visible;
}
.ad-banner .ad-banner-text {
  text-transform: uppercase;
  font-size: 2rem;
}
.ad-banner .ad-banner-controls {
  position: absolute;
  top: -3rem;
  right: 1rem;
  z-index: 11001;
  height: 3rem;
  display: flex;
  align-items: center;
}
.ad-banner .minimize-button {
  background: #f5f8fa;
  border: solid 1px var(--color-section-separator);
  border-bottom: none;
  color: var(--color-grey-dark-1);
  cursor: pointer;
  padding: 0.5rem 1rem;
  transition: transform 0.3s ease;
  border-radius: 4px 4px 0 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.ad-banner .minimize-button:hover {
  color: var(--color-primary);
}
.ad-banner .minimize-button ion-icon {
  font-size: 2rem;
}
.ad-banner .ad-content {
  height: 100% !important;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ad-banner .ad-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background-color: #f5f8fa;
  z-index: 1;
}
.ad-banner .ad-placeholder-content {
  text-align: center;
}
.ad-banner .ad-placeholder-text {
  color: var(--color-grey-dark-1);
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  margin-bottom: 0.5rem;
}
.ad-banner .test-ad-content {
  padding: 0.5rem;
  background-color: var(--color-primary-overlay-soft);
  border: 2px dashed var(--color-primary);
  color: var(--color-primary);
  font-size: 1.4rem;
}
.ad-banner.minimized {
  height: 3rem !important;
  transform: translateY(calc(100% - 3rem)) !important;
}
.ad-banner.minimized .minimize-button {
  transform: rotate(180deg);
  border-radius: 0 0 4px 4px;
  border-bottom: solid 1px var(--color-section-separator);
  border-top: none;
}
.ad-banner.minimized .ad-content {
  display: none;
}
/* heights if needed
Desktop (>1200px): 60px
Landscape tablet (≤1200px): 62px
Small tablet (≤704px): 54px
Phone (≤544px): 50px
Small phone (≤430px): 46px */
/* Mobile styles */
@media (max-width: 767px) {
  .mobile-wrapper {
    display: block;
  }
  .desktop-wrapper {
    display: none;
  }
}
/* Desktop styles */
@media (min-width: 768px) {
  .desktop-wrapper {
    display: block;
  }
  .mobile-wrapper {
    display: none;
  }
}
