/* Scoped photo gallery: all brand colours and type inherit from Small Days. */
.nh-gallery{margin:54px 0 12px;color:var(--navy,#11283b)}
.nh-gallery-heading{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin-bottom:24px}
.nh-gallery-heading h3{font-family:var(--display,inherit);font-size:clamp(30px,3.1vw,44px);line-height:1.1;letter-spacing:-.035em}
.nh-gallery-source,.nh-gallery-original{font:14px/1.5 var(--body,inherit);text-decoration:underline;text-underline-offset:4px}
.nh-gallery-source{flex:none}
.nh-gallery-grid{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.nh-gallery-item{min-width:0;margin:0;padding:0}
.nh-gallery-photo{display:block;width:100%;padding:0;background:var(--cream,#f8f1df);border:1px solid #11283b22;border-radius:12px 12px 5px 5px;text-align:left;overflow:hidden;box-shadow:0 3px 0 #11283b12;transition:transform .22s var(--ease,ease),box-shadow .22s}
.nh-gallery-photo:hover{transform:translateY(-3px);box-shadow:0 6px 0 #11283b18}
.nh-gallery-photo:active{transform:translateY(0)}
.nh-gallery-frame{position:relative;display:block;width:100%;aspect-ratio:16/10;overflow:hidden;background:#d9dfd3}
.nh-gallery-frame>img{width:100%;height:100%;display:block;object-fit:cover;object-position:center}
.nh-gallery-portrait{background:#d9dfd3}
.nh-gallery-portrait>img{object-fit:contain}
.nh-gallery-magnify{position:absolute;right:14px;bottom:14px;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--cream,#f8f1df);color:var(--navy,#11283b);box-shadow:0 1px 8px #0002;transition:transform .22s}
.nh-gallery-magnify svg{width:23px;height:23px;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.nh-gallery-photo:hover .nh-gallery-magnify{transform:rotate(-7deg)}
.nh-gallery-caption{display:block;padding:21px 23px 25px;min-height:132px}
.nh-gallery-caption>strong{display:block;font-family:var(--display,inherit);font-size:23px;line-height:1.2;letter-spacing:-.025em}
.nh-gallery-caption>span{display:block;margin-top:10px;font:16px/1.55 var(--body,inherit);max-width:44ch}
.nh-gallery-sr{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
html.nh-gallery-open{scrollbar-gutter:stable}
html.nh-gallery-open body{overflow:hidden}
dialog.nh-gallery-dialog{width:min(1160px,94vw);height:auto;max-width:1160px;max-height:94dvh;padding:0;margin:auto;border:1px solid #11283b44;border-radius:16px;background:var(--cream,#f8f1df);color:var(--navy,#11283b);box-shadow:0 24px 110px #08121ea6;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--green,#74824e) var(--cream,#f8f1df)}
.nh-gallery-dialog::backdrop{background:#071b29cf}
.nh-gallery-dialog[open]{display:block}
.nh-gallery-dialog-inner{position:relative;padding:18px 18px 22px}
.nh-gallery-close{position:absolute;z-index:4;top:29px;right:29px;display:grid;place-items:center;width:44px;height:44px;padding:10px;border-radius:50%;background:var(--cream,#f8f1df);color:var(--navy,#11283b);box-shadow:0 1px 10px #0003}
.nh-gallery-close svg,.nh-gallery-navigation svg{width:24px;height:24px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.nh-gallery-large-frame{position:relative;display:grid;place-items:center;width:100%;height:min(65dvh,720px);min-height:240px;border-radius:8px;overflow:hidden;background:#1d3037}
.nh-gallery-large-frame>.nh-gallery-large{display:block;width:100%;height:100%;min-height:0;object-fit:contain;object-position:center}
.nh-gallery-loading,.nh-gallery-failure{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:36px;text-align:center;color:var(--cream,#f8f1df);font:16px/1.6 var(--body,inherit)}
.nh-gallery-retry{padding:10px 21px;border:1px solid var(--cream,#f8f1df);border-radius:24px;background:transparent;color:var(--cream,#f8f1df)}
.nh-gallery-dialog-caption{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:23px 8px 15px}
.nh-gallery-dialog-caption h2{font-family:var(--display,inherit);font-size:clamp(25px,2.8vw,35px);line-height:1.1;letter-spacing:-.035em;-webkit-text-stroke:0}
.nh-gallery-dialog-caption p{font:16px/1.55 var(--body,inherit);margin:10px 0 0;max-width:66ch}
.nh-gallery-navigation{display:flex;align-items:center;gap:14px;flex:none}
.nh-gallery-navigation>button{display:grid;place-items:center;width:46px;height:46px;padding:10px;border:1px solid #11283b44;border-radius:50%;background:transparent;color:var(--navy,#11283b)}
.nh-gallery-navigation>button:hover,.nh-gallery-close:hover{background:var(--navy,#11283b);color:var(--cream,#f8f1df)}
.nh-gallery-count{min-width:41px;text-align:center;font:16px/1 var(--body,inherit);font-variant-numeric:tabular-nums}
.nh-gallery-original{display:inline-block;margin:0 8px}
.nh-gallery button:focus-visible,.nh-gallery a:focus-visible,.nh-gallery-dialog button:focus-visible,.nh-gallery-dialog a:focus-visible{outline:3px solid #a74724;outline-offset:4px}
.nh-gallery-dialog button:disabled{cursor:not-allowed}
.nh-gallery-dialog [hidden]{display:none!important}
@media(min-width:1600px){.nh-gallery-grid{gap:36px}.nh-gallery-caption{padding:25px 28px 29px;min-height:142px}}
@media(max-width:700px){.nh-gallery{margin-top:36px}.nh-gallery-heading{display:block;margin-bottom:20px}.nh-gallery-heading h3{font-size:33px}.nh-gallery-source{display:inline-block;margin-top:12px}.nh-gallery-grid{grid-template-columns:1fr;gap:22px}.nh-gallery-caption{padding:19px 20px 23px;min-height:0}.nh-gallery-caption>strong{font-size:23px}.nh-gallery-dialog-inner{padding:10px 10px 18px}.nh-gallery-large-frame{height:56dvh;min-height:200px}.nh-gallery-close{top:20px;right:20px}.nh-gallery-dialog-caption{display:block;padding:19px 7px 14px}.nh-gallery-navigation{margin-top:20px;justify-content:center}.nh-gallery-dialog-caption h2{font-size:29px}.nh-gallery-original{font-size:14px}}
@media(prefers-reduced-motion:reduce){.nh-gallery-photo,.nh-gallery-magnify{transition:none}.nh-gallery-photo:hover{transform:none}.nh-gallery-photo:hover .nh-gallery-magnify{transform:none}}
