/* =========================================================
   Nuni — Om Produkt widget
   Ports omsheasmor.html. BEM scope: .nuni-op
   Two-column hero (copy left / image right) + editorial grid
   (article + sticky sidebar). Full-bleed at the hero, content
   width at the grid.
   ========================================================= */

.nuni-op {
  --nuni-op-page:        var(--e-global-color-7,        #FBF7EE);
  --nuni-op-card-bg:     #F4ECDD;
  --nuni-op-ink:         var(--e-global-color-text,     #2A1F14);
  --nuni-op-ink-2:       #23190E;
  --nuni-op-muted:       var(--e-global-color-accent,   #6B5B47);
  --nuni-op-accent:      var(--e-global-color-secondary,#8A765C);
  /* Dedicated eyebrow color — must clear WCAG AA 4.5:1 on the warm cream
     backgrounds (page #FBF7EE / card #F4ECDD). The lighter --nuni-op-accent
     fails at the 11px size eyebrows use, so we resolve to the darker muted
     ink and let the Elementor color picker override for branded one-offs. */
  --nuni-op-eyebrow:     #6B5B47;
  --nuni-op-line:        rgba(28, 20, 12, 0.12);
  --nuni-op-r-sm:        6px;
  --nuni-op-r-pill:      999px;
  display: block;
  color: var(--nuni-op-ink);
}

/* Break out of Elementor's content width so the hero fills viewport. */
.elementor-widget-nuni-om-produkt,
.elementor-widget-nuni-om-produkt > .elementor-widget-container {
  width: 100%;
  max-width: none;
}
.elementor-widget-nuni-om-produkt > .elementor-widget-container { padding: 0; }
.elementor-widget-nuni-om-produkt > .elementor-widget-container > .nuni-op {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  max-width: 100vw;
}
.elementor-editor-active .elementor-widget-nuni-om-produkt > .elementor-widget-container > .nuni-op {
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  max-width: 100vw;
}
html:has(.nuni-op),
body:has(.nuni-op) { overflow-x: clip; }

/* Parent padding/margin reset so the hero sits flush. */
.e-con:has(.elementor-widget-nuni-om-produkt),
.e-con-inner:has(.elementor-widget-nuni-om-produkt),
.elementor-section:has(.elementor-widget-nuni-om-produkt),
.elementor-container:has(.elementor-widget-nuni-om-produkt),
.elementor-row:has(.elementor-widget-nuni-om-produkt),
.elementor-column:has(.elementor-widget-nuni-om-produkt),
.elementor-widget-wrap:has(.elementor-widget-nuni-om-produkt) {
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
  max-width: none !important;
  min-height: 0 !important;
}
.elementor-widget.elementor-widget-nuni-om-produkt {
  margin: 0 !important;
  padding: 0 !important;
}

/* ===========================================================
   HERO — split 1.15fr / 0.85fr
=========================================================== */
.nuni-op__hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 85vh;
  width: 100%;
  align-items: stretch;
  background: var(--nuni-op-card-bg);
}
.nuni-op--image-left .nuni-op__hero {
  grid-template-columns: 0.85fr 1.15fr;
}

.nuni-op__hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(100px, 12vw, 160px) clamp(28px, 10vw, 12%) clamp(60px, 8vw, 100px) clamp(28px, 12vw, 12%);
  background: var(--nuni-op-card-bg);
  max-width: 100%;
  /* When image is on the LEFT, the content goes to grid-column 2. */
}
.nuni-op--image-left .nuni-op__hero-content {
  grid-column: 2;
}
.nuni-op--image-left .nuni-op__hero-media {
  grid-column: 1;
  grid-row: 1;
}

.nuni-op__hero-eyebrow {
  font-family: 'Gilroy', 'Inter', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--nuni-op-eyebrow);
  margin: 0 0 16px;
  display: block;
}

.nuni-op__hero-title {
  font-family: 'Camello Rough', 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: clamp(48px, 6vw, 82px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--nuni-op-ink);
  margin: 0 0 28px;
  font-weight: 400;
  text-wrap: balance;
}

.nuni-op__hero-description {
  font-family: 'Gilroy', 'Inter', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--nuni-op-ink-2);
  margin: 0 0 36px;
}
.nuni-op__hero-description strong { color: var(--nuni-op-ink); font-weight: 700; }

.nuni-op__hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.nuni-op__hero-media {
  position: relative;
  min-height: 100%;
  overflow: hidden;
}
/* Hero image is a real <img> (not background-image) so the browser can apply
   fetchpriority="high" and serve srcset variants — measurable LCP win. */
.nuni-op__hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.nuni-op__hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 75%, rgba(28, 20, 12, 0.08));
  pointer-events: none;
}

/* ===========================================================
   BUTTONS — standard Nuni ink pill + ghost variant
=========================================================== */
.nuni-op__btn,
.nuni-op__btn:link,
.nuni-op__btn:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Gilroy', 'Inter', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 13px 28px;
  border-radius: var(--nuni-op-r-pill);
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .22s ease, border-color .22s ease, color .22s ease, transform .15s ease;
}
.nuni-op__btn--primary,
.nuni-op__btn--primary:link,
.nuni-op__btn--primary:visited {
  background: var(--nuni-op-ink);
  border-color: var(--nuni-op-ink);
  color: var(--nuni-op-page);
}
.nuni-op__btn--primary:hover,
.nuni-op__btn--primary:focus,
.nuni-op__btn--primary:focus-visible,
.nuni-op__btn--primary:active {
  background: var(--nuni-op-accent) !important;
  border-color: var(--nuni-op-accent) !important;
  color: var(--nuni-op-page) !important;
  outline: 0 !important;
  text-decoration: none !important;
  transform: translateY(-1px);
}
.nuni-op__btn--ghost,
.nuni-op__btn--ghost:link,
.nuni-op__btn--ghost:visited {
  background: transparent;
  border-color: var(--nuni-op-ink);
  color: var(--nuni-op-ink);
}
.nuni-op__btn--ghost:hover,
.nuni-op__btn--ghost:focus,
.nuni-op__btn--ghost:focus-visible,
.nuni-op__btn--ghost:active {
  background: var(--nuni-op-ink) !important;
  border-color: var(--nuni-op-ink) !important;
  color: var(--nuni-op-page) !important;
  outline: 0 !important;
  text-decoration: none !important;
  transform: translateY(-1px);
}
.nuni-op__btn--sm { padding: 10px 20px; font-size: 13px; }

/* ===========================================================
   EDITORIAL GRID — article + sticky sidebar
=========================================================== */
.nuni-op__editorial-grid {
  background: var(--nuni-op-page);
  border-top: 1px solid var(--nuni-op-line);
  padding: clamp(56px, 8vw, 100px) clamp(20px, 5vw, 56px) clamp(64px, 10vw, 120px);
  width: 100%;
}
.nuni-op__editorial-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.nuni-op--no-sidebar .nuni-op__editorial-inner {
  grid-template-columns: 1fr;
  max-width: 720px;
}

.nuni-op__editorial { max-width: 640px; }
.nuni-op--no-sidebar .nuni-op__editorial { max-width: 100%; }

.nuni-op__section-title {
  font-family: 'Camello Rough', 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: clamp(30px, 3.5vw, 44px);
  line-height: 1.15;
  color: var(--nuni-op-ink);
  margin: 0 0 28px;
  font-weight: 400;
  text-wrap: balance;
}
.nuni-op__section-title + .nuni-op__body,
.nuni-op__body + .nuni-op__section-title {
  margin-top: 0;
}
.nuni-op__editorial > .nuni-op__section-title:not(:first-child) {
  margin-top: 48px;
}

/* Rich-text body — paragraphs inherit the editorial type system */
.nuni-op__body p,
.nuni-op__paragraph {
  font-family: 'Gilroy', 'Inter', system-ui, sans-serif;
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--nuni-op-ink-2);
  margin: 0 0 28px;
  text-wrap: pretty;
  font-weight: 400;
}
.nuni-op__body p:last-child { margin-bottom: 0; }
.nuni-op__body p strong,
.nuni-op__paragraph strong {
  color: var(--nuni-op-ink);
  font-weight: 700;
}
.nuni-op__body a,
.nuni-op__paragraph a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.nuni-op__body a:hover { color: var(--nuni-op-accent); }

/* Benefit tags */
.nuni-op__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 36px;
}
.nuni-op__tag {
  font-family: 'Gilroy', 'Inter', system-ui, sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--nuni-op-ink);
  background: var(--nuni-op-card-bg);
  border: 1px solid var(--nuni-op-line);
  padding: 6px 14px;
  border-radius: var(--nuni-op-r-pill);
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
}

/* ===========================================================
   SIDEBAR — sticky on desktop
=========================================================== */
.nuni-op__sidebar {
  position: sticky;
  top: 130px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* Frequency box — flat, no card chrome */
.nuni-op__freq {
  padding: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.nuni-op__spec-eyebrow {
  font-family: 'Gilroy', 'Inter', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--nuni-op-eyebrow);
  margin: 0;
  display: block;
}
.nuni-op__spec-title {
  font-family: 'Camello Rough', 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: clamp(24px, 2.5vw, 32px);
  line-height: 1.15;
  color: var(--nuni-op-ink);
  margin: 0;
  font-weight: 400;
}
.nuni-op__freq-answer {
  font-family: 'Camello Rough', 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: clamp(32px, 3.5vw, 44px);
  color: var(--nuni-op-ink);
  margin: 8px 0 0;
  font-weight: 400;
  line-height: 1.1;
}
.nuni-op__freq-answer span { color: var(--nuni-op-accent); }
.nuni-op__freq-explanation {
  font-family: 'Gilroy', 'Inter', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: var(--nuni-op-ink-2);
  margin: 0;
}

/* Feedback card — single hairline above, no card chrome */
.nuni-op__feedback {
  border: none;
  border-top: 1px solid var(--nuni-op-line);
  padding: 40px 0 0;
  background: transparent;
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.nuni-op__fb-badge {
  display: inline-flex;
  align-items: center;
  font-family: 'Gilroy', 'Inter', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--nuni-op-eyebrow);
  margin-bottom: 16px;
}
.nuni-op__fb-text {
  font-family: 'Gilroy', 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--nuni-op-ink-2);
  font-weight: 500;
  margin: 0 0 24px;
}

/* ===========================================================
   RESPONSIVE
=========================================================== */
@media (max-width: 1024px) {
  .nuni-op__hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .nuni-op__hero-media {
    min-height: 460px;
    order: -1;
    grid-column: 1 !important;
    grid-row: 1 !important;
  }
  .nuni-op__hero-content {
    padding: clamp(80px, 14vw, 120px) clamp(24px, 5vw, 40px) clamp(56px, 8vw, 80px);
    text-align: center;
    align-items: center;
    grid-column: 1 !important;
  }
  .nuni-op__hero-actions { justify-content: center; }

  .nuni-op__editorial-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .nuni-op__editorial { max-width: 100%; }
  .nuni-op__sidebar {
    position: relative;
    top: 0;
  }
}

@media (max-width: 700px) {
  .nuni-op__hero-media { min-height: 320px; }
  .nuni-op__hero-content { padding: 80px 22px 56px; }
  .nuni-op__hero-title { font-size: clamp(38px, 9vw, 56px); }
  .nuni-op__hero-description { font-size: 16px; }
  .nuni-op__hero-actions { width: 100%; }
  .nuni-op__btn { flex: 1 1 100%; }

  .nuni-op__editorial-grid { padding: 48px 20px 64px; }
  .nuni-op__editorial-inner { gap: 40px; }
  .nuni-op__section-title { font-size: clamp(26px, 6vw, 32px); margin-bottom: 20px; }
  .nuni-op__editorial > .nuni-op__section-title:not(:first-child) { margin-top: 32px; }
  .nuni-op__body p,
  .nuni-op__paragraph { font-size: 15.5px; line-height: 1.75; margin-bottom: 24px; }
  .nuni-op__tags { margin: 20px 0 28px; }
  .nuni-op__tag { font-size: 12.5px; padding: 5px 11px; }
}
