body.news-page {
  background: linear-gradient(180deg, #CEE5FF 0%, #ffffff 58%);
  color: #0344B9;
}

.news-page .site-header {
  background: transparent;
}

.news-page .site-header.scrolled,
.news-page.menu-open .site-header {
  background: #ffffff;
}

.news-main {
  padding-top: 112px;
  overflow: hidden;
}

.news-list-section {
  padding: 0 0 44px;
}

.news-page-title {
margin: 0 0 28px;
    text-align: center;
    font-family: 'Braind Street', Arial, sans-serif;
    font-size: 44px;
    line-height: 1;
    letter-spacing: .4px;
    color: #0344B9;
    text-transform: uppercase;
}

.news-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 24px;
  align-items: start;
}

.news-list-card {
  min-width: 0;
}

.news-list-link {
  display: block;
  color: #0344B9;
  text-decoration: none;
}

.news-list-image-wrap {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: #d9e9f8;
  aspect-ratio: 315 / 180;
}

.news-list-image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.news-list-content {
  display: block;
  padding: 12px 8px 0;
}

.news-list-title {
  display: -webkit-box;
  color: #0344B9;
  font-family: 'SF Armenian', Arial, sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.18;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: text-decoration-color .25s ease;
}

.news-list-date {
  display: block;
  margin-top: 12px;
  color: #0344B9;
  font-family: 'SF Armenian', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
}

.news-list-link:hover .news-list-image-wrap img {
  transform: scale(1.04);
}

.news-list-link:hover .news-list-title {
  text-decoration-color: currentColor;
}

.news-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 44px;
  color: #0344B9;
  font-family: 'Braind Street', Arial, sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
}

.news-pagination-link,
.news-pagination-dots,
.news-pagination-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0344B9;
}

.news-pagination-link {
  min-width: 40px;
  height: 40px;
  border-radius: 8px;
  transition: background-color .25s ease, color .25s ease;
}

.news-pagination-link:hover, .news-pagination-arrow-next:hover, .news-pagination-arrow-prev:hover {
  background: #f6f6f6;
}

.news-pagination-link.is-active {
  min-width: 40px;
  height: 40px;
  background: #CDDAF1;
  pointer-events: none;
}

.news-pagination-dots {
  min-width: 28px;
}

.news-pagination-arrow {
  position: relative;
  width: 40px;
  height: 40px;
}

.news-pagination-arrow::before {
  content: '';
  display: block;
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transition: transform .25s ease;
}

.news-pagination-arrow-prev::before {
  transform: rotate(-135deg);
}

.news-pagination-arrow-next::before {
  transform: rotate(45deg);
}

.news-pagination-arrow.is-disabled {
  color: rgba(3, 68, 185, .28);
  pointer-events: none;
}

.news-page .site-menu-links a[href="news.html"],
.news-page .footer-menu a[href="news.html"] {
  pointer-events: none;
}

@media (max-width: 1024px) {
  .news-main {
    padding-top: 104px;
  }

  .news-list-section {
    padding-bottom: 42px;
  }

  .news-page-title {
    margin-bottom: 24px;
    font-size: 48px;
  }

  .news-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 12px;
  }

  .news-list-card:nth-child(n + 11) {
    display: none;
  }

  .news-list-image-wrap {
    border-radius: 7px;
    aspect-ratio: 285 / 176;
  }

  .news-list-content {
    padding: 10px 8px 0;
  }

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

@media (max-width: 627px) {
  .news-main {
    padding-top: 90px;
  }

  .news-list-section {
    padding-bottom: 28px;
  }

  .news-page-title {
    margin-bottom: 18px;
    font-size: 30px;
  }

  .news-list-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .news-list-card:nth-child(n + 7) {
    display: none;
  }

  .news-list-link {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #0344B9;
    color: #ffffff;
    aspect-ratio: 239 / 150;
  }

  .news-list-image-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    aspect-ratio: auto;
  }

  .news-list-image-wrap::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 62%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .78) 100%);
    pointer-events: none;
  }

  .news-list-content {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 10px;
    z-index: 2;
    padding: 0;
  }

  .news-list-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.18;
    -webkit-line-clamp: 2;
  }

  .news-list-date {
    margin-top: 7px;
    color: #ffffff;
    font-size: 12px;
  }

  .news-list-link:hover .news-list-image-wrap img {
    transform: scale(1.03);
  }

  .news-pagination {
    gap: 4px;
    margin-top: 24px;
    font-size: 20px;
  }


  .news-pagination-arrow::before {
    width: 7px;
    height: 7px;
    border-width: 1.5px;
  }
  .news-list-link:hover .news-list-title {text-decoration-color: transparent;}
}

@media (max-width: 390px) {
  .news-page .program-container {
    width: calc(100% - 24px);
  }

  .news-main {
    padding-top: 88px;
  }

  .news-page-title {
    margin-bottom: 18px;
    font-size: 26px;
  }

  .news-list-grid {
    gap: 10px;
  }

  .news-page .program-hero,
  .news-page .program-hero .hero-inner {
    min-height: 590px;
    height: 590px;
  }
}

/* News article page */
body.article-page {
  --article-card-max: 846px;
  --article-side-gap: 160px;
  background: linear-gradient(180deg, #CEE5FF 0%, #ffffff 58%);
  color: #0344B9;
}

.article-main {
  position: relative;
  padding-top: 118px;
  overflow: hidden;
}

.article-layout {
  position: relative;
}

.article-back-row {
  position: absolute;
  top: 0;
  left: 50%;
  width: calc(100% - var(--article-side-gap));
  max-width: 1280px;
  margin: 0;
  transform: translateX(-50%);
  z-index: 2;
}

.article-back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #0344B9;
  font-size: 16px;
  line-height: 1;
  font-weight: 600;
  transition: opacity .25s ease;
}

.article-back-link::before {
  content: "";
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  background: url("images/b_arrow.svg") center / contain no-repeat;
  transform: rotate(225deg);
}

.article-back-link:hover {
  opacity: .72;
}

.article-container {
  width: min(calc(100% - var(--article-side-gap)), var(--article-card-max));
  margin: 0 auto;
}

.article-cover {
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #d9e9f8;
  aspect-ratio: 423 / 200;
}

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

.article-content {
  padding: 36px 0 76px;
}

.article-title {
  margin: 0 0 18px;
  font-family: 'Braind Street', Arial, sans-serif;
  font-size: 48px;
  line-height: 1;
  color: #0344B9;
  text-transform: uppercase;
}

.article-date {
  display: block;
  margin: 0 0 28px;
  color: #0344B9;
  font-family: 'SF Armenian', Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.article-text p {
  margin: 0 0 24px;
  color: #1C1C1C;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.18;
}

.article-text p:last-child {
  margin-bottom: 0;
}

.article-share {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
}

.article-share-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #0344B9;
  border-radius: 8px;
  transition: opacity .25s ease, transform .25s ease;
}
.article-share-link img {width:24px; height:24px}
.article-share-link:hover {
  background:#f6f6f6
}



@media (max-width: 1320px) {
  .article-back-row {
    position: static;
    width: min(calc(100% - var(--article-side-gap)), var(--article-card-max));
    max-width: var(--article-card-max);
    margin: 0 auto 24px;
    transform: none;
  }
}

@media (max-width: 1024px) {
  body.article-page {
    --article-side-gap: 96px;
  }

  .article-main {
    padding-top: 118px;
  }

  .article-content {
    padding: 36px 0 76px;
  }

  .article-title {
    font-size: 50px;
  }
}

@media (max-width: 627px) {
  body.article-page {
    --article-side-gap: 40px;
  }

  .article-main {
    padding-top: 90px;
  }

  .article-back-row {
    width: calc(100% - var(--article-side-gap));
    max-width: none;
    margin: 0 auto 21px;
  }

  .article-back-link {
    gap: 8px;
    font-size: 14px;
  }

  .article-back-link::before {
    width: 21px;
    height: 21px;
    flex-basis: 21px;
  }

  .article-cover {
    border-radius: 8px;
    aspect-ratio: 5 / 3;
  }

  .article-content {
    padding: 18px 0 34px;
  }

  .article-title {
    margin-bottom: 10px;
    font-size: 24px;
    line-height: .96;
  }

  .article-date {
    margin-bottom: 16px;
    font-size: 12px;
  }

  .article-text p {
    margin-bottom: 15px;
    font-size: 12px;
    line-height: 1.17;
  }

  .article-share {
    gap: 12px;
    margin-top: 20px;
  }

  .article-share-link,
  .article-share-link::before {
    width: 22px;
    height: 22px;
  }
}
