.news-detail h1{overflow-wrap:anywhere}.news-detail .plain-content{white-space:pre-wrap;overflow-wrap:anywhere;margin:1.5rem 0}.news-detail-cover{display:block;width:100%;max-height:70vh;object-fit:contain;border-radius:12px}.news-photo-gallery{margin:1.5rem 0;min-width:0;max-width:100%;background:#121c2b;border:1px solid #35475d;border-radius:12px;overflow:hidden}.news-photo-gallery .news-gallery-open{display:block;width:100%;max-width:100%;border:0;padding:0;margin:0;background:#0d1420;border-radius:0;cursor:zoom-in;touch-action:pan-y}.news-gallery-open img{display:block;width:auto;max-width:100%;margin:0 auto;height:auto;max-height:70vh;object-fit:contain;user-select:none;-webkit-user-drag:none}.news-photo-gallery .news-gallery-controls{display:flex;align-items:center;justify-content:center;gap:.7rem;flex-wrap:wrap;padding:.5rem}.news-photo-gallery .news-gallery-controls .button,.news-photo-gallery .news-lightbox-toolbar .button{min-width:44px;min-height:44px;margin:0;padding:.5rem .9rem;font-size:.85rem}.news-photo-gallery .news-gallery-controls span{color:#e7eef8;font-size:.9rem}.news-gallery-lightbox{background:#0c121c;color:#edf3fc;border:1px solid #50627a;border-radius:12px;padding:12px;width:min(1200px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);box-sizing:border-box}.news-gallery-lightbox::backdrop{background:#000d}.news-lightbox-toolbar{display:flex;justify-content:flex-end;margin-bottom:.6rem}.news-lightbox-image{touch-action:pan-y;min-width:0}.news-lightbox-image img{display:block;width:100%;max-height:calc(100dvh - 175px);object-fit:contain;user-select:none;-webkit-user-drag:none}.news-gallery-admin{border-top:1px solid #35475d;margin-top:1rem;padding-top:1rem;min-width:0}.news-gallery-admin-list{list-style:none;padding:0;display:grid;gap:.6rem}.news-gallery-admin-list>li{display:grid;grid-template-columns:120px minmax(0,1fr);gap:.75rem;padding:.65rem;border:1px solid #35475d;border-radius:9px;background:#141f30;min-width:0}.news-gallery-admin-list img{width:120px;height:90px;object-fit:contain;background:#0d1420;border-radius:6px}.gallery-item-actions{display:flex;gap:.4rem;flex-wrap:wrap}.gallery-item-actions button{min-height:44px;margin:.3rem 0;font-size:.8rem}.news-gallery-picker{border-top:1px solid #35475d;margin-top:1rem;padding-top:.5rem}.news-gallery-picker input{max-width:100%;min-width:0}.news-gallery-picker [role=status]{overflow-wrap:anywhere}.news-gallery-admin [role=status]{overflow-wrap:anywhere}@media(max-width:600px){.news-gallery-admin-list>li{grid-template-columns:80px minmax(0,1fr);gap:.5rem}.news-gallery-admin-list img{width:80px;height:70px}.gallery-item-actions button{padding:.5rem;white-space:normal}.news-gallery-lightbox{padding:8px;max-width:calc(100vw - 16px);width:calc(100vw - 16px)}.news-photo-gallery .news-gallery-controls{gap:.4rem}.news-gallery-open img{max-height:65vh}}
