:root {
  --clip-img: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}
.title h1 {
  font-size: clamp(3rem, 2.7273rem + 1.0909vw, 3.6rem);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(150px);
}
.featured-image {
  position: relative;
}
.featured-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(36, 64, 122);
  clip-path: var(--clip-img);
  border-radius: 16px;
}
.featured-image img {
  max-height: 400px;
  object-fit: cover;
  object-position: center center;
  border-radius: 16px;
  /* clip-path: var(--clip-img); */
}
.post-content {
  margin-top: 40px;
}
.post-content p {
  margin-bottom: 10px;
}
.post-content h2,
.post-content h3,
.post-content h4 {
  margin-top: 20px;
}

.breadcrumbs {
  font-size: 14px;
  color: #666;
}

.post-navigation-grid {
  display: flex;
  gap: 40px;
  margin: 60px 0;
  padding: 30px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.post-navigation-grid .nav-item {
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 50%;
}

.post-navigation-grid .nav-item:hover {
  transform: translateY(-3px);
}

.post-navigation-grid .nav-thumb img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.post-navigation-grid .nav-content .nav-label {
  font-size: 14px;
  color: #666;
  display: block;
  margin-bottom: 5px;
}

.post-navigation-grid .nav-content .nav-title {
  font-size: 18px;
  font-weight: 600;
  color: #0d0d0d;
  line-height: 1.3;
}

.post-navigation-grid .prev-article {
  text-align: left;
}

.post-navigation-grid .next-article {
  text-align: right;
  flex-direction: row-reverse;
  margin-left: auto;
}

.blog-list-grid img {
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.blog-list-grid .item {
  padding: 20px;
  padding-left: 5px;
  border: 1px solid #eee;
  border-radius: 8px;
}

.blog-list-grid .item h2 {
  font-size: clamp(1.25rem, 1.1364rem + 0.4545vw, 1.5rem);
}

.blog-list-grid .post-thumb {
  overflow: hidden;
  border-radius: 8px;
}

.blog-list-grid .post-thumb img {
  overflow: hidden;
  transition: transform 0.3s ease;
}

.blog-list-grid .item:hover .post-thumb img {
  transform: scale(1.1);
}

@media (max-width: 992px) {
  .blog-list-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    row-gap: 20px;
    column-gap: 20px;
  }
  .blog-list-grid img {
    height: 250px;
  }
  .max-md-align-items-center {
    align-items: center;
  }
}

@media (max-width: 768px) {
  .post-navigation-grid {
    flex-direction: column;
  }
  .post-navigation-grid .nav-item {
    width: 100%;
  }
  .post-navigation-grid .next-article {
    margin-left: 0;
  }
  .featured-image img {
    max-height: 250px;
  }
  .blog-list-grid img {
    height: 200px;
  }
}
