
/* WordPress alignment helpers preserved for copied content */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin: 0 auto 1em; }
.alignnone { margin: 0 0 1em; }
img.alignleft, img.alignright, img.aligncenter, img.alignnone, img.size-full, img.size-large {
  max-width: 100%;
  height: auto;
}
.wp-caption { max-width: 100%; }
.clearfix:after { content: ""; display: table; clear: both; }
.overflow-y-hidden { overflow-y: hidden; }
.side-tire { max-width: 100%; }
.lead-form-error {
  display: none;
  float: left;
  clear: both;
  width: 100%;
  margin: 16px 0 0;
  padding-left: 0;
  color: #b42318;
  font-family: "FreightSans SemiBold", sans-serif;
  font-size: 16px;
  letter-spacing: 0.5px;
}
.lead-form-error[hidden] { display: none !important; }
#gform_submit_button_1:disabled { opacity: 0.7; cursor: wait; }

/* Mobile homepage hero: real truck image, not an empty CSS background box */
.mobile-hero-truck {
  display: none;
}
body:not(.home) .mobile-hero-truck {
  display: none !important;
}
@media (max-width: 700px) {
  header {
    background-color: #051228 !important;
  }
  .header-top-img {
    display: none !important;
  }
  .mobile-hero-truck {
    display: block !important;
    position: absolute;
    top: 121px;
    left: 0;
    width: 100%;
    height: 382px;
    object-fit: cover;
    object-position: center 30%;
    z-index: 3;
  }
  .header-content h3:after {
    right: -8px;
    top: -36px;
    transform: scale(0.55);
    transform-origin: top right;
  }
}

/* Footer team photo: zoom out so the people on both ends stay in frame */
.footer-info-left-img {
  background-color: #051228;
  background-image: url("/uploads/2025/07/butler-prather-llp.png");
  background-repeat: no-repeat;
  background-size: contain !important;
  background-position: center 18% !important;
  background-origin: content-box;
  padding: 16px 56px 28px;
}

/* Our Team cards: keep the hover arrow off the profile label on laptop 4-col widths */
.attorney-box a {
  padding-right: 36px;
  white-space: nowrap;
  right: 0;
}
.attorney-box a:after {
  right: 14px;
}
@media (max-width: 1600px) and (min-width: 1200px) {
  .attorney-box a {
    font-size: 14px;
    padding-right: 28px;
  }
  .attorney-box a:after {
    right: 12px;
  }
}

/* Attorney profile prev/next: keep chevrons outside the labels */
.attorney-previous-link {
  padding-left: 22px;
}
.attorney-previous-link:after {
  left: 0;
}
.attorney-next-link {
  padding-right: 22px;
}
.attorney-next-link:after {
  right: 0;
}

li.hidden_label label { display: none !important; }
.gform_hidden { display: none !important; }
