/* Featured Image */
.post-main-image img {
  width: 100%;
  height: 595px;
  object-fit: cover;
  border-radius: 10px;
}

/* Post Content */
.post-description-text {
  text-align: justify;
  line-height: 1.7;
  font-size: 1.05rem;
  color: #333;
}

/* Post Content - Headings */
.post-description-text h1,
.post-description-text h2,
.post-description-text h3,
.post-description-text h4,
.post-description-text h5,
.post-description-text h6 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  line-height: 1.3;
  color: #222;
}

/* Post Content - Paragraphs */
.post-description-text p {
  margin-bottom: 1.25rem;
}

/* Post Content - Images */
.post-description-text img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5rem auto;
  border-radius: 10px;
}

/* Post Content - Lists */
.post-description-text ul,
.post-description-text ol {
  padding-left: 2rem;
  margin-bottom: 1.5rem;
}

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

/* Post Content - Blockquotes */
.post-description-text blockquote {
  border-left: 4px solid #007bff;
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #555;
}

/* Post Content - Links */
.post-description-text a {
  color: #007bff;
  text-decoration: underline;
}

.post-description-text a:hover {
  text-decoration: none;
  color: #0056b3;
}

/* Post Content - Code Blocks */
.post-description-text pre,
.post-description-text code {
  background-color: #f5f5f5;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.95rem;
}

/* Related Posts - Cards */
.related-posts-card-row .card {
  position: relative;
  margin-bottom: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease-in-out;
  background-color: #fff;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.related-posts-card-row .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.related-posts-card-row .card__shadow--1 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s ease-in-out;
  z-index: 1;
}

.related-posts-card-row .card:hover .card__shadow--1 {
  background-color: rgba(0, 0, 0, 0.2);
}

.related-posts-card-row .image__wrapper {
  position: relative;
  overflow: hidden;
}

.related-posts-card-row img.card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.related-posts-card-row img.card-img-top:hover {
  transform: scale(1.05);
}

.related-posts-card-row .card-body {
  padding: 15px;
  position: relative;
  z-index: 2;
  background-color: #f8f9fa;
}

.related-posts-card-row a {
  color: inherit;
  text-decoration: none;
}

.related-posts-card-row a:hover {
  color: inherit;
}

.related-posts-card-row h3.card-title {
  font-size: 1.15em;
  font-weight: 600;
  color: #333;
  margin-top: 10px;
  margin-bottom: 10px;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.related-posts-card-row h3.card-title:hover {
  color: #007bff;
}

.related-posts-card-row p.card-description {
  font-size: 0.9em;
  color: #555;
  line-height: 1.5;
  margin-bottom: 0;
}
