/* Farm and cultural spaces: consistent photography and quiet manual controls. */
.spaces .space-copy-line{display:block}
.spaces .space-copy-line+.space-copy-line{margin-top:.45em}
.spaces .space-visit-copy .space-copy-line:nth-child(2){margin-top:0}
.spaces .space-visit-copy .space-copy-line:nth-child(3){margin-top:1em}
.spaces .farm-gallery{--farm-frame-ratio:2.05}
.spaces .farm-gallery .gallery-heading{display:block}
.spaces .farm-gallery-stage{position:relative}
.spaces .farm-gallery .gallery-track{gap:0;padding-bottom:0}
.spaces .farm-gallery .gallery-slide{flex:0 0 100%}
.spaces .farm-gallery .gallery-slide img{height:auto;aspect-ratio:var(--farm-frame-ratio);object-fit:contain;background:#e7e7dd}
.spaces .farm-gallery .gallery-slide figcaption{padding-top:16px;padding-right:8px;line-height:1.6}
.spaces .farm-gallery .gallery-controls{position:absolute;inset:0 0 auto;z-index:2;display:flex;align-items:center;justify-content:space-between;aspect-ratio:var(--farm-frame-ratio);margin:0;padding:18px;pointer-events:none}
.spaces .farm-gallery .gallery-controls button{display:grid;place-items:center;width:48px;height:48px;flex:none;border-radius:50%;border:1px solid #fff9;background:#f6f5eadb;color:#17382b;box-shadow:0 2px 12px #172b2220;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);pointer-events:auto;transition:background .18s ease,opacity .18s ease}
.spaces .farm-gallery .gallery-controls button:hover:not(:disabled){background:#fffffff2}
.spaces .farm-gallery .gallery-controls button:disabled{opacity:.35;cursor:default}
.spaces .farm-gallery .gallery-status{position:absolute;right:18px;bottom:16px;padding:5px 11px;min-width:54px;border-radius:20px;background:#16392bd9;color:#fff;font-size:13px;line-height:1.5;letter-spacing:.04em}
.spaces .room-panel{min-height:0;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);align-items:center;background:transparent;color:var(--ink);border-bottom:1px solid var(--line);padding-bottom:30px;gap:0}
.spaces .room-panel[hidden]{display:none!important}
.spaces .room-panel .room-picture{width:100%;height:auto!important;min-height:0;aspect-ratio:16/9;margin:0;background:#e7e7dd!important}
.spaces .room-panel .room-picture img{display:block;width:100%;height:100%!important;object-fit:cover!important;object-position:center!important}
.spaces #room-cafe .room-picture img{object-position:50% 60%!important}
.spaces #room-workshop .room-picture img{object-position:50% 87%!important}
.spaces .room-panel .room-caption{padding:30px 0 30px 42px!important;background:transparent}
.spaces .room-panel .room-index{margin-bottom:15px;color:#64735c;font-size:13px;letter-spacing:.03em}
.spaces .room-panel .room-caption h3{font-size:clamp(24px,2.2vw,29px);line-height:1.45;margin-bottom:16px;color:var(--ink)}
.spaces .room-panel .room-caption p:last-child{font-size:16px;line-height:1.85;color:#465d4e}
.spaces .room-tabs button{white-space:nowrap}
@media(max-width:1000px) and (min-width:701px){
  .spaces .room-panel{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}
  .spaces .room-panel .room-caption{padding-left:28px!important}
  .spaces .room-panel .room-caption h3{font-size:23px}
  .spaces .room-panel .room-caption p:last-child{font-size:15px}
}
@media(max-width:700px){
  .spaces .farm-gallery{--farm-frame-ratio:1.55}
  .spaces .farm-gallery .gallery-controls{padding:10px}
  .spaces .farm-gallery .gallery-controls button{width:44px;height:44px}
  .spaces .farm-gallery .gallery-status{right:12px;bottom:12px;min-width:48px;font-size:12px;padding:4px 9px}
  .spaces .room-panel{display:block;padding-bottom:0}
  .spaces .room-panel .room-caption{padding:24px 0 26px!important}
  .spaces .room-panel .room-caption h3{font-size:23px;margin-bottom:12px}
  .spaces .room-panel .room-caption p:last-child{font-size:15px}
  .spaces .room-panel .room-index{margin-bottom:11px}
  .spaces .room-tabs button{font-size:13px!important;padding-inline:6px!important}
  .spaces .space-copy-line+.space-copy-line{margin-top:.6em}
}
@media(prefers-reduced-motion:reduce){
  .spaces .farm-gallery .gallery-controls button{transition:none}
}
