.weser-pv-ref-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 16px 40px;
}

.weser-pv-ref-hero {
  text-align: center;
  margin-bottom: 32px;
}

.weser-pv-ref-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eef7ef;
  color: #2f6f3e;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.weser-pv-ref-hero h2,
.weser-pv-ref-cta h3,
.weser-pv-ref-card h3 {
  margin: 0 0 12px;
}

.weser-pv-ref-subheadline {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 14px;
}

.weser-pv-ref-intro {
  max-width: 860px;
  margin: 0 auto;
  color: #4a4a4a;
}

.weser-pv-ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin: 30px 0;
}

.weser-pv-ref-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.weser-pv-ref-image-box {
  aspect-ratio: 16 / 10;
  background: #f5f5f5;
}

.weser-pv-ref-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.weser-pv-ref-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #687076;
  font-weight: 600;
}

.weser-pv-ref-content {
  padding: 20px;
}

.weser-pv-ref-tags {
  margin: 0 0 10px;
  color: #2f6f3e;
  font-size: 13px;
  font-weight: 700;
}

.weser-pv-ref-card-subtitle {
  margin-top: -3px;
  color: #374151;
  font-weight: 600;
}

.weser-pv-ref-cta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, #10351a, #2f6f3e);
  color: #fff;
  margin-top: 16px;
}

.weser-pv-ref-button {
  display: inline-block;
  padding: 14px 20px;
  border-radius: 999px;
  background: #fff;
  color: #10351a;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

.weser-pv-ref-editor {
  margin-top: 40px;
  padding: 24px;
  border: 2px dashed #cdd5df;
  border-radius: 16px;
  background: #fafbfc;
}

.weser-pv-ref-editor-head p {
  margin-top: 0;
  color: #4b5563;
}

.weser-pv-ref-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.weser-pv-ref-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 16px;
}

.weser-pv-ref-form input[type="text"],
.weser-pv-ref-form input[type="url"],
.weser-pv-ref-form textarea {
  width: 100%;
  margin-top: 8px;
}

.weser-pv-ref-items-head,
.weser-pv-ref-item-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.weser-pv-ref-item {
  margin-top: 18px;
  padding: 18px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
}

.weser-upload-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.weser-image-preview-wrap {
  margin-top: 12px;
}

.weser-image-preview {
  display: block;
  max-width: 240px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid #d1d5db;
}

.weser-image-preview.is-hidden {
  display: none;
}

.weser-pv-ref-actions {
  margin-top: 22px;
}

@media (max-width: 800px) {
  .weser-pv-ref-cta,
  .weser-pv-ref-form-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .weser-pv-ref-cta {
    align-items: flex-start;
  }
}
