/* Home footer matched to the detail-page footer. The large tilted .ribbon above it stays. */
.acm-ribbon { display: none !important; }
.footer.acm-detail-footer {
  --deep: #0e0a15;
  --orange: #ff6a2b;
  --ease: cubic-bezier(.22, 1, .36, 1);
  background: var(--deep);
  color: rgba(255, 255, 255, .72);
  padding: 0 0 28px;
  margin-top: 0;
  border-radius: 40px 40px 0 0;
  position: relative;
  z-index: 6;
  overflow: hidden;
  font-family: Manrope, system-ui, sans-serif;
}
.footer.acm-detail-footer * { box-sizing: border-box; }
.footer.acm-detail-footer a { color: inherit; text-decoration: none; }
.acm-foot-wrap { width: min(1280px, calc(100% - 64px)); margin-inline: auto; }

.acm-talk {
  padding: 28px 0 8px;
  background:
    radial-gradient(50% 50% at 70% 40%, rgba(255, 106, 43, .2), transparent 70%),
    var(--deep);
}
.acm-talk-shell {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 20px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 22px;
  background: rgba(36, 27, 52, .96);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
  padding: 22px 22px 22px 28px;
  overflow: hidden;
}
.acm-talk h2 {
  margin: 0;
  font-family: "Plus Jakarta Sans", Manrope, system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  letter-spacing: -.03em;
  line-height: 1.1;
  color: #fff;
}
.acm-talk h2 span {
  margin-left: .2em;
  background: linear-gradient(90deg, #fff, #f3c4ad 52%, #ff6a2b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.acm-talk p { margin: 10px 0 0; max-width: 34rem; font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, .68); }
.acm-talk-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.acm-talk-actions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  background: #2f2742;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .28);
}
.acm-talk-actions a.acm-ghost { background: transparent; box-shadow: none; border-color: rgba(255, 255, 255, .28); }
.acm-talk-actions a:hover { border-color: var(--orange); color: #fff; }
.acm-talk-visual { display: flex; justify-content: flex-end; }
.acm-talk-visual img { width: min(100%, 420px); height: auto; object-fit: contain; filter: drop-shadow(0 22px 36px rgba(0, 0, 0, .38)); }

.acm-ribbon { overflow: hidden; background: var(--orange); color: #fff; }
.acm-ribbon-track {
  display: flex;
  width: max-content;
  animation: acm-ribbon 28s linear infinite;
}
.acm-ribbon-track span {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 14px 0 14px 28px;
  font-family: "Plus Jakarta Sans", Manrope, system-ui, sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}
.acm-ribbon-track span::after { content: "✦"; font-size: .7em; }
@keyframes acm-ribbon { to { transform: translateX(-50%); } }

.acm-foot-main { padding: 48px 0 8px; }
.acm-foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.acm-foot-brand img { height: 72px; width: auto; }
.acm-foot-brand p { margin: 16px 0 0; max-width: 280px; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .72); }
.acm-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.acm-social a {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .06);
  color: #fff;
  transition: background .35s var(--ease), border-color .35s, transform .35s var(--ease);
}
.acm-social a:hover { background: var(--orange); border-color: var(--orange); transform: translateY(-3px); }
.acm-social svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }

.acm-foot-col { display: grid; align-content: start; gap: 10px; }
.acm-foot-col h3 {
  margin: 0 0 6px;
  font-family: "Plus Jakarta Sans", Manrope, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
}
.acm-foot-col a {
  color: rgba(255, 255, 255, .78);
  font-weight: 600;
  font-size: 15px;
  transition: color .3s, transform .3s var(--ease);
}
.acm-foot-col a:hover { color: #fff; transform: translateX(4px); }

.acm-info {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 28px;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
}
.acm-info span {
  display: block;
  margin-bottom: 8px;
  font-family: "Plus Jakarta Sans", Manrope, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange);
}
.acm-info p { margin: 0; color: #fff; font-weight: 600; font-size: 14px; line-height: 1.55; }
.acm-info a:hover { color: var(--orange); }

.acm-legal { display: grid; gap: 14px; padding: 32px 0; color: rgba(255, 255, 255, .5); font-size: 12.5px; line-height: 1.7; }
.acm-legal p { margin: 0; }
.acm-legal strong { color: rgba(255, 255, 255, .8); }
.acm-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .55);
  font-size: 13px;
}

@media (max-width: 1024px) {
  .acm-talk-shell, .acm-foot-grid, .acm-info { grid-template-columns: 1fr 1fr; }
  .acm-talk-visual { display: none; }
}
@media (max-width: 760px) {
  .footer.acm-detail-footer { border-radius: 28px 28px 0 0; margin-top: 0; }
  .acm-foot-wrap { width: min(1280px, calc(100% - 32px)); }
  .acm-talk-shell, .acm-foot-grid, .acm-info { grid-template-columns: 1fr; }
  .acm-talk-shell { padding: 18px; }
}
