.xla-ad-slot {
  width: 100%;
  max-width: 100%;
  clear: both;
  float: none;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-sizing: border-box;
}

.xla-ad-slot__inner {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.xla-ad-slot--header,
.xla-ad-slot--footer,
.xla-ad-slot--home,
.xla-ad-slot--program {
  padding: 0.65rem 0;
}

.eh-header .xla-ad-slot--header-sticky {
  position: static;
  z-index: auto;
  width: 100%;
  padding: 0.4rem 0 0.5rem;
  border-top: 1px solid var(--eh-border, #e4ebe4);
  background: transparent;
}

.xla-ad-slot--inline {
  margin: 1.1rem 0;
}

.xla-ad-slot--sidebar {
  margin: 0 0 1rem;
}

.xla-ad {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.xla-ad-slot--header .xla-ad,
.xla-ad-slot--header-sticky .xla-ad,
.xla-ad-slot--footer .xla-ad,
.xla-ad-slot--home .xla-ad,
.xla-ad-slot--program .xla-ad {
  margin: 0 auto;
}

.xla-ad img,
.xla-ad iframe,
.xla-ad ins,
.xla-ad video,
.xla-ad object,
.xla-ad embed,
.xla-ad table,
.xla-ad > div,
.xla-ad a {
  max-width: 100%;
}

.xla-ad img {
  height: auto;
  display: block;
}

.xla-ad iframe,
.xla-ad ins.adsbygoogle {
  max-width: 100% !important;
}

.xla-ad--placeholder {
  min-height: 56px;
  padding: 0.7rem 1rem;
  border: 1px dashed var(--eh-border, #e4ebe4);
  border-radius: 8px;
  background: var(--eh-surface-alt, #f4f7f4);
  color: var(--eh-ink-soft, #5e6d55);
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
}

.xla-ad__label {
  display: block;
  width: 100%;
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--eh-ink-soft, #5e6d55);
  text-align: center;
}

.xla-ad--desktop,
.xla-ad--mobile,
.xla-ad--code {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.xla-ad--mobile { display: none; }

.xla-ad:empty { display: none; }

.eh-blog__rail--left,
.eh-blog__sidebar .xla-ad-slot--sidebar {
  max-width: 100%;
  overflow: hidden;
}

.eh-blog-article .xla-ad-slot--inline,
.eh-blog-article__content .xla-ad-slot--inline {
  margin: 1.25rem 0;
}

[data-theme="dark"] .xla-ad--placeholder {
  background: var(--eh-surface-alt, #1c211c);
  border-color: var(--eh-border, #2a332a);
}

[data-theme="dark"] .eh-header .xla-ad-slot--header-sticky {
  border-top-color: var(--home-border, #2a332a);
}

@media (max-width: 1199px) {
  .xla-ad-slot--header,
  .xla-ad-slot--footer,
  .xla-ad-slot--home,
  .xla-ad-slot--program {
    padding: 0.55rem 0;
  }
}

@media (max-width: 991px) {
  .xla-ad-slot--inline {
    margin: 1rem 0;
  }
}

@media (max-width: 767px) {
  .xla-ad--desktop.has-mobile-twin { display: none; }
  .xla-ad--mobile { display: flex; }

  .xla-ad-slot--header,
  .xla-ad-slot--footer,
  .xla-ad-slot--home,
  .xla-ad-slot--program {
    padding: 0.45rem 0;
  }

  .xla-ad--placeholder {
    min-height: 48px;
    font-size: 0.8rem;
  }
}
