.news-detail-page {
  min-height: 100vh;
  margin: 0;
  color: #222;
  background: #f2f2f2;
}

.news-detail-header {
  padding: 20px;
  text-align: center;
  background: #171717;
}

.news-detail-header img {
  width: min(240px, 60vw);
  height: auto;
}

.news-detail {
  width: min(900px, calc(100% - 32px));
  margin: 40px auto 80px;
  padding: clamp(24px, 5vw, 56px);
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.news-detail__label {
  margin: 0 0 8px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.news-detail__date {
  color: #666;
}

.news-detail h1 {
  margin: 12px 0 32px;
  font-size: clamp(1.6rem, 5vw, 2.5rem);
  line-height: 1.4;
}

.news-detail__image {
  margin: 0 0 32px;
  text-align: center;
}

.news-detail__image img {
  width: auto;
  max-width: 100%;
  height: auto;
}

.news-detail__body {
  font-size: 1rem;
  line-height: 2;
}

.news-detail__body a,
.news-detail__body a:visited {
  color: #06c;
  text-decoration: underline;
}

.news-detail__body a:hover {
  color: #039;
}

.news-detail__youtube {
  position: relative;
  width: 100%;
  margin-top: 32px;
  padding-top: 56.25%;
}

.news-detail__youtube iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.news-detail__back {
  margin: 48px 0 0;
  text-align: center;
}

.news-detail__back a {
  display: inline-block;
  padding: 12px 32px;
  color: #fff;
  text-decoration: none;
  background: #222;
}

.news-list-page {
  width: min(1180px, calc(100% - 32px));
  margin: 48px auto 80px;
}

.news-list-page__heading {
  margin-bottom: 36px;
  padding-top: 32px;
  text-align: center;
}

.news-list-page__heading span {
  font-weight: 700;
}

.news-list-page__heading h1 {
  margin: 4px 0 0;
  font-size: clamp(2rem, 7vw, 4rem);
  letter-spacing: 0.08em;
}

.news-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.news-list-card {
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

.news-list-card a {
  display: block;
  height: 100%;
  color: #222;
  text-decoration: none;
}

.news-list-card__image img {
  display: block;
  width: 100%;
  aspect-ratio: 1.4 / 1;
  object-fit: contain;
  background: #e5e5e5;
}

.news-list-card__content {
  padding: 20px;
}

.news-list-card time {
  color: #666;
  font-size: 0.9rem;
}

.news-list-card h2 {
  margin: 8px 0 24px;
  font-size: 1.15rem;
  line-height: 1.5;
}

.news-list-card__more {
  font-weight: 900;
  letter-spacing: 0.1em;
}

.news-list-empty {
  padding: 60px 20px;
  text-align: center;
  background: #fff;
}

.news-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 48px;
}

.news-pagination a,
.news-pagination span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #222;
  text-decoration: none;
  background: #fff;
}

.news-pagination span {
  color: #fff;
  background: #222;
}

.latest-section__more {
  margin: 28px 0 0;
  text-align: center;
}

.latest-section__more a {
  display: inline-block;
  padding: 12px 36px;
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-decoration: none;
  background: #222;
}

@media (max-width: 768px) {
  .news-list-page {
    margin-top: 32px;
  }

  .news-list-page__heading {
    padding-top: 24px;
  }

  .news-list-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
