:root {
  --news-title-color: #3d3d3d;
  --news-subtitle-color: #a5a5a5;
  --news-text-color: #555555;
  --news-line-color: #ededed;
  --news-surface: #ffffff;
  --news-surface-soft: #fff6ec;
  --news-surface-accent: #ffcb8c;
}

.news-page {
  background: #ffffff;
}

.news-hero {
  background: url("../image/news/newsBanner.png") center top / cover no-repeat;
}

.news-hero-inner {
  min-height: 750px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: 132px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-shadow: 0 6px 18px rgba(0, 11, 49, 0.4);
}

.news-featured-section {
  padding: 114px 0 62px;
}

.news-heading {
  margin-bottom: 0;
}

.news-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 72px;
}

.news-card {
  background: var(--news-surface);
  box-shadow: 0 16px 40px rgba(34, 58, 109, 0.08);
}

.news-card-warm {
  background: var(--news-surface-soft);
}

.news-card-accent {
  background: var(--news-surface-accent);
}

.news-card-link {
  display: block;
  height: 100%;
}

.news-card-image img {
  aspect-ratio: 42 / 25;
  object-fit: cover;
}

.news-card-body {
  position: relative;
  min-height: 342px;
  padding: 20px 26px 72px;
}

.news-card-date {
  display: inline-flex;
  align-items: center;
  min-width: 108px;
  height: 24px;
  padding: 0 10px 0 8px;
  border: 1px solid currentColor;
  color: #ff9d2a;
  font-size: 14px;
  line-height: 1;
  clip-path: polygon(0 0, 100% 0, 94% 100%, 0 100%);
}

.news-card h3 {
  margin: 16px 0 18px;
  color: var(--news-title-color);
  font-size: 20px;
  line-height: 1.6;
  font-weight: 700;
}

.news-card p {
  margin: 0;
  color: var(--news-text-color);
  font-size: 14px;
  line-height: 2;
}

.news-card-arrow {
  position: absolute;
  right: 22px;
  bottom: 18px;
  color: #ff9d2a;
  font-size: 22px;
  line-height: 1;
}

.news-list-section {
  padding: 0 0 124px;
}

.news-list {
  border-top: 1px solid var(--news-line-color);
}

.news-list-item {
  border-bottom: 1px solid var(--news-line-color);
}

.news-list-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: start;
  padding: 28px 0 24px;
}

.news-list-copy h3 {
  margin: 0;
  color: #4a4a4a;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 700;
}

.news-list-copy p {
  margin: 14px 0 0;
  color: #9d9d9d;
  font-size: 14px;
  line-height: 1.9;
}

.news-list-time {
  padding-top: 4px;
  color: #a8a8a8;
  font-size: 14px;
  line-height: 1.6;
  white-space: nowrap;
}

.news-detail-section {
  padding: 108px 0 260px;
}

.news-detail-container {
  max-width: 1120px;
}

.news-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8a8a8a;
  font-size: 14px;
  line-height: 1.6;
}

.news-breadcrumb a:hover {
  color: var(--color-primary);
}

.news-detail-article {
  margin-top: 66px;
}

.news-detail-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--news-line-color);
}

.news-detail-header h2 {
  margin: 0;
  color: var(--news-title-color);
  font-size: 24px;
  line-height: 1.5;
  font-weight: 700;
}

.news-detail-time {
  color: #b0b0b0;
  font-size: 14px;
  line-height: 1.6;
  white-space: nowrap;
}

.news-detail-content {
  padding: 28px 0 30px;
  border-bottom: 1px solid var(--news-line-color);
}

.news-detail-content p {
  margin: 0 0 12px;
  color: #666666;
  font-size: 14px;
  line-height: 2;
  text-align: justify;
}

.news-detail-content p:last-child {
  margin-bottom: 0;
}

.news-detail-pagination {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  padding-top: 28px;
  color: #666666;
  font-size: 14px;
  line-height: 1.8;
}

.news-detail-next {
  text-align: right;
}

@media (max-width: 1280px) {
  .news-hero-inner {
    min-height: 620px;
  }

  .news-hero h1 {
    font-size: 100px;
  }

  .news-featured-grid {
    gap: 22px;
  }
}

@media (max-width: 1080px) {
  .news-hero-inner {
    min-height: 500px;
  }

  .news-hero h1 {
    font-size: 74px;
  }

  .news-featured-section {
    padding-top: 84px;
  }

  .news-featured-grid {
    grid-template-columns: 1fr;
  }

  .news-card-body {
    min-height: auto;
  }

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

  .news-detail-section {
    padding: 72px 0 180px;
  }

  .news-detail-header,
  .news-detail-pagination {
    grid-template-columns: 1fr;
  }

  .news-detail-next {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .news-hero-inner {
    min-height: 300px;
  }

  .news-hero h1 {
    font-size: 44px;
    letter-spacing: 0.04em;
  }

  .news-featured-section {
    padding: 56px 0 36px;
  }

  .news-featured-grid {
    margin-top: 40px;
  }

  .news-card-body {
    padding: 18px 18px 60px;
  }

  .news-card h3 {
    font-size: 18px;
  }

  .news-list-section {
    padding-bottom: 72px;
  }

  .news-list-link {
    padding: 18px 0;
  }

  .news-list-copy h3 {
    font-size: 17px;
  }

  .news-list-copy p,
  .news-list-time {
    font-size: 13px;
  }

  .news-detail-section {
    padding: 48px 0 96px;
  }

  .news-breadcrumb {
    flex-wrap: wrap;
    gap: 6px;
    font-size: 13px;
  }

  .news-detail-article {
    margin-top: 32px;
  }

  .news-detail-header {
    gap: 12px;
    padding-bottom: 18px;
  }

  .news-detail-header h2 {
    font-size: 20px;
  }

  .news-detail-content {
    padding: 18px 0 22px;
  }

  .news-detail-content p,
  .news-detail-pagination,
  .news-detail-time {
    font-size: 13px;
  }
}
