/* Shep Nicholls Photography: consistent typography and row-ordered galleries. */
body{font-family:var(--wp--preset--font-family--body,Inter,sans-serif);line-height:1.65}
main h1,main h2,main h3,main h4{font-family:var(--wp--preset--font-family--heading,Cardo,Georgia,serif)!important;font-weight:400!important;line-height:1.2!important}
main h1,.wp-block-post-title{font-size:clamp(2.25rem,5vw,3.5rem)!important}
main h2{font-size:clamp(1.75rem,3vw,2.5rem)!important}
main h3{font-size:clamp(1.375rem,2vw,1.75rem)!important}
main p,main li{font-family:var(--wp--preset--font-family--body,Inter,sans-serif)!important;font-size:clamp(1rem,1.2vw,1.125rem)!important;line-height:1.65!important}
.wp-block-button__link,button,input,textarea,select,.wp-block-navigation{font-family:var(--wp--preset--font-family--body,Inter,sans-serif)!important}
.wp-block-button__link{font-size:1rem!important;line-height:1.4!important}
.wp-block-site-title{font-family:var(--wp--preset--font-family--body,Inter,sans-serif)!important;font-size:1.125rem!important;font-weight:600!important}
/* The contact section previously occupied an entire screen. */
.page-id-94 main .wp-block-group[style*="min-height:100vh"]{min-height:0!important;padding-top:clamp(2rem,5vw,4rem)!important;padding-bottom:clamp(2rem,5vw,4rem)!important}
/* Row-first thumbnails; the lightbox retains the full photograph. */
main .wp-block-gallery.has-nested-images{display:grid!important;columns:auto!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px!important;line-height:0}
main .wp-block-gallery.has-nested-images>figure.wp-block-image{display:block!important;aspect-ratio:4/3;overflow:hidden;width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
main .wp-block-gallery.has-nested-images>figure.wp-block-image img{display:block!important;width:100%!important;height:100%!important;object-fit:cover;max-width:100%!important;margin:0!important;vertical-align:top}
main .wp-block-gallery.has-nested-images>figure.wp-block-image .wp-lightbox-container{display:block;width:100%;height:100%}
.page-id-1207 main .wp-block-columns .wp-block-image img{width:100%;aspect-ratio:3/2;object-fit:cover}
.page-id-1207 main .wp-block-columns h2{font-size:clamp(1.5rem,2.5vw,2rem)!important}
@media(max-width:781px){main .wp-block-gallery.has-nested-images{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){main .wp-block-gallery.has-nested-images{grid-template-columns:1fr}}
