/* Fleet article body — responsive media (minimal + full article templates) */
.publisher-article .article-body img,
.publisher-article-minimal .article-body img,
.article-body img {
  max-width: 100% !important;
  height: auto !important;
  display: block;
}

.publisher-article .article-body figure,
.publisher-article-minimal .article-body figure,
.article-body figure {
  max-width: 100%;
  margin: 1rem 0;
}

.publisher-article .article-body figure img,
.publisher-article-minimal .article-body figure img,
.article-body figure img {
  margin: 0 auto;
}

.publisher-article .article-body iframe,
.publisher-article-minimal .article-body iframe,
.article-body iframe,
.article-body video,
.article-body embed {
  max-width: 100%;
  height: auto;
}

.publisher-article .article-body table,
.publisher-article-minimal .article-body table,
.article-body table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.publisher-article .article-body,
.publisher-article-minimal .article-body {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

@media (max-width: 640px) {
  .publisher-article .article-body img,
  .publisher-article-minimal .article-body img,
  .article-body img {
    width: 100% !important;
  }
}

/* GAM ad slots — fixed-size iframes; generic height:auto above clips 300x250 creatives */
.article-body .fleet-gam-slot,
.article-body .fleet-leaderboard-slot {
  overflow: visible;
  width: 100%;
  clear: both;
}

.article-body .fleet-gam-slot[data-gam-slot="inarticle"] {
  max-width: 336px;
  min-height: 250px;
}

.article-body .fleet-leaderboard-slot,
.article-body .fleet-gam-slot[data-gam-slot="leaderboard"] {
  max-width: 728px;
  min-height: 90px;
}

.article-body .fleet-gam-slot iframe,
.article-body .fleet-leaderboard-slot iframe,
.article-body .fleet-gam-slot iframe[id^="google_ads_iframe"],
.article-body .fleet-leaderboard-slot iframe[id^="google_ads_iframe"] {
  display: block;
  margin: 0 auto;
  border: 0;
  max-width: 100%;
  width: 300px;
  height: 250px !important;
  min-height: 250px;
}

.article-body .fleet-leaderboard-slot iframe,
.article-body .fleet-gam-slot[data-gam-slot="leaderboard"] iframe,
.article-body .fleet-leaderboard-slot iframe[id^="google_ads_iframe"],
.article-body .fleet-gam-slot[data-gam-slot="leaderboard"] iframe[id^="google_ads_iframe"] {
  width: 728px;
  height: 90px !important;
  min-height: 90px;
}

@media (max-width: 728px) {
  .article-body .fleet-leaderboard-slot iframe,
  .article-body .fleet-gam-slot[data-gam-slot="leaderboard"] iframe {
    width: 100%;
  }
}

@media (max-width: 320px) {
  .article-body .fleet-gam-slot[data-gam-slot="inarticle"] iframe {
    width: 100%;
  }
}
