/* Komani Newsroom 35.0: compact article ad wrappers.
 * AdSense alone determines the height of a filled <ins>/iframe.  Only remove
 * extra white space introduced by our own wrapper.  Don't clip, transform,
 * constrain, or forcibly resize Google's rendered ad creative. */
body.kn-single-post .article-content .kn-ad,
body.kn-single-post .article-content-column > .kn-ad,
.kn-stream-article .article-content .kn-ad,
.kn-stream-article .article-content-column > .kn-ad {
  box-sizing: border-box !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 5px 0 3px !important;
  margin: 17px 0 20px !important;
  border-top: 1px solid #e7e7e7 !important;
  border-bottom: 1px solid #e7e7e7 !important;
  overflow: visible !important;
  text-align: center !important;
}
body.kn-single-post .article-content .kn-ad .kn-ad-label,
body.kn-single-post .article-content-column > .kn-ad .kn-ad-label,
.kn-stream-article .article-content .kn-ad .kn-ad-label,
.kn-stream-article .article-content-column > .kn-ad .kn-ad-label {
  display: block !important;
  padding: 0 !important;
  margin: 0 0 6px !important;
  line-height: 1.3 !important;
}
/* Don't let theme CSS reintroduce empty room for filled ad units. */
body.kn-single-post .article-content .kn-ad ins.adsbygoogle,
body.kn-single-post .article-content-column > .kn-ad ins.adsbygoogle,
.kn-stream-article .article-content .kn-ad ins.adsbygoogle,
.kn-stream-article .article-content-column > .kn-ad ins.adsbygoogle {
  max-width: 100% !important;
}
/* The previous mobile stylesheet gave inline ads 18px top/bottom margins.
 * Retain slightly more breathing room on small phones but no extra fixed height. */
@media (max-width: 760px) {
  body.kn-single-post .article-content .kn-ad,
  body.kn-single-post .article-content-column > .kn-ad,
  .kn-stream-article .article-content .kn-ad,
  .kn-stream-article .article-content-column > .kn-ad {
    margin: 13px 0 16px !important;
    padding: 5px 0 3px !important;
    min-height: 0 !important;
  }
}
/* AdSense may explicitly flag a unit unfilled after requesting inventory.
 * Keep the existing v26 collapse behaviour, without hiding pending units. */
