#footer-row {
  display: flex;
  justify-content: center;
}
#footer-row .et_pb_column {
  width: auto;
  margin-right: 0;
}

/* container positions the popover */
.footer-policies {
  position: relative;
  display: inline-block;
  margin-left: 30px;
}

/* trigger label + chevron */
.policies-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 0;
  color: #cfcfcf;
  cursor: pointer;
  padding: 0;
  font-size: 12px;
}
.policies-trigger .chev {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #cfcfcf;
  transform: translateY(2px);
  transition: transform 0.15s ease;
}
.footer-policies.open .policies-trigger .chev {
  transform: rotate(180deg); /* arrow up when open */
}

/* popover panel */
.policies-popover {
  position: absolute;
  bottom: 2.6rem; /* sits above the trigger like your screenshot */
  left: 0;
  list-style: none;
  margin: 0;
  padding: 10px 0;
  background: #2c2c2c;
  border-radius: 3.5px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
  width: max-content; /* grow to longest line */
  min-width: 100px; /* don’t get too tiny */
  max-width: 220px; /* cap at a reasonable width */
  z-index: 50;
}

/* menu items */
.policies-popover li {
  margin: 0;
}
.policies-popover a {
  display: block;
  padding: 4px 8px;
  color: #e6e6e6;
  text-decoration: none;
  border-radius: 4px;
  margin: 4px 10px;
}
.policies-popover a:hover,
.policies-popover a:focus {
  background: #3a3a3a;
  color: #fff;
  outline: none;
}

/* remove bullets from the original UL in case theme adds them */
.menu-policies-menu-container ul {
  list-style: none;
  padding-left: 0;
  padding-bottom: 0;
}

/* optional: subtle glow behind panel (like screenshot) */
.footer-policies.open::after {
  content: '';
  position: absolute;
  right: -10px;
  left: -10px;
  bottom: 3rem;
  height: 160px;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.35),
    transparent 60%
  );
  filter: blur(12px);
  z-index: 40;
  pointer-events: none;
}
@media only screen and (min-width: 981px) {
}
@media only screen and (max-width: 980px) {
  #footer-row .et_pb_column {
    margin: 0;
    flex: 2;
  }
  #footer-row .et_pb_column:last-of-type {
    flex: 1;
  }
  .policies-popover {
    right: 0;
    left: auto;
  }
}
