.avixa-custom-channel-top-leaderboard-banner-ad[data-avixa-custom__hidden] {
  /* Don't show the ad unless the Javascript detects that we are on 
    the correct channel page and removes the data-hidden attribute */
  display: none;
}
 
.avixa-custom-channel-top-leaderboard-banner-ad {
  display: flex;
  justify-content: center;
}

.avixa-custom-channel-top-leaderboard-banner-ad__link {

}

.avixa-custom-channel-top-leaderboard-banner-ad__image {
  max-width: 728px;
  max-height: 90px;
  object-fit: contain;  
}

.channel__top-leaderboard-code-snippet {
  /* By default, hide the container for the code snippet - this will 
  prevent it from awkwardly showing an empty white box when there is no
  valid ad for the page */
  display: none;
}

.channel__top-leaderboard-code-snippet[data-avixa-custom__show-ad] {
  /* If there is a valid ad for the page, the JavaScript will 
  add the data-avixa-custom__show-ad attribute
  */
  display: block;
}
