.official-logo{object-fit:contain}.hero-image{object-position:center top}.gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:20px;align-items:start}.gallery-grid .gallery-item,.gallery-grid .gallery-item:first-child{grid-column:auto;grid-row:auto;display:flex;flex-direction:column;width:100%;height:auto;min-height:0;padding:0;overflow:hidden;background:#101713}.gallery-grid .gallery-item>img{position:static;display:block;inset:auto;width:100%;height:auto;min-height:0;max-height:420px;aspect-ratio:4/3;object-fit:contain;background:#101713}.gallery-grid .gallery-item:after{display:none}.gallery-grid .gallery-caption{position:static;inset:auto;display:flex;flex-direction:column;gap:6px;padding:18px;text-align:left;width:100%;min-height:104px;background:#fff;color:var(--ink);border:1px solid var(--line);border-top:0}.gallery-grid .gallery-caption b{font-size:1rem;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.gallery-grid .gallery-caption span{font-size:.8rem;color:var(--muted);line-height:1.4}.spotlight-slide>img.spotlight-photo{object-fit:contain;background:#0c1710;object-position:center top}.experience-photo img{width:100%;height:100%;object-fit:contain;background:#101713}.event-card>img,.post-card>img{width:100%;aspect-ratio:4/3;object-fit:contain;background:#101713;display:block;margin-bottom:18px}.upload-preview{object-fit:contain;background:#e8eeea}.media-unavailable{object-fit:contain!important;background:#e8eeea!important}
.editor-dialog.media-editor{width:min(1100px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:58px 24px 22px;overflow-y:auto}.media-editor h2{font-size:1.8rem;margin:0}.media-editor .editor-help{font-size:.95rem;margin:8px 0 18px;line-height:1.5}.media-editor .editor-stage{height:clamp(240px,38dvh,430px);width:100%;min-width:0}.media-editor .editor-workspace{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:20px}.media-editor .editor-previews{display:grid;gap:14px;align-content:start}.media-editor .editor-preview{margin:0;min-width:0}.media-editor .editor-preview figcaption{font-size:.85rem;font-weight:700;margin-bottom:6px}.media-editor .editor-preview canvas{display:block;width:auto;max-width:100%;height:auto;max-height:190px;object-fit:contain;background:#101713;border:1px solid var(--line)}.media-editor .editor-tabs{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:12px}.media-editor .editor-tabs button{min-height:44px;padding:8px 14px;border:1px solid var(--line);background:#fff;font-weight:700}.media-editor .editor-tabs button[aria-pressed=true]{background:var(--acid);border-color:#817300}.media-editor .editor-tools button{min-height:44px}.media-editor .editor-footer{position:sticky;bottom:-22px;background:var(--paper);padding:15px 0;border-top:1px solid var(--line);z-index:5}.media-editor .editor-hint{font-size:.85rem;line-height:1.5}.media-editor .editor-stage .cropper-container{max-width:100%}.media-editor [hidden]{display:none!important}
@media(max-width:760px){.hero-image{object-position:center top}.gallery-grid{grid-template-columns:1fr}.gallery-grid .gallery-item>img{max-height:none;aspect-ratio:4/3}.gallery-grid .gallery-caption{min-height:90px;padding:16px}.media-editor.editor-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:55px 14px 14px;margin:auto}.media-editor .editor-workspace{grid-template-columns:1fr;gap:14px}.media-editor .editor-previews{grid-template-columns:1fr 1fr;gap:12px}.media-editor .editor-stage{height:clamp(220px,35dvh,340px)}.media-editor .editor-preview canvas{max-height:160px}.media-editor .editor-footer{bottom:-14px;align-items:stretch;flex-direction:column;gap:10px}.media-editor .editor-footer button{width:100%}.media-editor .editor-tools{gap:6px}.media-editor .editor-tools button{flex:1;padding:8px}.media-editor .editor-help{font-size:.9rem}.media-editor .editor-tabs button{flex:1}}
