/* =============================================
   BLOG DETAIL PAGE — aligned with site tokens
   ============================================= */

.bd-page {
  background: var(--white);
}

/* Hero shell — matches blog-hero-inner */
.bd-hero-inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 28px var(--pad-x) 56px;
}

.bd-page .hero-menu-btn {
  background: var(--white);
  border: 1.5px solid var(--grey-200);
}

.bd-page .hero-menu-btn span {
  background: var(--black);
}

.bd-hero {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: start;
  padding-top: 40px;
}

.bd-back-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  margin-bottom: 20px;
  border: 1.5px solid var(--grey-200);
  border-radius: 999px;
  background: var(--white);
  font-size: 12px;
  font-weight: 600;
  color: var(--grey-600);
  transition: border-color 0.2s, color 0.2s;
}

.bd-back-btn:hover {
  border-color: var(--grey-400);
  color: var(--black);
}

.bd-hero-title {
  font-size: clamp(1.75rem, 3.5vw, 2.625rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--black);
  margin-bottom: 24px;
}

.bd-hero-author-block {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bd-hero-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.bd-hero-author-text {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.35;
}

.bd-hero-author-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  line-height: 1.3;
}

.bd-hero-author-role {
  font-size: 13px;
  font-weight: 400;
  color: var(--black);
  line-height: 1.3;
}

.bd-hero-media {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bd-hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.bd-hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.bd-hero-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--grey-500);
}

.bd-hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.bd-hero-meta-item svg {
  flex-shrink: 0;
  color: var(--grey-400);
}

.bd-hero-meta-tag {
  font-weight: 600;
  color: var(--grey-600);
}

.bd-hero-meta-rating {
  gap: 8px;
}

.bd-hero-stars {
  color: var(--red);
  font-size: 11px;
  letter-spacing: 1px;
}

/* Main content — matches blog-main + container */
.bd-main {
  background: var(--white);
  padding: 40px 0 80px;
}

.bd-main .container {
  max-width: var(--max-w);
}

.bd-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
}

.bd-sidebar {
  position: sticky;
  top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Share box — light gray card like screenshot */
.bd-share-box {
  background: #f3f4f6;
  border-radius: 20px;
  padding: 28px 24px;
}

.bd-share-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 20px;
}

.bd-share-icons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.bd-share-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
  transition: opacity 0.2s, transform 0.2s;
}

.bd-share-icon-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.bd-share-icon-btn--pinterest {
  background: #e60023;
}

.bd-share-icon-btn--linkedin {
  background: #0a66c2;
  border-radius: 8px;
}

.bd-share-icon-btn--x {
  background: var(--black);
  border-radius: 8px;
}

.bd-share-icon-btn--facebook {
  background: #1877f2;
  border-radius: 8px;
}

/* CTA box — dark card with lime accent like screenshot */
.bd-cta-box {
  background: #1a1a1a;
  border-radius: 20px;
  padding: 32px 28px;
}

.bd-cta-heading {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  color: #d4ff00;
  margin-bottom: 14px;
}

.bd-cta-body {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--white);
  margin-bottom: 22px;
}

.bd-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 10px;
  background: #d4ff00;
  color: var(--black);
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font);
  transition: opacity 0.2s;
}

.bd-cta-btn:hover {
  opacity: 0.9;
}

.bd-article {
  min-width: 0;
}

.bd-article-intro,
.bd-section-text,
.bd-faq-a p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--grey-600);
}

.bd-article-intro {
  margin-bottom: 28px;
}

.bd-intro-box {
  background: #f3f4f6;
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 20px;
}

.bd-intro-box p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--grey-600);
}

.bd-article-intro > p {
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--grey-600);
}

.bd-article-list {
  margin: 0 0 28px 20px;
  list-style: disc;
  font-size: 15px;
  line-height: 1.75;
  color: var(--grey-600);
}

.bd-article-list li {
  margin-bottom: 8px;
}

.bd-section-title {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--red);
  margin: 36px 0 16px;
  letter-spacing: -0.02em;
}

.bd-section-title:first-of-type {
  margin-top: 0;
}

.bd-subsection-title {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--black);
  margin: 28px 0 12px;
}

.bd-toc-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  line-height: 1.55;
  color: var(--grey-600);
}

.bd-toc-list a {
  color: inherit;
  transition: color 0.2s;
  display: block;
}

.bd-toc-list a:hover {
  color: var(--red);
}

.bd-toc-list a.is-active {
  color: var(--red);
  font-weight: 600;
}

.bd-toc-list li + li {
  margin-top: 10px;
}

.bd-toc-progress {
  margin-top: 24px;
  height: 4px;
  background: var(--grey-200);
  border-radius: 999px;
  overflow: hidden;
}

.bd-toc-progress-bar {
  display: block;
  width: 12%;
  height: 100%;
  background: var(--red);
  border-radius: 999px;
}

/* Trust strip — single horizontal row */
.bd-page .blog-trust-inner {
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 12px 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.bd-page .blog-trust-inner::-webkit-scrollbar {
  display: none;
}

.bd-page .blog-trust-item {
  flex-shrink: 0;
  font-size: 11px;
}

.bd-section-text {
  margin-bottom: 20px;
}

.bd-inline-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 32px 0;
}

.bd-inline-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* FAQ */
.bd-faq {
  padding-bottom: 80px;
}

.bd-faq .container {
  max-width: var(--max-w);
}

.bd-faq-title {
  font-size: clamp(2rem, 3.5vw, 2.625rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--black);
  margin-bottom: 28px;
}

.bd-faq-list {
  border-top: 1px solid var(--grey-200);
}

.bd-faq-item {
  border-bottom: 1px solid var(--grey-200);
}

.bd-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  text-align: left;
  cursor: pointer;
}

.bd-faq-toggle {
  font-size: 20px;
  font-weight: 400;
  color: var(--black);
  flex-shrink: 0;
  line-height: 1;
}

.bd-faq-a {
  display: none;
  padding: 0 0 22px;
}

.bd-faq-item.is-open .bd-faq-a {
  display: block;
}

.bd-faq-item.is-open .bd-faq-toggle {
  transform: rotate(45deg);
}

/* Related — reuses blog-grid / blog-card from blog.css */
.bd-related {
  padding-bottom: 80px;
}

.bd-related .container {
  max-width: var(--max-w);
}

.bd-related .blog-grid {
  margin-bottom: 0;
}

.bd-hero-wrap {
  background: var(--white);
}

.bd-related-title {
  font-size: clamp(2rem, 3.5vw, 2.625rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--black);
  margin-bottom: 28px;
}

@media (max-width: 1024px) {
  .bd-hero {
    grid-template-columns: 1fr;
  }

  .bd-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .bd-sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .bd-share-box,
  .bd-cta-box {
    flex: 1;
    min-width: 240px;
  }
}

@media (max-width: 768px) {
  .bd-main {
    padding: 40px 0 64px;
  }

  .bd-faq,
  .bd-related {
    padding-bottom: 64px;
  }

  .bd-sidebar {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .bd-hero-wrap {
    padding: 0 20px;
  }

  .bd-layout {
    gap: 28px;
  }

  .bd-article-body {
    font-size: 15px;
  }

  .bd-related-grid {
    grid-template-columns: 1fr;
  }

  .bd-page .blog-trust-inner {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .bd-share-box,
  .bd-cta-box {
    min-width: 0;
    width: 100%;
  }

  .bd-toc {
    padding: 18px 16px;
  }

  .bd-faq-item {
    padding: 14px 0;
  }
}
