/* Header advertisement shares the service/sidebar boundary; chrome stays intrinsic. */
body .t3-header .twoip-header-row--with-ad {
  --twoip-header-column-gap: 16px;
  --twoip-header-inline-padding: 12px;
}
body .t3-header .header-ad-slot { max-inline-size: none; }
body .t3-header .header-ad-column > .row { margin-inline: 0; }
body .t3-header .header-ad-column .top-banner { padding-inline: 0; }
@media (min-width: 1100px) {
  body .t3-header .twoip-header-row--with-ad {
    grid-template-columns: calc(var(--twoip-sidebar-width) + var(--twoip-shell-gap) + var(--twoip-grid-gutter) / 2 - var(--twoip-header-inline-padding) - var(--twoip-header-column-gap)) minmax(0, 1fr) calc(var(--twoip-header-utilities-width) + var(--bs-gutter-x));
  }
}
@media (min-width: 1100px) and (max-width: 1199px) {
  body .t3-header .twoip-header-row--with-ad { --twoip-header-inline-padding: 0px; }
}
@media (max-width: 1099px) {
  body .t3-header .header-ad-column { padding-inline: calc(var(--twoip-grid-gutter) / 2); max-inline-size: none; }
}
/* Native creative dimensions remain untouched; an incompatible delivery is hidden whole. */
body .t3-header .twoip-header-ad-creative :is(iframe,img,video) {
  max-inline-size: none !important; max-block-size: none !important;
}
body .t3-header .twoip-header-ad-creative:not([data-header-ad-fit="fit"]) { visibility: hidden; }
