.core-project-hero{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:center;min-height:480px;box-sizing:border-box;padding:76px max(24px,6vw) 34px;background:#343e43;color:#fff;overflow:hidden}
.core-project-hero__photo,.core-project-hero__photo:after{position:absolute;inset:0;z-index:-1}
.core-project-hero__photo img{width:100%;height:100%;object-fit:cover;object-position:var(--photo-position,50%) 55%;display:block}
.core-project-hero__photo:after{content:"";z-index:0;background:linear-gradient(90deg,rgba(25,34,38,.83),rgba(25,34,38,.35) 60%,rgba(25,34,38,.08)),linear-gradient(0deg,rgba(25,34,38,.65),transparent 35%)}
.core-project-hero__content{max-width:640px;margin:0 0 56px}
.core-project-hero h1{font-family:Exo,sans-serif;color:#fff;font-size:clamp(38px,4.5vw,68px);line-height:1.08;margin:0 0 22px;font-weight:800;text-align:left}
.core-project-hero h1>span{color:#f38121}
.core-project-hero__content p{color:#fff;font-size:clamp(18px,1.4vw,21px);line-height:1.55;max-width:560px;margin:0 0 28px}
.core-project-hero__button{display:inline-flex;align-items:center;justify-content:center;gap:24px;min-height:48px;padding:12px 24px;box-sizing:border-box;border:2px solid #f38121;border-radius:0 18px 18px 18px;background:#f38121;color:#fff!important;text-decoration:none!important;font-weight:700;line-height:1.3;transition:background .2s,color .2s}
.core-project-hero__button:hover,.core-project-hero__button:focus-visible{background:#fff;color:#343e43!important}
.core-project-hero__button:focus-visible{outline:3px solid #fff;outline-offset:4px}
.core-project-hero__caption{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 24px;font-size:13px;line-height:1.5;color:#fff}
.core-project-hero__caption a{color:inherit;text-decoration:underline;text-underline-offset:3px}
@media(max-width:640px){.core-project-hero{min-height:440px;padding:48px 22px 22px}.core-project-hero__content{margin-bottom:50px}.core-project-hero__content p{max-width:330px}.core-project-hero__caption{flex-direction:column}.core-project-hero__photo:after{background:linear-gradient(90deg,#192226c9,#19222645),linear-gradient(0deg,#192226b3,transparent 45%)}}
@media(prefers-reduced-motion:reduce){.core-project-hero__button{transition:none}}

body.post-type-archive-case_studies .news-intro:has(.core-project-hero){padding:0!important;background:none!important;}
body.post-type-archive-case_studies .news-intro:has(.core-project-hero):before,body.post-type-archive-case_studies .news-intro:has(.core-project-hero):after{display:none!important;}
.core-project-hero{width:100vw;margin-left:calc(50% - 50vw);margin-bottom:40px;}
.core-project-hero__content h1{font-family:Exo,sans-serif!important;color:white!important;text-transform:none!important;}
.core-project-hero__caption{font-size:12px!important;}
.core-oxford-photos{margin:0 0 64px;padding:40px 0;}
.core-oxford-photos h2{margin:0 0 24px!important;text-transform:none!important;}
.core-oxford-photos__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;}
.core-oxford-photos figure{margin:0!important;min-width:0;}
.core-oxford-photos img{width:100%;height:auto;display:block;border-radius:0 22px 22px 22px;}
.core-oxford-photos figcaption{font-size:13px;line-height:1.5;padding-top:10px;color:#343e43;}
.core-oxford-photos__credit{font-size:13px!important;line-height:1.6!important;margin:20px 0 36px!important;}
@media(max-width:640px){.core-oxford-photos__grid{grid-template-columns:1fr;gap:22px}.core-oxford-photos{padding:24px 0;margin-bottom:30px}}

.core-project-hero > .core-project-hero__photo{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;}
.core-project-hero__photo img{height:100%!important;max-height:none!important;}

.core-project-hero > .core-project-hero__photo:after{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;display:block!important;content:""!important;z-index:1!important;}

.core-project-hero > .core-project-hero__photo{z-index:0!important}.core-project-hero__photo img{z-index:0!important}.core-project-hero__content,.core-project-hero__caption{position:relative;z-index:2!important}

/* Keep project cards focused on title, products and the project link. */
.core-project-browser .cp-card .cp-tag,.core-project-browser .cp-card .cp-description{display:none!important}

.core-project-browser .cp-card:hover,.core-project-browser .cp-card:focus-visible{border-color:#f38121!important;}

/* Extend the featured photograph behind navigation without moving the content.
   The existing shared header takes over with a solid background on scroll. */
body.core-project-overlay-header{--core-project-nav-height:calc(44px + clamp(20px,1vw,25px) + clamp(20px,1vw,25px))}
body.core-project-overlay-header #header:not(.core-header-fixed){position:absolute!important;top:auto!important;left:0;right:0;width:100%;background:transparent!important;box-shadow:none}
body.core-project-overlay-header .core-header-spacer{display:none!important}
body.core-project-overlay-header #header:not(.core-header-fixed) #logo{background-image:url('../header/core-logo-white.svg')!important;background-size:contain!important}
body.core-project-overlay-header.menu_open #header:not(.core-header-fixed){background:#343e43!important}
body.core-project-overlay-header .core-project-hero{min-height:calc(480px + var(--core-project-nav-height));padding-top:calc(76px + var(--core-project-nav-height))}
body.core-project-overlay-header .core-project-hero__photo:after{background:linear-gradient(180deg,rgba(25,34,38,.65),transparent 32%),linear-gradient(90deg,rgba(25,34,38,.83),rgba(25,34,38,.35) 60%,rgba(25,34,38,.08)),linear-gradient(0deg,rgba(25,34,38,.65),transparent 35%)}
@media(min-width:1301px){
 body.core-project-overlay-header #header:not(.core-header-fixed) #main_menu>li>a{color:#fff}
 body.core-project-overlay-header #header:not(.core-header-fixed) #main_menu>li:hover>a,body.core-project-overlay-header #header:not(.core-header-fixed) #main_menu>li>a:focus-visible{color:#f38121}
}
@media(max-width:1300px){body.core-project-overlay-header{--core-project-nav-height:80px}}
@media(max-width:640px){
 body.core-project-overlay-header .core-project-hero{min-height:520px;padding-top:128px}
 body.core-project-overlay-header .core-project-hero__photo:after{background:linear-gradient(180deg,rgba(25,34,38,.65),transparent 35%),linear-gradient(90deg,#192226c9,#19222645),linear-gradient(0deg,#192226b3,transparent 45%)}
}

/* Make project discovery the primary action in the photographic hero. */
.core-project-search{width:min(560px,100%);margin:0;text-align:left}
.core-project-search>label{display:block;color:#fff;font-size:13px;font-weight:700;line-height:1.5;margin:0 0 8px}
.core-project-search__field{display:flex;align-items:center;gap:12px;box-sizing:border-box;padding:6px 6px 6px 17px;background:#fff;color:#343e43;border:2px solid #fff;border-radius:0 16px 16px 16px;box-shadow:0 6px 24px #0002}
.core-project-search__field:focus-within{border-color:#f38121}
.core-project-search svg{display:block;flex-shrink:0;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.core-project-search .core-project-search__icon{width:22px;height:22px;color:#52616a}
.core-project-search input[type=search]{flex:1;min-width:0;width:100%;height:auto;margin:0;padding:10px 0;border:0;border-radius:0;outline:0;box-shadow:none;background:#fff;color:#343e43;font:400 16px/1.4 Arial,sans-serif}
.core-project-search input::placeholder{color:#65717a;opacity:1}
.core-project-search button[type=submit]{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:46px;height:46px;min-width:46px;margin:0;padding:0;background:#f38121;color:#fff;border:2px solid #f38121;border-radius:0 10px 10px 10px;box-shadow:none;cursor:pointer;transition:background .18s,color .18s}
.core-project-search button[type=submit]:before,.core-project-search button[type=submit]:after{content:none!important}
.core-project-search button[type=submit]:hover{background:#fff;color:#343e43}
.core-project-search button[type=submit]:focus-visible{outline:2px solid #343e43;outline-offset:2px}
.core-project-hero__caption .core-project-hero__project{display:inline-flex;align-items:center;gap:10px;color:#fff;font-size:12px;text-decoration:none;line-height:1.5}
.core-project-hero__project svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.core-project-hero__caption .core-project-hero__project:hover{text-decoration:underline;text-underline-offset:3px}
.core-project-hero__project:focus-visible{outline:2px solid #fff;outline-offset:5px}
#find-a-project{scroll-margin-top:110px}
@media(max-width:640px){.core-project-search__field{gap:9px;padding-left:12px}.core-project-search input[type=search]{font-size:16px}.core-project-search .core-project-search__icon{display:none}#find-a-project{scroll-margin-top:90px}}
@media(prefers-reduced-motion:reduce){.core-project-search button[type=submit]{transition:none}}
