.news-hero {
  padding-top: 76px;
  border-bottom: 1px solid var(--ei-border-light);
  background: #fff;
}

.news-hero .ei-shell {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px var(--ei-content-pad) 48px;
  text-align: center;
}

.news-hero h1 {
  margin: 0;
  color: #000;
  font-size: 42px;
  font-weight: 600;
  line-height: 1.3;
}

.news-hero .ei-shell > p {
  margin-top: 12px;
  color: #666;
  font-size: 16px;
  line-height: 1.5;
}

.news-listing {
  background: #fff;
}

.news-listing .ei-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding-bottom: 100px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 40px;
  border-bottom: 1px solid var(--ei-border-light);
}

.news-grid article {
  min-height: 260px;
  background: #fff;
  padding: 0!important;
  min-width: 0;
  border-left: 1px solid var(--ei-border-light);
  border-right: 1px solid var(--ei-border-light);
}

@media (min-width: 1024px) {
  .news-grid .news-col-1,
  .news-grid article.news-col-1,
  .news-grid article:nth-of-type(3n + 1) {
    border-left: 0 !important;
    border-right: 1px solid var(--ei-border-light) !important;
  }

  .news-grid .news-col-2,
  .news-grid .news-card-middle,
  .news-grid article.news-col-2,
  .news-grid article:nth-of-type(3n + 2) {
    border-left: 1px solid var(--ei-border-light) !important;
    border-right: 1px solid var(--ei-border-light) !important;
  }

  .news-grid .news-col-3,
  .news-grid article.news-col-3,
  .news-grid article:nth-of-type(3n) {
    border-left: 1px solid var(--ei-border-light) !important;
    border-right: 0 !important;
  }
}

.news-grid .news-split {
  grid-column: 1 / -1;
  padding: 0;
  height: 20px;
  min-height: 20px;
  position: relative;
  border-top: 1px solid var(--ei-border-light);
  border-bottom: 1px solid var(--ei-border-light);
  border-left: 0 !important;
  border-right: 0 !important;
  background: #fff;
}

.news-card-empty {
  min-height: 260px;
  background: #fff;
}

.news-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.news-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-card-media {
  position: relative;
  display: flex;
  height: 200px;
  width: 100%;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f8fafc;
}

.news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.news-card:hover .news-card-media img {
  transform: scale(1.04);
}

.news-card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  padding: 20px;
}

.news-card-title {
  margin: 0 0 10px;
  color: #1d2129;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  transition: color 0.2s ease;
}

.news-card:hover .news-card-title {
  color: var(--ei-blue);
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #86909c;
  font-size: 14px;
  line-height: 22px;
  margin-top: auto;
}

.news-clock-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: #86909c;
}

.news-pagination {
  margin-top: 48px;
}

.news-pagination .page-numbers {
  display: flex;
  justify-content: center;
  gap: 8px;
  list-style: none;
}

.news-pagination a,
.news-pagination span {
  display: inline-flex;
  min-width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid var(--ei-border-light);
  color: #444;
  font-size: 14px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.news-pagination .current,
.news-pagination a:hover {
  border-color: var(--ei-blue);
  background: var(--ei-blue);
  color: #fff;
}

.news-empty {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
  border: 1px solid var(--ei-border-light);
  border-radius: 4px;
}

.news-empty-mark {
  position: relative;
  display: block;
  width: 44px;
  height: 44px;
  border: 1px solid #b9dafa;
  border-radius: 50%;
}

.news-empty-mark::before,
.news-empty-mark::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 1px;
  content: "";
  background: var(--ei-blue);
  transform: translate(-50%, -50%);
}

.news-empty-mark::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.news-empty h3 {
  margin-top: 22px;
  color: #000;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
}

.news-empty p {
  margin-top: 10px;
  color: #666;
  font-size: 16px;
  line-height: 1.5;
}

.news-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  color: var(--ei-blue);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.news-contact-link span {
  font-size: 20px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.news-contact-link:hover span {
  transform: translateX(4px);
}

.news-article {
  padding-top: 76px;
}

.news-article-head {
  border-bottom: 1px solid var(--ei-border-light);
}

.news-article-head .ei-shell {
  max-width: 920px;
  padding: 72px var(--ei-content-pad) 56px;
}

.news-back {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--ei-blue);
  font-size: 14px;
  text-decoration: none;
}

.news-article h1 {
  margin-top: 16px;
  color: #111;
  font-size: 42px;
  font-weight: 600;
  line-height: 1.35;
}

.news-article-cover {
  margin-top: 40px;
  overflow: hidden;
  border-radius: 4px;
}

.news-article-cover img {
  width: 100%;
  height: auto;
}

.news-article-content {
  max-width: 920px;
  padding: 56px var(--ei-content-pad) 100px;
  color: #333;
  font-size: 17px;
  line-height: 1.9;
}

.news-article-content > * + * {
  margin-top: 1.25em;
}

.news-article-content h2,
.news-article-content h3 {
  color: #111;
  font-weight: 600;
  line-height: 1.45;
}

.news-article-content h2 {
  font-size: 28px;
}

.news-article-content h3 {
  font-size: 22px;
}

.news-article-content img {
  max-width: 100%;
  height: auto;
}

@media (min-width: 1024px) and (max-width: 1280px) {
  .news-listing {
    padding-left: 20px;
    padding-right: 20px;
  }

  .news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 24px;
    border-bottom: 1px solid var(--ei-border-light);
  }

  .news-card-media {
    height: 160px;
  }

  .news-card-body {
    padding: 16px;
  }
}

@media (max-width: 1023px) {
  .news-listing {
    overflow: hidden;
    padding: 0 0 80px;
  }

  .news-listing .ei-shell {
    border-left: 0;
    border-right: 0;
    max-width: 100%;
    padding: 0;
  }

  .news-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 20px;
    padding: 0 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid var(--ei-border-light);
    border-bottom: 1px solid var(--ei-border-light);
  }

  .news-grid::-webkit-scrollbar {
    display: none;
  }

  .news-grid article,
  .news-grid .news-col-1,
  .news-grid .news-col-2,
  .news-grid .news-col-3,
  .news-grid article.news-col-1,
  .news-grid article.news-col-2,
  .news-grid article.news-col-3,
  .news-grid article:nth-of-type(n) {
    flex: 0 0 min(75vw, 360px);
    width: min(75vw, 360px);
    min-width: min(75vw, 360px);
    scroll-snap-align: center;
    scroll-snap-stop: always;
    border-left: 1px solid var(--ei-border-light) !important;
    border-right: 1px solid var(--ei-border-light) !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    padding: 24px 16px !important;
    min-height: auto;
    background: #fff;
  }

  .news-grid article::before,
  .news-grid article::after {
    display: none !important;
  }

  .news-grid .news-split,
  .news-grid article.news-card-empty {
    display: none;
  }

  .news-card-media {
    height: 180px;
  }

  .news-card-body {
    padding-top: 14px;
  }

  .news-card-title {
    font-size: 15px;
    margin-bottom: 12px;
  }
}

@media (max-width: 768px) {
  .news-hero {
    padding-top: 68px;
    border-bottom: none;
  }

  .news-hero .ei-shell {
    min-height: 150px;
    padding: 36px 16px 28px;
  }

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

  .news-hero .ei-shell > p {
    font-size: 14px;
    margin-top: 8px;
  }

  .news-card-title {
    font-size: 15px;
    margin-bottom: 12px;
  }

  .news-article {
    padding-top: 68px;
  }

  .news-article-head .ei-shell {
    padding: 40px 16px 32px;
  }

  .news-back {
    margin-bottom: 24px;
  }

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

  .news-article-content {
    padding: 32px 16px 60px;
    font-size: 16px;
  }
}
