/* Responsive adjustments to the site's custom Salient sections. */
.inline-contact-row { flex-wrap: wrap; white-space: normal; gap: 12px 24px; }
.inline-contact-item { min-width: 0; max-width: 100%; }
.inline-contact-item > span:last-child { min-width: 0; overflow-wrap: anywhere; }
div#aboutin p { height: auto; }
div#Christy { padding-inline: clamp(24px, 6vw, 120px) !important; }
/* Owl controls service positioning; the custom marquee belongs to insurance only. */
div#Service .owl-stage { animation: none; }
@media (min-width: 1000px) and (max-width: 1280px) {
  div#about p, div#Service p, div#Aboutinner1 p, div#contactin p { font-size: 15px !important; line-height: 1.65 !important; }
}

/* A shared icon track keeps every expertise label aligned. */
div#Expertise div#Expertisein .iwithtext {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  text-align: left;
}
div#Expertise div#Expertisein .iwithtext .iwt-icon {
  position: relative;
  width: 48px;
  margin: 0;
}
div#Expertise div#Expertisein .iwithtext .iwt-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin: 0;
}
div#Expertise div#Expertisein .iwithtext .iwt-text {
  min-width: 0;
  padding: 0;
  text-align: left;
}
@media (max-width: 999px) {
  div#Expertise div#Expertisein .iwithtext {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
    text-align: left;
  }
}
div#Service .carousel-item:focus-within .text2 { transform: none; }
div#Service .carousel-item:focus-within .text2 p,
div#Service .carousel-item:focus-within .text2 h6 { opacity: 1; }

@media (max-width: 999px) {
  #banner #left { margin-left: 0 !important; }
  #banner sr7-module, #banner sr7-adjuster, #banner sr7-content,
  #banner sr7-mask, #banner sr7-bg { height: 520px !important; }
  #banner sr7-bg { background: linear-gradient(90deg, rgba(0,0,0,.65), rgba(0,0,0,.15)), url('../../uploads/2026/09/Group-16.png') center / cover !important; }
  #banner #left { display: flex !important; flex-direction: column; gap: 16px; left: 6% !important; top: 120px !important; width: 55% !important; height: auto !important; }
  #banner #left > .sr7-layer { position: static !important; transform: none !important; visibility: visible !important; width: auto !important; height: auto !important; white-space: normal !important; }
  #banner #SR7_1_1-1-2 { order: 0; font-size: clamp(28px, 4.5vw, 40px) !important; line-height: 1.15 !important; }
  #banner #SR7_1_1-1-5 { order: 1; font-size: 15px !important; line-height: 1.6 !important; }
  #banner #SR7_1_1-1-3 { order: 2; font-size: 13px !important; line-height: 1.5 !important; }
  #banner #SR7_1_1-1-4 { order: 3; align-self: flex-start; font-size: 15px !important; line-height: 24px !important; padding: 10px 20px !important; }
  div#about, div#contactin, div#Service, div#Christy { width: 100%; margin-inline: auto; }
  div#about { margin-top: 0; padding-block: 40px !important; }
  div#about .c1 { width: min(100%, 480px); padding-inline: 0; }
  div#aboutin, div#Aboutinner1 div#aboutinin2 { width: 100%; }
  div#Aboutinner1 .text1 p { width: 100%; }
  div#contactin .c2, div#contactin div#wpforms-58 { padding-right: 0; }
  div#contactin p { font-size: 15px !important; line-height: 1.65 !important; }
  div#Expertise div#Expertisein h4 { font-size: 17px !important; line-height: 1.5 !important; }
  div#Copyright1 .text33 { float: none; width: auto; }
  div#Copyright1 .text33 img { width: auto; max-width: 100%; }
}

@media (max-width: 600px) {
  #banner sr7-module, #banner sr7-adjuster, #banner sr7-content,
  #banner sr7-mask, #banner sr7-bg { height: 570px !important; }
  #banner sr7-bg { background-position: 65% center !important; }
  #banner #left { left: 6% !important; top: 115px !important; width: 88% !important; }
  #banner #SR7_1_1-1-2 { font-size: clamp(28px, 7.5vw, 36px) !important; }
  #banner #SR7_1_1-1-5 { max-width: 320px; }
  div#about h2, div#Aboutinner1 h2, div#contactin h2,
  div#Service h2, div#Expertise h2, div#Insurance h2 { font-size: 28px !important; line-height: 1.25 !important; }
  div#Expertise div#Expertisein .vc_col-sm-4 { width: 100%; margin-bottom: 0; }
  div#Expertise div#Expertisein .iwithtext { flex-direction: row; gap: 16px; text-align: left; margin-bottom: 20px; }
  div#Expertise div#Expertisein .iwt-icon { flex: 0 0 48px; }
  div#Expertise div#Expertisein .iwithtext .iwt-icon img { width: 100%; }
  .inline-contact-row { flex-direction: column; align-items: flex-start; }
  div#contactin .img1 { width: 100%; }
  div#contactin .wpforms-container input, div#contactin .wpforms-container textarea { font-size: 16px !important; max-width: 100%; }
  div#contactin .wpforms-container .wpforms-field textarea { height: 140px; resize: vertical; }
  div#Copyright1 .footer_logo { width: min(100%, 260px); }
  div#Copyright1 p { font-size: 13px !important; }
}

@media (hover: none), (max-width: 999px) {
  /* Keep service information available without a mouse hover. */
  div#Service .carousel-item .text2 { position: relative; transform: none; padding: 24px 16px; background: #117646; border-radius: 0 0 10px 10px; }
  div#Service .carousel-item .text2 p, div#Service .carousel-item .text2 h6 { opacity: 1; }
  div#Service .carousel-item .text2 h6 a { display: inline-block; padding: 10px 16px; }
  div#Service .carousel-item .hover-wrap-inner:before { display: none; }
  div#Service .carousel-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
  div#Insurance .owl-stage-outer { overflow: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  .owl-stage { animation: none !important; }
  div#Service .carousel-item .text2 { transition: none; }
}

/* Center the presentation from tablet sizes down. Keep form entries natural. */
@media (max-width: 999px) {
  #ajax-content-wrap .wpb_text_column,
  #about, #Expertise, #Service, #Aboutinner1, #Insurance, #contactin,
  #Copyright1 { text-align: center !important; }
  #ajax-content-wrap .wpb_text_column p,
  #ajax-content-wrap .wpb_text_column h2,
  #ajax-content-wrap .wpb_text_column h3,
  #ajax-content-wrap .wpb_text_column h4,
  #ajax-content-wrap .wpb_text_column h5,
  #ajax-content-wrap .wpb_text_column h6,
  #Copyright1 .wpb_column { text-align: center !important; }
  #banner #left { left: 6% !important; width: 88% !important; align-items: center; text-align: center !important; }
  #banner #left > .sr7-layer { text-align: center !important; }
  #banner #SR7_1_1-1-5 { max-width: 480px; }
  #banner #SR7_1_1-1-4 { align-self: center; }
  .inline-contact-row { justify-content: center; align-items: center; }
  #contactin .iwithtext, #aboutin .iwithtext,
  #Aboutinner1 #aboutinin2 .iwithtext { justify-content: center; }
  div#Expertise div#Expertisein .iwithtext { justify-content: center; text-align: center; }
  #Copyright1 .footer_logo,
  #Copyright1 .img-with-aniamtion-wrap,
  #Copyright1 .text33 { float: none !important; margin-inline: auto !important; }
  #Copyright1 .hover-wrap-inner { text-align: center; }
  #Copyright1 img { margin-inline: auto !important; }
  #contactin .wpforms-container input,
  #contactin .wpforms-container textarea { text-align: left; }
}

/* Keep the shared expertise tracks when tablet/mobile centering applies. */
@media (max-width: 999px) {
  div#Expertise div#Expertisein .iwithtext {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
    text-align: left;
    justify-content: normal;
  }
  div#Expertise div#Expertisein .iwithtext .iwt-icon img { width: 48px; height: 48px; margin: 0; }
  div#Expertise div#Expertisein .iwithtext h4 { text-align: left !important; }
}
@media (max-width: 600px) {
  div#Expertise div#Expertisein .vc_col-sm-4 { padding-inline: 0 !important; }
  div#Expertise div#Expertisein .vc_column-inner { padding-inline: 0 !important; }
  div#Expertise div#Expertisein { max-width: 360px; margin-inline: auto; }
}

/* Center the verification badge within the profile column. */
#Aboutinner1 .img-with-aniamtion-wrap:has(img[src*="image-166.png"]) {
  width: 100%;
  text-align: center;
}
#Aboutinner1 img[src*="image-166.png"] {
  display: block;
  float: none;
  margin-inline: auto !important;
  max-width: 100%;
}

/* Avoid stacking large section paddings after the expertise list. */
@media (max-width: 999px) {
  div#Expertise { padding-bottom: 16px !important; }
  div#Service { padding-top: 24px !important; }
  div#Expertise div#Expertisein .vc_col-sm-4:last-child .iwithtext:last-child { margin-bottom: 0; }
}
@media (max-width: 999px) {
  div#Expertise { padding-bottom: 8px !important; }
  div#Service { padding-top: 12px !important; }
}

@media (max-width: 999px) {
  #banner sr7-bg { background-position: center center !important; }
}

/* Show the portrait side of the hero on mobile. */
@media (max-width: 600px) {
  #banner sr7-bg { background-position: right center !important; }
}
