/* ==========================================================================
   AdBrust base — reset inside AdBrust sections (beats theme / Elementor Kit styles),
   Elementor container fix, admin placeholder highlight. Uses adbrust-tokens.css.
   ========================================================================== */

/* ---------- Reset inside AdBrust sections ---------- */
.adbrust-section {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  background: var(--adbrust-ink);
  color: var(--adbrust-surface);
  font-family: var(--adbrust-font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: normal;
  text-align: left;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.adbrust-section *, .adbrust-section *::before, .adbrust-section *::after { box-sizing: border-box; }
.adbrust-section h1, .adbrust-section h2, .adbrust-section h3, .adbrust-section p {
  margin: 0; padding: 0; border: 0; background: none;
  text-transform: none; text-shadow: none;
}
.adbrust-section a, .adbrust-section a:hover, .adbrust-section a:focus, .adbrust-section a:active, .adbrust-section a:visited {
  text-decoration: none; box-shadow: none;
}
.adbrust-section svg { display: inline-block; flex: none; }
.adbrust-section a:focus-visible { outline: 2px solid var(--adbrust-blue); outline-offset: 3px; }

/* ---------- Elementor container holding an AdBrust widget: full width, no padding/gap ---------- */
.e-con:has(> .elementor-widget[class*="elementor-widget-adbrust-"]),
.e-con:has(> .e-con-inner > .elementor-widget[class*="elementor-widget-adbrust-"]) {
  --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px;
  --gap: 0px; --row-gap: 0px; --column-gap: 0px;
  --content-width: 100%; --container-max-width: 100%; --width: 100%;
  padding: 0 !important; margin: 0 !important; max-width: 100% !important; width: 100% !important;
  border: 0 !important;
}
.e-con:has(> .e-con-inner > .elementor-widget[class*="elementor-widget-adbrust-"]) > .e-con-inner {
  padding: 0 !important; max-width: 100% !important; width: 100% !important; gap: 0 !important;
}
.elementor-widget[class*="elementor-widget-adbrust-"] {
  --container-widget-width: 100%; --container-widget-flex-grow: 1;
  width: 100% !important; max-width: 100% !important; margin: 0 !important; padding: 0 !important;
}
.elementor-widget[class*="elementor-widget-adbrust-"] > .elementor-widget-container { margin: 0; padding: 0; }
/* No sideways scroll from full-bleed sections */
body:has(.adbrust-section) { overflow-x: clip; }

/* ---------- [PLACEHOLDER: ...] highlight (rendered for logged-in admins only) ---------- */
.adbrust-section mark.adbrust-placeholder {
  background: #FFE14D; color: #0E1116; padding: 0 .15em; border-radius: 2px;
}
