/* Expertise — palette, cards and actions shared with JC Delynks Academy. */
.public-site .expertise-banner {
    background: #f3f7f8 !important;
    border-bottom: 1px solid #dce7e9;
    padding: 0;
}
.public-site .expertise-banner::before,.public-site .expertise-banner::after { display: none; }
.public-site .expertise-banner>.container { padding-block: 48px !important; max-width: 1050px; }
.public-site .expertise-banner h1.text-white { color: #034656 !important; font-size: clamp(28px,3.2vw,44px); font-weight: 750; line-height: 1.25; letter-spacing: -.025em; margin-bottom: 22px !important; }
.public-site .expertise-banner .breadcrumb,.public-site .expertise-banner .breadcrumb a { color: #596f77 !important; font-size: 12px; }
.public-site .expertise-banner .breadcrumb-item.active { color: #076679 !important; }
.public-site .expertise-banner .breadcrumb-item+.breadcrumb-item::before { color: #91a8ae; }
.public-site .expertise-detail { background: #f3f7f8; color: #304b55; }
.expertise-detail .expertise-main { max-width: 1300px; padding-top: 32px; }
.expertise-detail .expertise-lead { color: #596f77; font-size: 15px; max-width: 820px; }
.expertise-detail .expertise-navigation { border-color: #dce7e9; border-radius: 18px; margin-bottom: 32px; box-shadow: 0 6px 26px #03465606; }
.expertise-detail .expertise-navigation a { color: #034656; font-size: 12px; border: 1px solid transparent; border-radius: 10px; }
.expertise-detail .expertise-navigation a i { color: #076679; }
.expertise-detail .expertise-navigation a[aria-current=page] { background: #034656; border-color: #034656; box-shadow: inset 0 -3px #f39200; }
.expertise-detail .expertise-navigation a[aria-current=page] i { color: #f39200; }
.expertise-detail .expertise-navigation a:hover { background: #e3edef; }
.expertise-detail .expertise-about-card { border-radius: 18px; border-color: #dce7e9; box-shadow: 0 6px 26px #03465606; padding: clamp(24px,3.2vw,42px); }
.expertise-detail .expertise-visual { background: #f3f7f8; border-radius: 14px; }
.expertise-detail .expertise-visual figcaption { background: #034656; color: #fff; font-size: 13px; }
.expertise-detail .expertise-visual figcaption i { color: #f39200; }
.expertise-detail .rich-content { font-size: 14px; line-height: 1.8; color: #596f77; }
.expertise-detail .rich-content strong { color: #034656; }
.expertise-detail .expertise-intro-copy h2.expertise-about-title { font-size: clamp(24px,2.4vw,34px); font-weight: 750; letter-spacing: -.025em; }
.expertise-detail .expertise-offering { border-color: #dce7e9; border-radius: 18px; box-shadow: 0 6px 26px #03465606; }
.expertise-detail .expertise-offering h2 { font-weight: 750; letter-spacing: -.025em; }
.expertise-detail .expertise-domain-icon { background: #e3edef; color: #076679; border-radius: 12px; }
.expertise-detail .expertise-reasons { background: #e3edef; border-color: #cbdde1; }
.expertise-detail .expertise-reasons .expertise-domain-icon { background: #034656; color: #f39200; }
.expertise-detail .expertise-copy-icons li { border-color: #dce7e9; }
.expertise-detail .expertise-copy-icons li::before { color: #076679; }
.expertise-detail .expertise-copy-icons .about-list .ic { background: #e3edef; color: #076679; }
.public-site .expertise-detail :is(.btn,.expertise-text-link) {
    display: inline-flex; align-items: center; justify-content: center; gap: 22px;
    background: #f39200; color: #fff !important; border: 1px solid transparent;
    border-radius: 9px; padding: 13px 21px !important; font-size: 13px; font-weight: 750;
    line-height: 1.5; text-align: center; text-decoration: none;
    box-shadow: 0 4px 10px #f3920012;
    transition: transform .2s,box-shadow .2s,background .2s;
}
.public-site .expertise-detail :is(.btn,.expertise-text-link):hover { background: #df8500; transform: translateY(-2px); box-shadow: 0 8px 18px #f3920026; text-decoration: none; }
.expertise-detail .expertise-cta { background: #034656; border: 1px solid #034656; border-radius: 18px; }
.expertise-detail .expertise-cta .expertise-eyebrow { color: #ffc56d; font-size: 10px; letter-spacing: .12em; }
.expertise-detail .expertise-cta h2 { font-weight: 750; letter-spacing: -.025em; }
.expertise-detail .expertise-cta p { color: #dce7e9; font-size: 14px; }
.expertise-detail a:focus-visible { outline: 3px solid #076679; outline-offset: 4px; }
.expertise-detail .expertise-cta a:focus-visible { outline-color: #ffc56d; }
@media(max-width:575.98px) {
    .public-site .expertise-banner>.container { padding-block: 32px !important; }
    .expertise-detail .expertise-about-card { padding: 24px 8px; }
    .expertise-detail .expertise-navigation a { font-size: 11px; padding: 12px 10px; }
    .expertise-detail .expertise-cta { padding: 28px 24px; }
    .expertise-detail .expertise-cta .btn { width: 100%; }
}
@media(prefers-reduced-motion:reduce) {
    .public-site .expertise-detail :is(.btn,.expertise-text-link) { transition: none; }
    .public-site .expertise-detail :is(.btn,.expertise-text-link):hover { transform: none; }
}
/* Override the shared light-button theme inside the expertise call to action. */
.public-site .expertise-detail .expertise-cta .btn.btn-light { background:#f39200!important; border-color:#f39200!important; color:#fff!important; border-radius:9px; }
.public-site .expertise-detail .expertise-cta .btn.btn-light:hover { background:#df8500!important; border-color:#df8500!important; color:#fff!important; }
.public-site .expertise-detail .btn.btn-primary { background:#f39200!important; border-color:#f39200!important; color:#fff!important; border-radius:9px!important; }
.public-site .expertise-detail .btn.btn-primary:hover { background:#df8500!important; border-color:#df8500!important; color:#fff!important; }
/* Domain cards: compact editorial grid across all expertise detail pages. */
.expertise-detail .expertise-offerings { margin-top: 40px; }
.expertise-detail .expertise-offering:not(.expertise-reasons) {
    display: flex; flex-direction: column; gap: 18px; position: relative;
    padding: clamp(26px,3vw,38px); border: 1px solid #dce7e9;
    border-top: 3px solid #f39200; border-radius: 18px;
    background: #fff; box-shadow: 0 6px 26px #03465606;
    transition: transform .2s,box-shadow .2s,border-color .2s;
}
.expertise-detail .expertise-offering:not(.expertise-reasons) .expertise-offering-heading {
    display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: center;
}
.expertise-detail .expertise-domain-number { grid-column: 2; grid-row: 1; color: #d4e3e7; font-size: 42px; line-height: 1; font-weight: 750; letter-spacing: -.06em; }
.expertise-detail .expertise-offering:not(.expertise-reasons) .expertise-domain-icon {
    grid-column: 1; grid-row: 1; background: #fff3df; color: #a96300;
    width: 54px; height: 54px; border-radius: 14px; font-size: 21px;
}
.expertise-detail .expertise-offering:not(.expertise-reasons) h2 { grid-column: 1 / -1; margin: 0; font-size: clamp(20px,1.8vw,25px); line-height: 1.35; }
.expertise-detail .expertise-offering:not(.expertise-reasons) .rich-content { border-top: 1px solid #e8eff1; padding-top: 18px; }
.expertise-detail .expertise-reasons { margin-top: 8px; }
@media(hover:hover) {
    .expertise-detail .expertise-offering:not(.expertise-reasons):hover { transform: translateY(-4px); border-color: #f39200; box-shadow: 0 14px 32px #03465610; }
}
@media(max-width:575.98px) {
    .expertise-detail .expertise-offering:not(.expertise-reasons) { padding: 26px; gap: 16px; }
    .expertise-detail .expertise-domain-number { font-size: 36px; }
}
@media(prefers-reduced-motion:reduce) {
    .expertise-detail .expertise-offering:not(.expertise-reasons) { transition: none; }
    .expertise-detail .expertise-offering:not(.expertise-reasons):hover { transform: none; }
}
.expertise-detail .expertise-activity-cards { margin-top:40px; }
.expertise-detail .expertise-activity-cards>ul { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; padding:0; margin:0; list-style:none; counter-reset:activities; }
.expertise-detail .expertise-activity-cards>ul>li { position:relative; counter-increment:activities; padding:78px 32px 32px; background:#fff; border:1px solid #dce7e9; border-top:3px solid #f39200; border-radius:18px; color:#596f77; font-size:14px; line-height:1.8; box-shadow:0 6px 26px #03465606; }
.expertise-detail .expertise-activity-cards>ul>li::before { content:counter(activities,decimal-leading-zero); position:absolute; top:22px; right:30px; color:#d4e3e7; font-size:36px; line-height:1; font-weight:750; }
.expertise-detail .expertise-activity-cards strong { color:#034656; font-size:20px; line-height:1.4; }
@media(max-width:767.98px) { .expertise-detail .expertise-activity-cards>ul { grid-template-columns:1fr; } }
/* Training subjects combine the existing CMS image and its heading in one card. */
.expertise-detail .expertise-offering.expertise-image-card { padding:0; overflow:hidden; gap:0; }
.expertise-detail .expertise-training-cover { width:100%; aspect-ratio: 3 / 2; background:#e3edef; overflow:hidden; }
.expertise-detail .expertise-training-cover img { display:block; width:100%; height:100%; object-fit:cover; }
.expertise-detail .expertise-offering.expertise-image-card .expertise-offering-heading { padding:26px 30px; gap:18px; }
.expertise-detail .expertise-offering.expertise-image-card .rich-content { margin:0 30px 26px; }
.expertise-detail .expertise-offering.expertise-image-card .rich-content:empty { display:none; }
@media(max-width:575.98px) { .expertise-detail .expertise-offering.expertise-image-card .expertise-offering-heading { padding:24px; } }
/* Compact training cards. */
.expertise-detail .expertise-training-cover { aspect-ratio: 16 / 7; }
.expertise-detail .expertise-offering.expertise-image-card .expertise-offering-heading { padding:20px 24px; gap:12px; }
.expertise-detail .expertise-offering.expertise-image-card .expertise-domain-icon { width:38px; height:38px; border-radius:10px; font-size:16px; }
.expertise-detail .expertise-offering.expertise-image-card .expertise-domain-number { font-size:28px; }
.expertise-detail .expertise-offering.expertise-image-card h2 { font-size:19px; line-height:1.35; }
.expertise-detail .expertise-offering.expertise-image-card .rich-content { margin:0 24px 20px; }
@media(min-width:1200px) {
    .expertise-detail .expertise-offerings>.row>div:has(>.expertise-image-card) { width:33.333333%; }
}
@media(max-width:575.98px) {
    .expertise-detail .expertise-training-cover { aspect-ratio: 16 / 8; }
    .expertise-detail .expertise-offering.expertise-image-card .expertise-offering-heading { padding:18px 20px; }
    .expertise-detail .expertise-offering.expertise-image-card h2 { font-size:18px; }
}
/* Keep card borders neutral on hover. */
@media(hover:hover) {
    .expertise-detail .expertise-offering:not(.expertise-reasons):hover { border-color:#dce7e9; border-top-color:#f39200; }
}
/* Compact intervention cards shared by engineering, finance and consulting. */
.expertise-compact .expertise-offerings { margin-top:28px; }
.expertise-compact .expertise-offerings>.row { --bs-gutter-x:18px; --bs-gutter-y:18px; }
.expertise-compact .expertise-offering:not(.expertise-reasons) { padding:22px 24px; gap:12px; border-radius:14px; }
.expertise-compact .expertise-offering:not(.expertise-reasons) .expertise-offering-heading { grid-template-columns:38px minmax(0,1fr) auto; gap:12px; }
.expertise-compact .expertise-offering:not(.expertise-reasons) .expertise-domain-icon { width:38px; height:38px; border-radius:10px; font-size:16px; }
.expertise-compact .expertise-offering:not(.expertise-reasons) .expertise-domain-number { grid-column:3; grid-row:1; font-size:25px; }
.expertise-compact .expertise-offering:not(.expertise-reasons) h2 { grid-column:2; grid-row:1; font-size:18px; line-height:1.35; }
.expertise-compact .expertise-offering:not(.expertise-reasons) .rich-content { padding-top:12px; font-size:13px; line-height:1.7; }
.expertise-compact .expertise-offering:not(.expertise-reasons) .rich-content p { margin-bottom:10px; }
.expertise-compact .expertise-offering:not(.expertise-reasons) .rich-content>:last-child { margin-bottom:0; }
@media(max-width:575.98px) { .expertise-compact .expertise-offering:not(.expertise-reasons) { padding:20px; } }

/* Consulting domains are editable list items rather than section cards. */
.expertise-compact .expertise-activity-cards { margin-top:28px; }
.expertise-compact .expertise-activity-cards>ul { gap:18px; }
.expertise-compact .expertise-activity-cards>ul>li { padding:22px 56px 22px 24px; border-radius:14px; font-size:13px; line-height:1.7; }
.expertise-compact .expertise-activity-cards>ul>li::before { top:24px; right:20px; font-size:25px; }
.expertise-compact .expertise-activity-cards strong { font-size:18px; line-height:1.35; }
@media(max-width:575.98px) { .expertise-compact .expertise-activity-cards>ul>li { padding:20px 50px 20px 20px; } }
/* Consulting domains: three aligned cards and restrained progressive entrance. */
.studies-page .expertise-activity-cards>ul { grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.studies-page .expertise-activity-cards>ul>li { padding:68px 24px 26px; animation:consulting-card-in .6s ease backwards; transition:transform .25s ease,box-shadow .25s ease; }
.studies-page .expertise-activity-cards>ul>li:nth-child(2) { animation-delay:.12s; }
.studies-page .expertise-activity-cards>ul>li:nth-child(3) { animation-delay:.24s; }
.studies-page .expertise-activity-cards>ul>li::before { top:22px; right:24px; font-size:32px; }
.studies-page .expertise-activity-cards strong { display:block; margin-bottom:14px; font-size:19px; line-height:1.4; }
@keyframes consulting-card-in { from { opacity:0; transform:translateY(22px); } to { opacity:1; transform:translateY(0); } }
@media(hover:hover) { .studies-page .expertise-activity-cards>ul>li:hover { transform:translateY(-5px); box-shadow:0 16px 32px #03465615; } }
@media(max-width:991.98px) { .studies-page .expertise-activity-cards>ul { grid-template-columns:1fr; } }
@media(prefers-reduced-motion:reduce) {
 .studies-page .expertise-activity-cards>ul>li { animation:none; transition:none; }
 .studies-page .expertise-activity-cards>ul>li:hover { transform:none; }
}
/* Training invitation uses the former Why choose us panel treatment. */
.expertise-detail .expertise-training {
    background:#e3edef;
    border:1px solid #cbdde1;
    border-radius:18px;
    padding:clamp(24px,3vw,36px);
}
.expertise-detail .expertise-training .expertise-section-heading { margin:0; }
