.project-detail-hero{position:relative;overflow:hidden;background:linear-gradient(110deg,#f7f8ef,#edf2df)}.project-detail-grid{position:relative;display:grid;grid-template-columns:1.05fr 1fr;gap:55px;align-items:center;padding:10px 0 55px}.project-detail-grid h1{font-size:clamp(2rem,3.5vw,3.3rem);line-height:1.08;letter-spacing:-.045em;overflow-wrap:anywhere}.project-date{font-size:.9rem;color:#52634b;margin-bottom:16px}.detail-lead{font-size:1.4rem;line-height:1.35;font-weight:600;color:var(--green);margin:23px 0}.project-detail-grid p:not(.eyebrow):not(.detail-lead):not(.project-date){font-size:1rem;line-height:1.7;margin-top:15px}.detail-cover{margin:0;background:#e5ebd9;border-radius:70px 16px 70px 16px;overflow:hidden}.detail-cover img{width:100%;height:auto;display:block}.project-gallery-section{padding-block:55px 60px}.gallery-heading{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:30px}.gallery-heading>p{font-size:.875rem;color:#52634b;line-height:1.6}.project-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.gallery-item{position:relative;display:block;background:#e8eddf;border-radius:13px;overflow:hidden}.gallery-item img{display:block;width:100%;height:270px;object-fit:contain;transition:opacity .2s}.gallery-item>span{position:absolute;bottom:10px;right:10px;background:#fbfcf2e8;border-radius:99px;padding:4px 9px;font-size:.8rem;color:var(--forest)}.gallery-item:hover img{opacity:.85}.gallery-item:focus-visible{outline:3px solid var(--green);outline-offset:3px}.project-pagination{display:grid;grid-template-columns:1fr auto 1fr;gap:30px;padding-block:30px 45px;border-top:1px solid #d9e3ca;align-items:center}.project-pagination>a:last-child{text-align:right}.project-pagination a>span{display:block;font-size:.875rem;color:#52634b;margin-bottom:9px}.project-pagination strong{font-size:1rem;line-height:1.4;display:block}.project-pagination a:hover strong,.project-overview:hover{text-decoration:underline}.project-overview{font-size:.9rem;border:1px solid #a5ba92;border-radius:99px;padding:12px 20px;white-space:nowrap}.treff-details{padding-block:60px;display:grid;grid-template-columns:1fr 1fr;gap:65px}.treff-details>div>p:not(.eyebrow){line-height:1.7;margin-top:22px}.treff-facts article{border-bottom:1px solid #d9e3ca;padding:22px 0}.treff-facts article:first-child{padding-top:0}.treff-facts h3{margin-bottom:12px}.treff-facts p{line-height:1.65}.treff-facts .text-link{display:inline-block;margin-top:17px;text-decoration:underline}.gallery-dialog{width:min(1200px,94vw);max-height:94dvh;padding:20px;background:#0a2e23;color:#fff;border:1px solid #557767;border-radius:18px;overflow:hidden}.gallery-dialog::backdrop{background:#03140fe8}.gallery-dialog-top,.gallery-dialog-bottom{display:flex;align-items:center;justify-content:space-between;gap:15px}.gallery-dialog button{font:inherit;font-size:.9rem;color:#fff;background:#224a39;border:1px solid #73907b;border-radius:99px;padding:10px 18px;cursor:pointer}.gallery-dialog button:hover{background:#365d40}.gallery-dialog button:focus-visible{outline:3px solid #d7edab;outline-offset:3px}.gallery-close span{font-size:1.2rem;margin-left:10px}.gallery-counter{font-size:.875rem}.gallery-full-image{height:min(70dvh,780px);display:flex;align-items:center;justify-content:center;margin-block:15px}.gallery-full-image img{max-height:100%;max-width:100%;object-fit:contain}.gallery-dialog-bottom{justify-content:center}.gallery-dialog button:disabled{opacity:.4;cursor:default}
@media(max-width:1000px){.project-detail-grid{gap:30px}.gallery-item img{height:210px}.treff-details{gap:35px}}
@media(max-width:750px){.project-detail-grid{grid-template-columns:1fr;gap:29px;padding-bottom:35px}.project-detail-grid h1{font-size:2.3rem}.detail-cover{border-radius:50px 13px 50px 13px}.detail-cover img{max-height:400px;object-fit:contain}.project-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.gallery-heading{display:block}.gallery-heading>p{margin-top:17px}.project-gallery-section{padding-block:38px}.project-pagination{grid-template-columns:1fr 1fr;gap:25px 20px;padding-block:25px 35px}.project-overview{grid-row:2;grid-column:1/-1;justify-self:center}.treff-details{grid-template-columns:1fr;padding-block:38px}.gallery-dialog{padding:14px}.gallery-full-image{height:65dvh}.gallery-dialog button{padding:10px 12px}}
@media(max-width:500px){.project-detail-grid h1{font-size:2rem}.detail-lead{font-size:1.3rem}.project-gallery{grid-template-columns:1fr}.gallery-item img{height:auto;max-height:440px;min-height:200px;object-fit:contain}.project-pagination strong{font-size:.9rem}.gallery-dialog{width:96vw}.gallery-dialog-bottom button{font-size:.8rem}.gallery-counter{font-size:.8rem}}
@media(prefers-reduced-motion:reduce){.gallery-item img{transition:none}}
