/* Single blog + sidebar (cards live in blocks/blog-posts/blog-posts.css). */

/* Hero */
.fbp-blog-hero {
  position: relative;
  padding: 140px 0 70px;
  background-image: linear-gradient(rgb(255 255 255 / 50%), rgb(255 255 255 / 50%)), var(--fbp-blog-hero-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}

.fbp-blog-hero__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 18px;
}

.fbp-blog-hero__breadcrumb a {
  color: rgba(0, 0, 0, 0.85);
}

.fbp-blog-hero__breadcrumb a:hover {
  color: #f8e1b3;
}

.fbp-blog-hero__sep {
  color: rgba(0, 0, 0, 0.45);
}

.fbp-blog-hero__current {
  color: #000000;
  text-decoration: underline;
}

.fbp-blog-hero__title {
  font-size: 48px;
  line-height: 1.15;
  margin: 0 0 12px;
  color: #000000;
  font-family: var(--fontSpace-700, var(--font-700));
  max-width: 900px;
}

.fbp-blog-hero__meta {
  margin: 0;
  font-size: 15px;
  color: rgba(0, 0, 0, 0.85);
}

/* Single body */
.fbp-blog-single {
  padding: 60px 0;
  background: #fff;
}

.fbp-blog-single__article {
  max-width: 100%;
}

.fbp-blog-single__content {
  color: #575757;
  font-size: 16px;
  line-height: 1.7;
}

.fbp-blog-single__content > *:first-child {
  margin-top: 0;
}

.fbp-blog-single__content h2,
.fbp-blog-single__content h3 {
  color: #0d1f2d;
  font-family: var(--font-700);
  line-height: 1.3;
  margin: 36px 0 14px;
  scroll-margin-top: 110px;
}

.fbp-blog-single__content h2 {
  font-size: 28px;
}

.fbp-blog-single__content h3 {
  font-size: 22px;
}

.fbp-blog-single__content p {
  margin-bottom: 16px;
}

.fbp-blog-single__content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 24px 0;
}

.fbp-blog-single__content ul,
.fbp-blog-single__content ol {
  margin: 0 0 18px 1.2em;
}

.fbp-blog-single__content a {
  color: var(--primary);
}

/* Sidebar widgets */
.fbp-blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 110px;
}

.fbp-blog-toc,
.fbp-blog-quote {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  background: #fff;
}

.fbp-blog-widget__head {
  background: #0d1f2d;
  padding: 16px 20px;
}

.fbp-blog-widget__eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
  font-family: var(--font-600);
}

.fbp-blog-quote__title {
  display: block;
  margin-top: 6px;
  font-size: 22px;
  line-height: 1.25;
  color: #fff;
  font-family: var(--font-700);
}

.fbp-blog-toc__nav {
  background: #f3f5f7;
  padding: 8px;
}

.fbp-blog-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fbp-blog-toc__item a {
  display: block;
  padding: 12px 14px;
  border-radius: 8px;
  color: #3a4450;
  font-size: 14px;
  line-height: 1.4;
  border-left: 3px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.fbp-blog-toc__item--h3 a {
  padding-left: 24px;
  font-size: 13px;
}

.fbp-blog-toc__item.is-active a,
.fbp-blog-toc__item a:hover {
  background: #e8ecef;
  color: #0d1f2d;
  border-left-color: var(--primary);
  font-weight: 600;
}

.fbp-blog-quote__body {
  padding: 22px 20px 24px;
}

.fbp-blog-form__field {
  margin-bottom: 16px;
}

.fbp-blog-form__field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6a7382;
  margin-bottom: 6px;
}

.fbp-blog-form__field .form-control {
  background: #fff;
}

.fbp-blog-form__submit {
  width: 100%;
  justify-content: center;
}

.fbp-blog-form__submit .text {
  flex: 1;
  text-align: center;
}

@media (max-width: 991.98px) {
  .fbp-blog-hero {
    padding: 120px 0 50px;
  }

  .fbp-blog-hero__title {
    font-size: 34px;
  }

  .fbp-blog-sidebar {
    position: static;
    margin-top: 20px;
  }

  .fbp-blog-single {
    padding: 40px 0 60px;
  }
}

@media (max-width: 575.98px) {
  .fbp-blog-hero__title {
    font-size: 28px;
  }

  .fbp-blog-single__content h2 {
    font-size: 24px;
  }
}

/* FAQs (single post) — pill accordion, 2-column */
.fbp-faqs {
  padding: 0px 0 60px;
  background: #fff;
}

.fbp-faqs__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.fbp-faqs__title {
  margin: 0 0 16px;
  font-size: 42px;
  line-height: 1.2;
  color: #0d1f2d;
  font-family: var(--fontSpace-700, var(--font-700));
}

.fbp-faqs__intro {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: #6a7382;
}

.fbp-faqs__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
  align-items: start;
}

.fbp-faqs__item {
  min-width: 0;
  background: #f0f0f0;
  border-radius: 999px;
  overflow: hidden;
  transition: border-radius 0.2s ease;
}

.fbp-faqs__item.is-open {
  border-radius: 28px;
}

.fbp-faqs__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  border: 0;
  background: transparent;
  color: #0d1f2d;
  border-radius: 0;
  padding: 18px 26px;
  cursor: pointer;
}

.fbp-faqs__item:not(.is-open):hover {
  background: #e8e8e8;
}

.fbp-faqs__question-text {
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
  font-family: var(--font-700);
  color: #0d1f2d;
}

.fbp-faqs__icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.fbp-faqs__icon::before,
.fbp-faqs__icon::after {
  content: "";
  position: absolute;
  background: #0d1f2d;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.fbp-faqs__icon::before {
  top: 8px;
  left: 0;
  width: 18px;
  height: 2px;
}

.fbp-faqs__icon::after {
  top: 0;
  left: 8px;
  width: 2px;
  height: 18px;
}

.fbp-faqs__item.is-open .fbp-faqs__icon::after {
  opacity: 0;
  transform: scaleY(0);
}

.fbp-faqs__answer {
  background: transparent;
}

.fbp-faqs__answer[hidden] {
  display: none !important;
}

.fbp-faqs__answer-inner {
  padding: 4px 26px 20px;
  color: #575757;
  font-size: 15px;
  line-height: 1.65;
}

.fbp-faqs__answer-inner > *:last-child {
  margin-bottom: 0;
}

.fbp-faqs__answer-inner p {
  margin-bottom: 10px;
}

@media (max-width: 991.98px) {
  .fbp-faqs {
    padding: 50px 0 60px;
  }

  .fbp-faqs__title {
    font-size: 32px;
  }

  .fbp-faqs__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .fbp-faqs__title {
    font-size: 28px;
  }

  .fbp-faqs__question {
    padding: 16px 20px;
  }

  .fbp-faqs__question-text {
    font-size: 15px;
  }

  .fbp-faqs__answer-inner {
    padding: 4px 20px 18px;
  }
}
