.gallery-page { width: min(1120px, 100%); margin: 0 auto; padding: 24px clamp(14px,4vw,44px) 60px; box-sizing: border-box; }
.gallery-page nav, .compare-controls { display:flex; flex-wrap:wrap; gap:.6rem 1.4rem; align-items:center; margin:1rem 0; }
.gallery-page .feed { display:block; }
.gallery-page li { margin:.55em 0; }
.gallery-page form { margin:1rem 0; }
.comparison { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.comparison > section { background:white; border:1px solid #d1d8d2; padding:clamp(10px,2vw,22px); overflow-wrap:anywhere; min-width:0; }
.comparison img, .comparison iframe { max-width:100%; }
.comparison figure { margin:1rem 0; }
.comparison figure img { width:100%; height:clamp(10rem,30vw,25rem); object-fit:contain; }
.comparison .rendered { white-space:pre-wrap; }
.overlay-frame { --split:50%; position:relative; width:100%; height:clamp(14rem,55vw,35rem); background:#edf0ed; cursor:ew-resize; touch-action:pan-y; user-select:none; overflow:hidden; }
.overlay-frame img { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; background:#edf0ed; pointer-events:none; }
.overlay-left { clip-path:inset(0 calc(100% - var(--split)) 0 0); }
.overlay-frame::after { content:""; position:absolute; inset:0 auto 0 var(--split); border-left:2px solid #367d4b; }
.overlay-comparison label { display:flex; gap:1rem; align-items:center; padding:.6rem 0; }
.overlay-comparison input { flex:1; }
#roomSettings li, #roomMatches > div { margin:.5rem 0; }
#roomSettings button { margin-inline-start:.4rem; }

.hub-grid,.hub-photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(150px,100%),1fr));gap:1rem;margin:1rem 0 2rem}
.hub-tile{display:flex;flex-direction:column;gap:.5rem;align-items:flex-start}
.hub-grid img{width:100%;max-width:300px;aspect-ratio:3/4;object-fit:contain;background:#f3f4ed}
.hub-photos{grid-template-columns:repeat(auto-fill,minmax(min(260px,100%),1fr))}
.hub-photos article img{max-width:100%;height:auto}

.admin-post-status { display:inline-block; align-self:flex-start; flex:none; width:fit-content; padding:.15em .65em; margin:0 .45em .2em 0; border:1px solid; border-radius:.35em; font-size:.8rem; font-weight:700; line-height:1.4; }
.admin-post-status.status-draft { background:#fff2cf; color:#704600; border-color:#b88d31; }
.admin-post-status.status-public { background:#eaf4e9; color:#24532b; border-color:#79a47c; }
.admin-post-status.status-private { background:#f2f2f2; color:#454545; border-color:#9b9b9b; }
