.marketplace-hero-ad-grid {
  grid-template-columns: 230px minmax(0, 1fr) 230px;
}

.hero-ad-column {
  min-width: 0;
}

.hero-ad-column-left,
.hero-ad-column-right {
  display: grid;
  gap: 10px;
}

.hero-ad-column-left {
  align-items: stretch;
}

.hero-ad-column-right {
  grid-template-rows: repeat(3, minmax(0, 1fr));
}

.hero-ad-stack-item {
  min-height: 0;
  min-width: 0;
}

.thayu-hero-ad {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  height: 100%;
  justify-content: center;
  min-height: 82px;
  min-width: 0;
  overflow: visible;
  padding: 0;
  text-align: center;
  width: 100%;
}

.hero-ad-column-left .thayu-hero-ad {
  min-height: 280px;
}

.thayu-hero-ad ins.adsbygoogle,
.thayu-hero-ad [data-ad-client] {
  display: block !important;
  max-width: 100% !important;
  min-height: 82px;
  min-width: 1px;
  width: 100% !important;
}

.hero-ad-column-left .thayu-hero-ad ins.adsbygoogle,
.hero-ad-column-left .thayu-hero-ad [data-ad-client] {
  min-height: 280px;
}

.thayu-hero-ad iframe,
.thayu-hero-ad img {
  display: block;
  max-width: 100%;
}

.hero-ad-empty-state {
  align-items: center;
  background: #ffffff;
  border: 1px dashed rgba(31, 78, 61, .28);
  border-radius: 20px;
  color: #146c43;
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  justify-content: center;
  min-height: 82px;
  min-width: 0;
  padding: 10px;
  text-align: center;
  text-decoration: none;
  width: 100%;
}

.hero-ad-column-left .hero-ad-empty-state {
  min-height: 280px;
}

.hero-ad-empty-state strong {
  font-size: 14px;
}

.hero-ad-empty-state span {
  color: #4b5563;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
}

.hero-promo-panel-centered {
  justify-content: center;
}

.hero-promo-content-centered {
  align-items: stretch;
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-align: center;
  width: 100%;
}

.hero-promo-content-centered h1,
.hero-promo-content-centered > p {
  margin-left: auto;
  margin-right: auto;
}

.hero-search-fullwidth {
  align-self: stretch;
  display: block;
  margin-left: 0;
  margin-right: 0;
  max-width: none;
  min-width: 0;
  width: 100%;
}

.marketplace-hero-section .hero-search-fullwidth form.thayu-search,
.marketplace-hero-section .hero-search-fullwidth .thayu-search,
.marketplace-hero-section .hero-search-fullwidth .unified-market-search {
  box-sizing: border-box;
  display: block !important;
  margin: 0 auto !important;
  max-width: none !important;
  min-width: 0 !important;
  width: 100% !important;
}

.marketplace-hero-section .hero-search-fullwidth .unified-search-field {
  box-sizing: border-box;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 0 !important;
  max-width: none !important;
  min-width: 0 !important;
  width: 100% !important;
}

.marketplace-hero-section .hero-search-fullwidth .unified-search-field input {
  min-width: 0;
  width: 100% !important;
}

@media (max-width: 1080px) {
  .marketplace-hero-ad-grid {
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .hero-ad-column-right {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: none;
  }
}

@media (max-width: 760px) {
  .marketplace-hero-ad-grid {
    grid-template-columns: 1fr;
  }

  .hero-promo-panel {
    order: 1;
  }

  .hero-ad-column-left {
    order: 2;
  }

  .hero-ad-column-right {
    grid-column: auto;
    grid-template-columns: 1fr;
    order: 3;
  }

  .hero-ad-column-left .thayu-hero-ad,
  .hero-ad-column-left .hero-ad-empty-state,
  .hero-ad-column-left .thayu-hero-ad ins.adsbygoogle,
  .hero-ad-column-left .thayu-hero-ad [data-ad-client] {
    min-height: 120px;
  }

  .hero-promo-content-centered h1 {
    font-size: clamp(30px, 9vw, 42px);
  }
}

@media (max-width: 560px) {
  .marketplace-hero-section .hero-search-fullwidth .unified-search-field {
    grid-template-columns: 1fr;
  }

  .marketplace-hero-section .hero-search-fullwidth .unified-search-field button {
    width: 100%;
  }
}
