/* Shared gallery for Classic Green and Modern Living, without layout dependencies. */
.content-gallery{margin:1.5rem 0;max-width:100%;text-align:left}
.content-gallery .gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;list-style:none;padding:0;margin:0}
.content-gallery .gallery-grid>li{min-width:0;margin:0;padding:0}
.content-gallery .gallery-item{position:relative;display:block;overflow:hidden;border:1px solid #c5d3cb;border-radius:10px;background:#eef3ef;color:#fff;text-decoration:none}
.content-gallery .gallery-item img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;margin:0}
.content-gallery .gallery-zoom{position:absolute;right:8px;bottom:8px;border-radius:5px;background:#123c2f;color:#fff;padding:5px 9px;font:600 .75rem/1.5 Inter,Arial,sans-serif}
.content-gallery .gallery-item:hover .gallery-zoom{background:#0d2921}
.content-gallery>figcaption{margin:.75rem 0 0;color:#485c50;font-size:.9rem;overflow-wrap:anywhere}
.gallery-item:focus-visible,.gallery-lightbox button:focus-visible{outline:3px solid #c47013;outline-offset:4px}
.gallery-modal-open{overflow:hidden}
.gallery-lightbox{box-sizing:border-box;width:min(1100px,calc(100% - 24px));max-width:calc(100% - 24px);max-height:calc(100dvh - 24px);padding:18px;border:1px solid #67776c;border-radius:14px;background:#101e18;color:white;overflow:auto;box-shadow:0 18px 70px #0008}
.gallery-lightbox::backdrop{background:#08130eeb}
.gallery-lightbox-top,.gallery-lightbox-controls{display:flex;align-items:center;justify-content:space-between;gap:12px}
.gallery-lightbox-top>span{font-weight:600}.gallery-lightbox button{flex-shrink:0;min-height:44px;padding:9px 14px;border:1px solid #82968a;border-radius:7px;background:#20392c;color:#fff;cursor:pointer;font:inherit;line-height:1.4}
.gallery-lightbox button:hover{background:#365943}
.gallery-lightbox-frame{margin:14px 0;min-width:0}.gallery-lightbox-frame img{display:block;width:100%;max-height:calc(100dvh - 230px);min-height:80px;object-fit:contain;background:#0d1612}
.gallery-lightbox-frame figcaption{margin:12px 0 0;text-align:center;font-size:.95rem;line-height:1.5;max-height:20dvh;overflow:auto;overflow-wrap:anywhere;color:#fff}
.gallery-lightbox-controls{justify-content:center;flex-wrap:wrap}.gallery-lightbox-controls>span{text-align:center;min-width:100px;font-size:.9rem}
.gallery-lightbox-error{color:#fff;font-size:.9rem}.gallery-lightbox [hidden]{display:none!important}
@media(max-width:650px){.content-gallery .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.gallery-lightbox{padding:12px}.gallery-lightbox-controls{gap:8px}.gallery-lightbox-controls button{padding:8px;font-size:.875rem}}
@media(max-width:360px){.content-gallery .gallery-grid{grid-template-columns:minmax(0,1fr)}}
@media(forced-colors:active){.gallery-item,.gallery-lightbox,.gallery-lightbox button{border:2px solid CanvasText}.gallery-lightbox::backdrop{background:Canvas}}
@media print{.gallery-lightbox{display:none!important}.gallery-zoom{display:none}}
