.news-main {
  color: #10356f;
  background: #fff;
}

.research-hero {
  min-height: 350px;
  display: flex;
  align-items: center;
}

.research-hero-content {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.research-hero h1 {
  margin: 0 0 22px;
  font-size: 54px;
  line-height: 1.08;
  color: #0d3479;
  font-weight: 800;
}

.research-hero p {
  max-width: 470px;
  margin: 0 0 26px;
  color: #1e437f;
  font-size: 17px;
  line-height: 1.8;
}

.news-layout {
  width: min(1180px, 92%);
  margin: 0 auto;
  padding: 55px 0 50px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 28px;
  align-items: start;
}

.news-list {
  background: #fff;
  border: 1px solid #dce7f6;
  border-radius: 14px;
  padding: 0 18px;
  box-shadow: 0 14px 35px rgba(21, 67, 130, 0.06);
}

.news-item {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  padding: 16px 0;
  border-bottom: 1px solid #dce7f6;
}

.news-item:last-child {
  border-bottom: none;
}

.news-item img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.news-content {
  padding: 2px 0;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 9px;
  color: #42649a;
  font-size: 13px;
}

.news-date::before {
  content: "📅";
  margin-right: 7px;
}

.news-category {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 9px;
  border-radius: 7px;
  background: #e9f2ff;
  color: #0057d9;
  font-size: 12px;
  font-weight: 700;
}

.news-content h2 {
  margin: 0 0 7px;
  color: #10356f;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 800;
}

.news-content p {
  margin: 0 0 10px;
  color: #405985;
  font-size: 14px;
  line-height: 1.45;
}

.news-link {
  color: #0057d9;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.news-link span {
  margin-left: 8px;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 42px 0 20px;
}

.pagination a,
.pagination button {
  min-width: 40px;
  height: 40px;
  padding: 0 13px;
  border: 1px solid #dce7f6;
  background: #fff;
  color: #0057d9;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
}

.pagination a:hover,
.pagination button:hover {
  background: #edf5ff;
  border-color: #bcd4f5;
  transform: translateY(-2px);
}

.pagination .active {
  background: #0057d9;
  color: #fff;
  border-color: #0057d9;
  box-shadow: 0 8px 20px rgba(0, 87, 217, 0.22);
}

.pagination span {
  min-width: 32px;
  height: 40px;
  color: #6c7fa3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.pagination a:first-child,
.pagination a:last-child,
.pagination button:first-child,
.pagination button:last-child {
  border-radius: 50%;
  width: 40px;
  padding: 0;
}

.news-sidebar {
  display: grid;
  gap: 22px;
}

.categories-toggle-btn {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  margin-bottom: 20px;
  border: none;
  border-radius: 10px;
  background: #0057d9;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.categories-overlay {
  display: none;
}

.categories-mobile-header {
  display: none;
}

.side-card,
.newsletter-card {
  background: #f4f8ff;
  border: 1px solid #dce7f6;
  border-radius: 14px;
  padding: 26px;
  box-shadow: 0 14px 35px rgba(21, 67, 130, 0.05);
}

.side-card h3,
.newsletter-card h3 {
  margin: 0 0 18px;
  color: #10356f;
  font-size: 20px;
  font-weight: 800;
}

.news-categories {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-categories li {
  margin-bottom: 6px;
}

.news-categories a {
  position: relative;
  display: block;
  padding: 13px 38px 13px 14px;
  border-radius: 9px;
  color: #254d85;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.news-categories a::after {
  content: "›";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #0057d9;
  font-size: 20px;
  font-weight: 400;
}

.news-categories li.active a,
.news-categories a:hover {
  background: #e7f1ff;
  color: #0057d9;
}

.newsletter-icon {
  width: 50px;
  height: 50px;
  background: #169cf0;
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 23px;
  margin-bottom: 18px;
}

.newsletter-card p {
  margin: 0 0 22px;
  color: #405985;
  font-size: 14px;
  line-height: 1.65;
}

.newsletter-card input {
  width: 100%;
  height: 48px;
  border: 1px solid #dce7f6;
  border-radius: 8px;
  padding: 0 16px;
  color: #10356f;
  font-size: 14px;
  outline: none;
  background: #fff;
  margin-bottom: 14px;
}

.newsletter-card input:focus {
  border-color: #0057d9;
  box-shadow: 0 0 0 3px rgba(0, 87, 217, 0.08);
}

.newsletter-card button {
  float: right;
  width: 135px;
  height: 46px;
  border: none;
  border-radius: 8px;
  background: #0057d9;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 87, 217, 0.22);
}

.newsletter-card::after {
  content: "";
  display: block;
  clear: both;
}

.news-date::before {
  content: "";
  margin-right: 0;
}

.news-categories a::after {
  content: ">";
}

@media (max-width: 1050px) {
  .research-hero h1 {
    font-size: 44px;
  }
}

@media (max-width: 1000px) {
  .news-layout {
    grid-template-columns: 1fr;
  }

  .categories-toggle-btn {
    display: flex;
  }

  .news-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    z-index: 1300;
    width: 340px;
    max-width: 88vw;
    height: 100vh;
    margin: 0;
    overflow-y: auto;
    padding: 22px;
    background: #fff;
    border-radius: 0;
    transition: right 0.3s ease;
  }

  .news-sidebar.is-open {
    right: 0;
  }

  .categories-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #dce7f6;
  }

  .categories-mobile-header h3 {
    margin: 0;
  }

  .categories-close {
    border: none;
    background: none;
    font-size: 20px;
    color: #6c7fa3;
    cursor: pointer;
  }

  .news-sidebar .side-card {
    background: none;
    border: none;
    padding: 0;
    box-shadow: none;
  }

  .news-sidebar .side-card h3 {
    display: none;
  }

  .categories-overlay.is-open {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(16, 40, 80, 0.45);
  }
}

@media (max-width: 720px) {
  .research-hero {
    min-height: 390px;
  }

  .research-hero h1 {
    font-size: 36px;
  }

  .news-layout {
    width: 92%;
    padding: 35px 0;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .news-item img {
    height: 190px;
    object-fit: scale-down;
  }

  .pagination {
    flex-wrap: wrap;
  }
}


.news-item{
  opacity:0;
  transform:translateY(30px);
  transition:
          opacity .7s ease,
          transform .7s ease;
}

.news-item.show{
  opacity:1;
  transform:translateY(0);
}

.news-item img{
  transition:transform .8s ease;
}

.news-item:hover img{
  transform:scale(1.05);
}
