.mail-card .mail-action {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.event-modal {
  width: min(1060px, calc(100vw - 32px));
  max-width: none;
  max-height: min(88vh, 900px);
  padding: 0;
  border: 0;
  border-radius: 24px;
  color: #303328;
  background: #fffcf5;
  box-shadow: 0 26px 80px rgba(29, 36, 20, .28);
  overflow: auto;
}

.event-modal::backdrop {
  background: rgba(24, 31, 20, .68);
  backdrop-filter: blur(4px);
}

.event-modal-layout {
  display: grid;
  grid-template-columns: minmax(260px, 35%) minmax(0, 1fr);
  min-height: 600px;
}

.event-modal-visual {
  position: relative;
  overflow: hidden;
  background: #dfe3c8;
}

.event-modal-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% center;
}

.event-modal-visual span {
  position: absolute;
  left: 24px;
  bottom: 24px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 252, 245, .94);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
}

.event-modal-content {
  position: relative;
  padding: 42px 48px 46px;
}

.event-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #eceede;
  color: #303328;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.event-modal-kicker {
  margin: 0 0 10px;
  color: #777c55;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
}

.event-modal h2 {
  margin: 0 32px 14px 0;
  font-family: "Fraunces", serif;
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  line-height: 1.18;
}

#event-modal-intro {
  margin: 0;
  line-height: 1.6;
}

.event-required-note {
  margin: 20px 0 22px;
  font-size: .85rem;
}

.event-required-note span,
.event-field label span {
  color: #a64120;
}

.event-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.event-field {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.event-field-wide {
  grid-column: 1 / -1;
}

.event-field label {
  margin-bottom: 8px;
  font-size: .9rem;
  font-weight: 600;
}

.event-field input,
.event-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid #cfd2b8;
  border-radius: 9px;
  background: #fff;
  color: #303328;
  font: inherit;
}

.event-field textarea {
  min-height: 100px;
  resize: vertical;
}

.event-field input:focus,
.event-field textarea:focus {
  outline: 2px solid #777c55;
  outline-offset: 1px;
}

.event-field small {
  margin-top: 5px;
  color: #62675b;
  font-size: .75rem;
}

.event-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.event-form-message {
  margin: 18px 0 0;
  color: #a0361d;
  font-weight: 600;
}

.event-submit {
  margin-top: 22px;
  padding: 12px 26px;
  border: 0;
  border-radius: 999px;
  background: #b7bd8f;
  color: #25291b;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.event-submit:hover,
.event-submit:focus-visible {
  background: #a3a87c;
}

.event-submit:disabled {
  opacity: .65;
  cursor: wait;
}

.event-success {
  display: flex;
  min-height: 500px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.event-success[hidden] { display: none; }

.event-success > span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: #dfe6c6;
  font-size: 1.8rem;
}

.event-success p {
  line-height: 1.6;
}

@media (max-width: 760px) {
  .event-modal {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
    border-radius: 18px;
  }

  .event-modal-layout { grid-template-columns: 1fr; }
  .event-modal-visual { height: 150px; }
  .event-modal-content { padding: 26px 20px 30px; }
  .event-form-grid { grid-template-columns: 1fr; }
  .event-field-wide { grid-column: auto; }
  .event-success { min-height: 300px; }
}
