/* AME Partners 4.6 | Doorlopende partnercarrousel en naadloze footer */
/* All changes are scoped to the public homepage; portals and secondary pages are untouched. */
body.public-mode .home-content .ame40-logo-band {
  background:#081b1c;
  isolation:isolate;
  position:relative;
}
body.public-mode .home-content .ame40-logo-band .partners-strip {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:linear-gradient(110deg,#081c1d 0%,#0d2728 43%,#112f31 65%,#081b1c 100%)!important;
  border:0!important;
  padding:clamp(37px,4.5vw,68px) 0 clamp(41px,5vw,72px)!important;
}
/* Lighting belongs to the single background, never to individual partner tiles. */
body.public-mode .home-content .ame40-logo-band .partners-strip::before {
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:-1;
  background:radial-gradient(ellipse 54% 120% at 53% 40%,rgba(42,101,102,.21),transparent 75%);
}
body.public-mode .home-content .ame40-logo-band .partners-strip::after {
  content:"";
  position:absolute;
  right:5%;bottom:0;left:5%;height:1px;
  pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(212,170,69,.42) 35%,rgba(212,170,69,.42) 65%,transparent);
}
body.public-mode .home-content .ame40-logo-band .partners-strip .section-label {
  margin-bottom:clamp(17px,2vw,28px)!important;
}
body.public-mode .home-content .ame40-logo-band .partners-strip .logo-window {
  width:100%;
  overflow:hidden;
  -webkit-mask-image:linear-gradient(to right,transparent,#000 6%,#000 94%,transparent);
  mask-image:linear-gradient(to right,transparent,#000 6%,#000 94%,transparent);
}
body.public-mode .home-content .ame40-logo-band .partners-strip .logo-track {
  gap:0;
  padding:14px 0 16px;
  animation-duration:48s;
}
body.public-mode .home-content .ame40-logo-band .partners-strip .logo-group {
  gap:clamp(30px,4vw,72px);
  padding:0 clamp(15px,2vw,35px);
}
body.public-mode .home-content .ame40-logo-band .partners-strip .logo-chip,
body.public-mode .home-content .ame40-logo-band .partners-strip .logo-chip:hover,
body.public-mode .home-content .ame40-logo-band .partners-strip .logo-chip:focus-visible {
  min-width:clamp(140px,13vw,195px)!important;
  width:clamp(140px,13vw,195px)!important;
  height:clamp(78px,7vw,102px)!important;
  min-height:0!important;
  padding:8px!important;
  border:none!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  outline-offset:4px;
}
body.public-mode .home-content .ame40-logo-band .partners-strip .logo-chip {
  transition:transform .35s ease,opacity .35s ease!important;
}
body.public-mode .home-content .ame40-logo-band .partners-strip .logo-chip:hover,
body.public-mode .home-content .ame40-logo-band .partners-strip .logo-chip:focus-visible {
  transform:translateY(-3px);
}
body.public-mode .home-content .ame40-logo-band .partners-strip .logo-chip:focus-visible {
  outline:2px solid #d4aa45!important;
}
body.public-mode .home-content .ame40-logo-band .partners-strip .logo-chip img {
  max-width:100%!important;
  max-height:77px!important;
  width:auto;height:auto;
  object-fit:contain;
  filter:none!important;
  opacity:1!important;
}
body.public-mode .home-content .ame40-logo-band .partners-strip .logo-wordmark {
  color:#f4f6f3!important;
  line-height:1.35;
  text-align:center;
}
/* The CTA and footer share the exact color at their seam. */
body.public-mode .home-content .ame40-events {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:linear-gradient(180deg,#143d3f 0%,#123739 28%,#0b292b 60%,#061213 100%)!important;
  padding-top:clamp(76px,8vw,132px);
  padding-bottom:clamp(108px,12vw,185px);
}
body.public-mode .home-content .ame40-events::before {
  content:"";
  position:absolute;
  z-index:-1;
  inset:0;
  pointer-events:none;
  background:radial-gradient(ellipse at 73% 30%,rgba(44,107,108,.27),transparent 52%),radial-gradient(ellipse at 10% 8%,rgba(0,9,10,.32),transparent 60%);
}
body.public-mode .home-content .ame40-events::after {
  content:"";
  position:absolute;
  z-index:-1;
  pointer-events:none;
  border:1px solid rgba(212,170,69,.18);
  border-radius:50%;
  width:min(125vw,1600px);
  height:clamp(230px,38vw,570px);
  right:-22%;bottom:-58%;
  transform:rotate(-7deg);
}
body.public-mode .home-content .ame40-events .ame40-events-inner {
  position:relative;
  z-index:1;
}
body.public-mode .home-content .ame40-events .ame40-events-button,
body.public-mode .home-content .ame40-events .ame40-events-button:hover,
body.public-mode .home-content .ame40-events .ame40-events-button:focus-visible {
  background:linear-gradient(90deg,#d4aa45 0%,#ffffff 50%,#d4aa45 100%)!important;
  color:#0b2526!important;
  -webkit-text-fill-color:#0b2526!important;
  border:1px solid rgba(212,170,69,.7)!important;
  text-decoration:none!important;
}
body.public-mode .home-content .ame40-events .ame40-events-button svg {
  color:#0b2526!important;
  stroke:currentColor!important;
}
body.public-mode .home-content + .site-footer {
  background:linear-gradient(180deg,#061213 0%,#030b0c 28%,#020607 80%)!important;
  border-top:0!important;
  margin-top:0!important;
  color:white;
}
body.public-mode .home-content + .site-footer .footer-main {
  border-top:0!important;
  padding-top:clamp(46px,5vw,82px)!important;
}
body.public-mode .home-content + .site-footer .footer-base {
  border-top:1px solid rgba(212,170,69,.24)!important;
}
@media(max-width:760px) {
  body.public-mode .home-content .ame40-logo-band .partners-strip {
    padding:33px 0 39px!important;
  }
  body.public-mode .home-content .ame40-logo-band .partners-strip .logo-group {
    gap:21px;
    padding:0 12px;
  }
  body.public-mode .home-content .ame40-logo-band .partners-strip .logo-chip,
  body.public-mode .home-content .ame40-logo-band .partners-strip .logo-chip:hover,
  body.public-mode .home-content .ame40-logo-band .partners-strip .logo-chip:focus-visible {
    min-width:148px!important;
    width:148px!important;
    height:82px!important;
    padding:8px!important;
  }
  body.public-mode .home-content .ame40-events {
    padding-top:78px;
    padding-bottom:113px;
  }
  body.public-mode .home-content .ame40-events::after {
    width:150vw;right:-45%;bottom:-13%;height:220px;
  }
  body.public-mode .home-content + .site-footer .footer-main {
    padding-top:35px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  body.public-mode .home-content .ame40-logo-band .partners-strip .logo-track{animation:none!important}
  body.public-mode .home-content .ame40-logo-band .partners-strip .logo-chip{transition:none!important}
}
