:root {
  --shi-bg:#ffffff;
  --shi-text:#1b1f24;
  --shi-muted:#6b7280;
  --shi-accent:#f08b1a;
  --shi-dark:#2d2f33;
  --shi-dark-2:#0f1318;
  --shi-shadow:0 18px 40px rgba(0,0,0,.14);
  --shi-max:1120px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Montserrat",system-ui,-apple-system,"Segoe UI",sans-serif;
  color:var(--shi-text);
  background:var(--shi-bg);
  line-height:1.6;
}
a{text-decoration:none;color:inherit}
img{max-width:100%;height:auto;display:block}
.shi-container{width:min(100% - 40px,var(--shi-max));margin-inline:auto}
.site-main{min-height:60vh}

/* consolidated header styles */
.site-header{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:1000;
  background:rgba(17,26,34,.72);
  backdrop-filter:blur(14px) saturate(130%);
  -webkit-backdrop-filter:blur(14px) saturate(130%);
  border-bottom:1px solid rgba(255,255,255,.10);
  box-shadow:0 10px 28px rgba(0,0,0,.18);
  transition:background .25s ease,box-shadow .25s ease,border-color .25s ease;
}

.site-header.is-scrolled{
  background:rgba(17,26,34,.72);
  box-shadow:0 10px 28px rgba(0,0,0,.18);
  border-bottom-color:rgba(255,255,255,.10);
}

.site-header__inner{
  display:grid;
  grid-template-columns:auto 1fr auto; /* 🔥 key change */
  align-items:center;
  gap:22px;
  padding:10px 0;
}

.site-header.is-scrolled .site-header__inner{padding:6px 0}

.site-header__social{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
}

.site-header__social a{
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.35);
  background:rgba(255,255,255,.12);
  color:#fff;
  transition:transform .15s ease,background .15s ease;
}

.site-header__social a:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.18);
}

.site-header__social svg{
  width:16px;
  height:16px;
  fill:currentColor;
}

.custom-logo{
  width:min(186px,25vw);
  transition:width .25s ease,filter .25s ease;
  filter:drop-shadow(0 10px 18px rgba(0,0,0,.15));
}

.site-header.is-scrolled .custom-logo{
  width:min(93px,13vw);
  filter:drop-shadow(0 8px 14px rgba(0,0,0,.12));
}

.main-nav{justify-self:end}
.main-nav ul,.footer-nav ul,.menu{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  align-items:center;
  gap:18px;
}

.main-nav a,.footer-nav a{
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:.78rem;
  color:#fff;
}

.main-nav li.current-menu-item>a,
.main-nav a:hover,
.footer-nav li.current-menu-item>a,
.footer-nav a:hover{
  color:var(--shi-accent);
}

.menu-toggle{
  display:none;
  border:1px solid rgba(255,255,255,.25);
  background:rgba(255,255,255,.1);
  color:#fff;
  padding:.7rem 1rem;
  border-radius:12px;
  justify-self:end;
}

.shi-hero{
  position:relative;
  min-height:86vh;
  color:#fff;
  background:#000;
  overflow:hidden;
}

.shi-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(0,0,0,.62) 0%,rgba(0,0,0,.35) 38%,rgba(0,0,0,.15) 68%,rgba(0,0,0,.08) 100%),
    url('../images/AdobeStock_731993364-opt.webp') center/cover no-repeat;
  transform:scale(1.03);
  filter:saturate(1.05);
}

.shi-hero__overlay{
  position:absolute;
  inset:0;
  background:radial-gradient(900px 500px at 20% 35%,rgba(0,0,0,.30),transparent 60%);
}

.shi-hero__content{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,760px) minmax(280px,360px);
  gap:34px;
  align-items:center;
  padding-top:122px;
  padding-bottom:62px;
}

.shi-page-highlights{
  max-width:760px;
  padding-right:0;
  align-self:center;
	margin-top: 80px;
}

.shi-hero-tagline,.shi-hero-sub{
  margin:0 0 10px;
  font-weight:500;
  opacity:.95;
}

.shi-hero-tagline{font-size:1.02rem}
.shi-hero-sub{
  font-size:1rem;
  opacity:.92;
  margin:0 0 18px;
}

.shi-hero-meta-header{
  margin:0 0 14px;
  font-size:clamp(1.6rem,2.35vw,2.45rem);
  font-weight:700;
  line-height:1.15;
  letter-spacing:.01em;
  color:#f3f4f6;
  text-shadow:0 12px 30px rgba(0,0,0,.35);
}

.shi-hero-description{
  margin-top:20px;
  max-width:820px;
  color:rgba(255,255,255,.92);
  font-size:clamp(1rem,1.5vw,1.1rem);
  line-height:1.55;
}

.shi-hero-description p{
  margin:0 0 8px;
  color:inherit;
}

.shi-hero-title{
  max-width:900px;
  margin:0;
  
  font-weight:600;
  letter-spacing:.01em;
  line-height:1.03;
}

.shi-hero-title span{display:block}

.shi-hero-title__line1{
  display:block;
  font-weight:700;
  color:#ffffff !important;
	font-size:clamp(1.75rem,2.5vw,3.25rem);
}

.shi-hero-title__line2{
  display:block;
  margin-top:6px;
	font-size:clamp(2.35rem,4vw,4.25rem);
  font-weight:800;
  letter-spacing:.12em;
  color:var(--shi-accent);
  text-transform:uppercase;
  text-shadow:0 18px 44px rgba(0,0,0,.35);
}

.shi-hero-buttons{
  margin-top:28px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.shi-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.55rem;
  padding:.9rem 1.2rem;
  border:1px solid rgba(255,255,255,.35);
  border-radius:999px;
  background:#fff;
  color:var(--shi-text);
  font-weight:600;
  letter-spacing:.02em;
  transition:transform .15s ease,box-shadow .15s ease;
}

.shi-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 24px rgba(0,0,0,.12);
}

.shi-btn--ghost{background:transparent;color:#fff}
.shi-btn--accent{background:var(--shi-accent);color:#121212;border-color:transparent}

.shi-glass-wrap{
  display:flex;
  justify-content:flex-end;
  align-self:center;
}

.shi-glass-card{
  width:100%;
  max-width:340px;
  border-radius:22px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.22);
  box-shadow:0 18px 40px rgba(0,0,0,.18);
  padding:18px 18px 16px;
  backdrop-filter:saturate(140%) blur(18px);
}

.shi-glass-card h3,.shi-glass-card .widget-title{
  margin:6px 0 10px;
  font-size:1.05rem;
  color:#fff;
}

.shi-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:.78rem;
  padding:7px 10px;
  border-radius:999px;
  background:rgba(0,0,0,.24);
  border:1px solid rgba(255,255,255,.18);
  margin-bottom:12px;
  max-width:100%;
  line-height:1.35;
  color:#fff;
}

.shi-checkmark{
  display:inline-block;
  color:var(--shi-accent);
  font-weight:800;
  font-size:1rem;
  line-height:1;
}

.shi-list,.shi-widget ul{margin:0;padding-left:18px;color:#fff}
.shi-widget,.shi-widget p,.shi-widget li{color:#fff}

.shi-glass-card .shi-list,
.shi-glass-card .shi-widget ul,
.shi-glass-card ul{
  list-style:none;
  margin:10px 0 0;
  padding:0;
  display:grid;
  gap:10px;
}

.shi-glass-card .shi-list li,
.shi-glass-card .shi-widget li,
.shi-glass-card ul li{
  position:relative;
  padding-left:22px;
}

.shi-glass-card .shi-list li::before,
.shi-glass-card .shi-widget li::before,
.shi-glass-card ul li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:.1em;
  color:var(--shi-accent);
  font-weight:800;
}

.shi-glass-card p{margin:0 0 10px;
display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .24);
    border: 1px solid rgba(255, 255, 255, .18);
    margin-bottom: 12px;
    max-width: 100%;
    line-height: 1.35;
}

.shi-main-content{background:#fff}
.shi-page-wrap{padding:82px 0}
.entry-content{max-width:100%}
.entry-content > *{margin-inline:auto;max-width:100%}
.entry-content h1:first-child,.entry-content h2:first-child{margin-top:0}
.entry-content img,.entry-content .wp-block-image img{
  border-radius:18px;
  box-shadow:0 14px 28px rgba(0,0,0,.08);
}
.entry-content .alignwide{max-width:1200px}
.entry-content .alignfull{max-width:none}
.entry-content p,.entry-content li{color:var(--shi-muted)}
.entry-content h1,.entry-content h2,.entry-content h3,.entry-content h4{color:var(--shi-text)}

.shi-accent-band{
  padding:84px 0;
  background:var(--shi-dark);
  color:#fff;
}

.shi-light-title{
  margin:0;
  text-align:center;
  font-size:clamp(1.35rem,2.2vw,1.8rem);
  font-weight:500;
  letter-spacing:.02em;
}

.shi-accent-text{
  max-width:720px;
  margin:16px auto 0;
  text-align:center;
  color:rgba(255,255,255,.8);
}

.shi-accent-gallery{
  margin-top:40px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}

.shi-accent-gallery figure{
  margin:0;
  aspect-ratio:4/3;
  overflow:hidden;
  border-radius:16px;
  background:#1d1d1d;
  border:1px solid rgba(255,255,255,.1);
  box-shadow:0 14px 28px rgba(0,0,0,.24);
}

.shi-accent-gallery img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.shi-accent-button-wrap{
  display:flex;
  justify-content:center;
  margin-top:26px;
}

.shi-contact-section{
  position:relative;
  padding:86px 0;
  color:#1b1f24;
  overflow:hidden;
}

.shi-contact-section::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(255,255,255,.84) 0%,rgba(255,255,255,.74) 46%,rgba(255,255,255,.62) 100%),
    url('../images/AdobeStock_731993366-opt.webp') center/cover no-repeat;
  filter:saturate(1.05);
  transform:scale(1.03);
}

.shi-contact-overlay{position:absolute;inset:0}

.shi-contact-grid{
  position:relative;
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:44px;
  align-items:start;
}

.shi-kicker{
  font-size:.72rem;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--shi-muted);
}

.shi-section-title{
  margin:0;
  font-size:clamp(1.7rem,2.6vw,2.2rem);
  letter-spacing:.01em;
}

.shi-rule{
  width:56px;
  height:2px;
  background:var(--shi-accent);
  border-radius:999px;
  margin:14px 0 0;
}

.shi-form{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:12px;
  margin-top:18px;
}

.shi-form p{margin:0}

.shi-form label{
  display:block;
  font-size:.78rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:rgba(27,31,36,.75);
  font-weight:600;
  margin-bottom:8px;
}

.shi-form input,.shi-form textarea{
  width:100%;
  padding:12px;
  border-radius:10px;
  border:1px solid rgba(0,0,0,.18);
  background:rgba(255,255,255,.78);
  font:inherit;
}

.shi-form textarea{
  min-height:120px;
  resize:vertical;
}

.shi-span-3{grid-column:1/-1}
.shi-honeypot{position:absolute;left:-9999px;opacity:0;pointer-events:none}
.shi-form button{border:none;cursor:pointer}

.shi-form-message{
  margin:18px 0 0;
  padding:14px 16px;
  border-radius:12px;
  font-weight:600;
}

.shi-form-message.is-success{background:#ebf7ee;color:#166534}
.shi-form-message.is-error{background:#fdecec;color:#b42318}

.shi-contact-card{
  background:rgba(255,255,255,.62);
  border:1px solid rgba(0,0,0,.10);
  border-radius:18px;
  padding:18px 18px 16px;
  box-shadow:0 20px 44px rgba(0,0,0,.14);
  backdrop-filter:saturate(140%) blur(10px);
}

.shi-contact-card h3{
  margin:0 0 10px;
  font-size:.95rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:rgb(240, 139, 26);
}

.shi-contact-meta{
  display:grid;
  gap:10px;
  color:rgba(27,31,36,.82);
  font-weight:500;
  font-size:.95rem;
}

.shi-contact-meta small{
  display:block;
  color:rgba(27,31,36,.65);
  font-weight:600;
  letter-spacing:.08em;
}

.shi-contact-note{
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid rgba(0,0,0,.10);
  color:rgba(27,31,36,.75);
  font-size:.92rem;
}

.site-footer{
  background:var(--shi-dark-2);
  color:rgba(255,255,255,.72);
  padding:28px 0;
  font-size:.86rem;
}

.site-footer__inner{
  display:grid;
  gap:18px;
  justify-items:center;
  text-align:center;
}

.site-footer__social{
  display:flex;
  gap:10px;
}

.site-footer__social a{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.35);
  background:rgba(255,255,255,.12);
  color:#fff;
}

.site-footer__meta{
  display:flex;
  gap:16px;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
}

.site-footer__meta a{color:#fff}

/* v4 block pattern styles */
.shi-short-rule{
  width:56px;
  min-width:56px;
  margin:14px 0 18px;
  border:none;
  height:2px;
  opacity:1;
}

.shi-about-split{align-items:start}
.shi-about-card-grid{align-items:stretch}

.shi-card-box{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:22px;
  padding:22px;
  box-shadow:0 18px 38px rgba(0,0,0,.08);
  height:100%;
	min-height:4vw;
	margin-bottom: 25px;
}

.entry-content .shi-card-box h3{
  margin-top:0;
  margin-bottom:10px;
  font-size:1.02rem;
  color:var(--shi-text);
}

.entry-content .shi-card-box p{
  margin:0;
  color:var(--shi-muted);
}

.shi-feature-list{
  margin:24px 0 0;
  padding:0;
  list-style:none;
  display:grid;
  gap:14px;
}

.shi-feature-list li{
  position:relative;
  padding-left:36px;
  color:#3f4650;
}

.shi-feature-list li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  color:var(--shi-accent);
  font-weight:700;
}

/* v5 reusable content style patterns */
.shi-subcontent-style-1{align-items:start;gap:40px}

.shi-subcontent-style-2,
.wp-block-group.shi-subcontent-style-2{
  background:linear-gradient(180deg,#fff 0%,#faf7f2 100%);
  border:1px solid rgba(0,0,0,.06);
  border-radius:28px;
  padding:34px;
  box-shadow:0 18px 38px rgba(0,0,0,.06);
  clear:both;
  display:flow-root;
  width:100%;
  margin-top:32px !important;
}

.shi-process-card-grid,
.shi-contact-main-card-stack{
  gap:16px;
}

.shi-subcontent-style-2-columns,
.shi-process-card-grid{
  align-items:stretch;
}

.shi-process-card-grid > .wp-block-column,
.shi-about-card-grid > .wp-block-column{
  display:flex;
  flex-direction:column;
}

.shi-process-card,
.shi-contact-main-card{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:22px;
  padding:22px;
  box-shadow:0 18px 38px rgba(0,0,0,.06);
  height:100%;
	min-height:3vw;
	margin-bottom: 25px;
}

.shi-card-box,
.shi-process-card{height:100%}

.entry-content .shi-process-card h3,
.entry-content .shi-contact-main-card h3{
  margin:0 0 10px;
  font-size:1.02rem;
  color:var(--shi-accent);
}

.entry-content .shi-process-card p,
.entry-content .shi-contact-main-card p{
  margin:0;
  color:var(--shi-muted);
}

.shi-gallery-substyle{
  background:linear-gradient(180deg,#fff 0%,#faf7f2 100%);
  border:1px solid rgba(0,0,0,.06);
  border-radius:28px;
  padding:34px;
  box-shadow:0 18px 38px rgba(0,0,0,.06);
}

.shi-gallery-substyle .wp-block-gallery.has-nested-images{gap:16px}

.shi-gallery-substyle .wp-block-image{
  border-radius:20px;
  overflow:hidden;
}

.shi-gallery-substyle .wp-block-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:20px;
  box-shadow:none;
}

.shi-gallery-substyle .wp-block-image:first-child{grid-row:span 2}
.shi-gallery-substyle .wp-block-image:nth-child(2){grid-row:span 1}
.shi-gallery-substyle .wp-block-image:nth-child(3){grid-row:span 1}
.shi-gallery-substyle .wp-block-image:nth-child(n+4){grid-column:span 1}

.shi-gallery-substyle .wp-block-gallery{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  align-items:start;
}

.shi-contact-main{align-items:start;gap:40px}
.shi-contact-main-card-stack .wp-block-group{margin-bottom:20px}
.shi-contact-main-card-stack .wp-block-group:last-child{margin-bottom:0}

@media (max-width:980px){
  .site-header__inner{
    grid-template-columns:auto 1fr auto;
    grid-template-areas:"brand social toggle" "nav nav nav";
    gap:16px;
  }

  .site-branding{grid-area:brand}
  .site-header__social{grid-area:social;justify-self:center}
  .menu-toggle{grid-area:toggle}
  .main-nav{grid-area:nav;justify-self:stretch}

  .shi-hero__content,
  .shi-contact-grid{
    grid-template-columns:1fr;
    gap:24px;
  }

  .shi-hero__content{padding-top:104px}
  .shi-glass-wrap{justify-content:flex-start}
  .shi-form,
  .shi-accent-gallery{grid-template-columns:1fr 1fr}
  .custom-logo{width:min(148px,32vw)}
  .site-header.is-scrolled .custom-logo{width:min(74px,16vw)}
}

@media (max-width:900px){
  .shi-subcontent-style-1,
  .shi-contact-main{display:block}
  .shi-subcontent-style-2{padding:24px}
  .shi-gallery-substyle{padding:24px}
  .shi-gallery-substyle .wp-block-gallery{grid-template-columns:1fr 1fr}
}

@media (max-width:781px){
  .shi-about-split{display:block}
  .shi-about-card-grid{display:block}
  .shi-card-box{margin-bottom:16px}
  .shi-gallery-substyle .wp-block-gallery{grid-template-columns:1fr}
  .shi-process-card,
  .shi-contact-main-card{margin-bottom:16px}
}

@media (max-width:720px){
  .site-header__inner{
    grid-template-columns:auto auto;
    grid-template-areas:"brand toggle" "social social" "nav nav";
  }

  .site-header__social{justify-self:start}
  .menu-toggle{display:inline-flex}

  .main-nav{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:rgba(17,26,34,.97);
    padding:16px 20px 20px;
  }

  .main-nav.is-open{display:block}

  .main-nav ul,
  .menu,
  .footer-nav ul{
    flex-direction:column;
    align-items:flex-start;
  }

  .shi-hero{min-height:74vh}
  .shi-hero__content{
    padding-top:100px;
    padding-bottom:46px;
  }

  .shi-form,
  .shi-accent-gallery{grid-template-columns:1fr}

  .custom-logo{width:min(118px,34vw)}
  .site-header.is-scrolled .custom-logo{width:min(59px,17vw)}
  .shi-hero-title{font-size:clamp(2rem,10vw,3.1rem)}
  .shi-hero-meta-header{font-size:clamp(1.45rem,6vw,2rem)}
}

/* =========================================================
   Gallery page – make Gutenberg gallery look like mockup
   ========================================================= */

/* Optional: constrain this only to the Gallery page.
   Replace .page-id-XXX with your real Gallery page ID if desired. */
/* .page-id-XXX .entry-content .wp-block-gallery { ... } */

.entry-content .wp-block-gallery.has-nested-images,
.entry-content .wp-block-gallery:not(.has-nested-images) {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Reset Gutenberg's built-in flex/item widths */
.entry-content .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image),
.entry-content .wp-block-gallery:not(.has-nested-images) .blocks-gallery-item,
.entry-content .wp-block-gallery:not(.has-nested-images) .blocks-gallery-image {
  width: 100% !important;
  margin: 0 !important;
  max-width: none !important;
  min-width: 0 !important;
  display: block !important;
  position: relative !important;
  overflow: hidden !important;
  border-radius: 18px !important;
  background: #f2f2f2 !important;
  border: 1px solid rgba(0,0,0,.06) !important;
  box-shadow: 0 14px 28px rgba(0,0,0,.08) !important;
}

/* Make anchors/figures fill card */
.entry-content .wp-block-gallery figure.wp-block-image > a,
.entry-content .wp-block-gallery figure.wp-block-image > div,
.entry-content .wp-block-gallery .blocks-gallery-item > figure,
.entry-content .wp-block-gallery .blocks-gallery-image > figure {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
}

/* Force image crop behavior like the HTML file */
.entry-content .wp-block-gallery img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform .35s ease, filter .35s ease !important;
}

/* Hover effect from mockup */
.entry-content .wp-block-gallery figure.wp-block-image:hover img,
.entry-content .wp-block-gallery .blocks-gallery-item:hover img,
.entry-content .wp-block-gallery .blocks-gallery-image:hover img {
  transform: scale(1.04);
  filter: saturate(1.05);
}

/* ---------------------------------------------------------
   Pattern the shapes to mimic:
   tall / square / wide
   wide / tall / square
   square / tall / wide
   --------------------------------------------------------- */

.entry-content .wp-block-gallery figure.wp-block-image:nth-child(9n+1),
.entry-content .wp-block-gallery .blocks-gallery-item:nth-child(9n+1),
.entry-content .wp-block-gallery .blocks-gallery-image:nth-child(9n+1),
.entry-content .wp-block-gallery figure.wp-block-image:nth-child(9n+5),
.entry-content .wp-block-gallery .blocks-gallery-item:nth-child(9n+5),
.entry-content .wp-block-gallery .blocks-gallery-image:nth-child(9n+5),
.entry-content .wp-block-gallery figure.wp-block-image:nth-child(9n+8),
.entry-content .wp-block-gallery .blocks-gallery-item:nth-child(9n+8),
.entry-content .wp-block-gallery .blocks-gallery-image:nth-child(9n+8) {
  aspect-ratio: 4 / 5 !important; /* tall */
}

.entry-content .wp-block-gallery figure.wp-block-image:nth-child(9n+2),
.entry-content .wp-block-gallery .blocks-gallery-item:nth-child(9n+2),
.entry-content .wp-block-gallery .blocks-gallery-image:nth-child(9n+2),
.entry-content .wp-block-gallery figure.wp-block-image:nth-child(9n+6),
.entry-content .wp-block-gallery .blocks-gallery-item:nth-child(9n+6),
.entry-content .wp-block-gallery .blocks-gallery-image:nth-child(9n+6),
.entry-content .wp-block-gallery figure.wp-block-image:nth-child(9n+7),
.entry-content .wp-block-gallery .blocks-gallery-item:nth-child(9n+7),
.entry-content .wp-block-gallery .blocks-gallery-image:nth-child(9n+7) {
  aspect-ratio: 1 / 1 !important; /* square */
}

.entry-content .wp-block-gallery figure.wp-block-image:nth-child(9n+3),
.entry-content .wp-block-gallery .blocks-gallery-item:nth-child(9n+3),
.entry-content .wp-block-gallery .blocks-gallery-image:nth-child(9n+3),
.entry-content .wp-block-gallery figure.wp-block-image:nth-child(9n+4),
.entry-content .wp-block-gallery .blocks-gallery-item:nth-child(9n+4),
.entry-content .wp-block-gallery .blocks-gallery-image:nth-child(9n+4),
.entry-content .wp-block-gallery figure.wp-block-image:nth-child(9n+9),
.entry-content .wp-block-gallery .blocks-gallery-item:nth-child(9n+9),
.entry-content .wp-block-gallery .blocks-gallery-image:nth-child(9n+9) {
  aspect-ratio: 16 / 10 !important; /* wide */
}

/* Hide captions if you want the same clean image-only look */
.entry-content .wp-block-gallery figcaption,
.entry-content .wp-block-gallery .blocks-gallery-caption {
  display: none !important;
}

/* Tablet */
@media (max-width: 980px) {
  .entry-content .wp-block-gallery.has-nested-images,
  .entry-content .wp-block-gallery:not(.has-nested-images) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Mobile */
@media (max-width: 720px) {
  .entry-content .wp-block-gallery.has-nested-images,
  .entry-content .wp-block-gallery:not(.has-nested-images) {
    grid-template-columns: 1fr !important;
  }

  .entry-content .wp-block-gallery figure.wp-block-image,
  .entry-content .wp-block-gallery .blocks-gallery-item,
  .entry-content .wp-block-gallery .blocks-gallery-image {
    aspect-ratio: 4 / 3 !important;
  }
}

/* Repairs, Installations & Maintenance gallery hover */
.shi-accent-gallery figure{
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #f2f2f2;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 14px 28px rgba(0,0,0,.08);
}

.shi-accent-gallery figure img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease, filter .35s ease;
}

.shi-accent-gallery figure:hover img{
  transform: scale(1.04);
  filter: saturate(1.05);
}