@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;700;800&display=swap");

.news.news--page {
  width: 100%;
  min-height: 100vh;
  background:
    repeating-linear-gradient(0deg, rgba(212, 162, 76, 0.05) 0 1px, transparent 1px 30px),
    repeating-linear-gradient(90deg, rgba(30, 58, 95, 0.05) 0 1px, transparent 1px 30px),
    linear-gradient(160deg, #e4ecff 0%, #e9eefb 30%, #eeeaf7 55%, #f2e9e3 80%, #f0e2d4 100%);
  padding: 130px 48px 90px;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

.news__inner {
  max-width: 1360px;
  margin: 0 auto;
}

.news__box {
  width: 100%;
}

.news__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1e3a5f;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-family: "Inter", sans-serif;
  padding: 6px 14px 6px 12px;
  border: 1px solid rgba(212, 162, 76, 0.4);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
  margin-bottom: 18px;
}

.news__badge::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d4a24c;
}

.news__heading {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.25;
  color: #1e3a5f;
  margin: 0 0 24px 0;
  letter-spacing: -0.5px;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.news__view-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  color: #1e3a5f;
  font-size: 14.5px;
  font-weight: 700;
  font-family: "Plus Jakarta Sans", sans-serif;
  border: 1.5px solid rgba(212, 162, 76, 0.4);
  border-radius: 10px;
  padding: 12px 20px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.news__view-btn:hover {
  background: linear-gradient(145deg, #1e3a5f, #2d5480);
  color: #ffffff;
  border-color: #d4a24c;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(30, 58, 95, 0.28);
}

.news__view-arrow {
  font-size: 16px;
}

.news__right {
  margin-top: 20px;
}

/* ---------- CARDS GRID ---------- */

.news__cards.news__cards--grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: start;
}

.news__card {
  position: relative;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 162, 76, 0.25);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(30, 58, 95, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.news__card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 162, 76, 0.6);
  box-shadow: 0 24px 46px rgba(30, 58, 95, 0.18), 0 0 34px 3px rgba(212, 162, 76, 0.2);
}

.news__card-img {
  width: 100%;
  height: auto;
  display: block;
}

.news__card-content {
  padding: 14px 14px 16px;
}

.news__card-title {
  font-size: 15px;
  font-weight: 700;
  color: #1e3a5f;
  margin: 0 0 8px 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  line-height: 1.4;
}

.news__card-desc {
  font-size: 12.5px;
  line-height: 1.55;
  color: #5b6472;
  margin: 0 0 12px 0;
}

.news__card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid rgba(212, 162, 76, 0.2);
  padding-top: 12px;
}

.news__card-date {
  font-size: 12.5px;
  color: #8792a3;
  font-weight: 500;
}

.news__card-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #d4a24c;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.news__card-arrow {
  width: 14px;
  height: 14px;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 1300px) {
  .news__cards.news__cards--grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1200px) {
  .news.news--page {
    padding: 110px 28px 70px;
  }

  .news__cards.news__cards--grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .news__heading {
    font-size: 27px;
  }
}

@media (max-width: 900px) {
  .news.news--page {
    padding: 100px 20px 60px;
  }

  .news__cards.news__cards--grid {
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .news.news--page {
    padding: 90px 18px 56px;
  }

  .news__heading {
    font-size: 23px;
  }

  .news__cards.news__cards--grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* ---------- PAGINATION ---------- */

.news__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 44px;
}

.news__pageBtn {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(212, 162, 76, 0.35);
  border-radius: 8px;
  color: #1e3a5f;
  font-size: 14px;
  font-weight: 700;
  font-family: "Plus Jakarta Sans", sans-serif;
  cursor: pointer;
  transition: all 0.25s ease;
}

.news__pageBtn:hover:not(:disabled) {
  background: linear-gradient(145deg, #1e3a5f, #2d5480);
  color: #ffffff;
  border-color: #d4a24c;
  transform: translateY(-2px);
}

.news__pageBtn--active {
  background: linear-gradient(145deg, #1e3a5f, #2d5480);
  color: #ffffff;
  border-color: #d4a24c;
  box-shadow: 0 6px 16px rgba(30, 58, 95, 0.25);
}

.news__pageBtn--nav {
  padding: 0 16px;
}

.news__pageBtn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

@media (max-width: 480px) {
  .news__pagination {
    gap: 8px;
    margin-top: 32px;
  }

  .news__pageBtn {
    min-width: 36px;
    height: 36px;
    font-size: 13px;
    padding: 0 10px;
  }

  .news__pageBtn--nav {
    padding: 0 12px;
  }
}

@media (max-width: 400px) {
  .news.news--page {
    padding: 80px 12px 44px;
  }

  .news__heading {
    font-size: 20px;
  }

  .news__card-title {
    font-size: 15.5px;
  }
}
