/* Approved AW12 layout, loaded only on Projects1515 and published project detail routes. */
body.cie-aw12-live .elementor .e-con.aw12-shell{width:100%;max-width:1600px;margin-inline:auto;padding:clamp(24px,4vw,60px) clamp(20px,3.1vw,60px)}
body.cie-aw12-live.page-id-1515 .elementor .elementor-element-04b3dad>.e-con-inner{padding-bottom:0}
body.cie-aw12-live.page-id-1515 a.cie-huddle-projects-team-link:hover:not(:focus-visible){outline:none}
body.cie-aw12-live .elementor .e-con.aw12-list-section{max-width:none;padding-inline:0;padding-top:30px;background:#465961}
body.cie-aw12-live .elementor .e-con.aw12-list-section>.elementor-widget-shortcode{width:100%;max-width:1600px;margin-inline:auto;padding-inline:clamp(20px,3.1vw,60px)}
body.cie-aw12-live .aw12-filters{display:flex;gap:20px;align-items:end;justify-content:center;flex-wrap:wrap;margin-bottom:30px}
body.cie-aw12-live .aw12-filters label{display:flex;flex-direction:column;gap:8px;font-weight:600;min-width:240px;color:#fff}
body.cie-aw12-live .aw12-filters select{height:48px;border:1px solid #8597a3;border-radius:24px;background-color:#fff;padding:8px 38px 8px 18px;font:inherit;color:#292929;max-width:100%;appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 5l4 4 4-4' fill='none' stroke='%23465961' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right 16px center;background-size:14px 14px;background-repeat:no-repeat}
body.cie-aw12-live .aw12-filters select:open{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 9l4-4 4 4' fill='none' stroke='%23465961' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
body.cie-aw12-live .aw12-button{display:inline-flex;align-items:center;justify-content:center;gap:16px;align-self:start;padding:12px 26px;background:#afcd54;color:#101810;border:0;border-radius:28px;font:600 16px/1.3 'Source Sans Pro',sans-serif;text-decoration:none;min-height:44px;cursor:pointer}
body.cie-aw12-live .aw12-button:hover{background:#8ca0ab;color:#fff}
body.cie-aw12-live .aw12-filters .aw12-button{align-self:end;height:48px;padding-block:0;box-sizing:border-box}
body.cie-aw12-live .aw12-reset{display:inline-flex;align-items:center;justify-content:center;height:48px;padding:0;box-sizing:border-box;text-decoration:underline;color:#fff}
body.cie-aw12-live :is(a,button,select):focus-visible{outline:3px solid #465961;outline-offset:4px}
body.cie-aw12-live .aw12-count{color:#fff;margin:0 0 24px;text-align:center}
body.cie-aw12-live .aw12-banners{display:grid;gap:32px}
body.cie-aw12-live .aw12-banner{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);background:#f5f5f5;border-radius:20px;overflow:hidden;min-height:340px}
body.cie-aw12-live .aw12-banner-image{position:relative;min-height:340px;display:block;background:#e9edee}
body.cie-aw12-live .aw12-banner-image img{position:absolute;width:100%;height:100%;object-fit:cover;object-position:center}
body.cie-aw12-live .aw12-banner-copy{display:flex;flex-direction:column;justify-content:center;gap:16px;padding:clamp(24px,3vw,44px)}
body.cie-aw12-live .aw12-banner-copy h2{font:500 clamp(24px,2vw,30px)/1.3 Quenda,sans-serif;margin:0;color:#292929}
body.cie-aw12-live .aw12-banner-copy h2 a{color:inherit;text-decoration:none}
body.cie-aw12-live .aw12-banner-copy p{font:400 18px/1.6 'Source Sans Pro',sans-serif;margin:0}
body.cie-aw12-live .aw12-banner-copy .aw12-sector{font-weight:600;color:#465961}
/* Match Projects pagination without binding its public loop-grid JavaScript. */
body.cie-aw12-live .aw12-pagination{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:20px;margin-top:30px}
body.cie-aw12-live .aw12-pagination .page-numbers{display:block;margin-inline:5px;color:#fff;background:transparent;font:500 20px/20px Quenda,sans-serif;text-decoration:none}
body.cie-aw12-live .aw12-pagination .page-numbers:first-child{margin-left:0}
body.cie-aw12-live .aw12-pagination .page-numbers:last-child{margin-right:0}
body.cie-aw12-live .aw12-pagination .current{position:relative;font-weight:700}
body.cie-aw12-live .aw12-pagination .current::after{content:"";position:absolute;bottom:-6px;left:50%;transform:translateX(-50%);width:16px;height:2px;background:#a6ce39}
body.cie-aw12-live .aw12-pagination :is(.prev,.next){display:flex;justify-content:center;align-items:center;flex:none;width:25px;height:25px;padding:0;border:2px solid #a6ce39;border-radius:30px;font-size:0;transition:background-color .3s}
body.cie-aw12-live .aw12-pagination :is(.prev,.next)::before{content:"";display:block;width:8px;height:8px;background:url('/wp-content/uploads/2026/05/Vector-13.svg') center/contain no-repeat}
body.cie-aw12-live .aw12-pagination .next::before{transform:rotate(180deg)}
body.cie-aw12-live .aw12-pagination a:is(.prev,.next):hover{background:#a6ce39}
body.cie-aw12-live :is(.aw12-filters,.aw12-pagination) :is(a,button,select):focus-visible{outline-color:#a6ce39}
@media(max-width:767px){body.cie-aw12-live .aw12-pagination{gap:10px}}
body.cie-aw12-live .aw12-detail-heading{text-align:center}
body.cie-aw12-live .aw12-detail-heading h1,body.cie-aw12-live h1.aw12-detail-heading{font:500 clamp(30px,3.2vw,48px)/1.2 Quenda,sans-serif;color:#465961;margin:0}
body.cie-aw12-live .aw12-detail-intro{max-width:1000px;margin-inline:auto;text-align:center;font-size:clamp(18px,1.6vw,23px);line-height:1.6}
body.cie-aw12-live .aw12-hero img,body.cie-aw12-live img.aw12-hero{width:100%;height:clamp(240px,36vw,540px);object-fit:cover;border-radius:20px}
body.cie-aw12-live .elementor .e-con.aw12-content-row{display:grid;grid-template-columns:minmax(200px,1fr) minmax(0,2.5fr);gap:clamp(24px,4vw,60px);align-items:start}
body.cie-aw12-live .elementor .e-con.aw12-details{background:#f5f5f5;border-radius:20px;padding:28px}
body.cie-aw12-live .elementor .e-con.aw12-details dl{margin:0}
body.cie-aw12-live .elementor .e-con.aw12-details dt{font-weight:600;color:#465961;margin-top:20px}
body.cie-aw12-live .elementor .e-con.aw12-details dd{margin:4px 0 0}
body.cie-aw12-live .aw12-article{min-width:0;font-size:18px;line-height:1.7;overflow-wrap:anywhere}
body.cie-aw12-live .aw12-article img{max-width:100%;height:auto;border-radius:12px}
/* Balance standalone article images while preserving the preceding text gap. */
body.cie-aw12-live .aw12-article :is(figure.cie-project-inline-figure,p:has(>img:only-child)){--aw12-image-gap:18px;margin-block:var(--aw12-image-gap)}
body.cie-aw12-live .aw12-article p+:is(figure.cie-project-inline-figure,p:has(>img:only-child)){--aw12-image-gap:1.75em}
body.cie-aw12-live .aw12-article blockquote+:is(figure.cie-project-inline-figure,p:has(>img:only-child)){--aw12-image-gap:1.65em}
body.cie-aw12-live .aw12-article :is(ul,ol)+:is(figure.cie-project-inline-figure,p:has(>img:only-child)){--aw12-image-gap:1.5em}
body.cie-aw12-live .aw12-article :is(figure.cie-project-inline-figure,p:has(>img:only-child))+*{margin-top:0}
body.cie-aw12-live .aw12-article :is(figure.cie-project-inline-figure,p:has(>img:only-child))>img{display:block}
body.cie-aw12-live .aw12-article img:not(figure img,p img){display:block;margin-block:18px}
body.cie-aw12-live .aw12-article img:not(figure img,p img)+*{margin-top:0}
body.cie-aw12-live .aw12-article iframe{max-width:100%;aspect-ratio:16/9;height:auto}
body.cie-aw12-live .aw12-article h2{font-size:clamp(24px,2.1vw,32px);line-height:1.3;margin:32px 0 18px}
body.cie-aw12-live .aw12-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
body.cie-aw12-live .aw12-gallery img{width:100%;height:260px;object-fit:cover;border-radius:16px}
@media(max-width:1024px){body.cie-aw12-live .aw12-banner{grid-template-columns:1fr}body.cie-aw12-live .aw12-banner-image{min-height:clamp(220px,40vw,360px)}body.cie-aw12-live .elementor .e-con.aw12-content-row{grid-template-columns:1fr}body.cie-aw12-live .aw12-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){body.cie-aw12-live .aw12-filters{display:grid;grid-template-columns:1fr;gap:14px}body.cie-aw12-live .aw12-filters label{min-width:0}body.cie-aw12-live .aw12-gallery{grid-template-columns:1fr}body.cie-aw12-live .aw12-banner-copy{padding:24px}body.cie-aw12-live .aw12-banner-image{min-height:220px}}

/* Desktop-only: 106px header + 24px breathing room, plus the WP admin bar.
   Keep tall panels usable on short screens and stop at the article boundary. */
@media(min-width:1025px){
 body.cie-aw12-live .elementor .e-con.aw12-details{
  --aw12-sticky-top:calc(130px + var(--wp-admin--admin-bar--height,0px));
  position:sticky;top:var(--aw12-sticky-top);align-self:start;
  max-height:calc(100dvh - var(--aw12-sticky-top) - 24px);
  overflow:auto;
 }
}

/* Project rail layout; each product uses the existing global card template. */
body.cie-aw12-live ul.products.aw12-product-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:24px;padding:0;margin:0;list-style:none;width:100%}
body.cie-aw12-live ul.products.aw12-product-cards::before,body.cie-aw12-live ul.products.aw12-product-cards::after{display:none}
body.cie-aw12-live ul.products.aw12-product-cards>li{width:100%;min-width:0;margin:0;list-style:none}

/* Balanced white-section edges and the same gap above/below the return action. */
body.cie-aw12-live{--aw12-section-edge:clamp(25px,2.604167vw,50px);--aw12-inner-space:var(--aw12-section-edge)}
body.cie-aw12-live .elementor .e-con.aw12-shell:has(>.aw12-detail-heading){padding-top:var(--aw12-section-edge)}
body.cie-aw12-live .elementor .e-con.aw12-shell:has(>.aw12-content-row){padding-top:var(--aw12-inner-space);padding-bottom:var(--aw12-inner-space)}
body.cie-aw12-live .aw12-article .elementor-widget-theme-post-content>:last-child,body.cie-aw12-live .aw12-article .elementor-widget-theme-post-content>.elementor-widget-container>:last-child{margin-bottom:0}
body.cie-aw12-live .elementor .e-con.aw12-shell:has(.aw12-product-cards){padding-top:var(--aw12-inner-space);padding-bottom:var(--aw12-inner-space)}
body.cie-aw12-live .elementor .e-con.aw12-shell:has(>.elementor-widget-button){padding-top:calc(var(--aw12-section-edge) - var(--aw12-inner-space));padding-bottom:var(--aw12-section-edge)}
/* Match the canonical lime CTA's light-grey hover, retaining its black label. */
body.cie-aw12-live .aw12-shell>.elementor-widget-button .elementor-button:is(:hover,:focus){background-color:var(--cie-hover-remaining-light,#cad1d6);border-color:var(--cie-hover-remaining-light,#cad1d6);color:#000}
body.cie-aw12-live .aw12-shell>.elementor-widget-button .elementor-button:is(:hover,:focus) .elementor-button-text{color:#000}
