.mtc-news-section {
  padding: 60px 20px;
  /*background: linear-gradient(135deg, #00e7c5, #00b4ff);*/
   background-image: url('/public/images/backmtc.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.mtc-news-grid {
  max-width: 1300px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Card */
.mtc-news-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  height: 300px;
  background: #000;
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease;
}

.mtc-news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,.25);
}

.mtc-news-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay */
.mtc-news-overlay {
  position: absolute;
  inset: 0;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(0,0,0,.75), transparent 55%);
  color: #fff;
}

.mtc-news-tag {
  font-size: 14px;
  font-weight: 600;
  color: #19f2c2;
  margin-bottom: 6px;
}

.mtc-news-date {
  font-size: 13px;
  opacity: .9;
  margin-bottom: 10px;
}

.mtc-news-overlay h3 {
  font-size: 22px;
  line-height: 1.3;
  margin: 0;
  color:white;
}

/* Tablet */
@media (max-width: 1024px) {
  .mtc-news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mtc-news-card {
    height: 380px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .mtc-news-grid {
    grid-template-columns: 1fr;
  }
  .mtc-news-card {
    height: 320px;
  }
  .mtc-news-overlay h3 {
    font-size: 18px;
  }
}
