.content-grid {
  position: relative;
  display: grid;
  width: 1400px;
  margin: 15px auto 0;
  grid-template-columns: minmax(0, 1168px) 200px;
  gap: 32px;
  align-items: start;
}

.content-main {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.news-card {
  position: relative;
  z-index: 1;
  padding: 28px 24px;
  border-radius: 16px;
  background: #fff;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 28px;
  color: #6c757d;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
}

.breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.news-card h1,
.quick-card h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 23px;
  padding: 0 0 5px;
  border-bottom: 1px solid #e9ecef;
  color: #212529;
  font-family: "PingFang SC", sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 22px;
}

.news-card h1::before,
.quick-card h2::before {
  width: 4px;
  height: 22px;
  flex: 0 0 4px;
  border-radius: 2px;
  background: var(--accent-gradient);
  content: "";
}

.news-list {
  display: flex;
  margin: 0;
  padding: 0;
  flex-direction: column;
  gap: 12px;
  list-style: none;
}

.news-row {
  display: flex;
  min-width: 0;
  height: 60px;
  align-items: center;
  gap: 8px;
  padding: 10px 32px 10px 12px;
  border: 0;
  border-radius: 8px;
  background: rgba(243, 242, 255, 0.5);
  transition: background 160ms ease;
}

.news-row > a {
  order: 2;
  min-width: 0;
  flex: 1;
  overflow: hidden;
  color: #000;
  font-family: "PingFang SC", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-row time {
  order: 3;
  width: 120px;
  flex: 0 0 120px;
  margin-left: auto;
  color: #999;
  font-family: "PingFang SC", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  text-align: right;
  white-space: nowrap;
}

.news-row time::before {
  content: attr(datetime);
}

.news-row time span {
  display: none;
}

.news-badge {
  position: relative;
  order: 1;
  display: block;
  width: 48px;
  height: 40px;
  flex: 0 0 48px;
  margin-right: -14.4px;
  transform: scale(0.7);
  transform-origin: left center;
}

.news-badge::before {
  position: absolute;
  top: 1px;
  left: 9.949px;
  width: 36.55px;
  height: 26px;
  border-radius: 4px;
  background: linear-gradient(90deg, #674fff 0.747%, #0a68fe 102.86%);
  content: "";
  transform: rotate(9.965deg);
  transform-origin: center;
}

.news-badge::after {
  position: absolute;
  top: 10.668px;
  left: 2px;
  width: 40px;
  height: 26px;
  border: 0.6px solid #fff;
  border-radius: 4px;
  box-sizing: border-box;
  background: linear-gradient(-62.417967787576345deg, rgba(169, 200, 255, 0.65) 11.407%, rgba(212, 202, 255, 0.65) 90.989%);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  content: "";
}

.news-badge-shape {
  display: none;
}

.news-badge-label {
  position: absolute;
  z-index: 1;
  top: 13.668px;
  left: 6px;
  color: #fff;
  font-family: "PingFang SC", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  white-space: nowrap;
}

.pagination {
  display: flex;
  margin: 28px 0 0;
  padding: 0;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  min-width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border: 0;
  border-radius: 6px;
  color: #000;
  background: #f9f9ff;
  font-size: 14px;
  line-height: 30px;
  text-align: center;
  text-decoration: none;
}

.pagination a[aria-current="page"],
.pagination a:active {
  color: #fff;
  background: var(--control-gradient);
}

@media (hover: hover) and (pointer: fine) {
  .pagination a {
    transition: color 140ms ease, background-color 140ms ease, filter 140ms ease;
  }

  .pagination a:not([aria-current="page"]):hover,
  .pagination a:not([aria-current="page"]):focus-visible {
    color: #405aff;
    background: #f0efff;
    outline: none;
  }

  .pagination a[aria-current="page"]:hover,
  .pagination a[aria-current="page"]:focus-visible {
    filter: brightness(0.92);
    outline: none;
  }
}

.quick-card {
  position: relative;
  z-index: 2;
  padding: 24px 20px 20px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: none;
}

.quick-card h2 {
  font-size: 20px;
}

.quick-card nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.quick-card a {
  display: flex;
  min-height: 38px;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 8px;
  color: #000;
  background: rgba(243, 242, 255, 0.5);
  font-family: "PingFang SC", sans-serif;
  font-size: 18px;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease;
}

.quick-card svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: #303030;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.8;
}

@media (hover: hover) and (pointer: fine) {
  .news-row:hover {
    background: linear-gradient(90deg, #f1f0ff 0%, #f0efff 100%);
  }

  .quick-card a:hover {
    color: #000;
    background: rgba(243, 242, 255, 0.78);
  }
}

@media (max-width: 768px) {
  .content-grid {
    display: block;
    width: 375px;
    margin: 8px 0 0;
    overflow: clip;
  }

  .content-main {
    width: 375px;
  }

  .news-card {
    width: 343px;
    margin: 0 16px;
    padding: 16px;
    border-radius: 16px;
  }

  .breadcrumbs {
    min-height: 18px;
    gap: 7px;
    margin-bottom: 14px;
    color: #7b8798;
    font-size: 12px;
    line-height: 18px;
    white-space: nowrap;
  }

  .breadcrumbs > span[aria-hidden="true"] {
    color: #a7b1c0;
  }

  .news-card h1 {
    gap: 10px;
    margin-bottom: 0;
    padding-bottom: 5px;
    border-color: #e5eaf2;
    color: #1f2a38;
    font-size: 16px;
    line-height: 22px;
  }

  .news-card h1::before {
    width: 4px;
    height: 20px;
    flex-basis: 4px;
  }

  .news-list {
    gap: 0;
    padding-top: 12px;
  }

  .news-list > li:not(:last-child) {
    margin-bottom: 8px;
  }

  .news-row {
    position: relative;
    display: flex;
    min-height: 85px;
    height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 10px 10px;
    background: rgba(243, 242, 255, 0.5);
  }

  .news-row > a {
    order: 1;
    display: -webkit-box;
    min-width: 0;
    flex: 1;
    overflow: hidden;
    font-size: 13px;
    line-height: 20px;
    text-align: justify;
    text-overflow: clip;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .news-row time {
    order: 2;
    display: flex;
    width: auto;
    min-width: 0;
    height: auto;
    flex: none;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    margin: 5px 0 0;
    color: #999;
    font-size: 12px;
    line-height: 17px;
    text-align: left;
  }

  .news-row time::before {
    display: none;
  }

  .news-row time span {
    display: inline;
  }

  .news-badge {
    position: absolute;
    z-index: 1;
    top: -4px;
    left: -2px;
    display: block;
    width: 26px;
    height: 20px;
    margin: 0;
    pointer-events: none;
    transform: none;
  }

  .news-badge::before {
    top: 15px;
    left: 0;
    width: 2px;
    height: 2px;
    border-radius: 0;
    background: #5949d4;
    transform: none;
  }

  .news-badge::after {
    display: none;
  }

  .news-badge-shape {
    position: absolute;
    top: 2px;
    left: 0;
    display: block;
    width: 26px;
    height: 15px;
  }

  .news-badge-label {
    top: 2px;
    left: 6px;
    display: flex;
    height: 13px;
    align-items: center;
    font-size: 7px;
    line-height: normal;
  }

  .pagination {
    gap: 8px;
    margin-top: 16px;
  }

  .pagination a,
  .pagination span {
    min-width: 34px;
    height: 32px;
    padding: 0 8px;
    border-radius: 8px;
    color: #1f2a38;
    font-family: "PingFang SC", sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    white-space: nowrap;
    transform: scale(0.9);
    transform-origin: center;
  }

  .pagination a[aria-current="page"],
  .pagination a:active {
    color: #fff;
  }

  .quick-card {
    display: none;
  }
}
