
.single-blog-section {
  background: #f9fdff;
  padding: 40px 0 60px;
}

.single-blog-container {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}



.single-blog-toc-sidebar {
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.single-blog-toc-sidebar::-webkit-scrollbar {
  display: none;
}

.single-blog-toc {
  background: #f8f9fc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 20px;
}

.single-blog-toc__title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 4px;
  padding: 0 10px 12px;
  border-bottom: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.single-blog-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 3px solid #e2e8f0;
}

.single-blog-toc__list li a {
  display: block;
  padding: 8px 0 8px 15px;
  font-size: 13px;
  color: #555;
  text-decoration: none;
  line-height: 1.45;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
  margin-left: -3px;
  border-radius: 0;
  background: transparent;
}

.single-blog-toc__list li a:hover {
  color: #0d4ef7;
  background: transparent;
  text-decoration: none;
  padding-left: 20px;
}

.single-blog-toc__list li a.toc-active {
  color: #0d4ef7;
  font-weight: 600;
  border-left-color: #0d4ef7;
  background: transparent;
  padding-left: 20px;
}

.single-blog-toc__list li.toc-sub a {
  padding-left: 25px;
  font-size: 12.5px;
  color: #777;
}

.single-blog-toc__list li.toc-sub a::before {
  content: "└ ";
  margin-right: 3px;
}

.single-blog-toc__list li.toc-sub a:hover,
.single-blog-toc__list li.toc-sub a.toc-active {
  color: #0d4ef7;
  padding-left: 30px;
}

.single-blog-article {
  background: #ffffff;
  border-radius: 16px;
  border: 1.5px solid #e8e8e8;
  padding: 36px 40px 40px;
  min-width: 0;
}

.single-blog-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
  font-size: 13px;
}

.single-blog-breadcrumb .breadcrumb-link {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s;
}

.single-blog-breadcrumb .breadcrumb-link:hover {
  color: #007bf3;
}

.single-blog-breadcrumb .breadcrumb-sep {
  color: #d1d5db;
  font-size: 10px;
}

.single-blog-breadcrumb .breadcrumb-current {
  color: #007bf3;
  font-weight: 500;
}

.single-blog-header {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 2px solid #f0f0f0;
}

.single-blog-title {
  font-size: 30px;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.35;
  margin: 0 0 16px;
  letter-spacing: -0.3px;
}

.single-blog-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.single-blog-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #6b7280;
}

a.single-blog-meta__item--link {
  text-decoration: none;
  color: #6b7280;
}

.single-blog-meta__item i {
  font-size: 13px;
  color: #007bf3;
}

.single-blog-toc-mobile {
  display: none;
  background: #f0f7ff;
  border: 1.5px solid #c7dff9;
  border-radius: 10px;
  margin-bottom: 28px;
  overflow: hidden;
}

.single-blog-toc-mobile__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 13px 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #007bf3;
}

.toggle-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.toggle-arrow {
  font-size: 12px;
  transition: transform 0.25s ease;
}

.single-blog-toc-mobile.open .toggle-arrow {
  transform: rotate(180deg);
}

.single-blog-toc-mobile__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 16px;
}

.single-blog-toc-mobile.open .single-blog-toc-mobile__content {
  max-height: 360px;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 16px 14px;
}
.single-blog-toc-mobile.open
  .single-blog-toc-mobile__content::-webkit-scrollbar {
  display: none;
}

.single-blog-body {
  font-size: 15.5px;
  color: #374151;
  line-height: 1.8;
}

.single-blog-body h2 {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 36px 0 14px;
  padding-top: 8px;
  line-height: 1.35;
}

.single-blog-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 28px 0 12px;
  line-height: 1.4;
}

.single-blog-body h4 {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 22px 0 10px;
}

.single-blog-body p {
  margin: 0 0 16px;
}

.single-blog-body ul,
.single-blog-body ol {
  padding-left: 24px;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.single-blog-body li {
  line-height: 1.7;
}

.single-blog-body a {
  color: #007bf3;
  text-decoration: underline;
  transition: color 0.2s;
}

.single-blog-body a:hover {
  color: #0066d6;
}

.single-blog-body img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 20px 0;
  display: block;
}

.single-blog-body .wp-caption {
  max-width: 100% !important;
  width: 100% !important;
}

.single-blog-body .wp-caption-text {
  font-size: 13px;
  color: #9ca3af;
  text-align: center;
  margin-top: -12px;
  margin-bottom: 20px;
}

.single-blog-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.single-blog-body table thead tr,
.single-blog-body table tr:first-child {
  background: #007bf3;
  color: #ffffff;
}

.single-blog-body table th,
.single-blog-body table td {
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  text-align: left;
  vertical-align: middle;
  line-height: 1.5;
}

.single-blog-body table th {
  font-weight: 700;
  font-size: 13px;
}

.single-blog-body table tbody tr:nth-child(even) {
  background: #f9fdff;
}

.single-blog-body table tbody tr:hover {
  background: #f0f7ff;
}

.single-blog-body code {
  background: #f3f4f6;
  color: #e11d48;
  font-size: 13.5px;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: "Courier New", monospace;
}

.single-blog-body pre {
  background: #1e293b;
  color: #e2e8f0;
  padding: 20px;
  border-radius: 10px;
  overflow-x: auto;
  font-size: 13.5px;
  line-height: 1.7;
  margin: 20px 0;
}

.single-blog-body pre code {
  background: transparent;
  color: inherit;
  padding: 0;
  font-size: inherit;
}

.single-blog-body blockquote {
  border-left: 4px solid #007bf3;
  background: #f0f7ff;
  padding: 16px 20px;
  border-radius: 0 10px 10px 0;
  margin: 24px 0;
  font-style: italic;
  color: #4b5563;
}

.author-box {
  margin-top: 40px;
  padding: 24px 24px 24px 28px;
  background: #f9fdff;
  border: 1.5px solid #e0ecff;
  border-left: 3px solid #007bf3;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0, 123, 243, 0.05);
}

.author-box-content {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.author-avatar {
  flex-shrink: 0;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #d0e6ff;
  box-shadow: 0 2px 8px rgba(0, 123, 243, 0.12);
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
  border-radius: 50%;
}

.author-info {
  flex: 1;
  min-width: 0;
}

.author-name {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 6px;
}

.author-bio {
  font-size: 13.5px;
  color: #4b5563;
  line-height: 1.65;
  margin: 0 0 12px;
  font-style: italic;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.author-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  color: #6b7280;
}

.meta-item i {
  font-size: 12px;
  color: #007bf3;
}

.blog-faq-section {
  margin-top: 40px;
}

.single-blog-faq__heading {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.blog-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.blog-faq-item {
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.blog-faq-item.active-faq {
  border-color: #007bf3;
}

.blog-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  cursor: pointer;
  margin: 0;
  user-select: none;
  transition: background 0.2s;
  list-style: none;
}

.blog-faq-question:hover {
  background: #f9fdff;
}

.blog-faq-item.active-faq .blog-faq-question {
  background: #f0f7ff;
  color: #007bf3;
}

.blog-toggle-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f0f0f0;
  transition: all 0.25s ease;
}

.blog-toggle-icon i {
  font-size: 12px;
  color: #6b7280;
  transition: transform 0.25s ease;
}

.blog-faq-item.active-faq .blog-toggle-icon {
  background: #007bf3;
}

.blog-faq-item.active-faq .blog-toggle-icon i {
  color: white;
  transform: rotate(180deg);
}

.blog-faq-answer-container {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.blog-faq-item.active-faq .blog-faq-answer-container {
  max-height: 600px;
}

.blog-faq-answer-content {
  padding: 0 18px 18px;
  border-top: 1px solid #e5e7eb;
}

.blog-faq-answer {
  font-size: 14.5px;
  color: #4b5563;
  line-height: 1.75;
  margin: 14px 0 0;
  white-space: pre-line;
}

.single-blog-back {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 2px solid #f0f0f0;
}

.single-blog-back__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  background: white;
  border: 2px solid #007bf3;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #007bf3;
  text-decoration: none;
  transition: all 0.25s ease;
}

.single-blog-back__btn:hover {
  background: #007bf3;
  color: white;
  text-decoration: none;
}

.single-blog-back__btn i {
  font-size: 13px;
  transition: transform 0.2s ease;
}

.single-blog-back__btn:hover i {
  transform: translateX(-3px);
}

.single-blog-related {
  background: #ffffff;
  padding: 50px 0 60px;
  border-top: 1px solid #e8f0fb;
}

.single-blog-related__heading {
  font-size: 26px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 8px;
}

.single-blog-related__desc {
  font-size: 15px;
  color: #6b7280;
  margin: 0 0 32px;
}

.single-blog-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.related-card {
  background: #ffffff;
  border: 1.5px solid #e8e8e8;
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.related-card:hover {
  box-shadow: 0 8px 28px rgba(0, 123, 243, 0.13);
  transform: translateY(-4px);
  border-color: #c7dff9;
}

.related-card__link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.related-card__link:hover {
  text-decoration: none;
}

.related-card__image-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  flex-shrink: 0;
}

.related-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  display: block;
}

.related-card:hover .related-card__image {
  transform: scale(1.06);
}

.related-card__body {
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}

.related-card__title {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}

.related-card:hover .related-card__title {
  color: #007bf3;
}

.related-card__excerpt {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.related-card__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px solid #f0f0f0;
  margin-top: auto;
}

.related-card__date,
.related-card__read-time {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #9ca3af;
}

.related-card__date i,
.related-card__read-time i {
  font-size: 12px;
  color: #007bf3;
}

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

  .single-blog-title {
    font-size: 26px;
  }
}

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

  .single-blog-toc-sidebar {
    display: none;
  }

  .single-blog-toc-mobile {
    display: block;
  }

  .single-blog-article {
    padding: 28px 28px 32px;
  }

  .single-blog-related__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .single-blog-section {
    padding: 24px 0 40px;
  }

  .single-blog-article {
    padding: 20px 18px 24px;
    border-radius: 12px;
  }

  .single-blog-title {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .single-blog-meta {
    gap: 12px;
  }

  .single-blog-meta__item {
    font-size: 12px;
  }

  .single-blog-body {
    font-size: 15px;
  }

  .single-blog-body h2 {
    font-size: 19px;
    margin: 28px 0 12px;
  }

  .single-blog-body h3 {
    font-size: 16px;
  }

  .single-blog-body table {
    font-size: 13px;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .author-box {
    padding: 18px;
  }

  .author-avatar {
    width: 58px;
    height: 58px;
  }

  .blog-faq-question {
    font-size: 14px;
    padding: 13px 14px;
  }

  .single-blog-related {
    padding: 36px 0 44px;
  }

  .single-blog-related__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .single-blog-related__heading {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .single-blog-article {
    padding: 16px 14px 20px;
  }

  .single-blog-title {
    font-size: 20px;
  }

  .single-blog-meta {
    gap: 10px;
  }

  .single-blog-body {
    font-size: 14.5px;
  }

  .single-blog-body h2 {
    font-size: 17px;
  }

  .single-blog-body h3 {
    font-size: 15px;
  }

  .single-blog-back__btn {
    width: 100%;
    justify-content: center;
  }

  .author-box-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .author-meta {
    justify-content: center;
  }
}
.author-box__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 22px;
  background: #007bf3;
  color: #ffffff;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}
 
.author-box__cta-btn:hover {
  background: #0066d6;
  text-decoration: none;
  color: #ffffff;
  gap: 12px;
}
 
.author-box__cta-btn i:first-child {
  font-size: 13px;
}
 
.author-cta-arrow {
  font-size: 11px;
  transition: transform 0.2s ease;
}
 
.author-box__cta-btn:hover .author-cta-arrow {
  transform: translateX(3px);
}
