/* ==========================================================================
   Aurem â€” global layer: brand tokens, resets, cursor, nav, fullscreen menu,
   buttons, glass cards, badge. Loaded site-wide by the theme; every section
   widget (aurem-library) builds on it. All selectors are prefixed `ah-`.
   ========================================================================== */
/* ---------- Brand tokens (shared by every ah- section) ---------- */
:root {
  --ah-ink: #07060a;
  --ah-ink-2: #140b0f;
  --ah-wine: #4a0612;
  --ah-crimson: #c8102e;
  --ah-ember: #ff5a2a;
  --ah-gold: #ffc58f;
  --ah-blush: #ffb89a;
  --ah-text: #f7efe9;
  --ah-muted: rgba(247, 239, 233, .64);
  --ah-line: rgba(255, 255, 255, .12);
  --ah-glass: rgba(24, 10, 14, .38);

  --ah-display: "Bricolage Grotesque", system-ui, sans-serif;
  --ah-serif: "Instrument Serif", Georgia, serif;
  --ah-sans: "Manrope", system-ui, sans-serif;

  --ah-gutter: clamp(16px, 4vw, 72px);
  --ah-ease: cubic-bezier(.19, 1, .22, 1);
  --ah-radius-lg: 28px;
  --ah-radius-md: 21px;
}

/* Every brand section gets the `ah-scope` class */
.ah-scope {
  position: relative;
  background: var(--ah-ink);
  color: var(--ah-text);
  font-family: var(--ah-sans);
  -webkit-font-smoothing: antialiased;
}
.ah-scope *,
.ah-scope *::before,
.ah-scope *::after { box-sizing: border-box; }
/* resets use :where() = zero specificity, so component styles always win */
:where(.ah-scope) a { color: inherit; text-decoration: none; }
:where(.ah-scope) p { margin: 0; }
:where(.ah-scope) :is(h1, h2, h3, h4) { margin: 0; font-weight: inherit; }
:where(.ah-scope) ul { list-style: none; margin: 0; padding: 0; }
:where(.ah-scope) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:where(.ah-scope) svg { display: block; }
.ah-scope :focus-visible { outline: 2px solid var(--ah-gold); outline-offset: 3px; border-radius: 999px; }

/* Page canvas: the theme's <body> (and the standalone HTML's .ah-body) */
body, .ah-body { margin: 0; background: var(--ah-ink); color: var(--ah-text); font-family: var(--ah-sans); }

/* Lenis smooth scroll (optional, see smooth-scroll.js) */
html.lenis, html.lenis body { height: auto; }
/* ScrollTrigger.refresh() jumps to the top to measure, then back. With native
   scroll-behavior: smooth (Bootstrap reboot sets it on :root) that jump is animated,
   so pinned sections get measured from the wrong scroll position and pin over other
   content. Lenis / AuremCore.scrollTo do the smooth scrolling instead. */
html, html.lenis, .lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
html.ah-is-locked { overflow: hidden; }

/* ---------- Background layers ---------- */
.ah-gl {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  display: block;
}
/* Fallback when WebGL is unavailable */
.ah-no-webgl .ah-gl { display: none; }
.ah-grain {
  position: absolute; inset: -50%;
  z-index: 1; pointer-events: none;
  opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: ah-grain 1s steps(6) infinite;
}
@keyframes ah-grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ---------- Cursor ---------- */
.ah-cursor, .ah-cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 90;
  pointer-events: none; border-radius: 50%;
  opacity: 0;
}
.ah-cursor { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--ah-gold); }
.ah-cursor-ring {
  width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border: 1px solid rgba(255, 197, 143, .55);
  transition: width .4s var(--ah-ease), height .4s var(--ah-ease), margin .4s var(--ah-ease), background-color .4s, border-color .4s;
}
.ah-cursor-ring.is-hover {
  width: 76px; height: 76px; margin: -38px 0 0 -38px;
  background: rgba(255, 90, 42, .12); border-color: rgba(255, 90, 42, .6);
}
.ah-cursor-ring { display: grid; place-items: center; }
.ah-cursor-ring__label {
  font-family: var(--ah-sans); font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  color: var(--ah-ink);
  opacity: 0; transform: scale(.5);
  transition: opacity .3s, transform .5s var(--ah-ease);
}
.ah-cursor-ring.has-label {
  width: 104px; height: 104px; margin: -52px 0 0 -52px;
  background: linear-gradient(135deg, var(--ah-gold), var(--ah-ember));
  border-color: transparent;
}
.ah-cursor-ring.has-label .ah-cursor-ring__label { opacity: 1; transform: scale(1); }
.ah-cursor { transition: opacity .3s; }
.ah-cursor.is-hidden { opacity: 0 !important; }
@media (pointer: fine) {
  .ah-cursor-on .ah-scope, .ah-cursor-on .ah-scope a, .ah-cursor-on .ah-scope button { cursor: none; }
}

/* ---------- Navigation ---------- */
.ah-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 22px var(--ah-gutter);
  transition: padding .6s var(--ah-ease);
}
.ah-nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(7, 6, 10, .85), rgba(7, 6, 10, 0));
  opacity: 0; transition: opacity .6s var(--ah-ease);
  pointer-events: none;
}
.ah-nav.is-scrolled { padding-top: 14px; padding-bottom: 14px; }
.ah-nav.is-scrolled::before { opacity: 1; }
.ah-nav__brand { display: inline-flex; align-items: center; gap: 10px; justify-self: start; }
.ah-logo { width: 34px; height: 34px; }
.ah-logo--img { width: auto; max-width: 160px; object-fit: contain; }
.ah-nav--no-links { grid-template-columns: 1fr auto; }
.ah-nav__brand span { font-family: var(--ah-display); font-size: 24px; font-weight: 700; letter-spacing: -.04em; }
.ah-nav__brand sup { font-size: .45em; font-weight: 500; opacity: .6; margin-left: 2px; }

.ah-nav__links {
  position: relative; display: flex; gap: 2px; padding: 5px;
  border: 1px solid var(--ah-line); border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.ah-nav__links a {
  position: relative; z-index: 1;
  padding: 10px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--ah-muted);
  transition: color .3s;
}
.ah-nav__links a:hover, .ah-nav__links a.is-active { color: var(--ah-text); }
/* Dropdowns: a WordPress menu with sub-items (Header widget → WordPress menu). */
.ah-nav__item { position: relative; z-index: 1; display: flex; }
.ah-nav__links .ah-nav__parent { display: inline-flex; align-items: center; gap: 6px; }
.ah-nav__caret { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ah-ease); }
.ah-nav__item.is-open .ah-nav__caret { transform: rotate(180deg); }
.ah-nav__drop {
  position: absolute; left: 50%; top: calc(100% + 12px); z-index: 5;
  min-width: 240px; max-width: 340px; max-height: min(70vh, 520px); overflow-y: auto;
  padding: 8px; border-radius: 20px; border: 1px solid var(--ah-line);
  background: rgba(20, 11, 15, .94);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 90, 42, .06);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .25s, transform .4s var(--ah-ease), visibility 0s .25s;
}
/* invisible bridge over the gap, so the pointer can travel into the panel */
.ah-nav__drop::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.ah-nav__item.is-open .ah-nav__drop {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
  transition: opacity .25s, transform .4s var(--ah-ease), visibility 0s;
}
.ah-nav__drop ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ah-nav__links .ah-nav__sublink {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-radius: 12px;
  font-size: 14px; font-weight: 600; line-height: 1.3; white-space: nowrap; color: var(--ah-muted);
  transition: background-color .25s, color .25s;
}
.ah-nav__sublink::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--ah-line); transition: background-color .25s, transform .3s var(--ah-ease); }
.ah-nav__links .ah-nav__sublink:hover,
.ah-nav__links .ah-nav__sublink:focus-visible { background: rgba(255, 90, 42, .12); color: var(--ah-text); }
.ah-nav__sublink:hover::before, .ah-nav__sublink:focus-visible::before { background: var(--ah-ember); transform: scale(1.3); }
.ah-nav__links .ah-nav__sublink.is-active { color: var(--ah-gold); }
.ah-nav__sublink.is-active::before { background: var(--ah-gold); }

.ah-nav__indicator {
  position: absolute; top: 5px; bottom: 5px; left: 0; width: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 90, 42, .35), rgba(200, 16, 46, .35));
  box-shadow: inset 0 0 0 1px rgba(255, 197, 143, .25);
}

.ah-nav__right { display: flex; align-items: center; gap: 14px; justify-self: end; }
.ah-nav__social { display: flex; gap: 8px; }
.ah-icon-btn {
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--ah-line);
  background: rgba(255, 255, 255, .04);
  transition: background-color .3s, border-color .3s;
}
.ah-icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.ah-icon-btn svg .ah-fill { fill: currentColor; stroke: none; }
.ah-icon-btn:hover { background: var(--ah-ember); border-color: var(--ah-ember); }

.ah-menu-btn {
  position: relative; z-index: 70;
  display: inline-flex; align-items: center; gap: 12px;
  height: 46px; padding: 0 10px 0 22px; border-radius: 999px;
  background: linear-gradient(135deg, var(--ah-ember), var(--ah-crimson));
  font-weight: 700; font-size: 14px;
  box-shadow: 0 10px 30px -10px rgba(255, 90, 42, .7);
}
.ah-menu-btn__lines {
  display: grid; place-content: center; gap: 5px;
  width: 30px; height: 30px; border-radius: 50%; background: rgba(0, 0, 0, .25);
}
.ah-menu-btn__lines i { display: block; width: 12px; height: 1.6px; background: currentColor; transition: transform .5s var(--ah-ease); }
.ah-menu-btn[aria-expanded="true"] .ah-menu-btn__lines i:first-child { transform: translateY(3.3px) rotate(45deg); }
.ah-menu-btn[aria-expanded="true"] .ah-menu-btn__lines i:last-child { transform: translateY(-3.3px) rotate(-45deg); }

/* ---------- Fullscreen menu ---------- */
.ah-menu {
  position: fixed; inset: 0; z-index: 55;
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px var(--ah-gutter) 40px;
  background:
    radial-gradient(60% 60% at 90% 0%, rgba(200, 16, 46, .45), transparent 70%),
    var(--ah-ink-2);
  visibility: hidden;
  clip-path: circle(0% at 95% 5%);
}
.ah-menu__list { list-style: none; margin: 0; padding: 0; }
.ah-menu__list li { overflow: hidden; }
.ah-menu__link {
  display: inline-flex; align-items: baseline; gap: 18px;
  font-family: var(--ah-display); font-weight: 600;
  font-size: clamp(2.6rem, 8vw, 6.5rem); line-height: 1.02; letter-spacing: -.04em;
  transition: color .3s, font-style .3s;
}
.ah-menu__link em { font-family: var(--ah-sans); font-style: normal; font-size: 14px; letter-spacing: .1em; color: var(--ah-ember); }
.ah-menu__link:hover { color: var(--ah-blush); font-family: var(--ah-serif); font-style: italic; font-weight: 400; }
.ah-menu__foot { margin-top: 40px; color: var(--ah-muted); font-size: 14px; }

/* Fullscreen menu with sub-items (a WordPress menu with nested items):
   desktop shows the hovered / focused parent's items in a panel on the right;
   below 1000px each parent gets a + toggle that opens its items in place. */
.ah-menu--tree { justify-content: flex-start; overflow-y: auto; overscroll-behavior: contain; padding-top: clamp(110px, 16vh, 150px); }
.ah-menu--tree .ah-menu__list { position: relative; width: 100%; max-width: 1680px; margin: 0 auto; }
.ah-menu--tree .ah-menu__list > li { overflow: visible; }
.ah-menu--tree .ah-menu__link { font-size: clamp(2rem, min(5.2vw, 7.4vh), 5rem); }
.ah-menu--tree .has-sub > .ah-menu__link::after { content: "+"; margin-left: .25em; font-family: var(--ah-sans); font-size: .35em; font-style: normal; color: var(--ah-ember); }
.ah-menu__toggle { display: none; }
.ah-menu__sub {
  position: absolute; z-index: 1; left: 52%; top: 0; width: 44%; max-height: 100%;
  overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255, 90, 42, .5) transparent;
  padding: 4px 18px 4px 28px; border-left: 1px solid var(--ah-line);
  opacity: 0; visibility: hidden; transform: translateX(16px);
  transition: opacity .35s, transform .5s var(--ah-ease), visibility 0s .35s;
}
.ah-menu--tree li.is-current > .ah-menu__sub { opacity: 1; visibility: visible; transform: none; transition: opacity .35s, transform .5s var(--ah-ease), visibility 0s; }
.ah-menu--tree li.is-current > .ah-menu__link { color: var(--ah-blush); }
.ah-menu__subhead { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ah-muted); }
.ah-menu__subhead sup { color: var(--ah-ember); letter-spacing: 0; }
.ah-menu__sub ul { list-style: none; margin: 0; padding: 0; }
.ah-menu__sublink {
  display: flex; align-items: center; gap: 10px; padding: 11px 0;
  border-bottom: 1px solid var(--ah-line);
  font-family: var(--ah-display); font-size: clamp(16px, 1.3vw, 20px); font-weight: 600; letter-spacing: -.02em; line-height: 1.25;
  transition: color .3s, padding-left .4s var(--ah-ease);
}
.ah-menu__sublink::before { content: "✦"; flex: none; font-size: 10px; color: var(--ah-ember); opacity: 0; transition: opacity .3s; }
.ah-menu__sublink:hover, .ah-menu__sublink:focus-visible { color: var(--ah-blush); padding-left: 6px; }
.ah-menu__sublink:hover::before, .ah-menu__sublink:focus-visible::before { opacity: 1; }
.ah-menu__sublink.is-active { color: var(--ah-gold); }
@media (max-width: 999px) {
  .ah-menu--tree .ah-menu__list > li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 12px; }
  .ah-menu--tree .has-sub > .ah-menu__link::after { content: none; }
  .ah-menu__toggle {
    display: grid; place-items: center; position: relative; flex: none;
    width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--ah-line); color: var(--ah-text);
    transition: background-color .3s, border-color .3s, transform .5s var(--ah-ease);
  }
  .ah-menu__toggle i { position: absolute; width: 14px; height: 1.6px; border-radius: 2px; background: currentColor; transition: transform .4s var(--ah-ease); }
  .ah-menu__toggle i:last-child { transform: rotate(90deg); }
  .ah-menu__toggle[aria-expanded="true"] { background: var(--ah-ember); border-color: var(--ah-ember); color: var(--ah-ink); }
  .ah-menu__toggle[aria-expanded="true"] i:last-child { transform: rotate(0deg); }
  .ah-menu__sub {
    position: static; width: 100%; max-height: none; overflow: visible;
    padding: 0 0 10px 32px; border-left: 0;
    opacity: 1; visibility: visible; transform: none; transition: none;
    display: none;
  }
  .ah-menu--tree li.is-open > .ah-menu__sub { display: block; }
  .ah-menu__subhead { display: none; }
}

.ah-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px; margin-bottom: 26px;
  border: 1px solid var(--ah-line); border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 13px; font-weight: 600; color: var(--ah-muted);
}
.ah-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; }
.ah-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit;
  animation: ah-ping 1.8s var(--ah-ease) infinite;
}
@keyframes ah-ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(3); opacity: 0; } }

/* ---------- Buttons ---------- */
.ah-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: clamp(24px, 4vh, 36px); }
.ah-btn {
  display: inline-flex; align-items: center; gap: 12px;
  height: 58px; border-radius: 999px;
  font-weight: 700; font-size: 15px;
  transition: background-color .4s, border-color .4s, box-shadow .4s;
}
.ah-btn__label { position: relative; display: block; height: 1.3em; line-height: 1.3em; overflow: hidden; }
.ah-btn__label span { display: block; transition: transform .6s var(--ah-ease); }
.ah-btn:hover .ah-btn__label span { transform: translateY(-100%); }

.ah-btn--primary {
  padding: 0 7px 0 28px;
  background: linear-gradient(135deg, var(--ah-ember), var(--ah-crimson));
  box-shadow: 0 18px 40px -16px rgba(255, 90, 42, .85), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.ah-btn--primary:hover { box-shadow: 0 22px 50px -14px rgba(255, 90, 42, 1), inset 0 1px 0 rgba(255, 255, 255, .25); }
.ah-btn__icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--ah-text); color: var(--ah-crimson);
  transition: transform .6s var(--ah-ease);
}
.ah-btn__icon svg, .ah-badge__core svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ah-btn--primary:hover .ah-btn__icon { transform: rotate(45deg); }

.ah-btn--ghost {
  padding: 0 26px 0 7px;
  border: 1px solid var(--ah-line); background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.ah-btn--ghost:hover { border-color: rgba(255, 197, 143, .45); background: rgba(255, 255, 255, .08); }
.ah-btn__play {
  position: relative; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .1);
}
.ah-btn__play::before {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid rgba(255, 197, 143, .4);
  animation: ah-ping 2.4s var(--ah-ease) infinite;
}
.ah-btn__play svg { width: 18px; height: 18px; fill: var(--ah-gold); }

.ah-badge {
  position: absolute; z-index: 4;
  left: -64px; top: 38%;
  width: 128px; height: 128px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(10, 6, 8, .55);
  border: 1px solid var(--ah-line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.ah-badge > svg { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); }
.ah-badge text { fill: var(--ah-text); font-family: var(--ah-sans); font-size: 9.6px; font-weight: 700; letter-spacing: 2.2px; }
.ah-badge__core {
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--ah-ember), var(--ah-crimson));
}

.ah-card {
  padding: 8px; border-radius: 28px;
  border: 1px solid var(--ah-line);
  background: rgba(255, 255, 255, .03);
  backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%);
}
.ah-card__in {
  position: relative; overflow: hidden;
  border-radius: 21px;
  background: var(--ah-glass);
  border: 1px solid rgba(255, 255, 255, .06);
}

.ah-orb {
  position: absolute; width: 220px; height: 220px; right: -40px; top: -20px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--ah-crimson), var(--ah-ember), var(--ah-gold), var(--ah-crimson));
  filter: blur(26px); opacity: .85;
  animation: ah-spin 9s linear infinite;
}
.ah-orb--2 { width: 150px; height: 150px; right: auto; left: -30px; top: 90px; opacity: .5; animation-duration: 13s; animation-direction: reverse; }
@keyframes ah-spin { to { transform: rotate(360deg); } }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .ah-nav__links a { padding: 10px 14px; }
}

@media (max-width: 900px) {
  .ah-nav { grid-template-columns: 1fr auto; }
  .ah-nav__links, .ah-nav__social { display: none; }
}
@media (min-width: 901px) {
  .ah-nav__menu--mobile { display: none; } /* Header widget: "Menu button on mobile only" */
}

@media (max-width: 560px) {
  .ah-actions { flex-direction: column; align-items: stretch; }
  .ah-btn { justify-content: space-between; }
  .ah-btn--ghost { justify-content: flex-start; }
  .ah-nav__brand span { font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  .ah-grain { animation: none; }
}

/* ---------- WordPress admin bar (logged-in visitors): keep the fixed nav below it ---------- */
.admin-bar .ah-nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .ah-nav { top: 46px; } }
@media (max-width: 600px) { .admin-bar .ah-nav { top: 0; } } /* the bar scrolls away here */

/* ---------- Elementor: the Header widget's fixed nav + menu stay above every section
   (the hero is z-index 2), whatever container Elementor wraps them in ---------- */
.elementor-widget-ah-header,
.elementor-element:has(.ah-site-header) { position: relative; z-index: 60; }

/* ---------- Elementor: let full-bleed sections run edge to edge ---------- */
.elementor-widget-container > .ah-scope,
.elementor-widget-container > .ah-footer-wrap { width: 100%; }

/* A container holding an Aurem section defaults to full width with no padding or gap,
   on every device. These are the container's own variables, so anything set on the
   container in Elementor (a more specific rule) still wins. */
.e-con:has(> .elementor-element[class*="elementor-widget-ah-"]),
.e-con:has(> .e-con-inner > .elementor-element[class*="elementor-widget-ah-"]) {
  --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%;
}
/* Classic sections/columns */
.elementor-section:has(.elementor-widget[class*="elementor-widget-ah-"]) > .elementor-container { max-width: none; }
.elementor-column:has(> .elementor-widget-wrap > .elementor-widget[class*="elementor-widget-ah-"]) > .elementor-widget-wrap { padding: 0; }
.elementor-widget[class*="elementor-widget-ah-"]:not(:last-child) { margin-bottom: 0; }

/* ---------- Phones: nothing may push the page sideways ----------
   clip (not hidden) so position: sticky keeps working (Work stack, Team deck). */
html, body { overflow-x: clip; }
.ah-scope { max-width: 100vw; }
.ah-scope img { max-width: 100%; }
.ah-scope :is(h1, h2, h3, h4, p, a, li) { overflow-wrap: break-word; }
