/* Project portfolio: native Kadence rows, query loop and progressive image gallery. */
.cm1-project-hero{background:#031b30;color:#d9e5ef}
.cm1-project-hero h1,.cm1-project-hero h2{color:#fff!important;font-weight:700;line-height:1.12;letter-spacing:-.03em;margin:0 0 18px;font-size:clamp(34px,4vw,56px)}
.cm1-project-hero p{color:#d9e5ef;font-size:19px;line-height:1.6;max-width:760px;margin:0 0 18px}
.cm1-project-hero .cm1-project-eyebrow{color:#5de2df;font-size:12px;letter-spacing:.13em;font-weight:700;margin-bottom:18px}
.cm1-project-hero a{color:#77e6e3}
.cm1-project-hero .cm1-project-disclosure{font-size:12px;color:#c1d2de;margin-bottom:16px}
.cm1-project-filters{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:32px}
.cm1-project-filters a{padding:9px 20px;border:1px solid #cedce8;border-radius:24px;color:#334c64;text-decoration:none;font-size:15px;line-height:1.5;font-weight:600}
.cm1-project-filters a[aria-current],.cm1-project-filters a:hover{background:#031b30;color:#fff;border-color:#031b30}
.cm1-project-list .wp-block-post-template{list-style:none;padding:0;gap:26px}
.cm1-project-list .wp-block-post-template>li{display:flex;flex-direction:column;border:1px solid #d8e4ed;border-radius:12px;overflow:hidden;background:#fff;padding:0 0 24px}
.cm1-project-list .wp-block-post-featured-image{margin:0 0 22px}
.cm1-project-list .wp-block-post-featured-image img{width:100%;aspect-ratio:3/2;object-fit:cover;object-position:top;display:block}
.cm1-project-list .wp-block-post-title{font-size:23px;font-weight:700;line-height:1.3;margin:0 22px 14px;color:#172c40}
.cm1-project-list .wp-block-post-title a{color:inherit;text-decoration:none}
.cm1-project-list .wp-block-post-excerpt{display:flex;flex:1;flex-direction:column;margin:0 22px;font-size:16px;color:#425c73;line-height:1.6}
.cm1-project-list .wp-block-post-excerpt__excerpt{margin-bottom:20px}
.cm1-project-list .wp-block-post-excerpt__more-text{margin-top:auto;margin-bottom:0}
.cm1-project-list .wp-block-post-excerpt__more-link{color:#103e75;font-weight:600}
.cm1-project-list .wp-block-query-pagination{margin-top:32px;gap:16px}
.cm1-project-content h2{color:#172c40;font-size:30px;font-weight:700;line-height:1.2;margin:0 0 18px}
.cm1-project-content p,.cm1-project-content li{font-size:17px;line-height:1.7;color:#435b71}
.cm1-project-facts>.kt-inside-inner-col{padding:28px!important;background:#eef8fb;border-radius:12px}
.cm1-project-facts h2{font-size:25px}
.cm1-project-facts p{padding:10px 0;border-bottom:1px solid #d6e5ec;margin:0;font-size:16px}
.cm1-project-gallery{margin:0}
.cm1-project-gallery img{width:100%;height:auto;object-fit:contain}
.cm1-project-gallery.is-enhanced{display:block}
.cm1-project-gallery.is-enhanced>figure{width:100%!important;margin:0!important;max-width:none!important}
.cm1-project-gallery.is-enhanced>figure[hidden]{display:none!important}
.cm1-project-gallery.is-enhanced>figure img{max-height:650px;object-fit:contain;object-position:center;background:#f1f6fa;border-radius:12px;border:1px solid #dce6ed}
.cm1-project-gallery figcaption{position:static!important;background:none!important;color:#425c73!important;font-size:14px;padding:10px!important;text-align:left!important}
.cm1-project-thumbs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:18px}
.cm1-project-thumbs button{background:white;border:2px solid #dce6ed;border-radius:9px;padding:8px;color:#172c40;cursor:pointer;font:inherit;font-size:14px}
.cm1-project-thumbs button[aria-pressed=true]{border-color:#00bcc6;background:#effcfc}
.cm1-project-thumbs img{display:block;width:100%;height:110px;object-fit:cover;object-position:top;border-radius:4px;margin-bottom:8px}
.cm1-project-navigation{display:flex;justify-content:space-between;margin:25px 0}
.cm1-project-cta h2{color:#fff;font-size:32px;line-height:1.2;margin:0 0 14px}
.cm1-project-cta p{color:#d9e5ef;font-size:17px;line-height:1.6}
.cm1-project-cta .kb-button{background:#00c7df;color:#031b30;border:1px solid #00c7df;border-radius:6px;font-weight:600;padding:13px 20px}
.cm1-project-content .wp-block-image img{border-radius:9px;border:1px solid #dce6ed}
.cm1-projects a:focus-visible,.cm1-projects button:focus-visible{outline:3px solid #00bdc5;outline-offset:4px}
@media(max-width:1024px){.cm1-project-list .wp-block-post-template{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.cm1-project-list .wp-block-post-template{grid-template-columns:1fr}.cm1-project-hero h1{font-size:36px}.cm1-project-hero p{font-size:17px}.cm1-project-thumbs{gap:8px}.cm1-project-thumbs img{height:70px}.cm1-project-thumbs button{font-size:12px;padding:5px}.cm1-project-facts>.kt-inside-inner-col{padding:24px!important}}
/* Keep project content white and the facts panel softly tinted in editor and frontend. */
.cm1-project-content:not(.kt-row-has-bg),.cm1-projects{background:#fff}
.cm1-project-facts>.kt-inside-inner-col{background:#eef8fb!important;border-radius:12px;padding:28px!important}
.cm1-project-cta h2{font-weight:700}
.cm1-project-hero h1{max-width:1000px}
.cm1-project-content .kb-row-layout-idproject_demo_mobile img{max-height:680px;object-fit:contain}
