/* Websjekk marketing method motion v1
   Final rendered-state correction for the four-step method on /innsikt/markedsforing/.
   Keeps the approved warm/sage marketing palette while using the available desktop surface. */

.source-graph-page[data-source-territory="synlighet"] .source-graph-method[data-marketing-method-motion] {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(32rem, 1.22fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(1.8rem, 4vw, 3.35rem);
  overflow: hidden;
  border: 1px solid rgba(151, 128, 94, 0.2);
  border-radius: 1.45rem;
  background:
    radial-gradient(circle at 79% 27%, rgba(184, 137, 84, 0.11), transparent 24rem),
    radial-gradient(circle at 18% 92%, rgba(105, 118, 94, 0.08), transparent 22rem),
    linear-gradient(145deg, #f8f3ea 0%, #f2ecdf 52%, #edf1e8 100%);
  box-shadow: 0 1.3rem 3.6rem rgba(58, 50, 40, 0.055);
}

.source-graph-page[data-source-territory="synlighet"] .source-graph-method[data-marketing-method-motion]::before {
  position: absolute;
  width: 34rem;
  height: 34rem;
  top: -20rem;
  right: -6rem;
  border: 1px solid rgba(184, 137, 84, 0.11);
  border-radius: 50%;
  box-shadow: 0 0 0 4rem rgba(184, 137, 84, 0.018), 0 0 0 8rem rgba(105, 118, 94, 0.012);
  content: "";
  pointer-events: none;
}

.source-graph-page[data-source-territory="synlighet"] .source-graph-method[data-marketing-method-motion] .source-graph-method__copy {
  position: relative;
  z-index: 2;
  max-width: 40rem;
  margin: 0;
}

.source-graph-page[data-source-territory="synlighet"] .source-graph-method[data-marketing-method-motion] .source-graph-method__copy h2 {
  max-width: 12ch;
  font-size: clamp(2.6rem, 4.2vw, 4.55rem);
  line-height: 0.98;
  letter-spacing: -0.052em;
}

.source-graph-page[data-source-territory="synlighet"] .source-graph-method[data-marketing-method-motion] .source-graph-method__copy > p:last-child {
  max-width: 48ch;
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.68;
}

.source-graph-page[data-source-territory="synlighet"] .source-graph-method[data-marketing-method-motion] .source-graph-method__sequence {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.source-graph-page[data-source-territory="synlighet"] .source-graph-method[data-marketing-method-motion] .ws-method-process {
  align-self: center;
  min-height: 13rem;
  padding-top: 1.3rem;
}

.source-graph-page[data-source-territory="synlighet"] .source-graph-method[data-marketing-method-motion] .source-graph-method__flow {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: clamp(0.8rem, 1.35vw, 1.1rem) !important;
  width: 100%;
  margin: 0;
}

.source-graph-page[data-source-territory="synlighet"] .source-graph-method[data-marketing-method-motion] .source-graph-method__step {
  display: flex;
  min-width: 0;
  min-height: 13.5rem;
  flex-direction: column;
  padding: clamp(1.1rem, 1.6vw, 1.4rem);
  border: 1px solid rgba(151, 128, 94, 0.18);
  border-radius: 1rem;
  background: rgba(255, 253, 250, 0.78);
  box-shadow: 0 0.6rem 1.7rem rgba(58, 50, 40, 0.035);
}

.source-graph-page[data-source-territory="synlighet"] .source-graph-method[data-marketing-method-motion] .source-graph-method__index {
  color: #9a7041;
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.025em;
}

.source-graph-page[data-source-territory="synlighet"] .source-graph-method[data-marketing-method-motion] .source-graph-method__step strong {
  margin-top: auto;
  margin-bottom: 0.45rem;
  color: #2e2c27;
  font-size: clamp(1.08rem, 1.35vw, 1.28rem);
  line-height: 1.22;
}

.source-graph-page[data-source-territory="synlighet"] .source-graph-method[data-marketing-method-motion] .source-graph-method__step p {
  margin: 0;
  color: #6d675d;
  font-size: 0.88rem;
  line-height: 1.55;
}

@media (max-width: 64rem) {
  .source-graph-page[data-source-territory="synlighet"] .source-graph-method[data-marketing-method-motion] {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .source-graph-page[data-source-territory="synlighet"] .source-graph-method[data-marketing-method-motion] .source-graph-method__flow {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 48rem) {
  .source-graph-page[data-source-territory="synlighet"] .source-graph-method[data-marketing-method-motion] {
    padding: 1.2rem;
    border-radius: 1rem;
  }

  .source-graph-page[data-source-territory="synlighet"] .source-graph-method[data-marketing-method-motion] .source-graph-method__flow {
    grid-template-columns: 1fr !important;
  }

  .source-graph-page[data-source-territory="synlighet"] .source-graph-method[data-marketing-method-motion] .source-graph-method__step {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .source-graph-page[data-source-territory="synlighet"] .source-graph-method[data-marketing-method-motion]::before {
    box-shadow: none;
  }
}
