/* Presentation only: existing Elementor/The Post Grid queries, links, filters and pagination stay intact. */
.kc-knowledge-hub-active #content{max-width:1200px;width:calc(100% - 48px);margin:0 auto;padding:clamp(40px,5vw,72px) 0 40px;background:transparent;color:#f3f8f8;font-family:"KC Montserrat",sans-serif;line-height:1.7}
.kc-knowledge-hub-active #content :is(h1,h2,h3,h4,h5,h6){font-family:"KC Varela Round",sans-serif;font-weight:400}
.kc-knowledge-hub-active #content :is(p,li,.elementor-widget-text-editor,.rt-tpg-container){font-family:"KC Montserrat",sans-serif}
.kc-knowledge-hub-active #content :where(h1,h2,h3,h4,h5,h6){color:inherit;line-height:1.2;overflow-wrap:anywhere}
.kc-knowledge-hub-active #content h1{font-size:clamp(2rem,3.5vw,3.5rem);letter-spacing:-.025em}
.kc-knowledge-hub-active #content :where(p,li){overflow-wrap:anywhere}
.kc-knowledge-hub-active #content :where(img,video,iframe){max-width:100%}
.kc-knowledge-hub-active #content img{height:auto}
.kc-knowledge-hub-active #content :where(a,button,input,select,textarea):focus-visible{outline:3px solid #8dd5db;outline-offset:4px;box-shadow:0 0 0 2px #163f40}
.kc-knowledge-hub-active #content :where(input,select,textarea){max-width:100%;border:1px solid #6aabad;border-radius:10px;background:#f3f8f8;color:#163f40}
.kc-knowledge-hub-active #content :where(button,input[type=submit],.read-more a,.rt-tpg-container .read-more a){background:#a9d6e5;color:#163f40;border-radius:999px;padding:10px 20px;border:1px solid #84c2c8;font-weight:600;min-height:44px}
.kc-hub-intro{margin-bottom:32px}.kc-hub-intro h1{margin:0}
.kc-hub-index #content .elementor-widget-spacer{display:none}
.kc-hub-index #content .e-con{--container-max-width:1200px}
.kc-hub-index #content .tpg-widget-heading{color:#f3f8f8;font-size:clamp(1.5rem,2.2vw,2rem)}
.kc-hub-index #content .tpg-widget-heading-line{background-color:rgba(169,214,229,.4)}
.kc-hub-index #content .tpg-post-holder{border:1px solid rgba(169,214,229,.4);border-radius:20px;overflow:hidden;background:linear-gradient(150deg,rgba(243,248,248,.94),rgba(169,214,229,.88));box-shadow:0 10px 24px rgba(22,63,64,.1);color:#163f40}
.kc-hub-index #content .tpg-post-holder :where(.rt-detail,.post-right-content,.grid-hover-content){background:transparent;color:#163f40}
.kc-hub-index #content .tpg-post-holder :where(h2,h3,h4,a,p,.post-meta-tags){color:#163f40}
.kc-hub-index #content .tpg-post-holder .entry-title{font-size:clamp(1.2rem,1.7vw,1.65rem);line-height:1.25}
.kc-hub-index #content .tpg-post-holder .rt-img-holder img{width:100%;object-fit:contain;max-height:360px}
.kc-hub-index #content .grid_hover-layout1 .grid-hover-content{position:relative!important;inset:auto!important;transform:none!important;opacity:1!important;padding:24px!important;background:transparent!important}
.kc-hub-index #content .grid_hover-layout1 .overlay{display:none}
.kc-hub-index #content .grid_hover-layout1 .rt-img-holder.has-no-thumbnail{min-height:0}
.kc-hub-index #content .tpg-post-holder a:hover{color:#005f60;text-decoration:underline}
/* Article reading surface: one quiet bright surface instead of theme-specific competing backgrounds. */
.kc-hub-article #content>.page-content{background:rgba(243,248,248,.95);color:#163f40;border:1px solid rgba(255,255,255,.6);border-radius:24px;padding:clamp(20px,3vw,44px)}
.kc-hub-article #content .elementor>.e-con{background:transparent!important;--background-overlay-opacity:0;--container-max-width:1064px}
.kc-hub-article #content .elementor>.e-con>.e-con-inner>.elementor-widget-spacer{display:none}
.kc-hub-article #content .elementor>.e-con>.e-con-inner>.elementor-shape{display:none}
.kc-hub-article #content .elementor-widget-text-editor,.kc-hub-article #content .elementor-heading-title{color:#163f40}
.kc-hub-article #content :where(.elementor-widget-text-editor,.elementor-heading-title) a{color:#005f60;text-decoration:underline;text-underline-offset:3px}
.kc-hub-article #content .elementor-widget-text-editor{font-size:1.0625rem;line-height:1.75}
.kc-hub-article #content .elementor-widget-image img{border-radius:18px;object-fit:contain}
.kc-hub-article #comments{background:rgba(243,248,248,.95);color:#163f40;padding:24px;border-radius:20px;margin-top:24px}
.kc-hub-article #comments a,.kc-hub-article .post-tags a{color:#005f60}
.kc-hub-archive #content>.page-header{margin-bottom:32px}
.kc-hub-archive #content>.page-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.kc-hub-archive #content>.page-content>article{min-width:0;border:1px solid rgba(255,255,255,.5);border-radius:20px;padding:24px;background:linear-gradient(145deg,rgba(243,248,248,.95),rgba(169,214,229,.9));color:#163f40}
.kc-hub-archive #content article .entry-title{font-size:1.5rem;margin-top:0}.kc-hub-archive #content article a{color:#005f60}
.kc-hub-archive #content article .wp-post-image{width:100%;max-height:320px;object-fit:contain;border-radius:12px}
.kc-knowledge-hub-active #content .pagination{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px;margin-top:24px}
.kc-knowledge-hub-active #content .pagination :where(a,span){padding:8px 14px;min-width:44px;border-radius:10px;background:#f3f8f8;color:#163f40}
.kc-knowledge-hub-active #content .pagination .current{background:#163f40;color:#f3f8f8;border:1px solid #a9d6e5}
@media(max-width:767px){.kc-knowledge-hub-active #content{width:calc(100% - 40px);padding:36px 0 24px}.kc-hub-archive #content>.page-content{grid-template-columns:minmax(0,1fr);gap:24px}.kc-hub-article #content>.page-content{padding:20px;border-radius:20px}.kc-hub-index #content .rt-tpg-container .list-layout1 .rt-detail{display:flex;flex-direction:column}.kc-hub-index #content .list-layout1 :where(.rt-img-holder,.post-right-content){width:100%!important;float:none!important}.kc-hub-article #content .e-grid{grid-template-columns:minmax(0,1fr)}.kc-hub-article #content .elementor-widget-text-editor{font-size:1rem}}
@media(prefers-reduced-motion:reduce){.kc-knowledge-hub-active #content *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* The Post Grid overlay pseudo-elements otherwise obscure the light card. */
.kc-hub-index #content .grid_hover-layout1 .grid-hover-content::before,
.kc-hub-index #content .grid_hover-layout1 .grid-hover-content::after{display:none!important}
