.rb-gallery{margin:2rem 0;color:inherit}.rb-gallery h2{margin:0 0 1rem}.rb-gallery-grid{display:grid;grid-template-columns:repeat(var(--rb-gallery-columns,4),minmax(0,1fr));gap:12px}.rb-gallery-item{display:block;aspect-ratio:4/3;overflow:hidden;border-radius:8px;background:#eef1ed}.rb-gallery-item img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .2s}.rb-gallery-item:hover img{transform:scale(1.04)}.rb-gallery-item:focus-visible,.rb-gallery button:focus-visible,.rb-gallery-dialog button:focus-visible{outline:3px solid #d2a64e;outline-offset:3px}.rb-gallery-more{margin:18px 0 0;background:#173d35;color:#fff;border:0;border-radius:6px;padding:12px 20px;font:inherit;cursor:pointer}.rb-gallery-more[hidden]{display:none}.rb-gallery-count{display:block;margin-top:8px;font-size:.85em;color:inherit}.rb-gallery-dialog{position:fixed;inset:0;margin:auto;width:min(94vw,1100px);max-width:94vw;max-height:94vh;padding:12px;border:0;border-radius:10px;background:#15211e;color:white;z-index:999999;box-sizing:border-box}.rb-gallery-dialog::backdrop{background:rgba(0,0,0,.86)}.rb-gallery-dialog img{display:block;max-width:100%;max-height:72vh;width:auto;height:auto;margin:auto;object-fit:contain}.rb-gallery-dialog .rb-gallery-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:8px 0}.rb-gallery-dialog button{background:#304b43;color:#fff;border:0;border-radius:5px;padding:10px 14px;cursor:pointer;font:inherit}.rb-gallery-dialog p{text-align:center;margin:8px 0;color:#fff}.rb-gallery-dialog button:disabled{opacity:.4;cursor:default}@media(max-width:980px){.rb-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:600px){.rb-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}}@media(prefers-reduced-motion:reduce){.rb-gallery-item img{transition:none}}

/* Divi text module compatibility: avoid inherited preformatted typography and paragraph wrappers. */
body .rb-gallery{display:block;width:100%;max-width:100%;white-space:normal;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:normal;word-spacing:normal;line-height:1.5;box-sizing:border-box}
body .rb-gallery h2{font-family:inherit!important;font-weight:700;letter-spacing:normal;line-height:1.25;color:#173d35;font-size:1.5rem;margin:0 0 1rem;padding:0}
body .rb-gallery .rb-gallery-grid{display:grid!important;grid-template-columns:repeat(var(--rb-gallery-columns,4),minmax(0,1fr))!important;gap:12px!important;width:100%;max-width:100%;align-items:start;white-space:normal}
body .rb-gallery .rb-gallery-grid>p{display:contents!important}
body .rb-gallery .rb-gallery-grid>br,body .rb-gallery .rb-gallery-grid>p>br{display:none!important}
body .rb-gallery .rb-gallery-item{display:block!important;min-width:0;width:100%;max-width:100%;margin:0!important;aspect-ratio:4/3;overflow:hidden}
body .rb-gallery .rb-gallery-item img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;object-fit:cover;margin:0!important}
@media(max-width:980px){body .rb-gallery .rb-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:600px){body .rb-gallery .rb-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}}
