/* Black Friday deals post (Figma "Blog — Black Friday SaaS deals 2026"): tracker, deal finder, tables, deal cards,
   Tulvo offer card, deal calendar and the lower editorial blocks. Builds on css/blog-post.css tokens and layout. */

.post-bf {
  --bf-green: #15803d;
  --bf-green-bg: #f2fbf5;
  --bf-green-border: #d3eedd;
  --bf-blue-border: #d6e7fb;
  --bf-coupon-bg: #fff8d6;
  --bf-coupon-border: rgba(217, 163, 0, 0.7);
  --bf-coupon-text: #422c00;
  --bf-coupon-label: #785000;
}

.post-bf [hidden] { display: none !important; }

/* ------------------------------------------------------------------ header */
.bf-header-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.post-btn-outline {
  background: var(--post-bg-surface);
  color: var(--post-text);
  border: 1px solid var(--post-border);
  box-shadow: none;
}
.post-btn-outline:hover { background: var(--post-bg-muted); }

.bf-reviewed {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 4px 12px 4px 4px;
  border-radius: 999px;
  background: var(--post-bg-muted);
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.028px;
  color: var(--post-text-2);
}
.bf-reviewed img { flex: none; width: 24px; height: 24px; border-radius: 50%; }
.bf-reviewed span { text-align: left; }
.bf-reviewed strong { font-weight: 500; color: var(--post-text); }
/* Phones: the line wraps, so the text sits beside the avatar in a rounded card instead of a centred stadium */
@media (max-width: 720px) {
  .bf-reviewed { border-radius: 16px; padding: 6px 14px 6px 6px; font-size: 13px; line-height: 18px; }
}
/* Phones: the two header buttons stack at full width (as the site heroes do) instead of wrapping unevenly */
@media (max-width: 480px) {
  .bf-header-actions { flex-direction: column; align-self: stretch; }
  .bf-header-actions .post-btn { justify-content: center; width: 100%; height: 48px; }
}

/* ------------------------------------------------------------------ shared text */
.post-bf .post-article .bf-answer { font-weight: 600; color: var(--post-text); }
.post-bf .post-article .bf-answer.is-medium,
.post-bf .post-article .bf-answer:has(> strong) { font-weight: 500; }
.post-bf .post-article .bf-answer strong { font-weight: 600; }
.post-bf .post-article .bf-lead { color: var(--post-text-2); }
.post-bf .post-article .bf-lead strong { font-weight: 600; color: var(--post-text-2); }
.post-bf .post-article .bf-note,
.post-bf .post-article .bf-footnote { font-size: 13px; line-height: 20px; letter-spacing: -0.039px; color: var(--post-text-3); }
.post-bf .post-article .bf-footnote { font-size: 12px; line-height: 16px; letter-spacing: 0; }
.post-bf .bf-h3 {
  padding-top: 8px;
  scroll-margin-top: 96px;
  /* A step above the bold answer paragraph that follows it, so it reads as the heading */
  font-size: 20px;
  line-height: 28px;
  letter-spacing: -0.3px;
  font-weight: 600;
}
.post-bf .bf-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: 0.48px;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--post-text-3);
}

/* ------------------------------------------------------------------ status pill */
.bf-pill {
  display: inline-block;
  flex-shrink: 0;
  padding: 3px 10px;
  border: 1px solid var(--post-border);
  border-radius: 999px;
  background: var(--post-bg-muted);
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  color: var(--post-text-2);
  white-space: nowrap;
}
.bf-pill.is-live { background: var(--bf-green-bg); border-color: var(--bf-green-border); color: var(--bf-green); }
.bf-pill.is-scheduled { background: var(--post-bg-accent-subtle); border-color: var(--bf-blue-border); color: var(--post-text-accent); }
.bf-pill.is-ended { color: var(--post-text-3); }
.bf-pill.is-offer { background: var(--post-bg-accent-subtle); border-color: var(--post-bg-accent-subtle); color: var(--post-text-accent); line-height: 1.4; }

/* ------------------------------------------------------------------ tracker */
.bf-tracker {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 24px;
  border: 1px solid var(--post-border);
  border-radius: 16px;
  background: var(--post-bg-surface);
}
.bf-tracker-copy { display: flex; flex: 1; flex-direction: column; gap: 6px; min-width: 0; }
.bf-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15); }
.post-bf .post-article .bf-tracker-title { font-size: 20px; line-height: 1.3; letter-spacing: -0.2px; font-weight: 600; color: var(--post-text); }
.post-bf .post-article .bf-tracker-text { font-size: 14px; line-height: 1.5; letter-spacing: 0; }
.bf-dates { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.bf-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 96px;
  overflow: hidden;
  border: 1px solid var(--post-border);
  border-radius: 12px;
  background: var(--post-bg-surface);
  text-align: center;
}
.bf-date-month {
  align-self: stretch;
  padding: 4px 0;
  background: var(--post-bg-inverse);
  font-family: var(--post-mono);
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.88px;
  font-weight: 500;
  text-transform: uppercase;
  color: #fff;
}
.bf-date-day { padding-top: 6px; font-size: 28px; line-height: 1.1; letter-spacing: -0.56px; font-weight: 600; color: var(--post-text); }
.bf-date-label { padding: 2px 6px 0; font-size: 11px; line-height: 1.3; font-weight: 500; color: var(--post-text); }
.bf-date-count { padding: 2px 6px 10px; font-size: 11px; line-height: 1.3; color: var(--post-text-3); }
.bf-date.is-highlight { border: 1.5px solid var(--post-accent); }
.bf-date.is-highlight .bf-date-month { background: var(--post-accent); }
.bf-date.is-highlight .bf-date-count { color: var(--post-text-accent); }
.bf-date[data-phase="on"] .bf-date-count { color: var(--bf-green); font-weight: 500; }

/* ------------------------------------------------------------------ deal finder */
.bf-finder {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px 24px;
  border: 1px solid var(--post-border);
  border-radius: 16px;
  background: var(--post-bg-surface);
}
.bf-finder-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.post-bf .post-article .bf-finder-title { padding: 0; font-size: 18px; line-height: 1.3; letter-spacing: 0; font-weight: 600; }
.bf-tabs { display: flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--post-bg-muted); }
.bf-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font: inherit;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--post-text-2);
  cursor: pointer;
}
.bf-tab .bf-count { font-weight: 400; color: var(--post-text-3); }
.bf-tab[aria-selected="true"] { background: var(--post-bg-surface); color: var(--post-text); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); }
.bf-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--post-border-strong);
  border-radius: 10px;
  background: var(--post-bg-surface);
}
.bf-search:focus-within { border-color: var(--post-accent); box-shadow: 0 0 0 3px rgba(5, 136, 240, 0.15); }
.bf-search svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--post-text-3); }
.bf-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 14px;
  line-height: 20px;
  color: var(--post-text);
}
.bf-search input::placeholder { color: var(--post-text-3); }
.bf-search kbd {
  padding: 1px 6px;
  border: 1px solid var(--post-border);
  border-radius: 4px;
  background: var(--post-bg-muted);
  font-family: inherit;
  font-size: 12px;
  line-height: 16px;
  color: var(--post-text-3);
}
.bf-finder-result { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--post-border); }
.post-bf .post-article .bf-finder-result p { font-size: 14px; line-height: 20px; letter-spacing: 0; }
.bf-reset {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--post-text-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.bf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bf-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--post-border);
  border-radius: 999px;
  background: var(--post-bg-surface);
  font: inherit;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--post-text);
  cursor: pointer;
}
.bf-chip .bf-count { padding: 1px 6px; border-radius: 999px; background: var(--post-bg-muted); font-size: 11px; line-height: 16px; color: var(--post-text-2); }
.bf-chip:hover { border-color: var(--post-border-strong); }
.bf-chip[aria-pressed="true"] { border-color: var(--post-bg-inverse); background: var(--post-bg-inverse); color: #fff; }
.bf-chip[aria-pressed="true"] .bf-count { background: rgba(255, 255, 255, 0.16); color: var(--post-text-inverse-muted); }
.post-bf .post-article .bf-finder-empty { font-size: 14px; line-height: 20px; }
.bf-tab:focus-visible, .bf-chip:focus-visible, .bf-reset:focus-visible { outline: 2px solid var(--post-accent); outline-offset: 2px; }
.post-bf .is-filtered-out { display: none !important; }

/* ------------------------------------------------------------------ callout */
.bf-callout {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px 20px 20px;
  border: 1px solid var(--bf-blue-border);
  border-radius: 16px;
  background: #f1f7fe;
}
.bf-callout-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 1px solid var(--bf-blue-border);
  border-radius: 8px;
  background: var(--post-bg-surface);
  color: var(--post-text-accent);
}
.bf-callout-icon svg { width: 16px; height: 16px; }
.post-bf .post-article .bf-callout p { font-size: 16px; line-height: 24px; letter-spacing: -0.048px; }
.bf-callout strong { display: block; margin-bottom: 4px; font-weight: 500; color: var(--post-text); }

/* ------------------------------------------------------------------ tables */
.bf-table-wrap { overflow: hidden; border: 1px solid var(--post-border); border-radius: 16px; background: var(--post-bg-surface); }
.bf-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.bf-table th, .bf-table td {
  padding: 16px;
  border-bottom: 1px solid var(--post-border);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.028px;
  font-weight: 400;
  color: var(--post-text-2);
}
.bf-table tbody tr:last-child > * { border-bottom: 0; }
.bf-table thead th, .bf-table thead td {
  padding: 12px 16px;
  background: var(--post-bg-muted);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0;
  font-weight: 500;
  color: var(--post-text-3);
}
.bf-table th:first-child { width: 182px; }
.bf-table td:nth-child(2) { width: 332px; }
.bf-table tbody th { font-weight: 500; color: var(--post-text); }
.bf-tool { display: inline-flex; align-items: flex-start; gap: 10px; color: var(--post-text); text-decoration: none; }
a.bf-tool:hover { color: var(--post-text-accent); }
.bf-logo-sm, .bf-logo-xs, .bf-logo {
  flex-shrink: 0;
  border: 1px solid var(--post-border);
  background: var(--post-bg-surface);
  object-fit: contain;
}
.bf-logo-sm { width: 24px; height: 24px; border-radius: 6px; }
.bf-logo-xs { width: 28px; height: 28px; border-radius: 7px; }
.bf-logo { width: 48px; height: 48px; border-radius: 12px; }
/* Live table: deal + category | discount, catch, renewal badge | code chip, end date */
.bf-table-live th:first-child { width: 200px; }
.bf-table-live td:nth-child(2) { width: auto; }
.bf-table-live td:nth-child(3) { width: 228px; }
.bf-table-live tbody tr { transition: background-color 0.15s ease; }
.bf-table-live tbody tr:hover { background: var(--post-bg-muted); }
.bf-table-live .bf-sep { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bf-live-tool { align-items: center; gap: 12px; }
.bf-live-tool .bf-logo-sm { width: 28px; height: 28px; border-radius: 7px; }
.bf-live-name { display: flex; flex-direction: column; min-width: 0; font-weight: 500; line-height: 20px; }
.bf-live-cat { font-size: 12px; line-height: 16px; font-weight: 400; color: var(--post-text-3); }
a.bf-live-tool:hover .bf-live-cat { color: var(--post-text-3); }
.bf-live-deal { display: block; font-weight: 500; color: var(--post-text); }
.bf-live-catch { display: block; margin-top: 2px; color: var(--post-text-3); }
.bf-live-renew {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  padding: 1px 8px;
  border: 1px solid var(--bf-green-border);
  border-radius: 999px;
  background: var(--bf-green-bg);
  font-size: 12px;
  line-height: 18px;
  font-weight: 500;
  color: var(--bf-green);
}
.bf-live-renew svg { width: 12px; height: 12px; }
.bf-live-codes { display: flex; flex-wrap: wrap; gap: 6px; }
.bf-code.is-sm { max-width: 100%; border-radius: 6px; }
.bf-code.is-sm code { padding: 3px 8px; font-size: 13px; line-height: 18px; letter-spacing: 0.2px; overflow-wrap: anywhere; }
.bf-code.is-sm .bf-code-plan { padding-left: 8px; font-size: 10px; }
.bf-code.is-sm .bf-code-plan + code { padding-left: 6px; }
.bf-code.is-sm .bf-code-copy { padding: 3px 7px; border-radius: 0 6px 6px 0; }
.bf-code.is-sm .bf-code-copy.is-copied { color: var(--bf-green); }
.bf-live-nocode { display: inline-flex; align-items: center; gap: 6px; color: var(--post-text-2); }
.bf-live-nocode svg { width: 14px; height: 14px; color: var(--bf-green); }
.bf-live-end { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; line-height: 18px; color: var(--post-text-2); }
.bf-live-end svg { flex: none; width: 13px; height: 13px; color: var(--post-text-3); }
.bf-live-end.is-unknown { color: var(--post-text-3); }
/* Live table, "Starting soon": announced deals under the live ones, with the start time and a ticking countdown */
.bf-table-live tbody[hidden] { display: none; }
.bf-table-live .bf-live-soon-head th {
  width: auto;
  padding: 10px 16px;
  border-top: 1px solid var(--post-border);
  background: var(--post-bg-muted);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0;
  font-weight: 500;
  color: var(--post-text-accent);
}
.bf-live-soon-label { display: inline-flex; align-items: center; gap: 6px; }
.bf-live-soon-label svg { flex: none; width: 14px; height: 14px; }
.bf-table-live tbody tr.bf-live-soon-head:hover { background: none; }
.bf-live-start { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-top: 8px; font-size: 13px; line-height: 18px; font-weight: 500; color: var(--post-text-accent); }
.bf-live-start > svg { flex: none; width: 13px; height: 13px; }
.bf-live-countdown {
  padding: 1px 8px;
  border: 1px solid var(--bf-blue-border);
  border-radius: 999px;
  background: var(--post-bg-accent-subtle);
  font-size: 12px;
  line-height: 18px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.bf-table-live tr:not([data-state="scheduled"]) .bf-live-start { display: none; }

/* ------------------------------------------------------------------ Tulvo offer card */
.bf-offer {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 30px 32px;
  border: 2px solid var(--post-accent);
  border-radius: 20px;
  background: var(--post-bg-surface);
  box-shadow: 0 16px 20px rgba(5, 136, 240, 0.12);
  scroll-margin-top: 96px;
}
.bf-offer-top { display: flex; align-items: center; gap: 10px; }
.bf-offer-top .bf-eyebrow { flex: 1; }
.post-bf .post-article .bf-offer-title { padding: 0; font-size: 28px; line-height: 1.2; letter-spacing: -0.56px; font-weight: 600; }
.post-bf .post-article .bf-offer-text { font-size: 16px; line-height: 1.5; letter-spacing: 0; }
.bf-prices, .bf-gifts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; padding: 0; list-style: none; }
.bf-price { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 14px; background: var(--post-bg-accent-subtle); }
.post-bf .post-article .bf-price p { font-size: 13px; line-height: 1.5; letter-spacing: 0; }
.post-bf .post-article .bf-price .bf-price-plan { font-size: 12px; line-height: 1.3; letter-spacing: 0.72px; font-weight: 500; color: var(--post-text-accent); }
.post-bf .post-article .bf-price-row { display: flex; align-items: baseline; gap: 10px; }
.bf-price-row strong { font-size: 40px; line-height: 1.1; letter-spacing: -0.8px; font-weight: 600; color: var(--post-text); }
.bf-price-row s { font-size: 18px; color: var(--post-text-3); }
.bf-price-detail strong { font-weight: 600; color: var(--post-text); }
.bf-price-save { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--post-bg-surface); font-size: 12px; line-height: 1.4; font-weight: 500; color: var(--post-green); }
.bf-gifts li { display: flex; gap: 12px; padding: 16px; border: 1px solid var(--post-border); border-radius: 14px; }
.bf-gift-icon { display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 10px; background: var(--post-bg-inverse); font-size: 15px; font-weight: 600; color: #fff; }
.bf-gifts strong { display: block; font-size: 14px; line-height: 1.4; font-weight: 600; color: var(--post-text); }
.post-bf .post-article .bf-gifts p { margin-top: 2px; font-size: 13px; line-height: 1.5; letter-spacing: 0; }
.bf-ticket {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding: 14px 18px;
  border: 1px dashed var(--bf-coupon-border);
  border-radius: 12px;
  background: var(--bf-coupon-bg);
}
.bf-ticket-code { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.bf-ticket-code span { font-size: 11px; letter-spacing: 0.66px; font-weight: 500; color: #925e00; white-space: nowrap; }
.bf-ticket-code code { font-family: var(--post-mono); font-size: 18px; line-height: 1.3; font-weight: 500; color: var(--bf-coupon-text); }
.bf-ticket-code button {
  padding: 5px 10px;
  border: 1px solid var(--post-border);
  border-radius: 8px;
  background: var(--post-bg-surface);
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  color: var(--post-text);
  cursor: pointer;
}
.post-bf .post-article .bf-ticket > p { flex: 1; min-width: 180px; font-size: 13px; line-height: 1.5; letter-spacing: 0; }
.bf-offer-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.bf-btn-blue, .bf-btn-outline, .bf-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.bf-btn-blue { background: var(--post-accent); color: #fff; }
.bf-btn-blue:hover { background: #0573cc; }
.bf-btn-outline { border: 1px solid var(--post-border-strong); background: var(--post-bg-surface); color: var(--post-text); }
.bf-btn-outline:hover { background: var(--post-bg-muted); }
.post-bf .post-article .bf-offer-note { font-size: 12px; line-height: 1.5; letter-spacing: 0; color: var(--post-text-3); }

/* ------------------------------------------------------------------ takeaways, stats */
.bf-takeaways { padding: 36px 40px; border-radius: 16px; background: var(--post-bg-muted); }
.post-bf .post-article .bf-takeaways-title { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 18px; line-height: 26px; font-weight: 500; color: var(--post-text); }
.bf-takeaways-title svg { width: 18px; height: 18px; color: var(--post-accent); }
.bf-takeaways ul { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.post-bf .post-article .bf-takeaways li { position: relative; padding-left: 32px; font-size: 16px; line-height: 24px; letter-spacing: -0.048px; }
.bf-takeaways li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 10px;
  background: var(--post-bg-accent-subtle) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230573CC' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.bf-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; padding: 0; list-style: none; }
.bf-stats li { display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid var(--post-border); border-radius: 12px; background: var(--post-bg-surface); }
.bf-stats strong { font-size: 32px; line-height: 38px; letter-spacing: -0.64px; font-weight: 600; color: var(--post-text-accent); }
.post-bf .post-article .bf-stats p { font-size: 14px; line-height: 21px; letter-spacing: -0.042px; }

/* ------------------------------------------------------------------ deal calendar */
.bf-calendar { margin: 0; padding: 8px 24px; border: 1px solid var(--post-border); border-radius: 16px; background: var(--post-bg-surface); list-style: none; }
.bf-cal-item { display: flex; align-items: center; gap: 16px; padding: 14px 0; }
.bf-cal-item + .bf-cal-item { border-top: 1px solid transparent; }
.bf-cal-date {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 72px;
  height: 40px;
  border-radius: 10px;
  background: var(--post-bg-muted);
  font-family: var(--post-mono);
  font-size: 13px;
  line-height: 16px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--post-text);
}
.post-bf .post-article .bf-cal-item p { flex: 1; font-size: 16px; line-height: 24px; letter-spacing: -0.048px; }
.bf-cal-today { font-size: 12px; line-height: 16px; font-weight: 500; color: var(--post-text-accent); }
.bf-cal-logos { display: flex; flex-shrink: 0; gap: 6px; }
.bf-cal-item.is-today { margin: 0 -12px; padding: 14px 12px; border: 1px solid var(--post-border); border-radius: 12px; }
.bf-cal-item.is-today .bf-cal-date { background: var(--post-bg-accent-subtle); color: var(--post-text-accent); }
.post-bf .post-article .bf-cal-item.is-today p { color: var(--post-text); }

/* ------------------------------------------------------------------ category sections and deal cards */
.bf-category { display: flex; flex-direction: column; gap: 24px; }
.post-bf .post-article .bf-category h2 { scroll-margin-top: 96px; }
.bf-cards { display: flex; flex-direction: column; gap: 24px; }
.bf-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--post-border);
  border-radius: 16px;
  background: var(--post-bg-surface);
  scroll-margin-top: 96px;
}
.bf-card[data-state="ended"] { opacity: 0.72; }
.bf-card-top { display: flex; align-items: flex-start; gap: 16px; }
.bf-card-titles { flex: 1; min-width: 0; }
.post-bf .post-article .bf-card h3 { margin: 0 0 4px; font-size: 20px; line-height: 28px; letter-spacing: -0.3px; font-weight: 500; color: var(--post-text); }
.post-bf .post-article .bf-card-titles p { font-size: 16px; line-height: 24px; letter-spacing: -0.048px; font-weight: 500; }
.bf-facts { margin: 0; }
.bf-facts > div { display: flex; gap: 16px; padding: 12px 0; border-top: 1px solid var(--post-border); }
.bf-facts dt { flex: 0 0 112px; font-size: 14px; line-height: 24px; letter-spacing: -0.028px; font-weight: 500; color: var(--post-text-3); }
.bf-facts dd { flex: 1; min-width: 0; margin: 0; font-size: 16px; line-height: 24px; letter-spacing: -0.048px; color: var(--post-text-2); }
.bf-facts dd a { color: var(--post-text-accent); text-decoration: none; overflow-wrap: anywhere; }
.bf-facts dd a:hover { text-decoration: underline; }
.bf-official { display: inline-block; margin-right: 8px; padding: 2px 8px; border-radius: 999px; background: #f0fdf4; font-size: 12px; line-height: 18px; font-weight: 500; color: var(--bf-green); vertical-align: 1px; }
.bf-codes { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.bf-code {
  display: inline-flex;
  align-items: stretch;
  border: 1px dashed var(--bf-coupon-border);
  border-radius: 8px;
  background: var(--bf-coupon-bg);
}
.bf-code-plan { align-self: center; padding-left: 12px; font-size: 11px; letter-spacing: 0.22px; font-weight: 500; text-transform: uppercase; color: #925e00; }
.bf-code code { padding: 8px 12px; font-family: var(--post-mono); font-size: 14px; line-height: 20px; letter-spacing: 0.28px; font-weight: 500; color: var(--bf-coupon-text); }
.bf-code-plan + code { padding-left: 8px; }
.bf-code-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px 8px 10px;
  border: 0;
  border-left: 1px solid rgba(217, 163, 0, 0.45);
  border-radius: 0 8px 8px 0;
  background: transparent;
  font: inherit;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--bf-coupon-label);
  cursor: pointer;
}
.bf-code-copy svg { width: 14px; height: 14px; }
.bf-code-copy:hover { background: rgba(217, 163, 0, 0.1); }
.bf-code-copy:focus-visible, .bf-ticket-code button:focus-visible { outline: 2px solid var(--post-accent); outline-offset: 2px; }
.bf-card-foot { display: flex; align-items: center; justify-content: space-between; }
.bf-deal-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px 0 18px;
  border: 1px solid rgba(5, 136, 240, 0.25);
  border-radius: 10px;
  background: var(--post-bg-accent-subtle);
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.028px;
  font-weight: 600;
  color: var(--post-text-accent);
  text-decoration: none;
  transition: background 0.15s ease;
}
.bf-deal-btn svg { width: 16px; height: 16px; }
.bf-deal-btn:hover { background: #d6ecfd; }

.bf-inline-cta { display: flex; align-items: center; gap: 24px; padding: 24px; border-radius: 16px; background: var(--post-bg-accent-subtle); }
.bf-inline-cta > div { flex: 1; }
.bf-inline-cta strong { display: block; margin-bottom: 4px; font-size: 16px; line-height: 24px; font-weight: 500; color: var(--post-text); }
.post-bf .post-article .bf-inline-cta p { font-size: 14px; line-height: 20px; letter-spacing: 0; }
.bf-inline-cta .post-btn { flex-shrink: 0; }

/* ------------------------------------------------------------------ track in Tulvo */
.bf-usecases { display: flex; flex-direction: column; gap: 40px; }
.bf-usecase { display: flex; flex-direction: column; gap: 12px; }
.post-bf .post-article .bf-uc-eyebrow { display: flex; align-items: center; gap: 8px; font-size: 12px; line-height: 16px; letter-spacing: 0.48px; font-weight: 500; text-transform: uppercase; color: var(--post-text-3); }
.bf-uc-eyebrow span { padding: 2px 8px; border-radius: 999px; background: var(--post-bg-accent-subtle); font-size: 12px; line-height: 18px; letter-spacing: 0; font-weight: 600; color: var(--post-text-accent); }
.post-bf .post-article .bf-usecase h3 { margin: 0; font-size: 22px; line-height: 30px; letter-spacing: -0.33px; font-weight: 500; color: var(--post-text); }
.post-bf .post-article .bf-usecase > p { font-size: 16px; line-height: 26px; letter-spacing: -0.048px; }
.bf-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.bf-kpis.is-four { grid-template-columns: repeat(4, 1fr); gap: 10px; }
.post-bf .post-article .bf-kpis li { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px; border: 1px solid var(--post-border); border-radius: 12px; background: var(--post-bg-surface); font-size: 12px; line-height: 16px; letter-spacing: 0; }
.bf-kpis strong { font-size: 22px; line-height: 28px; letter-spacing: -0.33px; font-weight: 600; color: var(--post-text); }
.bf-kpis em { padding: 2px 8px; border-radius: 999px; background: var(--post-bg-muted); font-size: 11px; line-height: 16px; font-style: normal; font-weight: 500; color: var(--post-text-2); }
.bf-kpis em.is-green { background: #dcfce7; color: var(--bf-green); }
.bf-mock { margin: 0; overflow: hidden; border: 1px solid var(--post-border); border-radius: 16px; background: var(--post-bg-surface); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06); }
.bf-mock-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--post-bg-muted); }
.bf-dots { flex-shrink: 0; width: 42px; height: 10px; background: radial-gradient(circle at 5px 5px, #ff5f57 4.5px, transparent 5px), radial-gradient(circle at 21px 5px, #febc2e 4.5px, transparent 5px), radial-gradient(circle at 37px 5px, #28c840 4.5px, transparent 5px); }
.bf-mock-title { flex: 1; min-width: 0; overflow: hidden; font-size: 14px; line-height: 20px; letter-spacing: -0.028px; font-weight: 500; white-space: pre; text-overflow: ellipsis; color: var(--post-text); }
.bf-mock-tabs { display: flex; gap: 4px; }
.bf-mock-tabs span { padding: 4px 10px; border: 1px solid transparent; border-radius: 6px; font-size: 12px; line-height: 16px; font-weight: 500; color: var(--post-text-3); }
.bf-mock-tabs .is-active { border-color: var(--post-border); background: var(--post-bg-surface); color: var(--post-text); }
.bf-mock-scroll { overflow-x: auto; }
.bf-grid { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 12px; line-height: 16px; }
.bf-grid th, .bf-grid td { padding: 10px 12px; border-bottom: 1px solid var(--post-border); text-align: left; white-space: nowrap; font-weight: 400; color: var(--post-text); }
.bf-grid thead th { background: var(--post-bg-page); font-weight: 500; color: var(--post-text-3); }
.bf-grid thead .is-formula { color: var(--post-text-accent); }
.bf-grid tbody th { font-weight: 500; }
.bf-grid .is-mono { font-family: var(--post-mono); font-weight: 500; }
.bf-owner { display: inline-flex; align-items: center; gap: 6px; }
.bf-owner::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--c); }
.bf-chip-buy, .bf-chip-wait, .bf-chip-skip { padding: 2px 8px; border-radius: 999px; font-size: 12px; line-height: 18px; font-weight: 500; }
.bf-chip-buy { background: #dcfce7; color: var(--bf-green); }
.bf-chip-wait { background: #fef3c7; color: #92400e; }
.bf-chip-skip { background: var(--post-bg-muted); color: var(--post-text-2); }
.bf-mock-foot { display: flex; justify-content: space-between; gap: 12px; padding: 10px 16px; background: var(--post-bg-page); font-size: 12px; line-height: 16px; color: var(--post-text-3); }
.bf-notes, .bf-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.post-bf .post-article .bf-notes li { padding: 16px; border-radius: 12px; background: var(--post-bg-muted); font-size: 14px; line-height: 20px; letter-spacing: -0.028px; }
.bf-notes strong { display: block; margin-bottom: 4px; font-weight: 500; color: var(--post-text); }
.post-bf .post-article .bf-flow li { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; border-radius: 12px; background: var(--post-bg-muted); font-size: 14px; line-height: 20px; }
.bf-flow strong { font-weight: 500; color: var(--post-text); }
.bf-flow span { font-size: 12px; line-height: 16px; white-space: pre-wrap; color: var(--post-text-3); }
.bf-flow em { display: inline-flex; gap: 6px; padding: 6px 10px; border: 1px solid var(--post-border); border-radius: 8px; background: var(--post-bg-surface); font-size: 12px; line-height: 16px; font-style: normal; font-weight: 500; color: var(--post-text); }
.bf-flow b { color: var(--post-accent); }
.bf-mock-body { display: flex; flex-direction: column; gap: 12px; padding: 16px; }
.bf-tax { width: 100%; overflow: hidden; border: 1px solid var(--post-border); border-radius: 12px; border-collapse: separate; border-spacing: 0; font-size: 13px; line-height: 18px; }
.bf-tax th, .bf-tax td { padding: 10px 14px; border-bottom: 1px solid var(--post-border); text-align: left; font-weight: 400; color: var(--post-text); }
.bf-tax tbody tr:last-child > * { border-bottom: 0; }
.bf-tax thead th { background: var(--post-bg-muted); font-weight: 500; color: var(--post-text-2); }
.bf-tax td { font-family: var(--post-mono); font-weight: 500; }
.bf-compare th:first-child { width: 187px; }
.bf-compare td:nth-child(2) { width: auto; }
.bf-compare th, .bf-compare td { padding: 12px 14px; font-size: 13px; line-height: 19px; }
.bf-compare td:last-child, .bf-compare thead th:last-child { background: var(--post-bg-accent-subtle); color: var(--post-text); }
.bf-compare thead th:last-child { color: var(--post-text-accent); }
.bf-compare .is-total > * { font-weight: 500; color: var(--post-text); }
.bf-ask-ai { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 12px; background: var(--post-bg-muted); }
.bf-ask-ai strong { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--post-text); }
.post-bf .post-article .bf-ask-ai p { font-size: 14px; line-height: 20px; letter-spacing: 0; }
.post-bf .post-article .bf-ask-ai .bf-prompt { padding: 10px 12px; border: 1px solid var(--post-border); border-radius: 8px; background: var(--post-bg-surface); font-family: var(--post-mono); font-size: 12px; line-height: 18px; font-weight: 500; color: var(--post-text); }
.bf-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.post-bf .post-article .bf-cta-row p { font-size: 14px; line-height: 20px; letter-spacing: 0; color: var(--post-text-3); }

/* ------------------------------------------------------------------ routine, checks, no deal yet */
.bf-routine { padding: 26px 28px; border-radius: 20px; background: var(--post-bg-muted); }
.post-bf .post-article .bf-routine-eyebrow { font-size: 12px; line-height: 1.3; letter-spacing: 0.72px; font-weight: 500; text-transform: uppercase; color: var(--post-text-accent); }
.post-bf .post-article .bf-routine-title { margin: 4px 0 18px; font-size: 20px; line-height: 1.3; letter-spacing: 0; font-weight: 600; color: var(--post-text); }
.bf-routine ol { margin: 0; padding: 0; list-style: none; counter-reset: routine; }
.post-bf .post-article .bf-routine li { position: relative; padding: 4px 0 22px 48px; counter-increment: routine; font-size: 14px; line-height: 1.5; letter-spacing: 0; }
.bf-routine li::before {
  content: counter(routine);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--post-accent);
  border-radius: 16px;
  background: var(--post-bg-surface);
  font-size: 14px;
  font-weight: 600;
  color: var(--post-text-accent);
}
.bf-routine li::after { content: ""; position: absolute; left: 15px; top: 34px; bottom: 2px; width: 2px; background: var(--post-border-strong); }
.post-bf .post-article .bf-routine li:last-child { padding-bottom: 0; }
.bf-routine li:last-child::after { display: none; }
.bf-routine li strong { display: block; margin-bottom: 4px; font-size: 16px; line-height: 1.4; font-weight: 600; color: var(--post-text); }
.post-bf .post-article .bf-routine li p { font-size: 14px; line-height: 1.5; letter-spacing: 0; }
.post-bf .post-article .bf-tip { display: flex; gap: 10px; margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: var(--post-bg-surface); font-size: 13px; line-height: 1.5; letter-spacing: 0; }
.bf-tip strong { font-weight: 600; color: var(--post-text-accent); }
.bf-checks { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: checks; }
.post-bf .post-article .bf-checks li { position: relative; padding-left: 38px; counter-increment: checks; font-weight: 500; color: var(--post-text); }
.bf-checks li::before { content: counter(checks); position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 13px; background: var(--post-bg-muted); font-size: 12px; line-height: 16px; font-weight: 500; color: var(--post-text); }
.bf-checks strong { font-weight: 600; }
.bf-nodeal { display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: 16px; background: var(--post-bg-muted); }
.post-bf .post-article .bf-nodeal-title { font-size: 14px; line-height: 20px; letter-spacing: -0.028px; font-weight: 500; color: var(--post-text); }
.bf-nodeal ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.post-bf .post-article .bf-nodeal li { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border: 1px solid var(--post-border); border-radius: 999px; background: var(--post-bg-surface); font-size: 14px; line-height: 20px; letter-spacing: -0.028px; font-weight: 500; color: var(--post-text); }
.bf-nodeal img { width: 24px; height: 24px; border: 1px solid var(--post-border); border-radius: 6px; object-fit: contain; }

/* ------------------------------------------------------------------ update log, get listed, end share */
.bf-log { margin: 0; padding: 0; list-style: none; }
.bf-log li { display: flex; gap: 24px; padding: 16px 0; border-top: 1px solid var(--post-border); }
.bf-log li:first-child { border-top: 0; }
.bf-log time { flex: 0 0 120px; font-size: 14px; line-height: 20px; letter-spacing: -0.028px; font-weight: 500; color: var(--post-text); }
.post-bf .post-article .bf-log p { flex: 1; font-size: 16px; line-height: 24px; letter-spacing: -0.048px; }
.bf-listed { display: flex; gap: 32px; padding: 32px; border: 1px solid var(--post-border); border-radius: 20px; background: var(--post-bg-surface); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04); }
.bf-listed-copy { display: flex; flex: 1; flex-direction: column; gap: 14px; }
.post-bf .post-article .bf-listed-eyebrow { font-size: 12px; line-height: 16px; letter-spacing: 0.48px; font-weight: 500; text-transform: uppercase; color: var(--post-text-accent); }
.post-bf .post-article .bf-listed h3 { margin: 0; font-size: 24px; line-height: 32px; letter-spacing: -0.36px; font-weight: 500; color: var(--post-text); }
.post-bf .post-article .bf-listed-copy > p { font-size: 16px; line-height: 24px; letter-spacing: -0.048px; }
.bf-listed-checks { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.post-bf .post-article .bf-listed-checks li { position: relative; padding-left: 24px; font-size: 14px; line-height: 20px; letter-spacing: -0.028px; color: var(--post-text); }
.bf-listed-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #dcfce7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.bf-listed-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding-top: 6px; }
.bf-text-link { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--post-text-accent); text-decoration: underline; text-underline-offset: 3px; }
.bf-text-link svg { width: 14px; height: 14px; }
.post-author-box .bf-text-link { text-decoration: none; }
@media (pointer: coarse) {
  .bf-text-link, .bf-reset { position: relative; }
  .bf-text-link::after, .bf-reset::after { content: ""; position: absolute; inset: -12px -8px; }
}
.bf-listed-preview { align-self: flex-start; display: flex; flex: 0 0 232px; flex-direction: column; gap: 12px; padding: 20px; border-radius: 16px; background: var(--post-bg-muted); }
.bf-mini-card { display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid var(--post-border); border-radius: 12px; background: var(--post-bg-surface); }
.bf-mini-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bf-mini-logo { display: grid; place-items: center; width: 40px; height: 40px; border: 1px dashed var(--post-border-strong); border-radius: 10px; background: var(--post-bg-page); font-size: 12px; color: var(--post-text-3); }
.bf-mini-card strong { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--post-text); }
.bf-mini-card > span { font-size: 12px; line-height: 16px; color: var(--post-text-2); }
.bf-mini-code { display: inline-flex; align-self: flex-start; border: 1px dashed var(--bf-coupon-border); border-radius: 8px; background: var(--bf-coupon-bg); font-size: 12px; line-height: 16px; }
.bf-mini-code code { padding: 6px 10px; font-family: var(--post-mono); font-weight: 500; color: var(--post-text); }
.bf-mini-code span { padding: 6px 10px; border-left: 1px solid rgba(217, 163, 0, 0.45); font-weight: 500; color: var(--post-text-2); }
.post-bf .post-article .bf-listed-preview > p { font-size: 12px; line-height: 16px; text-align: center; color: var(--post-text-3); }
.bf-endshare { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0; border-top: 1px solid var(--post-border); border-bottom: 1px solid var(--post-border); }
.post-bf .post-article .bf-endshare > p { font-size: 16px; line-height: 24px; letter-spacing: -0.048px; font-weight: 500; color: var(--post-text); }
.post-bf .post-article .bf-sources { font-size: 14px; line-height: 20px; letter-spacing: -0.028px; }
.bf-sources strong { font-weight: 600; color: var(--post-text-2); }

/* ------------------------------------------------------------------ right rail mini CTA */
.bf-mini-cta { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: 16px; background: var(--post-bg-inverse); }
.bf-mini-eyebrow { margin: 0; font-size: 12px; line-height: 16px; font-weight: 500; text-transform: uppercase; color: var(--post-text-inverse-muted); }
.bf-mini-cta strong { font-size: 18px; line-height: 26px; letter-spacing: -0.18px; font-weight: 500; color: #fff; }
.bf-mini-cta p:not(.bf-mini-eyebrow) { margin: 0; font-size: 14px; line-height: 20px; letter-spacing: -0.028px; color: var(--post-text-inverse-muted); }
.bf-code.is-dark { align-self: flex-start; border-color: rgba(250, 204, 21, 0.55); background: rgba(250, 204, 21, 0.14); }
.bf-code.is-dark code { color: #fde68a; }
.bf-code.is-dark .bf-code-copy { border-left-color: rgba(250, 204, 21, 0.35); color: var(--post-text-inverse-muted); }
.bf-mini-cta .post-btn { width: 100%; justify-content: center; }

/* ------------------------------------------------------------------ promo banner */
.bf-promo { display: flex; justify-content: center; padding: 0 32px 96px; }
.bf-promo-panel {
  display: flex;
  align-items: center;
  gap: 56px;
  width: 100%;
  max-width: 1200px;
  padding: 56px;
  overflow: hidden;
  border-radius: 28px;
  background: radial-gradient(667px 204px at 0% 71%, rgba(5, 136, 240, 0.45), rgba(5, 136, 240, 0)), var(--post-bg-inverse);
  color: #fff;
}
.bf-promo-main { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 18px; min-width: 0; }
.bf-promo-pill { padding: 5px 10px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px; background: rgba(255, 255, 255, 0.08); font-size: 12px; line-height: 1.4; font-weight: 500; }
.bf-promo h2 { margin: 0; font-size: 48px; line-height: 1.08; letter-spacing: -1.44px; font-weight: 600; color: #fff; }
.bf-promo-main > p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--post-text-inverse-muted); }
.bf-promo-prices { display: flex; flex-wrap: wrap; gap: 28px; margin: 0; }
.bf-promo-prices > div { display: flex; align-items: baseline; gap: 8px; }
.bf-promo-prices dt { font-size: 14px; line-height: 1.4; font-weight: 500; color: var(--post-text-inverse-muted); }
.bf-promo-prices dd { display: flex; align-items: baseline; gap: 8px; margin: 0; }
.bf-promo-prices strong { font-size: 28px; line-height: 1.1; letter-spacing: -0.56px; font-weight: 600; }
.bf-promo-prices s { font-size: 15px; color: var(--post-text-inverse-muted); }
.bf-promo-prices span { font-size: 13px; line-height: 1.4; color: var(--post-text-inverse-muted); }
.bf-promo-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.bf-btn-ghost { border: 1px solid rgba(255, 255, 255, 0.24); color: #fff; }
.bf-btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.bf-ticket-card { position: relative; flex: 0 0 440px; overflow: hidden; border-radius: 18px; background: #fff; color: var(--post-text); transform: rotate(2deg); }
.bf-ticket-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px 18px; }
.bf-ticket-head p { margin: 0; font-size: 12px; line-height: 1.3; letter-spacing: 0.72px; font-weight: 500; text-transform: uppercase; color: var(--post-text-accent); }
.bf-ticket-head span { font-size: 12px; line-height: 1.3; color: var(--post-text-3); }
.bf-ticket-steps { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0 22px 20px; list-style: none; counter-reset: claim; }
.bf-ticket-steps li { position: relative; padding-left: 38px; counter-increment: claim; }
.bf-ticket-steps li::before { content: counter(claim); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 13px; background: var(--post-bg-accent-subtle); font-size: 12px; line-height: 1.5; font-weight: 600; color: var(--post-text-accent); }
.bf-ticket-steps strong { display: block; font-size: 15px; line-height: 1.4; font-weight: 600; }
.bf-ticket-steps p { margin: 2px 0 0; font-size: 13px; line-height: 1.5; color: var(--post-text-2); }
.bf-ticket-foot { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 18px 22px 20px; border-top: 2px dashed var(--post-border); }
.bf-ticket-foot::before, .bf-ticket-foot::after { content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--post-bg-inverse); }
.bf-ticket-foot::before { left: -11px; }
.bf-ticket-foot::after { right: -11px; }
.bf-ticket-foot > p { margin: 0; font-size: 12px; line-height: 16px; color: var(--post-text-2); }
.bf-ticket-foot > p strong { display: block; margin-bottom: 2px; font-size: 14px; line-height: 20px; letter-spacing: -0.028px; font-weight: 500; color: var(--post-text); }
.bf-ticket-code-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 6px 6px 14px; border: 1px dashed rgba(217, 163, 0, 0.75); border-radius: 10px; background: var(--bf-coupon-bg); }
.bf-ticket-code-row div > span { display: block; font-size: 10px; line-height: 16px; letter-spacing: 0.8px; font-weight: 500; text-transform: uppercase; color: #925e00; }
.bf-ticket-code-row code { font-family: var(--post-mono); font-size: 20px; line-height: 24px; letter-spacing: 1.2px; font-weight: 500; color: var(--bf-coupon-text); }
.bf-ticket-code-row button { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px 10px 12px; border: 0; border-radius: 8px; background: var(--post-bg-inverse); font: inherit; font-size: 14px; line-height: 20px; font-weight: 500; color: #fff; cursor: pointer; }
.bf-ticket-code-row button svg { width: 14px; height: 14px; }

/* ------------------------------------------------------------------ mobile sticky bar */
.bf-sticky > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bf-sticky p { display: flex; flex-direction: column; gap: 2px; margin: 0; min-width: 0; }
.bf-sticky p strong { font-size: 14px; line-height: 20px; letter-spacing: -0.028px; font-weight: 500; color: var(--post-text); }
.bf-sticky p span { font-size: 12px; line-height: 16px; color: var(--post-text-3); }
.post-bf .post-sticky.bf-sticky .post-btn { flex-shrink: 0; width: auto; height: 40px; font-size: 14px; }
.post-sticky.is-suppressed { transform: translateY(100%) !important; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1023px) {
  .bf-promo-panel { flex-direction: column; align-items: stretch; padding: 40px 32px; }
  .bf-ticket-card { flex-basis: auto; transform: none; }
  .bf-promo h2 { font-size: 40px; }
}

@media (max-width: 767px) {
  .bf-tracker { flex-direction: column; align-items: stretch; gap: 18px; padding: 18px; }
  .post-bf .post-article .bf-tracker-title { font-size: 18px; }
  .bf-dates { display: grid; grid-template-columns: repeat(3, 1fr); }
  .bf-date { width: auto; }
  .bf-finder { padding: 18px; }
  .bf-tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .bf-tab { justify-content: center; }
  .bf-search kbd { display: none; }

  /* Tables become stacked cards */
  .bf-table-wrap { overflow: visible; border: 0; border-radius: 0; background: none; }
  .bf-table, .bf-table tbody, .bf-table tr, .bf-table th, .bf-table td { display: block; width: auto !important; }
  .bf-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .bf-table tbody { display: flex; flex-direction: column; gap: 12px; }
  .bf-table tr { display: flex; flex-direction: column; gap: 6px; padding: 16px; border: 1px solid var(--post-border); border-radius: 16px; background: var(--post-bg-surface); }
  .bf-table tr[hidden] { display: none; }
  .bf-table th, .bf-table td { padding: 0; border: 0; }
  .bf-table tbody th { font-size: 16px; line-height: 24px; letter-spacing: -0.048px; }
  .bf-table td { font-size: 16px; line-height: 24px; letter-spacing: -0.048px; }
  .bf-table-live td:nth-child(3) { font-size: 14px; line-height: 20px; color: var(--post-text-3); }
  .bf-table-live tbody tr { gap: 12px; }
  .bf-table-live tbody tr:hover { background: var(--post-bg-surface); }
  .bf-table-live td { display: block; }
  .bf-table-live td[data-label]::before { margin-bottom: 4px; }
  .bf-table-live .bf-sep::after { content: none; }
  .bf-live-tool .bf-logo-sm { width: 32px; height: 32px; border-radius: 8px; }
  .bf-live-end { margin-top: 10px; }
  .bf-live-start { margin-top: 10px; }
  .bf-table-live tbody + tbody { margin-top: 12px; }
  .bf-table-live tr.bf-live-soon-head { padding: 8px 4px 0; border: 0; border-radius: 0; background: none; }
  .bf-table-live .bf-live-soon-head th { padding: 0; border: 0; background: none; font-size: 14px; line-height: 20px; letter-spacing: 0; }
  .bf-table td:has(> .bf-pill) { margin-top: 4px; }
  .bf-tool { align-items: center; gap: 8px; }
  .bf-compare tr { gap: 4px; }
  .bf-compare td { padding: 6px 10px !important; border-radius: 8px; }
  .bf-compare td:nth-child(2)::before, .bf-compare td:nth-child(3)::before { display: block; font-size: 12px; font-weight: 500; color: var(--post-text-3); }
  .bf-compare td:nth-child(2)::before { content: "Prepaid hosting deal"; }
  .bf-compare td:nth-child(3)::before { content: "Tulvo Pro, Black Friday"; color: var(--post-text-accent); }
  .bf-compare thead { display: none; }

  .bf-offer { gap: 18px; padding: 22px 20px; }
  .post-bf .post-article .bf-offer-title { font-size: 22px; letter-spacing: -0.44px; }
  .post-bf .post-article .bf-offer-text { font-size: 15px; }
  .bf-offer-top { flex-wrap: wrap; }
  .bf-prices, .bf-gifts, .bf-stats, .bf-notes, .bf-flow, .bf-kpis, .bf-kpis.is-four { grid-template-columns: 1fr; }
  .bf-offer-ctas { flex-direction: column; }
  .bf-offer-ctas a { width: 100%; }
  .bf-takeaways { padding: 24px 20px; }
  .bf-stats li { padding: 16px; }
  .bf-stats strong { font-size: 28px; line-height: 34px; }

  .bf-calendar { padding: 4px 16px; }
  .bf-cal-item { flex-wrap: wrap; align-items: flex-start; gap: 12px; }
  .bf-cal-date { width: 64px; height: 32px; }
  .post-bf .post-article .bf-cal-item p { flex: 1 1 calc(100% - 76px); }
  .bf-cal-logos { gap: 0; margin-left: 76px; }
  .bf-cal-logos img + img { margin-left: -4px; }
  .bf-cal-logos img:nth-child(n + 4) { display: none; }
  .bf-cal-item.is-today { margin: 0 -8px; padding: 14px 8px; }

  .bf-card { gap: 16px; padding: 20px; }
  .bf-card-top { display: grid; grid-template-columns: 48px 1fr; gap: 12px; }
  .bf-card-top .bf-pill { grid-column: 2; grid-row: 1; justify-self: end; align-self: start; }
  .bf-card-titles { grid-column: 1 / -1; }
  .post-bf .post-article .bf-card h3 { font-size: 18px; line-height: 26px; letter-spacing: -0.18px; }
  .bf-facts > div { flex-direction: column; gap: 4px; }
  .bf-facts dt { flex-basis: auto; line-height: 20px; }
  .bf-deal-btn { justify-content: center; width: 100%; border: 0; background: var(--post-accent); color: #fff; box-shadow: 0 4px 6px rgba(5, 136, 240, 0.28); }
  .bf-deal-btn:hover { background: #0573cc; }
  .bf-inline-cta { flex-direction: column; align-items: stretch; }

  .bf-routine { padding: 22px 18px; }
  .bf-log li { flex-direction: column; gap: 4px; }
  .bf-log time { flex-basis: auto; }
  .bf-listed { flex-direction: column; padding: 24px 20px; }
  .bf-listed-preview { flex-basis: auto; }
  .bf-mock-bar { flex-wrap: wrap; }
  .bf-mock-title { flex-basis: calc(100% - 52px); }

  .bf-promo { padding: 0 16px 64px; }
  .bf-promo-panel { padding: 32px 20px; gap: 32px; border-radius: 20px; }
  .bf-promo h2 { font-size: 32px; letter-spacing: -0.96px; }
  .bf-promo-ctas { flex-direction: column; width: 100%; }
  .bf-ticket-code-row { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  .bf-ticket-card { transform: none; }
}

.post-bf .post-article .bf-facts dd a { text-decoration: none; }
.post-bf .post-article .bf-facts dd a:hover { text-decoration: underline; }

@media (max-width: 767px) {
  .bf-table td[data-label]::before { content: attr(data-label); display: block; font-size: 12px; line-height: 16px; font-weight: 500; color: var(--post-text-3); }
  .bf-sep { font-size: 0; }
  .bf-sep::after { content: " · "; font-size: 14px; }
  .bf-cal-today { display: none; }
}

/* ------------------------------------------------------------------ "What we ask for" dialog / sheet */
html.bf-ask-open { overflow: hidden; }
.bf-ask { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 24px; }
.bf-ask-scrim { position: absolute; inset: 0; background: rgba(10, 10, 10, 0.5); }
.bf-ask-dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(720px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  border-radius: 20px;
  background: var(--post-bg-surface);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
}
.bf-ask-grabber { display: none; }
.bf-ask-head { display: flex; align-items: flex-start; gap: 16px; padding: 28px 28px 8px 32px; }
.bf-ask-head > div { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.bf-ask-eyebrow { margin: 0; font-size: 12px; line-height: 16px; font-weight: 500; text-transform: uppercase; color: var(--post-text-accent); }
.bf-ask-head h2 { margin: 0; font-size: 24px; line-height: 32px; letter-spacing: -0.36px; font-weight: 500; color: var(--post-text); }
.bf-ask-head p:not(.bf-ask-eyebrow) { margin: 0; font-size: 14px; line-height: 20px; letter-spacing: -0.028px; color: var(--post-text-2); }
.bf-ask-close { display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--post-bg-muted); color: var(--post-text); cursor: pointer; }
.bf-ask-close svg { width: 14px; height: 14px; }
.bf-ask-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 16px 32px 20px; }
.bf-ask-list { padding: 20px; border-radius: 14px; background: var(--post-bg-muted); }
.bf-ask-list.is-required { background: var(--post-bg-accent-subtle); }
.bf-ask-list-head { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 16px; line-height: 24px; font-weight: 500; color: var(--post-text); }
.bf-ask-list-head span { padding: 1px 8px; border: 1px solid var(--post-border); border-radius: 999px; background: var(--post-bg-surface); font-size: 12px; line-height: 16px; color: var(--post-text-2); }
.bf-ask-list ul { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.bf-ask-list li { position: relative; display: flex; flex-direction: column; gap: 1px; padding-left: 30px; }
.bf-ask-list li::before { content: ""; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--post-bg-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230573CC' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.bf-ask-list.is-optional li::before { background-image: none; border: 1.5px solid var(--post-border-strong); box-sizing: border-box; }
.bf-ask-list strong { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--post-text); }
.bf-ask-list li span { font-size: 12px; line-height: 16px; color: var(--post-text-3); }
.bf-ask-tip { display: flex; gap: 10px; margin: 0 32px 20px; padding: 12px 14px; border: 1px solid rgba(217, 163, 0, 0.5); border-radius: 12px; background: #fff8d6; font-size: 14px; line-height: 20px; color: #5c3c00; }
.bf-ask-tip svg { flex-shrink: 0; width: 18px; height: 18px; color: #925e00; }
.bf-ask-foot { display: flex; align-items: center; gap: 12px; padding: 18px 32px 24px; border-top: 1px solid var(--post-border); }
.bf-ask-foot p { flex: 1; margin: 0; font-size: 12px; line-height: 16px; color: var(--post-text-3); }
.bf-ask-foot .bf-btn-outline, .bf-ask-foot .post-btn { height: 48px; padding: 0 20px; font-size: 16px; cursor: pointer; }

@media (max-width: 767px) {
  .bf-ask { place-items: end stretch; padding: 0; }
  .bf-ask-dialog { width: 100%; max-height: 92vh; border-radius: 20px 20px 0 0; }
  .bf-ask-grabber { display: block; align-self: center; width: 40px; height: 4px; margin: 10px 0 2px; border-radius: 2px; background: var(--post-border-strong); }
  .bf-ask-head { padding: 14px 20px 8px; }
  .bf-ask-head h2 { font-size: 20px; line-height: 28px; letter-spacing: -0.3px; }
  .bf-ask-lists { grid-template-columns: 1fr; padding: 12px 20px 16px; }
  .bf-ask-list.is-required li span { display: none; }
  .bf-ask-list.is-optional ul { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .bf-ask-list.is-optional li { padding: 5px 10px; border: 1px solid var(--post-border); border-radius: 999px; background: var(--post-bg-surface); }
  .bf-ask-list.is-optional li::before, .bf-ask-list.is-optional li span { display: none; }
  .bf-ask-list.is-optional strong { font-size: 12px; line-height: 16px; color: var(--post-text-2); }
  .bf-ask-tip { margin: 0 20px 16px; }
  .bf-ask-foot { position: sticky; bottom: 0; flex-direction: column-reverse; align-items: stretch; padding: 14px 20px calc(24px + env(safe-area-inset-bottom)); background: var(--post-bg-surface); }
  .bf-ask-foot p { display: none; }
  .bf-ask-foot .bf-btn-outline, .bf-ask-foot .post-btn { justify-content: center; width: 100%; }
}

/* Touch screens: filter tabs and chips reach 40px; the small copy buttons and the sheet's close button get a
   larger tap area without changing how the code chips look */
@media (pointer: coarse) {
  .bf-tab, .bf-chip { min-height: 40px; }
  .bf-code-copy { position: relative; }
  .bf-code-copy::after { content: ""; position: absolute; inset: -8px -6px; }
  .bf-ask-close { width: 40px; height: 40px; }
}
