.vb-legal-bar,
.vb-consent {
  box-sizing: border-box;
  font-family: inherit;
}

.vb-legal-bar {
  background: var(--vb-asphalt-900, #202124);
  color: #e8eaed;
  font-size: 0.82rem;
  padding: 0.8rem 1.5rem calc(0.8rem + env(safe-area-inset-bottom));
}

.vb-legal-bar__inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  justify-content: center;
  margin: 0 auto;
  max-width: 1280px;
}

.vb-legal-bar a,
.vb-legal-bar__button {
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.vb-legal-bar__button {
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  padding: 0;
}

.vb-consent {
  background: #fff;
  border-top: 4px solid var(--vb-primary, #137333);
  bottom: 0;
  box-shadow: 0 -12px 40px rgba(32, 33, 36, 0.2);
  color: var(--vb-ink, #3c4043);
  left: 0;
  padding: 1.25rem max(1.25rem, env(safe-area-inset-right)) calc(1.25rem + env(safe-area-inset-bottom)) max(1.25rem, env(safe-area-inset-left));
  position: fixed;
  right: 0;
  z-index: 999999;
}

.vb-consent[hidden] {
  display: none;
}

.vb-consent__inner {
  align-items: center;
  display: grid;
  gap: 1.25rem 2rem;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 0 auto;
  max-width: 1180px;
}

.vb-consent__copy > * {
  margin-bottom: 0.45rem;
  margin-top: 0;
}

.vb-consent__copy h2 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.2;
}

.vb-consent__copy p {
  font-size: 0.94rem;
  line-height: 1.5;
  max-width: 820px;
}

.vb-consent__eyebrow {
  color: var(--vb-primary-hover, #0d652d);
  font-size: 0.75rem !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vb-consent__actions {
  display: grid;
  gap: 0.65rem;
  min-width: 220px;
}

.vb-consent__button {
  border: 2px solid var(--vb-primary-hover, #0d652d);
  border-radius: 0.35rem;
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  min-height: 44px;
  padding: 0.65rem 1rem;
}

.vb-consent__button--primary {
  background: var(--vb-primary-hover, #0d652d);
  color: #fff;
}

.vb-consent__button--secondary {
  background: #fff;
  color: var(--vb-primary-hover, #0d652d);
}

.vb-consent__button:focus-visible,
.vb-legal-bar__button:focus-visible {
  outline: 3px solid var(--vb-amber, #f9ab00);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .vb-consent__inner {
    grid-template-columns: 1fr;
  }

  .vb-consent__actions {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .vb-legal-bar {
    padding-bottom: calc(5.7rem + env(safe-area-inset-bottom));
  }
}
