/* Inner pages share the homepage design language, with static layouts. */
body.inner-reference-theme{--ink:#173747;--wine:#cf4763;--blush:#f5f7f8;--bento-blue:#cf4763;--bento-deep:#173747;background:#fff!important;color:#173747!important;font-family:'Hanken Grotesk',Arial,sans-serif!important}
body.inner-reference-theme :is(h1,h2,h3,h4,h5,h6,p,a,label,input,select,textarea,button,.elementor-heading-title,.elementor-widget-text-editor,.elementor-icon-list-text){font-family:'Hanken Grotesk',Arial,sans-serif!important}
body.inner-reference-theme :is(h1,h2,h3,.elementor-heading-title){font-weight:500!important;letter-spacing:-.65px!important}
body.inner-reference-theme main :is(p,.elementor-widget-text-editor){font-size:17px!important;line-height:1.75!important}
body.inner-reference-theme main :is(.eyebrow,.contact-kicker){font-size:13px!important;letter-spacing:1.3px!important;color:#cf4763!important}
body.inner-reference-theme main :is(.page-section,.about-story-section){padding-top:56px!important;padding-bottom:56px!important}
body.inner-reference-theme .elementor[data-design=consistent]>.e-parent:not(.about-hero):not(.elementor-element-8b06623){background:#fff!important;background-image:none!important;border-bottom:0!important;padding-top:56px!important;padding-bottom:56px!important}
body.inner-reference-theme .elementor[data-design=consistent]>.copied-page-hero:not(.about-hero),body.inner-reference-theme .page-hero{background:#f5f7f8!important;border:0!important}
body.inner-reference-theme main :is(.content-grid,.practice-directory){gap:28px!important;align-items:stretch!important}
body.inner-reference-theme main .elementor .flow-navy-card.elementor-element:nth-child(n),body.inner-reference-theme main .content-grid>.content-card:nth-child(n),body.inner-reference-theme main .practice-directory>a:nth-child(n){background:#f5f7f8!important;background-image:none!important;border:1px solid #dce3e7!important;border-radius:24px!important;padding:32px!important;box-shadow:0 8px 24px #17374708!important;transition:background .2s,color .2s,border-color .2s!important;transform:none!important}
body.inner-reference-theme main .elementor .flow-navy-card:nth-child(n) :is(.elementor-heading-title,h2,h3,h4,h5),body.inner-reference-theme main .content-grid>.content-card:nth-child(n) :is(h2,h3),body.inner-reference-theme main .practice-directory>a:nth-child(n) :is(h2,h3){color:#173747!important;font-size:26px!important;line-height:1.25!important}
body.inner-reference-theme main .elementor .flow-navy-card:nth-child(n) :is(.elementor-widget-text-editor,.elementor-widget-text-editor p,.elementor-widget-text-editor div,.elementor-icon-list-text),body.inner-reference-theme main .content-grid>.content-card:nth-child(n) p,body.inner-reference-theme main .practice-directory>a:nth-child(n) p{color:#63747b!important;font-size:16px!important;line-height:1.75!important}
body.inner-reference-theme main .elementor .flow-navy-card:nth-child(n) .elementor-icon{background:#cf4763!important;color:white!important;border-radius:50%!important;fill:white!important}
body.inner-reference-theme main .elementor .flow-navy-card:nth-child(n) .elementor-icon svg{fill:white!important}
body.inner-reference-theme main .elementor .flow-navy-card.elementor-element:nth-child(n):hover,body.inner-reference-theme main .content-grid>.content-card:nth-child(n):hover,body.inner-reference-theme main .practice-directory>a:nth-child(n):hover{background:#cf4763!important;border-color:#cf4763!important}
body.inner-reference-theme main .elementor .flow-navy-card:nth-child(n):hover :is(.elementor-heading-title,.elementor-widget-text-editor,.elementor-widget-text-editor p,.elementor-widget-text-editor div,.elementor-icon-list-text,a,span),body.inner-reference-theme main .content-grid>.content-card:nth-child(n):hover :is(h2,h3,p,a,span),body.inner-reference-theme main .practice-directory>a:nth-child(n):hover :is(h2,h3,p,a,span){color:white!important}
body.inner-reference-theme main :is(.elementor-button,.button,.contact-submit){background:#cf4763!important;color:white!important;border-color:#cf4763!important;border-radius:8px!important;box-shadow:none!important;font-size:16px!important}
body.inner-reference-theme main :is(.elementor-button,.button,.contact-submit):hover{background:#173747!important}
body.inner-reference-theme main .elementor-button span{color:white!important}
body.inner-reference-theme .elementor .elementor-element.elementor-element-8b06623,body.inner-reference-theme .page-cta{background:#173747!important}
body.inner-reference-theme .elementor-element-8b06623 :is(.elementor-heading-title,.elementor-widget-text-editor,.elementor-widget-text-editor div,.elementor-image-box-title,.elementor-image-box-description){color:white!important}
body.inner-reference-theme .contact-conversation{background:#f5f7f8!important;border-radius:24px!important;max-width:1320px!important}
body.inner-reference-theme .contact-form-panel{border:1px solid #dce3e7!important;border-radius:24px!important}
@media(max-width:700px){body.inner-reference-theme main :is(.page-section,.about-story-section){padding-top:36px!important;padding-bottom:36px!important}body.inner-reference-theme main .elementor .flow-navy-card.elementor-element:nth-child(n),body.inner-reference-theme main .content-grid>.content-card:nth-child(n),body.inner-reference-theme main .practice-directory>a:nth-child(n){padding:24px!important;border-radius:20px!important}}

body.inner-reference-theme main .elementor :is(.elementor-element-db8213c,.elementor-element-28ef6ea){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:28px!important;align-items:stretch!important}
body.inner-reference-theme main .elementor :is(.elementor-element-db8213c,.elementor-element-28ef6ea)>.flow-navy-card{width:100%!important;max-width:none!important;min-width:0!important;flex-basis:auto!important;grid-column:auto!important}
body.inner-reference-theme main .elementor .flow-navy-card .elementor-button{background:#cf4763!important;border-radius:8px!important}
body.inner-reference-theme main .elementor .flow-navy-card:hover .elementor-button{background:#fff!important;color:#173747!important}
body.inner-reference-theme main .elementor .flow-navy-card:hover .elementor-button span{color:#173747!important}
@media(max-width:800px){body.inner-reference-theme main .elementor :is(.elementor-element-db8213c,.elementor-element-28ef6ea){grid-template-columns:1fr!important}}

/* Resolve legacy Services and Practice Area palette rules. */
body.palette-clean.inner-reference-theme{--ink:#173747;--wine:#cf4763;--blush:#f5f7f8}
body.palette-clean.inner-reference-theme main .elementor[data-design=consistent]>.elementor-element.e-parent:nth-child(n){background-color:#fff!important;background-image:none!important}
body.palette-clean.inner-reference-theme main .elementor[data-design=consistent]>.elementor-element.e-parent:first-child,body.palette-clean.inner-reference-theme main .page-hero{background-color:#f5f7f8!important}
body.palette-clean.inner-reference-theme main :is(h1,h2,h3,h4,h5,.elementor-heading-title){color:#173747!important}
body.palette-clean.inner-reference-theme main :is(h1,h2,h3,.elementor-heading-title) :is(span,em){color:#cf4763!important}
body.palette-clean.inner-reference-theme main :is(.elementor-widget-text-editor,.elementor-widget-text-editor p,.elementor-widget-text-editor div){color:#63747b!important}
body.palette-clean.inner-reference-theme main .elementor .flow-navy-card.elementor-element:nth-child(n),body.palette-clean.inner-reference-theme main :is(.content-card,.practice-directory>a){background:#f5f7f8!important;border:1px solid #dce3e7!important;box-shadow:0 8px 24px #17374708!important}
body.palette-clean.inner-reference-theme main .flow-navy-card .elementor-element:not(.elementor-widget-image):not([style*="background-image"]){background-color:transparent!important}
body.palette-clean.inner-reference-theme main .flow-navy-card :is(.elementor-icon-list-text,.elementor-icon-list-icon){color:#63747b!important}
body.palette-clean.inner-reference-theme main .flow-navy-card :is(.elementor-icon-list-icon svg){fill:#cf4763!important}
body.palette-clean.inner-reference-theme main .elementor .flow-navy-card.elementor-element:nth-child(n):hover,body.palette-clean.inner-reference-theme main :is(.content-card,.practice-directory>a):hover{background:#cf4763!important;border-color:#cf4763!important}
body.palette-clean.inner-reference-theme main .flow-navy-card:nth-child(n):hover :is(h1,h2,h3,h4,h5,.elementor-heading-title,.elementor-heading-title span,.elementor-widget-text-editor,.elementor-widget-text-editor p,.elementor-widget-text-editor div,.elementor-icon-list-text,.elementor-icon-list-icon),body.palette-clean.inner-reference-theme main :is(.content-card,.practice-directory>a):hover :is(h2,h3,p,span){color:#fff!important}
body.palette-clean.inner-reference-theme main .flow-navy-card:hover .elementor-icon-list-icon svg{fill:white!important}
body.palette-clean.inner-reference-theme main .elementor .elementor-button{background:#cf4763!important;color:#fff!important;border:1px solid #cf4763!important;border-radius:8px!important;box-shadow:none!important}
body.palette-clean.inner-reference-theme main .elementor .elementor-button span{color:#fff!important}
body.palette-clean.inner-reference-theme main .flow-navy-card:hover .elementor-button{background:white!important;border-color:white!important}
body.palette-clean.inner-reference-theme main .flow-navy-card:hover .elementor-button span{color:#173747!important}

body.palette-clean.inner-reference-theme main .flow-navy-card .elementor-icon{width:48px!important;height:48px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:12px!important;box-sizing:border-box!important;background:#cf4763!important;border-radius:50%!important}
body.palette-clean.inner-reference-theme main .flow-navy-card .elementor-icon svg{width:24px!important;height:24px!important;fill:#fff!important}
body.palette-clean.inner-reference-theme main .flow-navy-card:hover .elementor-icon{background:#ffffff25!important}

/* Custom practice cards: replace legacy pink badges and tags. */
body.palette-clean.inner-reference-theme main .content-grid>.content-card:nth-child(n) .card-index{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:48px!important;height:48px!important;box-sizing:border-box!important;border-radius:50%!important;background:#cf4763!important;color:#fff!important;font-size:16px!important;line-height:1!important;border:0!important;letter-spacing:0!important;margin-bottom:24px!important}
body.palette-clean.inner-reference-theme main .content-grid>.content-card:nth-child(n) .domain-tags{display:flex!important;flex-wrap:wrap!important;gap:8px!important;background:transparent!important;margin-top:24px!important}
body.palette-clean.inner-reference-theme main .content-grid>.content-card:nth-child(n) .domain-tags span{background:#fcf0ee!important;color:#173747!important;border:1px solid #efd8d4!important;border-radius:6px!important;padding:7px 10px!important;font-size:13px!important;line-height:1.4!important}
body.palette-clean.inner-reference-theme main .content-grid>.content-card:nth-child(n):hover .card-index{background:#ffffff26!important;color:#fff!important}
body.palette-clean.inner-reference-theme main .content-grid>.content-card:nth-child(n):hover .domain-tags span{background:#ffffff20!important;border-color:#ffffff40!important;color:#fff!important}
body.palette-clean.inner-reference-theme main .page-section.soft{background:#fff!important}
body.palette-clean.inner-reference-theme main .practice-directory>a:nth-child(n) .eyebrow,body.palette-clean.inner-reference-theme main .practice-directory>a:nth-child(n) .text-link{color:#cf4763!important}
body.palette-clean.inner-reference-theme main .practice-directory>a:nth-child(n):hover .eyebrow,body.palette-clean.inner-reference-theme main .practice-directory>a:nth-child(n):hover .text-link{color:#fff!important}

/* Logo-red emphasis in the About story. */
body.inner-reference-theme main .elementor .endeavour-about-copy.about-story-layout h2,body.inner-reference-theme main .elementor .endeavour-about-copy.about-story-layout .about-chapter-title h3,body.inner-reference-theme main .elementor .endeavour-about-copy.about-story-layout .about-story-closing p{color:#cf4763!important}
body.inner-reference-theme main .about-story-context{border-left-color:#edb5ae!important}

/* Compact heading spacing, with more breathing room between principle cards. */
body.inner-reference-theme main .elementor-21 .elementor-element.elementor-element-139553e>.e-con-inner{gap:10px!important}
body.inner-reference-theme main .elementor-21 .elementor-element-139553e .elementor-element-53b94d4{margin-bottom:0!important}
body.inner-reference-theme main .elementor-21 .elementor-element-139553e .elementor-element-dab832f{margin:0!important;padding:0!important}
body.inner-reference-theme main .elementor-21 .elementor-element-139553e .elementor-element-dab832f .elementor-divider{padding:8px 0!important}
body.inner-reference-theme main .elementor-21 .elementor-element-139553e .elementor-element-c9fffa1{margin-top:14px!important;column-gap:36px!important;row-gap:28px!important;padding-top:0!important}
@media(max-width:800px){body.inner-reference-theme main .elementor-21 .elementor-element-139553e .elementor-element-c9fffa1{gap:24px!important}}

/* Move the complete Core Principles section upward by 5mm. */
body.inner-reference-theme main .elementor-21>.elementor-element.elementor-element-139553e{margin-top:-5mm!important}

/* About closing banner: balanced navy, white and logo red. */
body.inner-reference-theme main .elementor .endeavour-about-copy.about-story-layout .about-story-closing{background:#173747!important;border:0!important;border-left:5px solid #cf4763!important;border-radius:18px!important;padding:28px 32px!important;box-shadow:none!important}
body.inner-reference-theme main .elementor .endeavour-about-copy.about-story-layout .about-story-closing p,body.inner-reference-theme main .elementor .endeavour-about-copy.about-story-layout .about-story-closing strong{color:#fff!important;font-weight:500!important}
