/* Consent banner in the style of the 90-Day Speaking Program page.
   Loaded after /silktide/silktide-consent-manager.css, on that page only. */
#silktide-wrapper {
  --fontFamily: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
  --primaryColor: #fc890e;
  --backgroundColor: #141b45;
  --textColor: #ffffff;
  --focus: 0 0 0 2px #141b45, 0 0 0 4px #a7b0d5;
}

#silktide-wrapper .st-button {
  border-radius: 9999px;
  padding: 9px 20px;
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
  font-family: var(--fontFamily);
  color: #12152e;
  transition: filter 0.2s, background-color 0.2s, border-color 0.2s;
}

#silktide-wrapper .st-button--primary:hover {
  background-color: var(--primaryColor);
  color: #12152e;
  filter: brightness(0.95);
}

/* "Essential only" is the quiet choice: outlined */
#silktide-wrapper .reject-all,
#silktide-wrapper .preferences-reject-all {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 10px 21px;
  color: #ffffff;
}

#silktide-wrapper .reject-all:hover,
#silktide-wrapper .preferences-reject-all:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
  filter: none;
}

#silktide-banner {
  width: 440px;
  padding: 22px 24px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.75);
}

#silktide-banner p {
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

#silktide-banner a,
#silktide-banner .preferences {
  color: #a7b0d5;
  font-size: 14px;
  font-family: var(--fontFamily);
}

#silktide-banner .actions {
  margin-top: 16px;
  gap: 10px;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
}

#silktide-banner .actions-row {
  gap: 10px;
}

#silktide-banner a.silktide-logo {
  display: none;
}

#silktide-modal {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

#silktide-modal h1 {
  font-family: 'Marcellus', Georgia, serif;
  font-weight: 400;
}

/* phones: a compact strip at the bottom, both buttons on one line */
@media (max-width: 599px) {
  #silktide-banner {
    right: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
    padding: 16px;
  }

  #silktide-banner p {
    font-size: 13px;
  }

  #silktide-banner .actions {
    margin-top: 12px;
    gap: 8px;
  }

  #silktide-wrapper #silktide-banner .st-button {
    flex: 1 1 0;
    padding: 8px 10px;
    font-size: 14px;
    white-space: nowrap;
  }

  #silktide-wrapper #silktide-banner .reject-all {
    padding: 9px 11px;
  }

  #silktide-banner .actions-row {
    flex-basis: 100%;
    justify-content: center;
  }
}
