body.page-news {
  --news-hero-image: url("../../image/newBanner.png");
  --news-hero-height: var(--subpage-banner-image-min-height);
  --news-bg: #fbfbfc;
  --news-panel-bg: #f4f8fd;
  --news-item-bg: #ffffff;
  --news-line: rgba(15, 23, 42, 0.09);
  --news-text: rgba(15, 23, 42, 0.9);
  --news-muted: rgba(15, 23, 42, 0.58);
  --news-pagination-text: rgba(15, 23, 42, 0.58);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.page-news main {
  flex: 1 0 auto;
  min-width: 0;
}

body.page-news #siteFooter {
  margin-top: auto;
}

body.page-news
  .site-header:not(.is-solid):not(.is-menu-active):not(.is-nav-open):not(
    .is-focus-active
  ) {
  background: transparent;
  border-bottom-color: transparent;
}

body.page-news .news-hero {
  position: relative;
  min-height: var(--news-hero-height);
  padding: 0;
  overflow: hidden;
}

body.page-news .news-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(7, 22, 54, 0.7) 0%,
      rgba(8, 24, 58, 0.48) 34%,
      rgba(7, 20, 47, 0.22) 60%,
      rgba(5, 14, 30, 0.3) 100%
    ),
    var(--news-hero-image);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 56%;
}

body.page-news .news-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(5, 14, 34, 0.1) 0%,
      rgba(5, 14, 34, 0.24) 70%,
      rgba(5, 14, 34, 0.4) 100%
    ),
    linear-gradient(
      90deg,
      rgba(var(--brand-rgb), 0.18) 0%,
      rgba(var(--brand-rgb), 0.04) 36%,
      rgba(var(--brand-rgb), 0) 64%
    );
}

body.page-news .news-hero-inner {
  position: relative;
  z-index: 1;
  min-height: var(--news-hero-height);
  display: grid;
  place-items: center;
}

body.page-news .news-hero-copy {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  isolation: isolate;
  width: 100%;
  max-width: min(100%, 720px);
  margin: 0 auto;
  text-align: center;
}

body.page-news .news-hero-copy > * {
  position: relative;
  z-index: 1;
}

body.page-news .news-hero-copy h1 {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.96);
  font-size: var(--subpage-hero-title-size);
  line-height: 1.06;
  letter-spacing: -0.015em;
  font-weight: 700;
  text-wrap: balance;
  text-shadow: 0 12px 28px rgba(4, 10, 18, 0.22);
}

body.page-news .news-hero-copy p {
  margin: 0;
  max-width: 33em;
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--subpage-hero-desc-size);
  line-height: var(--subpage-hero-desc-line);
  text-shadow: 0 10px 20px rgba(4, 10, 18, 0.18);
  text-wrap: balance;
}

body.page-news .content-wrap {
  background: var(--news-bg);
  box-shadow: none;
}

body.page-news .news-section {
  padding-top: 52px;
  padding-bottom: 80px;
}

body.page-news .news-section > .container {
  width: min(var(--container), calc(100% - 40px));
}

body.page-news .news-panel {
  border: 1px solid rgba(15, 23, 42, 0.025);
  border-radius: 0;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.012);
  overflow: hidden;
  padding: 0;
}

body.page-news .news-list {
  display: flex;
  flex-direction: column;
  padding: 0 24px;
}

body.page-news .news-item {
  padding: 24px 0;
  background: transparent;
  border-bottom: 1px solid var(--news-line);
}

body.page-news .news-item + .news-item {
  margin-top: 0;
}

body.page-news .news-item:last-child {
  padding-bottom: 24px;
  border-bottom: 0;
}

body.page-news .news-item-link {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
  color: inherit;
  text-decoration: none;
}

body.page-news .news-item-link:hover,
body.page-news .news-item-link:active {
  opacity: 1;
}

body.page-news .news-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

body.page-news .news-cover {
  width: 300px;
  height: 168px;
  border-radius: 0;
  overflow: hidden;
  border: 0;
  background: var(--news-panel-bg);
}

body.page-news .news-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.page-news .news-date {
  margin: auto 0 0;
  padding-top: 14px;
  color: var(--news-muted);
  font-size: 13px;
  line-height: 1.45;
}

body.page-news .news-title {
  margin: 0;
  color: rgba(15, 23, 42, 0.84);
  font-size: 16px;
  line-height: 1.42;
  font-weight: 500;
  transition: color 160ms ease;
}

body.page-news .news-item-link:hover .news-title,
body.page-news .news-item-link:focus-visible .news-title {
  color: rgba(var(--brand-rgb), 0.86);
}

body.page-news .news-summary {
  margin: 8px 0 0;
  color: rgba(15, 23, 42, 0.68);
  font-size: 13px;
  line-height: 1.72;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.page-news .news-item-link:focus-visible {
  outline: none;
}

body.page-news .news-item-link:focus-visible .news-cover {
  box-shadow: none;
}

body.page-news .news-empty {
  margin: 0;
  padding: 22px 4px 8px;
  color: var(--news-muted);
  font-size: 15px;
  line-height: 1.8;
  text-align: center;
}

body.page-news .news-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 0;
  padding: 24px 24px 32px;
  border-top: 1px solid var(--news-line);
}

body.page-news .news-pagination.is-hidden {
  display: none;
}

body.page-news .news-page-btn,
body.page-news .news-page-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 32px;
  padding: 0 12px;
  border: 0;
  background: rgba(15, 23, 42, 0.04);
  color: var(--news-pagination-text);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

body.page-news .news-page-btn {
  cursor: pointer;
  transition:
    background-color 180ms ease,
    color 180ms ease;
}

body.page-news .news-page-btn[data-nav] {
  position: relative;
  font-size: 0;
  padding: 0;
  min-width: 31px;
  height: 31px;
  background: rgba(15, 23, 42, 0.03);
}

body.page-news .news-page-btn[data-nav]::before {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 1.5px solid rgba(15, 23, 42, 0.36);
  border-right: 1.5px solid rgba(15, 23, 42, 0.36);
  transform: rotate(225deg);
  transition: border-color 180ms ease;
}

body.page-news .news-page-btn[data-nav="next"]::before {
  transform: rotate(45deg);
}

body.page-news .news-page-btn:hover,
body.page-news .news-page-btn:focus-visible {
  background: rgba(var(--brand-rgb), 0.08);
  color: rgba(var(--brand-rgb), 0.92);
  outline: none;
}

body.page-news .news-page-btn[data-nav]:hover::before,
body.page-news .news-page-btn[data-nav]:focus-visible::before {
  border-top-color: rgba(var(--brand-rgb), 0.78);
  border-right-color: rgba(var(--brand-rgb), 0.78);
}

body.page-news .news-page-btn.is-active {
  background: rgba(var(--brand-rgb), 0.96);
  color: #ffffff;
}

body.page-news .news-page-btn.is-active:hover,
body.page-news .news-page-btn.is-active:focus-visible {
  background: rgba(var(--brand-rgb), 0.96);
  color: #ffffff;
}

body.page-news .news-page-btn[disabled],
body.page-news .news-page-btn[aria-disabled="true"] {
  opacity: 1;
  cursor: default;
  background: rgba(15, 23, 42, 0.03);
  color: rgba(15, 23, 42, 0.32);
}

body.page-news .news-page-btn[disabled]:hover,
body.page-news .news-page-btn[disabled]:focus-visible,
body.page-news .news-page-btn[aria-disabled="true"]:hover,
body.page-news .news-page-btn[aria-disabled="true"]:focus-visible {
  background: rgba(15, 23, 42, 0.03);
  color: rgba(15, 23, 42, 0.32);
}

body.page-news .news-page-btn[data-nav][disabled]::before,
body.page-news .news-page-btn[data-nav][aria-disabled="true"]::before {
  border-top-color: rgba(15, 23, 42, 0.2);
  border-right-color: rgba(15, 23, 42, 0.2);
}

body.page-news .news-page-ellipsis {
  min-width: 36px;
  letter-spacing: 0.14em;
  color: rgba(15, 23, 42, 0.42);
}

@media (max-width: 980px) {
  body.page-news .news-section {
    padding-top: 44px;
    padding-bottom: 66px;
  }

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

  body.page-news .news-item-link {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 18px;
  }

  body.page-news .news-cover {
    width: 240px;
    height: 134px;
  }

  body.page-news .news-title {
    font-size: 15px;
  }

  body.page-news .news-summary {
    font-size: 13px;
    line-height: 1.66;
  }
}

@media (max-width: 720px) {
  body.page-news .news-section > .container {
    width: min(var(--container), calc(100% - 28px));
  }

  body.page-news .news-hero-bg {
    background-position: 62% 54%;
  }

  body.page-news .news-hero-copy {
    max-width: min(100%, 430px);
  }

  body.page-news .news-hero-copy h1 {
    margin-bottom: 12px;
    font-size: var(--subpage-hero-title-size);
    line-height: 1.06;
    letter-spacing: -0.015em;
  }

  body.page-news .news-hero-copy p {
    max-width: none;
    font-size: var(--subpage-hero-desc-size);
    line-height: var(--subpage-hero-desc-line);
  }

  body.page-news .news-section {
    padding-top: 34px;
    padding-bottom: 52px;
  }

  body.page-news .news-list {
    padding: 0 14px;
  }

  body.page-news .news-item {
    padding: 20px 0;
  }

  body.page-news .news-item + .news-item {
    margin-top: 0;
  }

  body.page-news .news-item:last-child {
    padding-bottom: 20px;
  }

  body.page-news .news-item-link {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  body.page-news .news-cover {
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  body.page-news .news-date {
    margin-top: auto;
    padding-top: 10px;
    font-size: 12px;
  }

  body.page-news .news-title {
    font-size: 14px;
    line-height: 1.46;
  }

  body.page-news .news-summary {
    margin-top: 7px;
    font-size: 13px;
    line-height: 1.62;
    -webkit-line-clamp: 3;
  }

  body.page-news .news-pagination {
    gap: 8px;
    margin-top: 0;
    padding: 18px 14px 22px;
  }

  body.page-news .news-page-btn,
  body.page-news .news-page-ellipsis {
    min-width: 32px;
    height: 30px;
    padding: 0 9px;
    font-size: 13px;
  }

  body.page-news .news-page-btn[data-nav] {
    min-width: 29px;
    height: 29px;
  }

  body.page-news .news-page-ellipsis {
    min-width: 34px;
    letter-spacing: 0.1em;
  }
}
