.ms-news-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 0 40px;
}

.ms-news-heading {
  margin: 0 0 24px;
  color: #b71c1c;
  line-height: 1.2;
}

.ms-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.ms-news-card {
  background: linear-gradient(to bottom, #fffef9, #ffffff);
  border: 1px solid #f0e3b2;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.ms-news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.ms-news-thumb {
  display: block;
  overflow: hidden;
}

.ms-news-thumb img {
  display: block;
  width: 100%;
  height: 203px;
  object-fit: cover;
  object-position: center center;
}

@media screen and (max-width: 800px) {
  .ms-news-thumb img {
    height: 180px;
  }
}

@media screen and (max-width: 480px) {
  .ms-news-thumb img {
    height: 160px;
  }
}

.ms-news-card-inner {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ms-news-title {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.2;
  color: #111;
}

.ms-news-title a {
  color: inherit;
  text-decoration: none;
}

.ms-news-title a:hover {
  color: #b71c1c;
}

.ms-news-excerpt {
  color: #333;
  margin-bottom: 18px;
  line-height: 1.7;
}

.ms-news-actions {
  margin-top: auto;
}

.ms-news-btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  color: #111;
  background: linear-gradient(135deg, #f2c94c, #e0b100);
  border: 1px solid #d4a300;
  transition: all 0.2s ease;
}

.ms-news-btn:hover {
  background: #fff3c4;
  color: #b71c1c;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ms-news-empty {
  padding: 18px 20px;
  background: #fff8e1;
  border-left: 4px solid #c62828;
  border-radius: 12px;
}

.single-ms_news .entry-content {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.75;
  font-size: 18px;
}

.single-ms_news .entry-content h1,
.single-ms_news .entry-content h2,
.single-ms_news .entry-content h3 {
  color: #b71c1c;
}

@media screen and (max-width: 800px) {
  .ms-news-grid {
    grid-template-columns: 1fr;
  }

  .ms-news-card-inner {
    padding: 18px;
  }

  .single-ms_news .entry-content {
    font-size: 16px;
  }
}

.single-ms_news .entry-image.post-thumbnail {
  display: none;
}
