.scroll-footer {
  text-align: center;
  padding: 40px 0;
}

.scroll-footer-logo-wrap {
  margin: 56px auto 40px;
}

.scroll-footer-logo {
  height: clamp(96px, 18vw, 112px);
  display: block;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.scroll-footer-logo:hover {
  transform: scale(1.05);
}

/* Divider: desktop = 80% (capped), mobile = full width */
.scroll-footer-divider {
  height: 2px;
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(to right, #d8b4fe, #facc15);
  border-radius: 4px;
  box-shadow: 0 0 10px #facc15aa;

  /* Appear after logo */
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUpDivider 0.8s ease-out forwards;
  animation-delay: 0.6s;
}

@media (max-width: 768px) {
  .scroll-footer-divider {
    width: 100%;
    max-width: none;
  }
}

@keyframes fadeInUpDivider {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =============================
   AP II Footer Theme (cyan)
   ============================= */
body.ap2-theme .scroll-footer-divider {
  background: linear-gradient(90deg, #87c8e9, #4a7ea1) !important; /* var(--ap2-divider-a/b) equivalent */
  box-shadow: 0 0 10px rgba(110,177,214,.22) !important;           /* var(--ap2-edge) equivalent */
}

/* Optional: match AP II reveal cadence (no extra slide if you prefer) */
body.ap2-theme .scroll-footer-divider {
  /* keep your existing animation if you like it; else uncomment next lines */
  /* opacity: 1 !important;
  transform: none !important;
  animation: none !important; */
}

body.ap2-theme .scroll-footer-logo:hover {
  /* no color change; just keep the slight scale */
  filter: none !important;
  box-shadow: none !important;
}

<style id="ap2-cyan-footer-override">
  /* …existing rules… */

  /* Dividers */
  body.ap2-theme .scroll-footer hr,
  body.ap2-theme .scroll-footer .divider,
  body.ap2-theme .scroll-footer .ap2-divider,
  body.ap2-theme .scroll-footer .scroll-footer-divider {  /* <-- add this line */
    border: none !important; height: 2px !important; width: 100%;
    background: linear-gradient(90deg, var(--ap2-divider-a), var(--ap2-divider-b)) !important;
    box-shadow: 0 0 10px var(--ap2-edge) !important;
  }
</style>