.fo-consent-banner[hidden],
.fo-consent-settings-row[hidden],
.fo-consent-settings[hidden] {
  display: none !important;
}

.fo-consent-banner {
  position: fixed;
  z-index: 2147483000;
  left: 18px;
  right: 18px;
  bottom: 18px;
  font-family: inherit;
}

.fo-consent-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 20px 22px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  background: #ffffff;
  color: #17212b;

  border: 1px solid rgba(23, 33, 43, 0.14);
  border-radius: 18px;

  box-shadow:
    0 20px 60px rgba(10, 22, 35, 0.20),
    0 2px 8px rgba(10, 22, 35, 0.08);
}

.fo-consent-copy {
  max-width: 730px;
}

.fo-consent-copy strong {
  display: block;
  margin-bottom: 6px;

  font-size: 16px;
  line-height: 1.3;
}

.fo-consent-copy p {
  margin: 0;

  color: #53606b;
  font-size: 13px;
  line-height: 1.55;
}

.fo-consent-copy a {
  color: #315efb;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.fo-consent-actions {
  flex: 0 0 auto;

  display: flex;
  align-items: center;
  gap: 10px;
}

.fo-consent-btn {
  appearance: none;

  min-height: 44px;
  padding: 10px 16px;

  border-radius: 11px;
  border: 1px solid #cbd2da;

  font: inherit;
  font-size: 13px;
  font-weight: 750;

  cursor: pointer;
}

.fo-consent-accept,
.fo-consent-reject {
  background: #ffffff;
  border: 2px solid #17212b;
  color: #17212b;
}

.fo-consent-accept:hover,
.fo-consent-reject:hover {
  background: #17212b;
  color: #ffffff;
}

.fo-consent-btn:focus-visible,
.fo-consent-settings:focus-visible {
  outline: 3px solid #17212b;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #ffffff;
}

.fo-consent-settings-row {
  margin: 6px 0 0;
}

.fo-consent-settings {
  appearance: none;

  min-height: 44px;
  padding: 0;

  border: 0;
  background: none;
  color: #ffffff;

  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;

  cursor: pointer;
}

body { padding-bottom: 0 !important; }

@media (max-width: 720px) {

  /* In-flow bar at the top of the page: never overlays content, scrolls away. */
  .fo-consent-banner {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    border-bottom: 1px solid rgba(23, 33, 43, 0.14);
    background: #ffffff;
  }

  .fo-consent-inner {
    display: block;
    width: 100%;
    padding: 12px 14px 14px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .fo-consent-copy strong {
    margin-bottom: 3px;
    font-size: 14px;
  }

  .fo-consent-copy p {
    font-size: 12.5px;
    line-height: 1.45;
  }

  .fo-consent-copy a {
    display: inline-block;
    padding: 4px 0;
  }

  .fo-consent-actions {
    margin-top: 8px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .fo-consent-btn {
    width: 100%;
    min-height: 44px;
    padding: 8px 6px;
    font-size: 13px;
  }
}
