/* ============================================
   BLOG DETAIL PAGE
   ============================================ */

.blog-detail-page {
  --bd-accent: #d02689;
  --bd-accent-hover: #b01f6e;
  --bd-navy: #0e1f4a;
  --bd-muted: #666666;
  --bd-line: #eef0f4;
  --bd-bg: #f3f4f6;
  --bd-radius: 14px;
}

.blog-detail-page .bd-title,
.blog-detail-page .about-serif.bd-title {
  font-family: var(--font-heading);
}

/* Breadcrumb */
.bd-topbar {
  padding: 20px 0 8px;
  background: var(--bd-bg);
}

.bd-breadcrumb {
  font-size: 13px;
  color: #9ca3af;
}

.bd-breadcrumb a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s ease;
}

.bd-breadcrumb a:hover {
  color: var(--bd-accent);
}

.bd-breadcrumb .bc-sep {
  margin: 0 10px;
  color: #d1d5db;
}

.bd-breadcrumb .bc-current {
  color: var(--bd-muted);
  font-weight: 500;
}

/* Main layout */
.bd-main {
  padding: 24px 0 clamp(56px, 7vw, 80px);
  background: var(--bd-bg);
}

.bd-article-card {
  background: #fff;
  border-radius: var(--bd-radius);
  border: 1px solid var(--bd-line);
  box-shadow: 0 8px 32px rgba(14, 31, 74, 0.06);
  padding: clamp(28px, 4vw, 40px);
}

.bd-cat-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 50px;
  background: linear-gradient(90deg, #ff5fae 0%, var(--bd-accent) 100%);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.bd-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--bd-navy);
  line-height: 1.25;
  margin: 0 0 22px;
}

/* Meta row */
.bd-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--bd-line);
}

.bd-author {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  flex: 1;
  min-width: 0;
}

.bd-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #fce4ef;
}

.bd-author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 140px;
}

.bd-author-info strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--bd-navy);
}

.bd-author-info span {
  font-size: 12px;
  color: #9aa3b5;
}

.bd-meta-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: #9ca3af;
}

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

.bd-meta-stats i {
  color: var(--bd-accent);
}

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

.bd-share-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--bd-line);
  background: #fff;
  color: var(--bd-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.bd-share-btn:hover {
  background: #fdf2f7;
  border-color: #f5dce8;
  color: var(--bd-accent);
}

.bd-share-copy.is-copied {
  background: var(--bd-accent);
  border-color: var(--bd-accent);
  color: #fff;
}

/* Featured image */
.bd-featured-media {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 28px;
  background: #fdf2f6;
}

.bd-featured-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 420px;
}

/* Article body */
.bd-content {
  font-size: 15px;
  line-height: 1.8;
  color: var(--bd-muted);
}

.bd-content p {
  margin: 0 0 18px;
}

.bd-content p:last-child {
  margin-bottom: 0;
}

.bd-content-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  color: var(--bd-navy);
  margin: 28px 0 14px;
}

.bd-content-heading i {
  color: var(--bd-accent);
  font-size: 1.1em;
}

.bd-highlight {
  color: var(--bd-accent);
  font-weight: 700;
}

/* Sidebar */
.bd-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 992px) {
  .bd-sidebar {
    position: sticky;
    top: 96px;
  }
}

.bd-widget {
  border: 1px solid var(--bd-line);
  border-radius: var(--bd-radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 16px rgba(14, 31, 74, 0.04);
}

.bd-widget-head {
  background: var(--bd-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 20px;
}

.bd-related-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bd-related-list li {
  border-bottom: 1px solid var(--bd-line);
}

.bd-related-list li:last-child {
  border-bottom: 0;
}

.bd-related-link {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease;
}

.bd-related-link:hover {
  background: #fdf2f7;
}

.bd-related-thumb {
  width: 72px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #fdf2f6;
}

.bd-related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bd-related-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.bd-related-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--bd-navy);
  line-height: 1.4;
}

.bd-related-date {
  font-size: 11px;
  color: #9ca3af;
}

/* Quote form */
.bd-quote-form {
  padding: 22px 20px 24px;
}

.bd-form-group + .bd-form-group {
  margin-top: 14px;
}

.bd-form-group-last {
  margin-top: 14px;
}

.bd-form-group input,
.bd-form-group textarea {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--bd-navy);
  background: #fafbfc;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bd-form-group input:focus,
.bd-form-group textarea:focus {
  outline: none;
  border-color: var(--bd-accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(208, 38, 137, 0.1);
}

.bd-form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.bd-submit-btn {
  width: 100%;
  margin-top: 18px;
  padding: 14px;
  border: 0;
  border-radius: 10px;
  background: var(--bd-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(208, 38, 137, 0.22);
  transition: background 0.2s ease;
}

.bd-submit-btn:hover {
  background: var(--bd-accent-hover);
}

/* Support card */
.bd-support-card {
  border-radius: var(--bd-radius);
  background: var(--bd-navy);
  padding: 24px 22px;
  color: #fff;
  text-align: center;
}

.bd-support-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(208, 38, 137, 0.2);
  color: #ff8ec4;
  font-size: 22px;
  margin-bottom: 14px;
}

.bd-support-title {
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.92);
}

.bd-support-item {
  margin: 0 0 8px;
  font-size: 13px;
}

.bd-support-item a {
  color: #fff;
  text-decoration: none;
}

.bd-support-item a:hover {
  color: #ffb8dc;
}

@media (max-width: 991px) {
  .bd-meta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .bd-author {
    width: 100%;
  }

  .bd-share {
    width: 100%;
    justify-content: flex-start;
  }

  .bd-sidebar {
    margin-top: 32px;
  }
}

@media (max-width: 767px) {
  .bd-featured-img {
    max-height: 280px;
  }

  .bd-article-card {
    padding: 24px 20px;
  }

  .bd-content {
    font-size: 14px;
  }

  .bd-related-grid .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (max-width: 575px) {
  .bd-article-card {
    padding: 22px 18px;
  }

  .bd-author {
    flex-direction: column;
    align-items: flex-start;
  }

  .bd-meta-stats {
    width: 100%;
  }
}
