/* XDM Ads — khung reserve chống CLS + ẩn theo breakpoint. */
.xdm-ad{
  display:block;
  margin:0 auto;
  width:100%;
  overflow:hidden;
  line-height:0;
}
.xdm-ad a{display:block}
.xdm-ad img{
  display:block;
  width:100%;
  height:100%;
  max-width:100%;
  object-fit:contain;
}
.xdm-ad > *{width:100%}

/* Serve động: khung giữ chỗ trong lúc chờ REST. Rỗng nhưng vẫn chiếm đúng kích
   thước nhờ aspect-ratio inline, nên nội dung không nhảy khi ad được nhét vào. */
.xdm-ad--pending{background:transparent}

/* Không có size mobile -> ẩn hẳn ở mobile (đúng quy ước: ẩn thay vì bóp méo). */
@media(max-width:781px){
  .xdm-ad--hide-mobile{display:none !important}
}
