.news-page {
  color: #1a2944;
  font-family: "Manrope", sans-serif;
}

.news-page .container { max-width: 1180px; }

.news-hero {
  padding: 24px 0 38px;
  border-bottom: 1px solid #ebe5f3;
  background:
    radial-gradient(circle at 10% 0%, rgba(151, 103, 220, .16), transparent 28%),
    linear-gradient(120deg, #f8f4fd, #fff 72%);
}

.news-breadcrumb {
  margin-bottom: 20px;
  font-size: 12px;
}

.news-breadcrumb a { color: #7653ba; }
.news-breadcrumb .active { color: #758095; }

.news-hero h1 {
  margin: 0;
  color: #08234d;
  font-size: clamp(38px, 4vw, 50px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.05;
}

.news-content-section {
  padding: 52px 0 76px;
  background: #fff;
}

.news-toolbar {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 30px;
}

.news-clear-search { display: inline-flex; align-items: center; gap: 7px; color: #7952bd; font-size: 13px; font-weight: 800; }

.news-search {
  align-items: center;
  display: flex;
  flex: 0 0 300px;
  gap: 10px;
  height: 48px;
  padding: 0 16px;
  border: 1px solid #dfd8e9;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(7, 31, 70, .05);
}

.news-search:focus-within {
  border-color: #9970d4;
  box-shadow: 0 0 0 4px rgba(145, 96, 211, .1);
}

.news-search i { color: #8058c5; font-size: 17px; }

.news-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #142745;
  background: transparent;
  font: inherit;
  font-size: 13px;
}

.news-search input::placeholder { color: #8b91a0; }

.news-filters {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.news-filters button {
  padding: 9px 14px;
  border: 1px solid #e1dbe9;
  border-radius: 999px;
  color: #4c5870;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: .2s ease;
}

.news-filters button:hover,
.news-filters button.active {
  border-color: #8057c7;
  color: #fff;
  background: #8057c7;
}

.featured-news {
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 335px;
  border: 1px solid #e4deeb;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(7, 31, 70, .1);
}

.featured-visual {
  align-items: center;
  display: flex;
  justify-content: center;
  position: relative;
  overflow: hidden;
  color: rgba(255, 255, 255, .88);
  background:
    radial-gradient(circle at 20% 20%, rgba(196, 154, 239, .5), transparent 30%),
    linear-gradient(145deg, #102d5d, #7850c4);
}

.featured-visual::before,
.featured-visual::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  content: "";
}

.featured-visual::before { width: 250px; height: 250px; }
.featured-visual::after { width: 340px; height: 340px; }
.featured-visual > i { position: relative; z-index: 1; font-size: 76px; }
.featured-photo { display: block; }
.featured-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.featured-photo:hover img { transform: scale(1.025); }

.featured-visual > span {
  position: absolute;
  left: 22px;
  top: 22px;
  z-index: 1;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.featured-copy {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 38px 42px;
}

.news-category {
  margin-bottom: 12px;
  padding: 6px 11px;
  border-radius: 999px;
  color: #7851bd;
  background: #f0e9fa;
  font-size: 12px;
  font-weight: 800;
}

.featured-copy time {
  margin-bottom: 10px;
  color: #7e8798;
  font-size: 12px;
}

.featured-copy h2 {
  margin-bottom: 14px;
  color: #09244d;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.18;
}

.featured-copy p {
  margin-bottom: 20px;
  color: #626d80;
  font-size: 14px;
  line-height: 1.75;
}

.featured-copy a,
.listing-body > a {
  color: #7650be;
  font-size: 13px;
  font-weight: 800;
}

.featured-copy a i,
.listing-body > a i { margin-left: 7px; transition: margin .2s ease; }
.featured-copy a:hover i,
.listing-body > a:hover i { margin-left: 11px; }

.news-list-heading {
  align-items: flex-end;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 58px 0 24px;
}

.news-list-heading span {
  display: block;
  margin-bottom: 5px;
  color: #825bc8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.news-list-heading h2 {
  margin: 0;
  color: #08234d;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.035em;
}

.news-list-heading p { margin: 0; color: #7b8495; font-size: 12px; }

.listing-card {
  overflow: hidden;
  border: 1px solid #e4dfeb;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(7, 31, 70, .07);
  transition: transform .25s ease, box-shadow .25s ease;
}

.listing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(7, 31, 70, .12);
}

.listing-visual {
  align-items: center;
  display: flex;
  height: 170px;
  justify-content: center;
  color: #8e65d0;
  background: linear-gradient(140deg, #eee6fa, #f8f5fc);
  font-size: 48px;
}

.listing-photo { display: block; overflow: hidden; }
.listing-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.listing-card:hover .listing-photo img { transform: scale(1.035); }

.listing-visual.visual-2 { color: #446b9b; background: linear-gradient(140deg, #e7eef8, #f6f8fc); }
.listing-visual.visual-3 { color: #9b6b3f; background: linear-gradient(140deg, #f7ecdf, #fcf8f3); }
.listing-visual.visual-4 { color: #5a8c87; background: linear-gradient(140deg, #e2f1ef, #f4faf9); }
.listing-visual.visual-5 { color: #7650bd; background: linear-gradient(140deg, #ebe4f7, #f8f5fc); }
.listing-visual.visual-6 { color: #b45f85; background: linear-gradient(140deg, #f7e6ee, #fcf6f9); }

.listing-body {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 22px;
}

.listing-meta {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 13px;
}

.listing-meta span {
  padding: 5px 9px;
  border-radius: 999px;
  color: #7952bd;
  background: #f0eafb;
  font-size: 12px;
  font-weight: 800;
}

.listing-meta time { color: #8a91a0; font-size: 12px; }

.listing-body h3 {
  margin-bottom: 11px;
  color: #0a254e;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.38;
}

.listing-body p {
  flex: 1;
  margin-bottom: 17px;
  color: #697386;
  font-size: 13px;
  line-height: 1.7;
}

.news-empty {
  padding: 70px 20px;
  text-align: center;
}

.news-empty[hidden] { display: none; }
.news-empty i { display: block; margin-bottom: 15px; color: #8a62cd; font-size: 42px; }
.news-empty h2 { color: #09244d; font-size: 24px; font-weight: 800; }
.news-empty p { color: #737d90; font-size: 13px; }

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

.news-pagination-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 17px 18px 17px 22px;
  border: 1px solid #e8e1ef;
  border-radius: 20px;
  background: linear-gradient(135deg, #fff 0%, #fbf9fe 100%);
  box-shadow: 0 14px 36px rgba(35, 24, 70, .07);
}

.news-pagination-summary { display: flex; flex: 0 0 auto; flex-direction: column; gap: 3px; color: #34435b; font-size: 13px; }
.news-pagination-summary strong { color: #8057c7; font-size: 16px; font-weight: 900; }
.news-pagination-summary small { color: #7b8494; font-size: 12px; }

.news-pagination .pagination { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 7px; margin: 0; padding: 0; }
.news-pagination .page-item { list-style: none; }
.news-pagination .page-link {
  align-items: center;
  display: inline-flex;
  min-width: 42px;
  height: 42px;
  justify-content: center;
  gap: 7px;
  margin: 0;
  padding: 0 11px;
  border: 1px solid #e0d9e9;
  border-radius: 12px;
  color: #536077;
  background: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform .18s ease, color .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.news-pagination a.page-link:hover { transform: translateY(-2px); border-color: #8d63d2; color: #7447bf; box-shadow: 0 8px 18px rgba(108, 72, 169, .13); }
.news-pagination .page-item.active .page-link { border-color: #8057c7; color: #fff; background: linear-gradient(135deg, #9664da, #7449bf); box-shadow: 0 8px 18px rgba(117, 75, 191, .23); }
.news-pagination .page-item.disabled .page-link { opacity: .42; cursor: default; }
.news-pagination .pager-direction .page-link { min-width: 102px; }
.news-pagination .pager-ellipsis .page-link { min-width: 22px; padding: 0; border-color: transparent; background: transparent; }

@media (max-width: 991.98px) {
  .news-toolbar { align-items: stretch; flex-direction: column; }
  .news-search { flex-basis: auto; width: 100%; }
  .news-filters { justify-content: flex-start; overflow-x: auto; padding-bottom: 4px; }
  .featured-news { grid-template-columns: 1fr; }
  .featured-visual { min-height: 230px; }
}

@media (max-width: 767.98px) {
  .news-hero { padding: 20px 0 28px; }
  .news-breadcrumb { margin-bottom: 15px; }
  .news-hero h1 { font-size: 38px; }
  .news-content-section { padding: 36px 0 58px; }
  .news-toolbar { margin-bottom: 22px; }
  .featured-news { border-radius: 20px; }
  .featured-visual { min-height: 205px; }
  .featured-visual > i { font-size: 62px; }
  .featured-copy { padding: 28px 24px 31px; }
  .news-list-heading { align-items: flex-start; flex-direction: column; margin-top: 44px; }
  .news-list-heading h2 { font-size: 27px; }
  .listing-body { min-height: 225px; }
  .news-pagination { margin-top: 38px; }
  .news-pagination-shell { flex-direction: column; gap: 15px; padding: 18px 14px; }
  .news-pagination-summary { align-items: center; text-align: center; }
  .news-pagination .pagination { width: 100%; gap: 6px; }
  .news-pagination .page-link { min-width: 39px; height: 39px; padding: 0 9px; }
  .news-pagination .pager-direction .page-link { min-width: 39px; }
  .news-pagination .pager-direction .page-link span { display: none; }
  .news-pagination .pager-number:not(.pager-current):not(.pager-neighbor),
  .news-pagination .pager-ellipsis { display: none; }
}
