/* Carousel/footer corrections layered after the site-wide v1 presentation rules. */
.foundation-carousel {
  padding: 0 52px !important;
}
.foundation-carousel .owl-stage-outer {
  position: relative !important;
  z-index: 1 !important;
}
.foundation-carousel .owl-stage {
  gap: 0 !important;
}
.foundation-carousel .owl-nav {
  display: none !important;
}
.foundation-carousel-controls {
  position: absolute !important;
  z-index: 50 !important;
  inset: 0 !important;
  display: block !important;
  pointer-events: none !important;
}
.foundation-carousel-controls button {
  position: absolute !important;
  top: 110px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  padding: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  border-radius: 50% !important;
  background: #102542 !important;
  color: #fff !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(-50%) !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}
.foundation-carousel-controls .foundation-carousel-prev { left: 2px !important; }
.foundation-carousel-controls .foundation-carousel-next { right: 2px !important; }
.foundation-carousel-controls button:hover,
.foundation-carousel-controls button:focus-visible {
  border-color: #e2c034 !important;
  background: #e2c034 !important;
  color: #102542 !important;
  outline: none !important;
}
.foundation-carousel-controls svg {
  display: block !important;
  width: 21px !important;
  height: 21px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2.4 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

#footer .portable-footer-inner {
  width: min(1230px, calc(100% - 48px)) !important;
  margin: 0 auto !important;
  padding: 48px 0 30px !important;
}
#footer .portable-footer-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 48px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  align-items: start !important;
}
#footer .portable-footer-column {
  display: block !important;
  position: static !important;
  float: none !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #d4d5d8 !important;
}
#footer .portable-footer-title {
  margin: 0 0 16px !important;
  color: #fff !important;
  font-family: "Libre Baskerville", Georgia, serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 26px !important;
}
#footer .portable-footer-column p {
  margin: 0 0 8px !important;
  color: #d4d5d8 !important;
  font-family: "Libre Baskerville", Georgia, serif !important;
  font-size: 13px !important;
  line-height: 21px !important;
}
#footer .portable-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
}
#footer .portable-footer-bottom-inner {
  display: flex !important;
  width: min(1230px, calc(100% - 48px)) !important;
  min-height: 56px !important;
  margin: 0 auto !important;
  padding: 12px 0 !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  color: #fff !important;
  font-size: 12px !important;
  line-height: 20px !important;
}
@media (max-width: 900px) {
  #footer .portable-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 600px) {
  .foundation-carousel { padding: 0 44px !important; }
  #footer .portable-footer-grid { grid-template-columns: 1fr !important; }
  #footer .portable-footer-bottom-inner { align-items: flex-start !important; flex-direction: column !important; gap: 4px !important; }
}

.portable-service-cta {
  width: min(900px, calc(100% - 48px));
  margin: 48px auto 0;
  padding: 30px 34px;
  border-left: 3px solid #e2c034;
  background: #f3f3f3;
  box-sizing: border-box;
}
.portable-service-cta h2 { margin: 0 0 10px !important; }
.portable-service-cta p { margin: 0 !important; }
/* Shared static layout for the principal service pages. */
body.portable-service-page #main {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
body.portable-service-page .portable-service-hero {
  display: flex !important;
  align-items: center !important;
  width: 100vw !important;
  min-height: 500px !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding-top: 90px !important;
  padding-bottom: 90px !important;
  box-sizing: border-box !important;
}
body.portable-service-page .portable-service-hero > .wpb_column {
  float: none !important;
  width: 100% !important;
}
body.portable-service-page .portable-service-hero > .wpb_column > .vc_column-inner {
  width: min(1280px, 100%) !important;
  margin: 0 auto !important;
  padding-right: 40px !important;
  padding-left: 40px !important;
  box-sizing: border-box !important;
}
body.portable-service-page .portable-service-hero .ult-spacer {
  height: 0 !important;
  min-height: 0 !important;
}
body.portable-service-page .portable-service-hero .wpb_text_column {
  width: min(900px, 100%) !important;
  margin-right: auto !important;
  margin-left: auto !important;
}
body.portable-service-page #page .portable-service-hero h1 {
  margin: 0 0 18px !important;
  font-size: 58px !important;
  line-height: 64px !important;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.72) !important;
}
body.portable-service-page .portable-service-hero p {
  margin: 0 auto 5px !important;
  font-size: 20px !important;
  line-height: 27px !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9) !important;
}
body.portable-service-page .ubtn-ctn-center {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
}
body.portable-service-page .portable-call-band,
body.portable-service-page .portable-contact-section {
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  box-sizing: border-box !important;
}
body.portable-service-page .portable-call-band {
  padding: 34px max(24px, calc((100vw - 1200px) / 2)) !important;
  background: #102542 !important;
}
body.portable-service-page .portable-call-band .vc_icon_element {
  margin-bottom: 14px !important;
}
body.portable-service-page .portable-contact-section {
  padding: 34px max(24px, calc((100vw - 1200px) / 2)) 30px !important;
  background: #efefef !important;
}
body.portable-service-page .portable-contact-columns {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 30px !important;
  margin: 0 !important;
}
body.portable-service-page .portable-contact-columns::before,
body.portable-service-page .portable-contact-columns::after,
body.portable-service-page .portable-accreditations::before,
body.portable-service-page .portable-accreditations::after {
  display: none !important;
  content: none !important;
}
body.portable-service-page .portable-contact-columns > .vc_col-sm-6 {
  display: block !important;
  float: none !important;
  width: auto !important;
  padding: 0 !important;
}
body.portable-service-page .portable-contact-section h2 {
  margin: 0 0 12px !important;
  color: #222 !important;
  font-family: Roboto, Arial, sans-serif !important;
  font-size: 30px !important;
  line-height: 1.25 !important;
}
body.portable-service-page .wpb_map_wraper,
body.portable-service-page .portable-contact-map {
  display: block !important;
  width: 100% !important;
  height: 458px !important;
}
body.portable-service-page .portable-contact-form {
  display: grid !important;
  gap: 10px !important;
  margin: 0 !important;
}
body.portable-service-page .portable-contact-form input:not([type="checkbox"]),
body.portable-service-page .portable-contact-form textarea {
  display: block !important;
  width: 100% !important;
  min-height: 38px !important;
  margin: 0 !important;
  padding: 9px 14px !important;
  border: 1px solid #ddd !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-sizing: border-box !important;
  color: #222 !important;
  font: inherit !important;
}
body.portable-service-page .portable-contact-form textarea {
  min-height: 88px !important;
  resize: vertical !important;
}
body.portable-service-page .portable-privacy-consent {
  display: flex !important;
  align-items: flex-start !important;
  gap: 7px !important;
  margin: 4px 0 !important;
}
body.portable-service-page .portable-privacy-consent input {
  flex: 0 0 auto !important;
  margin-top: 4px !important;
}
body.portable-service-page .portable-contact-form button {
  justify-self: start !important;
  min-width: 74px !important;
  min-height: 40px !important;
  padding: 9px 17px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #102542 !important;
  color: #fff !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}
body.portable-service-page .portable-contact-form button:hover,
body.portable-service-page .portable-contact-form button:focus-visible {
  background: #e2c034 !important;
  color: #102542 !important;
}
body.portable-service-page .portable-accreditations {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 30px !important;
  align-items: center !important;
  width: min(1200px, calc(100% - 48px)) !important;
  margin: 0 auto !important;
  padding: 58px 0 48px !important;
}
body.portable-service-page .portable-accreditations > .vc_col-sm-3 {
  display: block !important;
  float: none !important;
  width: auto !important;
  padding: 0 !important;
}
body.portable-service-page .portable-accreditations .wpb_single_image,
body.portable-service-page .portable-accreditations figure {
  margin: 0 !important;
  text-align: center !important;
}
body.portable-service-page .portable-accreditations img {
  width: auto !important;
  max-width: 100% !important;
  max-height: 150px !important;
  object-fit: contain !important;
}
body.portable-service-page #content .wp-caption.aligncenter,
body.portable-service-page #content img.aligncenter {
  display: block !important;
  width: min(1200px, 100%) !important;
  max-width: 100% !important;
  height: auto !important;
  margin-right: auto !important;
  margin-left: auto !important;
  box-sizing: border-box !important;
}
@media (max-width: 780px) {
  body.portable-service-page .portable-service-hero {
    min-height: 390px !important;
    padding-top: 62px !important;
    padding-bottom: 62px !important;
  }
  body.portable-service-page .portable-service-hero > .wpb_column > .vc_column-inner {
    padding-right: 20px !important;
    padding-left: 20px !important;
  }
  body.portable-service-page #page .portable-service-hero h1 {
    font-size: 38px !important;
    line-height: 44px !important;
  }
  body.portable-service-page .portable-service-hero p {
    font-size: 17px !important;
    line-height: 24px !important;
  }
  body.portable-service-page .portable-contact-columns {
    grid-template-columns: 1fr !important;
  }
  body.portable-service-page .portable-accreditations {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 480px) {
  body.portable-service-page .portable-accreditations {
    grid-template-columns: 1fr !important;
  }
}
/* Service-page hierarchy and compensation-list refinements. */
body.portable-service-page .portable-service-hero + .vc_row-full-width {
  margin-bottom: 42px !important;
}
body.portable-service-page .portable-compensation-heading {
  width: min(1040px, calc(100% - 48px)) !important;
  margin: 44px auto 18px !important;
  color: #102542 !important;
  text-align: center !important;
}
body.portable-service-page .portable-compensation-list {
  columns: 2;
  column-gap: 52px;
  width: min(1040px, calc(100% - 48px)) !important;
  margin: 0 auto 42px !important;
  padding: 30px 42px 24px 62px !important;
  border-left: 3px solid #e2c034 !important;
  background: #f3f3f3 !important;
  box-sizing: border-box !important;
}
body.portable-service-page .portable-compensation-list li {
  break-inside: avoid;
  margin: 0 0 10px !important;
}
@media (max-width: 780px) {
  body.portable-service-page .portable-service-hero + .vc_row-full-width {
    margin-bottom: 28px !important;
  }
  body.portable-service-page .portable-compensation-heading {
    width: calc(100% - 32px) !important;
    margin-top: 34px !important;
  }
  body.portable-service-page .portable-compensation-list {
    columns: 1;
    width: calc(100% - 32px) !important;
    padding: 24px 25px 18px 43px !important;
  }
}
/* Long-form legal article presentation. */
body.portable-article-page #main {
  padding-top: 0 !important;
}
body.portable-article-page .portable-article-hero {
  display: flex;
  align-items: center;
  width: 100vw;
  min-height: 430px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 72px 24px;
  box-sizing: border-box;
  color: #fff;
  text-align: center;
}
body.portable-article-page .portable-article-hero-inner {
  width: min(920px, 100%);
  margin: 0 auto;
}
body.portable-article-page .portable-article-kicker {
  margin: 0 0 14px;
  color: #e2c034;
  font-family: Roboto, Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
body.portable-article-page .portable-article-hero h1 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 52px;
  line-height: 1.12;
  text-shadow: 0 2px 5px rgba(0,0,0,.8);
}
body.portable-article-page .portable-article-hero h1::after {
  display: block;
  width: 74px;
  height: 2px;
  margin: 22px auto 0;
  background: #e2c034;
  content: "";
}
body.portable-article-page .portable-article-hero-inner > p:last-child {
  max-width: 760px;
  margin: 0 auto;
  font-size: 20px;
  line-height: 1.4;
  text-shadow: 0 1px 4px rgba(0,0,0,.9);
}
body.portable-article-page .portable-article-content {
  width: min(1020px, calc(100% - 48px));
  margin: 0 auto;
  padding: 52px 0 34px;
  box-sizing: border-box;
}
body.portable-article-page .portable-article-content > p {
  margin: 0 0 1.35em;
  font-size: 17px;
  line-height: 1.72;
}
@media (max-width: 780px) {
  body.portable-article-page .portable-article-hero {
    min-height: 360px;
    padding: 56px 20px;
  }
  body.portable-article-page .portable-article-hero h1 {
    font-size: 38px;
  }
  body.portable-article-page .portable-article-hero-inner > p:last-child {
    font-size: 17px;
  }
  body.portable-article-page .portable-article-content {
    width: calc(100% - 32px);
    padding-top: 36px;
  }
}
/* Long-form article section hierarchy. */
body.portable-article-page .portable-article-content h2 {
  margin: 46px 0 18px;
  color: #102542;
  font-size: 32px;
  line-height: 1.22;
}
body.portable-article-page .portable-article-content h2:first-child {
  margin-top: 0;
}
body.portable-article-page .portable-article-content h2::after {
  display: block;
  width: 62px;
  height: 2px;
  margin-top: 13px;
  background: #e2c034;
  content: "";
}
body.portable-article-page .portable-article-summary {
  margin-top: 38px !important;
  padding: 28px 30px !important;
  border-left: 3px solid #e2c034;
  background: #f1f1f1;
}
@media (max-width: 780px) {
  body.portable-article-page .portable-article-content h2 {
    margin-top: 36px;
    font-size: 27px;
  }
  body.portable-article-page .portable-article-summary {
    padding: 22px 20px !important;
  }
}
/* Independent contact layout for non-service pages. */
body.portable-contact-layout .portable-contact-section {
  width: 100vw !important;
  max-width: none !important;
  margin-right: calc(50% - 50vw) !important;
  margin-left: calc(50% - 50vw) !important;
  padding: 34px max(24px, calc((100vw - 1200px) / 2)) 30px !important;
  left: auto !important;
  background: #efefef !important;
  box-sizing: border-box !important;
}
body.portable-contact-layout .portable-contact-columns {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 30px !important;
  margin: 0 !important;
}
body.portable-contact-layout .portable-contact-columns::before,
body.portable-contact-layout .portable-contact-columns::after,
body.portable-contact-layout .portable-accreditations::before,
body.portable-contact-layout .portable-accreditations::after {
  display: none !important;
  content: none !important;
}
body.portable-contact-layout .portable-contact-columns > .vc_col-sm-6 {
  display: block !important;
  float: none !important;
  width: auto !important;
  padding: 0 !important;
}
body.portable-contact-layout .portable-contact-section h2 {
  margin: 0 0 12px !important;
  color: #222 !important;
  font-family: Roboto, Arial, sans-serif !important;
  font-size: 30px !important;
  line-height: 1.25 !important;
}
body.portable-contact-layout .wpb_map_wraper,
body.portable-contact-layout .portable-contact-map {
  display: block !important;
  width: 100% !important;
  height: 458px !important;
}
body.portable-contact-layout .portable-contact-form {
  display: grid !important;
  gap: 10px !important;
  margin: 0 !important;
}
body.portable-contact-layout .portable-contact-form input:not([type="checkbox"]),
body.portable-contact-layout .portable-contact-form textarea {
  display: block !important;
  width: 100% !important;
  min-height: 38px !important;
  margin: 0 !important;
  padding: 9px 14px !important;
  border: 1px solid #ddd !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-sizing: border-box !important;
  color: #222 !important;
  font: inherit !important;
}
body.portable-contact-layout .portable-contact-form textarea {
  min-height: 88px !important;
  resize: vertical !important;
}
body.portable-contact-layout .portable-privacy-consent {
  display: flex !important;
  align-items: flex-start !important;
  gap: 7px !important;
  margin: 4px 0 !important;
}
body.portable-contact-layout .portable-privacy-consent input {
  flex: 0 0 auto !important;
  margin-top: 4px !important;
}
body.portable-contact-layout .portable-contact-form button {
  justify-self: start !important;
  min-width: 74px !important;
  min-height: 40px !important;
  padding: 9px 17px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #102542 !important;
  color: #fff !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}
body.portable-contact-layout .portable-contact-form button:hover,
body.portable-contact-layout .portable-contact-form button:focus-visible {
  background: #e2c034 !important;
  color: #102542 !important;
}
body.portable-contact-layout .portable-accreditations {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 30px !important;
  align-items: center !important;
  width: min(1200px, calc(100% - 48px)) !important;
  margin: 0 auto !important;
  padding: 58px 0 48px !important;
}
body.portable-contact-layout .portable-accreditations > .vc_col-sm-3 {
  display: block !important;
  float: none !important;
  width: auto !important;
  padding: 0 !important;
}
body.portable-contact-layout .portable-accreditations .wpb_single_image,
body.portable-contact-layout .portable-accreditations figure {
  margin: 0 !important;
  text-align: center !important;
}
body.portable-contact-layout .portable-accreditations img {
  width: auto !important;
  max-width: 100% !important;
  max-height: 150px !important;
  object-fit: contain !important;
}
@media (max-width: 780px) {
  body.portable-contact-layout .portable-contact-columns {
    grid-template-columns: 1fr !important;
  }
  body.portable-contact-layout .portable-accreditations {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 480px) {
  body.portable-contact-layout .portable-accreditations {
    grid-template-columns: 1fr !important;
  }
}
/* Turnstile and server-form feedback. */
.portable-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.portable-contact-form .cf-turnstile {
  min-height: 65px;
  margin: 4px 0 2px;
}
.portable-form-notice {
  margin: 0 0 16px;
  padding: 13px 15px;
  border-left: 4px solid;
  font-family: Roboto, Arial, sans-serif;
  line-height: 1.45;
}
.portable-form-notice--success {
  border-color: #2e7d32;
  background: #edf7ed;
  color: #1b5e20;
}
.portable-form-notice--error {
  border-color: #a4262c;
  background: #fcedee;
  color: #7a171c;
}

/* Static client-feedback grid: replaces the removed WordPress masonry runtime. */
body[data-page="client-feedback"] .dt-testimonials-masonry-shortcode {
  width: 100% !important;
  opacity: 1 !important;
  visibility: visible !important;
}
body[data-page="client-feedback"] .dt-testimonials-masonry-shortcode .iso-container {
  position: static !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
}
body[data-page="client-feedback"] .dt-testimonials-masonry-shortcode .wf-cell {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: auto !important;
  padding: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}
body[data-page="client-feedback"] .testimonial-item {
  box-sizing: border-box !important;
  height: 100% !important;
  padding: 26px 28px !important;
  border: 1px solid #dedede !important;
  border-left: 3px solid #e2c034 !important;
  background: #f5f5f5 !important;
  box-shadow: 0 8px 22px rgba(16, 37, 66, 0.07) !important;
}
body[data-page="client-feedback"] .testimonial-vcard {
  margin: 0 0 14px !important;
}
body[data-page="client-feedback"] .testimonial-vcard .text-primary {
  color: #102542 !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
}
body[data-page="client-feedback"] .testimonial-content,
body[data-page="client-feedback"] .testimonial-content p {
  margin: 0 !important;
  color: #222 !important;
  line-height: 1.7 !important;
}

@media (max-width: 760px) {
  body[data-page="client-feedback"] .dt-testimonials-masonry-shortcode .iso-container {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
  body[data-page="client-feedback"] .testimonial-item {
    padding: 22px 20px !important;
  }
}
