.news {
  padding: 60px 20px;
  margin: auto;
}

.section-title {
  font-size: clamp(40px, 6vw, 4rem);
  text-align: center;
  margin-bottom: 50px;
  color: #594a47;
  font-family: 'Noto Serif Display', serif;
  font-style: italic;
  line-height: 1.1;
  font-weight: 400;
}

.news-hero {
  text-align: center;
  padding: 48px 16px 0;
  margin: 0 auto;
}

.news-hero h1 {
  margin: 0 0 15px;
  text-align: center;
  color: #594a47;
  font-family: 'Noto Serif Display', serif;
  line-height: 1.1;
  font-weight: 400;
  font-size: clamp(35px, 3vw, 46px);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  color: #594a47;
}

.news-item {
  text-align: center;
}

.news-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}

.news-content h3 {
  font-size: 1.2rem;
  margin: 0;
}

.news-content h3 a {
  color: inherit;
  text-decoration: none;
}

.news-content time {
  font-size: 1rem;
  color: #594a47;
  display: block;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 40px 0;
  font-family: inherit;
}

.pagination a,
.pagination span {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  background-color: #fff;
  font-size: 14px;
  transition: all 0.2s ease-in-out;
}

.pagination a:hover {
  background-color: #f5f5f5;
  border-color: #999;
}

.pagination .current {
  background-color: #73876e;
  color: #fff;
  border-color: #73876e;
  font-weight: bold;
  cursor: default;
}

.pagination .dots {
  border: none;
  background: transparent;
  padding: 8px;
  color: #999;
}

.single-news-page {
  padding: 40px 20px;
}

.single-news-page .page-wrapper {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
}

.news-detail h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #594a47;
  line-height: 1.3;
}

.news-detail time {
  display: block;
  font-size: clamp(0.9rem, 2vw, 1rem);
  color: #594a47;
  margin-bottom: 20px;
}

.news-detail img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  margin-bottom: 25px;
}

.news-body {
  font-size: 1rem;
  line-height: 1.7;
  color: #594a47;
}

.news-body p {
  margin-bottom: 1.2em;
}

.news-detail .btn {
  display: inline-block;
  margin-top: 25px;
  padding: 16px 50px;
  background-color: #73876e;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.2s ease-in-out;
  font-size: clamp(18px, 2vw, 20px);
}

.news-detail .btn:hover {
  background-color: #476a58;
}


@media (max-width: 768px) {
  .news {
    padding: 30px 20px;
  }

  .news-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding: 20px;
  }

  .news-item {
    flex: 0 0 100%;
    scroll-snap-align: center;
    min-width: 100%;
    box-sizing: border-box;
  }

  .news-item img {
    max-width: 500px;
    margin: 0 auto;
  }

  .news-grid::-webkit-scrollbar {
    height: 8px;
  }

  .news-grid::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 4px;
  }

  .news-grid::-webkit-scrollbar-track {
    background-color: transparent;
  }

  .news-page .news-grid {
  display: block;
  }

  .news-page .news-item {
    margin-bottom: 30px;
  }
}


