.content-card {
  border: 1px solid #dfe5ed;
  border-radius: 18px;
  background: #fff;
  padding: clamp(24px, 5vw, 48px);
  box-shadow: 0 16px 42px rgb(15 32 58 / 8%);
}

.content-card h2 {
  margin: 32px 0 10px;
  color: #17243b;
  font-size: clamp(20px, 3vw, 25px);
}

.content-card h2:first-child {
  margin-top: 0;
}

.content-card p {
  margin: 0 0 14px;
  color: #46556b;
  font-size: 15px;
  line-height: 1.75;
}

.content-card a {
  color: #a53218;
  font-weight: 700;
}

.content-card code {
  border-radius: 5px;
  background: #edf1f6;
  padding: 2px 5px;
  color: #17243b;
}

.cookie-consent {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 1000;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px 24px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 16px;
  background: rgb(12 22 43 / 98%);
  padding: 18px 20px;
  color: #e6edf7;
  box-shadow: 0 18px 54px rgb(0 0 0 / 35%);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

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

.cookie-consent__copy {
  min-width: 0;
}

.cookie-consent__title {
  margin: 0 0 5px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.cookie-consent__text {
  max-width: 760px;
  margin: 0;
  color: #d5deeb;
  font-size: 13px;
  line-height: 1.55;
}

.cookie-consent__text a,
.cookie-preferences-links a {
  color: #ff9b77;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.cookie-consent__button,
.cookie-settings-button {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 10px 16px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.cookie-consent__button--accept {
  background: #a53218;
  color: #fff;
}

.cookie-consent__button--reject {
  border-color: #8d9bb0;
  background: transparent;
  color: #fff;
}

.cookie-consent__button:focus-visible,
.cookie-settings-button:focus-visible,
.cookie-preferences-links a:focus-visible {
  outline: 3px solid #ffd4c5;
  outline-offset: 3px;
}

.cookie-preferences-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
  margin-top: 18px;
  color: #c6d0df;
  font-size: 12.5px;
}

.cookie-settings-button {
  min-height: auto;
  border: 0;
  background: transparent;
  padding: 2px;
  color: #ff9b77;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-preferences-links--standalone {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  margin: 0;
  border-radius: 10px;
  background: #0c162b;
  padding: 10px 12px;
  box-shadow: 0 8px 24px rgb(0 0 0 / 22%);
}

@media (max-width: 760px) {
  .cookie-consent {
    right: 10px;
    bottom: 10px;
    left: 10px;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }

  .cookie-consent__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-consent__button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-consent,
  .cookie-consent * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
