/* News List Page Styles */

/* News List Section */
.news-list-section {
  background-color: #FAFAFA;
  min-height: 60vh;
}

/* Category Tags Wrapper */
.news__tagsWrapper {
  margin-bottom: 60px;
}

/* News List Grid */
.news-list__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 60px;
}

@media (min-width: 768px) {
  .news-list__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (min-width: 1024px) {
  .news-list__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}

/* News Card */
.news-list__card {
  display: block;
  background: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

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

/* Card Image */
.news-list__card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #EEEEEE;
}

.news-list__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-list__card:hover .news-list__card-image img {
  transform: scale(1.05);
}

.news-list__card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #F5F5F5;
  color: #999999;
  font-size: 0.875rem;
  font-family: 'Noto Sans JP', sans-serif;
}

/* Card Content */
.news-list__card-content {
  padding: 24px;
}

/* Card Meta */
.news-list__card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.news-list__card-date {
  font-size: 0.75rem;
  color: var(--text-secondary, #757575);
  font-family: 'Noto Sans JP', sans-serif;
}

.news-list__card-category {
  display: inline-block;
  padding: 4px 12px;
  background-color: var(--primary-green, #4CAF50);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: 12px;
  font-family: 'Noto Sans JP', sans-serif;
}

/* Card Title */
.news-list__card-title {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-primary, #333333);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
  font-family: 'Noto Sans JP', sans-serif;
}

.news-list__card:hover .news-list__card-title {
  color: var(--primary-green, #4CAF50);
}

/* Card Excerpt */
.news-list__card-excerpt {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-secondary, #757575);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: 'Noto Sans JP', sans-serif;
}

/* Load More Button */
.news-list__more {
  text-align: center;
  margin-top: 60px;
}

/* Reuse existing button styles from main style.css */
.news-list__more .button {
  min-width: 200px;
}

/* Animation for new items */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.news-list__card {
  animation: fadeInUp 0.3s ease forwards;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 24px;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 32px;
  }
}

