.totk-rsvp-wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 36px 16px;
  color: #ffffff;
}

/* Hero Image */
.totk-hero img {
  width: 100%;
  display: block;
  border-radius: 20px 20px 0 0;
  object-fit: cover;
  max-height: 420px;
}

/* Main Card */
.totk-card {
  background: transparent;
  border: 1px solid rgba(157, 124, 70, 0.75);
  box-shadow: none;
  border-radius: 20px;
  padding: 38px;
  color: #ffffff;
}

.totk-hero + .totk-card {
  border-radius: 0 0 20px 20px;
}

/* Heading */
.totk-heading {
  text-align: center;
  margin-bottom: 28px;
}

.totk-kicker {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  color: #f6cd8a;
  margin-bottom: 10px;
}

.totk-heading h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  color: #9d7c46;
  font-family: Georgia, 'Times New Roman', serif;
}

.totk-heading p {
  margin: 12px 0 0;
  color: #f6cd8a;
  font-size: 18px;
}

/* Intro Text */
.totk-intro {
  max-width: 760px;
  margin: 0 auto 30px;
  font-size: 17px;
  line-height: 1.7;
  color: #ffffff;
}

/* Form */
.totk-rsvp-form {
  max-width: 680px;
  margin: 0 auto;
}

.totk-field {
  margin-bottom: 18px;
}

.totk-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #f6cd8a;
}

.totk-field input,
.totk-field select,
.totk-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #9d7c46;
/*   background: transparent; */
  border-radius: 10px;
  padding: 13px 14px;
  font-size: 16px;
  color: #ffffff;
}

.totk-field input::placeholder,
.totk-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.totk-field textarea {
  min-height: 110px;
}

/* Select Dropdown */
.totk-field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background-image:
    linear-gradient(45deg, transparent 50%, #9d7c46 50%),
    linear-gradient(135deg, #9d7c46 50%, transparent 50%);
  background-position:
    calc(100% - 22px) 50%,
    calc(100% - 14px) 50%;
  background-size:
    8px 8px,
    8px 8px;
  background-repeat: no-repeat;

  padding-right: 44px;
  cursor: pointer;
}

.totk-field select option {
  background: #111111;
  color: #ffffff;
}

/* Number Field Controls */
.totk-field input[type="number"]::-webkit-inner-spin-button,
.totk-field input[type="number"]::-webkit-outer-spin-button {
  opacity: 1;
  filter: sepia(1) saturate(3) hue-rotate(350deg);
  cursor: pointer;
}

.totk-field input[type="number"] {
  appearance: auto;
  -moz-appearance: number-input;
}

/* Buttons */
.totk-submit,
.totk-new-registration {
  width: 100%;
  border: 1px solid #9d7c46;
  border-radius: 12px;
  background: #9d7c46;
  color: #000000;
  padding: 15px 18px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.totk-submit:hover,
.totk-new-registration:hover {
  background: #f6cd8a;
  color: #000000;
}

.totk-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* Error Message */
.totk-error {
  max-width: 680px;
  margin: 0 auto 18px;
  background: rgba(138, 31, 20, 0.15);
  border: 1px solid #e2a7a1;
  color: #ffffff;
  padding: 12px 14px;
  border-radius: 10px;
}

/* Success Message */
.totk-success {
  max-width: 680px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid #9d7c46;
  padding: 24px;
  border-radius: 14px;
  text-align: center;
  color: #ffffff;
}

.totk-success-message {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 18px;
  color: #ffffff;
}

/* Big Screens: Show Hero Image, Hide Event Title/Subtitle */
@media (min-width: 769px) {
  .totk-hero {
    display: block !important;
  }

  .totk-heading {
    display: none !important;
  }
}

/* Small Screens: Hide Hero Image, Show Event Title/Subtitle */
@media (max-width: 768px) {
  .totk-hero,
  .totk-hero img {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
  }

  .totk-heading {
    display: block !important;
  }

  .totk-heading h1 {
    color: #9d7c46 !important;
  }

  .totk-heading p {
    color: #f6cd8a !important;
  }

  .totk-hero + .totk-card {
    border-radius: 20px !important;
  }
}

/* Smaller Mobile Padding */
@media (max-width: 640px) {
  .totk-card {
    padding: 26px 18px;
  }
}