/* In plain HTML both rates are dated and labelled. JavaScript selects the current one. */
html.bf26-active .bf26-regular, html.bf26-inactive .bf26-offer,
.bf26-open[hidden], #bf26-dialog:not([open]) { display: none !important; }
.program-card .bf26-offer {
  margin-top: .8rem;
  padding-left: .85rem;
  border-left: 3px solid #ed7967;
  line-height: 1.5;
}
.program-card .bf26-offer strong { color: #fff5e4; font-weight: 700; }
.bf26-open {
  display: block;
  padding: .35rem 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .23em;
  font: inherit;
}
#bf26-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  padding: 0;
  width: min(27rem, calc(100vw - 1.5rem), calc(80vh - 4.6rem));
  width: min(27rem, calc(100vw - 1.5rem), calc(80dvh - 4.6rem));
  max-width: none;
  max-height: calc(100vh - 1.5rem);
  max-height: calc(100dvh - 1.5rem);
  overflow: auto;
  border: 1px solid #d2b995;
  border-radius: .8rem;
  color: #191b1b;
  background: #f5e7ce;
  box-shadow: 0 20px 90px #08040799;
}
#bf26-dialog::backdrop { background: rgb(14 12 16 / 78%); }
#bf26-dialog img { display: block; width: 100%; height: auto; }
.bf26-close {
  position: absolute;
  top: .55rem;
  right: .55rem;
  display: grid;
  place-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid #fff7e9;
  border-radius: 50%;
  background: #231c1b;
  color: #fff7e9;
  font: 1.8rem/1 Arial, sans-serif;
}
.bf26-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 3.25rem;
  padding: .65rem 1.25rem;
  background: #171b1c;
  color: #fff4de;
  font: 650 1rem/1.35 'DM Sans', Arial, sans-serif;
}
.bf26-link:hover { background: #292829; }
#bf26-dialog :focus-visible, .bf26-open:focus-visible { outline: 3px solid #f4b54c; outline-offset: -4px; }
.bf26-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
#bf26-dialog.bf26-text .bf26-sr { position: static; clip-path: none; width: auto; height: auto; white-space: normal; margin: 0; padding: 1rem 1.25rem; }
#bf26-dialog.bf26-text h2 { font-size: 1.65rem; max-width: calc(100% - 3rem); }
#bf26-dialog.bf26-text img { display: none; }
@media (max-height: 420px) and (orientation: landscape) {
  #bf26-dialog { width: min(25rem, 92vw); }
  #bf26-dialog[open]:not(.bf26-text) { display: grid; grid-template-columns: 1fr .68fr; }
  .bf26-link { gap: .45rem; }
  .bf26-close { top: .3rem; right: .3rem; }
}
