@font-face {
  font-family: 'Roboto';
  src: url('../font/roboto-regular.ttf') format('truetype');
  font-weight: 400;
}

@font-face {
  font-family: 'Roboto';
  src: url('../font/roboto-bold.ttf') format('truetype');
  font-weight: 700;
}

@font-face {
  font-family: 'Lato';
  src: url('../font/lato-bold.ttf') format('truetype');
  font-weight: 700;
}

.zs-news-page {
  overflow: hidden;
  background: #f9f9f9;
}

.zs-news-banner {
  position: relative;
}

.zs-news-banner-media {
  position: absolute;
  inset: 0;
}

.zs-news-banner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.zs-news-banner-overlay {
  position: relative;
  z-index: 1;
  background: linear-gradient(to right, rgba(8, 46, 133, 0.72) 0%, rgba(8, 46, 133, 0.2) 55%, rgba(8, 46, 133, 0) 78%);
}

.zs-news-banner-inner {
  min-height: 360px;
  padding: 30px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--color-white);
}

.zs-news-banner-copy {
  flex: 1;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.zs-news-banner-title {
  font-size: 52px;
  line-height: 1.12;
  font-weight: 700;
  color: var(--color-white);
}

.zs-news-banner-desc {
  margin-top: 10px;
}

.zs-news-banner-desc p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-white);
}

.zs-news-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-white);
}

.zs-news-breadcrumbs a {
  color: var(--color-white);
}

.zs-news-breadcrumb-home-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  background: url('../img/icon_home_white.svg') no-repeat center / contain;
}

.zs-news-tabs {
  background: #ffffff;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.08);
}

.zs-news-tab-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 100px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
}

.zs-news-tab-link {
  position: relative;
  display: block;
  padding: 20px 0;
  color: var(--color-title);
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
  white-space: nowrap;
}

.zs-news-tab-link:hover {
  color: var(--color-main);
}

.zs-news-tab-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--color-main);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.zs-news-tab-link:hover::after {
  transform: scaleX(1);
}

.zs-news-list-section {
  padding: 60px 0 100px;
}

.zs-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.zs-news-card {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  background: #ffffff;
  opacity: 0;
  transform: translateY(26px);
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.zs-news-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.zs-news-card-link {
  display: block;
  height: 100%;
}

.zs-news-card-thumb {
  aspect-ratio: 44 / 24.8;
  overflow: hidden;
}

.zs-news-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.zs-news-card-link:hover .zs-news-card-thumb img {
  transform: scale(1.06);
}

.zs-news-card-body {
  padding: 24px 30px 0;
  background: #ffffff;
}

.zs-news-card-title {
  min-height: 72px;
  font-size: 28px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--color-title);
  transition: color 0.25s ease;
}

.zs-news-card-link:hover .zs-news-card-title {
  color: var(--color-main);
}

.zs-news-card-excerpt {
  min-height: 70px;
  margin-top: 24px;
}

.zs-news-card-excerpt p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
}

.zs-news-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
  padding: 24px 0;
  border-top: 1px solid #e7e7e7;
}

.zs-news-card-more {
  display: flex;
  align-items: center;
  color: var(--color-title);
  font-size: 18px;
  font-weight: 700;
  transition: color 0.25s ease;
}

.zs-news-card-link:hover .zs-news-card-more {
  color: var(--color-main);
}

.zs-news-card-arrow {
  position: relative;
  width: 24px;
  height: 24px;
  margin-left: 10px;
  border-radius: 50%;
  background: var(--color-title);
  transition: background 0.25s ease;
}

.zs-news-card-arrow::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 7px;
  width: 7px;
  height: 7px;
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
  transform: rotate(45deg);
}

.zs-news-card-link:hover .zs-news-card-arrow {
  background: var(--color-main);
}

.zs-news-card-meta time {
  color: #7e7e7e;
  font-size: 16px;
  line-height: 1.4;
  flex-shrink: 0;
}

.zs-news-pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.zs-news-pagination-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.zs-news-pagination-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #d8d8d8;
  background: #ffffff;
  color: var(--color-title);
  font-size: 16px;
  font-weight: 700;
}

.zs-news-pagination-item:hover {
  color: var(--color-main);
  border-color: var(--color-main);
}

.zs-news-pagination-item.is-current {
  background: var(--color-main);
  border-color: var(--color-main);
  color: #ffffff;
}

.zs-news-pagination-item.is-dots {
  pointer-events: none;
}

@media (max-width: 1200px) {
  .zs-news-grid {
    gap: 24px;
  }

  .zs-news-card-body {
    padding: 20px 22px 0;
  }

  .zs-news-card-title {
    font-size: 24px;
  }
}

@media (max-width: 992px) {
  .zs-news-banner-inner {
    min-height: 320px;
  }

  .zs-news-banner-title {
    font-size: 40px;
  }

  .zs-news-tab-list {
    justify-content: flex-start;
    gap: 80px;
  }

  .zs-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .zs-news-banner-overlay {
    background: linear-gradient(180deg, rgba(8, 46, 133, 0.64) 0%, rgba(8, 46, 133, 0.45) 100%);
  }

  .zs-news-banner-inner {
    min-height: 300px;
    text-align: center;
  }

  .zs-news-banner-copy {
    max-width: 100%;
  }

  .zs-news-banner-title {
    font-size: 32px;
  }

  .zs-news-banner-desc p,
  .zs-news-breadcrumbs {
    font-size: 14px;
  }

  .zs-news-tab-list {
    gap: 56px;
    justify-content: flex-start;
  }

  .zs-news-tab-link {
    padding: 16px 0;
    font-size: 18px;
  }

  .zs-news-list-section {
    padding: 40px 0 70px;
  }

  .zs-news-grid {
    gap: 20px;
  }

  .zs-news-card {
    border-radius: 8px;
  }

  .zs-news-card-title {
    min-height: 60px;
    font-size: 22px;
  }

  .zs-news-card-excerpt {
    margin-top: 18px;
  }

  .zs-news-card-excerpt p,
  .zs-news-card-meta time {
    font-size: 14px;
  }

  .zs-news-card-more {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .zs-news-banner-inner {
    min-height: 260px;
    padding: 22px 0;
  }

  .zs-news-banner-title {
    font-size: 28px;
  }

  .zs-news-tabs .zs-container {
    padding: 0 15px;
  }

  .zs-news-tab-list {
    gap: 40px;
  }

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

  .zs-news-card-body {
    padding: 18px 18px 0;
  }

  .zs-news-card-title {
    min-height: auto;
    font-size: 20px;
  }

  .zs-news-card-excerpt {
    min-height: auto;
  }

  .zs-news-card-meta {
    margin-top: 18px;
    padding: 18px 0;
  }

  .zs-news-pagination-list {
    flex-wrap: wrap;
  }

  .zs-news-pagination-item {
    min-width: 40px;
    height: 40px;
    font-size: 14px;
  }
}
