/* SF Kontakt – anpassad för Shamanistiskt Förbunds tema */

.nwpk-block {
  position: relative;
  margin: 2.2rem 0 3rem;
  padding: 1.6rem 1.6rem 1.5rem;
  border: 1px solid var(--border, #d4c9b4);
  border-top: 4px solid var(--accent, #b82a1a);
  border-radius: var(--radius-lg, 14px);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.04) 100%),
    var(--bg-surface, #ede6d6);
  box-shadow:
    0 24px 60px rgba(28, 16, 8, 0.06),
    0 6px 18px rgba(28, 16, 8, 0.05);
  overflow: clip;
}

.nwpk-block::before {
  content: "";
  position: absolute;
  inset: auto -10% -12% auto;
  width: 320px;
  height: 320px;
  background:
    radial-gradient(circle, color-mix(in srgb, var(--accent, #b82a1a) 11%, transparent) 0%, transparent 68%);
  pointer-events: none;
  opacity: .45;
}

.nwpk-head {
  position: relative;
  z-index: 1;
  margin-bottom: 1.2rem;
}

.nwpk-title {
  margin: 0 0 .4rem;
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(2rem, 3vw, 2.5rem);
  line-height: 1.05;
  color: var(--text-primary, #1c1008);
}

.nwpk-intro,
.nwpk-direct-mail {
  margin: 0 0 .65rem;
  color: var(--text-secondary, #6b4226);
  font-family: var(--font-body, sans-serif);
  font-size: 1.05rem;
  line-height: 1.65;
}

.nwpk-direct-mail a {
  color: var(--accent, #b82a1a);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.nwpk-alert {
  position: relative;
  z-index: 1;
  margin: 0 0 1.1rem;
  padding: .95rem 1rem;
  border-radius: 10px;
  font-family: var(--font-body, sans-serif);
  font-weight: 500;
}

.nwpk-alert--success {
  background: color-mix(in srgb, var(--accent, #b82a1a) 10%, white);
  border: 1px solid color-mix(in srgb, var(--accent, #b82a1a) 20%, transparent);
  color: var(--text-primary, #1c1008);
}

.nwpk-alert--error {
  background: rgba(184, 42, 26, 0.08);
  border: 1px solid rgba(184, 42, 26, 0.22);
  color: #7c2418;
}

.nwpk-form {
  position: relative;
  z-index: 1;
}

.nwpk-grid {
  display: grid;
  gap: 1rem;
}

.nwpk-grid--two {
  grid-template-columns: 1fr 1fr;
}

.nwpk-field {
  margin-bottom: 1rem;
}

.nwpk-field label {
  display: block;
  margin: 0 0 .48rem;
  color: var(--text-secondary, #6b4226);
  font-size: .98rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-family: var(--font-body, sans-serif);
}

.nwpk-field input,
.nwpk-field textarea,
.nwpk-field select {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: .9rem 1rem;
  border: 1px solid color-mix(in srgb, var(--border, #d4c9b4) 82%, var(--text-secondary, #6b4226) 18%);
  border-radius: 12px;
  background: rgba(255,255,255,0.48);
  color: var(--text-primary, #1c1008);
  font-size: 1rem;
  line-height: 1.45;
  font-family: var(--font-body, sans-serif);
  box-sizing: border-box;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease, transform .2s ease;
}

.nwpk-field textarea {
  resize: vertical;
  min-height: 180px;
}

.nwpk-field input::placeholder,
.nwpk-field textarea::placeholder {
  color: var(--text-muted, #8c8279);
  opacity: 1;
}

.nwpk-field input:focus,
.nwpk-field textarea:focus,
.nwpk-field select:focus {
  outline: none;
  border-color: var(--accent, #b82a1a);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent, #b82a1a) 13%, transparent);
  background: rgba(255,255,255,0.7);
}

.nwpk-help {
  margin: .55rem 0 0;
  color: var(--text-secondary, #6b4226);
  font-size: .97rem;
}

.nwpk-context-box {
  margin-bottom: 1rem;
}

.nwpk-context[hidden] {
  display: none !important;
}

.nwpk-context {
  margin-bottom: 1rem;
  padding: .95rem;
  border: 1px dashed color-mix(in srgb, var(--accent, #b82a1a) 28%, var(--border, #d4c9b4) 72%);
  border-radius: 14px;
  background: color-mix(in srgb, var(--bg-page, #f4efe4) 55%, white 45%);
}

.nwpk-consent {
  margin: .45rem 0 1.1rem;
}

.nwpk-checkbox {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  color: var(--text-secondary, #6b4226);
  font-family: var(--font-body, sans-serif);
  line-height: 1.5;
}

.nwpk-checkbox input[type="checkbox"] {
  margin-top: .2rem;
  width: 18px;
  height: 18px;
  accent-color: var(--accent, #b82a1a);
  flex: 0 0 auto;
}

.nwpk-actions {
  margin-top: 1rem;
}

.nwpk-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: .88rem 1.4rem;
  border: 0;
  border-radius: 12px;
  background: var(--accent, #b82a1a);
  color: #fff;
  font-family: var(--font-body, sans-serif);
  font-size: .98rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 22px color-mix(in srgb, var(--accent, #b82a1a) 30%, transparent);
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.nwpk-button:hover,
.nwpk-button:focus {
  background: var(--accent-hover, #8c1f12);
  transform: translateY(-1px);
}

.nwpk-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 782px) {
  .nwpk-block {
    padding: 1.15rem 1rem 1.2rem;
    margin: 1.5rem 0 2rem;
  }

  .nwpk-grid--two {
    grid-template-columns: 1fr;
  }

  .nwpk-title {
    font-size: clamp(1.7rem, 9vw, 2.1rem);
  }

  .nwpk-button {
    width: 100%;
  }
}


.nwpk-alert {
  padding: 1.1rem 1.1rem 1rem;
  scroll-margin-top: 110px;
}

.nwpk-alert__title {
  margin: 0 0 .25rem;
  font-family: var(--font-display, Georgia, serif);
  font-size: 1.35rem;
  line-height: 1.15;
  font-weight: 700;
}

.nwpk-alert__text {
  font-size: 1rem;
}

.nwpk-alert__meta {
  margin-top: .45rem;
  font-size: .95rem;
  color: var(--text-secondary, #6b4226);
}

.nwpk-alert--success {
  box-shadow: 0 10px 24px rgba(28, 16, 8, 0.06);
}

.nwpk-alert--error {
  box-shadow: 0 10px 24px rgba(124, 36, 24, 0.06);
}
