/* BlogDetailBySlugClient */
.blog-slug-state-wrap,
.blog-slug-detail-state-wrap {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.blog-slug-state-center,
.blog-slug-detail-state-center {
  text-align: center;
}

.blog-slug-state-text {
  color: #666;
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

.blog-slug-state-subtext {
  font-size: 0.95rem;
  color: #888;
  margin: 0 0 2rem;
}

.blog-slug-title {
  font-size: 2rem;
  margin: 0 0 1rem;
}

.blog-slug-error-title {
  font-size: 1.5rem;
  color: #333;
  margin: 0;
}

.blog-slug-state-error,
.blog-slug-detail-state-error {
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

.blog-slug-actions,
.blog-slug-detail-actions {
  display: flex;
  gap: 0.75rem;
}

.blog-slug-btn,
.blog-slug-detail-btn {
  padding: 12px 24px;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
}

.blog-slug-btn-primary,
.blog-slug-detail-btn-primary {
  background: #dc2626;
}

.blog-slug-btn-secondary,
.blog-slug-detail-btn-secondary {
  background: #6b7280;
}

/* BlogDetailBySlug */
.blog-slug-detail-loading-wrap {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
}

.blog-slug-detail-loading-text {
  font-size: 1.1rem;
  color: #6b7280;
  margin: 0;
}

.blog-slug-detail-loading-bar {
  width: 40px;
  height: 4px;
  background: #e5e7eb;
  border-radius: 2px;
}

.blog-slug-detail-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.blog-slug-detail-error-title {
  font-size: 1.25rem;
  color: #b91c1c;
  margin: 0;
}

.blog-slug-detail-text {
  color: #666;
  margin: 0;
}

.blog-slug-detail-text-spaced {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* BlogDetailClient (moved from inline styles) */
.blog-detail-page {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  min-height: 100vh;
  background: #ffffff;
}

.blog-detail-main-section {
  padding: 40px 20px;
  background: #ffffff;
}

.blog-detail-container-width {
  max-width: 1200px;
  margin: 0 auto;
}

.blog-detail-order-1 {
  order: 1;
}

.blog-detail-order-3 {
  order: 3;
}

.blog-detail-main-column {
  order: 2;
  max-width: 100%;
}

.blog-detail-main-header {
  margin-bottom: 30px;
}

.blog-detail-main-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a1a;
}

.blog-detail-article-byline {
  font-size: 0.9rem;
  color: #6b7280;
  margin: 0 0 1.5rem;
  line-height: 1.5;
}

.blog-detail-share-icons-row {
  display: flex;
  gap: 12px;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.blog-detail-hero-wrap {
  margin-bottom: 3rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.blog-detail-image-caption {
  margin: 0;
  padding: 12px 16px;
  background: #f9fafb;
  font-size: 0.9rem;
  color: #6b7280;
  font-style: italic;
}

.blog-detail-content-main {
  font-size: 12px;
  line-height: 1.8;
  color: #333;
}

.blog-detail-content-secondary,
.blog-detail-excerpt-html {
  font-size: 12px;
  line-height: 1.8;
  color: #555;
}

.blog-detail-excerpt-text {
  font-size: 12px;
  line-height: 1.8;
  color: #666;
  margin: 0;
}

.blog-detail-excerpt-wrap {
  margin-bottom: 2rem;
}

.blog-detail-empty-content-text {
  font-size: 12px;
  line-height: 1.8;
  color: #666;
  font-style: italic;
}

.blog-detail-bottom-share-wrap {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

.blog-detail-bottom-share-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 1rem;
  color: #1a1a1a;
}

.blog-detail-bottom-share-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.blog-detail-capitalize {
  text-transform: capitalize;
}

.blog-detail-related-section {
  padding: 80px 20px;
  background: #fafafa;
}

/* BlogClient hero (moved from inline styles) */
.blog-hero {
  --blog-hero-bg: #000;
  color: #fff;
  padding: 100px 20px 80px;
  text-align: center;
  position: relative;
  z-index: 1;
  background: var(--blog-hero-bg);
}

.blog-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.blog-hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.blog-hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.35rem);
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto 1rem;
  line-height: 1.7;
  font-weight: 400;
}

.blog-hero-description {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  margin-top: 1rem;
  opacity: 0.85;
  font-weight: 300;
}

.blog-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 50%, #ffffff 100%);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.blog-section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.blog-categories {
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.blog-categories-title {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a1a1a;
}

.blog-categories-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

.category-btn {
  padding: 12px 28px;
  background: #ffffff;
  color: #1a1a1a;
  border: 2px solid #e5e7eb;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transform: translateY(0);
  overflow: hidden;
}

.category-btn.active {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #fff;
  border-color: #dc2626;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
  transform: translateY(-2px);
}

.category-btn:not(.active):hover {
  border-color: #dc2626;
  color: #dc2626;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

.category-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.category-btn:hover::before {
  width: 300px;
  height: 300px;
}

.blog-loading-section {
  padding: 80px 20px;
  text-align: center;
}

.blog-loading-text {
  font-size: 1.2rem;
  color: #666;
}

.blog-inline-icon-gap-right {
  margin-right: 0.5rem;
}

.blog-inline-icon-gap-left {
  margin-left: 0.5rem;
}

.featured-post-section {
  padding: 80px 20px;
  background: #ffffff;
}

.blog-section-title,
.bd-related-bottom-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 3rem;
  color: #1a1a1a;
  text-align: center;
  font-weight: 700;
}

.blog-section-title {
  letter-spacing: -0.01em;
}

.blog-link-block {
  text-decoration: none;
  display: block;
  color: inherit;
}

.featured-post-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: row;
  margin-bottom: 3rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 1px solid #f0f0f0;
}

.featured-post-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(220, 38, 38, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
}

.featured-image-wrapper {
  width: 50%;
  min-height: 400px;
  position: relative;
  background: #f8f9fa;
}

.blog-image-wrapper {
  position: relative;
  overflow: hidden;
}

.blog-image-wrapper img {
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-image-wrapper img,
.featured-post-card:hover .blog-image-wrapper img {
  transform: scale(1.1);
}

.blog-image-fill {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
}

.blog-image-placeholder-lg {
  font-size: 3rem;
}

.blog-image-placeholder-sm {
  font-size: 2.5rem;
}

.featured-content-wrap {
  padding: 3rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-meta-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.blog-pill {
  padding: 8px 16px;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #fff;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.blog-pill-sm {
  padding: 6px 14px;
  font-size: 0.7rem;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.25);
}

.blog-meta-inline {
  color: #6b6b6b;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-meta-muted {
  color: #9ca3af;
  font-size: 0.8rem;
  gap: 0.4rem;
}

.featured-post-title {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  margin-bottom: 1.25rem;
  color: #1a1a1a;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.featured-post-excerpt {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.8;
  color: #6b6b6b;
  margin-bottom: 2rem;
  flex: 1;
}

.featured-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: auto;
}

.blog-author-text {
  color: #9ca3af;
  font-size: 0.9rem;
  font-weight: 500;
}

.blog-readmore-pill {
  padding: 12px 28px;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.blog-posts-section {
  padding: 80px 20px;
  background: #fafafa;
}

.blog-empty-card {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.blog-empty-icon {
  font-size: 3rem;
  color: #d1d5db;
  margin-bottom: 1rem;
}

.blog-empty-title {
  font-size: 1.5rem;
  color: #374151;
  margin-bottom: 0.5rem;
}

.blog-empty-text {
  color: #6b7280;
  font-size: 1rem;
}

.blog-grid-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin: 0;
}

.blog-card {
  cursor: pointer;
  position: relative;
}

.blog-card-col {
  display: flex;
  flex-direction: column;
}

.blog-link-card {
  text-decoration: none;
  height: 100%;
  display: flex;
  flex-direction: column;
  color: inherit;
}

.blog-card-surface {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #f0f0f0;
}

.blog-card-surface:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(220, 38, 38, 0.12), 0 4px 12px rgba(0, 0, 0, 0.1);
}

.blog-grid-image-wrap {
  width: 100%;
  height: 220px;
  background: #f8f9fa;
  overflow: hidden;
}

.blog-card-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-meta-top {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.blog-card-title {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  margin-bottom: 0.75rem;
  color: #1a1a1a;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.blog-card-excerpt {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #6b6b6b;
  margin-bottom: 1.25rem;
  flex: 1;
}

.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #f0f0f0;
}

.blog-date-text {
  color: #9ca3af;
  font-size: 0.85rem;
  font-weight: 500;
}

.blog-readmore-text {
  color: #dc2626;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s;
}

.blog-inline-icon-xs {
  font-size: 0.75rem;
}

.blog-empty-simple {
  text-align: center;
  padding: 4rem 2rem;
  color: #6b6b6b;
}

.blog-empty-simple-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.blog-empty-simple-text {
  font-size: 1.1rem;
}

.newsletter-section {
  --blog-newsletter-bg: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  padding: 100px 20px;
  background: var(--blog-newsletter-bg);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.newsletter-overlay-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(220, 38, 38, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.newsletter-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.newsletter-icon-wrap {
  margin-bottom: 1rem;
}

.newsletter-icon {
  font-size: 3rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.newsletter-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.newsletter-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  opacity: 0.9;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  font-weight: 300;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-input {
  flex: 1;
  min-width: 250px;
  padding: 16px 24px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
  outline: none;
}

.newsletter-input:focus {
  border-color: rgba(220, 38, 38, 0.5);
  background: rgba(255, 255, 255, 0.15);
}

.newsletter-submit-btn {
  padding: 16px 40px;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.4);
  white-space: nowrap;
}

.newsletter-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.5);
}

.newsletter-submit-btn.is-submitting {
  background: rgba(220, 38, 38, 0.6);
  cursor: not-allowed;
}

.newsletter-submit-btn.is-submitting:hover {
  transform: none;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.4);
}

@media (max-width: 768px) {
  .blog-hero {
    padding: 15px 0px 15px;
  }

  .blog-hero-title {
    font-size: 16px !important;
  }
  .blog-section-title, .bd-related-bottom-title{
    font-size: 14px !important;
    margin-bottom: 14px !important;
  }

  .blog-hero-subtitle,
  .blog-hero-description {
    font-size: 14px !important;
  }

  .category-btn {
    font-size: 0.9rem !important;
    padding: 8px 16px !important;
  }

  .featured-post-card {
    flex-direction: column !important;
  }

  .featured-image-wrapper {
    width: 100% !important;
    min-height: 300px !important;
    height: 300px !important;
  }

  .featured-content-wrap {
    padding: 2rem;
  }
  .blog-categories{
    padding: 15px 2px;
  }
  .featured-post-section{
    padding: 10px 5px;
  }
  .blog-posts-section {
    padding: 0px 5px;
  }
  .newsletter-section {
    padding: 20px 5px !important;
  }
  .newsletter-input{
    min-width: 150px;
    padding: 8px 16px;
  }
  .newsletter-submit-btn{
    padding: 8px 8px;
    font-size: 12px;
  }
  .newsletter-form{
    gap: 6px;
  }
  .newsletter-subtitle{
    margin-bottom: 12px;
    padding: 0px 21px;
    font-size: 12px;
  }
  .blog-hero-inner{
    padding: 0px 20px;
  }
  .blog-detail-main-section{
    padding: 15px 15px;
  }
  .blog-detail-main-title{
    font-size: 22px;
    margin-bottom: 12px;

  }
  .blog-detail-article-byline{
    font-size: 12px;
  }
  .blog-detail-hero-wrap{
    font-size: 12px;
  }
  .bd-toc-box{
    padding: 5px 5px;
    font-size: 14px;
  }



}

@media (max-width: 480px) {
  .blog-hero {
    padding: 15px 0px 15px;
  }
}

/* BlogDetailClient core layout/content styles (moved from style jsx) */
.blog-detail-container {
  display: grid;
  grid-template-columns: 250px 1fr 300px;
  gap: 40px;
}

.left-sidebar {
  position: sticky;
  top: 20px;
  align-self: start;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  overflow-x: hidden;
}

.left-sidebar::-webkit-scrollbar,
.right-sidebar::-webkit-scrollbar {
  width: 6px;
}

.left-sidebar::-webkit-scrollbar-track,
.right-sidebar::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.left-sidebar::-webkit-scrollbar-thumb,
.right-sidebar::-webkit-scrollbar-thumb {
  background: #dc2626;
  border-radius: 10px;
}

.left-sidebar::-webkit-scrollbar-thumb:hover,
.right-sidebar::-webkit-scrollbar-thumb:hover {
  background: #b91c1c;
}

.right-sidebar {
  position: sticky;
  top: 20px;
  align-self: start;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  overflow-x: hidden;
}

@media (max-width: 1200px) {
  .blog-detail-container {
    grid-template-columns: 1fr 300px;
  }

  .blog-detail-container .left-sidebar {
    display: none;
  }

  .right-sidebar {
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
  }
}

@media (max-width: 1024px) {
  .blog-detail-container {
    grid-template-columns: 1fr 280px;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .blog-detail-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .left-sidebar,
  .right-sidebar {
    position: relative;
    top: 0;
    max-height: none;
    overflow-y: visible;
  }
}

.blog-detail-content {
  line-height: 1.8;
  color: #333;
  text-align: left;
  white-space: normal;
  display: block;
}

.blog-detail-content .blog-detail-content-body,
.blog-detail-content .blog-detail-content-body * {
  white-space: normal;
}

.blog-detail-content .blog-detail-content-body h1,
.blog-detail-content .blog-detail-content-body h2,
.blog-detail-content .blog-detail-content-body h3,
.blog-detail-content .blog-detail-content-body h4,
.blog-detail-content .blog-detail-content-body h5,
.blog-detail-content .blog-detail-content-body h6,
.blog-detail-content .blog-detail-content-body p,
.blog-detail-content .blog-detail-content-body div {
  display: block;
}

.blog-detail-content h1,
.blog-detail-content h2,
.blog-detail-content h3,
.blog-detail-content h4,
.blog-detail-content h5,
.blog-detail-content h6,
.blog-detail-content .blog-detail-content-body h1,
.blog-detail-content .blog-detail-content-body h2,
.blog-detail-content .blog-detail-content-body h3,
.blog-detail-content .blog-detail-content-body h4,
.blog-detail-content .blog-detail-content-body h5,
.blog-detail-content .blog-detail-content-body h6 {
  display: block;
  margin-top: 2.5rem;
  margin-bottom: 0;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid #dc2626;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--primary-color, #1a1a1a);
  font-size: 18px;
  text-decoration: none;
}

.blog-detail-content h1:first-child,
.blog-detail-content h2:first-child,
.blog-detail-content h3:first-child,
.blog-detail-content .blog-detail-content-body h1:first-child,
.blog-detail-content .blog-detail-content-body h2:first-child,
.blog-detail-content .blog-detail-content-body h3:first-child {
  margin-top: 0;
}

.blog-detail-content .blog-detail-content-body p+h1,
.blog-detail-content .blog-detail-content-body p+h2,
.blog-detail-content .blog-detail-content-body p+h3,
.blog-detail-content .blog-detail-content-body p+h4,
.blog-detail-content .blog-detail-content-body p+h5,
.blog-detail-content .blog-detail-content-body p+h6,
.blog-detail-content .blog-detail-content-body div+h1,
.blog-detail-content .blog-detail-content-body div+h2,
.blog-detail-content .blog-detail-content-body div+h3,
.blog-detail-content .blog-detail-content-body div+h4,
.blog-detail-content .blog-detail-content-body div+h5,
.blog-detail-content .blog-detail-content-body div+h6 {
  margin-top: 2rem;
}

.blog-detail-content h1,
.blog-detail-content .blog-detail-content-body h1 {
  font-size: 20px;
  padding-bottom: 0.75rem;
  border-bottom-width: 3px;
}

.blog-detail-content h2,
.blog-detail-content .blog-detail-content-body h2 {
  font-size: 18px;
  padding-bottom: 0.6rem;
}

.blog-detail-content h3,
.blog-detail-content .blog-detail-content-body h3 {
  font-size: 17px;
  margin-top: 1.75rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 0;
}

.blog-detail-content h4,
.blog-detail-content .blog-detail-content-body h4 {
  font-size: 18px;
  padding-bottom: 0.4rem;
  border-bottom-width: 1px;
}

.blog-detail-content h5,
.blog-detail-content .blog-detail-content-body h5,
.blog-detail-content h6,
.blog-detail-content .blog-detail-content-body h6 {
  font-size: 18px;
  padding-bottom: 0.4rem;
}

.blog-detail-content h1+*,
.blog-detail-content h2+*,
.blog-detail-content h3+*,
.blog-detail-content h4+*,
.blog-detail-content h5+*,
.blog-detail-content h6+*,
.blog-detail-content .blog-detail-content-body h1+*,
.blog-detail-content .blog-detail-content-body h2+*,
.blog-detail-content .blog-detail-content-body h3+* {
  margin-top: 1.25rem;
}

.blog-detail-content p,
.blog-detail-content .blog-detail-content-body p {
  display: block;
  margin-bottom: 1.25rem;
  margin-top: 0;
  font-size: 14px;
  line-height: 1.4;
  text-align: left;
  color: rgb(85, 85, 85);
}

.blog-detail-content p:has(strong:only-child),
.blog-detail-content p:has(b:only-child),
.blog-detail-content .blog-detail-content-body p:has(strong:only-child),
.blog-detail-content .blog-detail-content-body p:has(b:only-child) {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.35;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #dc2626;
}

.blog-detail-content h1+p,
.blog-detail-content h2+p,
.blog-detail-content .blog-detail-content-body h2+p {
  margin-top: 1.5rem;
}

.blog-detail-content h3+p,
.blog-detail-content h3+ul,
.blog-detail-content .blog-detail-content-body h3+p,
.blog-detail-content .blog-detail-content-body h3+ul {
  margin-top: 1rem;
}

.blog-detail-content ul,
.blog-detail-content ol,
.blog-detail-content .blog-detail-content-body ul,
.blog-detail-content .blog-detail-content-body ol {
  margin-bottom: 1.5rem;
  margin-top: 0.75rem;
  padding-left: 2rem;
  list-style-position: outside;
}

.blog-detail-content ul,
.blog-detail-content .blog-detail-content-body ul {
  list-style-type: disc;
}

.blog-detail-content ol,
.blog-detail-content .blog-detail-content-body ol {
  list-style-type: decimal;
}

.blog-detail-content li,
.blog-detail-content .blog-detail-content-body li {
  margin-bottom: 0.6rem;
  font-size: 14px;
  line-height: 1.4;
  color: rgb(85, 85, 85);
  display: list-item;
}

.blog-detail-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 2rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.blog-detail-content img:hover {
  transform: scale(1.02);
}

.blog-detail-content h2+img,
.blog-detail-content h3+img {
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.blog-section-image {
  width: 100%;
  margin: 2.5rem 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.blog-section-image img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
}

.blog-content-section {
  margin-bottom: 2.5rem;
  margin-top: 0.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid #e5e7eb;
  position: relative;
}

.blog-content-section:last-child {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}

.blog-content-section:first-child {
  padding-top: 0;
  margin-top: 0;
}

.blog-content-section h2 {
  font-size: 18px;
  margin-top: 0;
  margin-bottom: 0;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid #dc2626;
  color: var(--primary-color, #1a1a1a);
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.blog-content-section h2+* {
  margin-top: 1.5rem;
}

.blog-content-section h3 {
  font-size: 17px;
  margin-top: 1.5rem;
  margin-bottom: 0;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid #e5e7eb;
  color: var(--primary-color, #1a1a1a);
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.blog-content-section h3:first-child {
  margin-top: 0;
}

.blog-content-section h3+p,
.blog-content-section h3+ul {
  margin-top: 1rem;
}

.blog-content-section p {
  margin-bottom: 1.25rem;
  margin-top: 0;
  font-size: 14px;
  line-height: 1.4;
  color: rgb(85, 85, 85);
}

.blog-content-section ul,
.blog-content-section ol {
  margin: 1.25rem 0;
  padding-left: 2rem;
  list-style-type: disc;
}

.blog-content-section ol {
  list-style-type: decimal;
}

.blog-content-section li {
  margin-bottom: 0.6rem;
  font-size: 14px;
  line-height: 1.4;
  color: rgb(85, 85, 85);
}

.blog-content-section hr {
  margin: 2.5rem 0;
  border: none;
  border-top: 2px solid #e5e7eb;
}

.blog-content-section strong {
  color: #1a1a1a;
  font-weight: 600;
}

.blog-detail-content a {
  color: #dc2626;
  text-decoration: underline;
}

.blog-detail-content blockquote {
  border-left: 4px solid #dc2626;
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #666;
}

.blog-detail-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

.blog-detail-content table th,
.blog-detail-content table td {
  padding: 12px;
  border: 1px solid #e5e7eb;
  text-align: left;
}

.blog-detail-content table th {
  background: #f9fafb;
  font-weight: 600;
}

.toc-link {
  color: #dc2626;
  text-decoration: none;
  transition: color 0.3s;
}

.toc-link:hover {
  color: #b91c1c;
  text-decoration: underline;
}

.blog-toc-box ul,
.blog-toc-box ol,
.blog-toc-box li {
  list-style: none !important;
  list-style-type: none !important;
}

.blog-toc-box li::before,
.blog-toc-box li::marker {
  content: none !important;
}

/* BlogDetailClient component-level classes */
.bd-sidebar-block {
  margin-bottom: 40px;
}

.bd-sidebar-heading {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.bd-related-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bd-link-reset {
  text-decoration: none;
}

.bd-related-card {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  transition: all 0.3s;
  border: 1px solid #f0f0f0;
}

.bd-related-card:hover {
  background: #f9fafb;
  border-color: #dc2626;
}

.bd-related-thumb {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.bd-related-content {
  flex: 1;
  min-width: 0;
}

.bd-related-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 4px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.bd-related-date {
  font-size: 0.75rem;
  color: #6b7280;
  margin: 0;
}

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

.bd-suggested-item {
  margin-bottom: 12px;
}

.bd-suggested-link {
  color: #6b7280;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.bd-suggested-link:hover {
  color: #dc2626;
}

.bd-draft-badge {
  margin-bottom: 1rem;
  padding: 8px 14px;
  background: #fef3c7;
  color: #92400e;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-block;
}

.bd-toc-box {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 24px 28px;
  margin-bottom: 2.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.bd-toc-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 16px;
  color: #1a1a1a;
  border-bottom: none;
}

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

.bd-toc-empty {
  margin: 0;
  font-size: 0.95rem;
  color: #6b7280;
}

.bd-right-card {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.bd-right-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #1a1a1a;
}

.bd-right-title-with-icon {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bd-right-subtext {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 20px;
}

.bd-form-group {
  margin-bottom: 16px;
}

.bd-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 0.9rem;
}

.bd-select {
  background: #ffffff;
}

.bd-submit {
  width: 100%;
  padding: 12px;
  background: #dc2626;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.bd-submit:hover {
  background: #b91c1c;
}

.bd-submit.is-submitting {
  cursor: not-allowed;
  opacity: 0.7;
}

.bd-call-card {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  color: #ffffff;
}

.bd-call-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff;
}

.bd-call-link {
  display: inline-block;
  padding: 12px 24px;
  background: #ffffff;
  color: #dc2626;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s;
}

.bd-call-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.bd-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.bd-bottom-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.4s;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #f0f0f0;
}

.bd-bottom-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(220, 38, 38, 0.12);
}

.bd-bottom-image-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.bd-bottom-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bd-bottom-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.bd-bottom-pill {
  padding: 4px 12px;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #fff;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 1rem;
  width: fit-content;
}

.bd-bottom-card-title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: #1a1a1a;
  font-weight: 700;
  line-height: 1.4;
}

.bd-bottom-excerpt {
  font-size: 0.95rem;
  color: #6b6b6b;
  margin-bottom: 1rem;
  flex: 1;
}

.bd-bottom-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #f0f0f0;
}

.bd-bottom-date {
  color: #9ca3af;
  font-size: 0.85rem;
}

.bd-bottom-readmore {
  color: #dc2626;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bd-icon-xs {
  font-size: 0.75rem;
}