.elementor-261 .elementor-element.elementor-element-b08d792{--display:flex;}/* Start custom CSS for shortcode, class: .elementor-element-6e7287e *//* Ceremony Form Container */
.wpcf7 form {
  max-width: 800px;
  margin: 20px auto;
  background: #fdfbf6;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  font-family: "Georgia", serif;
  color: #222;
  line-height: 1.7;
  font-size: 18px; /* ✅ base font size large enough for all screens */
}

/* Headings */
.wpcf7 h1, .wpcf7 h2, .wpcf7 h3 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  text-align: center;
  margin-bottom: 20px;
  color: #2a2a2a;
}

.wpcf7 h1 { font-size: 32px; }
.wpcf7 h2 { font-size: 24px; margin-top: 25px; }
.wpcf7 h3 { font-size: 20px; margin-top: 15px; }

.wpcf7 p.subtitle {
  text-align: center;
  font-size: 18px;
  margin-bottom: 25px;
  color: #555;
}

/* Labels */
.wpcf7 label {
  display: block;
  margin: 12px 0 6px;
  font-weight: 500;
  font-size: 18px;
  color: #333;
}

.wpcf7 .required::after {
  content: " *";
  color: #d33;
}

/* Inputs */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-size: 18px;
  background: #fff;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  border-color: #a164d5;
  outline: none;
  box-shadow: 0 0 6px rgba(161,100,213,0.25);
}

.wpcf7 textarea {
  min-height: 150px;
  resize: vertical;
}

/* Phone group */
.phone-input {
  display: flex;
  gap: 12px;
}
.phone-input select { flex: 0.35; }
.phone-input input { flex: 1; }

/* Radio + Checkbox */
.radio-group, .checkbox { margin: 20px 0; }
.radio-group label, .checkbox label {
  font-size: 18px;
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}
.wpcf7 input[type="radio"], .wpcf7 input[type="checkbox"] {
  margin-right: 10px;
  transform: scale(1.3);
  accent-color: #a164d5;
}

/* Submit Button */
.wpcf7 .submitBtn {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 30px auto 0;
  padding: 16px 28px;
  font-size: 20px;
  font-weight: 600;
  border: none;
  border-radius: 40px;
  background: linear-gradient(135deg, #a164d5, #6c4aa4);
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}
.wpcf7 .submitBtn:hover {
  background: linear-gradient(135deg, #6c4aa4, #a164d5);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(108,74,164,0.3);
}

/* Footer */
.wpcf7 p.footer {
  text-align: center;
  margin-top: 40px;
  font-style: italic;
  font-size: 18px;
  color: #555;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .wpcf7 form {
    padding: 25px 20px;
    margin: 10px;
    font-size: 17px; /* ✅ still readable */
  }
  .wpcf7 h1 { font-size: 26px; }
  .wpcf7 h2 { font-size: 22px; }
  .wpcf7 h3 { font-size: 19px; }
  .phone-input { flex-direction: column; }
}

@media (max-width: 480px) {
  .wpcf7 form {
    padding: 20px 15px;
    font-size: 16px; /* ✅ keep minimum size legible */
  }
  .wpcf7 h1 { font-size: 24px; }
  .wpcf7 h2 { font-size: 20px; }
  .wpcf7 h3 { font-size: 18px; }
  .wpcf7 .submitBtn {
    font-size: 18px;
    padding: 14px 20px;
  }
}
/* Radio Group Styling */
.radio-group .wpcf7-list-item {
  display: block;               /* stack vertically */
  margin-bottom: 12px;          /* spacing between options */
}

.radio-group .wpcf7-list-item label {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 16px;
  font-weight: 500;
}

/* hover effect */
.radio-group .wpcf7-list-item label:hover {
  border-color: #666;
  background: #f9f9f9;
}

/* hide the default radio circle */
.radio-group .wpcf7-list-item input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* custom check state */
.radio-group .wpcf7-list-item input[type="radio"]:checked + span {
  background: #222;      /* selected background */
  color: #fff;           /* text color when active */
  border-color: #222;    /* border highlight */
  border-radius: 8px;
  padding: 10px 14px;
  display: inline-block;
  width: 100%;
}/* End custom CSS */