:root {
  --news-title-color: #333333;
  --news-subtitle-color: #a5a5a5;
  --news-text-color: #333333;
  --news-line-color: #ededed;
  --news-surface: #ffffff;
  --news-surface-soft: #fff6ec;
  --news-surface-accent: #ffcb8c;
  --news-hover-shadow: 0 26px 54px rgba(34, 58, 109, 0.16);
  --news-date-color: #FF9114;
  --news-date-fill: rgba(255, 250, 244, 0.96);
}

.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);
  transition: transform 0.28s ease, box-shadow 0.28s ease, background-color 0.28s ease;
}

.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 {
  overflow: hidden;
}

.news-card-image img {
  aspect-ratio: 42 / 25;
  object-fit: cover;
  transition: transform 0.42s ease;
}

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

.news-card-date {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  height: 30px;
  margin-left: -50px;
  padding: 0 38px 0 28px;
  color: var(--news-date-color);
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.06em;
  isolation: isolate;
  z-index: 0;
}

.news-card-date::before,
.news-card-date::after {
  content: "";
  position: absolute;
  clip-path: polygon(0 0, 100% 0, 94% 100%, 0 100%);
  pointer-events: none;
}

.news-card-date::before {
  inset: 0;
  background: var(--news-date-color);
  z-index: -2;
}

.news-card-date::after {
  inset: 2px;
  background: var(--news-date-fill);
  z-index: -1;
}

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

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

.news-card-arrow {
  position: absolute;
  right: 22px;
  bottom: 18px;
  color: var(--color-primary);
  font-size: 22px;
  line-height: 1;
  transition: transform 0.28s ease, color 0.28s ease;
}

.news-card:hover {
  transform: translateY(-10px);
  background: #ffffff;
  box-shadow: var(--news-hover-shadow);
}

.news-card:hover .news-card-image img {
  transform: scale(1.06);
}

.news-card:hover h3 {
  color: var(--color-primary);
}

.news-card:hover .news-card-arrow {
  transform: translateX(6px);
}

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

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

.news-list-item {
  position: relative;
  border-bottom: 1px solid var(--news-line-color);
  transition: background-color 0.28s ease, border-color 0.28s ease;
}

.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: #333333;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 700;
  transition: color 0.24s ease;
}

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

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

.news-list-item:hover {
  background: rgba(255, 145, 20, 0.04);
  border-bottom-color: rgba(255, 145, 20, 0.2);
}

.news-list-item:hover .news-list-copy h3 {
  color: var(--color-primary);
}

.news-list-item:hover .news-list-time {
  color: var(--color-primary-deep);
}

.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-date {
    min-width: 188px;
    height: 46px;
    margin-left: -50px;
    padding: 0 30px 0 20px;
    font-size: 18px;
  }

  .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;
  }
}
