/* Cookie consent banner. Accept, Reject and Choose are deliberately styled identically. */
.cc-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2147483000;
  padding: 16px max(16px, env(safe-area-inset-right)) calc(16px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  background: #fff;
  color: #2b3136;
  box-shadow: 0 -2px 18px rgba(0, 0, 0, 0.22);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  max-height: 92vh;
  overflow-y: auto;
}

.cc-banner[hidden],
.cc-panel[hidden] {
  display: none !important;
}

.cc-body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.cc-text {
  flex: 1 1 420px;
  margin: 0;
}

.cc-text a {
  color: #0b6f9a;
  text-decoration: underline;
}

.cc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cc-btn {
  min-width: 112px;
  padding: 10px 16px;
  border: 2px solid #4d555b;
  border-radius: 8px;
  background: #4d555b;
  color: #fff;
  font: inherit;
  cursor: pointer;
}

.cc-btn:hover {
  background: #343a3f;
  border-color: #343a3f;
}

.cc-btn:focus-visible,
.cc-option input:focus-visible,
.cc-text a:focus-visible {
  outline: 3px solid #0b9bd7;
  outline-offset: 2px;
}

.cc-panel {
  display: flex;
  flex: 1 1 100%;
  flex-direction: column;
  gap: 10px;
  padding: 12px 0 4px;
  border-top: 1px solid #dde2e6;
}

.cc-option {
  display: flex;
  font-weight: 400;
  align-items: flex-start;
  gap: 10px;
}

.cc-option strong {
  font-weight: 700;
}

.cc-option input {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 3px;
}

.cc-panel .cc-btn {
  align-self: flex-start;
}

@media (max-width: 600px) {
  .cc-actions {
    width: 100%;
  }

  .cc-actions .cc-btn {
    flex: 1 1 30%;
    min-width: 0;
    padding-inline: 8px;
  }
}
