/* GwadabCo v3.4.0: genuine-portfolio collage, homepage + team page only.
   Scoped to .gw-showcase-hero so every other image/gallery is unchanged. */
.hero.gw-showcase-hero,
.page-hero.gw-showcase-hero {
  isolation:isolate;
  background-color:#151516!important;
  background-image:none!important;
  overflow:hidden;
}
.hero.gw-showcase-hero::before,
.page-hero.gw-showcase-hero::before {content:none!important;display:none!important}
.hero.gw-showcase-hero .hero-photo {background:none!important;opacity:0!important;animation:none!important}
.gw-showcase-hero .gw-collage {
  position:absolute;
  z-index:0;
  top:0;
  bottom:0;
  left:39%;
  right:0;
  overflow:hidden;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:clamp(5px,.55vw,11px);
  align-items:center;
  padding:clamp(22px,3vw,55px) clamp(18px,3.2vw,70px) clamp(22px,3vw,55px) 0;
  pointer-events:none;
  opacity:.98;
}
.gw-showcase-hero .gw-collage::before {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,#151516 0%,transparent 22%,transparent 95%,#15151630 100%);
  z-index:2;
  pointer-events:none;
}
.gw-showcase-hero .gw-collage-panel {
  display:block!important;
  position:relative;
  width:100%;
  height:89%;
  margin:0;
  overflow:hidden;
  border:0!important;
  background:#262525;
  box-shadow:0 18px 45px #0005;
}
.gw-showcase-hero .gw-collage-panel:nth-child(1){height:80%;transform:translateY(15px)}
.gw-showcase-hero .gw-collage-panel:nth-child(2){height:97%;transform:translateY(-6px)}
.gw-showcase-hero .gw-collage-panel:nth-child(3){height:84%;transform:translateY(28px)}
.gw-showcase-hero .gw-collage-panel:nth-child(4){height:76%;transform:translateY(-5px)}
.gw-showcase-hero .gw-collage-panel img {
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center center!important;
  max-width:none!important;
  max-height:none!important;
  display:block!important;
  padding:0!important;
  opacity:1!important;
  filter:none!important;
  transform:none!important;
  transition:transform 1s cubic-bezier(.2,.7,.2,1)!important;
}
.gw-showcase-hero .gw-collage-panel:nth-child(1) img{object-position:53% center!important}
.gw-showcase-hero .gw-collage-panel:nth-child(2) img{object-position:30% center!important}
.gw-showcase-hero .gw-collage-panel:nth-child(3) img{object-position:47% center!important}
.gw-showcase-hero .gw-collage-panel:nth-child(4) img{object-position:50% center!important}
.gw-showcase-hero .gw-collage-panel::after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(0deg,#0d0d0d4a,transparent 45%);
  pointer-events:none;
}
.gw-showcase-hero .gw-collage-panel:nth-child(1)::before,
.gw-showcase-hero .gw-collage-panel:nth-child(3)::before {
  content:"";
  position:absolute;
  z-index:2;
  left:0;
  right:0;
  height:clamp(12px,2.6vw,32px);
}
.gw-showcase-hero .gw-collage-panel:nth-child(1)::before{top:0;background:#b52332}
.gw-showcase-hero .gw-collage-panel:nth-child(3)::before{bottom:0;background:#c6a049}
/* Maintain headline legibility without concealing the imagery. */
.hero.gw-showcase-hero .hero-veiling,
.page-hero.gw-showcase-hero .page-hero-shade {
  z-index:1!important;
  background:linear-gradient(90deg,#111 0%,#111f 24%,#111c 39%,#11184 55%,#11125 76%,#1110 100%),linear-gradient(0deg,#1119,transparent 36%)!important;
}
.hero.gw-showcase-hero .hero-inner,
.hero.gw-showcase-hero .hero-footer,
.hero.gw-showcase-hero .hero-number,
.page-hero.gw-showcase-hero .page-hero-inner,
.page-hero.gw-showcase-hero .page-hero-bottom {z-index:3!important;position:relative}
.hero.gw-showcase-hero .hero-number{position:absolute}
.page-hero.gw-showcase-hero .page-hero-inner {width:min(1320px,calc(100% - 112px));margin:auto}
/* Small screens: landscape collage across the hero upper background, readable text. */
@media(max-width:900px){
  .gw-showcase-hero .gw-collage {
    left:0;right:0;top:0;bottom:0;
    padding:0;
    gap:4px;
    opacity:.72;
  }
  .gw-showcase-hero .gw-collage-panel:nth-child(n){height:100%;transform:none}
  .hero.gw-showcase-hero .hero-veiling,
  .page-hero.gw-showcase-hero .page-hero-shade {
    background:linear-gradient(90deg,#111c,#1118),linear-gradient(0deg,#111d 0%,#1118 63%,#1117 100%)!important;
  }
  .page-hero.gw-showcase-hero .page-hero-inner{width:calc(100% - 64px)}
}
@media(max-width:650px){
  .gw-showcase-hero .gw-collage{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}
  .gw-showcase-hero .gw-collage-panel:nth-child(4){display:none!important}
  .page-hero.gw-showcase-hero .page-hero-inner{width:calc(100% - 36px)}
  .hero.gw-showcase-hero .hero-veiling,
  .page-hero.gw-showcase-hero .page-hero-shade {
    background:linear-gradient(0deg,#101011f5 3%,#101011cf 55%,#1010118c 100%)!important;
  }
}
@media(prefers-reduced-motion:reduce){.gw-showcase-hero .gw-collage-panel img{transition:none!important}}

/* v3.4.1 — homepage CTA overflow fix, including common 16–18 inch laptop viewports. */
.hero.gw-showcase-hero {
  height:auto!important;
  min-height:clamp(740px,95svh,1020px)!important;
  max-height:none!important;
}
.hero.gw-showcase-hero .hero-inner {
  padding-top:clamp(148px,17vh,205px)!important;
  padding-bottom:clamp(125px,15vh,185px)!important;
  max-width:100%;
}
.hero.gw-showcase-hero h1 {
  font-size:clamp(52px,5.5vw,98px)!important;
  line-height:1.04!important;
  overflow-wrap:normal;
}
.hero.gw-showcase-hero .hero-actions {
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:stretch!important;
  gap:12px!important;
  width:min(100%,690px);
  margin-top:28px!important;
}
.hero.gw-showcase-hero .hero-actions .btn {
  width:auto;
  min-height:52px;
  max-width:100%;
  flex:0 1 auto;
  justify-content:space-between;
  gap:clamp(12px,2vw,35px)!important;
  padding:15px clamp(16px,1.8vw,24px)!important;
  font-size:clamp(9px,.73vw,11px)!important;
  white-space:normal!important;
  text-align:left;
}
.hero.gw-showcase-hero .hero-actions .btn b,
.hero.gw-showcase-hero .hero-actions .btn span {flex-shrink:0}
.hero.gw-showcase-hero .hero-footer {
  position:absolute!important;
  bottom:clamp(19px,3vh,34px)!important;
  left:0!important;
  right:0!important;
  pointer-events:auto;
}
@media (max-height:770px) and (min-width:901px){
  .hero.gw-showcase-hero .hero-inner {padding-top:130px!important;padding-bottom:130px!important}
  .hero.gw-showcase-hero h1{font-size:clamp(51px,5vw,82px)!important}
}
@media(max-width:900px){
  .hero.gw-showcase-hero{min-height:clamp(690px,96svh,900px)!important}
  .hero.gw-showcase-hero h1{font-size:clamp(48px,8vw,82px)!important}
  .hero.gw-showcase-hero .hero-inner{padding-top:145px!important;padding-bottom:140px!important}
}
@media(max-width:650px){
  .hero.gw-showcase-hero{min-height:760px!important}
  .hero.gw-showcase-hero h1{font-size:clamp(43px,10.5vw,64px)!important;letter-spacing:-1.8px!important}
  .hero.gw-showcase-hero .hero-inner{padding-top:137px!important;padding-bottom:155px!important}
  .hero.gw-showcase-hero .hero-actions{flex-direction:column;align-items:flex-start!important;gap:10px!important}
  .hero.gw-showcase-hero .hero-actions .btn{min-width:min(100%,245px);font-size:10px!important}
  .hero.gw-showcase-hero .hero-footer{flex-wrap:wrap;gap:10px;font-size:8px}
}
