/* r39 customer-facing design refinement: high-contrast, responsive controls */
:root{--r39-ink:#17382f;--r39-muted:#405b53;--r39-mint:#d9f3ea}
.topic-hub-overview{--xp-forest-2:#17695a;--xp-mint-strong:#17695a;--mint-dark:#17695a;--accent:#17695a;background:#f3f7f4!important;color:var(--r39-ink)!important}
.topic-hub-overview .services-section-head :is(h2,p,.eyebrow){color:var(--r39-ink)!important}
.topic-hub-overview .topic-hub-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))!important;gap:16px!important}
.topic-hub-overview .topic-hub-card{display:flex!important;flex-direction:column!important;gap:12px!important;background:#fff!important;border:1px solid #d4e3dc!important;border-radius:18px!important;box-shadow:0 8px 24px #122f2110!important;padding:24px!important;min-width:0!important;color:var(--r39-ink)!important;text-decoration:none!important}
.topic-hub-overview .topic-hub-card :is(h3,p,span,strong,small){color:var(--r39-ink)!important;opacity:1!important;text-shadow:none!important}
.topic-hub-overview .topic-hub-card p{color:var(--r39-muted)!important;line-height:1.6!important}
.topic-hub-overview .topic-hub-card span{margin-top:auto!important;color:#075b49!important;font-size:1.35rem!important}
.topic-hub-overview .topic-hub-card:hover{border-color:#36816c!important;transform:translateY(-2px)}
.knowledge-guides{background:#f6f8f5!important;color:var(--r39-ink)!important}
.knowledge-guides .knowledge-guides-layout{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:26px!important}
.knowledge-guides .knowledge-guides-intro{max-width:none!important;width:100%!important;display:block!important}
.knowledge-guides .knowledge-guides-intro :is(h2,p,label,.eyebrow){color:var(--r39-ink)!important;opacity:1!important}
.knowledge-guides .knowledge-guides-intro h2{max-width:780px!important;font-size:clamp(1.65rem,3vw,2.6rem)!important;line-height:1.18!important}
.knowledge-guides .guide-toolbar{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:16px!important;width:100%!important}
.knowledge-guides .search-field{width:100%!important;max-width:none!important;min-width:0!important}
.knowledge-guides .search-field input{display:block!important;width:100%!important;max-width:none!important;min-width:0!important;box-sizing:border-box!important;background:#fff!important;color:#17382f!important;border:1.5px solid #698b7f!important;border-radius:12px!important;padding:14px 16px!important}
.knowledge-guides .search-field input::placeholder{color:#52665e!important;opacity:1!important}
.knowledge-guides .filter-row{display:flex!important;flex-flow:row wrap!important;align-items:center!important;gap:10px!important;width:100%!important;max-width:100%!important}
.knowledge-guides .filter-button{display:inline-flex!important;flex:0 0 auto!important;width:auto!important;min-width:110px!important;max-width:none!important;min-height:44px!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;text-align:center!important;align-items:center!important;justify-content:center!important;padding:10px 16px!important;background:#fff!important;color:#17382f!important;border:1.5px solid #78958a!important;border-radius:999px!important;font-size:.94rem!important;line-height:1.3!important}
.knowledge-guides .filter-button.active,.knowledge-guides .filter-button[aria-pressed=true]{background:#165744!important;color:#fff!important;border-color:#165744!important}
.knowledge-guides .guide-item{background:#fff!important;color:#17382f!important;border:1px solid #d4e3dc!important;border-radius:15px!important;overflow:hidden!important}
.knowledge-guides .guide-item :is(h3,p,span,strong,small,li){color:#17382f!important;opacity:1!important}
.knowledge-guides .guide-item .guide-toggle{width:100%!important;color:#17382f!important;background:#fff!important;text-align:left!important}
.knowledge-guides .guide-item .guide-toggle :is(span,strong,small){color:#17382f!important}
/* Override old r38 light-panel rule only where a genuinely dark background is used */
:is(.section-dark,.home-final,.site-footer,.footer-dark) :is(h1,h2,h3,h4,h5,h6,p,li,span,strong,small){color:#f7fbf9}
.r39-editorial-photo{margin:22px 0 26px;max-width:100%;overflow:hidden;border-radius:18px;background:#e8eee9}
.r39-editorial-photo img{display:block;width:100%;height:clamp(190px,24vw,310px);object-fit:cover}
.r39-editorial-photo figcaption{padding:9px 14px;font-size:.82rem;color:#31574a;background:#e8eee9}
.r39-home-photo{max-width:1050px;margin:12px auto 28px}
.r39-home-photo img{height:clamp(210px,32vw,360px)}
@media(max-width:680px){.knowledge-guides .filter-row{flex-wrap:nowrap!important;overflow-x:auto!important;padding:3px 2px 12px!important;scrollbar-width:thin}.knowledge-guides .filter-button{min-width:max-content!important;white-space:nowrap!important}.topic-hub-overview .topic-hub-grid{grid-template-columns:minmax(0,1fr)!important}.r39-editorial-photo img{height:210px}}
