/* AV Cookie Consent */
.avcc {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 100001;
  display: flex;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .25s ease, transform .25s ease;
}

.avcc.is-open {
  opacity: 1;
  transform: none;
}

.avcc[hidden] {
  display: none;
}

.avcc__box {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 1040px;
  padding: 18px 20px;
  border: 1px solid #e3ebec;
  border-radius: 16px;
  background: #fff;
  color: #0f2f35;
  box-shadow: 0 18px 48px rgba(15, 47, 53, .18);
  pointer-events: auto;
  font-family: inherit;
}

.avcc__icon {
  display: flex;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #eef6f5;
  color: #1f6f78;
}

.avcc__body {
  flex: 1 1 auto;
  min-width: 0;
}

.avcc__title {
  margin: 0 0 4px !important;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: #0f2f35;
}

.avcc__text {
  margin: 0 !important;
  font-size: 14px;
  line-height: 1.5;
  color: #3d5a5f;
}

.avcc__text a {
  color: #1f6f78 !important;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.avcc__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

/* Both choices equally easy: same size and weight */
.avcc__btn {
  min-width: 168px;
  height: 46px;
  padding: 0 20px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}

.avcc__btn--deny {
  border: 1.5px solid #0f2f35;
  background: #fff;
  color: #0f2f35;
}

.avcc__btn--deny:hover {
  background: #f1f4f5;
}

.avcc__btn--allow {
  border: 1.5px solid #0f2f35;
  background: #0f2f35;
  color: #fff;
}

.avcc__btn--allow:hover {
  background: #174b56;
  border-color: #174b56;
}

.avcc__btn:focus-visible {
  outline: 3px solid var(--tb-theme-color, #ddcb44);
  outline-offset: 2px;
}

/* Footer "Cookie settings" link */
.avcc-open {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.avcc-open:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .avcc__box {
    flex-wrap: wrap;
  }

  .avcc__icon {
    display: none;
  }

  .avcc__actions {
    width: 100%;
  }

  .avcc__btn {
    flex: 1 1 0;
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .avcc {
    left: 8px;
    right: 8px;
    bottom: 8px;
  }

  .avcc__box {
    padding: 16px;
    gap: 14px;
  }

  .avcc__actions {
    flex-direction: column-reverse;
  }

  .avcc__btn {
    flex: none;
    width: 100%;
  }
}
