.adsb2b-box {
  --adsb2b-width: 100%;
  box-sizing: border-box;
  clear: both;
  display: block;
  margin: 1.5rem auto;
  max-width: min(100%, var(--adsb2b-width));
  text-align: center;
  width: 100%;
}

.adsb2b-zone { box-sizing: border-box; width: 100%; max-width: min(100%, var(--adsb2b-zone-width, 100%)); margin: 1.5rem auto; }
.adsb2b-zone[hidden], .adsb2b-zone [hidden] { display: none !important; }
.adsb2b-zone > .adsb2b-slot { min-width: 0; }
.adsb2b-zone > .adsb2b-slot > .adsb2b-box { margin-block: 0; }
.adsb2b-layout-stack { display: flex; flex-direction: column; gap: var(--adsb2b-gap, 16px); }
.adsb2b-layout-grid { display: grid; grid-template-columns: repeat(var(--adsb2b-columns, 2), minmax(0, 1fr)); gap: var(--adsb2b-gap, 16px); }
.adsb2b-align-left { margin-left: 0; margin-right: auto; }
.adsb2b-align-right { margin-right: 0; margin-left: auto; }
.adsb2b-type-html img, .adsb2b-type-html video, .adsb2b-type-html iframe { max-width: 100%; }
.adsb2b-type-html img { height: auto; }
.adsb2b-slider-controls { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 10px; font: 14px/1.4 system-ui, sans-serif; }
.adsb2b-slider-controls button { cursor: pointer; background: #f7f7f7; color: #202020; border: 1px solid #bbb; border-radius: 4px; min-height: 38px; padding: 6px 12px; font: inherit; }
.adsb2b-slider-controls button:focus-visible { outline: 2px solid #2271b1; outline-offset: 2px; }
.adsb2b-list-item { list-style: none !important; clear: both; grid-column: 1 / -1; }
.wp-block-post-template > .adsb2b-list-item { flex-basis: 100% !important; width: 100% !important; }
@media (min-width: 1025px) { .adsb2b-zone:not(.adsb2b-on-desktop) { display: none !important; } }
@media (min-width: 601px) and (max-width: 1024px) { .adsb2b-zone:not(.adsb2b-on-tablet) { display: none !important; } }
@media (max-width: 600px) { .adsb2b-zone:not(.adsb2b-on-mobile) { display: none !important; } .adsb2b-layout-grid { grid-template-columns: 1fr; } }

.adsb2b-box *,
.adsb2b-box *::before,
.adsb2b-box *::after {
  box-sizing: border-box;
}

.adsb2b-label {
  color: #6b7280;
  font: 500 10px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: .08em;
  margin: 0 0 5px;
  text-transform: uppercase;
}

.adsb2b-creative {
  margin-inline: auto;
  max-width: 100%;
  overflow: hidden;
  position: relative;
}

.adsb2b-type-image .adsb2b-creative,
.adsb2b-type-internal .adsb2b-creative {
  aspect-ratio: var(--adsb2b-ratio, auto);
}

.adsb2b-image-link,
.adsb2b-image-link picture,
.adsb2b-image-link img {
  display: block;
  height: 100%;
  width: 100%;
}

.adsb2b-image,
.adsb2b-internal-image {
  border: 0;
  height: auto;
  margin: 0;
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

.adsb2b-type-image .adsb2b-image {
  height: 100%;
  width: 100%;
}

.adsb2b-size-fluid .adsb2b-creative {
  aspect-ratio: auto;
}

.adsb2b-size-fluid .adsb2b-image {
  height: auto;
  width: 100%;
}

.adsb2b-link-row {
  font: 500 13px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin-top: 7px;
  text-align: center;
}

.adsb2b-text-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.adsb2b-internal-card {
  align-items: stretch;
  background: #f5f7fa;
  border: 1px solid #e5e7eb;
  color: #111827;
  display: flex;
  height: 100%;
  overflow: hidden;
  text-align: left;
  text-decoration: none;
  width: 100%;
}

.adsb2b-internal-media {
  flex: 0 0 44%;
  overflow: hidden;
}

.adsb2b-internal-media img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.adsb2b-internal-copy {
  align-self: center;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: .55rem;
  padding: clamp(.8rem, 2vw, 1.5rem);
}

.adsb2b-internal-copy strong {
  font-size: clamp(1rem, 2.2vw, 1.45rem);
  line-height: 1.25;
}

.adsb2b-internal-copy span {
  color: #4b5563;
  font-size: .92rem;
  line-height: 1.45;
}

.adsb2b-type-html .adsb2b-creative > :first-child { margin-top: 0; }
.adsb2b-type-html .adsb2b-creative > :last-child { margin-bottom: 0; }

.adsb2b-auto-header,
.adsb2b-auto-footer {
  padding-inline: 12px;
}

@media (max-width: 600px) {
  .adsb2b-box { margin-block: 1rem; }
  .adsb2b-internal-card { flex-direction: column; }
  .adsb2b-internal-media { flex-basis: auto; max-height: 180px; }
  .adsb2b-type-internal .adsb2b-creative { aspect-ratio: auto; }
  .adsb2b-internal-copy span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .adsb2b-box * { scroll-behavior: auto !important; transition: none !important; }
}
