/* ==========================================================================
   Telugu Gospel Lyrics — Ad styles (v9.0.2, WPMedia-reference rebuild)

   The engine (inc/ads-engine.php) inlines the reservation, device gating and
   collapse rules. This file only sizes the boxes and keeps ads in flow.
   No lazy states, no skeletons, no anchor/sticky-mobile unit.
   ========================================================================== */

.tgl-ad{
  display:block;
  clear:both;
  width:100%;
  max-width:100%;
  margin-left:auto;
  margin-right:auto;
  text-align:center;
  position:relative;
  z-index:1;
  overflow:visible;
}

.tgl-ad ins.adsbygoogle{display:block;width:100%;margin:0 auto}

/* Box families ----------------------------------------------------------- */
.tgl-ad--leader ins.adsbygoogle{min-height:90px}
.tgl-ad--inarticle{max-width:728px}
.tgl-ad--inarticle ins.adsbygoogle{min-height:250px}
.tgl-ad--mrec{max-width:300px}
.tgl-ad--mrec ins.adsbygoogle{min-height:250px}
.tgl-ad--halfpage{max-width:300px}
.tgl-ad--halfpage ins.adsbygoogle{min-height:600px}
.tgl-ad--horizontal ins.adsbygoogle{min-height:250px}

/* Split header banner ----------------------------------------------------
   The colored header and menu bands remain viewport-wide. Their contents,
   including this leaderboard, stay inside the existing centered shell. */
.tgl-header-split-ad{
  min-width:0;
  width:100%;
  max-width:728px;
  margin-left:auto;
}
.tgl-header-split-ad .tgl-ad{
  margin:0;
  min-width:0;
}
.tgl-header-split-ad .tgl-ad--leader ins.adsbygoogle{min-height:90px}

/* WPMedia-style floated in-paragraph units -------------------------------
   Applied only to H3-injected units on wide desktop layouts. The article's
   following text wraps beside the ad; later headings and structural blocks
   clear it so an ad can never overlap another section or the footer. */
@media (min-width:1200px){
  .tgl-content{display:flow-root}
  .tgl-content .tgl-ad--float{
    clear:none;
    width:min(336px,42%);
    max-width:336px;
    margin-top:8px;
    margin-bottom:20px;
  }
  .tgl-content .tgl-ad--float-left{float:left;margin-left:0;margin-right:24px}
  .tgl-content .tgl-ad--float-right{float:right;margin-right:0;margin-left:24px}
  .tgl-content .tgl-ad--float ins.adsbygoogle{min-height:280px}
  .tgl-content h2,
  .tgl-content h3,
  .tgl-content .tgl-lyrics,
  .tgl-content .lgenx-lyrics,
  .tgl-content .tgl-chords,
  .tgl-content table{clear:both}
}

@media (max-width:1199px){
  .tgl-header-row{flex-wrap:wrap}
  .tgl-header-split-ad{flex:1 1 100%;max-width:100%;order:4;margin:0 auto}
  .tgl-content .tgl-ad--float{float:none;clear:both;width:100%;max-width:728px;margin-left:auto;margin-right:auto}
}

@media (max-width:767px){
  .tgl-ad{padding-left:0;padding-right:0}
  .tgl-ad--leader ins.adsbygoogle{min-height:100px}
  .tgl-ad--inarticle ins.adsbygoogle{min-height:250px}
  .tgl-header-split-ad .tgl-ad{margin-top:8px;margin-bottom:0}
}

/* Google Auto Ads: always in flow, never over editorial content ----------- */
.google-auto-placed,
.google-auto-placed.ap_container{
  position:static!important;
  float:none!important;
  clear:both!important;
  display:block!important;
  width:auto!important;
  height:auto!important;
  overflow:visible!important;
  transform:none!important;
  margin:24px 0!important;
}
@media (max-width:767px){
  .google-auto-placed,
  .google-auto-placed.ap_container{margin:18px 0!important}
}

/* Editorial surfaces always paint above any creative. */
.lgenx-lyrics,
.tgl-lyrics,
.tgl-lyrics__body,
.tgl-chords,
.tgl-section--telugu-lyrics,
.tgl-section--english-transliteration{position:relative;z-index:2}
