/* 05-1News-list.psd — 1920px artboard with a 1300px centered news grid. */
.dy-news-page {
  --dy-news-cyan: #00bfff;
  --dy-news-navy: #013989;
  position: relative;
  overflow: hidden;
  color: #222;
  background: #fff;
  font-family: var(--font-body, Manrope, Arial, sans-serif);
}
.dy-news-page *,
.dy-news-page *::before,
.dy-news-page *::after {
  box-sizing: border-box;
}
.dy-news-page :where(h1, h2, p, figure) {
  margin: 0;
}
.dy-news-banner {
  background-color: #174d90;
  background-image: var(--dyc-bg-dongyu-news-1, url("../images/news-banner.png"));
}
.dy-news-banner nav {
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
}
.dy-news-banner nav::-webkit-scrollbar {
  display: none;
}
.dy-news-archive {
  padding: 70px 0 100px;
  background: #fff;
}
.dy-news-shell {
  width: min(1300px, calc(100% - 64px));
  margin-inline: auto;
}
.dy-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 35px;
}
.dy-news-list-card {
  min-width: 0;
  height: 468px;
  overflow: hidden;
  border-radius: 8px;
  background: #f4f6f9;
  transition:
    box-shadow 0.28s ease,
    transform 0.28s ease;
}
.dy-news-list-card > a {
  display: grid;
  height: 100%;
  grid-template-rows: 254px minmax(0, 1fr);
  color: inherit;
  text-decoration: none;
}
.dy-news-list-card figure {
  height: 254px;
  overflow: hidden;
  background: #e9edef;
}
.dy-news-list-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.2, 0.72, 0.2, 1);
}
.dy-news-list-card > a > div {
  min-height: 214px;
  padding: 25px 30px 24px;
  background: #f4f6f9;
  transition: background-color 0.28s ease;
}
.dy-news-list-card time {
  display: block;
  color: var(--dy-news-cyan);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
}
.dy-news-list-card h2 {
  display: -webkit-box;
  margin-top: 11px;
  overflow: hidden;
  color: #222;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.12;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.dy-news-list-card p {
  display: -webkit-box;
  margin-top: 10px;
  overflow: hidden;
  color: #777;
  font-size: 14px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
@media (hover: hover) {
  .dy-news-list-card:hover {
    z-index: 1;
    box-shadow: 0 18px 44px rgb(12 44 80 / 13%);
    transform: translateY(-4px);
  }
  .dy-news-list-card:hover > a > div {
    background: #fff;
  }
  .dy-news-list-card:hover img {
    transform: scale(1.045);
  }
}
.dy-news-pagination {
  display: flex;
  margin-top: 56px;
  gap: 10px;
  align-items: center;
  justify-content: center;
}
.dy-news-pagination .page-numbers {
  display: grid;
  min-width: 42px;
  height: 42px;
  padding: 0 10px;
  place-items: center;
  border: 1px solid #dce3e9;
  border-radius: 4px;
  color: #4d6278;
  background: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background-color 0.2s ease;
}
.dy-news-pagination a.page-numbers:hover,
.dy-news-pagination a.page-numbers:focus-visible,
.dy-news-pagination .page-numbers.current {
  border-color: var(--dy-news-cyan);
  color: #fff;
  background: var(--dy-news-cyan);
}
.dy-news-pagination .page-numbers.dots {
  border-color: transparent;
  background: transparent;
}
.dy-news-empty {
  padding: 90px 30px;
  color: #6d7985;
  background: #f4f6f9;
  text-align: center;
  font-size: 15px;
}
.dy-news-page + .dy-inquiry {
  display: none;
}
@media (max-width: 1050px) {
  .dy-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dy-news-archive {
    min-height: 0;
  }
}
@media (max-width: 680px) {
  .dy-news-banner h1 {
    max-width: 100%;
    font-size: 28px;
    overflow-wrap: anywhere;
  }
  .dy-news-banner nav {
    gap: 12px;
    padding-bottom: 5px;
    font-size: 12px;
  }
  .dy-news-archive {
    padding: 40px 0 72px;
  }
  .dy-news-shell {
    width: calc(100% - 30px);
  }
  .dy-news-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .dy-news-list-card {
    height: auto;
  }
  .dy-news-list-card > a {
    grid-template-rows: min(64vw, 300px) auto;
  }
  .dy-news-list-card figure {
    height: auto;
  }
  .dy-news-list-card > a > div {
    min-height: 0;
    padding: 24px 22px 28px;
  }
  .dy-news-list-card h2 {
    font-size: 18px;
  }
  .dy-news-pagination {
    margin-top: 42px;
    gap: 7px;
  }
  .dy-news-pagination .page-numbers {
    min-width: 38px;
    height: 38px;
    padding-inline: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dy-news-page *,
  .dy-news-page *::before,
  .dy-news-page *::after {
    transition-duration: 0.01ms !important;
  }
}
