/* Final shared readability rules for older imported pages. */
body.inner-reference-theme main .elementor .elementor-element .elementor-counter .elementor-counter-number-wrapper{font-family:'Hanken Grotesk',Arial,sans-serif!important;font-size:clamp(40px,3.8vw,56px)!important;line-height:1.1!important;font-weight:600!important;letter-spacing:-1px!important;color:#cf4763!important;opacity:1!important}
body.inner-reference-theme main .elementor .elementor-element .elementor-counter .elementor-counter-number-wrapper span{font-family:inherit!important;font-size:inherit!important;font-weight:inherit!important;line-height:inherit!important;color:inherit!important;opacity:1!important}
body.inner-reference-theme main .elementor .elementor-element .elementor-counter .elementor-counter-title{font-family:'Hanken Grotesk',Arial,sans-serif!important;font-size:16px!important;font-weight:500!important;line-height:1.5!important;letter-spacing:.8px!important;color:#173747!important;margin-top:12px!important}
body.inner-reference-theme main .elementor>.e-parent:has(.elementor-counter){padding-top:36px!important;padding-bottom:36px!important;background:#f5f7f8!important;min-height:0!important;--min-height:0px!important}
body.inner-reference-theme main .elementor>.e-parent:has(.elementor-counter)+.e-parent{padding-top:40px!important}
body.inner-reference-theme main .elementor>.copied-page-hero{min-height:0!important;--min-height:0px!important;padding-top:56px!important;padding-bottom:56px!important}
body.inner-reference-theme main .elementor>.copied-page-hero>.e-con-inner{min-height:0!important;--min-height:0px!important}
body.inner-reference-theme main .elementor .elementor-element .elementor-widget-text-editor,body.inner-reference-theme main .elementor .elementor-element .elementor-widget-text-editor :is(p,div),body.inner-reference-theme main .content-card p{font-family:'Hanken Grotesk',Arial,sans-serif!important;font-size:18px!important;line-height:1.7!important;letter-spacing:0!important}
body.inner-reference-theme main .elementor .elementor-element .elementor-widget-heading :is(h3,h4,h5){font-size:26px!important;line-height:1.3!important;font-weight:500!important;letter-spacing:-.4px!important}
body.inner-reference-theme main .elementor .elementor-element.e-con:not(.flow-navy-card):has(>.elementor-widget-heading h5){padding:28px!important;background:#f5f7f8!important;border:1px solid #dce3e7!important;border-radius:20px!important;box-shadow:none!important;min-height:0!important;--min-height:0px!important;gap:14px!important;--gap:14px!important}
body.inner-reference-theme main .elementor .elementor-element.e-con:not(.flow-navy-card):has(>.elementor-widget-heading h5) h5{color:#cf4763!important}
body.inner-reference-theme main .elementor .elementor-element.e-con:not(.flow-navy-card):has(>.elementor-widget-heading h5) .elementor-widget-text-editor{color:#52646e!important;background:transparent!important}
body.inner-reference-theme main .elementor .elementor-element .process-step-number{display:inline-flex!important;width:44px!important;height:44px!important;align-items:center!important;justify-content:center!important;background:#cf4763!important;color:white!important;font-size:16px!important;font-weight:600!important;border-radius:50%!important;padding:0!important;border:0!important;line-height:1!important;margin:0 auto 8px!important;box-sizing:border-box!important}
body.inner-reference-theme main .elementor .elementor-element .elementor-widget-text-editor:has(>.process-step-number){background:transparent!important;border:0!important;padding:0!important}
body.inner-reference-theme main .page-section :is(p,li),body.inner-reference-theme main .contact-summary{font-size:18px!important;line-height:1.7!important}
body.inner-reference-theme main .elementor .flow-navy-card:hover .elementor-widget-text-editor,body.inner-reference-theme main .elementor .flow-navy-card:hover .elementor-widget-text-editor p{color:white!important}
@media(max-width:700px){body.inner-reference-theme main .elementor>.e-parent:has(.elementor-counter){padding-top:28px!important;padding-bottom:28px!important}body.inner-reference-theme main .elementor .elementor-element .elementor-counter .elementor-counter-title{font-size:14px!important}}

body main .services-methodology .methodology-kicker,body main .contact-story .contact-kicker{font-size:14px!important;line-height:1.5!important}
body.home-design-11 .landing-flow .eyebrow,body.home-design-11 .landing-flow .bento-label,body.home-design-11 .landing-flow .domain-label,body.home-design-11 .landing-flow .service-editorial-top>p,body.home-design-11 .landing-flow .hiring-context-grid article>span{font-size:14px!important;line-height:1.5!important;letter-spacing:1px!important}

/* Imported containers had an additional 80px padding on each inner wrapper. */
body.inner-reference-theme main .elementor[data-design=consistent]>.elementor-element.e-parent>.e-con-inner{padding-top:0!important;padding-bottom:0!important;min-height:0!important;--min-height:0px!important}
body.inner-reference-theme main .elementor[data-design=consistent]>.elementor-element.e-parent:has(.elementor-counter){padding-top:36px!important;padding-bottom:36px!important;background-color:#f5f7f8!important}
body.inner-reference-theme main .elementor[data-design=consistent]>.elementor-element.e-parent:has(.elementor-counter)+.elementor-element.e-parent{padding-top:40px!important;padding-bottom:48px!important}

/* Keep practice-card hover colours on one unified surface. */
body.practice-type.inner-reference-theme main .elementor .flow-navy-card.elementor-element:nth-child(n):hover{background:#173747!important;background-image:none!important;border-color:#173747!important}
body.practice-type.inner-reference-theme main .elementor .flow-navy-card.elementor-element:nth-child(n):hover .elementor-element.e-con{background:transparent!important;background-image:none!important;border-color:transparent!important;box-shadow:none!important}
body.practice-type.inner-reference-theme main .elementor .flow-navy-card.elementor-element:nth-child(n):hover :is(.elementor-heading-title,h2,h3,h4,h5,.elementor-widget-text-editor,.elementor-widget-text-editor p,.elementor-widget-text-editor div,.elementor-icon-list-text,.elementor-icon-list-icon,span,a){color:#fff!important}
body.practice-type.inner-reference-theme main .elementor .flow-navy-card.elementor-element:nth-child(n):hover .elementor-icon-list-icon svg{fill:#fff!important}
body.practice-type.inner-reference-theme main .elementor .flow-navy-card.elementor-element:nth-child(n):hover .elementor-icon{background:#cf4763!important;color:#fff!important}
body.practice-type.inner-reference-theme main .elementor .flow-navy-card.elementor-element:nth-child(n):hover .elementor-button{background:#fff!important;border-color:#fff!important;color:#173747!important}
body.practice-type.inner-reference-theme main .elementor .flow-navy-card.elementor-element:nth-child(n):hover .elementor-button span{color:#173747!important}
body.practice-type.inner-reference-theme main .content-grid>.content-card:nth-child(n):hover,body.practice-type.inner-reference-theme main .practice-directory>a:nth-child(n):hover{background:#173747!important;border-color:#173747!important}
body.practice-type.inner-reference-theme main .content-grid>.content-card:nth-child(n):hover :is(h2,h3,p,span,a),body.practice-type.inner-reference-theme main .practice-directory>a:nth-child(n):hover :is(h2,h3,p,span,a){color:#fff!important}

/* Keep closing enquiry panels legible against their navy background. */
body.practice-type.inner-reference-theme main section.page-cta {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 40px !important;
  padding: 40px 48px !important;
}
body.practice-type.inner-reference-theme main section.page-cta h2 {
  color: #fff !important;
  margin: 0 0 14px !important;
  font-size: clamp(28px, 3vw, 42px) !important;
  line-height: 1.2 !important;
}
body.practice-type.inner-reference-theme main section.page-cta p {
  color: #fff !important;
  margin: 0 !important;
}
body.practice-type.inner-reference-theme main section.page-cta .eyebrow {
  color: #f3b9c5 !important;
  margin: 0 0 16px !important;
}
body.practice-type.inner-reference-theme main section.page-cta .button {
  align-self: center !important;
  margin: 0 !important;
  white-space: nowrap;
}
@media(max-width: 750px) {
  body.practice-type.inner-reference-theme main section.page-cta {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    padding: 30px 26px !important;
  }
  body.practice-type.inner-reference-theme main section.page-cta .button {
    justify-self: start;
  }
}

/* Align card actions within each row, including cards with an inner text column. */
body.inner-reference-theme #main .elementor-23 .elementor-element-db8213c > .flow-navy-card:nth-child(n) {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
}
body.inner-reference-theme #main .elementor-23 .elementor-element-db8213c > .flow-navy-card:nth-child(n) > .e-con:has(> .elementor-widget-button) {
  display: flex !important;
  flex: 1 0 auto !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: none !important;
  justify-content: flex-start !important;
}
body.inner-reference-theme #main .elementor-23 .elementor-element-db8213c > .flow-navy-card:nth-child(n) > .elementor-button {
  margin-block: auto 0 !important;
}
body.inner-reference-theme #main .elementor-23 .elementor-element-db8213c .flow-navy-card:nth-child(n) > .elementor-widget-button,
body.inner-reference-theme #main .elementor-23 .elementor-element-db8213c .flow-navy-card:nth-child(n) > .e-con > .elementor-widget-button {
  margin-block: auto 0 !important;
  padding-top: 16px !important;
}
body.inner-reference-theme main .content-grid > .content-card:has(> :is(.button, .text-link)),
body.inner-reference-theme main .service-capacity-card:has(> a) {
  display: flex !important;
  flex-direction: column !important;
}
body.inner-reference-theme main .content-grid > .content-card > :is(.button, .text-link):last-child,
body.inner-reference-theme main .practice-directory > a > .text-link:last-child,
body.inner-reference-theme main .service-capacity-card > a:last-child {
  margin-top: auto !important;
}
