@charset "utf-8";

.news-page-section {
  background: linear-gradient(180deg, #fffdf3 0%, #ffffff 45%, #f7f7f7 100%);
  padding: 72px 0;
}

.news-page-container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
}

.news-page-heading {
  text-align: center;
  margin-bottom: 48px;
}

.news-page-label {
  display: inline-block;
  margin-bottom: 10px;
  color: #eab308;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.news-page-heading h1 {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin: 0;
  color: #111827;
}

.news-page-lead {
  margin-top: 14px;
  color: #6b7280;
  font-size: 15px;
  line-height: 1.8;
}

#news-list {
  display: grid;
  gap: 24px;
}

.news-item {
  position: relative;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-left: 6px solid #facc15;
  border-radius: 22px;
  padding: 30px;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.news-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.10);
  border-color: #facc15;
}

.news-item:target {
  border-color: #facc15;
  box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.28), 0 18px 42px rgba(17, 24, 39, 0.10);
}

.news-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.news-category {
  display: inline-block;
  padding: 5px 13px;
  background: #facc15;
  border-radius: 999px;
  color: #111827;
  font-size: 13px;
  font-weight: 800;
}

.news-date {
  color: #6b7280;
  font-size: 14px;
  font-weight: 600;
}

.news-title {
  margin: 0 0 16px;
  color: #111827;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.45;
}

.news-body {
  margin: 0;
  color: #374151;
  font-size: 16px;
  line-height: 1.9;
}

.news-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin-top: 22px;
  border-radius: 16px;
}

.news-link-wrap {
  margin-top: 22px;
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #111827;
  background: #facc15;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.news-link:hover {
  background: #fde047;
  transform: translateX(3px);
}

.news-link::after {
  content: "→";
}

.news-empty {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 28px;
  color: #6b7280;
  text-align: center;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.06);
}

@media (max-width: 640px) {
  .news-page-section {
    padding: 52px 0;
  }

  .news-page-heading h1 {
    font-size: 32px;
  }

  .news-item {
    padding: 24px 20px;
    border-radius: 18px;
  }

  .news-title {
    font-size: 21px;
  }
}
.news-skeleton {
  height: 140px;
  margin-bottom: 24px;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  background: linear-gradient(
    90deg,
    #f3f4f6 25%,
    #ffffff 50%,
    #f3f4f6 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s linear infinite;
}

@keyframes shimmer {
  from {
    background-position: 200% 0;
  }

  to {
    background-position: -200% 0;
  }
}

.news-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.news-page-button {
  width: 40px;
  height: 40px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

.news-page-button:hover,
.news-page-button.is-active {
  background: #facc15;
  border-color: #facc15;
  color: #000000;
}