body.bmc-gallery-page{margin:0;background:#fff;color:#214c5f;font-family:"Source Sans Pro",Arial,sans-serif}
.bmc-gallery-page *{box-sizing:border-box}
.bmc-gallery-shell{width:min(1120px,calc(100% - 44px));margin:auto}
.bmc-gallery-hero{min-height:300px;background-size:cover;background-position:center;position:relative;display:flex;align-items:center;justify-content:center}
.bmc-gallery-hero-shade{position:absolute;inset:0;background:rgba(7,58,88,.64)}
.bmc-gallery-hero-inner{position:relative;text-align:center;color:#fff}
.bmc-gallery-hero h1{margin:0 0 8px;font-family:"Playfair Display",Georgia,serif;font-size:42px;color:#fff}
.bmc-gallery-hero p{margin:0;font-size:11px;color:#fff}
.bmc-gallery-intro{padding:72px 0 62px}
.bmc-gallery-intro-inner{text-align:center;max-width:760px}
.bmc-gallery-kicker{font-family:Oswald,Arial,sans-serif;color:#c99e4b;font-size:9px;letter-spacing:.18em}
.bmc-gallery-intro h2{font-family:"Playfair Display",Georgia,serif;color:#124d61;font-size:35px;line-height:1.1;margin:8px 0 0}
.bmc-gallery-wave{color:#c99e4b;font-size:10px;margin:8px 0 17px}
.bmc-gallery-intro p{font-size:14px;line-height:1.7;color:#365f6e;margin:0 auto}
.bmc-gallery-showcase{padding:22px 0 86px;background:#eef7fb}
.bmc-gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-auto-rows:250px;gap:16px}
.bmc-gallery-item{border:0;padding:0;position:relative;overflow:hidden;cursor:pointer;background:#0f4d61}
.bmc-gallery-item-wide{grid-column:span 2}
.bmc-gallery-item-tall{grid-row:span 2}
.bmc-gallery-item img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .45s ease,opacity .45s ease}
.bmc-gallery-item:after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(7,42,61,.58),rgba(7,42,61,0) 55%);pointer-events:none}
.bmc-gallery-item span{position:absolute;left:18px;bottom:15px;z-index:2;color:#fff;font-family:Oswald,Arial,sans-serif;font-size:10px;letter-spacing:.15em}
.bmc-gallery-item:hover img{transform:scale(1.035)}
.bmc-gallery-strip{display:grid;grid-template-columns:repeat(4,1fr);background:#0f4d61}
.bmc-gallery-strip-item{position:relative;height:180px;overflow:hidden}
.bmc-gallery-strip-item img{width:100%;height:100%;object-fit:cover;display:block;opacity:.72}
.bmc-gallery-strip-item:after{content:"";position:absolute;inset:0;background:rgba(7,58,88,.26)}
.bmc-gallery-strip-item span{position:absolute;z-index:2;left:0;right:0;bottom:19px;text-align:center;color:#fff;font-family:Oswald,Arial,sans-serif;font-size:9px;letter-spacing:.16em}
.bmc-gallery-cta{min-height:350px;background-size:cover;background-position:center;position:relative;display:flex;align-items:center;justify-content:center}
.bmc-gallery-cta-shade{position:absolute;inset:0;background:rgba(21,91,145,.8)}
.bmc-gallery-cta-inner{position:relative;text-align:center;color:#fff;padding:58px 22px}
.bmc-gallery-cta h2{font-family:"Playfair Display",Georgia,serif;color:#fff;font-size:39px;line-height:1.08;margin:0 0 10px}
.bmc-gallery-cta p{font-size:13.5px;margin:0 0 24px}
.bmc-gallery-cta-actions{display:flex;justify-content:center;gap:12px}
.bmc-gallery-cta-actions a{height:46px;padding:0 25px;display:inline-flex;align-items:center;justify-content:center;background:#ca2f3f;color:#fff;text-decoration:none;font-family:Oswald,Arial,sans-serif;font-size:10px;letter-spacing:.16em}
.bmc-gallery-cta-actions a.outline{background:transparent;border:1px solid #fff}
.bmc-gallery-lightbox{position:fixed;inset:0;background:rgba(4,22,31,.94);z-index:99999;display:none;align-items:center;justify-content:center;padding:40px}
.bmc-gallery-lightbox.is-open{display:flex}
.bmc-gallery-lightbox figure{margin:0;max-width:min(1100px,86vw);max-height:86vh;text-align:center}
.bmc-gallery-lightbox img{max-width:100%;max-height:78vh;object-fit:contain;display:block;margin:auto}
.bmc-gallery-lightbox figcaption{color:#fff;margin-top:12px;font-family:Oswald,Arial,sans-serif;font-size:10px;letter-spacing:.12em}
.bmc-gallery-lightbox-close,.bmc-gallery-lightbox-prev,.bmc-gallery-lightbox-next{position:absolute;border:0;background:rgba(255,255,255,.1);color:#fff;cursor:pointer}
.bmc-gallery-lightbox-close{right:24px;top:20px;width:44px;height:44px;font-size:30px}
.bmc-gallery-lightbox-prev,.bmc-gallery-lightbox-next{top:50%;transform:translateY(-50%);width:48px;height:58px;font-size:42px;line-height:1}
.bmc-gallery-lightbox-prev{left:24px}.bmc-gallery-lightbox-next{right:24px}
@media(max-width:800px){.bmc-gallery-grid{grid-template-columns:repeat(2,1fr);grid-auto-rows:220px}.bmc-gallery-item-wide{grid-column:span 1}.bmc-gallery-strip{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.bmc-gallery-hero{min-height:230px}.bmc-gallery-hero h1{font-size:34px}.bmc-gallery-shell{width:calc(100% - 28px)}.bmc-gallery-intro{padding:54px 0 48px}.bmc-gallery-intro h2{font-size:30px}.bmc-gallery-showcase{padding:16px 0 60px}.bmc-gallery-grid{grid-template-columns:1fr;grid-auto-rows:230px;gap:12px}.bmc-gallery-item-tall{grid-row:span 1}.bmc-gallery-strip{grid-template-columns:1fr 1fr}.bmc-gallery-strip-item{height:145px}.bmc-gallery-cta{min-height:330px}.bmc-gallery-cta h2{font-size:31px}.bmc-gallery-cta-actions{flex-direction:column;align-items:center}.bmc-gallery-cta-actions a{min-width:210px}.bmc-gallery-lightbox{padding:18px}.bmc-gallery-lightbox-prev{left:6px}.bmc-gallery-lightbox-next{right:6px}}

/* ==========================================================
   GALLERY — FINAL LAYOUT POLISH
   ========================================================== */

/* Remove the awkward empty masonry gap and make the desktop
   composition intentional: feature row, three-image row,
   full-width closing image. */
@media(min-width:801px){
  .bmc-gallery-grid{
    grid-template-columns:repeat(3,1fr);
    grid-auto-rows:260px;
    gap:16px;
  }

  .bmc-gallery-item-wide{
    grid-column:auto;
  }

  .bmc-gallery-item-tall{
    grid-row:auto;
  }

  .bmc-gallery-item:nth-child(1){
    grid-column:1 / span 2;
  }

  .bmc-gallery-item:nth-child(2){
    grid-column:3;
  }

  .bmc-gallery-item:nth-child(3){
    grid-column:1;
  }

  .bmc-gallery-item:nth-child(4){
    grid-column:2;
  }

  .bmc-gallery-item:nth-child(5){
    grid-column:3;
  }

  .bmc-gallery-item:nth-child(6){
    grid-column:1 / -1;
    min-height:300px;
  }
}

/* Give the image grid a little more breathing room */
.bmc-gallery-showcase{
  padding-top:30px;
  padding-bottom:92px;
}

.bmc-gallery-item span{
  left:20px;
  bottom:17px;
  font-size:10px;
}

.bmc-gallery-strip-item{
  height:190px;
}

.bmc-gallery-cta{
  min-height:365px;
}

.bmc-gallery-cta-inner{
  padding-top:66px;
  padding-bottom:66px;
}

@media(max-width:800px){
  .bmc-gallery-showcase{
    padding-top:20px;
    padding-bottom:68px;
  }

  .bmc-gallery-item:nth-child(1),
  .bmc-gallery-item:nth-child(2),
  .bmc-gallery-item:nth-child(3),
  .bmc-gallery-item:nth-child(4),
  .bmc-gallery-item:nth-child(5),
  .bmc-gallery-item:nth-child(6){
    grid-column:auto;
    grid-row:auto;
    min-height:0;
  }
}

@media(max-width:600px){
  .bmc-gallery-strip-item{
    height:150px;
  }

  .bmc-gallery-cta{
    min-height:345px;
  }
}

