/* xgd5.com · 广告轮播与图片横幅（r235）
 * 仅补充 r235 新增样式；文字广告沿用 app.css 的 .ad-slot 既有规则，本文件不改动它们。 */

/* 轮播容器：多条广告公平循环切换 */
.ad-carousel { position: relative; }
.ad-car-item { display: none; }
.ad-car-item.is-active { display: block; }

/* 图片横幅广告（后台表单化上传）：等比铺满广告位宽度，不外溢 */
.ad-img-banner { display: block; width: 100%; text-decoration: none; }
.ad-img-banner img { display: block; width: 100%; max-width: 100%; height: auto; border-radius: inherit; }

@media (max-width: 767px) {
  .ad-img-banner img { border-radius: calc(var(--radius) * 0.75); }
}
