.featured-image img, 
.post-slider img,
.post-card img,
.card-img,
.card-img-top,
.post-thumb,
.post-slider .swiper-slide img,
.rounded img,
.swiper img,
.card a img,
.card-post img,
article img,
.card img,
img[alt="post-thumb"] {
  height: 400px !important;
  object-fit: cover !important;
  width: 100% !important;
  display: block !important;
  max-height: 400px !important;
}

/* Container fixes for consistent card heights */
.post-slider, 
.swiper.post-slider,
.card .post-slider,
.post-card .post-slider,
.featured-image,
.card-image-container,
.card-img-container,
.post-thumb-container {
  height: 400px !important;
  overflow: hidden !important;
  max-height: 400px !important;
}

/* Fix for card consistency */
.card.post-card {
  display: flex !important;
  flex-direction: column !important;
}

.card.post-card .card-body {
  flex: 1 !important;
}

/* Specific fix for post.html */
.post-card .post-slider,
.post-card .post-slider.slider-sm,
.post-card .swiper.post-slider,
.post-card .swiper-wrapper,
.post-card .swiper-slide {
  height: 300px !important;
  max-height: 300px !important;
  overflow: hidden !important;
}

.post-card img {
  height: 300px !important;
  max-height: 300px !important;
  object-fit: cover !important;
  width: 100% !important;
  display: block !important;
}
