.hilltop-banner {
  width: 300px;
  min-height: 250px;
  margin: 0 auto;
}
.ad-wrapper:has(.hilltop-banner) {
  width: 302px !important;
  max-width: 100%;
  margin-inline: auto;
  padding: 28px 0 12px !important;
}
.catalog-public .content-grid-adaptive .ad-card-inline:has(.hilltop-banner) {
  grid-column: auto !important;
  width: 100% !important;
  max-width: 100%;
  justify-self: stretch;
  min-height: 0 !important;
  aspect-ratio: 2 / 3 !important;
  padding: 28px 0 12px !important;
}
.catalog-public .ad-card-inline__inner:has(.hilltop-banner) {
  padding: 0;
  display: flex;
  height: auto;
  min-height: 0;
  align-items: center;
  justify-content: center;
}
.ad-card-inline__inner > .hilltop-banner {
  width: 300px;
  min-height: 250px;
}
@media (max-width: 359px) {
  .content-detail-sidebar-ad:has(.hilltop-banner) {
    display: none;
  }
}

@media (min-width: 992px) {
  .content-detail-page > .container > .row > .col-lg-3:has(.content-detail-sidebar-ad .hilltop-banner) {
    flex: 0 0 326px !important;
    width: 326px !important;
    max-width: 326px !important;
  }
  .content-detail-page > .container > .row:has(> .col-lg-3 .hilltop-banner) > .col-lg-9 {
    flex: 1 !important;
    max-width: calc(100% - 326px) !important;
  }
}
@media (min-width: 576px) and (max-width: 991px) {
  .content-detail-sidebar-ad:has(.hilltop-banner) { display: none; }
}

.catalog-public .ad-card-inline__inner > .hilltop-banner {
  max-width: none !important;
  flex-shrink: 0;
}

.home-section-grid .tv-cards-row .home-banner-card {
  flex: 0 0 var(--home-card-size);
  width: var(--home-card-size);
  min-width: var(--home-card-size);
  min-height: 0;
  aspect-ratio: 2 / 3;
  align-self: flex-start;
  padding-top: 28px;
}
.home-banner-card .ad-card-inline__inner {
  min-height: 0;
  align-items: center;
  justify-content: center;
}
.home-banner-card .hilltop-banner { flex-shrink: 0; max-width: none; }

.hilltop-frame, .hilltop-frame body { margin: 0; overflow: hidden; background: transparent; }
.hilltop-banner > iframe { display: block; border: 0; width: 300px; height: 250px; max-width: none; }
