.hqask-ad-slot:not([hidden]) + .hqask-house-banner { display:none; }
.hqask-house-banner {
  box-sizing: border-box;
  width: min(calc(100% - 24px), var(--house-width, 970px));
  margin: 12px auto;
}
.hqask-house-banner > a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: var(--house-height, 90px);
  padding: 8px 12px;
  border-radius: 12px;
  background: #102d49;
  color: #fff;
  text-decoration: none;
}
.hqask-house-banner > a:hover { background: #173d62; }
.hqask-house-banner > a:focus-visible { outline: 3px solid #5faeff; outline-offset: 3px; }
.hqask-house-banner img {
  display: block;
  flex: 0 0 auto;
  width: min(27%, 160px);
  height: 58px;
  object-fit: cover;
  border-radius: 7px;
}
.hqask-house-copy {
  display: grid;
  gap: 2px;
  line-height: 1.35;
  min-width: 0;
  overflow-wrap: anywhere;
}
.hqask-house-copy strong, .hqask-house-copy small { color: inherit; }
.hqask-house-banner .hqask-house-cta { color: #d7ebff; }
.hqask-house-970x90 { --house-width: 970px; }
.hqask-house-728x90 { --house-width: 728px; }
.hqask-house-responsive { --house-width: 100%; }
.hqask-house-custom { --house-width: 600px; --house-height: 110px; }
.hqask-house-300x250 { --house-width: 300px; --house-height: 250px; }
.hqask-house-300x250 > a { flex-direction: column; justify-content: center; gap: 8px; text-align: center; }
.hqask-house-300x250 img { width: 100%; height: auto; aspect-ratio: 16 / 9; }
@media (max-width: 480px) {
  .hqask-house-banner > a { gap: 9px; }
  .hqask-house-banner:not(.hqask-house-300x250) img { height: 52px; }
  .hqask-house-copy { font-size: .875rem; }
}

.hqask-banner-pilot {
    box-sizing: border-box;
    width: calc(100% - 24px);
    max-width: 970px;
    margin: 1rem auto;
}
.hqask-banner-pilot[data-banner-format="728x90"] { max-width: 728px; }
.hqask-banner-pilot[data-banner-format="300x250"] {
    width: 100%;
    max-width: 300px;
}
.hqask-banner-pilot > a,
.hqask-banner-pilot img { display: block; }
.hqask-banner-pilot img {
    width: 100%;
    height: auto;
    border-radius: 9px;
}
.hqask-ad-slot:not([hidden]) + .hqask-banner-pilot { display: none; }

.free-promote-shelf:not([hidden]) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-block: 1rem;
}
.free-promote-shelf .free-promote-large { grid-column: 1 / -1; }
.free-promote-shelf img { display: block; width: 100%; height: auto; }
@media (max-width: 520px) {
    .free-promote-shelf:not([hidden]) { grid-template-columns: minmax(0, 1fr); }
}

.free-promote-shelf .free-promote-disclosure {
    display: block;
    margin-bottom: .25rem;
    font-size: .875rem;
}

.free-promote-slot { min-width: 0; }
.free-promote-slot > a { display: grid; place-items: center; width: 100%; aspect-ratio: 2 / 1; }
.free-promote-slot.free-promote-large > a { aspect-ratio: 4 / 1; }
.free-promote-slot > a img { width: 100%; height: 100%; object-fit: contain; }

.free-promote-shelf {
    width: min(calc(100% - 24px), 1200px);
    margin-inline: auto;
}
.free-promote-shelf.free-promote-rail:not([hidden]) {
    width: min(100%, 300px);
    grid-template-columns: minmax(0, 1fr);
}
.free-promote-slot[hidden] { display: none; }
.free-promote-shelf:has(.free-promote-large:not([hidden])) + .hqask-banner-pilot,
.free-promote-rail:not([hidden]) + .hqask-banner-pilot {
    display: none;
}
