#news {
 padding-bottom: 64px;
}

.page-head {
 padding-top: 34px;
}

.news-banner {
 position: relative;
 min-height: 0;
 aspect-ratio: 2048 / 250;
 overflow: hidden;
 border-radius: var(--radius-xl);
 display: flex;
 align-items: center;
 color: #fff;
 background: #07142d;
 box-shadow: 0 20px 48px rgba(27, 28, 89, .18);
}

.news-banner::before {
 display: none;
}

.banner-copy {
 position: relative;
 z-index: 2;
 width: 44%;
 padding-left: clamp(34px, 4vw, 72px);
}

.banner-copy p {
 font-size: clamp(33px, 2.2vw, 44px);
 font-weight: 800;
 letter-spacing: .02em;
}

.banner-copy h1 {
 margin-top: 12px;
 color: rgba(232, 234, 255, .82);
 font-size: clamp(15px, 1vw, 18px);
 font-weight: 500;
}

.banner-art {
 position: absolute;
 z-index: 1;
 inset: 0;
 display: block;
 background: url("../images/news-banner.webp") center / 100% 100% no-repeat;
}

.news-page {
 padding-top: 22px;
}

/* The list page uses the 20px desktop gutters and 1000/384 content split
   from the approved information-page design, rather than the wider homepage shell. */
.news-page.wrap {
 width: min(calc(100% - 40px), 1820px);
}

.filter-bar {
 min-height: 62px;
 padding: 8px 10px 8px 16px;
 border: 1px solid #e5e8f1;
 border-radius: 15px;
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 20px;
 background: rgba(255, 255, 255, .88);
 box-shadow: 0 12px 26px rgba(35, 42, 77, .05);
}

.filter-tabs,
.filter-tools {
 display: flex;
 align-items: center;
}

.filter-tabs {
 min-width: 0;
 gap: 4px;
}

.filter-tabs a {
 min-height: 42px;
 padding: 0 clamp(13px, 1.25vw, 25px);
 border: 1px solid #e1e5ef;
 border-radius: 8px;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 color: #4f5870;
 font-size: 15px;
 font-weight: 400;
 white-space: nowrap;
 transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}

.filter-tabs a:hover,
.filter-tabs a.is-active {
 color: #fff;
 background: linear-gradient(135deg, #8064ec, #5f3bdc);
 box-shadow: 0 8px 16px rgba(94, 58, 220, .2);
}

.filter-tools {
 flex: 0 0 auto;
 gap: 0;
}

.filter-tools button,
.search {
 height: 42px;
 border: 1px solid #dfe3ee;
 border-radius: 8px;
 background: #fff;
}

.filter-tools button {
 min-width: 140px;
 padding-inline: 16px;
 display: inline-flex;
 align-items: center;
 justify-content: space-between;
 color: #505a72;
 font-size: 14px;
 font-weight: 600;
 cursor: pointer;
}

.search {
 width: 230px;
 padding: 0 14px;
 border-radius: 8px 0 0 8px;
 border-right: 0;
 display: flex;
 align-items: center;
 gap: 8px;
}

.search input {
 min-width: 0;
 width: 100%;
 border: 0;
 outline: 0;
 color: var(--ink);
 background: transparent;
 font-size: 14px;
}

.search span {
 width: 19px;
 height: 19px;
 flex: 0 0 auto;
 color: #7e88a1;
}

.search span svg,
.search-btn svg {
 width: 100%;
 height: 100%;
 fill: none;
 stroke: currentColor;
 stroke-width: 1.8;
 stroke-linecap: round;
}

.search-btn {
 min-width: 94px !important;
 border: 0 !important;
 border-radius: 0 8px 8px 0 !important;
 display: inline-flex !important;
 align-items: center;
 justify-content: center !important;
 gap: 8px;
 color: #fff !important;
 background: linear-gradient(135deg, #7d5bea, #5837d7) !important;
 box-shadow: 0 8px 16px rgba(94, 58, 220, .2);
}

.search-btn svg {
 width: 18px;
 height: 18px;
}

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

.article-list {
 display: grid;
 gap: 8px;
}

.article-card {
 position: relative;
 height: 142px;
 min-height: 0;
 padding: 10px 26px 10px 10px;
 border: 1px solid #e6e9f2;
 border-radius: 16px;
 display: grid;
 grid-template-columns: 300px minmax(0, 1fr);
 align-items: center;
 gap: 24px;
 overflow: hidden;
 background: #fff;
 box-shadow: 0 12px 26px rgba(33, 40, 76, .045);
}

.article-card figure {
 height: 120px;
 overflow: hidden;
 border-radius: 11px;
 background: #13163c;
}

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

.article-card > div {
 min-width: 0;
 padding: 0 0 1px;
}

.tag {
 padding: 4px 10px;
 border: 0;
 border-radius: 999px;
 display: inline-flex;
 color: var(--violet-deep);
 background: #e7dcff;
 font-size: 12px;
 font-weight: 600;
 line-height: 1;
}

.tag.pink {
 color: #b54a9e;
 background: #f7d9f1;
}

.tag.blue {
 color: #3a72cf;
 background: #dceaff;
}

.article-card h2 {
 margin-top: 7px;
 color: #17213d;
 font-size: 24px;
 line-height: 1.25;
}

.article-card p {
 margin-top: 5px;
 overflow: hidden;
 color: #6f7990;
 font-size: 13px;
 line-height: 1.5;
 display: -webkit-box;
 -webkit-line-clamp: 2;
 -webkit-box-orient: vertical;
}

.article-meta {
 margin-top: 6px;
 display: flex;
 gap: 22px;
 color: #9aa2b3;
 font-size: 12px;
}

.article-meta time,
.article-meta small {
 display: inline-flex;
 align-items: center;
 gap: 4px;
}

.article-meta svg {
 width: 18px;
 height: 18px;
 flex: 0 0 auto;
 fill: none;
 stroke: currentColor;
 stroke-width: 1.8;
 stroke-linecap: round;
 stroke-linejoin: round;
}

.article-card > div > a {
 position: absolute;
 right: 25px;
 bottom: 17px;
 color: var(--violet-deep);
 font-size: 17px;
 font-weight: 700;
}

.article-card > div > a b {
 padding-left: 3px;
 font-size: 22px;
 font-weight: 400;
 vertical-align: -1px;
}

.news-aside {
 display: grid;
 gap: 18px;
}

.side-box,
.app-box {
 padding: 23px 26px;
 border: 1px solid #e6e9f2;
 border-radius: 16px;
 background: #fff;
 box-shadow: 0 12px 26px rgba(33, 40, 76, .045);
}

.side-box h2,
.app-box h2 {
 color: #17213d;
 font-size: 17px;
 line-height: 1.2;
 font-weight: 800 !important;
}

.hot-box {
 padding: 14px 24px 17px;
}

.hot-box h2 {
 font-weight: 400;
}

.hot-box ol {
 margin: 6px 0 0;
 padding: 0;
 list-style: none;
}

.hot-box li {
}

.hot-box li + li {
 border-top: 1px solid #edf0f5;
}

.hot-box li a {
 min-height: 35px;
 display: grid;
 grid-template-columns: 27px minmax(0, 1fr) auto;
 align-items: center;
 gap: 10px;
}

.hot-box b {
 width: 23px;
 height: 23px;
 border-radius: 6px;
 display: grid;
 place-items: center;
 color: #778096;
 background: #f0f2f7;
 font-size: 13px;
}

.hot-box li:nth-child(1) b { color: #fff; background: linear-gradient(135deg, #6f4ae4, #865ef1); }
.hot-box li:nth-child(2) b { color: #fff; background: linear-gradient(135deg, #f3a637, #fbba57); }
.hot-box li:nth-child(3) b { color: #fff; background: linear-gradient(135deg, #ef5e74, #f58191); }

.hot-box span {
 overflow: hidden;
 color: #394158;
 font-size: 14px;
 font-weight: 400;
 text-overflow: ellipsis;
 white-space: nowrap;
}

.hot-box small {
 display: inline-flex;
 align-items: center;
 gap: 3px;
 color: #979fb0;
 font-size: 11px;
 white-space: nowrap;
}

.hot-box small svg {
 width: 16px;
 height: 16px;
 fill: none;
 stroke: currentColor;
 stroke-width: 1.8;
 stroke-linecap: round;
 stroke-linejoin: round;
}

.category-box {
 padding-bottom: 15px;
}

.category-box h2 {
 margin-bottom: 10px;
}

.category-box a {
 min-height: 42px;
 border-bottom: 1px solid #edf0f5;
 display: grid;
 grid-template-columns: 28px 1fr auto 14px;
 align-items: center;
 gap: 8px;
}

.category-box a:last-child {
 border-bottom: 0;
}

.category-box i {
 color: var(--violet);
 font-size: 21px;
 font-style: normal;
 text-align: center;
}

.category-box span {
 color: #424b61;
 font-size: 14px;
 font-weight: 600;
}

.category-box small {
 color: #8a93a7;
 font-size: 12px;
}

.category-box b {
 color: #8891a5;
 font-size: 21px;
 font-weight: 400;
}

.promo-box {
 position: relative;
 min-height: 184px;
 overflow: hidden;
 border-radius: 16px;
 color: #fff;
 background:
  radial-gradient(circle at 91% 92%, rgba(212, 191, 255, .7), transparent 22%),
  radial-gradient(circle at 90% 24%, rgba(177, 148, 255, .46), transparent 28%),
  linear-gradient(135deg, #5d34d2, #8a60ef);
 box-shadow: 0 16px 30px rgba(100, 62, 214, .18);
}

.promo-box::after {
 content: "✦";
 position: absolute;
 right: 36px;
 bottom: 18px;
 color: rgba(255, 255, 255, .5);
 font-size: 96px;
 line-height: 1;
 transform: rotate(-10deg);
}

.promo-box > div {
 position: relative;
 z-index: 1;
 padding: 26px;
}

.promo-box span {
 color: rgba(255, 255, 255, .78);
 font-size: 13px;
 font-weight: 700;
}

.promo-box h2 {
 margin-top: 8px;
 font-size: 27px;
}

.promo-box p {
 margin-top: 8px;
 color: rgba(255, 255, 255, .82);
 font-size: 13px;
}

.promo-box a,
.app-box a {
 margin-top: 18px;
 min-width: 98px;
 min-height: 32px;
 padding-inline: 12px;
 border-radius: 6px;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 color: var(--violet-deep);
 background: #fff;
 font-size: 12px;
 font-weight: 700;
}

.app-box {
 position: relative;
 min-height: 164px;
 overflow: hidden;
}

.app-box > div {
 position: relative;
 z-index: 2;
 width: 65%;
}

.app-box strong {
 margin-top: 9px;
 display: block;
 color: #59637d;
 font-size: 14px;
}

.app-box p {
 margin-top: 8px;
 color: #8b94a8;
 font-size: 12px;
}

.app-box a {
 margin-top: 14px;
 border: 1px solid #a78cf5;
 color: var(--violet-deep);
}

.app-box figure {
 position: absolute;
 right: -3px;
 bottom: -34px;
 width: 37%;
 height: 185px;
 overflow: hidden;
}

.app-box figure img {
 width: 100%;
 height: 100%;
 display: block;
 object-fit: contain;
 object-position: bottom center;
 transform: scale(1.38);
}

.pagination {
 margin-top: 8px;
 display: flex;
 align-items: center;
 justify-content: center;
 gap: 10px;
}

.pagination a,
.pagination span {
 min-width: 34px;
 height: 34px;
 padding-inline: 8px;
 border: 1px solid #dfe3ed;
 border-radius: 7px;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 color: #59637a;
 background: #fff;
 font-size: 13px;
 font-weight: 400;
 transition: color .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.pagination a.is-current,
.pagination a:hover {
 border-color: transparent;
 color: #fff;
 background: linear-gradient(135deg, #8063ed, #5c38d7);
}

.pagination span {
 min-width: 18px;
 border-color: transparent;
 background: transparent;
}

.pagination .next {
 min-width: 78px;
}

@media (max-width: 1180px) {
 .filter-tabs a {
  padding-inline: 13px;
  font-size: 13px;
 }

 .search {
  width: 190px;
 }

 .news-layout {
  grid-template-columns: minmax(0, 1.5fr) minmax(276px, .75fr);
  gap: 20px;
 }

 .article-card {
  grid-template-columns: minmax(190px, 33%) 1fr;
  gap: 17px;
 }

 .article-card > div > a {
  display: none;
 }
}

@media (max-width: 820px) {
 #news {
  padding-bottom: 36px;
 }

 .page-head {
  padding-top: 16px;
 }

 .news-banner {
  min-height: 120px;
  aspect-ratio: auto;
  border-radius: 18px;
 }

 .banner-copy {
  width: 78%;
  padding-left: 24px;
 }

 .banner-copy p {
  font-size: 30px;
 }

 .banner-copy h1 {
  margin-top: 8px;
  font-size: 14px;
 }

 .filter-bar {
  padding: 0;
 border: 0;
  display: block;
  overflow: visible;
  background: transparent;
  box-shadow: none;
 }

 .filter-tabs {
  width: calc(100% + 28px);
  margin-left: -14px;
  padding: 0 14px 7px;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
 }

 .filter-tabs::-webkit-scrollbar {
  display: none;
 }

 .filter-tabs a {
  min-height: 38px;
  padding-inline: 16px;
  border: 1px solid #e1e5ef;
  background: #fff;
  font-size: 14px;
 }

 .filter-tools {
  margin-top: 8px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 76px;
 }

 .filter-tools button,
 .search {
  min-width: 0;
  width: 100%;
 }

 .search-btn {
  min-width: 0 !important;
  padding-inline: 10px !important;
  gap: 5px;
  white-space: nowrap;
 }

 .news-layout {
  margin-top: 18px;
  grid-template-columns: 1fr;
 }

 .article-list {
  gap: 12px;
 }

 .article-card {
  height: 142px;
  padding: 9px;
  grid-template-columns: minmax(116px, 35%) 1fr;
  gap: 13px;
 }

 .article-card figure {
  height: 122px;
 }

 .article-card > div {
  padding: 4px 2px 2px 0;
 }

 .tag {
  padding: 4px 7px;
  font-size: 11px;
 }

 .article-card h2 {
  margin-top: 7px;
  font-size: 18px;
 }

 .article-card p {
  margin-top: 7px;
  font-size: 13px;
  line-height: 1.5;
 }

 .article-meta {
  margin-top: 7px;
  gap: 12px;
  font-size: 11px;
 }

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

 .side-box,
 .app-box {
  padding: 20px;
 }

.promo-box {
  min-height: 170px;
 }

 .pagination {
  gap: 7px;
 }

 .pagination a,
 .pagination span {
  min-width: 30px;
  height: 30px;
 }
}

@media (max-width: 390px) {
 .article-card {
  grid-template-columns: 112px 1fr;
 }

 .article-card h2 {
  font-size: 17px;
 }

 .article-card p {
  -webkit-line-clamp: 2;
 }

 .article-meta small {
  display: none;
 }

 .pagination a:nth-of-type(4),
 .pagination a:nth-of-type(5),
 .pagination span,
 .pagination a:nth-of-type(6) {
  display: none;
 }
}
