.hl-consent[hidden] {
  display: none !important;
}

.hl-consent {
  position: fixed;
  z-index: 1000;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.hl-consent__panel {
  width: min(760px, 100%);
  padding: 20px;
  border: 1px solid rgba(74, 52, 39, .22);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 20px 54px rgba(74, 52, 39, .2);
  color: #4a3427;
  font-family: "Manrope", Arial, sans-serif;
  pointer-events: auto;
}

.hl-consent__title {
  margin: 0 0 7px;
  font-family: "Newsreader", Georgia, serif;
  font-size: 23px;
  font-weight: 500;
  line-height: 1.15;
}

.hl-consent__text {
  margin: 0;
  color: #685b54;
  font-size: 13px;
  line-height: 1.55;
}

.hl-consent__link {
  display: inline-flex;
  margin-top: 9px;
  color: #4a3427;
  font-size: 12px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hl-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
}

.hl-consent__button {
  min-height: 42px;
  flex: 1 1 150px;
  padding: 9px 15px;
  border: 1px solid #4a3427;
  border-radius: 5px;
  background: transparent;
  color: #4a3427;
  cursor: pointer;
  font: 600 12px/1.2 "Manrope", Arial, sans-serif;
}

.hl-consent__button--accept {
  background: #4a3427;
  color: #fffdf8;
}

.hl-consent__button:hover {
  background: #68734c;
  border-color: #68734c;
  color: #fffdf8;
}

.hl-consent__button:focus-visible,
.hl-consent__link:focus-visible {
  outline: 3px solid #d1a84a;
  outline-offset: 3px;
}

@media (min-width: 700px) {
  .hl-consent__panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 24px;
    align-items: center;
    padding: 22px 24px;
  }

  .hl-consent__copy {
    grid-row: 1 / 3;
  }

  .hl-consent__actions {
    width: 260px;
    margin-top: 0;
  }
}

@media (max-width: 430px) {
  .hl-consent {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }

  .hl-consent__panel {
    padding: 17px;
  }

  .hl-consent__actions {
    flex-direction: column-reverse;
  }

  .hl-consent__button {
    width: 100%;
    min-height: 42px;
    flex-basis: auto;
  }
}
