.gallery-shell { width: min(1120px,calc(100% - 160px)); margin-inline: auto; }
.gallery-hero { padding: 165px 0 64px; background: #f2f6ec; }
.gallery-hero-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 65px; align-items: center; }
.gallery-breadcrumb { font-size: 11px; color: #78836e; margin-bottom: 37px; }
.gallery-breadcrumb a { color: #3b6231; }
.gallery-breadcrumb > span { margin-left: 7px; }
.gallery-eyebrow { color: #43813a; font-size: 10px; letter-spacing: 1.7px; font-weight: 700; margin: 0 0 18px; }
.gallery-hero h1 { font-size: clamp(40px,4.1vw,59px); line-height: 1.12; letter-spacing: -2px; margin: 0 0 24px; }
.gallery-hero h1 span { background: linear-gradient(transparent 70%,#d9e9c1 70%,#d9e9c1 96%,transparent 96%); }
.gallery-hero-copy > p:not(.gallery-eyebrow) { font-size: 14px; line-height: 1.9; max-width: 360px; margin-bottom: 25px; }
.gallery-explore { display: inline-flex; align-items: center; gap: 35px; padding: 11px 0; font-size: 12px; font-weight: 700; color: #215a32; border-bottom: 1px solid #b6c9a6; }
.gallery-feature { margin: 0; position: relative; border-radius: 65px 12px 12px 12px; overflow: hidden; }
.gallery-feature > img { width: 100%; aspect-ratio: 1.3; object-fit: cover; object-position: center 30%; display: block; }
.gallery-feature figcaption { display: flex; justify-content: space-between; gap: 15px; padding: 16px 20px; background: #214b31; color: #fff; font-size: 11px; }
.gallery-feature figcaption span:last-child { color: #d0dec3; }
.gallery-collection { padding: 75px 0; scroll-margin-top: 115px; }
.gallery-collection-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 32px; }
.gallery-collection-heading h2 { font-size: clamp(28px,2.7vw,37px); line-height: 1.25; max-width: 620px; margin: 0; letter-spacing: -1px; }
.gallery-collection-heading > p { font-size: 12px; max-width: 190px; margin: 0 0 3px; }
.gallery-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0 27px; border-top: 1px solid #e4eadd; }
.gallery-filters { display: flex; flex-wrap: wrap; gap: 9px; }
.gallery-filters button { font: inherit; font-size: 11px; padding: 10px 17px; border: 1px solid #e1e7da; background: #fff; color: #61705a; border-radius: 100px; cursor: pointer; transition: background .2s,color .2s; }
.gallery-filters button:hover { border-color: #96b883; color: #215a32; }
.gallery-filters button[aria-pressed="true"] { color: #fff; background: #215a32; border-color: #215a32; }
#gallery-count { font-size: 11px; margin: 0; white-space: nowrap; color: #6c7964; }
.gallery-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 33px 25px; }
.gallery-card { margin: 0; min-width: 0; }
.gallery-photo-button { display: block; position: relative; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: #f1f5ec; cursor: zoom-in; }
.gallery-photo-button img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .4s; }
.gallery-photo-button:hover img { transform: scale(1.035); }
.gallery-zoom { position: absolute; bottom: 15px; right: 15px; width: 34px; height: 34px; display: grid; place-items: center; background: #fffffff0; color: #215a32; border-radius: 50%; font-size: 20px; }
.gallery-card figcaption { padding: 16px 2px 0; }
.gallery-card h3 { font-size: 17px; margin: 0 0 6px; line-height: 1.4; }
.gallery-card p { font-size: 11px; margin: 0; color: #6b7962; }
.gallery-empty { padding: 50px; text-align: center; background: #f5f8ef; border-radius: 14px; }
.gallery-empty h3 { font-size: 23px; }
.gallery-empty button { padding: 10px 20px; border-radius: 100px; background: #215a32; color: #fff; border: 0; cursor: pointer; }
.gallery-outro { background: #f8faf5; padding: 50px 0; border-top: 1px solid #e5ebdf; }
.gallery-outro .gallery-shell { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.gallery-outro h2 { font-size: 27px; margin: 0; letter-spacing: -.6px; }
.gallery-about { display: inline-flex; align-items: center; gap: 25px; padding: 14px 23px; color: #215a32; border: 1px solid #bdcdb0; border-radius: 100px; font-size: 12px; white-space: nowrap; }
.gallery-viewer { width: min(920px,calc(100% - 40px)); max-height: calc(100dvh - 40px); padding: 0; border: 0; border-radius: 16px; background: #fff; color: #173f2a; overflow: auto; }
.gallery-viewer::backdrop { background: #102318db; backdrop-filter: blur(5px); }
.gallery-viewer-inner { padding: 20px 24px; }
.gallery-viewer-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; font-size: 12px; }
.gallery-viewer button { border: 1px solid #dce4d5; background: #fff; border-radius: 8px; cursor: pointer; font: inherit; font-size: 12px; padding: 9px 14px; color: #215a32; }
.gallery-viewer button:hover { background: #edf4e6; }
.gallery-viewer button:disabled { opacity: .4; cursor: default; }
#gallery-close { display: flex; align-items: center; gap: 16px; }
#gallery-close span { font-size: 22px; line-height: 1; }
#gallery-viewer-image { display: block; width: 100%; height: min(58dvh,620px); object-fit: contain; background: #f2f5ed; border-radius: 9px; }
.gallery-viewer-bottom { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding-top: 18px; }
.gallery-viewer-bottom h2 { font-size: 20px; margin: 0 0 6px; }
.gallery-viewer-bottom p { font-size: 12px; margin: 0; }
.gallery-viewer-nav { display: flex; gap: 8px; }
.gallery-viewer-nav button { font-size: 20px; }
.umino-gallery-page button:focus-visible,.gallery-explore:focus-visible,.gallery-about:focus-visible { outline: 3px solid #43813a; outline-offset: 4px; }
@media(max-width:991px) {
  .gallery-hero-grid { gap: 35px; }
  .gallery-feature figcaption { flex-direction: column; gap: 4px; }
  .gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:767px) {
  .gallery-shell { width: calc(100% - 44px); }
  .gallery-hero { padding: 55px 0 40px; }
  .gallery-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .gallery-breadcrumb { margin-bottom: 25px; }
  .gallery-hero h1 { font-size: 43px; }
  .gallery-feature > img { aspect-ratio: 1.4; }
  .gallery-feature figcaption { flex-direction: row; }
  .gallery-collection { padding: 45px 0; }
  .gallery-collection-heading { flex-direction: column; align-items: start; gap: 15px; }
  .gallery-collection-heading > p { max-width: none; }
  .gallery-toolbar { align-items: start; flex-direction: column; gap: 15px; }
  .gallery-filters { gap: 7px; }
  .gallery-filters button { padding: 9px 12px; font-size: 10px; }
  .gallery-grid { gap: 25px 16px; }
  .gallery-card h3 { font-size: 15px; }
  .gallery-card p { font-size: 10px; }
  .gallery-outro .gallery-shell { flex-direction: column; align-items: start; gap: 25px; }
  .gallery-viewer-inner { padding: 15px; }
  .gallery-viewer-bottom h2 { font-size: 17px; }
}
@media(max-width:360px) { .gallery-grid { grid-template-columns: 1fr; } }
@media(prefers-reduced-motion:reduce) { .gallery-photo-button img,.gallery-filters button { transition: none; } .gallery-photo-button:hover img { transform: none; } }
