/* Laptop */
@media (max-width:1279px){
  .kptcl-main-header{grid-template-columns:minmax(290px,1fr) auto!important;gap:18px!important}
  .kptcl-btn-header{display:none!important}
  .kptcl-elementor-nav__list>li>a{padding:0 8px;font-size:12.5px}
  .kptcl-home-hero{padding:52px 44px!important;gap:34px!important}
  .kptcl-card-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* Tablet */
@media (max-width:1023px){
  body.admin-bar .kptcl-elementor-header{top:32px}
  .kptcl-utility-bar{padding-inline:24px!important}
  .kptcl-main-header{grid-template-columns:1fr auto!important;min-height:76px!important;padding:8px 24px!important;position:relative}
  .kptcl-site-logo,.kptcl-site-logo img{width:62px!important;height:62px!important}
  .kptcl-brand-title .elementor-heading-title{font-size:16px!important}
  .kptcl-nav-shortcode{justify-self:end!important}
  .kptcl-elementor-menu-toggle{display:grid}
  .kptcl-elementor-nav{display:none;position:absolute;top:100%;left:0;right:0;padding:12px 24px 20px;background:#fff;border-top:1px solid var(--kptcl-border);box-shadow:0 16px 30px rgba(8,31,63,.1);z-index:20}
  .kptcl-elementor-nav.is-open{display:block}
  .kptcl-elementor-nav__list{display:grid;gap:2px}
  .kptcl-elementor-nav__list>li>a{min-height:44px;padding:0 12px;font-size:14px}
  .kptcl-home-hero{grid-template-columns:1fr!important;width:min(calc(100% - 40px),var(--kptcl-container))!important;margin-top:24px!important;padding:52px 42px!important;gap:34px!important}
  .kptcl-hero-copy{max-width:760px!important}
  .kptcl-hero-media{max-width:760px!important;width:100%!important}
  .kptcl-hero-carousel img{aspect-ratio:16/9!important}
  .kptcl-section,.kptcl-section-alt{padding-top:72px!important;padding-bottom:72px!important}
  .kptcl-section{width:min(calc(100% - 40px),var(--kptcl-container))!important}
  .kptcl-section-alt{padding-inline:20px!important}
  .kptcl-stats-section{width:min(calc(100% - 40px),var(--kptcl-container))!important}
  .kptcl-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .kptcl-card-grid-3{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .kptcl-split-section{grid-template-columns:1fr!important;gap:38px!important}
  .kptcl-split-media{order:1}.kptcl-split-copy{order:2}
  .kptcl-gallery-widget .gallery{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .kptcl-blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .kptcl-footer-grid{grid-template-columns:1.5fr 1fr 1fr!important;gap:34px!important;width:min(calc(100% - 40px),var(--kptcl-container))!important}
  .kptcl-footer-grid>.elementor-element:last-child{grid-column:1/-1!important}
  .kptcl-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Large mobile */
@media (max-width:767px){
  html,body{max-width:100%;overflow-x:hidden}
  body.admin-bar .kptcl-elementor-header{top:46px}
  .site-main,.elementor,.elementor-element,.e-con{overflow-wrap:anywhere}
  .site-main img,.site-main iframe,.site-main video,.site-main table,.elementor img,.elementor iframe,.elementor video{max-width:100%}
  .kptcl-shell{width:min(calc(100% - 32px),var(--kptcl-container))}
  .kptcl-utility-bar{display:none!important}
  .kptcl-main-header{min-height:72px!important;padding:7px 16px!important;gap:10px!important}
  .kptcl-elementor-brand{gap:9px!important}
  .kptcl-site-logo{width:54px!important;flex-basis:54px!important}.kptcl-site-logo img{width:54px!important;height:54px!important}
  .kptcl-brand-title .elementor-heading-title{font-size:13px!important;line-height:1.15!important}
  .kptcl-brand-subtitle .elementor-widget-container{font-size:9.5px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:210px}
  .kptcl-elementor-nav{padding:10px 16px 18px;max-height:calc(100vh - 72px);overflow:auto}
  .kptcl-elementor-menu-toggle{width:44px;height:44px}
  .kptcl-home-hero{width:calc(100% - 24px)!important;margin-top:12px!important;border-radius:18px!important;padding:40px 22px 22px!important;gap:28px!important}
  .kptcl-home-hero:before{width:340px;height:340px}
  .kptcl-hero-title .elementor-heading-title{font-size:clamp(36px,10vw,46px)!important;line-height:1.05!important;letter-spacing:-.04em!important}
  .kptcl-hero-lead .elementor-widget-container{font-size:15px!important;line-height:1.65!important}
  .kptcl-button-row{display:grid!important;grid-template-columns:1fr!important;width:100%!important}
  .kptcl-button-row>.elementor-widget-button,.kptcl-button-row .elementor-button-wrapper,.kptcl-button-row .elementor-button{width:100%!important}
  .kptcl-hero-carousel img{aspect-ratio:4/3!important}
  .kptcl-stats-section{width:calc(100% - 24px)!important;margin-top:14px!important}
  .kptcl-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .kptcl-stat-card{padding:18px 14px!important}
  .kptcl-stat-value .elementor-heading-title{font-size:24px!important}
  .kptcl-stat-label .elementor-widget-container{font-size:11.5px!important}
  .kptcl-inner-hero{padding:50px 16px 44px!important}
  .kptcl-page-title .elementor-heading-title{font-size:clamp(34px,10vw,44px)!important;line-height:1.08!important}
  .kptcl-page-lead .elementor-widget-container{font-size:15.5px!important;line-height:1.68!important}
  .kptcl-section{width:calc(100% - 32px)!important;padding:52px 0!important;gap:26px!important}
  .kptcl-section-alt{width:100%!important;padding:52px 16px!important}
  .kptcl-section-title .elementor-heading-title{font-size:clamp(28px,8.2vw,36px)!important;line-height:1.16!important}
  .kptcl-section-lead .elementor-widget-container{font-size:15px!important}
  .kptcl-card-grid,.kptcl-card-grid-2,.kptcl-card-grid-3,.kptcl-card-grid-4{grid-template-columns:1fr!important;gap:14px!important}
  .kptcl-icon-card,.kptcl-purpose-card,.kptcl-service-card,.kptcl-contact-card,.kptcl-objective-card,.kptcl-program-card,.kptcl-person-card,.kptcl-report-card{padding:22px!important;border-radius:14px!important}
  .kptcl-purpose-card-featured{padding:26px!important}
  .kptcl-split-section{gap:26px!important}
  .kptcl-rounded-image img{border-radius:15px!important}
  .kptcl-facts-table{grid-template-columns:1fr!important}
  .kptcl-contact-strip{padding:28px!important;margin-bottom:52px!important}
  .kptcl-check-list{grid-template-columns:1fr!important;gap:10px!important}
  .kptcl-gallery-widget .gallery{grid-template-columns:1fr!important;gap:12px!important}
  .kptcl-gallery-widget .gallery-icon img,.kptcl-gallery-large .gallery-icon img{height:auto!important;aspect-ratio:4/3!important}
  .kptcl-blog-grid{grid-template-columns:1fr;gap:14px}
  .kptcl-blog-card__body{padding:21px}
  .kptcl-map-placeholder{min-height:260px;padding:26px}
  .kptcl-cta-section{width:calc(100% - 32px)!important;margin-bottom:52px!important;padding:34px 24px!important;border-radius:17px!important}
  .kptcl-footer-grid{grid-template-columns:1fr!important;width:calc(100% - 32px)!important;padding:48px 0 36px!important;gap:30px!important}
  .kptcl-footer-about{padding-right:0!important}
  .kptcl-footer-bottom{padding:16px!important}
  .kptcl-post-grid{grid-template-columns:1fr;padding-block:36px}
  .kptcl-content-layout,.kptcl-prose{padding-block:44px}.kptcl-archive-hero{padding:56px 0 34px}
  .kptcl-fallback-header__inner{min-height:72px}.kptcl-menu-toggle{display:inline-grid;width:44px;height:44px;place-content:center;gap:4px;border:1px solid var(--kptcl-border);background:#fff;border-radius:10px}.kptcl-menu-toggle span:not(.screen-reader-text){display:block;width:20px;height:2px;background:var(--kptcl-text)}.kptcl-fallback-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;border-bottom:1px solid var(--kptcl-border);padding:16px 24px}.kptcl-fallback-nav.is-open{display:block}.kptcl-fallback-nav ul{display:grid;gap:4px}.kptcl-fallback-nav a{display:block;padding:12px 0}.kptcl-fallback-footer__inner{flex-direction:column}
}

/* Small mobile */
@media (max-width:390px){
  .kptcl-brand-subtitle{display:none!important}
  .kptcl-brand-title .elementor-heading-title{font-size:12.5px!important}
  .kptcl-stats-grid{grid-template-columns:1fr!important}
  .kptcl-home-hero{padding-inline:18px!important}
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}
