/* XShop Medico Blog Styles */

/* Common Blog Styles */
.xpost-item {
  transition: all 0.3s ease;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
}

.xpost-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.entry-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.entry-title a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.entry-title a:hover {
  color: #02b290;
  text-decoration: none;
}

.ghead-meta {
  display: block;
  margin-bottom: 1.2rem;
  font-size: 0.85rem;
  color: #777;
}

.ghead-meta a {
  color: #02b290;
  text-decoration: none;
}

.xshop-readmore {
  display: inline-block;
  margin-top: 15px;
  color: #02b290;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.xshop-readmore:hover {
  color: #018e73;
  text-decoration: none;
  transform: translateX(5px);
}

/* Grid Style */
.grid-item {
  margin-bottom: 30px;
}

.xpost-grid-text {
  padding: 20px !important;
}

.grid-head {
  margin-bottom: 15px;
}

/* List Style */
.xshop-medico-list {
  margin-bottom: 30px;
}

.list-pimg {
  position: relative;
  height: 100%;
  min-height: 250px;
  overflow: hidden;
  border-radius: 8px 0 0 8px;
}

.list-pimg img {
  left: 0;
  right: 0;
  min-width: 100%;
  min-height: 100%;
  position: absolute;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.list-pimg:hover img {
  transform: scale(1.05);
}

/* Classic Style */
.classic-style .xpost-item {
  border-radius: 8px;
  overflow: hidden;
}

.classic-style .entry-content {
  padding: 0 20px 20px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .list-pimg {
    min-height: 200px;
    border-radius: 8px 8px 0 0;
  }
  
  .xpost-grid-text {
    padding: 15px !important;
  }
  
  .entry-title {
    font-size: 1.3rem;
  }
}