/* WebXtent v0.8.47 — Home composition refinement.
 * Adds an authorable image interlude, returns mailing-list signup to the
 * proposition row, adds three client image slots to the closing band, and
 * corrects the WhatsApp mark geometry without changing operational settings.
 */

/* Dedicated visual interlude between Welcome / Editorial Intro and Reference content. */
.wxt-home-design-baseline__interlude{
  width:100%;
  margin:0 0 clamp(54px,6vw,88px);
  min-height:var(--wxt-interlude-height,320px);
  border-radius:var(--wxt-interlude-radius,28px);
  overflow:hidden;
  position:relative;
  background:rgba(16,42,62,.035);
  box-shadow:0 20px 54px rgba(15,31,40,.08);
}
.wxt-home-design-baseline__interlude-media,
.wxt-home-design-baseline__interlude-media .wxt-home-image-slot{
  width:100%;height:var(--wxt-interlude-height,320px);margin:0;
}
.wxt-home-design-baseline__interlude-media .wxt-home-image-slot,
.wxt-home-design-baseline__interlude-image{border-radius:inherit;overflow:hidden}
.wxt-home-design-baseline__interlude-image img,
.wxt-home-design-baseline__interlude-media img{width:100%;height:100%;object-fit:cover}
.wxt-home-design-baseline__interlude .wxt-home-image-slot__placeholder{
  background:linear-gradient(145deg,rgba(255,255,255,.62),rgba(235,241,242,.34));
  border:1px dashed rgba(16,42,62,.18);
}

/* Proposition row is content-aware: removed cards collapse naturally and the
 * mailing list can occupy the third/fourth slot without leaving empty columns. */
.wxt-home-design-baseline__propositions{
  display:flex!important;
  align-items:stretch;
  gap:var(--wxt-baseline-card-gap,16px)!important;
}
.wxt-home-design-baseline__propositions>.wxt-home-design-card--feature{flex:1.5 1 360px}
.wxt-home-design-baseline__propositions>.wxt-home-design-card--dark{flex:.82 1 230px}
.wxt-home-design-baseline__propositions>.wxt-home-subscription--inline-card{flex:1.12 1 300px}

/* Newsletter is once again part of the page, never fixed/popup. */
.wxt-home-subscription--inline-card{
  position:relative!important;
  inset:auto!important;
  width:auto!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  padding:clamp(20px,2vw,26px)!important;
  min-height:var(--wxt-baseline-card-min-height,252px);
  overflow:hidden!important;
  visibility:visible!important;
  pointer-events:auto!important;
  opacity:0;
  transform:translate3d(0,24px,0);
  border-radius:var(--wxt-baseline-card-radius,28px)!important;
  transition:opacity .58s ease,transform .68s cubic-bezier(.2,.74,.2,1)!important;
}
.wxt-home-subscription--inline-card.is-entered{opacity:1;transform:translate3d(0,0,0)}
.wxt-home-subscription--inline-card .wxt-home-subscription__fields{grid-template-columns:1fr!important}
.wxt-home-subscription--inline-card button[type="submit"]{width:100%;justify-content:center}
.wxt-home-subscription--inline-card .wxt-home-subscription__preferences{margin-top:12px}
.wxt-home-subscription--inline-card .wxt-home-subscription__topics{grid-template-columns:1fr 1fr}

/* Client imagery below What Clients Can Expect. */
.wxt-home-ref-proof__gallery{
  width:min(760px,100%);
  margin:clamp(26px,3vw,38px) auto 0;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.wxt-home-ref-proof__gallery-item{
  margin:0;
  min-height:120px;
  border:1px solid rgba(255,255,255,.20);
  border-radius:18px;
  overflow:hidden;
  background:rgba(255,255,255,.055);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 16px 36px rgba(0,0,0,.12);
}
.wxt-home-ref-proof__gallery-item .wxt-home-image-slot{height:100%;min-height:120px}
.wxt-home-ref-proof__gallery-item img{width:100%;height:100%;min-height:120px;object-fit:cover}
.wxt-home-ref-proof__gallery-item .wxt-home-image-slot__placeholder{
  min-height:120px;
  color:rgba(255,255,255,.72);
  background:linear-gradient(145deg,rgba(255,255,255,.09),rgba(255,255,255,.025));
  border:0;
}
.wxt-home-ref-proof__gallery-item .wxt-home-image-slot__placeholder span{border-color:rgba(255,255,255,.28);color:#d9ad59}
.wxt-home-ref-proof__gallery-item .wxt-home-image-slot__placeholder strong{color:rgba(255,255,255,.86)}
.wxt-home-ref-proof__gallery-item .wxt-home-image-slot__placeholder small{color:rgba(255,255,255,.48)}

/* Final WhatsApp mark correction: clean outline bubble + handset, no malformed fill. */
.wxt-whatsapp-chat__icon svg{
  display:block!important;
  width:100%!important;
  height:100%!important;
  overflow:visible!important;
  fill:none!important;
  stroke:#25D366!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.wxt-whatsapp-chat__icon svg .wxt-whatsapp-mark__bubble{
  fill:none!important;
  stroke:#25D366!important;
  stroke-width:1.65!important;
}
.wxt-whatsapp-chat__icon svg .wxt-whatsapp-mark__phone{
  fill:none!important;
  stroke:#25D366!important;
  stroke-width:1.42!important;
}

@media(max-width:1100px){
  .wxt-home-design-baseline__propositions{flex-wrap:wrap}
  .wxt-home-design-baseline__propositions>.wxt-home-design-card--feature{flex-basis:100%}
  .wxt-home-design-baseline__propositions>.wxt-home-design-card--dark,
  .wxt-home-design-baseline__propositions>.wxt-home-subscription--inline-card{flex:1 1 calc(33.333% - 14px)}
}
@media(max-width:760px){
  .wxt-home-design-baseline__interlude{min-height:min(var(--wxt-interlude-height,320px),280px)}
  .wxt-home-design-baseline__interlude-media,
  .wxt-home-design-baseline__interlude-media .wxt-home-image-slot{height:min(var(--wxt-interlude-height,320px),280px)}
  .wxt-home-design-baseline__propositions{display:grid!important;grid-template-columns:1fr!important}
  .wxt-home-subscription--inline-card .wxt-home-subscription__topics{grid-template-columns:1fr}
  .wxt-home-ref-proof__gallery{grid-template-columns:1fr 1fr}
  .wxt-home-ref-proof__gallery-item:last-child{grid-column:1/-1}
}
@media(max-width:520px){
  .wxt-home-ref-proof__gallery{grid-template-columns:1fr}
  .wxt-home-ref-proof__gallery-item:last-child{grid-column:auto}
}
@media(prefers-reduced-motion:reduce){
  .wxt-home-subscription--inline-card{opacity:1!important;transform:none!important;transition:none!important}
}
