/* container: isolate layout and avoid float bleed/overlap */
.gpai-ad{
  display: flow-root;
  width: 100%;
  clear: both;
  margin: 1.5rem 0;
}

/* a touch more prominent */
.gpai-topband{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:12px;
}
.gpai-line{
  flex:1;
  height:2px;
  background: rgba(0,0,0,.2);
}
.gpai-label{
  display:inline-block;
  font-size:13px;
  font-weight:600;
  line-height:1;
  padding:5px 12px;
  border:1.5px solid rgba(0,0,0,.25);
  border-radius:999px;
  background:#fff;
  color:#333;
  letter-spacing:.02em;
}
.gpai-bottomband{
  height:2px;
  background: rgba(0,0,0,.18);
  margin-top:12px;
}

@media (prefers-color-scheme: dark){
  .gpai-line, .gpai-bottomband{ background:rgba(255,255,255,.28); }
  .gpai-label{
    background:#111;
    color:#eee;
    border-color:rgba(255,255,255,.35);
  }
}

/* safety: keep ad content within container width */
.gpai-ad ins.adsbygoogle, .gpai-ad iframe, .gpai-ad img{
  display:block;
  max-width:100%;
}
