/* Typography */
h1 {
  font-size: 2.25rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  margin-top: 2rem;
  color: #111827;
  line-height: 1.25;
}

h2 {
  font-size: 1.875rem;
  font-weight: bold;
  margin-bottom: 1rem;
  margin-top: 1.5rem;
  color: #1f2937;
  line-height: 1.375;
}

h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.75rem;
  margin-top: 1.25rem;
  color: #1f2937;
}

h4,
h5,
h6 {
  font-weight: bold;
  margin-bottom: 0.75rem;
  margin-top: 1rem;
  color: #1f2937;
}

/* Code blocks */
code {
  background-color: #111827;
  color: #f3f4f6;
  padding: 0.5rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  font-family: monospace;
}

pre {
  background-color: #111827;
  color: #f3f4f6;
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin-bottom: 1rem;
  border: 1px solid #374151;
}

pre code {
  background-color: transparent;
  padding: 0;
}

.highlight {
  background-color: #111827;
  color: #f3f4f6;
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin-bottom: 1rem;
  border: 1px solid #374151;
}

.highlight pre {
  background-color: transparent;
  padding: 0;
  margin: 0;
}

/* Lists */
ul,
ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

ul ol li {
  margin-bottom: 0.5rem;
  color: #374151;
  list-style-type: disc !important;
}

ol li {
  margin-bottom: 0.5rem;
  color: #374151;
  list-style-type: decimal;
}

/* Links */
a {
  color: #2563eb;
  transition: color 0.3s;
}

a:hover {
  color: #1e40af;
}

/* Post content */
.post-content {
  color: #374151;
  line-height: 1.625;
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

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

/* Tags and Categories */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tags li {
  list-style: none;
}

.tags a,
.tags span {
  display: inline-block;
  background-color: #dbeafe;
  color: #1e3a8a;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background-color 0.3s;
}

.tags a:hover,
.tags span:hover {
  background-color: #bfdbfe;
  text-decoration: none;
}

.tag-heading {
  font-weight: bold;
  color: #1f2937;
  margin-right: 0.5rem;
}

/* Share buttons */
.single-blog-details-box-time {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.single-blog-details-box-time span {
  color: #4b5563;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.single-blog-details-box-time ul {
  display: flex;
  gap: 0.75rem;
  margin-left: auto;
  padding-left: 0;
}

.single-blog-details-box-time ul li {
  list-style: none;
  margin: 0;
}

.single-blog-details-box-time ul li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: #2563eb;
  color: white;
  border-radius: 9999px;
  transition: background-color 0.3s;
  text-decoration: none;
}

.single-blog-details-box-time ul li a:hover {
  background-color: #1e40af;
}

.single-blog-details-box-time ul li:first-child {
  color: #4b5563;
  font-weight: 600;
}

/* Related posts / navigation */
.colered-box-text {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 2rem 0;
  padding: 1rem;
  background-color: #f9fafb;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
}

@media (min-width: 768px) {
  .colered-box-text {
    grid-template-columns: 1fr 1fr;
  }
}

.colered-box-text span {
  display: block;
}

.colered-box-text a {
  display: block;
  padding: 0.75rem;
  background-color: white;
  border-radius: 0.25rem;
  border: 1px solid #d1d5db;
  color: #2563eb;
  text-decoration: none;
  transition: all 0.3s;
}

.colered-box-text a:hover {
  border-color: #2563eb;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Comments section */
.comments-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

.blog-details-heading {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  color: #1f2937;
}

/* Blog image */
.blog-boxed-img {
  margin-bottom: 1.5rem;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.blog-boxed-img img {
  width: 100%;
  height: auto;
}

/* General spacing */
.single-blog-details-box {
  margin-bottom: 2rem;
}
