.news-page-main {
  min-height: 760px;
  padding: 132px 20px 112px;
  background:
    linear-gradient(120deg, rgba(231,247,255,.94), rgba(244,252,255,.96) 54%, rgba(232,250,247,.94)),
    url("../images/soft-blue-page-texture.png") center top / cover no-repeat;
}

.news-page-main .container {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.news-intro {
  max-width: 780px;
  margin-bottom: 48px;
}

.news-intro .eyebrow {
  margin-bottom: 12px;
}

.news-intro h1 {
  max-width: 760px;
  margin: 0;
  color: #009dff;
  font-size: clamp(46px, 5.2vw, 72px);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.news-intro > p:last-child {
  max-width: 680px;
  margin: 20px 0 0;
  color: #4089b3;
  font-size: 20px;
  line-height: 1.7;
}

.news-wrap {
  position: relative;
}

.news-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.news-layout .left {
  position: sticky;
  top: 28px;
}

.news-layout .left ul,
.newsc ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-layout .left a {
  display: block;
  padding: 18px 22px;
  border: 1px solid rgba(1,157,255,.16);
  border-radius: 20px;
  background: rgba(255,255,255,.84);
  color: #1877a8;
  font-weight: 750;
  box-shadow: 0 14px 36px rgba(20,97,142,.08);
  backdrop-filter: blur(12px);
  transition: transform .2s ease, box-shadow .2s ease;
}

.news-layout .left a:hover,
.news-layout .left a:focus-visible {
  transform: translateY(-2px);
  outline: none;
  box-shadow: 0 18px 40px rgba(20,97,142,.14);
}

.news-layout .left a.active {
  border-color: transparent;
  background: linear-gradient(110deg, #08a9ef, #10dfdf);
  color: #fff;
}

.news-layout .right {
  min-width: 0;
  padding: clamp(28px, 4vw, 50px);
  border: 1px solid rgba(9,159,232,.12);
  border-radius: 32px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 24px 65px rgba(31,104,148,.12);
}

.newsc > h2,
.blog-article > .title {
  margin: 0 0 28px;
  color: #16233a;
  font-size: clamp(32px, 3.2vw, 46px);
  line-height: 1.18;
  letter-spacing: -.025em;
}

.newsc li {
  display: flex;
  gap: 28px;
  min-height: 182px;
  padding: 26px 0;
  border-top: 1px solid #dcecf4;
}

.newsc li:first-child {
  padding-top: 0;
  border-top: 0;
}

.news-thumb {
  flex: 0 0 220px;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(135deg, #d9f2ff, #e8fdff);
}

.news-thumb a {
  display: block;
  height: 100%;
}

.news-thumb img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: transform .45s ease;
}

.newsc li:hover .news-thumb img {
  transform: scale(1.045);
}

.news-summary {
  flex: 1;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: flex-start;
}

.news-summary h3 {
  margin: 0 0 10px;
  color: #16233a;
  font-size: 24px;
  line-height: 1.35;
}

.news-summary h3 a,
.news-summary p a,
.article-nav a,
.blog-detail-back {
  transition: color .18s ease, opacity .18s ease;
}

.news-summary h3 a:hover,
.news-summary h3 a:focus-visible,
.news-summary p a,
.article-nav a,
.blog-detail-back {
  color: #079fe8;
}

.news-summary p {
  margin: 0;
  color: #587083;
  line-height: 1.75;
}

.news-summary p a {
  margin-inline-start: 6px;
  font-weight: 750;
  white-space: nowrap;
}

.news-meta {
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 16px;
  color: #8ba0af;
  font-size: 14px;
}

.post-time {
  margin: -12px 0 32px;
  color: #8499a8;
  font-size: 15px;
}

.blog-article > .content {
  color: #425a6c;
  font-size: 17px;
  line-height: 1.9;
}

.blog-article > .content h2,
.blog-article > .content h3 {
  margin: 1.6em 0 .65em;
  color: #16233a;
  line-height: 1.3;
}

.blog-article > .content p {
  margin: 0 0 1.15em;
}

.blog-article > .content img {
  height: auto;
  margin: 30px auto;
  border-radius: 22px;
}

.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 44px 0 28px;
  padding-top: 24px;
  border-top: 1px solid #dcecf4;
}

.article-nav p {
  margin: 0;
}

.article-nav p:last-child {
  text-align: end;
}

.article-nav a {
  font-weight: 700;
}

.blog-detail-back {
  display: inline-flex;
  align-items: center;
  padding: 11px 19px;
  border: 1px solid #079fe8;
  border-radius: 999px;
  font-weight: 750;
}

.blog-detail-back:hover,
.blog-detail-back:focus-visible {
  background: #079fe8;
  color: #fff;
  outline: none;
}

.pages {
  margin-top: 30px;
  text-align: center;
}

.pages a,
.pages span {
  display: inline-grid;
  min-width: 40px;
  height: 40px;
  margin: 3px;
  place-items: center;
  border-radius: 50%;
}

.pages .current,
.pages a:hover,
.pages a:focus-visible {
  background: #079fe8;
  color: #fff;
  outline: none;
}

.news-empty {
  padding: 64px 24px;
  border: 1px dashed #aedced;
  border-radius: 22px;
  background: linear-gradient(135deg, #f3fbff, #f1fffc);
  color: #668496;
  text-align: center;
}

html[dir="rtl"] .news-meta {
  justify-content: flex-start;
}

@media (max-width: 800px) {
  .news-page-main {
    padding: 106px 16px 78px;
  }

  .news-intro {
    margin-bottom: 34px;
  }

  .news-intro h1 {
    font-size: clamp(40px, 12vw, 52px);
  }

  .news-intro > p:last-child {
    font-size: 17px;
  }

  .news-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .news-layout .left {
    position: static;
  }

  .news-layout .right {
    padding: 26px 20px;
    border-radius: 24px;
  }

  .newsc li {
    flex-direction: column;
    gap: 18px;
  }

  .news-thumb {
    flex-basis: auto;
  }

  .news-thumb img {
    height: min(54vw, 260px);
  }

  .article-nav {
    grid-template-columns: 1fr;
  }

  .article-nav p:last-child {
    text-align: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-layout .left a,
  .news-thumb img {
    transition: none;
  }

  .news-layout .left a:hover,
  .newsc li:hover .news-thumb img {
    transform: none;
  }
}
