/* WebCenter V5.71 — WEB7 / footer / Websites before-preview polish */

/* HOME — WEB7: give the 7 breathing room and avoid a visually clipped right edge. */
.web7-mark{
  min-width:0;
  overflow:visible;
  padding-right:clamp(14px,2vw,30px);
}
.web7-seven{
  display:block;
  font-size:clamp(8.7rem,20.5vw,17rem);
  line-height:.64;
  letter-spacing:-.055em;
  padding-right:.10em;
  transform:translateX(-.015em);
  overflow:visible;
}
@media(max-width:1120px){
  .web7-mark{padding-right:10px}
}
@media(max-width:720px){
  .web7-seven{font-size:7.6rem;letter-spacing:-.035em;padding-right:.12em}
}

/* GLOBAL FOOTER — same structure, less dead vertical space. */
footer{
  padding-top:46px;
  padding-bottom:14px;
}
.footer-grid{
  gap:38px;
  align-items:start;
}
.footer-brand img{width:210px}
.footer-brand p{
  margin:15px 0 0;
  line-height:1.55;
}
.footer-grid>div:not(.footer-brand){gap:9px}
.footer-grid b{
  margin-bottom:5px;
  line-height:1.2;
}
.footer-bottom{
  margin-top:30px;
  padding-top:14px;
  min-height:0;
  align-items:center;
  line-height:1.25;
}
.footer-legal-links{row-gap:7px}
@media(max-width:720px){
  footer{padding-top:36px;padding-bottom:14px}
  .footer-grid{gap:27px 24px}
  .footer-brand p{margin-top:12px}
  .footer-bottom{margin-top:24px;padding-top:13px;gap:10px;align-items:flex-start}
}

/* WEBSITES — BEFORE preview: no external iframe dependency.
   A live screenshot is used when available; a built-in visual fallback sits underneath. */
.ws-before-frame{background:#f4f4f2}
.ws-live-screenshot{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:top center;
  display:block;
  opacity:0;
  transition:opacity .28s ease;
  background:#fff;
  z-index:2;
}
.ws-live-screenshot.is-loaded{opacity:1}
.ws-before-static{
  position:absolute;
  inset:0;
  z-index:1;
  overflow:hidden;
  background:#f4f4f1;
  color:#262626;
  font-family:Arial,Helvetica,sans-serif;
}
.ws-before-static-head{
  height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:0 34px;
  background:#fff;
  border-bottom:1px solid #dadada;
}
.ws-before-static-brand strong{
  display:block;
  font-size:20px;
  letter-spacing:-.03em;
  color:#1e1e1e;
}
.ws-before-static-brand small{
  display:block;
  margin-top:3px;
  font-size:9px;
  letter-spacing:.10em;
  color:#777;
  text-transform:uppercase;
}
.ws-before-static-nav{
  display:flex;
  gap:18px;
  font-size:10px;
  font-weight:700;
  color:#6f6f6f;
  white-space:nowrap;
}
.ws-before-static-hero{
  height:calc(100% - 72px);
  display:grid;
  grid-template-columns:1fr 1.2fr;
  align-items:center;
  gap:20px;
  padding:42px 46px;
  background:linear-gradient(135deg,#ececeb,#fff 55%,#e8e8e5);
}
.ws-before-static-copy small{
  font-size:9px;
  letter-spacing:.14em;
  color:#777;
  font-weight:700;
}
.ws-before-static-copy strong{
  display:block;
  margin:11px 0 12px;
  max-width:410px;
  font-size:clamp(28px,3.1vw,48px);
  line-height:1;
  letter-spacing:-.04em;
}
.ws-before-static-copy p{
  max-width:390px;
  color:#666;
  font-size:13px;
  line-height:1.55;
}
.ws-before-static-copy span{
  display:inline-flex;
  margin-top:9px;
  padding:9px 13px;
  background:#252525;
  color:#fff;
  font-size:9px;
  font-weight:700;
}
.ws-before-static-media{
  min-width:0;
  height:80%;
  display:grid;
  place-items:center;
  border:1px solid #ddd;
  background:#fff;
  overflow:hidden;
}
.ws-before-static-media img{
  width:100%;
  height:100%;
  object-fit:contain;
}
@media(max-width:760px){
  .ws-before-static-head{height:58px;padding:0 18px}
  .ws-before-static-nav{display:none}
  .ws-before-static-hero{height:calc(100% - 58px);grid-template-columns:1fr;padding:26px 24px}
  .ws-before-static-copy strong{font-size:30px}
  .ws-before-static-media{display:none}
}


/* =========================================================
   V5.72 — WEB7 mobile containment + static BEFORE snapshot
   ========================================================= */

/* WEB7 MOBILE — hard containment prevents the header/hamburger from
   extending beyond the viewport and creating a white strip on the right. */
.web7-page{
  width:100%;
  max-width:100%;
  overflow-x:hidden;
}
.web7-page .site-header{
  left:0;
  right:0;
  width:100%;
  max-width:100vw;
  overflow-x:clip;
}
.web7-page .mobile-menu{
  width:100%;
  max-width:100vw;
  overflow-x:hidden;
}
@media(max-width:760px){
  .web7-page .nav{
    width:calc(100% - 28px);
    max-width:calc(100vw - 28px);
    margin-left:auto;
    margin-right:auto;
    gap:12px;
  }
  .web7-page .brand{
    min-width:0;
    max-width:calc(100% - 60px);
  }
  .web7-page .brand img{
    max-width:165px;
    width:min(165px,100%);
    height:auto;
  }
  .web7-page .nav-side{
    flex:0 0 auto;
    margin-left:auto;
    min-width:44px;
    max-width:44px;
    gap:0;
  }
  .web7-page .menu-toggle{
    display:block;
    flex:0 0 44px;
    width:44px;
    min-width:44px;
    height:44px;
    margin:0;
    padding:0;
    transform:none;
  }
  .web7-page .menu-toggle span{
    left:11px;
    width:22px;
  }
  .web7-page .w7-hero,
  .web7-page main,
  .web7-page section{
    max-width:100%;
  }
}

/* WEBSITES BEFORE / AFTER — BEFORE is now a LOCAL STATIC CAPTURE.
   No iframe and no external screenshot service is used. */
.ws-before-frame{
  background:#fff;
}
.ws-before-snapshot{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:top center;
  background:#fff;
}
@media(max-width:760px){
  .ws-before-snapshot{
    object-position:top center;
  }
}
