/* Modern Blog Styles */


.post-thumbnail img {
  width: 100%;
  height: 100%;
  max-height: 300px;
}

/* Blog Header */
.blog-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: #333;
}

.blog-meta {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.blog-author {
  font-weight: 500;
}

.blog-separator {
  margin: 0 8px;
  color: #ccc;
}

.blog-category a {
  color: #f94d1c;
  text-decoration: none;
}

.blog-category a:hover {
  text-decoration: underline;
}

.blog-reading-time {
  color: #666;
}

/* Featured Image */
.blog-featured-image img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Table of Contents */
.table-of-contents {
  background-color: #fff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.table-of-contents .widget-title {
  color: #333;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
  position: relative;
}

.table-of-contents .widget-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background-color: #f0f0f0;
}

.toc-content {
  font-size: 0.95rem;
  line-height: 1.6;
}

.toc-item {
  margin-bottom: 12px;
}

.toc-item a {
  color: #5a6a7e;
  text-decoration: none;
  transition: color 0.2s;
  display: block;
}

.toc-item a:hover {
  color: #3674ff;
}

.toc-subitem {
  margin-bottom: 10px;
  padding-left: 15px;
}

.toc-subitem a {
  color: #6b7a8a;
  text-decoration: none;
  transition: color 0.2s;
  font-size: 0.9rem;
}

.toc-spacer {
  font-size: 0.95rem;
  color: rgb(122, 122, 122);
  margin-bottom: 10px;
}

/* Blog Content */
.blog-content {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
}

.blog-intro .lead {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #555;
  font-weight: 400;
}

.post-content h2 {
  font-size: 1.8rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #333;
}

.post-content h3 {
  font-size: 1.5rem;
  margin-top: 1.8rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
  color: #333;
}

.post-content p {
  margin-bottom: 1.5rem;
}

.post-content img {
  max-width: 100%;
  border-radius: 6px;
  margin: 1.5rem 0;
}

.post-content ul, .post-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.2rem;
}

.post-content li {
  margin-bottom: 0.5rem;
}

.post-content blockquote {
  border-left: 4px solid #f94d1c;
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #555;
}

.post-content code {
  background-color: #f7f7f7;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-family: monospace;
  font-size: 0.9em;
}

.post-content pre {
  background-color: #282c34;
  color: #abb2bf;
  padding: 1rem;
  border-radius: 5px;
  overflow-x: auto;
  margin: 1.5rem 0;
}

/* Sidebar Widgets */
.sidebar-widget {
  background-color: #f9f9f9;
  border-radius: 6px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.widget-title {
  font-size: 1.25rem;
  margin-bottom: 1.2rem;
  font-weight: 600;
  color: #333;
  position: relative;
  display: inline-block;
}

.widget-title .line {
  display: inline-block;
  width: 0;
  height: 0;
}

.widget-title::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #f94d1c;
}

/* Author Profile */
.author-profile {
  text-align: center;
}

.author-image {
  margin-bottom: 1rem;
}

.author-image img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

.author-name {
  margin-bottom: 0.2rem;
  font-size: 1.2rem;
  color: #333;
}

.author-title {
  color: #666;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
}

.author-social a {
  color: #555;
  font-size: 1.2rem;
  margin: 0 8px;
  transition: color 0.3s;
}

.author-social a:hover {
  color: #f94d1c;
}

/* Category Widget */
.category-nav {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}

.category-nav li {
  border-bottom: 1px solid #eee;
  padding: 8px 0;
}

.category-nav li:last-child {
  border-bottom: none;
}

.category-nav a {
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.category-nav a:hover {
  color: #f94d1c;
}

.category-nav .number {
  color: #999;
  font-size: 0.9rem;
}

/* Recent Posts Widget */
.recent-post-list {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}

.post-thumbnail-content {
  display: flex;
  margin-bottom: 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid #eee;
}

.post-thumbnail-content:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.post-thumbnail-content img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 15px;
}

.post-title-date {
  flex: 1;
}

.posted-on {
  font-size: 0.8rem;
  color: #888;
  display: block;
  margin-bottom: 5px;
}

.posted-on i {
  margin-right: 5px;
}

.posted-on a {
  color: #888;
  text-decoration: none;
}

.post-title-date h6 {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
}

.post-title-date h6 a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s;
}

.post-title-date h6 a:hover {
  color: #f94d1c;
}

/* Related Posts */
.related-posts {
  margin-top: 3rem;
}

.related-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.8rem;
  color: #333;
}

.related-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: #f94d1c;
}

.related-post-card {
  margin-bottom: 1.5rem;
  transition: transform 0.3s;
}

.related-post-card:hover {
  transform: translateY(-5px);
}

.related-post-card .post-thumbnail {
  margin-bottom: 0.8rem;
  border-radius: 6px;
  overflow: hidden;
}

.related-post-card .post-thumbnail img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.3s;
}

.related-post-card:hover .post-thumbnail img {
  transform: scale(1.05);
}

.related-post-card .post-date {
  font-size: 0.85rem;
  color: #666;
  display: block;
  margin-bottom: 0.3rem;
}

.related-post-card h5 {
  font-size: 1rem;
  margin-bottom: 0;
  line-height: 1.4;
}

.related-post-card h5 a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s;
}

.related-post-card h5 a:hover {
  color: #f94d1c;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .blog-title {
    font-size: 2.2rem;
  }

  .author-profile {
    margin-top: 2rem;
  }

  .table-of-contents {
    margin-top: 1rem;
  }
}

@media (max-width: 767px) {
  .blog-title {
    font-size: 1.8rem;
  }

  .blog-content {
    font-size: 1rem;
  }
}