.page {
  width: 100%;
  overflow-x: hidden;
}

.shell {
  width: min(100%, 1920px);
  margin: 0 auto;
  background: #ffffff;
}

.wrap {
  width: min(calc(100% - 48px), 1716px);
  margin: 0 auto;
}

.projects-hero {
  position: relative;
  height: 350px;
  background: url('/assets/images/project_bg.png') center/cover no-repeat;
}

.projects-hero .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: 50px;
}

.projects-hero h2 {
  max-width: 820px;
  color: #ffffff;
  font-weight: 700;
  font-size: 66px;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.news-list-hero-inner {
  justify-content: center;
  padding-top: 0 !important;
}

.news-list-search {
  width: min(1120px, 100%);
  display: flex;
  gap: 12px;
  align-items: center;
}

.news-list-search input[type='text'] {
  flex: 1;
  height: 46px;
  border: 1px solid #d8dee8;
  border-radius: 24px;
  padding: 0 20px;
  font-size: 14px;
  color: #334155;
  background: #fff;
}

.news-list-search button {
  height: 40px;
  min-width: 90px;
  border: none;
  border-radius: 20px;
  background: #00538e;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.news-list-page {
  padding: 42px 0 96px;
  background: #fafafa;
}

.news-list-page .wrap {
  width: min(calc(100% - 120px), 1712px);
}

.news-list-breadcrumb {
  color: #999;
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.news-list-breadcrumb a {
  color: #999;
  text-decoration: none;
}

.news-list-breadcrumb span {
  margin: 0 6px;
}

.news-list-items {
  border-top: 1px solid #e4e4e4;
  background: #fff;
}

.news-list-item {
  display: grid;
  grid-template-columns: 88px 2px 1fr;
  column-gap: 18px;
  padding: 16px 0;
  min-height: 99px;
  border-bottom: 1px solid #e4e4e4;
}

.news-list-divider {
  align-self: center;
  justify-self: center;
  width: 2px;
  height: 15px;
  background: #00538e;
}

.news-list-date {
  text-align: center;
  color: #3d3d3d;
  padding-top: 2px;
}

.news-list-date strong {
  display: block;
  font-size: 24px;
  line-height: 1.1;
  color: #3d3d3d;
  letter-spacing: 0.02em;
}

.news-list-date span {
  display: block;
  margin-top: 5px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.news-list-content h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
  color: #3d3d3d;
}

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

.news-list-content h3 a:hover {
  color: #0a5cb8;
}

.news-list-content p {
  margin: 6px 0 0 15px;
  font-size: 16px;
  line-height: 1.55;
  color: #3d3d3d;
  opacity: 0.7;
}

.news-list-empty {
  padding: 32px 0;
  color: #64748b;
  font-size: 16px;
  line-height: 1.6;
}

.news-detail-wrap {
  padding: 40px 0 72px;
}

.news-detail-breadcrumb {
  font-size: 14px;
  color: #888;
  margin-bottom: 28px;
}

.news-detail-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.news-detail-breadcrumb span {
  color: #00538e;
}

.news-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 36px;
  align-items: start;
}

.news-detail-article {
  background: #fff;
  padding: 40px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.news-detail-article h1 {
  margin: 0 0 20px;
  color: #00538e;
  text-align: center;
  font-size: 36px;
  line-height: 1.35;
}

.news-detail-meta {
  text-align: center;
  color: #888;
  font-size: 14px;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.news-detail-body {
  font-size: 16px;
  line-height: 2;
  color: #333;
}

.news-detail-sidebar h3 {
  margin: 0;
  padding: 14px 18px;
  color: #fff;
  background: #00538e;
  font-size: 18px;
  line-height: 1.2;
}

.news-detail-latest-list {
  background: #fff;
  padding: 6px 0;
}

.news-detail-latest-item {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #eef2f7;
}

.news-detail-latest-item:last-child {
  border-bottom: 0;
}

.news-detail-latest-thumb img {
  width: 118px;
  height: 88px;
  object-fit: cover;
  display: block;
}

.news-detail-latest-content h4 {
  margin: 0;
  color: #00538e;
  font-size: 16px;
  line-height: 1.35;
}

.news-detail-latest-content h4 a {
  color: inherit;
  text-decoration: none;
}

.news-detail-latest-content h4 a:hover {
  text-decoration: underline;
}

.news-detail-latest-content p {
  margin: 6px 0 0;
  color: #00538e;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
}

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

.news-list-pagination a {
  width: 42px;
  height: 42px;
  border-radius: 2px;
  border: 1px solid #e4e4e4;
  background: #fff;
  color: #26af74;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 18px;
  line-height: 1;
  transition: all 0.2s ease;
}

.news-list-pagination a:hover {
  border-color: #26af74;
}

.news-list-pagination a.is-active {
  background: #00538e;
  border-color: #00538e;
  color: #fff;
}

.news-list-pagination a.is-disabled,
.news-list-pagination a.is-ellipsis {
  color: #9ca3af;
  border-color: #e5e7eb;
  cursor: default;
  pointer-events: none;
}

.outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 300px;
  min-height: 60px;
  padding: 10px 32px;
  border: 4px solid #00538e;
  background: #fff;
  color: #00538e;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

@media (max-width: 1080px) {
  .projects-hero {
    height: 520px;
  }

  .projects-hero h2 {
    font-size: 48px;
    line-height: 1.15;
  }

  .projects-hero .wrap {
    padding-top: 92px;
  }

  .news-list-content h3 {
    font-size: 20px;
  }

  .news-list-content p {
    font-size: 15px;
    margin-left: 15px;
  }

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

  .news-detail-sidebar h3 {
    font-size: 24px;
  }

  .news-detail-latest-content h4 {
    font-size: 18px;
  }

  .news-detail-latest-content p {
    font-size: 14px;
  }

  .news-list-pagination {
    gap: 8px;
  }

  .news-list-pagination a {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .news-list-search {
    gap: 8px;
  }

  .news-list-search input[type='text'] {
    height: 40px;
  }

  .news-list-search button {
    min-width: 72px;
    height: 34px;
  }

  .news-list-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 18px 0;
  }

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

  .news-detail-article h1 {
    font-size: 28px;
  }

  .news-detail-latest-item {
    grid-template-columns: 90px 1fr;
    gap: 12px;
  }

  .news-detail-latest-thumb img {
    width: 90px;
    height: 68px;
  }

  .news-list-divider {
    display: none;
  }

  .news-list-date {
    text-align: left;
    display: flex;
    align-items: baseline;
    gap: 8px;
  }

  .news-list-date strong {
    font-size: 20px;
  }

  .news-list-date span {
    margin-top: 0;
  }
}
