.wp-admin .mof-news-data {
  padding: 20px;
  background-color: #6e6e73;
}

.mof-news-data.mof-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.mof-card-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mof-card-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.mof-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.mof-card-image {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  background: #f5f5f7;
}

.mof-card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.mof-card-item:hover .mof-card-image img {
  transform: scale(1.05);
}

.mof-card-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f5f5f7 0%, #e8e8ed 100%);
}

.mof-card-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mof-card-title {
  font-size: 18px;
  font-weight: 600;
  color: #1d1d1f;
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mof-card-excerpt {
  font-size: 14px;
  color: #6e6e73;
  margin: 0;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.mof-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 8px;
}

.mof-card-date {
  font-size: 14px;
  color: #999;
  margin: 0;
}

.mof-card-footer svg {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.mof-card-item:hover .mof-card-footer svg {
  transform: translateX(4px);
}

/* Tablet: 2 columns */
@media (min-width: 768px) {
  .mof-news-data.mof-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop: 3 columns */
@media (min-width: 1024px) {
  .mof-news-data.mof-card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .mof-card-content {
    padding: 20px;
  }

  .mof-card-title {
    font-size: 20px;
  }
}
