.mgor-download-grid {
  display: grid;
  gap: 28px;
}
.mgor-download-card {
  --mgor-accent: #3657ee;
  --mgor-accent-dark: #2948d8;
  --mgor-ink: #20323a;
  display: grid;
  grid-template-columns: minmax(180px, 32%) 1fr;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e7ecef;
  border-radius: 22px;
  box-shadow: 0 18px 55px rgba(31, 50, 58, 0.12);
  margin: 28px 0;
  color: var(--mgor-ink);
}
.mgor-download-visual {
  min-height: 340px;
  background: linear-gradient(145deg, #eef5f2, #dce9e4);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
}
.mgor-download-cover {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.2));
}
.mgor-download-placeholder {
  display: grid;
  place-items: center;
  width: 150px;
  aspect-ratio: 0.72;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
  font-size: 36px;
  font-weight: 800;
  color: var(--mgor-accent);
}
.mgor-download-content {
  padding: 42px;
}
.mgor-eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: #f06a4a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.mgor-download-card h3 {
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.12;
  margin: 0 0 14px;
  color: var(--mgor-ink);
}
.mgor-description {
  font-size: 16px;
  line-height: 1.65;
  color: #52636a;
}
.mgor-intro {
  margin: 24px 0 16px;
  font-weight: 700;
}
.mgor-email-label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}
.mgor-email-row {
  display: grid;
  gap: 12px;
}
.mgor-email-row input {
  width: 100% !important;
  min-width: 0 !important;
  height: 52px !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 0 30px !important;
  font-family: inherit !important;
  font-size: 15px !important;
  line-height: 52px !important;
  background: #f3f3f3 !important;
  color: var(--mgor-ink) !important;
  box-shadow: none !important;
  transition:
    box-shadow 0.2s,
    background-color 0.2s !important;
}
.mgor-email-row input::placeholder {
  color: #7a858d;
  opacity: 1;
}
.mgor-email-row input:focus {
  background: #fff !important;
  box-shadow:
    0 0 0 2px var(--mgor-accent),
    0 8px 25px rgba(54, 87, 238, 0.12) !important;
  outline: 0;
}
.mgor-email-row input.is-invalid,
.mgor-email-row input.is-invalid:focus {
  background: #fff4f3 !important;
  border: 2px solid #d92d20 !important;
  box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.1) !important;
  color: #7a271a !important;
}
.mgor-email-row button {
  width: 100%;
  min-height: 50px;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--mgor-accent) !important;
  color: #fff !important;
  padding: 0 28px !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: none !important;
  transition:
    transform 0.15s,
    background-color 0.15s,
    box-shadow 0.15s;
}
.mgor-email-row button:hover,
.mgor-email-row button:focus {
  transform: translateY(-1px);
  background: var(--mgor-accent-dark) !important;
  box-shadow: 0 10px 24px rgba(54, 87, 238, 0.24) !important;
  color: #fff !important;
}
.mgor-email-row button:disabled {
  opacity: 0.65;
  cursor: wait;
}
.mgor-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 15px;
  font-size: 13px;
  line-height: 1.5;
  color: #4d5e66;
  cursor: pointer;
}
.mgor-check input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--mgor-accent);
}
.mgor-check a {
  color: var(--mgor-accent);
  text-decoration: underline;
}
.mgor-check strong {
  display: inline;
  color: #8b3b2e;
  font-weight: 700;
}
.mgor-check.is-invalid {
  margin-left: -12px;
  margin-right: -12px;
  padding: 11px 12px;
  border: 2px solid #d92d20;
  border-radius: 10px;
  background: #fff4f3;
  color: #7a271a;
}
.mgor-form-message {
  min-height: 24px;
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 700;
}
.mgor-form-message.is-success {
  color: #12653d;
  background: #eaf8f0;
  border: 2px solid #3aaa72;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.45;
}
.mgor-form-message.is-error {
  color: #b42318;
}
.mgor-hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Alle Contact Form 7-formulieren: dezelfde duidelijke validatie als het downloadformulier. */
.wpcf7 .wpcf7-form-control-wrap {
  display: block;
  margin-bottom: 10px;
}
.wpcf7 .wpcf7-form-control-wrap .wpcf7-not-valid {
  border: 2px solid #d92d20 !important;
  background: #fff5f4 !important;
  color: #20323a !important;
  box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.08) !important;
}
.wpcf7 .wpcf7-form-control-wrap .wpcf7-not-valid:focus {
  border-color: #d92d20 !important;
  box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.16) !important;
  outline: none !important;
}
.wpcf7 .wpcf7-form-control-wrap .wpcf7-not-valid-tip {
  display: block !important;
  position: static !important;
  inset: auto !important;
  width: auto !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 6px 18px 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #d92d20 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  text-align: left !important;
  box-shadow: none !important;
}
@media (max-width: 760px) {
  .mgor-download-card {
    grid-template-columns: 1fr;
    border-radius: 17px;
  }
  .mgor-download-visual {
    min-height: 270px;
  }
  .mgor-download-cover {
    max-height: 310px;
  }
  .mgor-download-content {
    padding: 28px 22px;
  }
}
