.bbny-banner {
  background: var(--wp--preset--color--background, #faf9f5);
  box-sizing: border-box;
  color: var(--wp--preset--color--foreground, #1a1a1a);
  font-family: inherit;
  font-size: clamp(13px, 1.1vw, 15px);
  line-height: 1.35;
  padding: 8px clamp(16px, 4vw, 64px);
  position: relative;
  text-align: center;
  width: 100%;
  z-index: 2;
}

.bbny-banner,
.bbny-banner * {
  box-sizing: border-box;
}

/* Keep absolute block-theme headers anchored below the body-level banner. */
body > .bbny-banner ~ .wp-site-blocks {
  position: relative;
}

.bbny-banner__content {
  margin: 0 auto;
  max-width: 1200px;
  overflow-wrap: anywhere;
}

.bbny-banner__content p {
  margin: 0;
}

.bbny-banner__content p + p {
  margin-top: 0.25em;
}

.bbny-banner__content a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.bbny-banner__content a:hover {
  text-decoration-thickness: 2px;
}

.bbny-banner__content a:focus-visible {
  border-radius: 2px;
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

@media (max-width: 600px) {
  .bbny-banner {
    font-size: 13px;
    padding-block: 7px;
  }
}

/* Minimly positions the body, so its mobile admin bar shares the banner offset. */
@media screen and (max-width: 782px) {
  body.wp-theme-minimly.admin-bar > .bbny-banner {
    margin-top: 46px;
  }
}
