.main-nav > .bf-nav-link {
  padding: 9px 11px;
  border: 1px solid #191919;
  border-radius: 999px;
  background: #191919;
  color: #fff;
  line-height: 1.2;
  white-space: nowrap;
}

.main-nav > .bf-nav-link:is(:hover, :focus-visible, [aria-current="page"]) {
  background: #333;
  color: #fff;
}

[data-bf-active][hidden],
[data-bf-ended][hidden] {
  display: none !important;
}

.bf-card {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  align-items: stretch;
  width: 92%;
  max-width: 1240px;
  margin: clamp(22px, 3.5vw, 48px) auto 0;
  overflow: hidden;
  border: 1px solid #191919;
  border-radius: 24px;
  background: #fff;
  color: #191919;
}

.bf-card__copy {
  align-self: center;
  padding: clamp(24px, 5vw, 68px);
}

.bf-card__title {
  margin: 0 0 14px;
  color: #191919;
  font-size: clamp(36px, 4.8vw, 67px);
  line-height: 1.04;
  text-wrap: balance;
}

.bf-card__copy p {
  max-width: 40ch;
  margin: 0 0 15px;
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.4;
}

.bf-card__copy p,
.bf-options p,
.bf-request p {
  text-align: left !important;
}

.bf-card__copy .bf-date {
  max-width: none;
  color: #474747;
  font-size: 16px;
  font-weight: 700;
}

.bf-card__art {
  display: grid;
  place-items: center;
  margin: 0;
  padding: clamp(10px, 1.8vw, 24px);
  background: #f6f6f6;
}

.bf-card__art img {
  width: min(100%, 430px);
  height: auto;
  aspect-ratio: 1;
  border-radius: 12px;
}

.bf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
}

.bf-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  padding: 9px 16px;
  border: 1px solid #191919;
  border-radius: 999px;
  background: #191919;
  color: #fff;
  font: inherit;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
}

.bf-action--light {
  background: #fff;
  color: #191919;
}

.bf-action:is(:hover, :focus-visible) {
  background: #333;
  color: #fff;
}

.bf-card .breadcrumbs {
  margin: 0 0 25px;
}

.bf-page__content {
  padding-top: clamp(32px, 5vw, 64px);
}

.bf-options h2,
.bf-request h2,
.bf-ended h1 {
  margin: 0 0 16px;
  color: #191919;
  font-size: clamp(30px, 3.3vw, 46px);
  line-height: 1.15;
}

.bf-options__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.bf-discounts {
  width: 100%;
  margin: 24px 0;
  border: 1px solid #dedede;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 16px;
  text-align: left;
  color: #191919;
}

.bf-discounts th,
.bf-discounts td {
  padding: 12px clamp(12px, 3vw, 24px);
  line-height: 1.35;
}

.bf-discounts thead {
  background: #191919;
  color: #fff;
}

.bf-discounts tbody tr:nth-child(even) {
  background: #f6f6f6;
}

.bf-discounts tbody th {
  font-weight: 500;
}

.bf-discounts td {
  width: 33%;
  font-weight: 700;
}

.bf-terms {
  margin-top: 20px;
}

.bf-options__grid article {
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid #dedede;
  border-radius: 18px;
  background: #f8f8f8;
}

.bf-options__grid h3 {
  margin: 0 0 8px;
  color: #191919;
  font-size: clamp(21px, 2.1vw, 28px);
  line-height: 1.2;
}

.bf-options__grid p {
  margin: 0;
}

.bf-request {
  width: min(100%, 740px);
  margin: clamp(36px, 5vw, 66px) auto 0;
  scroll-margin-top: calc(var(--topbar) + var(--header) + 20px);
}

.bf-request .prototype-form {
  border-color: #dedede;
}

.bf-request .bf-action:disabled:hover {
  background: #191919;
}

.bf-ended {
  padding-block: clamp(36px, 5vw, 75px);
}

@media (max-width: 1150px) {
  .main-nav > .bf-nav-link {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 3px 0;
  }
}

@media (max-width: 760px) {
  .bf-card,
  .bf-options__grid {
    grid-template-columns: 1fr;
  }

  .bf-card__art img {
    width: min(100%, 340px);
  }
}

@media (max-width: 450px) {
  .bf-actions > .bf-action {
    width: 100%;
  }
}
