/* Keep this placement local to the homepage discovery section. */
.fp-home .fp-happening-layout.fp-happening-with-ad {
  grid-template-columns: minmax(0, 2.3fr) minmax(300px, 1fr);
}
.fp-home .fp-discovery-rail {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 16px;
  min-width: 0;
}
.fp-home .fp-discovery-rail > .fp-connection-panel { min-width: 0; }
.fp-home .fp-home-ad {
  width: 300px;
  min-width: 300px;
  justify-self: center;
  margin: 0;
  padding: 0;
}
.fp-home .fp-home-ad-label {
  margin: 0 0 7px;
  color: #526775;
  font: 11px/16px Arial, Helvetica, sans-serif;
  letter-spacing: .04em;
  text-align: center;
}
.fp-home .fp-home-ad-slot {
  display: block;
  width: 300px;
  height: 250px;
  background: #f5f8f9;
}
.fp-home .fp-home-ad-slot > iframe {
  display: block;
  width: 300px;
  min-width: 300px;
  max-width: none;
  height: 250px;
  margin: 0;
  padding: 0;
  border: 0;
}
@media (max-width: 900px) {
  .fp-home .fp-happening-layout.fp-happening-with-ad {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* A 300px creative cannot fit on a viewport narrower than 300px. */
@media (max-width: 319px) {
  .fp-home .fp-home-ad { display: none; }
}
