/* KennyDTC 3.2 — compact rhythm and stable responsive geometry.
   Loaded after the earlier theme layers; content and editor blocks stay intact. */
:root{--container:1200px;--kd-page-gutter:32px}
.container,.kd-block-content .kd-container{width:min(calc(100% - var(--kd-page-gutter) * 2),var(--container));margin-inline:auto}
.container.content-container{width:min(calc(100% - var(--kd-page-gutter) * 2),var(--content))}
.kd-block-content .kd-container.alignwide{max-width:var(--container);transform:none}
.kd-block-content .kd-container>.wp-block-columns,.kd-block-content .kd-container>.wp-block-group{max-width:100%}
.kd-block-content .wp-block-column,.kd-card,.kd-whitepaper-card,.post-card,.footer-grid>*{min-width:0}
.kd-block-content :is(h1,h2,h3,p,li),.entry-content,.post-card,.footer-contact{overflow-wrap:break-word}
.kd-block-content :is(.kd-card-grid,.kd-hero-grid,.kd-split,.kd-faq-grid,.kd-contact-grid){margin-block:0}
/* Gutenberg flow margins belong to vertical prose, not CSS grid/flex items.
   Reset only the immediate layout items: paragraph spacing inside cards remains. */
.kd-block-content :is(.kd-card-grid,.kd-process-cards,.kd-service-cards,.kd-brand-grid,.kd-whitepaper-grid,.kd-phase-grid,.kd-hero-grid,.kd-split,.kd-faq-grid,.kd-contact-grid,.kd-industry-grid,.kd-post-grid,.kd-social-grid,.kd-actions,.kd-inline-checks)>*{margin-block:0;min-width:0}
.kd-block-content :is(.kd-card-grid,.kd-process-cards,.kd-service-cards,.kd-brand-grid,.kd-whitepaper-grid,.kd-phase-grid,.kd-post-grid){align-items:stretch}
.kd-design-services .kd-grid-3>.kd-card>*,.kd-design-ai .kd-phase-grid>.kd-card>*{margin-block:0}
.kd-block-content .kd-service-cards>.kd-card{display:flex;flex-direction:column;align-self:stretch}
.kd-block-content .kd-service-cards>.kd-card>.kd-card-link{margin-top:auto;margin-bottom:0}
.kd-whitepaper-grid>.kd-whitepaper-card{display:flex;flex-direction:column;align-self:stretch;margin-block:0}
.kd-whitepaper-card>.kd-paper-status{margin-top:auto}
.post-grid>.post-card{display:flex;flex-direction:column;align-self:stretch;margin-block:0}
.post-card>.post-card-body{display:flex;flex:1;flex-direction:column}
.post-card-body>.text-link{margin-top:auto;align-self:flex-start}

.section,.kd-block-content .kd-section{padding-block:64px}
.kd-block-content .kd-section h2{font-size:clamp(27px,2.7vw,38px);line-height:1.28;margin-bottom:16px}
.kd-block-content .kd-section h3{line-height:1.4}
.kd-section-heading{margin-bottom:28px;max-width:800px}
.kd-section-lead{font-size:16px;line-height:1.75!important}
.kd-eyebrow{margin-bottom:14px!important;letter-spacing:.1em}
.kd-actions{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0 20px}
.button,.kd-block-content .wp-block-button__link{min-height:48px;padding:12px 22px;font-size:14px}
.kd-block-content .kd-hero,.kd-design-services .kd-inner-hero,.kd-design-ai .kd-inner-hero,.kd-design-research .kd-inner-hero,.kd-design-about .kd-inner-hero{width:calc(100% - 32px);margin:16px 16px 0;border-radius:24px;padding:52px 0!important;min-height:0}
.kd-block-content .kd-hero-grid,.kd-block-content .kd-inner-hero .kd-hero-grid,.kd-design-about .kd-inner-hero .kd-hero-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:40px}
.kd-block-content .kd-split,.kd-block-content .kd-faq-grid,.kd-block-content .kd-contact-grid{gap:40px}
.kd-block-content .kd-hero h1{font-size:clamp(40px,4.8vw,62px)!important;line-height:1.15;margin:20px 0 22px;letter-spacing:-.045em}
.kd-block-content .kd-inner-hero h1{font-size:clamp(36px,3.8vw,52px);margin:18px 0 22px}
.kd-block-content .kd-inner-hero h1 .kd-accent{font-size:clamp(23px,2.15vw,29px);margin-top:12px}
.kd-hero-subtitle{font-size:clamp(20px,2vw,25px);margin-top:18px}
.kd-inner-hero .kd-hero-lead,.kd-hero .kd-hero-lead{font-size:15px;line-height:1.8!important;margin-bottom:0}
.kd-inner-hero .kd-actions{margin-top:24px}
.kd-hero .kd-inline-checks{margin-top:20px;gap:10px 18px}
.kd-hero .kd-quality-panel{transform:none;box-shadow:none;margin:0;border-radius:18px;padding:28px 28px 22px}
.kd-hero .kd-quality-panel h3{font-size:27px;margin:16px 0 20px!important}
.kd-hero .kd-quality-panel>p:not(.kd-panel-label):not(.kd-panel-note){padding:12px 0}
.kd-audience-strip{padding-block:0}
.kd-audience-strip .kd-container{padding-block:20px}
.kd-card-grid{gap:16px}
.kd-card{padding:25px;border-radius:16px}
.kd-card:hover{transform:translateY(-2px)}
.kd-card-number{margin-bottom:20px!important}
.kd-card-link{padding-top:14px}
.kd-service-cards{gap:18px}
.kd-service-cards .kd-card{padding:30px;min-height:330px}
.kd-service-cards .kd-card h3{font-size:clamp(25px,2.5vw,31px);margin-bottom:16px}
.kd-service-cards .kd-card .kd-card-number{margin-bottom:22px!important}
.kd-block-content .kd-dark-section{width:calc(100% - 32px);margin-inline:16px;border-radius:24px}
.kd-dark-list>p{padding-block:17px}
.kd-industry-grid{gap:0 30px}
.industry-card{grid-template-columns:42px minmax(0,1fr) 22px;gap:14px;padding-block:18px}
.industry-card:hover{transform:none}
.industry-card strong{font-size:15px}
.kd-process-cards .kd-card{padding:22px}
.kd-process-cards .kd-card-number{margin-bottom:18px!important}
.kd-faq-item summary{padding-block:20px}
.kd-faq-item summary:after{top:16px}
.kd-faq-item>p{padding-bottom:20px;font-size:14px}
.kd-block-content .kd-final-cta{padding-block:62px;margin-bottom:16px}
.kd-final-cta h2{font-size:clamp(29px,3.8vw,46px)!important}
.kd-final-cta .kd-actions{margin-bottom:0}
/* Three generous logo cells per desktop row, retaining the supplied artwork scale. */
.kd-block-content .kd-brand-grid{margin-top:26px;gap:16px}
.kd-block-content .kd-brand-item{min-height:170px;height:170px;border-radius:14px}
/* Service delivery lists and resource cards. */
.kd-design-services .kd-inner-hero .kd-quality-panel{padding:26px 28px 16px;box-shadow:none;border-top-width:5px}
.kd-design-services .kd-numbered-list li{padding:16px 0;font-size:16px}
.kd-design-services .kd-grid-3{gap:0 28px}
.kd-design-services .kd-grid-3 .kd-card{grid-template-columns:38px minmax(0,1fr);gap:8px 16px;padding:25px 0}
.kd-design-services .kd-grid-3 .kd-card h3{font-size:22px}
.kd-design-services .kd-industry-grid{padding:6px 26px}
/* AI diagram is sized within its own column, never by a viewport offset. */
.kd-design-ai .kd-ai-visual{height:350px;min-height:0;width:100%;max-width:none;border-radius:20px;box-shadow:none}
.kd-design-ai .kd-phase-grid .kd-card{grid-template-columns:44px minmax(140px,.7fr) minmax(0,1.3fr);gap:20px;padding:26px 0}
.kd-design-ai .kd-phase-grid h3{font-size:22px}
.kd-design-ai .kd-phase-grid .kd-card>ul{margin-bottom:0}
.kd-design-ai .kd-notice-card,.kd-design-research .kd-notice-card{padding:30px}
/* Research cards: consistent tops and footers without oversized blank covers. */
.kd-design-research .kd-inner-hero .kd-quality-panel{min-height:0;padding:30px;transform:none;box-shadow:none;border-left-width:7px}
.kd-design-research .kd-inner-hero .kd-quality-panel h3{font-size:29px;margin:20px 0}
.kd-design-research .kd-check-list li{padding:6px 0}
.kd-design-research .kd-whitepaper-grid{gap:18px;align-items:stretch}
.kd-design-research .kd-whitepaper-card{min-height:280px;padding:25px 23px;box-shadow:none}
.kd-paper-mark{margin-bottom:22px}
.kd-design-research .kd-whitepaper-card h3{font-size:20px;margin:10px 0 16px}
.kd-design-research .kd-whitepaper-card>p:not(.kd-eyebrow){margin-bottom:18px}
/* About page: align the text and portrait, remove forced card heights. */
.kd-design-about .kd-inner-hero .kd-hero-grid{align-items:center}
.kd-design-about .kd-inner-hero h1{font-size:clamp(34px,3.3vw,46px)}
.kd-design-about .kd-inner-hero h1 .kd-accent{font-size:inherit;margin-top:6px}
.kd-design-about .kd-inner-hero .kd-quality-panel{padding:22px 26px}
.kd-design-about .kd-inner-hero .kd-quality-panel h3{font-size:24px;margin-bottom:14px}
.kd-design-about .kd-grid-4 .kd-card{padding:28px;min-height:0}
.kd-design-about .kd-grid-4 .kd-card h3{font-size:23px}
.kd-design-about .kd-grid-4 .kd-card-number{margin-bottom:18px!important}
.kd-design-about .kd-grid-3{gap:0 28px}
.kd-design-about .kd-grid-3 .kd-card{padding:24px 0}
.kd-design-about .kd-dark-list>p{font-size:16px}
/* Contact, inquiry form and native iOS controls. */
.kd-contact-hero{padding:52px 0!important}
.kd-contact-hero h1{font-size:clamp(34px,3.8vw,50px)!important}
.kd-form-card{padding:30px;border-radius:20px;box-shadow:0 8px 28px #103f340b}
.kd-social-section{padding:26px}
.kd-contact-grid>.wp-block-column:first-child>.kd-social-section{margin-top:22px}
.kd-form-card input,.kd-form-card select,.kd-form-card textarea,.kdi-form input,.kdi-form select,.kdi-form textarea{max-width:100%;min-width:0;font-size:16px}
.kd-form-card input,.kd-form-card select,.kdi-form input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.kdi-form select{min-height:46px}
.kdi-form .form-submit,.inquiry-form .form-submit{display:flex!important;align-items:center;justify-content:center;min-height:48px;-webkit-appearance:none;appearance:none}
.kdi-form .form-row,.inquiry-form .form-row{min-width:0}
/* Archives, articles and simple policy pages share the tighter rhythm. */
.listing-hero,.page-header.compact-hero{padding:50px 0 36px}
.listing-section{padding-top:32px}
.breadcrumbs{margin-bottom:24px}
.listing-toolbar{margin-bottom:24px}
.post-grid,.kd-post-grid{gap:24px}
/* A fixed 205px minimum plus aspect-ratio forced a 328px cover at 320px viewports. */
.post-card-visual{width:100%;min-width:0;min-height:0;aspect-ratio:16/9;flex:0 0 auto;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr)}
.post-card-visual img{width:100%;height:100%;min-width:0;min-height:0;object-fit:contain}
.post-card:hover .post-card-visual img{transform:none}
.article-featured img{width:100%;height:auto;max-height:none;aspect-ratio:16/9;object-fit:contain}
.post-card-body{padding-top:18px;padding-bottom:16px}
.post-card h3{font-size:20px}
.article-header{padding-top:48px;padding-bottom:36px}
.article-header h1{font-size:clamp(31px,4vw,52px);line-height:1.25}
.article-deck{font-size:17px}
.article-body-section{padding-block:44px}
.article-layout{gap:34px;grid-template-columns:130px minmax(0,var(--content))}
.article-footer{padding-bottom:48px}
.page-content{padding-top:32px}
.entry-content .alignwide,.entry-content .alignfull{width:100%;max-width:100%;margin-left:0;margin-right:0;transform:none}
.entry-content :is(figure,iframe,video){max-width:100%}
.entry-content .wp-block-table{overflow-x:auto}
.entry-content h2{margin-top:1.65em}
.entry-content h3{margin-top:1.4em}
/* Smart Publisher uses its own landing wrapper and inline component styles. */
.kdsp-landing .kdsp-web-hero{padding-block:42px!important}
.kdsp-landing .kdsp-web-section{padding-block:44px!important}
.kdsp-landing .kdsp-web-card{border-radius:16px!important}
.kdsp-landing :is(.kdsp-web-hero-grid,.kdsp-web-card-grid,.kdsp-web-download-grid,.kdsp-web-two-column,.kdsp-web-final-grid)>*{min-width:0}
.kdsp-landing .kdsp-web-button{min-height:46px!important}
/* Compact footer with room for real link labels and addresses. */
.site-footer{padding-top:40px}
.footer-grid{gap:32px;padding-bottom:28px;grid-template-columns:minmax(0,1.35fr) repeat(3,minmax(0,.8fr))}
.footer-brand>p{margin-top:14px}
.footer-column h2{margin-bottom:14px}
.footer-column a{overflow-wrap:anywhere}
.footer-social-bar{min-height:76px;padding-block:16px;gap:20px}
.footer-bottom{min-height:62px;gap:18px}
.footer-legal,.footer-menu{flex-wrap:wrap;gap:10px 16px}
/* Header: preserve an explicit inquiry CTA at every responsive width. */
.header-inner{min-height:76px;gap:18px}
.site-header .site-branding{flex:0 0 auto}
.site-header .site-branding img{width:38px;height:38px}
.site-header .brand-name,.site-header .brand-fallback span{font-size:22px}
.site-header .brand-fallback{gap:8px}
.nav-menu{gap:20px}
.nav-menu>li>a{font-size:13px;min-height:44px}
.site-header .header-cta{display:inline-flex!important;min-height:44px;padding:10px 16px;font-size:12px;gap:0}
.site-header .header-cta:after{width:18px!important;height:18px!important;min-width:18px;margin-left:9px}
@media(min-width:1101px) and (max-width:1240px){.nav-menu{gap:14px}.header-inner{gap:14px}.site-header .header-cta{padding-inline:13px}.site-header .brand-name,.site-header .brand-fallback span{font-size:20px}}
@media(max-width:1100px){
 .site-header{-webkit-backdrop-filter:none;backdrop-filter:none;background:#f8faf8}
 .header-inner{min-height:70px;gap:12px}
 .site-header .site-branding{order:1;min-width:0}
 .site-header .header-cta{order:2;margin-left:auto}
 .nav-toggle{order:3;display:flex;flex:0 0 44px;margin-left:0;cursor:pointer}
 .primary-navigation,.admin-bar .primary-navigation{position:absolute;top:100%;right:0;bottom:auto;left:0;display:none;max-height:calc(100vh - 70px);max-height:calc(100dvh - 70px);margin:0;padding:12px var(--kd-page-gutter) 24px;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;background:#f8faf8;border-bottom:1px solid var(--line);box-shadow:0 14px 24px #082e400f}
 .admin-bar .primary-navigation{max-height:calc(100vh - 116px);max-height:calc(100dvh - 116px)}
 .primary-navigation.is-open{display:block}
 .nav-menu{flex-direction:column;align-items:stretch;gap:0}
 .nav-menu>li{border-bottom:1px solid var(--line)}
 .nav-menu>li>a{width:100%;min-height:48px;padding:12px 0;font-size:16px;white-space:normal}
 .nav-menu .sub-menu{position:static;display:block;min-width:0;padding:0 0 8px 12px;border:0;box-shadow:none;opacity:1;pointer-events:auto;transform:none;background:transparent}
 .nav-menu .sub-menu a{min-height:44px;font-size:14px}
 .kd-block-content .kd-hero-grid,.kd-block-content .kd-inner-hero .kd-hero-grid,.kd-design-about .kd-inner-hero .kd-hero-grid{gap:30px}
 .kd-design-ai .kd-phase-grid .kd-card{grid-template-columns:40px minmax(140px,.7fr) minmax(0,1.3fr);gap:16px}
 .kd-grid-4,.kd-grid-5{grid-template-columns:repeat(2,minmax(0,1fr))}
 .kd-process-cards .kd-card{border-right:0;border-bottom:1px solid var(--line)}
 .kd-design-research .kd-grid-4 .kd-card{border-right:0}
}
@media(max-width:900px){
 :root{--kd-page-gutter:24px}
 .section,.kd-block-content .kd-section{padding-block:48px}
 .kd-block-content .kd-hero-grid,.kd-block-content .kd-inner-hero .kd-hero-grid,.kd-design-about .kd-inner-hero .kd-hero-grid,.kd-block-content .kd-split,.kd-block-content .kd-faq-grid,.kd-block-content .kd-contact-grid{grid-template-columns:minmax(0,1fr);gap:28px}
 .kd-block-content .kd-hero,.kd-design-services .kd-inner-hero,.kd-design-ai .kd-inner-hero,.kd-design-research .kd-inner-hero,.kd-design-about .kd-inner-hero{padding:40px 0!important}
 .kd-hero .kd-quality-panel,.kd-inner-hero .kd-hero-grid>.wp-block-column:last-child{max-width:none;width:100%;margin:0}
 .kd-design-about .kd-inner-hero .wp-block-image img{max-height:420px}
 .kd-design-about .kd-inner-hero .kd-check-list{grid-template-columns:repeat(2,minmax(0,1fr))}
 .kd-design-ai .kd-ai-visual{height:320px}
 .kd-design-research .kd-whitepaper-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .kd-block-content .kd-brand-item{min-height:150px;height:150px}
 .kd-block-content .kd-final-cta{padding-block:48px}
 .article-layout{grid-template-columns:minmax(0,1fr)}
 .article-rail{display:none}
 .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
 .footer-brand{grid-column:1/-1}
 .footer-social-bar{flex-direction:column;align-items:flex-start;gap:14px}
 .footer-social-links{justify-content:flex-start}
 .kdsp-landing .kdsp-web-section{padding-block:40px!important}
}
@media(max-width:600px){
 :root{--kd-page-gutter:18px}
 .section,.kd-block-content .kd-section{padding-block:36px}
 .site-header .container{width:calc(100% - 24px)}
 .header-inner{min-height:66px;gap:8px}
 .site-header .site-branding img{width:30px;height:30px}
 .site-header .brand-name,.site-header .brand-fallback span{font-size:18px;letter-spacing:-.6px}
 .site-header .brand-fallback{gap:6px}
 .site-header .custom-logo-link+.brand-name{margin-left:6px}
 .site-header .header-cta{font-size:11px;padding-inline:11px}
 .site-header .header-cta:after{width:14px!important;min-width:14px;height:14px!important;margin-left:5px}
 .nav-toggle{width:44px;height:44px;flex-basis:44px}
 .primary-navigation,.admin-bar .primary-navigation{max-height:calc(100vh - 66px);max-height:calc(100dvh - 66px);padding-inline:18px}
 .admin-bar .primary-navigation{max-height:calc(100vh - 112px);max-height:calc(100dvh - 112px)}
 .kd-block-content .kd-hero,.kd-design-services .kd-inner-hero,.kd-design-ai .kd-inner-hero,.kd-design-research .kd-inner-hero,.kd-design-about .kd-inner-hero{width:calc(100% - 20px);margin:10px 10px 0;border-radius:18px;padding:32px 0!important}
 .kd-block-content .kd-hero h1{font-size:clamp(34px,9vw,44px)!important;letter-spacing:-.04em;margin:16px 0 20px}
 .kd-block-content .kd-inner-hero h1{font-size:clamp(30px,8vw,38px)}
 .kd-block-content .kd-inner-hero h1 .kd-accent{font-size:23px;margin-top:12px}
 .kd-design-about .kd-inner-hero h1 .kd-accent{font-size:inherit;margin-top:6px}
 .kd-hero-subtitle{font-size:20px;margin-top:16px}
 .kd-block-content .kd-section h2{font-size:27px;margin-bottom:14px}
 .kd-section-heading{margin-bottom:24px}
 .kd-section-lead{font-size:15px}
 .kd-hero .kd-inline-checks{gap:8px;margin-top:16px}
 .kd-actions{margin-block:20px 16px}
 .kd-actions>.wp-block-button{width:100%}
 .kd-block-content .wp-block-button__link{min-height:46px;padding:12px 18px}
 .kd-hero .kd-quality-panel{padding:24px 22px 20px}
 .kd-hero .kd-quality-panel h3{font-size:25px}
 .kd-grid-2,.kd-grid-3,.kd-grid-4,.kd-grid-5,.kd-whitepaper-grid,.kd-design-research .kd-whitepaper-grid,.kd-design-services .kd-grid-3,.kd-design-about .kd-grid-4,.kd-design-research .kd-grid-4{grid-template-columns:minmax(0,1fr)}
 .kd-card{padding:23px}
 .kd-service-cards .kd-card{padding:25px;min-height:0}
 .kd-service-cards .kd-card h3{font-size:26px}
 .kd-service-cards .kd-card .kd-card-link{margin-top:14px}
 .kd-block-content .kd-dark-section{width:calc(100% - 20px);margin-inline:10px;border-radius:18px}
 .kd-industry-grid{grid-template-columns:minmax(0,1fr)}
 .industry-card{padding:16px 0}
 .kd-process-cards .kd-card{padding:22px 0}
 .kd-block-content .kd-brand-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:22px}
 .kd-block-content .kd-brand-item{min-height:124px;height:124px;border-radius:12px}
 .kd-block-content .kd-brand-grid .kd-brand-item img{max-width:240px!important;height:240px!important}
 .kd-block-content .kd-brand-grid .kd-brand-item img.wp-image-40{height:150px!important;max-width:150px!important}
 .kd-design-services .kd-grid-3 .kd-card{grid-template-columns:32px minmax(0,1fr);gap:8px 12px;padding:22px 0}
 .kd-design-services .kd-inner-hero .kd-quality-panel{padding:23px 22px 12px}
 .kd-design-services .kd-numbered-list li{padding:14px 0;font-size:15px}
 .kd-design-services .kd-industry-grid{padding:4px 18px}
 .kd-design-ai .kd-phase-grid .kd-card{grid-template-columns:32px minmax(0,1fr);gap:10px 14px;padding:22px 0}
 .kd-design-ai .kd-phase-grid .kd-card>p:not(.kd-card-number),.kd-design-ai .kd-phase-grid .kd-card>ul{grid-column:2}
 .kd-design-ai .kd-ai-visual{height:290px;padding-bottom:58px;background-size:100% 100%}
 .kd-design-ai .kd-orbit-labels{bottom:7%;font-size:12px;padding-top:15px}
 .kd-design-ai .kd-notice-card,.kd-design-research .kd-notice-card{padding:24px}
 .kd-design-research .kd-inner-hero .kd-quality-panel{padding:25px 23px;box-shadow:none}
 .kd-design-research .kd-whitepaper-card{min-height:0;padding:24px 22px}
 .kd-design-research .kd-paper-status{margin-top:8px}
 .kd-design-research .kd-grid-4 .kd-card{padding:22px 0}
 .kd-design-about .kd-inner-hero .kd-quality-panel{padding:22px}
 .kd-design-about .kd-inner-hero .kd-check-list{grid-template-columns:minmax(0,1fr);gap:7px}
 .kd-design-about .kd-grid-4 .kd-card{padding:24px}
 .kd-faq-item summary{font-size:15px;padding-block:18px}
 .kd-faq-item summary:after{top:14px}
 .kd-block-content .kd-final-cta{padding-block:40px;margin-bottom:10px}
 .kd-final-cta h2{font-size:29px!important}
 .kd-contact-hero{padding:34px 0!important}
 .kd-contact-hero h1{font-size:34px!important}
 .kd-form-card{padding:24px 20px}
 .kd-social-section{padding:22px}
 .kd-social-grid{grid-template-columns:minmax(0,1fr)}
 .kd-form-card .form-row,.kdi-form .form-row{grid-template-columns:minmax(0,1fr)}
 .listing-hero,.page-header.compact-hero{padding:34px 0 26px}
 .listing-section{padding-top:26px}
 .article-header{padding-top:34px;padding-bottom:28px}
 .article-header h1{font-size:31px}
 .article-deck{font-size:16px}
 .article-body-section{padding-block:30px}
 .article-footer{padding-bottom:36px}
 .entry-content{font-size:16px}
 .entry-content blockquote{padding:18px;margin-inline:0}
 .page-content{padding-top:26px}
 .breadcrumbs{margin-bottom:20px}
 .post-grid,.kd-post-grid{grid-template-columns:minmax(0,1fr);gap:22px}
 .kdsp-landing .kdsp-web-hero,.kdsp-landing .kdsp-web-section{padding-block:30px!important}
 .site-footer{padding-top:32px}
 .footer-grid{gap:24px;padding-bottom:24px}
 .footer-brand,.footer-contact{grid-column:1/-1}
 .footer-bottom{padding-block:18px;align-items:flex-start;gap:12px}
}
@media(max-width:360px){
 .site-header .site-branding img{width:25px;height:25px}
 .site-header .brand-name,.site-header .brand-fallback span{font-size:16px}
 .site-header .header-cta{font-size:10px;padding-inline:8px}
 .site-header .header-cta:after{display:none!important}
 .header-inner{gap:6px}
 .kd-block-content .kd-brand-item{min-height:112px;height:112px}
}
@media(prefers-reduced-motion:reduce){.kd-card:hover,.kd-block-content .wp-block-button__link:hover{transform:none}}
@media print{.section,.kd-block-content .kd-section{padding-block:20px}.site-header,.site-footer{display:none!important}}

/* Keep contact options compact so the inquiry form is reached sooner. */
.kd-contact-hero h1{text-wrap:balance}
@media(max-width:600px){.kd-contact-grid .kd-social-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.kd-contact-grid .kd-social-link{padding:10px;gap:7px;min-height:48px}.kd-contact-grid .kd-social-link span{font-size:12px}}
/* Absolute menus must stretch despite the inherited desktop justify-self:end. */
@media(max-width:1100px){
 .primary-navigation,.admin-bar .primary-navigation{width:100%;max-width:none;justify-self:stretch;box-sizing:border-box;transform:none}
 .nav-toggle{position:relative}
 .nav-toggle span:not(.screen-reader-text){position:absolute;left:12px;top:20px;width:18px;height:2px;margin:0;transform:none}
 .nav-toggle span:nth-of-type(2){transform:translateY(-6px)}
 .nav-toggle span:nth-of-type(4){transform:translateY(6px)}
 .nav-toggle[aria-expanded="true"] span:nth-of-type(2){transform:rotate(45deg)}
 .nav-toggle[aria-expanded="true"] span:nth-of-type(3){opacity:0}
 .nav-toggle[aria-expanded="true"] span:nth-of-type(4){transform:rotate(-45deg)}
}

/* Keep the entire supplied brand image visible, including edge lettering.
   Earlier 125% / 360px artwork enlargement intentionally cropped each canvas. */
.kd-block-content .kd-brand-grid>.kd-brand-item{padding:18px!important}
.kd-block-content .kd-brand-item>.wp-block-gallery{position:static;inset:auto;width:100%!important;height:100%!important}
.kd-block-content .kd-brand-item figure.wp-block-image,.kd-block-content .kd-brand-item .kd-brand-logo{width:100%!important;height:100%!important;min-width:0;min-height:0}
.kd-block-content .kd-brand-grid .kd-brand-item img,.kd-block-content .kd-brand-grid .kd-brand-item img.wp-image-40{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important}
@media(max-width:600px){.kd-block-content .kd-brand-grid>.kd-brand-item{padding:12px!important}}
