/* Sosyal Sanayi V3.0.9 — Photo composer and approved photo collages */
.ss309-compose{gap:18px}
.ss309-compose>label{display:block}
.ss309-photo-field{border:1px solid #5f2630;border-radius:18px;background:linear-gradient(145deg,#1a1012,#0e0d0e);padding:18px;min-width:0}
.ss309-field-head{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#fff;margin-bottom:4px}
.ss309-field-head strong{font-size:18px}
.ss309-field-head span{border:1px solid #8f3343;background:rgba(130,15,29,.13);color:#ffb4bd;padding:5px 11px;border-radius:99px;font-size:13px;font-weight:800;white-space:nowrap}
.ss309-hint{display:block;color:#bcbcbc;font-size:13px;line-height:1.5;margin:7px 0 12px}
.ss309-photo-field input[type=file]{display:block;width:100%;min-height:48px;box-sizing:border-box;color:#f5f5f5;background:#111;border:1px dashed #a6374a;border-radius:13px;padding:12px;font-size:13px;cursor:pointer}
.ss309-photo-field input[type=file]::file-selector-button{background:#d60920;color:#fff;border:0;border-radius:9px;padding:9px 11px;margin-right:10px;font:inherit;font-weight:800}
.ss309-photo-field input[type=file]:focus-visible{outline:2px solid #ff5369;outline-offset:3px}
.ss309-error{border:1px solid #d11b38;border-radius:10px;background:#310b14;padding:12px;color:#fff;font-size:13px;margin-top:10px}
.ss309-preview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-top:13px}
.ss309-preview:empty{display:none}
.ss309-photo-tile{position:relative;overflow:hidden;border:1px solid #603039;background:#050505;border-radius:14px;min-width:0}
.ss309-photo-tile img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}
.ss309-photo-tile .ss309-photo-caption{padding:9px 10px;display:flex;flex-direction:column;gap:3px;min-width:0;color:#fff;font-size:12px}
.ss309-photo-caption small{color:#bbb;font-size:11px}
.ss309-photo-caption span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ss309-photo-tile button{position:absolute;top:7px;right:7px;border:1px solid #ff5868;background:rgba(25,3,6,.95);color:#fff;cursor:pointer;min-height:37px;min-width:37px;border-radius:10px;font-weight:900;font-size:15px}
.ss309-photo-tile button:focus-visible{outline:3px solid #fff;outline-offset:2px}
.ss309-compose-foot{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding-top:5px}
.ss309-compose-foot>span{color:#bcbcbc;font-size:12px;flex:1 1 220px}
.ss309-compose-foot .button{flex:0 1 auto}
.ss309-compose[aria-busy=true] [data-ss309-submit]{opacity:.6;pointer-events:none}
.ss309-post-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:15px 0 5px;border-radius:15px;overflow:hidden}
.ss309-post-gallery.ss309-count-1{grid-template-columns:1fr}
.ss309-post-gallery.ss309-count-3 .ss309-gallery-item:first-child{grid-column:1/-1}
.ss309-gallery-item{min-width:0;background:#090909;display:block;aspect-ratio:4/3;overflow:hidden}
.ss309-post-gallery.ss309-count-1 .ss309-gallery-item{aspect-ratio:16/10}
.ss309-post-gallery.ss309-count-3 .ss309-gallery-item:first-child{aspect-ratio:16/7}
.ss309-gallery-item img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .2s ease}
.ss309-gallery-item:hover img{transform:scale(1.02)}
.ss309-detail-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:18px 0;min-width:0}
.ss309-detail-gallery.ss309-count-1{grid-template-columns:1fr}
.ss309-detail-gallery .detail-photo{display:block;width:100%;height:100%;aspect-ratio:4/3;object-fit:cover;margin:0;border-radius:12px;min-width:0}
.ss309-detail-gallery.ss309-count-1 .detail-photo{aspect-ratio:auto;max-height:640px;height:auto;object-fit:contain;background:#080808}
@media(max-width:540px){.ss309-photo-field{padding:14px}.ss309-compose-foot .button{width:100%;flex:1 1 100%;min-height:48px}.ss309-field-head strong{font-size:16px}.ss309-photo-field input[type=file]{font-size:12px}.ss309-preview{gap:8px}.ss309-photo-caption{font-size:11px}}
@media(prefers-reduced-motion:reduce){.ss309-gallery-item img{transition:none}}
