.ays-event-rsvp-wrap {
  max-width: 760px;
  margin: 0 auto;
  color: #0A0A0A;
  box-sizing: border-box;
  overflow: visible;
  position: relative;
}

.ays-event-rsvp-wrap *,
.ays-event-rsvp-wrap *::before,
.ays-event-rsvp-wrap *::after {
  box-sizing: border-box;
}

.ays-event-rsvp-message {
  border: 1px solid #E8D8CC;
  border-radius: 6px;
  margin-bottom: 20px;
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.5;
}

.ays-event-rsvp-message-success {
  background: #F3EEE8;
}

.ays-event-rsvp-message-error {
  background: #FFF5F2;
  border-color: #D9A090;
}

.ays-event-rsvp-form {
  display: grid;
  gap: 18px;
}

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

.ays-event-rsvp-field {
  display: grid;
  gap: 7px;
}

.ays-event-rsvp-field label {
  font-size: 14px;
  font-weight: 700;
  color: #0A0A0A;
}

.ays-event-rsvp-field input,
.ays-event-rsvp-field select,
.ays-event-rsvp-field textarea {
  width: 100%;
  border: 1px solid #E8D8CC;
  border-radius: 4px;
  background: #FFFFFF;
  color: #0A0A0A;
  font: inherit;
  line-height: 1.4;
  padding: 12px 13px;
}

.ays-event-rsvp-field input[readonly] {
  background: #FBF9F6;
}

.ays-event-rsvp-field textarea {
  resize: vertical;
}

.ays-event-rsvp-submit {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  border: 0;
  border-radius: 4px;
  background: #0A0A0A;
  color: #FFFFFF;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 13px 26px;
  text-decoration: none;
}

.ays-event-rsvp-submit:hover,
.ays-event-rsvp-submit:focus {
  background: #967F42;
  color: #FFFFFF;
}

.ays-event-rsvp-card-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 43px;
  border-radius: 4px;
  background: #0A0A0A;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  padding: 12px 20px;
  text-align: center;
  text-decoration: none;
}

.ays-event-rsvp-card-button:hover,
.ays-event-rsvp-card-button:focus {
  background: #967F42;
  color: #FFFFFF;
}

.ays-event-rsvp-hp {
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: fixed;
  white-space: nowrap;
  width: 1px;
}

.ays-events-hero-copy {
  max-width: none;
  width: 100%;
  text-align: center;
  padding: 0;
}

.ays-events-empty-active .e-loop-nothing-found-message {
  display: none !important;
}

.ays-events-hero-headline {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 26px;
  font-weight: normal;
  line-height: 1.25;
  color: #0A0A0A;
  margin: 0 0 16px;
  padding: 0;
  letter-spacing: normal;
  text-transform: none;
}

.ays-events-hero-subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: #0A0A0A;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 24px;
}

.ays-events-hero-btn {
  display: inline-block;
  background-color: #0A0A0A;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.2s ease;
  margin-bottom: 16px;
}

.ays-events-hero-btn:hover,
.ays-events-hero-btn:focus {
  background-color: #967F42;
  color: #ffffff;
}

.ays-events-hero-phone {
  display: block;
  font-size: 14px;
  color: #8E7E74;
}

.ays-events-hero-phone a {
  color: #0A0A0A;
  font-weight: 600;
  text-decoration: none;
}

.ays-events-hero-phone a:hover,
.ays-events-hero-phone a:focus {
  color: #967F42;
}

@media (max-width: 767px) {
  .ays-event-rsvp-grid {
    grid-template-columns: 1fr;
  }

  .ays-events-hero-headline {
    font-size: 22px;
  }

  .ays-events-hero-subtitle {
    font-size: 15px;
  }

  .ays-events-hero-copy {
    max-width: 100%;
  }
}
