.page-list {
  padding: 28px 0 0;
  background: var(--bg);
}

.list-hero {
  text-align: center;
  padding: 40px 20px 32px;
  background: linear-gradient(180deg, var(--card) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}

.list-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: -0.02em;
}

.list-hero p {
  margin: 0 auto;
  max-width: 600px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #5a6069;
}

.list-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.35fr) minmax(260px, 0.9fr);
  gap: 34px;
}

.section-kicker {
  margin: 0 0 8px;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7a8898;
  font-weight: 700;
}

.section-head h1 {
  margin: 0;
  font-size: clamp(2rem, 3.1vw, 2.7rem);
  line-height: 1.15;
  font-family: Georgia, "Times New Roman", serif;
  color: #1f1f1f;
}

.section-head p {
  margin: 12px 0 24px;
  color: #4d5a67;
  font-size: 1.02rem;
}

.list-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 330px;
  gap: 0;
  align-items: stretch;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0;
  overflow: hidden;
  padding: 0;
  margin-bottom: 18px;
  box-shadow: var(--shadow);
  height: 330px;
  min-height: 330px;
  max-height: 330px;
}

/* 无封面图时正文占满整卡宽度（避免空出一列） */
.list-item:not(:has(> img)):not(:has(> a)) {
  grid-template-columns: 1fr;
}

.list-item:not(:has(> img)):not(:has(> a)) .list-item__content,
.list-item:not(:has(> a > img)) .list-item__content {
  width: 100%;
  max-width: 100%;
}

.list-item > a,
.list-item > img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.list-item > a img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: var(--bg);
  border-radius: 0;
}

.list-item > img {
  object-fit: cover;
  object-position: center;
  background: var(--bg);
  border-radius: 0;
}

.list-item__content {
  display: flex;
  flex-direction: column;
  padding: 24px 30px 20px;
  min-height: 0;
  overflow: hidden;
}

.meta {
  margin: 0 0 10px;
  color: #9a7417;
  font-size: 1rem;
  letter-spacing: 0;
  font-weight: 700;
  text-transform: none;
}

.list-item h2 {
  margin: 0 0 10px;
  font-size: 2rem;
  line-height: 1.2;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #17294a;
}

.time {
  margin: 0 0 10px;
  font-size: 0.82rem;
  color: #7f8a96;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.time-icon {
  width: 12px;
  height: 12px;
  border: 1px solid #9ca6b2;
  border-radius: 2px;
  display: inline-block;
  opacity: 0.85;
}

.time-icon.comment {
  border-radius: 3px;
}

.time-icon.note {
  border-radius: 1px;
}

.desc {
  margin: 0;
  font-size: 1.15rem;
  color: #32495f;
  line-height: 1.55;
  font-family: Georgia, "Times New Roman", serif;
}

.list-item p {
  margin: 0;
}

.sidebar {
  align-self: start;
  position: sticky;
  top: 96px;
  display: grid;
  gap: 0;
}

.widget {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 14px 14px 12px;
  box-shadow: var(--shadow);
}

.sidebar .widget + .widget {
  border-top: 0;
}

.widget h3 {
  margin: 0 0 10px;
}

.widget-collapse summary {
  list-style: none;
  cursor: default;
  font-weight: 700;
  color: #2f3b47;
  font-size: 0.95rem;
}

.widget-collapse summary::-webkit-details-marker {
  display: none;
}

.widget-body {
  margin-top: 10px;
}

.search-box form {
  display: flex;
  gap: 10px;
  width: 100%;
}

.search-box {
  background: #f1f3f5;
  border-radius: 6px;
  padding: 10px;
}

.search-box input {
  flex: 1;
  border: 0;
  background: transparent;
  border-radius: 4px;
  padding: 0.8rem 0.55rem;
  font-size: 0.95rem;
  color: #5d6874;
  outline: none;
}

.search-box input::placeholder {
  color: #9ca6b1;
}

.search-box button {
  border: none;
  width: 52px;
  min-width: 52px;
  border-radius: 7px;
  background: #D98A5B;
  color: #fff;
  padding: 0;
  font-size: 1.32rem;
  line-height: 52px;
  text-align: center;
  font-weight: 400;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.search-box button:hover {
  background: #a58447;
  box-shadow: none;
}

.widget ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.widget li {
  margin-bottom: 8px;
}

.widget li a {
  color: #506172;
  font-size: 0.92rem;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 24px 0 12px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--card);
  color: var(--text);
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.pagination__prev,
.pagination__next {
  padding: 0 14px;
}

.pagination__num.is-active {
  background: var(--btn);
  border-color: var(--btn);
  color: #fff;
}

.pagination a:hover:not(.is-active) {
  background: var(--focus-bg);
  border-color: #c9a86c;
  color: #8b6914;
}

.pagination__dots {
  background: transparent;
  border: 0;
  color: #888;
  cursor: default;
}

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

  .list-item {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 12px;
    padding: 0;
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .list-item > a,
  .list-item > img {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 380 / 263;
  }

  .list-item > a img {
    width: 100%;
    height: 100%;
    aspect-ratio: 380 / 263;
  }

  .list-item h2 {
    font-size: 1.5rem;
  }

  .list-item__content {
    padding: 16px;
    overflow: visible;
  }

  .sidebar {
    position: static;
  }

  .widget-collapse {
    padding: 10px 12px;
  }

  .widget-collapse summary {
    cursor: pointer;
    position: relative;
    padding-right: 18px;
    margin: 0;
  }

  .widget-collapse summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 0;
    color: #6b6b6b;
    font-size: 1rem;
  }

  .widget-collapse[open] summary::after {
    content: "-";
  }

  .widget-collapse .widget-body {
    margin-top: 10px;
  }
}
