/*
Theme Name: Part of Project
Theme URI: https://partofproject.nl
Author: Part of Project - conceptontwikkeling
Description: Eerste testversie, gebaseerd op het Wix-ontwerp. Bevat projectenbeheer en eigen media.
Version: 27.0
Requires PHP: 7.4
Text Domain: partofproject
*/
:root{--navy:#0b304c;--blue:#123e5e;--orange:#ec7d2c;--white:#fff;--ink:#172c3d;--muted:#647583}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:Arial,Helvetica,sans-serif;line-height:1.65}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto} .wrap{max-width:1200px;margin:auto;padding:0 24px}.site-header{background:#fff;position:sticky;top:0;z-index:50;box-shadow:0 2px 16px #001c3020}.header-inner{min-height:96px;display:flex;align-items:center;justify-content:space-between;gap:30px}.brand img{width:220px;max-height:74px;object-fit:contain}.nav{display:flex;gap:30px;align-items:center;font-size:15px;font-weight:700}.nav a:hover,.nav .current-menu-item a{color:var(--orange)}.nav-toggle{display:none}.hero{min-height:78vh;display:flex;align-items:center;position:relative;background:var(--navy);color:#fff;overflow:hidden}.hero video,.hero .fallback{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.hero:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#092d4bdc,#092d4b45);z-index:1}.hero-content{position:relative;z-index:2;width:100%;padding:120px 0}.hero h1{font-size:clamp(40px,6vw,76px);line-height:1.08;max-width:850px;margin:0 0 32px}.eyebrow{text-transform:uppercase;letter-spacing:.18em;font-size:12px;font-weight:700;color:var(--orange)}.btn{display:inline-block;background:var(--orange);color:#fff;border-radius:2px;padding:13px 23px;font-weight:700;margin:8px 10px 8px 0}.btn.alt{background:transparent;border:1px solid #fff}.section{padding:90px 0}.section h2,.page-title{font-size:clamp(34px,4vw,54px);line-height:1.14;color:var(--navy);margin:8px 0 26px}.section p{max-width:850px}.light{background:#f3f6f8}.split{display:grid;grid-template-columns:1.1fr 1fr;gap:56px;align-items:center}.split img{width:100%;height:460px;object-fit:cover}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.project-card{background:#fff;box-shadow:0 10px 25px #082b4012;overflow:hidden}.project-card img{width:100%;height:235px;object-fit:cover;display:block}.project-card .card-body{padding:22px}.project-card h3{margin:4px 0 10px;font-size:22px;color:var(--navy)}.project-card p{color:var(--muted);margin:0}.project-card a:hover h3{color:var(--orange)}.page-banner{background:var(--navy);color:#fff;padding:80px 0}.page-banner h1{color:#fff;margin:0}.prose{max-width:900px}.prose h2{color:var(--navy)}.team-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}.person{background:#f5f7f9}.person img{width:100%;height:320px;object-fit:cover}.person div{padding:20px}.person h3{margin:0;color:var(--navy)}.site-footer{background:#0b3657;color:#fff;padding:66px 0 24px}.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:50px}.site-footer img{max-width:230px;background:white;padding:8px}.site-footer h3{color:white}.site-footer a:hover{color:#ffb477}.footer-bottom{border-top:1px solid #ffffff40;margin-top:45px;padding-top:20px;font-size:13px}.contact-card{display:flex;gap:22px;align-items:center;background:#f3f6f8;padding:20px}.contact-card img{width:120px;height:130px;object-fit:cover}.contact-card h3{margin:0}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px}.socials{display:flex;gap:15px;flex-wrap:wrap}.socials a{text-decoration:underline}.empty{padding:25px;background:#f3f6f8}.single-cover{width:100%;max-height:520px;object-fit:cover;margin-bottom:32px}@media(max-width:780px){.header-inner{min-height:75px}.brand img{width:165px}.nav-toggle{display:block;border:0;background:var(--navy);color:#fff;padding:10px 13px}.nav{display:none;position:absolute;top:75px;left:0;right:0;background:white;padding:25px;flex-direction:column;align-items:flex-start}.nav.open{display:flex}.hero{min-height:65vh}.hero-content{padding:85px 0}.split,.footer-grid,.contact-grid{grid-template-columns:1fr}.cards,.team-grid{grid-template-columns:1fr 1fr}.section{padding:55px 0}}@media(max-width:520px){.cards,.team-grid{grid-template-columns:1fr}.wrap{padding:0 18px}.hero h1{font-size:40px}}

/* Homepage update v0.2 */
.brand img{width:280px;max-height:90px;object-fit:contain;display:block}
.header-inner{min-height:110px}
.site-footer img{background:transparent;padding:0;max-width:290px;width:100%;height:auto;object-fit:contain}
.footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
.footer-socials{margin-left:auto;justify-content:flex-end}
.footer-socials a{display:inline-flex;align-items:center;justify-content:center;min-width:42px;min-height:42px;padding:8px 12px;border:1px solid #ffffff80;border-radius:30px;font-size:13px;font-weight:700;text-decoration:none}
.footer-socials a:hover{background:#fff;color:#0b3657}
.intro-section .wrap{max-width:1080px}
.intro-copy{font-size:18px;line-height:1.95;max-width:100%;white-space:normal}
.project-feature-layout{display:grid;grid-template-columns:1.1fr .9fr;gap:56px;align-items:center;margin-bottom:48px}
.project-feature-copy p{font-size:17px;line-height:1.85}
.project-feature-images{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:center}
.project-feature-images img{width:100%;height:350px;object-fit:cover;border-radius:3px;box-shadow:0 14px 34px #0b304c24}
.project-feature-images img:nth-child(2){height:270px;margin-top:70px}
.client-logo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:44px}
.client-logo{background:#fff;border:1px solid #e6eaed;min-height:175px;padding:26px;display:flex;align-items:center;justify-content:center;transition:transform .2s,box-shadow .2s}
.client-logo:hover{transform:translateY(-3px);box-shadow:0 12px 28px #0b304c14}
.client-logo img{width:100%;height:115px;object-fit:contain}
@media(max-width:850px){.project-feature-layout{grid-template-columns:1fr}.client-logo-grid{grid-template-columns:repeat(2,1fr)}.brand img{width:210px}.header-inner{min-height:85px}}
@media(max-width:520px){.client-logo-grid{grid-template-columns:1fr 1fr;gap:10px}.client-logo{min-height:125px;padding:12px}.client-logo img{height:95px}.intro-copy{font-size:16px}.project-feature-images img{height:230px}.project-feature-images img:nth-child(2){height:190px;margin-top:35px}.brand img{width:175px}}

/* Homepage V3: logos, alignment, and active social links */
.site-header .header-inner{max-width:none;padding-left:clamp(12px,2vw,32px);padding-right:clamp(18px,4vw,64px);min-height:120px}
.site-header .brand{display:block;flex:0 0 auto;line-height:0}
.site-header .brand img{width:clamp(265px,29vw,380px);max-height:100px;height:auto;object-fit:contain;object-position:left center}
.site-footer{background:#1c4474}
.site-footer img{background:none!important;padding:0!important;max-width:380px;width:100%;height:auto;display:block}
.footer-socials{margin-left:auto;justify-content:flex-end;gap:12px}
.footer-socials a{display:inline-flex;align-items:center;gap:8px;min-height:43px;padding:8px 12px;border:1px solid rgba(255,255,255,.65);border-radius:25px;text-decoration:none;font-size:13px;font-weight:700}
.footer-socials a span[aria-hidden]{font-weight:800;font-size:19px;line-height:1}
@media(max-width:850px){.site-header .header-inner{min-height:92px;padding-left:15px;padding-right:18px}.site-header .brand img{width:clamp(200px,32vw,275px);max-height:76px}.site-footer img{max-width:340px}}
@media(max-width:520px){.site-header .brand img{width:195px;max-height:66px}.footer-socials{margin-left:0}.footer-socials a{min-width:42px;justify-content:center}.footer-socials .social-name{display:none}}

/* V5: keep complete header logo visible while sticky on scroll */
.site-header .header-inner{min-height:112px;align-items:center}
.site-header .brand{display:flex;align-items:center;min-width:0;align-self:center}
.site-header .brand img{display:block;width:clamp(245px,25vw,325px);max-width:100%;height:auto;max-height:82px;object-fit:contain;object-position:left center}
@media(max-width:850px){.site-header .header-inner{min-height:88px}.site-header .brand img{width:clamp(185px,27vw,245px);max-height:65px}}
@media(max-width:520px){.site-header .header-inner{min-height:76px}.site-header .brand img{width:175px;max-height:54px}}

/* V6: slightly smaller header logo, including sticky and mobile header */
.site-header .brand img{width:clamp(220px,22vw,290px);max-height:74px}
@media(max-width:850px){.site-header .brand img{width:clamp(170px,24vw,220px);max-height:59px}}
@media(max-width:520px){.site-header .brand img{width:158px;max-height:49px}}

/* Contact V8: deliberately simple, as on Wix. */
.contact-simple{padding-top:64px;padding-bottom:80px}
.contact-simple .contact-card{background:#f5f7f9;padding:22px;gap:25px;min-height:210px}
.contact-simple .contact-card img{width:155px;height:165px;object-fit:cover;flex-shrink:0}
.contact-simple .contact-card h3{color:var(--navy);font-size:24px;margin:0 0 12px}
.contact-simple .contact-card p{margin:0;line-height:1.9;overflow-wrap:anywhere}
.contact-simple .contact-card a:hover{color:var(--orange)}
@media(max-width:520px){.contact-simple .contact-card{align-items:flex-start;gap:16px;padding:15px}.contact-simple .contact-card img{width:105px;height:130px}.contact-simple .contact-card h3{font-size:19px}}


/* Contact V9: one cohesive blue section, with original grey people cards */
.contact-unified{background:var(--navy);color:#fff;padding:76px 0 88px}
.contact-unified-heading{margin-bottom:34px}
.contact-unified .page-title{color:#fff;margin:0 0 15px}
.contact-unified-heading p{max-width:760px;margin:0;font-size:18px;line-height:1.75}
.contact-unified .contact-grid{gap:26px}
.contact-unified .contact-card{background:#f5f7f9;color:var(--ink);padding:22px;gap:25px;min-height:210px}
.contact-unified .contact-card img{width:155px;height:165px;object-fit:cover;flex-shrink:0}
.contact-unified .contact-card h3{color:var(--navy);font-size:24px;margin:0 0 12px}
.contact-unified .contact-card p{margin:0;line-height:1.9;overflow-wrap:anywhere}
.contact-unified .contact-card a:hover{color:var(--orange)}
@media(max-width:520px){.contact-unified{padding:50px 0 65px}.contact-unified-heading p{font-size:16px}.contact-unified .contact-card{align-items:flex-start;gap:16px;padding:15px}.contact-unified .contact-card img{width:105px;height:130px}.contact-unified .contact-card h3{font-size:19px}}


/* Contact V10 — photo-led, clean layout. Other pages remain unchanged. */
.wix-contact-photo{height:clamp(260px,34vw,440px);background-image:url('assets/contact-veiligheid.png');background-size:cover;background-position:center 45%}
.wix-contact-content{padding:58px 0 85px;background:#fff}
.wix-contact-content h1{font-size:clamp(36px,4vw,54px);color:var(--navy);margin:0 0 15px}
.wix-contact-intro{max-width:850px;font-size:19px;line-height:1.75;margin:0 0 36px;color:var(--ink)}
.wix-contact-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px}
.wix-contact-card{display:flex;align-items:center;gap:22px;background:#f3f6f8;padding:22px;min-width:0}
.wix-contact-card img{width:135px;height:150px;object-fit:cover;flex-shrink:0}
.wix-contact-card h2{font-size:24px;color:var(--navy);margin:0 0 12px}
.wix-contact-card p{margin:0;line-height:1.8;overflow-wrap:anywhere}
.wix-contact-card a:hover{color:var(--orange)}
@media(max-width:800px){.wix-contact-cards{grid-template-columns:1fr}.wix-contact-photo{height:300px}}
@media(max-width:480px){.wix-contact-content{padding:38px 0 55px}.wix-contact-intro{font-size:17px}.wix-contact-card{gap:15px;padding:14px}.wix-contact-card img{width:105px;height:125px}.wix-contact-card h2{font-size:20px}}


/* Contact V11 — screenshot-matched Wix two-column contact page */
.wix-contact-match{display:grid;grid-template-columns:1fr 1fr;background:#deded5;min-height:790px}
.wix-contact-match-content{padding:27px clamp(28px,4vw,72px) 55px clamp(30px,4vw,72px);min-width:0}
.wix-contact-match h1{font-size:clamp(54px,5vw,76px);font-weight:400;line-height:1.12;letter-spacing:-.025em;color:#c64c00;margin:0 0 30px}
.wix-contact-match-intro{font-size:clamp(17px,1.45vw,21px);line-height:1.48;color:#080808;max-width:680px;margin:0 0 44px}
.wix-contact-match-people{display:flex;flex-direction:column;gap:45px}
.wix-contact-match-person{display:grid;grid-template-columns:200px minmax(0,1fr);gap:27px;min-width:0;align-items:start}
.wix-contact-match-person img{display:block;width:200px;height:240px;object-fit:cover;object-position:center}
.wix-contact-match-person-info{display:flex;flex-direction:column;align-items:flex-start;min-height:240px;padding:8px 0 42px;min-width:0}
.wix-contact-match-person h2{font-size:24px;line-height:1.25;color:#080808;margin:0 0 9px;font-weight:750}
.wix-contact-match-phone{margin:0;font-size:18px;line-height:1.5;color:#111}
.wix-contact-match-phone a{color:inherit;text-decoration:none}
.wix-contact-match-email{color:#090909;font-weight:700;font-size:17px;text-decoration:underline;margin-top:auto;overflow-wrap:anywhere}
.wix-contact-match-image{background-image:url('assets/contact-veiligheid.png');background-position:center center;background-size:cover;min-height:790px}
@media(max-width:1100px){.wix-contact-match-person{grid-template-columns:145px minmax(0,1fr);gap:20px}.wix-contact-match-person img{width:145px;height:195px}.wix-contact-match-person-info{min-height:195px}.wix-contact-match-person h2{font-size:21px}.wix-contact-match-phone{font-size:16px}.wix-contact-match-email{font-size:15px}}
@media(max-width:760px){.wix-contact-match{grid-template-columns:1fr}.wix-contact-match-content{padding:35px 25px 50px}.wix-contact-match h1{font-size:54px}.wix-contact-match-image{min-height:350px;background-position:center 40%}.wix-contact-match-person{grid-template-columns:150px minmax(0,1fr)}.wix-contact-match-person img{width:150px;height:195px}.wix-contact-match-person-info{min-height:195px}}
@media(max-width:420px){.wix-contact-match-person{grid-template-columns:120px minmax(0,1fr);gap:15px}.wix-contact-match-person img{width:120px;height:175px}.wix-contact-match-person-info{min-height:175px}.wix-contact-match-person h2{font-size:19px}.wix-contact-match-email{font-size:13px}.wix-contact-match-phone{font-size:14px}}


/* V12 — faithful Wix screenshot reproduction: two equal columns, no cards, no extra sections */
.pop-wix-contact{display:grid;grid-template-columns:50% 50%;background:#deded6;min-height:790px;font-family:Arial,Helvetica,sans-serif;color:#080808;line-height:1.4}
.pop-wix-contact-left{padding:22px 36px 52px 60px;min-width:0}
.pop-wix-contact-left h1{font-size:72px;font-weight:400;letter-spacing:-2px;line-height:1.15;margin:0 0 28px;color:#c44e00}
.pop-wix-contact-intro{font-size:20px;line-height:1.48;max-width:660px;margin:0 0 44px;color:#080808}
.pop-wix-contact-persons{display:flex;flex-direction:column;gap:46px}
.pop-wix-contact-person{display:grid;grid-template-columns:200px minmax(0,1fr);gap:27px;min-width:0}
.pop-wix-contact-person img{width:200px;height:240px;object-fit:cover;object-position:center;display:block;max-width:none}
.pop-wix-contact-details{display:flex;flex-direction:column;align-items:flex-start;min-height:240px;padding:8px 0 45px}
.pop-wix-contact-details h2{font-size:24px;font-weight:700;color:#080808;line-height:1.3;margin:0 0 8px}
.pop-wix-contact-details p{font-size:18px;margin:0;line-height:1.5}
.pop-wix-contact-details p a{text-decoration:none;color:#080808}
.pop-wix-contact-mail{margin-top:auto;color:#080808!important;text-decoration:underline;font-size:17px;font-weight:700;overflow-wrap:anywhere}
.pop-wix-contact-right{min-width:0;min-height:790px}
.pop-wix-contact-right img{display:block;width:100%;height:100%;min-height:790px;object-fit:cover;object-position:center}
@media(max-width:1050px){.pop-wix-contact-left{padding-left:35px;padding-right:25px}.pop-wix-contact-left h1{font-size:60px}.pop-wix-contact-intro{font-size:18px}.pop-wix-contact-person{grid-template-columns:145px minmax(0,1fr);gap:18px}.pop-wix-contact-person img{width:145px;height:205px}.pop-wix-contact-details{min-height:205px}.pop-wix-contact-details h2{font-size:20px}.pop-wix-contact-details p{font-size:16px}.pop-wix-contact-mail{font-size:15px}}
@media(max-width:740px){.pop-wix-contact{grid-template-columns:1fr}.pop-wix-contact-left{padding:35px 25px 45px}.pop-wix-contact-left h1{font-size:56px}.pop-wix-contact-intro{margin-bottom:32px}.pop-wix-contact-persons{gap:28px}.pop-wix-contact-right,.pop-wix-contact-right img{min-height:0;height:440px}}
@media(max-width:390px){.pop-wix-contact-person{grid-template-columns:120px minmax(0,1fr);gap:14px}.pop-wix-contact-person img{width:120px;height:175px}.pop-wix-contact-details{min-height:175px;padding:2px 0 10px}.pop-wix-contact-details h2{font-size:18px}.pop-wix-contact-details p{font-size:14px}.pop-wix-contact-mail{font-size:13px}}

/* V13: contact colors and typography aligned with homepage; layout unchanged */
.pop-wix-contact{background:#f3f6f8;font-family:inherit;color:var(--ink);line-height:1.65}
.pop-wix-contact-left h1{color:var(--navy);font-size:clamp(34px,4vw,54px);font-weight:700;letter-spacing:normal;line-height:1.14}
.pop-wix-contact-intro{font-size:18px;line-height:1.65;color:var(--ink)}
.pop-wix-contact-details h2{color:var(--navy);font-weight:700}
.pop-wix-contact-details p,.pop-wix-contact-details p a,.pop-wix-contact-mail{color:var(--ink)!important}
@media(max-width:1050px){.pop-wix-contact-left h1{font-size:clamp(34px,4vw,54px)}}
@media(max-width:740px){.pop-wix-contact-left h1{font-size:clamp(34px,4vw,54px)}}


/* V14 Over ons — dedicated styles, other pages untouched */
.about-v14-hero{display:grid;grid-template-columns:1fr 1fr;background:#f3f6f8;min-height:560px}
.about-v14-hero-copy{padding:52px clamp(25px,3.2vw,65px) 65px;display:flex;flex-direction:column;align-items:flex-start}
.about-v14-kicker{display:flex;align-items:center;gap:22px;color:var(--ink);font-size:22px;margin-bottom:15px}
.about-v14-kicker span{height:1px;width:130px;background:var(--ink)}
.about-v14-hero h1{font-size:clamp(37px,3.5vw,65px);font-weight:500;line-height:1.13;letter-spacing:-.025em;color:var(--navy);margin:0 0 40px}
.about-v14-hero p{font-size:clamp(17px,1.4vw,21px);line-height:1.55;max-width:740px;margin:0}
.about-v14-hero-image{min-height:560px;padding:20px 20px 20px 0}
.about-v14-hero-image img{display:block;width:100%;height:100%;min-height:520px;object-fit:cover;object-position:center}
.about-v14-story{background:#fff}
.about-v14-story-grid{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:start}
.about-v14-story-col h2{font-size:clamp(29px,2.7vw,41px);line-height:1.2;margin:0 0 26px}
.about-v14-story-col p{font-size:17px;line-height:1.8;max-width:none;margin:0 0 20px}
.about-v14-team .team-grid{margin-top:30px}
.about-v14-team .person img{display:block}
.about-v14-join-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:55px;align-items:start}
.about-v14-join-copy p{font-size:17px;line-height:1.8;margin:0 0 20px;max-width:none}
.about-v14-join-image img{width:100%;height:550px;object-fit:cover;position:sticky;top:120px}
@media(max-width:900px){.about-v14-hero{grid-template-columns:1fr}.about-v14-hero-image{padding:0;min-height:320px}.about-v14-hero-image img{height:390px;min-height:0}.about-v14-story-grid,.about-v14-join-grid{grid-template-columns:1fr}.about-v14-join-image img{height:340px}}
@media(max-width:550px){.about-v14-hero-copy{padding:40px 22px}.about-v14-hero h1{margin-bottom:25px}.about-v14-hero-image img{height:280px}.about-v14-story-grid{gap:20px}.about-v14-join-grid{gap:25px}}

/* V15: volledige groepsfoto zichtbaar bij team versterken */
.about-v14-join-image img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;object-position:center;position:static}
@media(max-width:900px){.about-v14-join-image img{height:auto;max-height:none;object-fit:contain}}


/* V16: team profiles — original team tiles retained, now clickable */
.pop-team-link{display:block;color:inherit;text-decoration:none;height:100%}
.pop-team-link:hover h3,.pop-team-link:focus-visible h3{color:var(--orange)}
.pop-team-link:focus-visible{outline:3px solid var(--orange);outline-offset:3px}
.pop-profile{background:#f3f6f8;padding:54px 0 90px}
.pop-profile-back{display:inline-block;color:var(--navy);font-weight:700;text-decoration:none;margin-bottom:32px}
.pop-profile-back:hover{text-decoration:underline}
.pop-profile-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(270px,.65fr);gap:65px;align-items:start}
.pop-profile-content h1{font-size:clamp(38px,4vw,60px);color:var(--navy);line-height:1.15;margin:0 0 10px}
.pop-profile-subtitle{color:var(--orange);font-size:22px;font-style:italic;font-weight:600;margin:0 0 32px!important}
.pop-profile-content>p{font-size:17px;line-height:1.85;margin:0 0 23px}
.pop-profile-content h2{color:var(--navy);font-size:23px;line-height:1.35;margin:42px 0 18px}
.pop-profile-content ul{padding-left:23px;line-height:1.8;font-size:17px}
.pop-profile-content li{padding-left:5px;margin:0 0 9px}
.pop-profile-quote{font-style:italic;font-weight:650}
.pop-profile-photo img{width:100%;height:auto;display:block;object-fit:contain;position:sticky;top:125px}
.pop-profile-bottom{margin:28px 0 0}
@media(max-width:800px){.pop-profile-grid{grid-template-columns:1fr;gap:30px}.pop-profile-photo{grid-row:1}.pop-profile-photo img{max-width:380px;max-height:430px;object-fit:contain}.pop-profile{padding:35px 0 65px}}


/* V17: projects listing and detail only; existing pages unchanged */
.pop-projects-banner{padding:80px 0 84px}
.pop-projects-banner p{max-width:980px;font-size:18px;line-height:1.85;margin:24px 0 0}
.pop-projects-section{background:#f3f6f8}
.pop-projects-section .cards{gap:28px}
.pop-projects-section .project-card{border-radius:3px;box-shadow:0 12px 30px #0b304c16;transition:transform .2s,box-shadow .2s}
.pop-projects-section .project-card:hover{transform:translateY(-5px);box-shadow:0 18px 38px #0b304c22}
.pop-projects-section .project-card img{height:250px}
.pop-projects-section .project-card .card-body{padding:24px}
.pop-projects-section .project-card p{line-height:1.65}
.pop-projects-section .project-card .pop-project-more{display:inline-block;margin-top:18px;font-weight:700;color:var(--navy);border-bottom:2px solid var(--orange)}
.pop-project-detail-banner p{max-width:850px;font-size:18px;line-height:1.7;margin:24px 0 0}
.pop-project-detail-hero{max-height:560px;overflow:hidden;background:#e8eef2}
.pop-project-detail-hero img{width:100%;height:min(45vw,560px);min-height:320px;object-fit:cover;display:block}
.pop-project-detail{padding-bottom:85px;background:#fff}
.pop-project-detail-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(270px,.8fr);gap:65px;padding-top:68px;padding-bottom:60px}
.pop-project-detail h2{color:var(--navy);font-size:clamp(26px,3vw,36px);margin:0 0 24px;line-height:1.2}
.pop-project-richtext{font-size:17px;line-height:1.9;overflow-wrap:anywhere}
.pop-project-richtext p{margin:0 0 1.3em}
.pop-project-richtext img{height:auto}
.pop-project-facts{background:#f3f6f8;padding:30px 32px;align-self:start;border-top:4px solid var(--orange)}
.pop-project-facts h2{font-size:24px;margin:0 0 20px}
.pop-project-fact{padding:15px 0;border-top:1px solid #dce5eb}
.pop-project-fact strong{display:block;color:var(--navy);font-size:14px;margin-bottom:4px}
.pop-project-fact span{display:block;white-space:normal;overflow-wrap:anywhere}
.pop-project-gallery{padding-top:12px;padding-bottom:50px}
.pop-project-gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.pop-project-gallery-grid img{display:block;width:100%;height:310px;object-fit:cover}
.pop-project-back{padding-top:15px}
@media(max-width:850px){.pop-project-detail-grid{grid-template-columns:1fr;gap:30px;padding-top:45px}.pop-project-gallery-grid img{height:230px}}
@media(max-width:520px){.pop-projects-banner{padding:55px 0}.pop-projects-banner p{font-size:16px}.pop-project-detail-hero img{min-height:240px;height:260px}.pop-project-facts{padding:24px}.pop-project-gallery-grid{grid-template-columns:1fr}.pop-project-gallery-grid img{height:auto;max-height:360px;object-fit:contain}}

/* V22 — intro on the Projects page only; homepage and project detail unchanged */
.pop-projects-intro{background:#f3f6f8;color:var(--ink);padding:72px 0 58px}
.pop-projects-intro .pop-projects-kicker{display:flex;align-items:center;gap:22px;font-size:20px;line-height:1.4;color:var(--navy);margin:0 0 18px}
.pop-projects-intro .pop-projects-kicker span{display:inline-block;width:110px;height:1px;background:var(--navy)}
.pop-projects-intro h1{font-size:clamp(38px,4.2vw,60px);font-weight:600;line-height:1.15;letter-spacing:-.02em;color:var(--navy);margin:0 0 52px}
.pop-projects-intro p{font-size:clamp(17px,1.35vw,20px);line-height:1.55;max-width:820px;color:var(--ink);margin:0}
.pop-projects-intro + .pop-projects-section{padding-top:8px;background:#f3f6f8}
@media(max-width:700px){.pop-projects-intro{padding:48px 0 40px}.pop-projects-intro h1{margin-bottom:28px}.pop-projects-intro .pop-projects-kicker{font-size:17px}.pop-projects-intro .pop-projects-kicker span{width:75px}}

.pop-project-photo-credit{font-size:14px;color:#516778;margin-top:-22px;margin-bottom:32px}.pop-project-richtext h3{color:var(--navy);font-size:23px;margin:1.6em 0 .6em}
