:root {
  --list-ink: #172033;
  --list-muted: #68758a;
  --list-brand: #921241;
  --list-line: rgba(37, 37, 38, .12);
  --list-max: 1180px;
}

body.cms-list-page {
  margin: 0;
  color: var(--list-ink);
  background: linear-gradient(180deg, #f8fbff 0%, #f4f7fb 58%, #eef2f7 100%);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC",
    "Microsoft YaHei", Arial, sans-serif;
}

.cms-list-page a {
  color: inherit;
  text-decoration: none;
}

.cms-list-page img {
  max-width: 100%;
}

.cms-list-shell {
  width: min(var(--list-max), calc(100% - 40px));
  margin: 0 auto;
}

.cms-list-hero {
  position: relative;
  overflow: hidden;
  padding: 54px 0 56px;
  border-bottom: 1px solid rgba(37, 37, 38, .08);
  background:
    linear-gradient(118deg, rgba(255, 255, 255, .98), rgba(247, 243, 245, .95) 56%, rgba(238, 221, 228, .72)),
    radial-gradient(circle at 86% 24%, rgba(146, 18, 65, .14), transparent 34%);
}

.cms-list-hero::before {
  content: "";
  position: absolute;
  inset: -100px -80px -80px;
  pointer-events: none;
  background:
    linear-gradient(126deg, transparent 0 12%, rgba(255, 255, 255, .9) 23%, transparent 40%),
    radial-gradient(ellipse at 16% 88%, rgba(146, 18, 65, .08), transparent 42%);
}

.cms-list-hero__inner {
  position: relative;
}

.cms-list-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-bottom: 28px;
  color: var(--list-muted);
  font-size: 13px;
  line-height: 1.6;
}

.cms-list-breadcrumb a {
  color: var(--list-brand);
  font-weight: 800;
}

.cms-list-breadcrumb a + a::before,
.cms-list-breadcrumb a + span::before {
  content: "/";
  margin: 0 8px;
  color: rgba(37, 37, 38, .34);
}

.cms-list-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  color: var(--list-brand);
  border: 1px solid rgba(146, 18, 65, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .62);
  font-size: 12px;
  font-weight: 900;
}

.cms-list-hero h1 {
  max-width: 900px;
  margin: 16px 0 0;
  color: #101827;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.15;
  font-weight: 900;
}

.cms-list-hero h1 span {
  color: var(--list-brand);
}

.cms-list-hero p {
  max-width: 720px;
  margin: 16px 0 0;
  color: #56657b;
  font-size: 16px;
  line-height: 1.8;
}

.cms-list-section {
  padding: 58px 0 78px;
}

.cms-list-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 24px;
  align-items: start;
}

.cms-list-main {
  min-width: 0;
}

.cms-list-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.cms-list-head h2 {
  margin: 0;
  color: #121b2c;
  font-size: 24px;
  line-height: 1.35;
}

.cms-list-head p {
  margin: 6px 0 0;
  color: var(--list-muted);
  font-size: 13px;
}

.cms-list-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-bottom: 20px;
}

.cms-list-search input {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 13px;
  border: 1px solid rgba(37, 37, 38, .14);
  border-radius: 8px;
  outline: 0;
  background: rgba(255, 255, 255, .78);
}

.cms-list-search input:focus {
  border-color: rgba(146, 18, 65, .42);
  box-shadow: 0 0 0 3px rgba(146, 18, 65, .08);
}

.cms-list-search button {
  min-width: 78px;
  height: 44px;
  padding: 0 16px;
  color: #fff;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #252526, #921241);
  font-weight: 800;
  cursor: pointer;
}

.cms-list-items {
  display: grid;
  gap: 14px;
}

.cms-list-item {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .86);
  border-radius: 14px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 18px 48px rgba(31, 55, 91, .07);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.cms-list-item:hover {
  transform: translateY(-3px);
  border-color: rgba(146, 18, 65, .22);
  box-shadow: 0 24px 56px rgba(146, 18, 65, .11);
}

.cms-list-thumb {
  display: block;
  width: 220px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 10px;
  background: #e9edf3;
}

.cms-list-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.cms-list-item:hover .cms-list-thumb img {
  transform: scale(1.04);
}

.cms-list-content {
  min-width: 0;
}

.cms-list-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--list-muted);
  font-size: 12px;
  line-height: 1.5;
}

.cms-list-meta strong {
  color: var(--list-brand);
  font-weight: 900;
}

.cms-list-content h3 {
  margin: 8px 0 0;
  color: #121b2c;
  font-size: 19px;
  line-height: 1.5;
}

.cms-list-content h3 a:hover {
  color: var(--list-brand);
}

.cms-list-summary {
  display: -webkit-box;
  overflow: hidden;
  margin: 9px 0 0;
  color: #5d6b7d;
  font-size: 14px;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.cms-list-more {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  color: var(--list-brand);
  font-size: 13px;
  font-weight: 900;
}

.cms-list-more::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-top: 1.7px solid currentColor;
  border-right: 1.7px solid currentColor;
  transform: rotate(45deg);
}

.cms-list-sidebar {
  position: sticky;
  top: 84px;
  display: grid;
  gap: 14px;
}

.cms-list-sidebar-card {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .84);
  border-radius: 14px;
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 18px 48px rgba(31, 55, 91, .07);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}

.cms-list-sidebar-card h2 {
  margin: 0;
  color: #121b2c;
  font-size: 18px;
  line-height: 1.4;
}

.cms-list-sidebar-card p {
  margin: 10px 0 0;
  color: var(--list-muted);
  font-size: 13px;
  line-height: 1.75;
}

.cms-list-sidebar-links {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.cms-list-sidebar-links a {
  display: block;
  padding: 9px 0;
  border-bottom: 1px solid var(--list-line);
  color: #46536a;
  font-size: 13px;
  line-height: 1.5;
}

.cms-list-sidebar-links a:last-child {
  border-bottom: 0;
}

.cms-list-sidebar-links a:hover {
  color: var(--list-brand);
}

.cms-list-sidebar-card--cta {
  color: #fff;
  border: 0;
  background: linear-gradient(135deg, rgba(37, 37, 38, .98), rgba(146, 18, 65, .92));
}

.cms-list-sidebar-card--cta h2,
.cms-list-sidebar-card--cta p {
  color: #fff;
}

.cms-list-sidebar-card--cta p {
  color: rgba(255, 255, 255, .78);
}

.cms-list-sidebar-card--cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  margin-top: 16px;
  border-radius: 7px;
  color: #24252a;
  background: #fff;
  font-size: 13px;
  font-weight: 900;
}

.cms-list-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 26px;
  color: var(--list-muted);
  font-size: 13px;
}

.cms-list-pagination a,
.cms-list-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid rgba(146, 18, 65, .16);
  border-radius: 7px;
  background: rgba(255, 255, 255, .72);
}

.cms-list-pagination a:hover,
.cms-list-pagination .thisclass {
  color: #fff;
  background: linear-gradient(135deg, #252526, #921241);
}

@media (max-width: 980px) {
  .cms-list-layout {
    grid-template-columns: 1fr;
  }

  .cms-list-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .cms-list-shell {
    width: min(100% - 28px, var(--list-max));
  }

  .cms-list-hero {
    padding: 42px 0 44px;
  }

  .cms-list-section {
    padding: 42px 0 58px;
  }

  .cms-list-head {
    display: block;
  }

  .cms-list-head p {
    margin-top: 8px;
  }

  .cms-list-item {
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 12px;
  }

  .cms-list-thumb {
    width: 100%;
  }

  .cms-list-sidebar {
    grid-template-columns: 1fr;
  }

  .cms-list-search {
    grid-template-columns: 1fr;
  }

  .cms-list-search button {
    width: 100%;
  }
}
