/* ==========================================================================
   Blog listing + detail styles (bl-* listing, bp-* post)
   Aligned with the site's csi-* (case-studies) language.
   ========================================================================== */

/* ---------- Listing hero ---------- */
.bl-hero {
  background: linear-gradient(180deg, #f8f1ff 0%, #FFFBF8 77.6%, rgba(255, 255, 255, 0));
  padding: 7rem 0 3rem;
}
@media (min-width: 768px) {
  .bl-hero { padding: 9rem 0 4rem; }
}

.bl-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .bl-hero--split .bl-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4rem;
  }
}

.bl-hero__copy { min-width: 0; }

.bl-hero__eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FF5A1F;
  margin-bottom: 1rem;
}

.bl-hero__title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.15;
  color: #111928;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}
@media (min-width: 768px) { .bl-hero__title { font-size: 2.75rem; } }
@media (min-width: 1280px) { .bl-hero__title { font-size: 3.25rem; } }

.bl-hero .bl-hero__desc {
  font-size: 1rem;
  color: #4a5568;
  line-height: 1.65;
  margin: 0;
  max-width: 560px;
}
@media (min-width: 768px) { .bl-hero .bl-hero__desc { font-size: 1.075rem; } }

/* Simple (centered) hero variant — used on tag/search pages */
.bl-hero--simple { text-align: center; padding: 7rem 0 2.5rem; }
@media (min-width: 768px) { .bl-hero--simple { padding: 9rem 0 3rem; } }
.bl-hero--simple .bl-hero__copy { max-width: 760px; margin: 0 auto; }
.bl-hero--simple .bl-hero__title { letter-spacing: 0; }
.bl-hero--simple .bl-hero__desc {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 720px;
}

/* Featured card embedded in the hero (right column on desktop) */
.bl-hero__featured {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #ececec;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 18px 36px rgba(17,24,39,0.06);
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s, box-shadow 0.18s;
}
.bl-hero__featured:hover {
  transform: translateY(-3px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 22px 44px rgba(17,24,39,0.12);
}
.bl-hero__featured-media {
  height: 240px;
  background: #f0f2f6 center / cover no-repeat;
}
@media (min-width: 1024px) { .bl-hero__featured-media { height: 260px; } }
.bl-hero__featured-body {
  padding: 1.5rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
}
.bl-hero__featured-label {
  display: inline-block;
  background: #FF5A1F;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
  align-self: flex-start;
}
.bl-hero__featured-topic {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #FF5A1F;
  margin-bottom: 8px;
}
.bl-hero__featured-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111928;
  margin: 0 0 0.75rem;
  line-height: 1.3;
}
@media (min-width: 1200px) { .bl-hero__featured-title { font-size: 1.4rem; } }
.bl-hero__featured-meta {
  font-size: 0.825rem;
  color: #6b7280;
}
.bl-hero__featured-meta span + span::before {
  content: '·';
  margin: 0 8px;
  color: #cbd5e0;
}
.bl-hero__featured-cta {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #FF5A1F;
  font-weight: 600;
  font-size: 0.925rem;
}

/* ---------- Filters bar (top, replaces sidebar) ---------- */
.bl-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 1.5rem;
  flex-wrap: wrap;
  padding: 14px 18px;
  border: 1px solid #ececec;
  border-radius: 12px;
  background: #fff;
}
.bl-toolbar__count {
  font-size: 0.875rem;
  color: #6b7280;
}
.bl-toolbar__count strong { color: #111928; }
.bl-search {
  position: relative;
  flex: 1;
  min-width: 240px;
  max-width: 460px;
}
.bl-search i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  font-size: 18px;
}
.bl-search input {
  width: 100%;
  padding: 10px 14px 10px 40px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  background: #f8fafc;
  transition: border-color 0.15s, background 0.15s;
}
.bl-search input:focus {
  border-color: #FF5A1F;
  background: #fff;
}

.bl-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 2rem;
}
.bl-topics a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e5e7eb;
  font-size: 0.85rem;
  color: #374151;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}
.bl-topics a:hover { background: #fff7ed; border-color: #fed7aa; color: #c2410c; }
.bl-topics a.is-active {
  background: #FF5A1F;
  border-color: #FF5A1F;
  color: #fff;
}
.bl-topics a.is-active .bl-count {
  background: rgba(255,255,255,0.25);
  color: #fff;
}
.bl-topics .bl-count {
  background: #f3f4f6;
  color: #6b7280;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 12px;
}

/* ---------- Results grid ---------- */
.bl-results { padding-bottom: 2rem; }
.bl-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
}
@media (max-width: 992px) { .bl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .bl-grid { grid-template-columns: 1fr; } }

.bl-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #ececec;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.18s, box-shadow 0.18s;
  text-decoration: none;
  color: inherit;
}
.bl-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(17,24,39,0.08);
}
.bl-card__img {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: #f6f6f6;
}
/* Topic-keyed gradient placeholder used when a post has no unique hero image */
.bl-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  line-height: 1.3;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}
.bl-card__placeholder--pki         { background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%); }
.bl-card__placeholder--iam         { background: linear-gradient(135deg, #4338ca 0%, #7c3aed 100%); }
.bl-card__placeholder--mfa         { background: linear-gradient(135deg, #be185d 0%, #ec4899 100%); }
.bl-card__placeholder--pam         { background: linear-gradient(135deg, #7c2d12 0%, #ea580c 100%); }
.bl-card__placeholder--clm         { background: linear-gradient(135deg, #065f46 0%, #10b981 100%); }
.bl-card__placeholder--enc         { background: linear-gradient(135deg, #0e7490 0%, #06b6d4 100%); }
.bl-card__placeholder--ssl         { background: linear-gradient(135deg, #166534 0%, #22c55e 100%); }
.bl-card__placeholder--esign       { background: linear-gradient(135deg, #c2410c 0%, #f97316 100%); }
.bl-card__placeholder--remote      { background: linear-gradient(135deg, #6d28d9 0%, #a855f7 100%); }
.bl-card__placeholder--server      { background: linear-gradient(135deg, #1f2937 0%, #4b5563 100%); }
.bl-card__placeholder--trust       { background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%); }
.bl-card__placeholder__topic {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 8px;
}
.bl-card__placeholder__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bl-card__body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.bl-card__topic {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #FF5A1F;
  margin-bottom: 10px;
}
.bl-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #111928;
  margin: 0 0 12px;
  line-height: 1.35;
  text-decoration: none;
  display: block;
}
.bl-card__title:hover { color: #FF5A1F; }
.bl-card__excerpt {
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.55;
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bl-card__meta {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: 0.75rem;
  color: #6b7280;
}
.bl-card__meta span + span::before {
  content: '·';
  margin-right: 12px;
  color: #d1d5db;
}

/* Pagination */
.bl-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 36px 0 0;
  list-style: none;
  padding: 0;
}
.bl-pagination a, .bl-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.875rem;
  color: #374151;
  text-decoration: none;
  background: #fff;
}
.bl-pagination a:hover { background: #fff7ed; border-color: #fed7aa; color: #c2410c; }
.bl-pagination .is-active {
  background: #111928;
  color: #fff;
  border-color: #111928;
}
.bl-pagination .is-disabled {
  color: #d1d5db;
  border-color: #f3f4f6;
  pointer-events: none;
  background: #fafafa;
}

/* Empty state */
.bl-empty {
  text-align: center;
  padding: 60px 20px;
  color: #6b7280;
  font-size: 0.95rem;
  border: 1px dashed #e5e7eb;
  border-radius: 12px;
}

/* ==========================================================================
   Detail page
   ========================================================================== */

.bp-banner {
  background: linear-gradient(180deg, #f8f1ff 0%, #FFFBF8 77.6%, rgba(255, 255, 255, 0));
  padding: 7rem 0 1.25rem;
}
@media (min-width: 768px) {
  .bp-banner { padding: 9rem 0 1.75rem; }
}
.bp-breadcrumbs {
  font-size: 0.825rem;
  color: #6b7280;
  margin-bottom: 1.5rem;
}
.bp-breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.bp-breadcrumbs li + li::before {
  content: '›';
  margin-right: 6px;
  color: #cbd5e0;
}
.bp-breadcrumbs a { color: #FF5A1F; text-decoration: none; }
.bp-breadcrumbs a:hover { text-decoration: underline; }

/* Topic pill above the title */
.bp-banner__topic-pill {
  display: inline-block;
  padding: 5px 14px;
  background: #fff7ed;
  color: #c2410c;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  margin-bottom: 1rem;
}
.bp-banner__topic-pill:hover { background: #ffe6d3; color: #9a3412; }

.bp-banner__title {
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 2rem;
  color: #111928;
  max-width: 1080px;
}
@media (min-width: 768px) { .bp-banner__title { font-size: 2.5rem; } }

/* Single byline row: avatar+name+meta on left, share on right */
.bp-byline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 0.75rem;
}
.bp-byline__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.bp-byline__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: #f0f0f0;
  flex-shrink: 0;
  border: 1px solid #ececec;
}
.bp-byline__name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #111928;
  line-height: 1.3;
}
.bp-byline__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: 0.825rem;
  color: #6b7280;
  margin-top: 2px;
}
.bp-byline__meta span + span::before {
  content: '·';
  margin-right: 14px;
  color: #cbd5e0;
}

/* Share buttons row */
.bp-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.bp-share__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-right: 4px;
}
.bp-share__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #4b5563;
  font-size: 17px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.12s;
  text-decoration: none;
}
.bp-share__btn:hover {
  background: #fff7ed;
  border-color: #FF5A1F;
  color: #FF5A1F;
  transform: translateY(-1px);
}
.bp-share__btn.is-copied {
  background: #dcfce7;
  border-color: #16a34a;
  color: #16a34a;
}
.bp-share__btn.is-copied::after {
  content: 'Copied!';
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 600;
  background: #111928;
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  pointer-events: none;
  white-space: nowrap;
}

/* 2-col layout */
.bp-content { padding: 2rem 0 5rem; }
@media (min-width: 768px) { .bp-content { padding: 2.5rem 0 6rem; } }
.bp-content__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 56px;
}
@media (max-width: 992px) {
  .bp-content__grid { grid-template-columns: 1fr; }
  .bp-content__sidebar { order: 2; }
}

/* Article body */
.bp-article {
  max-width: 760px;
}
.bp-article__hero {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: #f0f2f6;
  border-radius: 14px;
  margin: 0 0 2.25rem;
}
.bp-article__body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #1f2937;
}
/* Headings here use !important because Bootstrap's site-wide heading
   reset wins specificity-wise on h2/h3 and otherwise zeros out our margins. */
.bp-article__body h2 {
  font-size: 1.55rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  margin: 3rem 0 1.25rem !important;
  color: #111928 !important;
  scroll-margin-top: 110px;
}
.bp-article__body h3 {
  font-size: 1.225rem !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  margin: 2.5rem 0 1rem !important;
  color: #111928 !important;
  scroll-margin-top: 110px;
}
.bp-article__body p { margin: 0 0 1.5rem !important; }
.bp-article__body a { color: #FF5A1F; text-decoration: underline; }
.bp-article__body a:hover { color: #c2410c; }
.bp-article__body ul, .bp-article__body ol { margin: 0 0 1.5rem 1.5em; padding: 0; }
.bp-article__body li { margin-bottom: 0.625rem; }
.bp-article__body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 2rem auto;
  border-radius: 8px;
}
.bp-article__body strong { color: #111928; }
.bp-article__body table {
  border-collapse: collapse;
  width: 100%;
  margin: 1.25rem 0;
  font-size: 0.875rem;
}
.bp-article__body th, .bp-article__body td {
  border: 1px solid #e5e7eb;
  padding: 10px 14px;
  text-align: left;
}
.bp-article__body th { background: #f9fafb; font-weight: 600; }
.bp-article__body blockquote {
  border-left: 3px solid #FF5A1F;
  padding: 0.5rem 1.25rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #4b5563;
  background: #fff7ed;
  border-radius: 0 8px 8px 0;
}

/* Tags + author box */
.bp-tags {
  margin: 3rem 0 0;
  padding-top: 1.75rem;
  border-top: 1px solid #ececec;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.bp-tags__label {
  font-size: 0.825rem;
  color: #6b7280;
  margin-right: 4px;
}
.bp-tags__link {
  display: inline-block;
  padding: 5px 14px;
  background: #fff7ed;
  color: #FF5A1F;
  border-radius: 16px;
  font-size: 0.75rem;
  font-weight: 500;
  text-decoration: none;
}
.bp-tags__link:hover { background: #ffe6d3; }

.bp-author-box {
  margin-top: 3rem;
  padding: 2rem;
  border: 1px solid #ececec;
  border-radius: 12px;
  background: #fafbfc;
  display: flex;
  gap: 22px;
}
.bp-author-box img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  background: #f0f0f0;
  flex-shrink: 0;
}
.bp-author-box__heading {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7280;
  margin: 0 0 4px;
}
.bp-author-box__name {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: #111928;
}
.bp-author-box__bio {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #4b5563;
  margin: 0;
}
.bp-author-box__social { margin-top: 8px; }
.bp-author-box__social a {
  color: #0077b5;
  font-size: 1.25rem;
  text-decoration: none;
}

/* Sidebar / TOC.  Both scroll naturally with the article — sticky was
   pinning the TOC and causing visual collision with the long lead form below. */
.bp-sidebar { position: static; }
.bp-sidebar .bp-toc { position: static; }
.bp-toc {
  border: 1px solid #ececec;
  border-radius: 12px;
  padding: 1.25rem 1.25rem 1rem;
  background: #fff;
}
.bp-toc__title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7280;
  margin: 0 0 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f1f3f5;
}
.bp-toc__list { list-style: none; padding: 0; margin: 0; }
.bp-toc__item { margin-bottom: 0.75rem; }
.bp-toc__item:last-child { margin-bottom: 0; }
.bp-toc__item--h3 { padding-left: 14px; }
.bp-toc__link {
  font-size: 0.825rem;
  color: #374151;
  text-decoration: none;
  line-height: 1.45;
  display: inline-block;
}
.bp-toc__link:hover { color: #FF5A1F; }

/* ============================================================
   Sidebar HubSpot form (.bp-sidebar-form)
   ============================================================ */
.bp-sidebar-form {
  margin-top: 1.25rem;
  background: linear-gradient(180deg, #fff8f1 0%, #ffffff 100%);
  border: 1px solid #f0e8de;
  border-radius: 14px;
  padding: 1.5rem 1.25rem 1.25rem;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02), 0 8px 22px rgba(17,24,39,0.04);
}
.bp-sidebar-form__heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111928;
  margin: 0 0 0.35rem;
  line-height: 1.3;
}
.bp-sidebar-form__sub {
  font-size: 0.825rem;
  color: #6b7280;
  margin: 0 0 1.1rem;
  line-height: 1.5;
}
.bp-sidebar-form .hs-form-html { min-height: 60px; }
.bp-sidebar-form form { max-width: 100%; }

/* ----- HubSpot v4 (.hsfc-*) overrides — make injected form match the site ----- */

/* Step container — drop HubSpot's default padding/borders, add a small top
   gap so the first field doesn't crash into our intro sub-line. */
.bp-sidebar-form .hsfc-Step,
.bp-sidebar-form .hsfc-Step__Content {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.bp-sidebar-form .hsfc-Step__Content { padding-top: 0.5rem !important; }

/* Row — force single column, consistent gap between fields */
.bp-sidebar-form .hsfc-Row {
  display: grid !important;
  grid-template-columns: 1fr !important;
  row-gap: 0 !important;
  margin-bottom: 0.85rem !important;
}
.bp-sidebar-form .hsfc-Row:last-of-type { margin-bottom: 0 !important; }
.bp-sidebar-form .hsfc-Row > * { width: 100% !important; min-width: 0 !important; }

/* Field wrappers */
.bp-sidebar-form .hsfc-EmailField,
.bp-sidebar-form .hsfc-TextField,
.bp-sidebar-form .hsfc-PhoneField,
.bp-sidebar-form .hsfc-DropdownField {
  margin: 0 !important;
}

/* Labels */
.bp-sidebar-form .hsfc-FieldLabel {
  display: block !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  color: #374151 !important;
  margin: 0 0 0.4rem !important;
  line-height: 1.4 !important;
  white-space: normal !important;
}
.bp-sidebar-form .hsfc-FieldLabel__RequiredIndicator {
  color: #FF5A1F !important;
  margin-left: 2px !important;
}

/* Text/email inputs */
.bp-sidebar-form .hsfc-TextInput,
.bp-sidebar-form input[type="text"],
.bp-sidebar-form input[type="email"],
.bp-sidebar-form input[type="tel"],
.bp-sidebar-form textarea {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  font-size: 0.9rem !important;
  font-family: inherit !important;
  padding: 0.625rem 0.75rem !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #111928 !important;
  outline: none !important;
  transition: border-color 0.15s, box-shadow 0.15s !important;
  height: auto !important;
  min-height: 40px !important;
}
.bp-sidebar-form .hsfc-TextInput:focus,
.bp-sidebar-form input:focus,
.bp-sidebar-form textarea:focus {
  border-color: #FF5A1F !important;
  box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.12) !important;
}
.bp-sidebar-form .hsfc-TextInput::placeholder,
.bp-sidebar-form input::placeholder { color: #9ca3af !important; }

/* Phone field — country/flag picker integrated with input */
.bp-sidebar-form .hsfc-PhoneInput {
  display: flex !important;
  align-items: stretch !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  background: #fff !important;
  overflow: hidden !important;
  min-height: 40px !important;
}
.bp-sidebar-form .hsfc-PhoneInput:focus-within {
  border-color: #FF5A1F !important;
  box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.12) !important;
}
.bp-sidebar-form .hsfc-PhoneInput .hsfc-PhoneInput__FlagAndCaret {
  background: #f8fafc !important;
  border-right: 1px solid #e5e7eb !important;
  padding: 0 0.5rem !important;
  border-radius: 0 !important;
  display: flex !important;
  align-items: center !important;
}
.bp-sidebar-form .hsfc-PhoneInput input,
.bp-sidebar-form .hsfc-PhoneInput .hsfc-TextInput {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  flex: 1 !important;
}
.bp-sidebar-form .hsfc-PhoneInput input:focus { box-shadow: none !important; }

/* Custom dropdown (HubSpot uses a button-driven combobox, not native <select>) */
.bp-sidebar-form .hsfc-DropdownInput,
.bp-sidebar-form .hsfc-TextInput--button {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  padding: 0.625rem 0.75rem !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  background: #fff !important;
  font-size: 0.9rem !important;
  color: #111928 !important;
  cursor: pointer !important;
  min-height: 40px !important;
  text-align: left !important;
}
.bp-sidebar-form .hsfc-DropdownInput:hover,
.bp-sidebar-form .hsfc-TextInput--button:hover { border-color: #d1d5db !important; }
.bp-sidebar-form .hsfc-DropdownInput:focus,
.bp-sidebar-form .hsfc-TextInput--button:focus {
  border-color: #FF5A1F !important;
  box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.12) !important;
}
.bp-sidebar-form .hsfc-DropdownInput__Caret { color: #9ca3af !important; }

/* Dropdown popup */
.bp-sidebar-form .hsfc-DropdownOptions,
.hsfc-DropdownOptions {
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.1) !important;
  background: #fff !important;
}
.hsfc-DropdownOptions__List__ListItem {
  padding: 0.5rem 0.75rem !important;
  font-size: 0.875rem !important;
}
.hsfc-DropdownOptions__List__ListItem--selected,
.hsfc-DropdownOptions__List__ListItem:hover {
  background: #fff7ed !important;
  color: #c2410c !important;
}

/* Privacy/consent rich-text block */
.bp-sidebar-form .hsfc-DataPrivacyField,
.bp-sidebar-form .hsfc-RichText {
  font-size: 0.75rem !important;
  color: #6b7280 !important;
  line-height: 1.55 !important;
  margin: 0.25rem 0 0.85rem !important;
}
.bp-sidebar-form .hsfc-RichText a { color: #FF5A1F !important; }

/* Submit button row */
.bp-sidebar-form .hsfc-NavigationRow {
  margin-top: 0.5rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem !important;
}
.bp-sidebar-form .hsfc-NavigationRow__Buttons {
  display: flex !important;
  width: 100% !important;
}
.bp-sidebar-form .hsfc-Button,
.bp-sidebar-form button[type="submit"] {
  width: 100% !important;
  background: #FF5A1F !important;
  border: 1px solid #FF5A1F !important;
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 0.925rem !important;
  padding: 0.7rem 1rem !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: background 0.15s, border-color 0.15s, transform 0.12s !important;
}
.bp-sidebar-form .hsfc-Button:hover,
.bp-sidebar-form button[type="submit"]:hover {
  background: #c2410c !important;
  border-color: #c2410c !important;
  transform: translateY(-1px);
}

/* Related posts */
.bp-related {
  margin-top: 4rem;
  padding-top: 2.25rem;
  border-top: 1px solid #ececec;
}
.bp-related__title {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 1.5rem;
  color: #111928;
}

/* ==========================================================================
   Bottom CTA strip (Ready to Try?) — site-wide pattern
   ========================================================================== */
.bl-cta {
  background: linear-gradient(135deg, #f8f1ff 0%, #fff7ed 100%);
  padding: 5.5rem 0;
  text-align: center;
}
@media (min-width: 768px) { .bl-cta { padding: 6.5rem 0; } }
.bl-cta__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #111928;
  margin: 0 0 1rem;
}
@media (min-width: 768px) { .bl-cta__title { font-size: 2.25rem; } }
.bl-cta .bl-cta__desc {
  font-size: 1rem;
  color: #4a5568;
  max-width: 560px;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 0;
  margin-bottom: 2.25rem;
  line-height: 1.6;
}
.bl-cta__btn {
  display: inline-block;
  padding: 12px 28px;
  background: #FF5A1F;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s;
}
.bl-cta__btn:hover { background: #c2410c; color: #fff; }
