body.page-id-435 {
  background-color: #ffffff !important;
}

body.page-id-435 .site-content,
body.page-id-435 .content-area,
body.page-id-435 .entry-content,
body.page-id-435 .ast-article-single {
  background-color: #ffffff !important;
}.ruyi-header-quote {
  background: #0066ff !important;
  color: #ffffff !important;
  padding: 10px 20px;
  border: 2px solid #0066ff;
  border-radius: 7px;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.ruyi-header-quote:hover,
.ruyi-header-quote:focus {
  background: #ffffff !important;
  color: #0066ff !important;
  border: 2px solid #0066ff;
  opacity: 1 !important;
  text-decoration: none !important;
}@media (max-width: 921px) {
  .ast-header-break-point .main-header-menu .menu-item-has-children {
    position: relative;
  }

  .ast-header-break-point .main-header-menu .menu-item-has-children > .ast-menu-toggle {
    position: absolute !important;
    top: 0;
    right: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 99;
    background: transparent !important;
    border: none !important;
    text-align: right !important;
    padding-right: 25px !important;
  }

  .ast-header-break-point .main-header-menu .menu-item-has-children > a {
    padding-right: 55px !important;
  }
}@media (max-width: 767px) {

  /* Main homepage quote form box */
  body.home .srfm-form-container,
  body.home .srfm-form-wrapper,
  body.home form {
    border-radius: 24px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  /* Remove extra space under the submit button */
  body.home .srfm-submit-wrap,
  body.home .srfm-submit-container,
  body.home .srfm-button-wrap {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  /* Make button sit flush at bottom */
  body.home .srfm-submit-button,
  body.home form button,
  body.home form input[type="submit"] {
    width: 100% !important;
    border-radius: 0 !important;
    margin-bottom: 0 !important;
  }

}@media (max-width: 767px) {

  body.home .srfm-form-container,
  body.home .srfm-form-wrapper,
  body.home form {
    overflow: visible !important;
  }

  body.home select,
  body.home .srfm-select,
  body.home .srfm-dropdown {
    max-height: none !important;
    overflow: visible !important;
  }

}/* Ruyi Soft Card FAQ Style */

.ruyi-soft-faq {
  max-width: 900px;
  margin: 40px auto;
}

.ruyi-soft-faq details {
  background: #ffffff;
  border: 1px solid #dbe6f0;
  border-radius: 26px;
  margin-bottom: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(18, 53, 91, 0.08);
  transition: all 0.25s ease;
}

.ruyi-soft-faq details:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(18, 53, 91, 0.12);
}

.ruyi-soft-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 24px 70px 24px 30px;
  font-size: 21px;
  font-weight: 800;
  color: #12355b;
  position: relative;
  line-height: 1.35;
}

.ruyi-soft-faq summary::-webkit-details-marker {
  display: none;
}

.ruyi-soft-faq summary::after {
  content: "+";
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #eaf4ff;
  color: #0b6fb3;
  font-size: 26px;
  font-weight: 700;
  line-height: 31px;
  text-align: center;
}

.ruyi-soft-faq details[open] summary {
  background: #0b6fb3;
  color: #ffffff;
}

.ruyi-soft-faq details[open] summary::after {
  content: "−";
  background: #ffffff;
  color: #0b6fb3;
}

.ruyi-soft-faq details > *:not(summary) {
  padding: 26px 34px 32px;
  font-size: 17px;
  line-height: 1.7;
  color: #334155;
  background: #ffffff;
  border-top: 1px solid #e5edf5;
}

.ruyi-soft-faq details > *:not(summary) p {
  margin-top: 0;
  margin-bottom: 14px;
}

.ruyi-soft-faq details > *:not(summary) p:last-child {
  margin-bottom: 0;
}

/* Mobile */
@media (max-width: 600px) {
  .ruyi-soft-faq {
    margin: 25px 10px;
  }

  .ruyi-soft-faq details {
    border-radius: 20px;
    margin-bottom: 14px;
  }

  .ruyi-soft-faq summary {
    padding: 20px 58px 20px 22px;
    font-size: 18px;
  }

  .ruyi-soft-faq summary::after {
    right: 20px;
    width: 30px;
    height: 30px;
    font-size: 23px;
    line-height: 28px;
  }

  .ruyi-soft-faq details > *:not(summary) {
    padding: 22px 24px 26px;
    font-size: 16px;
  }
}/* Ruyi Claim Scenario Accordion - Match FAQ Cards */

.ruyi-claim-scenarios {
  max-width: 760px;
  margin: 24px auto 40px;
}

.ruyi-claim-scenarios details {
  background: #ffffff;
  border: 1px solid #dbe6f0;
  border-radius: 22px;
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(18, 53, 91, 0.08);
  transition: all 0.25s ease;
}

.ruyi-claim-scenarios details:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(18, 53, 91, 0.12);
}

.ruyi-claim-scenarios summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 64px 20px 26px;
  font-size: 18px;
  font-weight: 800;
  color: #12355b;
  position: relative;
  line-height: 1.35;
}

.ruyi-claim-scenarios summary::-webkit-details-marker {
  display: none;
}

.ruyi-claim-scenarios summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eaf4ff;
  color: #0b6fb3;
  font-size: 24px;
  font-weight: 700;
  line-height: 29px;
  text-align: center;
}

.ruyi-claim-scenarios details[open] summary {
  background: #0b6fb3;
  color: #ffffff;
}

.ruyi-claim-scenarios details[open] summary::after {
  content: "−";
  background: #ffffff;
  color: #0b6fb3;
}

.ruyi-claim-scenarios details > *:not(summary) {
  padding: 22px 30px 28px;
  font-size: 16px;
  line-height: 1.7;
  color: #334155;
  background: #ffffff;
  border-top: 1px solid #e5edf5;
}

.ruyi-claim-scenarios details > *:not(summary) p {
  margin-top: 0;
  margin-bottom: 12px;
}

.ruyi-claim-scenarios details > *:not(summary) p:last-child {
  margin-bottom: 0;
}

/* Mobile */
@media (max-width: 600px) {
  .ruyi-claim-scenarios {
    margin: 20px 10px 35px;
  }

  .ruyi-claim-scenarios details {
    border-radius: 20px;
    margin-bottom: 14px;
  }

  .ruyi-claim-scenarios summary {
    padding: 18px 58px 18px 22px;
    font-size: 17px;
  }

  .ruyi-claim-scenarios summary::after {
    right: 20px;
    width: 30px;
    height: 30px;
    font-size: 23px;
    line-height: 28px;
  }

  .ruyi-claim-scenarios details > *:not(summary) {
    padding: 22px 24px 26px;
    font-size: 16px;
  }
}/* Round the image properly and remove white corners */
.hair-beauty-image,
.hair-beauty-image img {
  border-radius: 16px !important;
}

.hair-beauty-image {
  overflow: hidden !important;
  padding: 0 !important;
  background: transparent !important;
  line-height: 0;
}

.hair-beauty-image img {
  display: block;
  width: 100%;
  height: auto;
  border: none !important;
}.ria-seo-dropdown {
  max-width: 1200px;
  margin: 35px auto;
  padding: 0 20px;
}

.ria-seo-dropdown details {
  border-top: 1px solid #d8e0ea;
  border-bottom: 1px solid #d8e0ea;
  padding: 10px 0;
}

.ria-seo-dropdown summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 18px;
  color: #07244d;
  list-style: none;
  padding: 16px 0;
}

.ria-seo-dropdown summary::before {
  content: "▾ ";
  margin-right: 6px;
}

.ria-seo-dropdown details[open] summary::before {
  content: "▴ ";
}

.ria-seo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 35px;
  padding: 15px 0 25px;
}

.ria-seo-grid span {
  font-size: 15px;
  color: #4f6478;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .ria-seo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .ria-seo-grid {
    grid-template-columns: 1fr;
  }

  .ria-seo-dropdown summary {
    font-size: 16px;
  }
}html {
  scroll-behavior: smooth;
}

#quote-form {
  scroll-margin-top: 120px;
}

/* Bottom quote banner */
.ruyi-quote-cta {
  width: 100%;
  margin: 70px auto 0;
  padding: 90px 20px;
  background: linear-gradient(135deg, #061b35 0%, #082b55 55%, #0b3c73 100%);
  position: relative;
  overflow: hidden;
}

.ruyi-quote-cta::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  background: rgba(142, 216, 255, 0.20);
  border-radius: 50%;
  filter: blur(8px);
}

.ruyi-quote-cta::after {
  content: "";
  position: absolute;
  bottom: -140px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.ruyi-quote-cta-inner {
  max-width: 950px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.ruyi-quote-eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #d8ecff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.ruyi-quote-cta h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
}

.ruyi-quote-cta h2::after {
  content: "";
  display: block;
  width: 210px;
  height: 7px;
  background: #8ed8ff;
  border-radius: 999px;
  margin: 14px auto 0;
}

.ruyi-quote-subtext {
  max-width: 720px;
  margin: 24px auto 34px;
  color: #e9f5ff;
  font-size: 20px;
  line-height: 1.5;
}

.ruyi-quote-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ruyi-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  padding: 15px 28px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none !important;
  transition: all 0.25s ease;
}

.ruyi-primary-btn {
  background: #ffffff;
  color: #07244d !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.ruyi-primary-btn:hover {
  transform: translateY(-2px);
  background: #eaf6ff;
}

.ruyi-call-btn {
  background: #8ed8ff;
  color: #07244d !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.ruyi-call-btn:hover {
  transform: translateY(-2px);
  background: #b9e8ff;
}

/* Mobile */
@media (max-width: 700px) {
  .ruyi-quote-cta {
    padding: 65px 18px;
    margin-top: 50px;
  }

  .ruyi-quote-subtext {
    font-size: 17px;
  }

  .ruyi-quote-buttons {
    flex-direction: column;
    align-items: center;
  }

  .ruyi-cta-btn {
    width: 100%;
    max-width: 330px;
  }

  .ruyi-quote-cta h2::after {
    width: 150px;
  }
}/* Smooth scroll to quote form */
html {
  scroll-behavior: smooth;
}

#quote-form {
  scroll-margin-top: 130px;
}

/* Shielded-style Ruyi quote card */
.ruyi-shield-quote-card {
  max-width: 540px;
  width: 100%;
  margin: 0 auto;
  padding: 38px 38px 34px;
  background: #f7f9fc;
  border: 3px solid #07244d;
  border-radius: 34px;
  box-shadow: 0 26px 60px rgba(7, 36, 77, 0.18);
  position: relative;
}

/* Heading */
.ruyi-shield-quote-card h1,
.ruyi-shield-quote-card h2,
.ruyi-shield-quote-card h3 {
  margin: 0 0 8px !important;
  color: #061b35 !important;
  font-size: 30px !important;
  font-weight: 850 !important;
  line-height: 1.15 !important;
  text-align: left !important;
}

/* Small subtitle if you add one */
.ruyi-shield-quote-card p {
  margin: 0 0 24px !important;
  color: #2c3d52;
  font-size: 15px;
  font-weight: 600;
}

/* WPForms container reset */
.ruyi-shield-quote-card .wpforms-container {
  margin: 0 !important;
}

.ruyi-shield-quote-card .wpforms-form {
  margin: 0 !important;
}

/* Field spacing */
.ruyi-shield-quote-card .wpforms-field {
  padding: 0 0 18px !important;
  margin: 0 !important;
}

/* Input fields */
.ruyi-shield-quote-card input,
.ruyi-shield-quote-card select,
.ruyi-shield-quote-card textarea {
  width: 100% !important;
  min-height: 56px !important;
  background: #ffffff !important;
  border: 1.8px solid #aeb8c6 !important;
  border-radius: 999px !important;
  color: #061b35 !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  padding: 14px 22px !important;
  box-shadow: none !important;
  transition: all 0.2s ease;
}

/* Textarea should not be pill-shaped */
.ruyi-shield-quote-card textarea {
  border-radius: 22px !important;
  min-height: 110px !important;
}

/* Placeholder */
.ruyi-shield-quote-card input::placeholder,
.ruyi-shield-quote-card textarea::placeholder {
  color: #6d7b8f !important;
  opacity: 1;
}

/* Focus effect */
.ruyi-shield-quote-card input:focus,
.ruyi-shield-quote-card select:focus,
.ruyi-shield-quote-card textarea:focus {
  outline: none !important;
  border-color: #006eff !important;
  box-shadow: 0 0 0 4px rgba(0, 110, 255, 0.14) !important;
}

/* First name / last name spacing */
.ruyi-shield-quote-card .wpforms-field-row {
  display: flex !important;
  gap: 16px !important;
}

.ruyi-shield-quote-card .wpforms-field-row-block {
  padding: 0 !important;
}

/* Dropdown arrow spacing */
.ruyi-shield-quote-card select {
  cursor: pointer;
}

/* Submit button */
.ruyi-shield-quote-card button[type="submit"],
.ruyi-shield-quote-card .wpforms-submit {
  width: 100% !important;
  min-height: 56px !important;
  margin-top: 4px !important;
  background: #006eff !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 999px !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: 0.2px;
  box-shadow: 0 16px 34px rgba(0, 110, 255, 0.28);
  transition: all 0.25s ease;
}

.ruyi-shield-quote-card button[type="submit"]:hover,
.ruyi-shield-quote-card .wpforms-submit:hover {
  background: #0058d6 !important;
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(0, 110, 255, 0.35);
}

/* Small disclaimer text */
.ruyi-shield-quote-card .wpforms-field-html,
.ruyi-shield-quote-card .wpforms-field-html p {
  font-size: 12.5px !important;
  line-height: 1.45 !important;
  color: #526173 !important;
  margin-bottom: 14px !important;
}

.ruyi-shield-quote-card .wpforms-field-html a {
  color: #006eff !important;
  font-weight: 700;
  text-decoration: none;
}

.ruyi-shield-quote-card .wpforms-field-html a:hover {
  text-decoration: underline;
}

/* Mobile */
@media (max-width: 768px) {
  .ruyi-shield-quote-card {
    max-width: 100%;
    padding: 28px 22px 26px;
    border-radius: 26px;
  }

  .ruyi-shield-quote-card h1,
  .ruyi-shield-quote-card h2,
  .ruyi-shield-quote-card h3 {
    font-size: 26px !important;
    text-align: center !important;
  }

  .ruyi-shield-quote-card p {
    text-align: center;
  }

  .ruyi-shield-quote-card .wpforms-field-row {
    flex-direction: column !important;
    gap: 0 !important;
  }

  .ruyi-shield-quote-card input,
  .ruyi-shield-quote-card select,
  .ruyi-shield-quote-card textarea {
    min-height: 54px !important;
  }
/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

#quote-form {
  scroll-margin-top: 130px;
}

/* Outer form card */
.ruyi-form-card {
  max-width: 540px !important;
  margin: 0 auto !important;
  padding: 36px !important;
  background: #f7f9fc !important;
  border: 3px solid #07244d !important;
  border-radius: 32px !important;
  box-shadow: 0 26px 65px rgba(7, 36, 77, 0.18) !important;
}

/* Heading */
.ruyi-form-card h2 {
  margin: 0 0 24px !important;
  color: #061b35 !important;
  font-size: 34px !important;
  font-weight: 800 !important;
}

/* Target form fields generally */
.ruyi-form-card input,
.ruyi-form-card select,
.ruyi-form-card textarea {
  width: 100% !important;
  min-height: 54px !important;
  border-radius: 14px !important;
  border: 1px solid #aeb8c6 !important;
  background: #ffffff !important;
  color: #061b35 !important;
  font-size: 15px !important;
  padding: 14px 16px !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

/* Field spacing */
.ruyi-form-card input,
.ruyi-form-card select,
.ruyi-form-card textarea,
.ruyi-form-card .wp-block,
.ruyi-form-card .srfm-block,
.ruyi-form-card .srfm-field-wrap {
  margin-bottom: 14px !important;
}

/* Submit button */
.ruyi-form-card button,
.ruyi-form-card input[type="submit"] {
  width: 100% !important;
  min-height: 56px !important;
  border-radius: 999px !important;
  background: #006eff !important;
  color: #ffffff !important;
  border: none !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  box-shadow: 0 14px 30px rgba(0, 110, 255, 0.28) !important;
  cursor: pointer !important;
}

.ruyi-form-card button:hover,
.ruyi-form-card input[type="submit"]:hover {
  background: #0058d6 !important;
}

/* Mobile */
@media (max-width: 768px) {
  .ruyi-form-card {
    padding: 26px 20px !important;
    border-radius: 24px !important;
  }

  .ruyi-form-card h2 {
    text-align: center !important;
    font-size: 28px !important;
  }
}/* Make inner form background match Ruyi light blue and reduce spacing */
#quote-form {
  background: #f1f8ff !important;
}

/* Remove the white box inside the quote form */
#quote-form form,
#quote-form .srfm-form,
#quote-form .srfm-form-container,
#quote-form .srfm-form-wrap,
#quote-form .wp-block-shortcode,
#quote-form .ruyi-quote-card-form {
  background: #f1f8ff !important;
  box-shadow: none !important;
  border: none !important;
}

/* Reduce big vertical spacing between fields */
#quote-form .srfm-block,
#quote-form .srfm-field-wrap,
#quote-form .wp-block,
#quote-form .srfm-field,
#quote-form .srfm-row {
  margin-bottom: 12px !important;
  padding-bottom: 0 !important;
}

/* Reduce space inside the form area */
#quote-form form {
  padding: 0 !important;
  margin: 0 !important;
}

/* Neaten input fields */
#quote-form input,
#quote-form select,
#quote-form textarea {
  margin-bottom: 0 !important;
  background: #ffffff !important;
}

/* Reduce gap above button */
#quote-form button,
#quote-form input[type="submit"] {
  margin-top: 8px !important;
}#quote-form {
  padding: 28px 32px !important;
}

#quote-form h2 {
  margin-bottom: 18px !important;
}background: #f1f8ff !important;
/* Force quote card and inner form area to match */
#quote-form,
#quote-form > *,
#quote-form div,
#quote-form form,
#quote-form fieldset {
  background-color: #f1f8ff !important;
}

/* Keep the actual input fields white */
#quote-form input,
#quote-form select,
#quote-form textarea {
  background-color: #ffffff !important;
}

/* Reduce spacing between form rows */
#quote-form .wp-block,
#quote-form .wp-block-group,
#quote-form .wp-block-shortcode,
#quote-form div,
#quote-form p {
  margin-top: 0 !important;
  margin-bottom: 10px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Keep the heading spacing normal */
#quote-form h2 {
  margin-bottom: 18px !important;
}

/* Fix input field spacing */
#quote-form input,
#quote-form select,
#quote-form textarea {
  margin-bottom: 0 !important;
}

/* Reduce button top gap */
#quote-form button,
#quote-form input[type="submit"] {
  margin-top: 8px !important;
}#quote-form {
  background: red !important;
}.ruyi-form-card {
  background: red !important;
}html {
  scroll-behavior: smooth;
}

#quote-form {
  scroll-margin-top: 130px;
}

.ruyi-form-card {
  max-width: 540px !important;
  margin: 0 auto !important;
  padding: 30px 34px !important;
  background: #f1f8ff !important;
  border: 3px solid #07244d !important;
  border-radius: 32px !important;
  box-shadow: 0 26px 65px rgba(7, 36, 77, 0.18) !important;
}

.ruyi-form-card h2 {
  margin-top: 0 !important;
  margin-bottom: 18px !important;
  color: #061b35 !important;
  font-size: 34px !important;
  font-weight: 800 !important;
}.ruyi-quote-box {
  max-width: 540px !important;
  margin: 0 auto !important;
  padding: 34px !important;
  background: #f1f8ff !important;
  border: 3px solid #07244d !important;
  border-radius: 32px !important;
  box-shadow: 0 24px 60px rgba(7, 36, 77, 0.16) !important;
}

.ruyi-quote-box h2 {
  margin-top: 0 !important;
  margin-bottom: 22px !important;
  color: #061b35 !important;
}.ruyi-quote-box {
  max-width: 540px !important;
  margin: 0 auto !important;
  padding: 34px !important;
  background: #f1f8ff !important;
  border: 3px solid #07244d !important;
  border-radius: 32px !important;
  box-shadow: 0 24px 60px rgba(7, 36, 77, 0.16) !important;
}

.ruyi-quote-box h2 {
  margin-top: 0 !important;
  margin-bottom: 22px !important;
  color: #061b35 !important;
}/* Final quote form box fix */
#quote-form {
  max-width: 560px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 34px 34px 32px !important;
  background: #f1f8ff !important;
  border: 3px solid #07244d !important;
  border-radius: 28px !important;
  box-shadow: 0 24px 55px rgba(7, 36, 77, 0.16) !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

/* Heading */
#quote-form h2 {
  margin: 0 0 24px !important;
  padding: 0 !important;
  color: #061b35 !important;
  font-size: 34px !important;
  line-height: 1.1 !important;
  font-weight: 800 !important;
}

/* Shortcode/form wrapper spacing */
#quote-form .wp-block-shortcode,
#quote-form form,
#quote-form .srfm-form-container,
#quote-form .srfm-form {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Field spacing */
#quote-form input,
#quote-form select,
#quote-form textarea {
  margin-bottom: 14px !important;
}

/* Make fields neat */
#quote-form input,
#quote-form select,
#quote-form textarea {
  min-height: 48px !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  border: 1px solid #b9c4d2 !important;
  box-sizing: border-box !important;
}

/* Submit button */
#quote-form button,
#quote-form input[type="submit"] {
  width: 100% !important;
  min-height: 52px !important;
  margin-top: 4px !important;
  margin-bottom: 0 !important;
  border-radius: 8px !important;
  background: #006eff !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border: none !important;
}

/* Mobile */
@media (max-width: 768px) {
  #quote-form {
    padding: 26px 20px !important;
    border-radius: 22px !important;
  }

  #quote-form h2 {
    font-size: 28px !important;
    text-align: center !important;
  }
}.ruyi-rounded-image {
  border-radius: 14px !important;
  overflow: hidden !important;
  background: transparent !important;
  padding: 0 !important;
  line-height: 0 !important;
}

.ruyi-rounded-image img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  border-radius: 14px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}/* Mobile quote form tightening */
@media (max-width: 768px) {

  #quote-form {
    padding: 22px 18px !important;
    border-radius: 26px !important;
  }

  #quote-form h2 {
    font-size: 28px !important;
    line-height: 1.1 !important;
    margin: 0 0 16px !important;
    text-align: center !important;
  }

  /* Reduce the huge vertical gaps */
  #quote-form form,
  #quote-form .wp-block-shortcode,
  #quote-form .srfm-form-container,
  #quote-form .srfm-form,
  #quote-form .srfm-row,
  #quote-form .wp-block-columns {
    gap: 12px !important;
    row-gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #quote-form .wp-block,
  #quote-form .srfm-block,
  #quote-form .srfm-field-wrap,
  #quote-form .wp-block-sureforms-field,
  #quote-form .srfm-field {
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  /* Field sizing */
  #quote-form input,
  #quote-form select,
  #quote-form textarea {
    height: 52px !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 12px 18px !important;
    border-radius: 10px !important;
    background-color: #ffffff !important;
    box-sizing: border-box !important;
  }

  /* Make the Insurance Required dropdown all white */
  #quote-form select {
    appearance: none !important;
    -webkit-appearance: none !important;
    background-color: #ffffff !important;
    background-image:
      linear-gradient(45deg, transparent 50%, #607086 50%),
      linear-gradient(135deg, #607086 50%, transparent 50%) !important;
    background-position:
      calc(100% - 22px) 50%,
      calc(100% - 16px) 50% !important;
    background-size: 6px 6px, 6px 6px !important;
    background-repeat: no-repeat !important;
    padding-right: 48px !important;
  }

  /* Remove grey wrapper background around dropdown */
  #quote-form .srfm-select-wrap,
  #quote-form .srfm-input-group,
  #quote-form .srfm-control,
  #quote-form div:has(> select) {
    background: #ffffff !important;
    border-radius: 10px !important;
  }

  /* Button closer to dropdown */
  #quote-form button,
  #quote-form input[type="submit"] {
    height: 54px !important;
    min-height: 54px !important;
    margin-top: 4px !important;
    margin-bottom: 0 !important;
    border-radius: 10px !important;
  }
}.ruyi-quote-eyebrow {
  position: relative !important;
  top: -22px !important;
  margin-bottom: 6px !important;
}.steadfast-logo-small img {
  max-width: 180px !important;
  width: 100% !important;
  height: auto !important;
}

.steadfast-logo-small {
  max-width: 180px !important;
}.wpforms-confirmation-container-full {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 25px auto !important;
  max-width: 900px !important;
  overflow: visible !important;
  white-space: normal !important;
}

.ruyi-wpforms-success {
  background: #ffffff !important;
  border: 2px solid #d7e8f5 !important;
  border-radius: 22px !important;
  padding: 34px 28px !important;
  text-align: center !important;
  box-shadow: 0 12px 28px rgba(0, 31, 84, 0.08) !important;
  font-family: inherit !important;
}

.ruyi-success-icon {
  width: 54px !important;
  height: 54px !important;
  margin: 0 auto 16px auto !important;
  border-radius: 50% !important;
  background: #e8f7ff !important;
  color: #003366 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 28px !important;
  font-weight: 700 !important;
}

.ruyi-wpforms-success h3 {
  margin: 0 0 12px 0 !important;
  color: #002b5c !important;
  font-size: 26px !important;
  font-weight: 700 !important;
}

.ruyi-wpforms-success p {
  margin: 0 auto !important;
  color: #334155 !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  max-width: 650px !important;
}/* Food and Beverage page - make background white */
body.page-id-433 {
  background: #ffffff !important;
}

body.page-id-433 .site-content,
body.page-id-433 .entry-content,
body.page-id-433 main,
body.page-id-433 .wp-site-blocks {
  background: #ffffff !important;
}/* Food and Beverage page - force white background */
body.page-id-433,
body.page-id-433 #page,
body.page-id-433 .site,
body.page-id-433 .site-content,
body.page-id-433 .ast-container,
body.page-id-433 .entry-content,
body.page-id-433 main {
  background: #ffffff !important;
}/* Food and Beverage page - force main page background white */
body.page-id-433,
body.page-id-433 #page,
body.page-id-433 .site,
body.page-id-433 .site-content,
body.page-id-433 .content-area,
body.page-id-433 #primary,
body.page-id-433 main,
body.page-id-433 article,
body.page-id-433 .entry-content {
  background-color: #ffffff !important;
}

/* Food and Beverage page - remove blue from main top-level sections */
body.page-id-433 .entry-content > .wp-block-group,
body.page-id-433 .entry-content > .wp-block-cover,
body.page-id-433 .entry-content > .wp-block-columns,
body.page-id-433 .entry-content > .uagb-container,
body.page-id-433 .entry-content > .stk-block,
body.page-id-433 .entry-content > section {
  background-color: #ffffff !important;
}/* Food and Beverage hero image full width */
body.page-id-433 .entry-content > *:first-child {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  border-radius: 0 !important;
  overflow: hidden !important;
}

body.page-id-433 .entry-content > *:first-child img,
body.page-id-433 .entry-content > *:first-child .wp-block-cover__image-background {
  width: 100% !important;
  height: 430px !important;
  object-fit: cover !important;
  border-radius: 0 !important;
}body.page-id-433,
body.page-id-433 .site,
body.page-id-433 #page,
body.page-id-433 #content,
body.page-id-433 .site-content,
body.page-id-433 .ast-container,
body.page-id-433 .content-area,
body.page-id-433 #primary,
body.page-id-433 .entry-content,
body.page-id-433 .ast-article-single {
  background: #ffffff !important;
  background-color: #ffffff !important;
}
body.page-id-433,
body.page-id-433 .site,
body.page-id-433 #page,
body.page-id-433 #content,
body.page-id-433 .site-content,
body.page-id-433 .ast-container,
body.page-id-433 .content-area,
body.page-id-433 #primary,
body.page-id-433 .entry-content,
body.page-id-433 .ast-article-single {
  background: #ffffff !important;
  background-color: #ffffff !important;
/* Food & Beverage page - white background */
body.page-id-433,
body.page-id-433 #page,
body.page-id-433 .site,
body.page-id-433 #content,
body.page-id-433 .site-content,
body.page-id-433 .ast-container,
body.page-id-433 .content-area,
body.page-id-433 #primary,
body.page-id-433 main,
body.page-id-433 article,
body.page-id-433 .entry-content,
body.page-id-433 .ast-article-single {
  background: #ffffff !important;
  background-color: #ffffff !important;
/* Food & Beverage page - white background */
body.page-id-433,
body.page-id-433 #page,
body.page-id-433 .site,
body.page-id-433 #content,
body.page-id-433 .site-content,
body.page-id-433 .ast-container,
body.page-id-433 .content-area,
body.page-id-433 #primary,
body.page-id-433 main,
body.page-id-433 article,
body.page-id-433 .entry-content,
body.page-id-433 .ast-article-single {
  background: #ffffff !important;
  background-color: #ffffff !important;
/* Food & Beverage page - force page sections/containers white */
body.page-id-433 .entry-content > *,
body.page-id-433 .wp-block-group,
body.page-id-433 .wp-block-cover,
body.page-id-433 .wp-block-columns,
body.page-id-433 .uagb-container,
body.page-id-433 .stk-block,
body.page-id-433 section {
  background-color: #ffffff !important;
/* Keep form dropdowns above disclaimer text */
.srfm-form,
.srfm-form-wrapper,
.wpforms-container,
form {
  overflow: visible !important;
}

.srfm-form select,
.srfm-form .choices,
.srfm-form .choices__list--dropdown,
.srfm-form .choices.is-open,
.select2-container,
.select2-container--open,
.select2-dropdown {
  position: relative !important;
  z-index: 99999 !important;
}

.srfm-form .srfm-description,
.srfm-form .srfm-privacy,
.srfm-form .srfm-terms,
.wpforms-field-description {
  position: relative !important;
  z-index: 1 !important;
}/* Keep form dropdowns above disclaimer text */
.srfm-form,
.srfm-form-wrapper,
.wpforms-container,
form {
  overflow: visible !important;
}

.srfm-form select,
.srfm-form .choices,
.srfm-form .choices__list--dropdown,
.srfm-form .choices.is-open,
.select2-container,
.select2-container--open,
.select2-dropdown {
  position: relative !important;
  z-index: 99999 !important;
}

.srfm-form .srfm-description,
.srfm-form .srfm-privacy,
.srfm-form .srfm-terms,
.wpforms-field-description {
  position: relative !important;
  z-index: 1 !important;
}/* Keep form dropdowns above disclaimer text */
.srfm-form,
.srfm-form-wrapper,
.wpforms-container,
form {
  overflow: visible !important;
}

.srfm-form select,
.srfm-form .choices,
.srfm-form .choices__list--dropdown,
.srfm-form .choices.is-open,
.select2-container,
.select2-container--open,
.select2-dropdown {
  position: relative !important;
  z-index: 99999 !important;
}

.srfm-form .srfm-description,
.srfm-form .srfm-privacy,
.srfm-form .srfm-terms,
.wpforms-field-description {
  position: relative !important;
  z-index: 1 !important;
}
	
	.srfm-form .srfm-description,
.srfm-form .srfm-privacy,
.srfm-form .srfm-terms,
.wpforms-field-description {
  position: relative !important;
  z-index: 1 !important;
}

/* Paste new CSS below here */
.srfm-form .srfm-description,
.wpforms-field-description {
  margin-top: 18px !important;
}.ruyi-property-types {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 60px 70px !important;
}

.ruyi-property-types > * {
  flex: 0 0 28% !important;
  max-width: 28% !important;
}

@media (max-width: 768px) {
  .ruyi-property-types {
    gap: 30px !important;
  }

  .ruyi-property-types > * {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}.ruyi-property-types {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 60px 70px !important;
}

.ruyi-property-types > * {
  flex: 0 0 28% !important;
  max-width: 28% !important;
}

@media (max-width: 768px) {
  .ruyi-property-types {
    gap: 30px !important;
  }

  .ruyi-property-types > * {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}.ruyi-property-types {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 60px 70px !important;
}

.ruyi-property-types > * {
  flex: 0 0 28% !important;
  max-width: 28% !important;
}

@media (max-width: 768px) {
  .ruyi-property-types {
    gap: 30px !important;
  }

  .ruyi-property-types > * {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
.ruyi-property-types {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 60px 70px !important;
}

.ruyi-property-types > * {
  flex: 0 0 28% !important;
  max-width: 28% !important;
}

@media (max-width: 768px) {
  .ruyi-property-types {
    gap: 30px !important;
  }

  .ruyi-property-types > * {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
.ruyi-property-types {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 60px 70px !important;
}

.ruyi-property-types > * {
  flex: 0 0 28% !important;
  max-width: 28% !important;
}

@media (max-width: 768px) {
  .ruyi-property-types {
    gap: 30px !important;
  }

  .ruyi-property-types > * {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}/* Make all main header menu links black */
.main-header-menu a,
.main-header-menu .menu-link,
.ast-builder-menu-1 .menu-item > .menu-link {
  color: #000000 !important;
}

/* Hover colour */
.main-header-menu a:hover,
.main-header-menu .menu-link:hover,
.ast-builder-menu-1 .menu-item > .menu-link:hover {
  color: #005bea !important;
}

/* Current active page */
.main-header-menu .current-menu-item > a,
.main-header-menu .current_page_item > a,
.ast-builder-menu-1 .current-menu-item > .menu-link {
  color: #000000 !important;
}/* Force all header menu links to black */
.main-header-menu a,
.main-header-menu a:visited,
.main-header-menu .menu-link,
.main-header-menu .menu-link:visited,
.ast-builder-menu-1 .menu-item > .menu-link,
.ast-builder-menu-1 .menu-item > .menu-link:visited,
.ast-builder-menu-1 .current-menu-item > .menu-link,
.ast-builder-menu-1 .current_page_item > .menu-link,
.ast-builder-menu-1 .current-menu-ancestor > .menu-link,
.ast-builder-menu-1 .current_page_parent > .menu-link {
  color: #000000 !important;
}

/* Hover colour */
.main-header-menu a:hover,
.main-header-menu .menu-link:hover,
.ast-builder-menu-1 .menu-item > .menu-link:hover {
  color: #005bea !important;
}.ruyi-fee-section {
  width: 100%;
  padding: 50px 20px;
  background: #f6f9fc;
  font-family: inherit;
  box-sizing: border-box;
}

.ruyi-fee-section *,
.ruyi-fee-section *::before,
.ruyi-fee-section *::after {
  box-sizing: border-box;
}

.ruyi-fee-container {
  max-width: 1180px;
  margin: 0 auto;
}

.ruyi-fee-heading {
  text-align: center;
  margin-bottom: 35px;
}

.ruyi-fee-heading h2 {
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.2;
  font-weight: 700;
  color: #10243e;
}

.ruyi-fee-heading p {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
  color: #53657a;
}

.ruyi-fee-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.ruyi-fee-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(16, 36, 62, 0.10);
  border: 1px solid #e4ebf3;
  display: flex;
  flex-direction: column;
}

.ruyi-fee-card-header {
  padding: 28px 22px;
  text-align: center;
  color: #ffffff;
}

.ruyi-fee-card-header h3 {
  margin: 0 0 16px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
  color: #ffffff;
}

.ruyi-fee-price {
  font-size: 44px;
  line-height: 1;
  font-weight: 800;
  margin-bottom: 8px;
  color: #ffffff;
}

.ruyi-fee-card-header p {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.92);
}

.ruyi-fee-card-header span {
  display: inline-block;
  margin-top: 10px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 14px;
  line-height: 1.3;
  font-weight: 600;
  color: #ffffff;
}

.ruyi-fee-card-green .ruyi-fee-card-header {
  background: linear-gradient(135deg, #15a36d, #0b7f55);
}

.ruyi-fee-card-blue .ruyi-fee-card-header {
  background: linear-gradient(135deg, #1f72c9, #174b8f);
}

.ruyi-fee-card-navy .ruyi-fee-card-header {
  background: linear-gradient(135deg, #10243e, #071626);
}

.ruyi-fee-card-body {
  padding: 24px 24px 28px;
  flex: 1;
}

.ruyi-fee-card-body h4 {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  color: #10243e;
}

.ruyi-fee-card-body ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ruyi-fee-card-body li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 11px;
  font-size: 15px;
  line-height: 1.45;
  color: #26384d;
}

.ruyi-fee-card-body li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  color: #15a36d;
}

.ruyi-fee-note {
  margin-top: 26px;
  padding: 18px 20px;
  border-radius: 14px;
  background: #ffffff;
  border-left: 5px solid #1f72c9;
  box-shadow: 0 8px 22px rgba(16, 36, 62, 0.06);
  font-size: 13.5px;
  line-height: 1.55;
  color: #47576b;
}

.ruyi-fee-note strong {
  color: #10243e;
}

.ruyi-fee-note a {
  color: #1f72c9;
  font-weight: 700;
  text-decoration: underline;
}

.ruyi-fee-note a:hover {
  color: #10243e;
}

@media (max-width: 980px) {
  .ruyi-fee-grid {
    grid-template-columns: 1fr;
  }

  .ruyi-fee-heading h2 {
    font-size: 28px;
  }

  .ruyi-fee-price {
    font-size: 40px;
  }
}

@media (max-width: 520px) {
  .ruyi-fee-section {
    padding: 35px 14px;
  }

  .ruyi-fee-card-header {
    padding: 24px 18px;
  }

  .ruyi-fee-card-body {
    padding: 22px 20px;
  }

  .ruyi-fee-heading h2 {
    font-size: 26px;
  }

  .ruyi-fee-note {
    font-size: 13px;
    padding: 16px;
  }
}.ruyi-header-phone {
  position: relative;
  top: -15px;
  line-height: 1;
  margin: 0;
  padding: 0;
}