.gfa-object-gallery {
    --photo-border: #d9d0bf;
    --photo-ink: #28271f;
    min-width: 0;
    padding: clamp(14px, 2vw, 26px);
    border: 1px solid var(--photo-border);
    border-radius: 7px;
    background: #fffefa;
    color: var(--photo-ink);
    container-type: inline-size;
}
.gfa-object-gallery *, .gfa-object-gallery *::before { box-sizing: border-box; }
.gfa-object-gallery .gfa-photo-heading {display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 16px;padding:0 0 12px;border:0;border-bottom:1px solid var(--photo-border);background:transparent;}
.gfa-object-gallery .gfa-photo-heading h3 {font:normal clamp(20px,2.3vw,27px)/1.2 Georgia,serif;margin:0;color:#25291e;letter-spacing:0;text-transform:none;}
.gfa-photo-heading [data-photo-count] {color:#625a47;font-size:13px;white-space:nowrap;}
.gfa-photo-layout {display:grid;grid-template-columns:minmax(0,1.16fr) minmax(0,1fr);gap:clamp(14px,2vw,26px);align-items:start;}
.gfa-photo-layout > *, .gfa-photo-fields > * {min-width:0;}
.gfa-photo-figure {margin:0;border:1px solid var(--photo-border);border-radius:5px;overflow:hidden;background:white;}
.gfa-photo-stage {display:grid;place-items:center;aspect-ratio:4/3;background:radial-gradient(ellipse at 50% 40%,#fffefa,#ece7db);overflow:hidden;}
.gfa-object-gallery .gfa-photo-stage img {width:100%;height:100%;object-fit:contain;min-height:0;display:block;}
.gfa-photo-stage .dashicons {color:#987b42;font-size:40px;width:40px;height:40px;}
.gfa-photo-figure figcaption {margin:0;padding:9px 12px;border-top:1px solid var(--photo-border);font-size:13px;font-weight:600;line-height:1.35;color:var(--photo-ink);overflow-wrap:anywhere;}
.gfa-photo-strip {display:flex;flex-wrap:wrap;gap:7px;margin-top:10px;}
.gfa-photo-strip:empty {display:none;}
.gfa-object-gallery .gfa-photo-strip button {display:block;flex:0 0 54px;width:54px;height:54px;min-width:0;min-height:0;border:1px solid var(--photo-border);padding:3px;margin:0;border-radius:4px;background:white;box-shadow:none;}
.gfa-object-gallery .gfa-photo-strip button[aria-pressed=true] {border:2px solid #8b692a;padding:2px;}
.gfa-object-gallery .gfa-photo-strip img {width:100%;height:100%;object-fit:contain;display:block;}
.gfa-photo-fields {display:grid;gap:12px;align-content:start;}
.gfa-object-gallery .gfa-photo-fields label {display:grid;gap:4px;align-content:start;margin:0;line-height:1.4;color:var(--photo-ink);font-size:14px;}
.gfa-photo-fields small {font-size:13px;color:#5c584f;}
.gfa-object-gallery .gfa-photo-field {padding:10px 12px;border:1px solid #e1dace;border-radius:4px;background:white;}
.gfa-object-gallery .gfa-photo-field:focus-within {outline:2px solid #8a6929;outline-offset:2px;}
.gfa-object-gallery .gfa-photo-field.is-dragging {background:#f8f2e3;}
.gfa-object-gallery .gfa-photo-field input[type=file] {position:static;display:block;opacity:1;max-width:100%;min-width:0;width:100%;height:auto;min-height:32px;margin:4px 0 0;padding:0;border:0;box-shadow:none;background:transparent;color:#453f31;font:12px/2 system-ui;}
.gfa-photo-field input::file-selector-button {padding:6px 10px;border:1px solid #aa986e;border-radius:3px;background:#faf5e8;color:#392e19;cursor:pointer;margin-right:7px;}
.gfa-photo-status {font-size:13px;color:#564c37;margin:0;}
.gfa-photo-status:empty {display:none;}
.gfa-object-gallery[data-object-gallery] .gfa-photo-strip button[data-photo-kind][aria-pressed] {display:grid!important;place-items:stretch;line-height:1!important;padding:3px!important;overflow:hidden;}
.gfa-object-gallery[data-object-gallery] .gfa-photo-strip button[data-photo-kind][aria-pressed=true] {border:2px solid #886724!important;padding:2px!important;}
.gfa-object-gallery .gfa-photo-strip button img {width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;margin:0!important;}
.gfa-object-gallery .gfa-photo-fields .gfa-photo-field {padding:12px!important;gap:5px!important;}
.gfa-object-gallery .gfa-photo-fields .gfa-photo-field input[type=file] {padding:2px 0!important;border:0!important;background:transparent!important;box-shadow:none!important;min-height:36px!important;}
.gfa-object-gallery {scroll-margin-top:100px;}
@container (max-width: 570px) { .gfa-photo-layout {grid-template-columns:minmax(0,1fr);} }
@media (max-width: 640px) { .gfa-photo-layout {grid-template-columns:minmax(0,1fr);} }


.gfa-photo-studio{margin:12px 0;padding:12px 14px;background:#fff;border:1px solid #d8cba8;border-radius:6px;color:#24241f}
.gfa-photo-studio summary{cursor:pointer;font-weight:650}.gfa-photo-studio[open] summary{margin-bottom:10px}
.gfa-photo-studio label{display:flex!important;align-items:center;gap:8px;margin:10px 0}.gfa-photo-studio input[type=checkbox]{width:auto;min-width:0}
.gfa-photo-studio canvas{width:100%;max-height:400px;object-fit:contain;background:#faf9f6}.gfa-photo-studio canvas[hidden]{display:none}
.gfa-photo-studio small{display:block;margin-top:8px}

.gfa-photo-studio label[hidden]{display:none!important}
