.gallery-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:20px 24px}.gallery-toolbar label{margin:0;max-width:580px;flex:1}.gallery-toolbar p{white-space:nowrap;margin:0 0 12px}.project-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:24px 0}.project-card{background:#fff;border:1px solid #dce5ec;border-radius:16px;overflow:hidden;box-shadow:0 4px 16px rgba(18,57,77,.035);display:flex;flex-direction:column;transition:transform .16s ease,box-shadow .16s ease}.project-card:hover{transform:translateY(-3px);box-shadow:0 8px 24px rgba(18,57,77,.09)}.project-card[hidden]{display:none}.project-card-image{position:relative;display:block;aspect-ratio:8/5;background:#eef3f6;border-bottom:1px solid #e3eaf0;overflow:hidden}.project-card-image img{display:block;width:100%;height:100%;object-fit:contain}.cover-caption{position:absolute;left:12px;bottom:12px;background:rgba(255,255,255,.94);padding:4px 9px;border-radius:5px;color:#405463;font-size:10px;letter-spacing:.03em}.project-card-content{padding:22px;display:flex;flex-direction:column;flex:1}.project-card-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.project-card-meta .eyebrow{margin:0}.project-card h2{font-size:19px;line-height:1.4;margin:0 0 12px;letter-spacing:-.02em}.project-card h2 a{color:#153548;text-decoration:none}.project-card h2 a:hover{text-decoration:underline}.project-card-content>p{margin:0 0 10px}.project-card progress{height:5px;margin:0 0 22px}.project-card-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:2px}.project-card-footer .button{padding:9px 12px;font-size:12px}.project-card-footer>a:last-child{font-size:12px;white-space:nowrap}.gallery-note{max-width:780px;margin-top:28px}.project-image-panel{margin:24px 0}.project-image-editor{display:grid;grid-template-columns:minmax(260px,.85fr) minmax(300px,1.15fr);gap:32px}.project-image-editor figure{margin:0}.project-cover-preview{display:block;width:100%;max-height:400px;aspect-ratio:8/5;object-fit:contain;background:#edf3f7;border:1px solid #dce5ec;border-radius:10px}.project-image-editor figcaption{margin:10px 0}.cover-remove-form{margin-top:14px}.cover-upload-form input[type=file]{padding:10px;background:#f6f9fb}.gallery-empty[hidden]{display:none}@media(min-width:1550px){.project-gallery{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1050px){.project-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:680px){.project-gallery{grid-template-columns:1fr}.gallery-toolbar{display:block}.gallery-toolbar p{margin:12px 0 0}.project-image-editor{grid-template-columns:1fr;gap:16px}.project-card-content{padding:20px}.project-image-panel .section-heading{gap:12px;align-items:flex-start}}

.project-card-meta{flex-wrap:wrap;align-items:flex-start}.project-card-meta .eyebrow{overflow-wrap:anywhere;max-width:100%}
