.privacy-choice-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}

.cookie-consent[hidden],
.cookie-consent [hidden] { display: none !important; }
.cookie-consent {
  box-sizing: border-box;
  position: fixed;
  z-index: 50;
  inset: auto 1rem 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, .65fr);
  gap: 1.25rem 2rem;
  width: min(100% - 2rem, 1020px);
  max-height: min(85dvh, 700px);
  margin-inline: auto;
  padding: clamp(1.1rem, 3vw, 1.75rem);
  overflow: auto;
  border: 1px solid #c9d3d0;
  background: #f7f9f5;
  color: #15242a;
  box-shadow: 0 16px 56px rgb(21 36 42 / 20%);
}
.cookie-consent__eyebrow {
  margin: 0 0 .45rem;
  color: #23736b;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.cookie-consent h2 {
  margin: 0 0 .55rem;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  letter-spacing: -.035em;
}
.cookie-consent__summary > p:last-child {
  max-width: 68ch;
  margin: 0;
  color: #52625f;
  font-size: .84rem;
  line-height: 1.6;
}
.cookie-consent a { color: #1b615b; text-underline-offset: .15em; }
.cookie-consent__actions {
  display: flex;
  align-content: center;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: .55rem;
}
.cookie-button {
  min-height: 42px;
  padding: .55rem .8rem;
  border: 1px solid #9caaa4;
  border-radius: 3px;
  background: transparent;
  color: #193d3b;
  font: inherit;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
}
.cookie-button:hover { background: #e9eee9; }
.cookie-button--primary { border-color: #315b55; background: #315b55; color: #fff; }
.cookie-button--primary:hover { background: #1b615b; }
.cookie-button--text { border-color: transparent; text-decoration: underline; text-underline-offset: .2em; }
.cookie-consent__settings { grid-column: 1 / -1; border-top: 1px solid #d2dbd3; padding-top: 1rem; }
.cookie-consent__settings h3 { margin: 0 0 .45rem; font-size: 1rem; }
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem 0;
  border-top: 1px solid #e0e5df;
  color: #193d3b;
  font-size: .83rem;
}
.cookie-category > span:first-child,
.cookie-category > div { display: grid; gap: .2rem; }
.cookie-category span span,
.cookie-category > div > span { color: #52625f; font-size: .75rem; line-height: 1.45; }
.cookie-category__status { color: #315b55; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.cookie-category input { width: 1.15rem; height: 1.15rem; accent-color: #315b55; }
.cookie-consent__settings > .cookie-button { margin-top: .75rem; }
@media (max-width: 760px) {
  .cookie-consent { inset: auto .5rem .5rem; width: calc(100% - 1rem); grid-template-columns: 1fr; gap: 1rem; padding: 1rem; }
  .cookie-consent__actions { justify-content: flex-start; }
  .cookie-consent__settings { grid-column: auto; }
}
@media (max-width: 420px) {
  .cookie-consent__actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-button--text { grid-column: 1 / -1; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-consent *, .cookie-consent *::before, .cookie-consent *::after { scroll-behavior: auto; }
}
