.single-post {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2.5rem 1rem;
  padding-top: 9rem !important;
  padding-bottom: 5rem !important;
}
.single-post__back {
  margin-bottom: 1.5rem;
}
.single-post__back-link {
  font-size: 0.875rem;
  color: rgba(31, 34, 39, 0.6392156863);
  text-decoration: none;
  transition: color 0.2s ease;
}
.single-post__date {
  font-size: clamp(0.875rem, 0.75rem + 0.4vw, 1.075rem);
  color: rgba(31, 34, 39, 0.6392156863);
  margin-bottom: 0.75rem;
  font-weight: 500;
}
.single-post__title {
  font-weight: 500;
  font-size: clamp(2.5rem, 2rem + 1.5vw, 3rem);
  line-height: 1.2;
  color: #1F2227;
  margin-bottom: 1rem;
}
.single-post__subtitle {
  font-size: clamp(1.125rem, 0.75rem + 1.5vw, 1.7rem);
  color: #1F2227;
  line-height: 1.3;
  margin-bottom: 1.875rem;
  font-weight: 500;
}
.single-post__image {
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 3rem;
  margin-top: 3rem;
}
.single-post__image img {
  width: 100%;
  max-height: 500px;
    aspect-ratio: 5 / 8;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.single-post__content {
  font-size: 1rem;
  line-height: 1.8;
  color: #1F2227;
}
.single-post__content h1, .single-post__content h2, .single-post__content h3, .single-post__content h4 {
  font-weight: 500;
  font-size: clamp(2.5rem, 2rem + 1.5vw, 3rem);
  line-height: 1.2;
  color: #1F2227;
  margin-bottom: 1rem;
}
.single-post__content h2 {
  font-size: clamp(1.75rem, 1.5rem + 0.75vw, 2rem);
}
.single-post__content h3 {
  font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem);
}
.single-post__content h4 {
  font-size: clamp(1.05rem, 0.85rem + 0.75vw, 1.375rem);
}
.single-post__content p {
    margin-bottom: 1.25rem;
    font-size: clamp(0.95rem, 0.85rem + 0.5vw, 1.15rem);
    color: #1F2227;
    font-weight: 400;
    line-height: 1.5;
}
.single-post__content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  margin: 2rem 0;
}
.single-post__content ul, .single-post__content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.single-post__content ul li, .single-post__content ol li {
  margin-bottom: 0.5rem;
}
.single-post__content blockquote {
  border-left: 4px solid #F5C422;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background-color: #f9f9fb;
  border-radius: 0 0.5rem 0.5rem 0;
  font-style: italic;
  color: rgba(31, 34, 39, 0.6392156863);
}
.single-post__content a {
  color: #1F2227;
  text-decoration: underline;
}
.single-post__footer {
  border-top: 1px solid #e9ecef;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
}
.single-post__category {
  display: inline-block;
  background-color: #f0f4f8;
  border-radius: 1.25rem;
  padding: 0.375rem 1rem;
  font-size: 0.8125rem;
  color: rgba(31, 34, 39, 0.6392156863);
}

.keep-reading {
    padding-top: 4rem;
    margin-top: 4rem;
    border-top: 1px solid #D4D8DF;
}

.keep-reading__title {
    font-weight: 500;
    font-size: clamp(2.5rem, 2rem + 1.5vw, 2.5rem);
    line-height: 1.2;
    color: #1F2227;
    margin-bottom: 2rem;
    padding-left: 1rem;
}

@media (max-width: 991px) {
  .single-post {
    padding: 2rem 1rem;
  }
  .single-post__title {
    font-size: 2rem;
  }
  .single-post__subtitle {
    font-size: 1rem;
  }
  .single-post__image img {
    max-height: 400px;
  }
}
@media (max-width: 767px) {
  .single-post {
    padding: 1.5rem 1rem;
    padding-top: 9rem !important;
    padding-bottom: 0 !important;
  }
  .single-post__title {
    font-size: 1.625rem;
  }
  .single-post__subtitle {
    font-size: 0.9375rem;
    margin-bottom: 1.25rem;
  }
  .single-post__image {
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}
.single-post__image img {
    max-height: 280px;
  }
  .single-post__content {
    font-size: 0.9375rem;
  }
  .single-post__content h2 {
    font-size: 1.375rem;
  }
  .single-post__content h3 {
    font-size: 1.125rem;
  }
  .single-post__footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
  }
  .keep-reading {
    padding: 2rem 0;
    margin-top: 1rem;
  }
  .keep-reading__title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  .single-post__content img {
    margin: 0.5rem 0;
  }
}