.analytics-consent {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(142, 125, 190, .34);
  border-radius: 16px;
  bottom: 1rem;
  box-shadow: 0 16px 42px rgba(79, 65, 140, .16);
  box-sizing: border-box;
  color: #2f3040;
  display: grid;
  gap: 1rem 1.5rem;
  grid-template-columns: minmax(0, 1fr) auto;
  left: 1rem;
  margin: 0 auto;
  max-width: 820px;
  padding: 1.1rem 1.2rem !important;
  position: fixed;
  right: 1rem;
  z-index: 10000;
}

.analytics-consent__copy h2 {
  color: #4f418c;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.25rem !important;
  line-height: 1.2 !important;
  margin: 0 0 .35rem !important;
}

.analytics-consent__copy p {
  color: #5f6070;
  font-size: .92rem;
  line-height: 1.5;
  margin: 0 0 .35rem;
}

.analytics-consent__copy a {
  color: #4f418c;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .16em;
}

.analytics-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: flex-end;
}

.analytics-consent__actions button {
  border: 1px solid #4f418c;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: .9rem;
  font-weight: 750;
  min-height: 44px;
  padding: .65rem 1rem;
}

.analytics-consent__accept {
  background: #4f418c;
  color: #fff;
}

.analytics-consent__decline {
  background: #fff;
  color: #4f418c;
}

.analytics-consent__copy a:focus-visible,
.analytics-consent__actions button:focus-visible {
  outline: 3px solid #d8d0f5;
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .analytics-consent {
    bottom: .65rem;
    gap: .8rem;
    grid-template-columns: 1fr;
    left: .65rem;
    padding: .95rem !important;
    right: .65rem;
  }

  .analytics-consent__copy h2 {
    font-size: 1.15rem !important;
  }

  .analytics-consent__copy p {
    font-size: .86rem;
    line-height: 1.45;
  }

  .analytics-consent__actions {
    justify-content: flex-start;
  }

  .analytics-consent__actions button {
    flex: 1 1 auto;
  }
}
