.branch-gallery{margin:32px 0;scroll-margin-top:100px}.branch-gallery-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:20px}.branch-gallery-heading h2{font-size:clamp(22px,3vw,30px);margin:5px 0;letter-spacing:-.6px}.branch-gallery-heading>span{display:flex;align-items:center;gap:8px;color:var(--muted,#60746a);font-size:14px}.branch-gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.branch-gallery-grid:has(>:only-child){grid-template-columns:minmax(0,1fr)}.branch-gallery-photo:only-child a{aspect-ratio:21/9;max-height:440px}.branch-gallery-photo{margin:0;min-width:0}.branch-gallery-photo a{display:block;position:relative;overflow:hidden;border-radius:18px;background:#eaf0ec;aspect-ratio:16/10}.branch-gallery-photo img{width:100%;height:100%;object-fit:cover;transition:transform .25s ease}.branch-gallery-photo a:hover img{transform:scale(1.025)}.branch-gallery-photo a:focus-visible{outline:3px solid #286a55;outline-offset:4px}.branch-photo-open{position:absolute;bottom:12px;right:12px;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#ffffffed;color:#244f40}.branch-gallery-photo figcaption{padding:10px 2px 4px;color:#52685e;font-size:14px;line-height:1.5;overflow-wrap:anywhere}.branch-gallery-more{margin-top:18px}.branch-gallery-more summary{cursor:pointer;color:#255d48;padding:12px 0;font-weight:600}.branch-media-workspace{display:grid;gap:22px}.branch-media-workspace .content-card{margin:0}.branch-media-steps{display:flex;flex-wrap:wrap;gap:10px 24px;padding:14px 20px;background:#eaf2ed;border-radius:12px;color:#3f6152;font-size:14px}.branch-media-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.branch-media-upload{display:flex;align-items:center;gap:20px;padding:26px;border:1px dashed #abc1b2;border-radius:18px;background:#f5f8f5}.branch-media-upload>div{flex:1;min-width:0}.branch-media-upload p{max-width:65ch;color:#5c6e64;line-height:1.6}.branch-media-upload input{max-width:100%}.branch-media-items{padding:0;margin:24px 0 0;list-style:none}.branch-media-item{display:grid;grid-template-columns:180px minmax(0,1fr) auto;gap:20px;align-items:center;padding:20px 0;border-bottom:1px solid #e5eae6}.branch-media-item>img{grid-column:1;grid-row:1/3;width:100%;height:140px;object-fit:cover;border-radius:12px;background:#eef2ef}.branch-media-item>.form-field{grid-column:2}.branch-media-item>.branch-media-kind{grid-row:2}.branch-media-order{grid-column:3;grid-row:1/3;display:flex;gap:6px}.branch-media-order .button{min-width:44px;min-height:44px;padding:10px}.branch-media-library{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:16px}.branch-media-library>div{display:grid;gap:10px}.branch-media-library img{width:100%;height:120px;object-fit:cover;border-radius:10px}.branch-media-history{list-style:none;margin:18px 0;padding:0}.branch-media-history li{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:16px 0;border-bottom:1px solid #e5eae6}.branch-media-history small{display:block;margin-top:5px;color:#667b6c}.branch-media-actions{border:0;padding:0;margin-top:18px;display:grid;gap:20px}.branch-media-empty{padding:30px;text-align:center;background:#f5f7f5;border-radius:14px}.branch-media-workspace textarea{width:100%}.branch-media-workspace button:disabled{opacity:.5;cursor:not-allowed}@media (max-width:650px){.branch-gallery-photo:only-child a{aspect-ratio:16/10}.branch-gallery-grid{gap:14px;grid-template-columns:1fr}.branch-media-upload{flex-wrap:wrap;padding:18px}.branch-media-upload>svg{display:none}.branch-media-upload>div{flex-basis:100%}.branch-media-item{grid-template-columns:100px minmax(0,1fr);gap:12px}.branch-media-item>img{grid-row:1;height:100px}.branch-media-item>.branch-media-kind{grid-column:1/-1}.branch-media-order{grid-column:1/-1;grid-row:3;justify-content:flex-end}.branch-media-toolbar .button{width:100%}.branch-media-history li{flex-wrap:wrap}.branch-media-steps{flex-direction:column}}@media (prefers-reduced-motion:reduce){.branch-gallery-photo img{transition:none}}