/* =========================================================
   GLOBAL / THEME
   ========================================================= */

/* Footer 2 big columns on sides and 1 small one in the middle */
.ast-builder-grid-row-3-equal .ast-builder-grid-row {
  grid-template-columns: 3fr 1fr 3fr;
}


/* =========================================================
   WPFORMS - BASE STYLING
   ========================================================= */

/* Keep WPForms fields from inheriting problematic positioning */
.wpforms-container .wpforms-field {
  position: inherit;
}

/* Input styling */
.wpforms-container input[type=date],
.wpforms-container input[type=datetime],
.wpforms-container input[type=datetime-local],
.wpforms-container input[type=email],
.wpforms-container input[type=month],
.wpforms-container input[type=number],
.wpforms-container input[type=password],
.wpforms-container input[type=range],
.wpforms-container input[type=search],
.wpforms-container input[type=tel],
.wpforms-container input[type=text],
.wpforms-container input[type=time],
.wpforms-container input[type=url],
.wpforms-container input[type=week],
.wpforms-container select,
.wpforms-container textarea {
  background: #ffffff;
  border-width: 0 0 1px 0;
  color: var(--ast-global-color-2);
  opacity: 0.5;
}

/* On focus */
.wpforms-container input:focus,
.wpforms-container select:focus,
.wpforms-container textarea:focus {
  outline: none;
  opacity: 1;
  border-color: var(--ast-global-color-0);
}

/* Don't allow resizing the Message box */
.wpforms-container textarea {
  resize: none;
}

/* Message box fixed height */
.wpforms-container .wpforms-field-textarea textarea.wpforms-field-medium {
  height: 136px;
}

/* Button styling */
.wpforms-form button {
  background-color: #0D355A !important;
  border-color: #0D355A !important;
  color: #ffffff !important; /* FIXED: was #fffff */
  transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
}

.wpforms-form button:hover {
  background-color: #FFFFFF !important;
  color: #0D355A !important; /* FIXED: added semicolon + !important */
}


/* =========================================================
   WPFORMS - FORM 41 SPECIFIC FIXES
   ========================================================= */

/* Keep the City/State/Zip/Guest Count row clickable (prevents overlap issues) */
#wpforms-form-41 .wpforms-one-third {
  position: relative;
  z-index: 50;
}

/* Keep the Tent Experience field below the next row so it can't steal clicks */
#wpforms-form-41 #wpforms-41-field_20-container {
  position: relative;
  z-index: 1;
  margin-top: 20px;
}


/* =========================================================
   WPFORMS - IMAGE CHOICES SELECTED STATE (FORM 41 / FIELD 20)
   Goal:
   - Default: white background + blue text
   - Selected: blue background + white text + pressed look
   ========================================================= */

/* The UL itself is the image-choices wrapper (from your inspect: id="wpforms-41-field_20") */
#wpforms-form-41 #wpforms-41-field_20.wpforms-image-choices li label {
  background: #ffffff !important;
  border: 2px solid #0D355A !important;
  border-radius: 10px;
  padding: 10px;
  display: block;
  transition: background-color .2s ease, border-color .2s ease, transform .12s ease, box-shadow .2s ease;
}

/* Default caption text (blue) */
#wpforms-form-41 #wpforms-41-field_20.wpforms-image-choices li label .wpforms-image-choices-label {
  color: #0D355A !important;
  font-weight: 600;
}

/* Selected: reverse colors + pressed/beveled look */
#wpforms-form-41 #wpforms-41-field_20.wpforms-image-choices li.wpforms-selected label {
  background: #0D355A !important;
  border-color: #0D355A !important;
  transform: scale(0.985);
  box-shadow: inset 0 2px 10px rgba(0,0,0,.18), 0 2px 10px rgba(0,0,0,.08);
}

/* Selected caption text (white) */
#wpforms-form-41 #wpforms-41-field_20.wpforms-image-choices li.wpforms-selected label .wpforms-image-choices-label {
  color: #ffffff !important;
}