/* Theme 2 v2.0.37: five new homepage-only ad units. Existing global/Core
 * ad classes are deliberately untouched. Never scale image backgrounds. */
body.nbl-template-2 .mt2-content .mt2-home-ads-after-featured {
  display:flex;flex-direction:column;gap:15px;
  min-width:0;max-width:100%;margin:17px 0 0;
}
body.nbl-template-2 .mt2-content .mt2-home-ad-row {
  display:grid;grid-template-columns:minmax(0,1fr);gap:15px;
  min-width:0;width:100%;align-items:start;
}
body.nbl-template-2 .mt2-content .mt2-home-ad-row-pair {
  grid-template-columns:repeat(2,minmax(0,1fr));
}
body.nbl-template-2 .mt2-content .mt2-home-ad,
body.nbl-template-2 .mt2-content .mt2-game-grid-ad {
  min-width:0;max-width:100%;height:auto;overflow:hidden;border-radius:5px;
  background:transparent;border:0;box-shadow:none;
}
body.nbl-template-2 .mt2-content .mt2-home-ad > :is(a,.mt2-ad-image-only) {
  display:block;width:100%;min-width:0;line-height:0;overflow:hidden;border-radius:inherit;
}
body.nbl-template-2 .mt2-content .mt2-home-ad picture {display:block;width:100%;line-height:0}
body.nbl-template-2 .mt2-content .mt2-home-ad img {
  display:block;width:100%;max-width:100%;height:auto;max-height:180px;
  aspect-ratio:auto;object-fit:contain;object-position:center;
  border:0;border-radius:5px;margin:0;padding:0;
}
body.nbl-template-2 .mt2-content .mt2-game-grid-ad {
  grid-column:1/-1;align-self:start;min-width:0;width:100%;
  margin:0;padding:0;
}
body.nbl-template-2 .mt2-content .mt2-game-grid-ad img {max-height:180px}
@media(min-width:1200px){
  body.nbl-template-2 .mt2-content .mt2-ad-hide-desktop{display:none!important}
}
@media(min-width:801px) and (max-width:1199px){
  body.nbl-template-2 .mt2-content .mt2-ad-hide-tablet{display:none!important}
}
@media(max-width:800px){
  body.nbl-template-2 .mt2-content .mt2-home-ad-row-pair{grid-template-columns:minmax(0,1fr)}
  body.nbl-template-2 .mt2-content .mt2-home-ads-after-featured,
  body.nbl-template-2 .mt2-content .mt2-home-ad-row{gap:12px}
  body.nbl-template-2 .mt2-content .mt2-home-ad img{max-height:140px}
  body.nbl-template-2 .mt2-content .mt2-ad-hide-mobile{display:none!important}
}
