.news-card {
  margin: 20px 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border, rgba(0, 0, 0, 0.08));
  box-shadow: var(--shadow);
  background: var(--background);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px var(--overlay);
}

.news-card-link {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px;
  color: var(--text);
  text-align: left;
  text-decoration: none;
}

.news-card-link:hover {
  color: var(--primary);
}

.news-image {
  width: 160px;
  height: 100px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border, rgba(0, 0, 0, 0.08));
}

.news-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  text-align: left;
}

.news-info-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  order: 1;
}

.news-title {
  font-family: var(--heading);
  font-weight: var(--semi-bold);
  font-size: 1.1rem;
}

.news-type {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  max-width: 42%;
  padding: 4px 9px;
  color: #6688a3;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.76rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.03em;
  text-align: center;
  background: #eef5fa;
  border: 1px solid #dceaf3;
  border-radius: 999px;
}

.news-type[data-news-type=academic] {
  color: #8876a6;
  background: #f4f0f9;
  border-color: #e7def1;
}

.news-type[data-news-type=project] {
  color: #668e79;
  background: #eef7f1;
  border-color: #dcece2;
}

.news-type[data-news-type=award] {
  color: #9b8157;
  background: #faf5e9;
  border-color: #eee4cc;
}

.news-type[data-news-type=custom] {
  color: #7d8490;
  background: #f2f3f5;
  border-color: #e2e4e8;
}

.news-date {
  align-self: flex-start;
  order: 2;
  font-size: 0.8rem;
  color: var(--gray);
  text-align: left;
}

.news-summary {
  order: 3;
  margin: 0;
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: left;
}

.news-detail-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.news-detail-date {
  font-size: 0.9rem;
  color: var(--gray);
}

.news-detail-image {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.news-detail-image img {
  max-width: min(100%, 600px);
  max-height: 375px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.news-detail-gallery {
  display: grid;
  grid-template-columns: minmax(0, 820px);
  justify-content: center;
  align-items: stretch;
  gap: 24px;
  margin: 32px auto 0;
}

.news-detail-gallery-item {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--background-alt);
  border: 1px solid var(--border, rgba(0, 0, 0, 0.08));
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.news-detail-gallery-item a {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.news-detail-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 600px) {
  .news-card-link {
    align-items: flex-start;
  }
  .news-image {
    width: 110px;
    height: 80px;
  }
  .news-info-header {
    gap: 10px;
  }
  .news-type {
    max-width: 48%;
    font-size: 0.7rem;
  }
  .news-detail-gallery {
    gap: 16px;
  }
}

/*# sourceMappingURL=news.css.map */