/* Table of Contents */
.blog-toc-widget {
  background: #fff;
  border: 1px solid #e1e5e9;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 20px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}

.blog-toc-widget .widget-title {
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
  margin: 0 0 15px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #3498db;
}

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

.toc-item {
  margin: 0;
  padding: 0;
}

.toc-link {
  display: flex;
  align-items: flex-start;
  padding: 8px 12px;
  color: #5a6c7d;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-size: 14px;
  line-height: 1.4;
}

.toc-link:hover {
  background-color: #f8f9fa;
  color: #3498db;
  text-decoration: none;
  transform: translateX(2px);
}

.toc-link.active {
  background-color: #3498db;
  color: #fff;
  font-weight: 500;
}

.toc-number {
  font-weight: 600;
  margin-right: 8px;
  min-width: 20px;
  color: #95a5a6;
}

.toc-link.active .toc-number {
  color: #fff;
}

.toc-text {
  flex: 1;
  word-wrap: break-word;
}

.toc-level-1 {
  margin-left: 0;
}

.toc-level-2 {
  margin-left: 15px;
}

.toc-level-3 {
  margin-left: 30px;
}

.toc-level-4 {
  margin-left: 45px;
}

.toc-level-5 {
  margin-left: 60px;
}

.toc-level-6 {
  margin-left: 75px;
}

.toc-level-2 .toc-link {
  font-size: 13px;
  padding: 6px 12px;
}

.toc-level-3 .toc-link {
  font-size: 12px;
  padding: 5px 12px;
}

.toc-level-4 .toc-link,
.toc-level-5 .toc-link,
.toc-level-6 .toc-link {
  font-size: 12px;
  padding: 4px 12px;
}

.blog-toc-widget::-webkit-scrollbar {
  width: 6px;
}

.blog-toc-widget::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.blog-toc-widget::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.blog-toc-widget::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

.toc-link {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toc-link:focus {
  outline: 2px solid #3498db;
  outline-offset: 2px;
}

@media print {
  .blog-toc-widget {
    position: static;
    box-shadow: none;
    border: 1px solid #ccc;
    page-break-inside: avoid;
  }
}

.blog .entry-content h1,
.blog .entry-content h2,
.blog .entry-content h3,
.blog .entry-content h4,
.blog .entry-content h5,
.blog .entry-content h6,
.blog .entry-title,
.post-type-archive-post .entry-content h1,
.post-type-archive-post .entry-content h2,
.post-type-archive-post .entry-content h3,
.post-type-archive-post .entry-content h4,
.post-type-archive-post .entry-content h5,
.post-type-archive-post .entry-content h6,
.post-type-archive-post .entry-title,
.category .entry-content h1,
.category .entry-content h2,
.category .entry-content h3,
.category .entry-content h4,
.category .entry-content h5,
.category .entry-content h6,
.category .entry-title,
.tag .entry-content h1,
.tag .entry-content h2,
.tag .entry-content h3,
.tag .entry-content h4,
.tag .entry-content h5,
.tag .entry-content h6,
.tag .entry-title,
.search .entry-content h1,
.search .entry-content h2,
.search .entry-content h3,
.search .entry-content h4,
.search .entry-content h5,
.search .entry-content h6,
.search .entry-title {
  font-weight: 700;
  line-height: 1.2;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #1a1a1a;
  letter-spacing: -0.02em;
}

.blog .entry-title,
.post-type-archive-post .entry-title,
.category .entry-title,
.tag .entry-title,
.search .entry-title {
  font-size: 1rem;
}

.blog .entry-content h2,
.post-type-archive-post .entry-content h2,
.category .entry-content h2,
.tag .entry-content h2,
.search .entry-content h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  color: #1a1a1a;
}

.blog .entry-content h3,
.post-type-archive-post .entry-content h3,
.category .entry-content h3,
.tag .entry-content h3,
.search .entry-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2c3e50;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.blog .entry-content p,
.post-type-archive-post .entry-content p,
.category .entry-content p,
.tag .entry-content p,
.search .entry-content p {
  margin-bottom: 1.25rem;
  font-size: 15px;
  line-height: 1.6;
  color: #2c3e50;
}

.blog .post,
.post-type-archive-post .post,
.category .post,
.tag .post,
.search .post {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 2.5rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog .post:hover,
.post-type-archive-post .post:hover,
.category .post:hover,
.tag .post:hover,
.search .post:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.blog .post-thumbnail,
.post-type-archive-post .post-thumbnail,
.category .post-thumbnail,
.tag .post-thumbnail,
.search .post-thumbnail {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
  border: none;
}

.blog .post-thumbnail img,
.post-type-archive-post .post-thumbnail img,
.category .post-thumbnail img,
.tag .post-thumbnail img,
.search .post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  border: none;
}

.blog .post:hover .post-thumbnail img,
.post-type-archive-post .post:hover .post-thumbnail img,
.category .post:hover .post-thumbnail img,
.tag .post:hover .post-thumbnail img,
.search .post:hover .post-thumbnail img {
  transform: scale(1.05);
}

.blog .entry-content,
.post-type-archive-post .entry-content,
.category .entry-content,
.tag .entry-content,
.search .entry-content {
  padding: 0 2rem 2rem 2rem;
}

.blog .entry-header,
.post-type-archive-post .entry-header,
.category .entry-header,
.tag .entry-header,
.search .entry-header {
  padding: 2rem 2rem 0 2rem;
}

.blog .entry-title a,
.post-type-archive-post .entry-title a,
.category .entry-title a,
.tag .entry-title a,
.search .entry-title a {
  color: #1a1a1a;
  text-decoration: none;
}

.blog .entry-title a:hover,
.post-type-archive-post .entry-title a:hover,
.category .entry-title a:hover,
.tag .entry-title a:hover,
.search .entry-title a:hover {
  color: #1a1a1a;
  text-decoration: none;
}

.blog .entry-summary,
.post-type-archive-post .entry-summary,
.category .entry-summary,
.tag .entry-summary,
.search .entry-summary {
  color: #5a6c7d;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.blog .entry-meta,
.post-type-archive-post .entry-meta,
.category .entry-meta,
.tag .entry-meta,
.search .entry-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid #ecf0f1;
  font-size: 0.875rem;
  color: #7f8c8d;
}

.blog .entry-meta a,
.post-type-archive-post .entry-meta a,
.category .entry-meta a,
.tag .entry-meta a,
.search .entry-meta a {
  color: #3498db;
  text-decoration: none;
  font-weight: 500;
}

.blog .entry-meta a:hover,
.post-type-archive-post .entry-meta a:hover,
.category .entry-meta a:hover,
.tag .entry-meta a:hover,
.search .entry-meta a:hover {
  color: #2980b9;
  text-decoration: underline;
}

.blog .posted-on,
.post-type-archive-post .posted-on,
.category .posted-on,
.tag .posted-on,
.search .posted-on {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.blog .byline,
.post-type-archive-post .byline,
.category .byline,
.tag .byline,
.search .byline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.blog .more-link,
.post-type-archive-post .more-link,
.category .more-link,
.tag .more-link,
.search .more-link {
  display: none !important;
}

.blog .post-thumbnail::before,
.post-type-archive-post .post-thumbnail::before,
.category .post-thumbnail::before,
.tag .post-thumbnail::before,
.search .post-thumbnail::before,
article.post .post-thumbnail::before,
article.post:hover .post-thumbnail::before,
.blog .post-thumbnail::after,
.post-type-archive-post .post-thumbnail::after,
.category .post-thumbnail::after,
.tag .post-thumbnail::after,
.search .post-thumbnail::after,
article.post .post-thumbnail::after,
article.post:hover .post-thumbnail::after {
  display: none !important;
  opacity: 0 !important;
  content: none !important;
  background: none !important;
  background-color: transparent !important;
}

.blog .post-thumbnail:hover,
.post-type-archive-post .post-thumbnail:hover,
.category .post-thumbnail:hover,
.tag .post-thumbnail:hover,
.search .post-thumbnail:hover,
article.post .post-thumbnail:hover {
  background: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

.blog .pagination,
.post-type-archive-post .pagination,
.category .pagination,
.tag .pagination,
.search .pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 3rem 0;
}

.blog .pagination a,
.post-type-archive-post .pagination a,
.category .pagination a,
.tag .pagination a,
.search .pagination a,
.blog .pagination span,
.post-type-archive-post .pagination span,
.category .pagination span,
.tag .pagination span,
.search .pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.blog .pagination a,
.post-type-archive-post .pagination a,
.category .pagination a,
.tag .pagination a,
.search .pagination a {
  color: #3498db;
  border: 2px solid #ecf0f1;
}

.blog .pagination a:hover,
.post-type-archive-post .pagination a:hover,
.category .pagination a:hover,
.tag .pagination a:hover,
.search .pagination a:hover {
  background: #3498db;
  color: #fff;
  border-color: #3498db;
}

.blog .pagination .current,
.post-type-archive-post .pagination .current,
.category .pagination .current,
.tag .pagination .current,
.search .pagination .current {
  background: #3498db;
  color: #fff;
  border: 2px solid #3498db;
}

.blog .page-title,
.post-type-archive-post .page-title,
.category .page-title,
.tag .page-title,
.search .page-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 1rem;
  text-align: center;
}

.blog .post-type-archive-post-description,
.post-type-archive-post .post-type-archive-post-description,
.category .post-type-archive-post-description,
.tag .post-type-archive-post-description,
.search .post-type-archive-post-description {
  text-align: center;
  color: #5a6c7d;
  font-size: 1.125rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.blog ul,
.blog ol,
.post-type-archive-post ul,
.post-type-archive-post ol,
.category ul,
.category ol,
.tag ul,
.tag ol,
.search ul,
.search ol {
  margin-bottom: 1.5rem;
  color: #2c3e50;
}

.blog li,
.post-type-archive-post li,
.category li,
.tag li,
.search li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
  color: #2c3e50;
}

/* Blog links */
.blog a,
.post-type-archive-post a,
.category a,
.tag a,
.search a {
  color: #3498db;
  text-decoration: none;
  border-bottom: none;
  transition: all 0.2s ease;
}

.blog a:hover,
.post-type-archive-post a:hover,
.category a:hover,
.tag a:hover,
.search a:hover {
  color: #2980b9;
  border-bottom: none;
}

.blog strong,
.post-type-archive-post strong,
.category strong,
.tag strong,
.search strong {
  font-weight: 600;
  color: #1a1a1a;
}

.search-results .post {
  border-left: 4px solid #3498db;
}

.search-results .entry-title {
  color: #3498db;
}

.search-results .entry-title a {
  color: #3498db;
}

.blog .search-form,
.post-type-archive-post .search-form,
.category .search-form,
.tag .search-form,
.search .search-form {
  margin-bottom: 2rem;
}

.blog .search-form input,
.post-type-archive-post .search-form input,
.category .search-form input,
.tag .search-form input,
.search .search-form input {
  padding: 0.75rem 1rem;
  border: 2px solid #ecf0f1;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.blog .search-form input:focus,
.post-type-archive-post .search-form input:focus,
.category .search-form input:focus,
.tag .search-form input:focus,
.search .search-form input:focus {
  outline: none;
  border-color: #3498db;
}

.blog .site-main,
.post-type-archive-post .site-main,
.category .site-main,
.tag .site-main,
.search .site-main {
  padding-top: 0 !important;
}

.blog .entry-header,
.post-type-archive-post .entry-header,
.category .entry-header,
.tag .entry-header,
.search .entry-header {
  padding: 1rem 2rem 0 2rem !important;
}

.blog .entry-meta,
.post-type-archive-post .entry-meta,
.category .entry-meta,
.tag .entry-meta,
.search .entry-meta {
  display: none !important;
}

.blog .post,
.post-type-archive-post .post,
.category .post,
.tag .post,
.search .post {
  background-color: #f5f5f5 !important;
  box-shadow: none !important;
  border-radius: 8px !important;
  margin-bottom: 1.5rem !important;
  padding: 0 !important;
}

.blog .entry-content,
.post-type-archive-post .entry-content,
.category .entry-content,
.tag .entry-content,
.search .entry-content {
  font-size: 15px;
  line-height: 1.6;
}

.blog .entry-summary,
.post-type-archive-post .entry-summary,
.category .entry-summary,
.tag .entry-summary,
.search .entry-summary {
  font-size: 15px;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  color: #5a6c7d;
}

.blog .entry-meta .posted-on,
.post-type-archive-post .entry-meta .posted-on,
.category .entry-meta .posted-on,
.tag .entry-meta .posted-on,
.search .entry-meta .posted-on,
.blog .posted-on,
.post-type-archive-post .posted-on,
.category .posted-on,
.tag .posted-on,
.search .posted-on {
  display: none !important;
}

.blog .pagination,
.post-type-archive-post .pagination,
.category .pagination,
.tag .pagination,
.search .pagination {
  display: none !important;
}

/* Load More Functionality */
.blog-load-more-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  padding: 0;
  width: 100%;
  text-align: center;
}

.blog-load-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  background: linear-gradient(135deg, #bc3116 0%, #a82b13 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  text-transform: capitalize;
  letter-spacing: 0.4px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  font-size: 13px;
  box-shadow: 0 2px 8px rgba(188, 49, 22, 0.2);
  position: relative;
  overflow: hidden;
  margin: 0;
}

.blog-load-more-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.blog-load-more-btn:hover::before {
  left: 100%;
}

.blog-load-more-btn:hover {
  background: linear-gradient(135deg, #a82b13 0%, #8b1f0f 100%);
  color: #fff;
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(188, 49, 22, 0.4);
}

.blog-load-more-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(188, 49, 22, 0.3);
}

.blog-load-more-btn:disabled {
  background: #ccc;
  cursor: default;
  transform: none;
  box-shadow: none;
}

.blog-load-more-btn:disabled::before {
  display: none;
}

.blog-load-more-btn.loading {
  position: relative;
  color: transparent;
  background: linear-gradient(135deg, #bc3116 0%, #a82b13 100%);
  cursor: default;
}

.blog-load-more-btn.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.blog-load-more-container {
  text-align: center !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  grid-column: 1 / -1 !important;
}

.blog-load-more-btn {
  margin: 0 auto !important;
  display: block !important;
}

.site-main.grid.grid-2 .blog-load-more-container {
  grid-column: span 2 !important;
}

.site-main.grid.grid-3 .blog-load-more-container {
  grid-column: span 3 !important;
}

/* Make entry titles smaller - Clean CSS */
body.blog .entry-title,
body.post-type-archive-post .entry-title,
body.category .entry-title,
body.tag .entry-title,
body.search .entry-title,
.blog .site-main .entry-title,
.post-type-archive-post .site-main .entry-title,
.category .site-main .entry-title,
.tag .site-main .entry-title,
.search .site-main .entry-title {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  font-weight: 600;
  line-height: 1.2;
}

.single-post-header-wrapper {
  margin-top: 2rem;
}

@media (max-width: 992px) {
  .single-post-header-wrapper {
    display: flex;
    flex-direction: column;
  }

  .single-post-header-wrapper .entry-title {
    order: 2;
    margin-top: 1.5rem;
    margin-bottom: 0;
  }

  .single-post-header-wrapper .custom-featured-image {
    order: 1;
    margin-bottom: 0;
  }

  .single-post-meta-wrapper .entry-meta {
    justify-content: center;
  }

  .social-sharing-wrapper {
    justify-content: center !important;
  }

  .social-sharing-icons {
    justify-content: center !important;
  }

  .single-post-header-wrapper .custom-featured-image {
    height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .single-post-header-wrapper .full-width-featured-image {
    height: 500px;
    object-fit: cover;
    object-position: center;
  }
}

.single-post-meta-wrapper .entry-meta {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  font-size: 16px;
}

.single-post-meta-wrapper .entry-meta .posted-on {
  font-weight: 500;
}

.single-post-meta-wrapper .entry-meta .byline {
  font-style: normal;
  font-weight: 500;
}

.social-sharing-wrapper {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  padding-bottom: 1.5rem;
}

.social-sharing-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #e1e5e9;
}

.social-sharing-icons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.social-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  text-decoration: none;
  transition: all 0.3s ease;
  background: transparent;
  border: none;
}

.social-share-btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.social-share-btn svg {
  width: 24px;
  height: 24px;
  transition: all 0.3s ease;
  fill: #333;
}

.social-share-btn:hover svg {
  fill: #666;
  transform: scale(1.1);
}

.social-share-btn.facebook,
.social-share-btn.twitter,
.social-share-btn.linkedin,
.social-share-btn.pinterest,
.social-share-btn.email {
  background: transparent;
  color: #666;
}

.social-share-btn.facebook:hover,
.social-share-btn.twitter:hover,
.social-share-btn.linkedin:hover,
.social-share-btn.pinterest:hover,
.social-share-btn.email:hover {
  background: transparent;
  color: #333;
  box-shadow: none;
}

.single-post-header-wrapper .custom-featured-image {
  margin-bottom: 1.5rem;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
}

.single-post-header-wrapper .full-width-featured-image {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

.woocommerce-breadcrumb {
  padding: 1rem 0;
  border-bottom: none;
  font-size: 16px;
  font-weight: 600;
}

.woocommerce-breadcrumb a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  font-size: 16px;
}

.woocommerce-breadcrumb a:hover {
  text-decoration: none;
  color: #333;
}

.woocommerce-breadcrumb .current,
.woocommerce-breadcrumb .breadcrumb-current {
  font-weight: 600;
  color: #333;
  font-size: 16px;
}

.woocommerce-breadcrumb .delimiter,
.woocommerce-breadcrumb .breadcrumb-separator {
  font-weight: 600;
  color: #333;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  vertical-align: middle;
}

.woocommerce-breadcrumb .delimiter svg {
  fill: #333;
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

/* Single post specific breadcrumb styling */
.single-post .woocommerce-breadcrumb {
  margin: 1rem 0;
  padding: 1rem 0;
  border-bottom: none;
  font-size: 16px;
  font-weight: 600;
}

.single-post .woocommerce-breadcrumb a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  font-size: 16px;
}

.single-post .woocommerce-breadcrumb a:hover {
  text-decoration: none;
  color: #333;
}

.single-post .woocommerce-breadcrumb .current,
.single-post .woocommerce-breadcrumb .breadcrumb-current {
  font-weight: 600;
  color: #333;
  font-size: 16px;
}

.single-post .woocommerce-breadcrumb .delimiter,
.single-post .woocommerce-breadcrumb .breadcrumb-separator {
  font-weight: 600;
  color: #333;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  vertical-align: middle;
}

.single-post .woocommerce-breadcrumb .delimiter svg {
  fill: #666;
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

.single-post-main-content {
  line-height: 1.6;
  color: #2c3e50;
  font-size: 16px;
  max-width: none;
}

.single-post-main-content h1,
.single-post-main-content h2,
.single-post-main-content h3,
.single-post-main-content h4,
.single-post-main-content h5,
.single-post-main-content h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #1a1a1a;
  letter-spacing: -0.02em;
}

.single-post-main-content h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.single-post-main-content h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  color: #1a1a1a;
}

.single-post-main-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2c3e50;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.single-post-main-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #34495e;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.single-post-main-content h5,
.single-post-main-content h6 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #34495e;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.single-post-main-content p {
  margin-bottom: 1.25rem;
  font-size: 16px;
  line-height: 1.6;
  color: #2c3e50;
}

.single-post-main-content ul,
.single-post-main-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  color: #2c3e50;
}

.single-post-main-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
  color: #2c3e50;
}

.single-post-main-content ul li {
  list-style-type: disc;
  list-style-position: outside;
}

.single-post-main-content ol li {
  list-style-type: decimal;
  list-style-position: outside;
}

.single-post-main-content ul ul,
.single-post-main-content ol ol,
.single-post-main-content ul ol,
.single-post-main-content ol ul {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.single-post-main-content strong {
  font-weight: 600;
  color: #1a1a1a;
}

.single-post-main-content a {
  color: #3498db;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}

.single-post-main-content a:hover {
  color: #2980b9;
  border-bottom-color: #2980b9;
}

.single-post-main-content em {
  /* font-style: italic; */
  color: #34495e;
}

.single-post-main-content blockquote {
  border-left: 4px solid #666 !important;
  padding: 1.5rem !important;
  margin: 0 !important;
  font-style: italic !important;
  color: #555 !important;
  background: #f9f5ed !important;
  border-radius: 0 8px 8px 0 !important;
  box-shadow: none !important;
}

.single-post-main-content {
  max-width: none;
}

.single-post-main-content > *:first-child {
  margin-top: 0;
}

.single-post-main-content > *:last-child {
  margin-bottom: 0;
}

.single-post-main-content h2 + p,
.single-post-main-content h3 + p {
  margin-top: 0.5rem;
}

.single-post-main-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 0 !important;
  transition: transform 0.3s ease;
}

.single-post-main-content img:hover {
  transform: translateY(-2px);
}

.single-post-main-content figure {
  margin: 2rem 0;
  text-align: center;
}

.single-post-main-content figcaption {
  font-size: 0.875rem;
  color: #7f8c8d;
  margin-top: 0.5rem;
  font-style: italic;
}

.single-post-main-content code {
  background: #f1f3f4;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em;
}

.single-post-main-content pre {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 1px solid #e9ecef;
}

.single-post-main-content pre code {
  background: none;
  padding: 0;
}

.single-post-main-content .content-section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #ecf0f1;
}

.single-post-main-content .content-section:last-child {
  border-bottom: none;
}

.single-post-main-content .info-box {
  background: #f8f9fa;
  border-left: 4px solid #3498db;
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.single-post-main-content .highlight-box {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.single-post-main-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-main-content th,
.single-post-main-content td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #ecf0f1;
}

.single-post-main-content th {
  background: #f8f9fa;
  font-weight: 600;
  color: #2c3e50;
}

.single-post-main-content tr:hover {
  background: #f8f9fa;
}

.single-post-main-content > *:first-child {
  margin-top: 0;
}

.single-post-main-content > *:last-child {
  margin-bottom: 0;
}

.single-post-main-content hr {
  border: none;
  height: 1px;
  background: #ecf0f1;
  margin: 3rem 0;
}

.single-post-main-content ul,
.single-post-main-content ol {
  padding-left: 1.5rem !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.single-post-main-content li {
  margin-left: 0 !important;
  padding-left: 0 !important;
  text-indent: 0 !important;
}

.single-post-main-content ul li {
  list-style-type: disc !important;
  list-style-position: outside !important;
}

.single-post-main-content ol li {
  list-style-type: decimal !important;
  list-style-position: outside !important;
}

.single-post-content-wrapper {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.single-post-main-content {
  flex: 0 0 70%;
  min-width: 0;
}

.single-post-toc-sidebar {
  width: 30%;
  position: sticky;
  top: 180px;
  align-self: flex-start;
  margin-left: 0;
  margin-top: 3rem;
  margin-bottom: 2rem;
  max-height: calc(100vh - 260px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}
.single-post-toc-sidebar::-webkit-scrollbar {
  width: 6px;
}

.single-post-toc-sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.single-post-toc-sidebar::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 3px;
}

.single-post-toc-sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.1);
}

/* TOC Card Styling - Simplified */
.single-post-toc-sidebar .blog-table-of-contents-widget {
  background: #fff;
  border: 1px solid #e1e5e9;
  border-radius: 8px;
  padding: 16px;
  margin: 0;
  margin-bottom: 2rem;
}

/* Ensure widgets below TOC are visible and properly spaced */
.single-post-toc-sidebar .widget {
  margin-bottom: 1.5rem;
}

.single-post-toc-sidebar .widget:last-child {
  margin-bottom: 0;
}

.single-post-toc-sidebar .blog-table-of-contents-widget .widget-title {
  display: none;
}

.single-post-toc-sidebar .blog-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.single-post-toc-sidebar .toc-item {
  margin: 0;
  padding: 0;
  margin-left: 0;
}

.single-post-toc-sidebar .toc-link {
  display: block;
  padding: 8px 0;
  color: #333;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
  cursor: pointer;
}

.single-post-toc-sidebar .toc-link:hover {
  color: #333;
  text-decoration: underline;
  background-color: transparent !important;
}

.single-post-toc-sidebar .toc-link.active {
  color: #333 !important;
  text-decoration: underline !important;
  font-weight: 800 !important;
  background-color: transparent !important;
}

.single-post-toc-sidebar .toc-link.active:focus {
  color: #333 !important;
  text-decoration: underline !important;
  background-color: transparent !important;
  outline: none !important;
  box-shadow: none !important;
}

.single-post-toc-sidebar .blog-table-of-contents-widget .toc-link.active {
  color: #333 !important;
  text-decoration: underline !important;
  font-weight: 800 !important;
  background-color: transparent !important;
}

.single-post .single-post-toc-sidebar .blog-table-of-contents-widget .blog-toc-list .toc-item .toc-link.active {
  color: #333 !important;
  text-decoration: underline !important;
  font-weight: 800 !important;
  background-color: transparent !important;
  outline: none !important;
  box-shadow: none !important;
}

.single-post-toc-sidebar .toc-link:focus {
  outline: none !important;
  color: #333 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  background-color: transparent !important;
}

.single-post-toc-sidebar .toc-number {
  font-weight: 800;
  margin-right: 8px;
  color: #666;
  font-size: 16px;
}

.single-post-toc-sidebar .toc-text {
  font-size: 16px;
  font-weight: 700;
}

.single-post-toc-sidebar .toc-level-1 {
  margin-left: 0;
}

.single-post-toc-sidebar .toc-level-2 {
  margin-left: 8px;
}

.single-post-toc-sidebar .toc-level-3 {
  margin-left: 16px;
}

.single-post-toc-sidebar .toc-level-4 {
  margin-left: 24px;
}

.single-post-toc-sidebar .toc-level-5 {
  margin-left: 32px;
}

.single-post-toc-sidebar .toc-level-6 {
  margin-left: 40px;
}

.single-post-toc-sidebar .toc-level-2 .toc-link {
  font-size: 15px;
  padding: 6px 0;
  font-weight: 600;
  color: #333;
}

.single-post-toc-sidebar .toc-level-2 .toc-link:hover,
.single-post-toc-sidebar .toc-level-2 .toc-link.active {
  color: #333;
  text-decoration: underline;
  background-color: transparent !important;
}

.single-post-toc-sidebar .toc-level-2 .toc-link:focus {
  outline: none !important;
  color: #333 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  background-color: transparent !important;
}

.single-post-toc-sidebar .toc-level-3 .toc-link {
  font-size: 14px;
  padding: 5px 0;
  font-weight: 600;
  color: #333;
}

.single-post-toc-sidebar .toc-level-3 .toc-link:hover,
.single-post-toc-sidebar .toc-level-3 .toc-link.active {
  color: #333;
  text-decoration: underline;
  background-color: transparent !important;
}

.single-post-toc-sidebar .toc-level-3 .toc-link:focus {
  outline: none !important;
  color: #333 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  background-color: transparent !important;
}

.single-post-toc-sidebar .toc-level-4 .toc-link,
.single-post-toc-sidebar .toc-level-5 .toc-link,
.single-post-toc-sidebar .toc-level-6 .toc-link {
  font-size: 13px;
  padding: 4px 0;
  font-weight: 600;
  color: #333;
}

.single-post-toc-sidebar .toc-level-4 .toc-link:hover,
.single-post-toc-sidebar .toc-level-4 .toc-link.active,
.single-post-toc-sidebar .toc-level-5 .toc-link:hover,
.single-post-toc-sidebar .toc-level-5 .toc-link.active,
.single-post-toc-sidebar .toc-level-6 .toc-link:hover,
.single-post-toc-sidebar .toc-level-6 .toc-link.active {
  color: #333;
  text-decoration: underline;
  background-color: transparent !important;
}

.single-post-toc-sidebar .toc-level-4 .toc-link:focus,
.single-post-toc-sidebar .toc-level-5 .toc-link:focus,
.single-post-toc-sidebar .toc-level-6 .toc-link:focus {
  outline: none !important;
  color: #333 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.single-post .post-thumbnail {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100% !important;
}

.single-post-toc-sidebar .toc-level-2 {
  margin-left: 15px;
}

.single-post-toc-sidebar .toc-level-3 {
  margin-left: 30px;
}

.single-post-toc-sidebar .toc-level-4 {
  margin-left: 45px;
}

.single-post-toc-sidebar .toc-level-5 {
  margin-left: 60px;
}

.single-post-toc-sidebar .toc-level-6 {
  margin-left: 75px;
}

a.toc-link.active {
  text-decoration: underline !important;
  color: #333 !important;
  font-weight: 800 !important;
  background-color: transparent !important;
}

.single-post-toc-sidebar .toc-link:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

.single-post-toc-sidebar .toc-link {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 1200px) {
  .single-post-content-wrapper {
    flex-direction: column;
    gap: 2rem;
  }

  .single-post-main-content {
    flex: none;
    width: 100%;
  }

  .single-post-toc-sidebar {
    flex: none;
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 1024px) {
  .single-post-toc-sidebar {
    display: none !important;
  }

  .single-post-content-wrapper {
    flex-direction: column;
  }

  .single-post-main-content {
    flex: none;
    width: 100%;
  }

  .single-post-header-wrapper .entry-title {
    text-align: center !important;
    font-size: 1.8rem !important;
    line-height: 1.3 !important;
    margin-bottom: 1rem !important;
  }
}

@media (max-width: 768px) {
  .blog .post,
  .post-type-archive-post .post,
  .category .post,
  .tag .post,
  .search .post {
    margin-bottom: 2rem;
  }

  .blog .entry-content,
  .post-type-archive-post .entry-content,
  .category .entry-content,
  .tag .entry-content,
  .search .entry-content {
    padding: 1.5rem;
  }

  .blog .page-title,
  .post-type-archive-post .page-title,
  .category .page-title,
  .tag .page-title,
  .search .page-title {
    font-size: 2rem;
  }

  .blog .entry-meta,
  .post-type-archive-post .entry-meta,
  .category .entry-meta,
  .tag .entry-meta,
  .search .entry-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .blog-toc-widget {
    position: static;
    max-height: none;
    margin-bottom: 20px;
  }

  .toc-level-2 {
    margin-left: 10px;
  }

  .toc-level-3 {
    margin-left: 20px;
  }

  .toc-level-4 {
    margin-left: 30px;
  }

  .toc-level-5 {
    margin-left: 40px;
  }

  .toc-level-6 {
    margin-left: 50px;
  }

  .single-post-content-wrapper {
    flex-direction: column;
  }

  .single-post-main-content {
    flex: none;
    width: 100%;
  }

  .single-post-header-wrapper .entry-title {
    text-align: center !important;
    font-size: 1.5rem !important;
    line-height: 1.3 !important;
    margin-bottom: 1rem !important;
  }

  .single-post-main-content ul,
  .single-post-main-content ol {
    padding-left: 1.2rem !important;
  }

  .single-post-main-content li {
    padding-left: 0 !important;
    text-indent: 0 !important;
  }
}
