.cky-consent-container,
.cky-modal {
  font-family: "Hanken Grotesk", sans-serif;
  letter-spacing: 0;
}

.cky-consent-container .cky-notice-btn-wrapper {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: stretch;
  margin-top: 16px !important;
}

.cky-consent-container .cky-notice-btn-wrapper .cky-btn-customize {
  grid-column: 1 / -1;
}

.cky-modal .cky-prefrence-btn-wrapper {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: stretch;
}

.cky-consent-container .cky-notice-btn-wrapper button.cky-btn,
.cky-modal .cky-prefrence-btn-wrapper button.cky-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  min-width: 0;
  order: 0 !important;
  width: 100%;
  min-height: 44px;
  height: auto;
  margin: 0 !important;
  padding: 10px 12px !important;
  border-width: 1px !important;
  border-style: solid !important;
  border-radius: 6px !important;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  text-align: center;
  text-transform: none;
  white-space: normal;
}

.cky-consent-container .cky-notice-btn-wrapper button.cky-btn::before,
.cky-consent-container .cky-notice-btn-wrapper button.cky-btn::after,
.cky-modal .cky-prefrence-btn-wrapper button.cky-btn::before,
.cky-modal .cky-prefrence-btn-wrapper button.cky-btn::after {
  content: none;
}

.cky-consent-container button.cky-btn:focus-visible,
.cky-modal button.cky-btn:focus-visible {
  outline: 3px solid #100434;
  outline-offset: 3px;
}

.cky-modal .cky-preference-center {
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
}

@media (max-width: 480px) {
  .cky-consent-container {
    left: 16px !important;
    right: 16px !important;
    bottom: 16px !important;
    width: auto !important;
    max-width: none !important;
  }

  .cky-consent-container .cky-notice-btn-wrapper,
  .cky-modal .cky-prefrence-btn-wrapper {
    grid-template-columns: minmax(0, 1fr);
  }

  .cky-consent-container .cky-consent-bar {
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
  }
}
