/* ===== BLOG POST ===== */

.bp-header {
  padding: 120px 0 0;
  background: var(--bg);
}

.bp-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.bp-breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.bp-breadcrumbs a:hover {
  color: var(--accent);
}

.bp-breadcrumbs svg {
  opacity: 0.4;
}

.bp-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 100px;
  background: rgba(56,132,244,0.1);
  color: #3884f4;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.bp-tag.career { background: rgba(232,68,58,0.1); color: var(--accent); }
.bp-tag.health { background: rgba(46,160,67,0.1); color: #2ea043; }
.bp-tag.industry { background: rgba(56,132,244,0.1); color: #3884f4; }
.bp-tag.interview { background: rgba(155,89,182,0.1); color: #9b59b6; }
.bp-tag.tips { background: rgba(243,156,18,0.1); color: #d4880f; }

.bp-title {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 800px;
}

.bp-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.bp-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bp-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--muted);
}

.bp-author-name {
  font-weight: 600;
  color: var(--text);
}

.bp-meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted);
}

/* Cover image */
.bp-cover {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 0;
}

/* ===== LAYOUT ===== */

.bp-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  padding: 48px 0 80px;
}

/* ===== ARTICLE CONTENT ===== */

.bp-content {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text);
}

.bp-content h2 {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--text);
}

.bp-content h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--text);
}

.bp-content p {
  margin-bottom: 18px;
  color: #444;
}

.bp-content blockquote {
  border-left: 4px solid var(--accent);
  padding: 16px 24px;
  margin: 28px 0;
  background: rgba(232,68,58,0.04);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: #555;
}

.bp-content ul, .bp-content ol {
  margin: 16px 0;
  padding-left: 24px;
}

.bp-content li {
  margin-bottom: 8px;
}

.bp-content img {
  width: 100%;
  border-radius: 14px;
  margin: 24px 0;
}

.bp-content strong {
  font-weight: 600;
  color: var(--text);
}

/* Tags at bottom */
.bp-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1.5px solid var(--border);
}

.bp-tag-link {
  padding: 6px 14px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: all 0.2s;
}

.bp-tag-link:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Share */
.bp-share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.bp-share span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.bp-share-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--muted);
}

.bp-share-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ===== SIDEBAR ===== */

.bp-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}

.bp-toc {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
}

.bp-toc h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bp-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bp-toc-list li {
  margin-bottom: 10px;
}

.bp-toc-list a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
  display: block;
  padding: 4px 0;
}

.bp-toc-list a:hover,
.bp-toc-list a.active {
  color: var(--accent);
}

/* Related articles */
.bp-related {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}

.bp-related h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bp-related-item {
  display: block;
  text-decoration: none;
  padding: 12px 0;
  border-top: 1px solid var(--border);
}

.bp-related-item:first-of-type {
  border-top: none;
  padding-top: 0;
}

.bp-related-item-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 4px;
}

.bp-related-item-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  transition: color 0.2s;
}

.bp-related-item:hover .bp-related-item-title {
  color: var(--accent);
}

.bp-related-item-meta {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 4px;
}

/* ===== AUTHOR BOX ===== */

.bp-author-box {
  display: flex;
  gap: 20px;
  padding: 32px;
  background: #f8f8f8;
  border-radius: 16px;
  margin-top: 40px;
}

.bp-author-box-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--muted);
  flex-shrink: 0;
}

.bp-author-box-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.bp-author-box-info p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1024px) {
  .bp-layout { grid-template-columns: 1fr; }
  .bp-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
}

@media (max-width: 768px) {
  .bp-title { font-size: 1.8rem; }
  .bp-cover { border-radius: 14px; max-height: 300px; }
  .bp-sidebar { grid-template-columns: 1fr; }
  .bp-author-box { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 480px) {
  .bp-header { padding: 100px 0 0; }
  .bp-title { font-size: 1.4rem; }
  .bp-content { font-size: 0.95rem; }
  .bp-cover { border-radius: 10px; max-height: 220px; }
}
