/*
Theme Name: Hello Elementor Child
Template:   hello-elementor
Version:    1.0.0
*/

/** Color and decoration for links in the body text widgets **/
.elementor-widget-text-editor a {
  color: var(--e-global-color-accent);
	text-decoration:underline
}
.elementor-widget-text-editor a:hover {
  text-decoration: none;
}


/** Add margin beneath bulleted lists **/
.elementor-widget-text-editor ul {
  margin-bottom: 10px;
}

/** Hide the contact form legend **/
.gform_required_legend {
  display: none;
}

/** Hide the recaptcha badge in lieu of the disclaimer **/
.grecaptcha-badge {
  visibility: hidden !important;
  opacity: 0 !important;
}

/** Adjusted styles for Icon List Widget **/
.elementor-widget .elementor-icon-list-item,
.elementor-widget .elementor-icon-list-item a {
  align-items: start !important;
}

.elementor-icon-list-icon {
  margin-top: 5px;
}

/* HIDE Mobile Menu Items */
@media only screen and (min-width: 320px) and (max-width: 480px) {
  .mobile-menu {
    display: block !important;
  }
}

@media only screen and (min-width: 481px) {
  .mobile-menu {
    display: none !important;
  }
}

/** Global Contact Form Styling **/
.gform_wrapper .gfield {
  padding: 4px 0;
  margin-bottom: 4px; /* tighter spacing between fields */
}

/* Text, email, phone, number, textarea, select */
.gform_wrapper .ginput_container input[type="text"],
.gform_wrapper .ginput_container input[type="email"],
.gform_wrapper .ginput_container input[type="tel"],
.gform_wrapper .ginput_container input[type="number"],
.gform_wrapper .ginput_container textarea,
.gform_wrapper .ginput_container select {
    padding: 14px;
    border: 1px solid #ffffff;     /* white outline */
    background-color: transparent; /* transparent field */
    font-size: 20px;
    color: #ffffff;                /* typed text white */
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 6px;            /* gap under each field */
}

/* Focus state */
.gform_wrapper .ginput_container input[type="text"]:focus,
.gform_wrapper .ginput_container input[type="email"]:focus,
.gform_wrapper .ginput_container input[type="tel"]:focus,
.gform_wrapper .ginput_container input[type="number"]:focus,
.gform_wrapper .ginput_container textarea:focus,
.gform_wrapper .ginput_container select:focus {
    outline: none;
    border-color: #ffffff;
}

/* Placeholder text */
.gform_wrapper .ginput_container input::placeholder,
.gform_wrapper .ginput_container textarea::placeholder {
    color: rgba(255,255,255,0.8);
}

/* Reduce space before submit button */
.gform_wrapper .gform_footer {
    margin-top: 8px !important;
}

/* Field labels, if you use them */
.gform_wrapper .gfield_label {
  font-size: 20px;
  color: #ffffff;
}

/* Section title (Requested Service) and description */
.gform_wrapper .gsection_title,
.gform_wrapper .gsection_description {
  color: #ffffff;
}

/* Checkbox and radio labels */
.gform_wrapper .gchoice label,
.gform_wrapper .gfield_checkbox li label,
.gform_wrapper .gfield_radio li label {
  color: #ffffff;
  font-size: 18px;
}

/* Checkbox and radio inputs */
.gform_wrapper input[type="checkbox"],
.gform_wrapper input[type="radio"] {
  accent-color: #ffffff; /* modern browsers */
}

/* Optional hover for checkbox labels */
.gform_wrapper .gfield_checkbox li label:hover,
.gform_wrapper .gfield_radio li label:hover {
  opacity: 0.9;
}

/* reCAPTCHA disclaimer */
.recaptcha-disclaimer {
  font-size: 80%;
  color: #ffffff;
}

.recaptcha-disclaimer a { 
  color: var(--e-global-color-accent);
}

.recaptcha-disclaimer a:hover { 
  text-decoration: underline;
}

/* Dropdown options (open state) */
.gform_wrapper select option {
  color: #000000;          /* dark text so it’s readable */
  background-color: #ffffff;
}

/* ===============================
   Raven Metal – Mobile Stacked Tables
   Applies to all .raven-metal-table
================================ */

/* Desktop / Tablet default */
.raven-metal-table {
  width: 100%;
  border-collapse: collapse;
}

.raven-metal-table th,
.raven-metal-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #e5e5e5;
  text-align: left;
}

/* Mobile stacked layout */
@media (max-width: 767px) {

  .raven-metal-table thead {
    display: none;
  }

  .raven-metal-table,
  .raven-metal-table tbody,
  .raven-metal-table tr,
  .raven-metal-table td {
    display: block;
    width: 100%;
  }

  .raven-metal-table tr {
    margin-bottom: 16px;
    border: 1px solid #ddd;
    padding: 12px;
    background: #fff;
  }

  .raven-metal-table td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 6px 0;
    border: none;
    font-size: 14px;
  }

  .raven-metal-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #666;
    padding-right: 12px;
    white-space: nowrap;
  }
}
