/* ========================================
   Related Posts Styles
   ======================================== */

.montor-related-posts {
  position: relative;
  width: 100% !important;
  margin: 0 !important;
  background-color: #F8FAFB;
  padding: 80px 40px;
}

.related-posts-container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

/* Section Title */
.section-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 1.2;
  color: #023047;
  margin: 0 0 60px 0;
  text-align: left;
}

/* Posts Grid */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

/* Post Card */
.post-card {
  background-color: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: row;
  height: 100%;
  box-shadow: 0 2px 8px rgba(2, 48, 71, 0.06);
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(2, 48, 71, 0.12);
}

/* Post Image */
.post-image {
  width: 45%;
  min-height: 280px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

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

/* Post Content */
.post-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: center;
}

.post-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.3;
  color: #023047;
  margin: 0 0 12px 0;
  transition: color 0.3s ease;
}

.post-card:hover .post-title {
  color: #019EB2;
}

.post-description {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
  color: #89ADB1;
  margin: 0 0 20px 0;
}

/* Post Link */
.post-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #019EB2;
  text-decoration: none;
  transition: all 0.3s ease;
  width: fit-content;
}

.post-link svg {
  width: 20px;
  height: 18px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.post-link:hover {
  color: #023047;
  gap: 14px;
}

.post-link:hover svg {
  transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .section-title {
    font-size: 40px;
    margin-bottom: 48px;
  }

  .posts-grid {
    gap: 32px;
  }

  .post-image {
    height: 240px;
  }

  .post-content {
    padding: 24px;
  }

  .post-title {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .montor-related-posts {
    padding: 60px 20px;
  }

  .section-title {
    font-size: 32px;
    margin-bottom: 40px;
  }

  .posts-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .post-card {
    flex-direction: column;
  }

  .post-image {
    width: 100%;
    height: 220px;
    min-height: 220px;
  }

  .post-content {
    padding: 24px;
  }

  .post-title {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .post-description {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .post-link {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .montor-related-posts {
    padding: 48px 16px;
  }

  .section-title {
    font-size: 28px;
    margin-bottom: 32px;
  }

  .post-card {
    flex-direction: column;
  }

  .post-image {
    width: 100%;
    height: 200px;
    min-height: 200px;
  }

  .post-content {
    padding: 20px;
  }

  .post-title {
    font-size: 18px;
  }

  .post-description {
    font-size: 13px;
  }

  .post-link {
    font-size: 13px;
  }

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


