/* ==================================================================
 * Flowace — Blog single template styles
 * All selectors namespaced `bsp-` to avoid collision with style-new.css.
 * Values preserved from your edited file; only the table block is
 * redesigned and AI icons now hold real brand logos.
 * Breakpoints: 1024 / 992 / 900 / 768 / 599 / 480
 * ================================================================== */

.bsp-root {
  --fw-orange: #ff5722;
  --fw-orange-2: #ff8f6b;
  --fw-grad: linear-gradient(101.82deg, #ff5722 2.73%, #ff8f6b 96.37%);
  --fw-ink: #111827;
  --fw-body: #4b5563;
  --fw-muted: #6b7280;
  --fw-peach: #fff1ec;
  --fw-peach-2: #fcd9cb;
  --fw-line: #e8eaed;
  --fw-soft: #f9fafb;
  --fw-dark: #1c1c20;
  --fw-radius: 16px;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
}
.bsp-root * {
  box-sizing: border-box;
}

/* ---------- BREADCRUMB ---------- */
.bsp-breadcrumb {
  font-size: 14px;
  color: var(--fw-muted);
  padding: 22px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}
.bsp-breadcrumb a {
  color: var(--fw-orange);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.25s ease;
}
.bsp-breadcrumb a:hover {
  opacity: 0.7;
}
.bsp-breadcrumb .sep {
  color: #c9ccd1;
}
.bsp-breadcrumb .current {
  color: var(--fw-muted);
}

/* ---------- HERO ---------- */
.bsp-hero {
  padding: 40px 0 44px !important;
  background: #fff;
  height: auto;
}
.bsp-herorow {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 56px;
  max-width: none;
}
.bsp-herotext {
  width: 46%;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.bsp-heroinfo {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.bsp-herotitle {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.bsp-cat {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bsp-cat span {
  display: inline-block;
  background: #fff7f4;
  font-family: "Inter", sans-serif;
  color: #f15a2c;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 12px;
  line-height: 100%;
  letter-spacing: 1.4px;
  padding: 6px 14px;
  border-radius: 999px;
}
.bsp-herorow h1 {
  margin: 0;
  text-align: left;
  font-family: "DM Sans", sans-serif;
  font-size: 48px;
  line-height: 54px;
  font-weight: 600;
  color: #1d2939;
  letter-spacing: -1.4px;
}
.bsp-herodesc p {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  color: var(--fw-body);
}

.bsp-herocta a {
  border-radius: 8px;
  background: var(--fw-grad);
  color: #fff;
  padding: 10px 20px;
  display: inline-block;
  text-align: center;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.bsp-herocta a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(255, 87, 34, 0.28);
}

.bsp-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}
.bsp-author {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: flex-start !important;
  margin-top: 0;
}
.bsp-author span.bsp-authorimg,
.bsp-authorimg img,
.bsp-authorimg .bsp-initials {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--fw-grad);
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  line-height: 100%;
  font-weight: 700;
  margin: 0;
}
.bsp-authorinfo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.bsp-authorinfo * {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 100%;
}
.bsp-authorname {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 100%;
  color: #1d2939;
  text-decoration: none;
  font-weight: 600;
}
.bsp-dot {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 100%;
  color: #667085;
}
.bsp-date span {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 100%;
  color: #667085;
}
.bsp-share {
  display: flex;
  align-items: center;
  gap: 8px;
}
.bsp-share a,
.bsp-share button {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--fw-line);
  background: #fff;
  color: var(--fw-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  text-decoration: none;
  padding: 0;
  transition: all 0.25s ease;
}
.bsp-share a:hover,
.bsp-share button:hover {
  border-color: var(--fw-orange);
  color: var(--fw-orange);
}

.bsp-heromedia {
  width: 48%;
}
.bsp-heromedia img {
  border-radius: 18px;
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ---------- MAIN LAYOUT ---------- */
.bsp-mainsec {
  padding: 60px 0;
}
.bsp-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 56px;
}
.bsp-col-main {
  flex: 1;
  min-width: 0;
}
.bsp-col-inner {
  width: 100%;
  padding: 0;
}
.bsp-col-side {
  width: 290px;
  flex-shrink: 0;
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* ---------- AI BOX ---------- */
.bsp-ai {
  border-radius: var(--fw-radius);
  padding: 14px 26px;
  margin-bottom: 28px;
  background: #f5f5f7;
  max-width: 100%;
}
.bsp-ai-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 17px;
  line-height: 100%;
  color: #111621;
  margin-bottom: 8px;
}
.bsp-ai-title svg {
  flex-shrink: 0;
}
.bsp-ai-sub {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 21px;
  color: #4b5563;
  margin-bottom: 8px;
}
.bsp-ai-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.bsp-ai-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.bsp-ai-card:hover {
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}
.bsp-ai-ic {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.bsp-ai-ic img {
  width: 18px;
  height: 18px;
  display: block;
}
.bsp-ai-lbl {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  line-height: 100%;
  font-weight: 600;
  color: #111621;
}
.bsp-ai-ic.bsp-openai {
  background: #10a37f;
}
.bsp-ai-ic.bsp-claude {
  background: #d97757;
}
.bsp-ai-ic.bsp-gemini {
  background: #4285f4;
}
.bsp-ai-ic.bsp-perplexity {
  background: #20808d;
}
.bsp-ai-foot {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  line-height: 100%;
  color: #9ca3af;
  margin-top: 8px;
}

/* ---------- ARTICLE BODY ---------- */
.bsp-body {
  font-family: "Inter", sans-serif;
  color: var(--fw-body);
  font-size: 17px;
  line-height: 1.72;
  overflow-wrap: break-word;
  word-break: break-word;
  max-width: 100%;
}
.bsp-body h2 {
  margin: 28px 0;
  scroll-margin-top: 100px;
}
.bsp-body h2,
.bsp-body h2 *,
.bsp-body h2 span {
  font-family: "Inter", sans-serif;
  font-size: 28px;
  line-height: 36px;
  letter-spacing: -0.6px;
  font-weight: 600 !important;
  color: #1d2939;
}
.bsp-body h3 {
  margin: 28px 0 18px;
  scroll-margin-top: 100px;
}
.bsp-body h3,
.bsp-body h3 *,
.bsp-body h3 span {
  font-family: "Inter", sans-serif;
  font-size: 22px;
  line-height: 22px;
  font-weight: 600 !important;
  color: #344054;
}

/* ---------- H4 ---------- */
.bsp-body h4 {
  margin: 24px 0 16px;
  scroll-margin-top: 100px;
}
.bsp-body h4,
.bsp-body h4 *,
.bsp-body h4 span {
  font-family: "Inter", sans-serif;
  font-size: 20px !important;
  line-height: 28px !important;
  font-weight: 600 !important;
  color: #344054 !important;
}

/* ---------- H5 ---------- */
.bsp-body h5 {
  margin: 24px 0 16px;
  scroll-margin-top: 100px;
}
.bsp-body h5,
.bsp-body h5 *,
.bsp-body h5 span {
  font-family: "Inter", sans-serif;
  font-size: 18px !important;
  line-height: 28px !important;
  font-weight: 600 !important;
  color: #344054 !important;
}

/* ---------- H6 ---------- */
.bsp-body h6 {
  margin: 24px 0 16px;
  scroll-margin-top: 100px;
}
.bsp-body h6,
.bsp-body h6 *,
.bsp-body h6 span {
  font-family: "Inter", sans-serif;
  font-size: 16px !important;
  line-height: 24px !important;
  font-weight: 700 !important;
  color: #667085 !important; /* Slightly muted color for the smallest heading */
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bsp-body p {
  margin: 0 0 18px;
  font-family: "Inter", sans-serif;
  color: #344054;
  font-size: 18px;
  line-height: 29px;
}
.bsp-body p iframe {
  width: 100% !important;
  height: 350px !important;
}
.bsp-body p *,
.bsp-body p span {
  font-family: "Inter", sans-serif;
  color: #344054;
  font-size: 18px;
  line-height: 29px;
}
.bsp-body a {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  line-height: 29px;
  font-weight: 400;
  color: #f15a2c;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.25s ease;
}
.bsp-body a:hover {
  opacity: 0.8;
}
.bsp-body a span {
  color: #f15a2c;
  transition: opacity 0.25s ease;
}
.bsp-body ul,
.bsp-body ol {
  margin: 0 0 20px;
  padding-left: 0;
  list-style: none;
}
.bsp-body ol {
  counter-reset: fwli;
}
.bsp-body ul li,
.bsp-body ol li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
}
.bsp-body ul li span,
.bsp-body ol li span,
.bsp-body ul li b,
.bsp-body ol li b {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 23px;
  color: #344054;
}
.bsp-body ul li:before {
  content: "";
  position: absolute;
  left: 5px;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fw-grad);
}
.bsp-body ol li {
  counter-increment: fwli;
}
.bsp-body ol li:before {
  content: counter(fwli);
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--fw-peach);
  color: var(--fw-orange);
  font-family: "Inter", sans-serif;
  font-size: 12px;
  line-height: 100%;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bsp-body div {
  width: auto;
  max-width: 100%;
}
/* .bsp-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
} */

/* Ensure WordPress image wrappers don't force horizontal overflow */
.bsp-body figure,
.bsp-body .wp-block-image {
  margin: 0 0 20px 0;
  max-width: 100% !important;
}

/* Force body images to stay responsive and override inline HTML widths */
.bsp-body img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 12px;
  display: block;
}

/* ---------- TABLE ---------- */
.bsp-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 24px 0;
  border: 1px solid #eaecf0;
  border-radius: 12px;
}
.bsp-body table {
  display: table;
  width: max-content;
  min-width: 100%;
  border: 0;
  border-collapse: collapse;
  font-family: "Inter", sans-serif !important;
  background: #fff;
}
.bsp-body table th,
.bsp-body table td {
  border: 0;
}

/* * FORCE OVERRIDE: Targets every possible tag inside a table to obliterate 
 * inline spans/WYSIWYG formatting injected by the editor.
 */
.bsp-body table,
.bsp-body table *,
.bsp-body table th,
.bsp-body table td {
  font-family: "Inter", sans-serif !important;
  font-size: 15px !important;
  line-height: 22px !important;
}

/* Force standard text color for all inner elements */
.bsp-body table td * {
  color: #344054 !important;
}

/* Header Row Override */
.bsp-body thead th,
.bsp-body thead td,
.bsp-body table tr:first-child th,
.bsp-body table tr:first-child td,
.bsp-body table tr:first-child th *,
.bsp-body table tr:first-child td * {
  background-color: #e9ecf1 !important;
  color: #111621 !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  text-align: left;
  white-space: nowrap;
}

/* First Column Override (Bold & Dark) */
.bsp-body table tr td:first-child,
.bsp-body table tr td:first-child * {
  font-weight: 600 !important;
  color: #111621 !important;
}

.bsp-body td {
  padding: 14px 20px;
  font-size: 15px;
  line-height: 22px;
  color: #344054;
  border-bottom: 1px solid #f2f4f7;
  vertical-align: top;
  /* FIX: Override the aggressive word break so text doesn't squish into 1-letter columns */
  word-break: normal;
  overflow-wrap: normal;
  /* Add a reasonable minimum width so columns are always readable */
  min-width: 140px;
}
.bsp-body tbody tr:last-child td {
  border-bottom: 0;
}
.bsp-body tbody tr:nth-child(even) {
  background: #fcfcfd;
}
.bsp-body table tr td:first-child {
  white-space: nowrap;
  font-weight: 600;
  color: #111621;
}

/* Need to override the standard first-column text color on the header row */
.bsp-body table tr:first-child td:first-child {
  color: #111621 !important;
}

/* Ensure images inside tables maintain a fixed max-width and responsiveness */
.bsp-body table img {
  max-width: 120px; /* Keeps logos contained. Adjust if you need them slightly larger/smaller */
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px; /* Optional: matches your site's rounded aesthetic */
}

/* ---------- TL;DR ---------- */
.bsp-tldr {
  border-left: 4px solid var(--fw-orange);
  background: var(--fw-soft);
  border-radius: 0 12px 12px 0;
  padding: 22px 26px;
  margin: 28px 0;
}
.bsp-tldr-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--fw-orange);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.bsp-tldr-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bsp-tldr-row {
  position: relative;
  padding-left: 28px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--fw-body);
}
.bsp-tldr-row:before {
  content: "\2192";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--fw-orange);
  font-weight: 700;
}

/* ---------- PULL QUOTE ---------- */
.bsp-quote {
  border-left: 3px solid var(--fw-orange);
  background: var(--fw-soft);
  border-radius: 0 12px 12px 0;
  padding: 24px 28px;
  margin: 28px 0;
}
.bsp-quote p {
  font-size: 21px;
  line-height: 1.45;
  font-weight: 500;
  color: var(--fw-ink);
  margin: 0 0 12px;
}
.bsp-quote-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 0;
  color: var(--fw-orange);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.25s ease;
}
.bsp-quote-copy:hover {
  opacity: 0.7;
}
.bsp-quote-copy:before {
  content: "\f0c5";
  font-family: "Font Awesome 6 Free";
  font-weight: 400;
}

/* ---------- FLOWACE CARD ---------- */
.bsp-fcard {
  display: flex;
  gap: 26px;
  align-items: center;
  border: 1px solid var(--fw-line);
  border-radius: var(--fw-radius);
  padding: 22px;
  margin: 28px 0;
  background: #fff;
  transition: box-shadow 0.3s ease;
}
.bsp-fcard:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}
.bsp-fcard-media {
  width: 170px;
  flex-shrink: 0;
  border: 2px dashed var(--fw-orange-2);
  border-radius: 12px;
  min-height: 110px;
  overflow: hidden;
}
.bsp-fcard-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.bsp-fcard-body {
  flex: 1;
  min-width: 0;
}
.bsp-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fw-orange);
  margin-bottom: 8px;
}
.bsp-fcard-body h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--fw-ink);
  font-weight: 700;
}
.bsp-fcard-body p {
  margin: 0 0 12px;
  font-size: 15px;
  color: var(--fw-body);
  line-height: 1.55;
}
.bsp-link {
  color: var(--fw-orange);
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.25s ease;
}
.bsp-link:hover {
  opacity: 0.7;
}

/* ---------- CTA banner ---------- */
.bsp-cta {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 28px 0;
  padding: 28px 32px;
  border-radius: var(--fw-radius);
  background: linear-gradient(
    120deg,
    var(--fw-peach) 0%,
    var(--fw-peach-2) 100%
  );
}
.bsp-cta-body {
  flex: 1;
  min-width: 0;
}
.bsp-cta-body h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--fw-ink);
}
.bsp-cta-body p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--fw-body);
  max-width: 430px;
}
.bsp-cta-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--fw-muted);
}
.bsp-cta-trust:empty {
  display: none;
}
.bsp-cta-trust span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.bsp-cta-trust span svg {
  flex-shrink: 0;
}
.bsp-cta-trust span svg[stroke="currentColor"] {
  color: var(--fw-muted);
}
.bsp-cta-trust span svg[fill="currentColor"] {
  color: var(--fw-orange);
}

.bsp-cta-media {
  width: 210px;
  flex-shrink: 0;
  border: 2px dashed var(--fw-orange-2);
  border-radius: 12px;
  overflow: hidden;
}
.bsp-cta-media:empty {
  display: none;
}
.bsp-cta-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.bsp-btn {
  display: inline-block;
  text-decoration: none;
  background: var(--fw-grad);
  color: #fff !important;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 8px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.bsp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(255, 87, 34, 0.3);
}

/* ---------- STAT ---------- */
.bsp-stat {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--fw-soft);
  border-radius: 12px;
  padding: 22px 28px;
  margin: 28px 0;
}
.bsp-stat-num {
  font-size: 36px;
  line-height: 1;
  font-weight: 800;
  color: var(--fw-orange);
  flex-shrink: 0;
}
.bsp-stat-body strong {
  display: block;
  font-size: 15px;
  color: var(--fw-ink);
  margin-bottom: 2px;
}
.bsp-stat-body span {
  display: block;
  font-size: 14px;
  color: var(--fw-muted);
  margin-bottom: 6px;
}
.bsp-stat-body .bsp-link {
  font-size: 14px;
  font-weight: 700;
}

/* ---------- SIDEBAR TOC ---------- */
.bsp-toc-box {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
}
.bsp-toc-title {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  line-height: 100%;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #9ca3af;
  margin: 0;
}
.bsp-toc-block {
  padding: 0;
}
.bsp-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 360px;
  overflow-y: auto;
  scrollbar-width: thin;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
a.bsp-tocitem {
  font-family: "Inter", sans-serif;
  font-size: 13.5px;
  line-height: 1.3;
  color: #4b5563;
  text-decoration: none;
  padding: 7px 0 7px 10px;
  border-left: 3px solid #e5e7eb;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}
a.bsp-tocitem:hover {
  color: var(--fw-ink);
}
a.bsp-tocitem.bsp-active {
  font-weight: 600;
  color: #111621;
  border-left-color: #ff5722;
}
a.bsp-tocitem.bsp-tocitem-h3 {
  font-size: 14px;
  padding-left: 26px;
  color: var(--fw-muted);
}
a.bsp-tocitem.bsp-tocitem-h3.bsp-active {
  font-weight: 600;
  color: var(--fw-orange);
  border-left-color: var(--fw-orange);
}
.bsp-toc-sub {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bsp-sticky {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--fw-line);
  background: var(--fw-soft);
}
.bsp-sticky-in {
  padding: 22px;
  text-align: center;
}
.bsp-sticky-in img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 14px;
}
.bsp-sticky-in h3 {
  font-size: 15px;
  color: var(--fw-ink);
  margin-bottom: 14px;
  line-height: 1.45;
  font-weight: 700;
}
.bsp-sticky-btn {
  display: inline-block;
  background: var(--fw-grad);
  color: #fff;
  text-decoration: none;
  padding: 11px 22px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.bsp-sticky-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(255, 87, 34, 0.3);
}

/* ==================================================================
 * FAQ  (Integration Hub style — populated from in-body FAQ)
 * ================================================================== */
.bsp-alt {
  background: #f5f5f7;
}
.bsp-center {
  text-align: center;
}
.bsp-faq {
  padding: 60px 0;
}
.bsp-faq-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}
.bsp-faq-head {
  background: transparent;
  margin-bottom: 36px;
}
.bsp-faq-head .bsp-eyebrow {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 12px;
  line-height: 100%;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #e8550a;
  margin: 0 0 16px;
}
.bsp-faq-title {
  font-family: "DM Sans", "Inter", sans-serif;
  font-weight: 700;
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: -1.4px;
  color: #1d2939;
  margin: 0;
}
.bsp-faq-list {
  display: flex;
  flex-direction: column;
}
.bsp-faq-item {
  border-bottom: 1px solid #1e285014;
}
.bsp-faq-item:last-child {
  border-bottom: 0;
}
.bsp-faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  -webkit-appearance: none;
  appearance: none;
}
.bsp-faq-trigger:focus-visible {
  outline: 2px solid #ff5c28;
  outline-offset: 2px;
  border-radius: 4px;
}
.bsp-faq-q,
.bsp-faq-q span {
  font-family: "Inter", sans-serif;
  font-weight: 500 !important;
  font-size: 16px;
  line-height: 22px;
  color: #1d2939;
  flex: 1;
}
.bsp-faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bsp-faq-icon svg {
  width: 24px;
  height: 24px;
}
.bsp-faq-minus {
  display: none;
}
.bsp-faq-item.bsp-active .bsp-faq-minus {
  display: block;
}
.bsp-faq-item.bsp-active .bsp-faq-plus {
  display: none;
}
.bsp-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.bsp-faq-a-inner {
  padding-bottom: 4px;
}
.bsp-faq-a-inner p span,
.bsp-faq-a-inner p {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 25px;
  color: #344054;
  padding: 0 0 20px;
  margin: 0;
}
.bsp-faq-a-inner p span a,
.bsp-faq-a-inner p a {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 25px;
  color: #f15a2c;
  text-decoration: underline;
}
.bsp-faq-a-inner p span a:hover,
.bsp-faq-a-inner p a:hover {
  text-decoration: none;
}

/* ---------- HUBSPOT LEAD FORM ---------- */
.bsp-leadform {
  padding: 20px 0 0;
}
.bsp-lead-row {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}
.bsp-lead-img {
  flex: 1;
  min-width: 280px;
}
.bsp-lead-img img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}
.bsp-lead-form {
  flex: 1;
  min-width: 280px;
}

/* ---------- RELATED (borderless card) ---------- */
.bsp-related {
  padding: 60px 0 !important;
  margin: 0 !important;
}
.bsp-rel-eyebrow {
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fw-orange);
  margin: 0 0 10px;
}
.bsp-rel-title {
  text-align: center;
  font-size: 30px;
  font-weight: 800;
  margin: 0 0 40px;
  color: var(--fw-ink);
}
.bsp-rel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.bsp-rel-item {
  width: auto !important;
  margin: 0;
}
.bsp-rel-card {
  position: relative;
  padding: 0;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition:
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.bsp-rel-card:hover {
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
}
.bsp-rel-img {
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.bsp-rel-img a {
  display: block;
  width: 100%;
  height: 100%;
}
.bsp-rel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.bsp-rel-body {
  padding: 14px 18px 18px !important;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.bsp-rel-cat {
  font-family: "Inter", sans-serif;
  font-size: 10.5px;
  line-height: 100%;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--fw-orange);
}
.bsp-rel-body h3 {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 15.5px;
  line-height: 21px;
  font-weight: 600;
  color: #111621;
}
.bsp-rel-body h3 a {
  color: #111621;
  text-decoration: none;
  transition: color 0.2s ease;
}
.bsp-rel-body h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.bsp-rel-read {
  font-family: "Inter", sans-serif;
  font-size: 12.5px;
  line-height: 100%;
  color: #9ca3af;
  margin-top: auto;
}

/* ==================================================================
 * FINAL CTA  (Home V2 .trial-section style)
 * ================================================================== */
.bsp-trial {
  padding: 0;
  background: linear-gradient(107.35deg, #0f1117 0%, #1a1d24 100%);
  position: relative;
  overflow: hidden;
}
.bsp-trial-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 40px;
  display: flex;
  align-items: center;
  gap: 80px;
  position: relative;
  z-index: 1;
}
.bsp-trial::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 420px;
  height: 300px;
  background: radial-gradient(
    ellipse at bottom left,
    rgba(232, 85, 10, 0.2) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.bsp-trial::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 420px;
  height: 300px;
  background: radial-gradient(
    ellipse at top right,
    rgba(232, 85, 10, 0.2) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.bsp-trial-left {
  flex: 0 0 512px;
  max-width: 512px;
}
.bsp-trial-label {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 18.43px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #e8550ad9;
  margin-bottom: 16px;
}
.bsp-trial-heading {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 48px;
  line-height: 58.57px;
  letter-spacing: -1.9px;
  color: #fff;
  margin: 0 0 28px;
}
.bsp-trial-desc {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 27.72px;
  color: #f2f4f7;
  margin: 0 0 28px;
}
.bsp-trial-feats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}
.bsp-trial-feat {
  display: flex;
  align-items: center;
  gap: 7px;
}
.bsp-trial-feat svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.bsp-trial-lbl {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: #cdd4df;
}
.bsp-trial-right {
  flex: 1;
  max-width: 512px;
}
.bsp-trial-card {
  background: #fff;
  border-radius: 24px;
  padding: 36px 32px;
  box-shadow: 0 24px 64px 0 #0000004d;
}
.bsp-trial-card-title {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 20.74px;
  letter-spacing: -0.38px;
  color: #1d2939;
  margin: 0 0 6px;
}
.bsp-trial-card-sub {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 22.85px;
  color: #344054;
  margin: 0 0 24px;
}
.bsp-trial-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: #1d2939;
  outline: none;
  box-sizing: border-box;
  margin-bottom: 12px;
  transition: border-color 0.2s ease;
}
.bsp-trial-input::placeholder {
  color: #667085;
}
.bsp-trial-input:focus {
  border-color: #f15a2c;
}
.bsp-trial-submit {
  width: 100%;
  padding: 14px 24px;
  background: #f15a2c;
  box-shadow: 0 8px 32px 0 #e8550a38;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}
.bsp-trial-submit:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.bsp-trial-submit svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}
.bsp-trial-submit:hover svg {
  transform: translateX(3px);
}
.bsp-trial-terms {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 18px;
  color: #9ca3af;
  text-align: center;
  margin: 14px 0 0;
}
.bsp-trial-terms a {
  color: #1d2939;
  font-size: 12px;
  text-decoration: underline;
  transition: color 0.2s ease;
}
.bsp-trial-terms a:hover {
  color: #f15a2c;
}

/* ==================================================================
 * RESPONSIVE
 * Typography scale (article body + headings) steps down at 768 & 480.
 * Body-copy overrides use !important so inline WYSIWYG spans from the
 * Classic Editor can't reintroduce desktop sizes on mobile.
 * Hero H1 ramp: 48 → 38 (1024) → 34 (768) → 30 (599) → 26 (480).
 * ================================================================== */

/* ---------- 1024 ---------- */
@media (max-width: 1024px) {
  .bsp-herotext {
    width: 100%;
    padding-top: 0;
  }
  .bsp-heromedia {
    width: 100%;
  }
  .bsp-herorow h1 {
    font-size: 38px;
    line-height: 44px;
  }
}

/* ---------- 992 ---------- */
@media (max-width: 992px) {
  .bsp-trial-inner {
    gap: 40px;
    padding: 60px 20px;
  }
  .bsp-trial-left {
    flex: 0 0 340px;
    max-width: 340px;
  }
  .bsp-trial-heading {
    font-size: 36px;
    line-height: 40px;
  }
  .bsp-faq-title {
    font-size: 34px;
    letter-spacing: -1px;
  }
}

/* ---------- 900 (sidebar stacks) ---------- */
@media (max-width: 900px) {
  .bsp-root .container {
    max-width: 100% !important; /* Force parent theme container to not overflow on mobile */
  }
  .bsp-root {
    overflow-x: hidden;
    width: 100%;
  }
  .bsp-col-main {
    width: 100%;
  }
  .bsp-wrap {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  .bsp-col-side {
    position: static;
    width: 100%;
    order: -1;
    margin-bottom: 30px;
  }
  .bsp-toc-list {
    max-height: none;
  }
  .bsp-ai {
    max-width: 100%;
  }
  .bsp-ai-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bsp-rel-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- 768 (tablet / large phone) ---------- */
@media (max-width: 768px) {
  /* Section rhythm */
  .bsp-hero {
    padding: 26px 0 40px !important;
  }
  .bsp-herorow {
    gap: 26px;
  }
  .bsp-mainsec {
    padding: 40px 0;
  }
  .bsp-related {
    padding: 44px 0 !important;
  }

  /* Hero */
  .bsp-herorow h1 {
    font-size: 34px;
    line-height: 40px;
    letter-spacing: -1px;
  }
  .bsp-herodesc p {
    font-size: 16px;
  }

  /* Article body copy */
  .bsp-body {
    font-size: 16px;
    line-height: 1.68;
  }
  .bsp-body p,
  .bsp-body p *,
  .bsp-body p span {
    font-size: 16px !important;
    line-height: 26px !important;
  }
  .bsp-body a,
  .bsp-body a span {
    font-size: 16px !important;
    line-height: 26px !important;
  }
  .bsp-body ul li span,
  .bsp-body ol li span,
  .bsp-body ul li b,
  .bsp-body ol li b {
    font-size: 15px;
    line-height: 22px;
  }

  /* Article headings */
  .bsp-body h2 {
    margin: 22px 0 14px;
  }
  .bsp-body h2,
  .bsp-body h2 *,
  .bsp-body h2 span {
    font-size: 24px !important;
    line-height: 32px !important;
  }
  .bsp-body h3 {
    margin: 22px 0 14px;
  }
  .bsp-body h3,
  .bsp-body h3 *,
  .bsp-body h3 span {
    font-size: 20px !important;
    line-height: 27px !important;
  }
  .bsp-body h4,
  .bsp-body h4 *,
  .bsp-body h4 span {
    font-size: 18px !important;
    line-height: 26px !important;
  }
  .bsp-body h5,
  .bsp-body h5 *,
  .bsp-body h5 span {
    font-size: 17px !important;
    line-height: 25px !important;
  }

  /* In-body widgets */
  .bsp-quote p {
    font-size: 18px;
    line-height: 1.5;
  }
  .bsp-rel-title {
    font-size: 26px;
    margin-bottom: 28px;
  }
  .bsp-cta-body h3 {
    font-size: 18px;
  }
  .bsp-stat-num {
    font-size: 30px;
  }

  /* Stacking */
  .bsp-cta,
  .bsp-fcard,
  .bsp-stat {
    flex-direction: column;
    align-items: stretch;
  }
  .bsp-cta-media,
  .bsp-fcard-media {
    width: 100%;
    order: -1;
    margin-bottom: 8px;
  }
  .bsp-cta-body p {
    max-width: none;
  }
  .bsp-lead-row {
    gap: 28px;
  }

  /* FAQ + Final CTA */
  .bsp-faq {
    padding: 48px 0;
  }
  .bsp-faq-title {
    font-size: 30px;
  }
  .bsp-trial-inner {
    flex-direction: column;
    text-align: center;
    gap: 40px;
    padding: 48px 15px;
  }
  .bsp-trial-left {
    flex: none;
    max-width: 100%;
  }
  .bsp-trial-heading {
    font-size: 32px;
    line-height: 36px;
  }
  .bsp-trial-desc {
    font-size: 15px;
  }
  .bsp-trial-feats {
    justify-content: center;
  }
  .bsp-trial-right {
    max-width: 100%;
    width: 100%;
  }
  .bsp-trial-card {
    padding: 28px 24px;
  }
}

/* ---------- 599 ---------- */
@media (max-width: 599px) {
  /* Table scrolls horizontally inside its wrapper instead of squishing */
  .bsp-table-wrap {
    border-radius: 10px;
    max-width: 100vw;
  }
  .bsp-body table {
    min-width: 480px;
  }
  .bsp-body thead th,
  .bsp-body table tr:first-child th,
  .bsp-body td {
    padding: 12px 14px;
  }

  /* Hero */
  .bsp-herorow h1 {
    font-size: 30px;
    line-height: 36px;
    letter-spacing: -0.8px;
  }
  .bsp-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- 480 (small phone) ---------- */
@media (max-width: 480px) {
  /* Grids */
  .bsp-ai-grid {
    grid-template-columns: 1fr; /* Fallback to 1 column so cards don't force overflow on very narrow screens */
  }
  .bsp-ai {
    padding: 14px 18px;
  }

  /* Hero */
  .bsp-herorow h1 {
    font-size: 26px;
    line-height: 32px;
    letter-spacing: -0.6px;
  }
  .bsp-herodesc p {
    font-size: 15px;
  }

  /* Article body copy */
  .bsp-body p,
  .bsp-body p *,
  .bsp-body p span {
    font-size: 15px !important;
    line-height: 24px !important;
  }
  .bsp-body a,
  .bsp-body a span {
    font-size: 15px !important;
    line-height: 24px !important;
  }

  /* Article headings */
  .bsp-body h2,
  .bsp-body h2 *,
  .bsp-body h2 span {
    font-size: 22px !important;
    line-height: 30px !important;
  }
  .bsp-body h3,
  .bsp-body h3 *,
  .bsp-body h3 span {
    font-size: 18px !important;
    line-height: 26px !important;
  }
  .bsp-body h4,
  .bsp-body h4 *,
  .bsp-body h4 span {
    font-size: 17px !important;
    line-height: 25px !important;
  }

  /* In-body widgets */
  .bsp-quote {
    padding: 20px 22px;
  }
  .bsp-quote p {
    font-size: 17px;
  }
  .bsp-cta {
    padding: 22px 18px;
    gap: 18px;
  }
  .bsp-stat {
    padding: 20px 22px;
    gap: 14px;
  }
  .bsp-rel-title {
    font-size: 22px;
  }

  /* Final CTA */
  .bsp-trial-inner {
    padding: 36px 15px;
  }
  .bsp-trial-heading {
    font-size: 26px;
    line-height: 32px;
  }
  .bsp-trial-feats {
    flex-direction: column;
    gap: 8px;
  }
  .bsp-trial-feat {
    justify-content: center;
  }
  .bsp-trial-card {
    padding: 24px 18px;
  }
  .bsp-faq-title {
    font-size: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bsp-root *,
  .bsp-root *::before,
  .bsp-root *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
