/* General Section */
.zx7-articles {
  padding: 60px 20px;
  
}

/* Grid Layout */
.zx7-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1200px;

  
  margin: 0 auto;
}
.tem img{
  border-radius: 12px;
}

/* Card Styling */
.zx7-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background-color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  

}

.zx7-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

/* Image */
.zx7-image-container {
  position: relative;
  width: 100%;

  overflow: hidden;
}

.zx7-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Content over Image */
.zx7-content {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  color: #fff;
  
}

/* Title */
.zx7-content h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0 0 8px 0;
}

/* Paragraph */
.zx7-content p {
  font-size: 0.95rem;
  line-height: 1.4;
  margin-bottom: 12px;
}

/* Button */
.zx7-readmore-btn {
  padding: 8px 16px;
  font-size: 0.9rem;
  background: #ffffff;
  color: #333;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s ease;
}

.zx7-readmore-btn:hover {
  background: #f0f0f0;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
 

  .zx7-content {
    padding: 16px;
  }
}
