.list-banner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  background: #ece6dc;
}
.list-banner img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.list-wrap { padding: 22px 0 36px; }
.list-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: start;
}

.list-main {
  background: white;
  border: none;
  border-radius: 5px;
  box-shadow: none;
  padding: 0;
  box-sizing: border-box;
  padding: 33px;
}

.list-side .side-card,
.side-card {
  background: #fafbfc;
  border: none;
  border-radius: 5px;
  box-shadow: none;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}
.side-entry {
  display: block;
  width: 300px;
  height: 180px;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.side-entry img {
  display: block;
  width: 300px;
  height: 180px;
  object-fit: cover;
}

.today {
  background: #fafbfc;
  border: none;
  border-radius: 12px;
  box-shadow: none;
}

.list-channel {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 2px solid #f1ece4;
}
.list-channel h1 {
  position: relative;
  padding-left: 14px;
  font-size: 24px;
  line-height: 1.2;
}
.list-channel h1::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 2px;
  background: var(--red);
}
.list-channel p {
  color: var(--muted);
  font-size: 13px;
}

.sub-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 16px;
  background: #f5f5f5;
  border-radius: 0;
}
.sub-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 20px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #666;
  font-size: 14px;
  transition: color .2s ease;
}
.sub-nav a:hover { color: var(--red); }
.sub-nav a.is-active,
.sub-nav a.is-active:hover {
  color: var(--red);
  background: #fff;
}
.sub-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--red);
}

.article-list { list-style: none; }
.article-item {
  padding: 18px 0;
  border-bottom: 1px dashed #e3d7c7;
}
.article-item:last-child { border-bottom: 0; }
.article-item__title {
  font-size: 18px;
  /* font-weight: 700; */
  line-height: 1.45;
  margin-bottom: 8px;
  color: var(--ink);
}
.article-item__title a:hover { color: var(--red); }
.article-item p:not(.article-item__title) {
  color: #949494;
  font-size: 13px;
  line-height: 1.8;
}
.article-item__more {
  display: inline-flex;
  align-items: center;
  height: 24px;
  margin-left: 8px;
  padding: 0 10px;
  border-radius: 999px;
  /* background: var(--red); */
  color: var(--red-dark);
  font-size: 12px;
  white-space: nowrap;
  vertical-align: middle;
}
/* .article-item__more:hover { background: var(--red-dark); color: #fff; } */

.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 0 8px;
  border-top: 1px dashed #e3d7c7;
  margin-top: 8px;
}
.pager__btn,
.pager__pages a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid #eadfd1;
  border-radius: 8px;
  background: #faf7f2;
  color: var(--muted);
  font-size: 13px;
}
.pager__pages { display: flex; flex-wrap: wrap; gap: 8px; }
.pager__btn:hover,
.pager__pages a:hover {
  border-color: #d9b3ae;
  color: var(--red);
  background: #fff7f4;
}
.pager__pages a.is-active,
.pager__pages a.is-active:hover {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
  font-weight: 600;
}
.pager__info {
  width: 100%;
  margin: 4px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  display: contents;
}
.pager__info strong { color: var(--red); margin: 0 2px; }

.today {
  margin-top: 22px;
  padding: 14px 16px 0px;
}
.today__title {
  position: relative;
  padding-left: 12px;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 700;
}
.today__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 3px;
  border-radius: 2px;
  background: var(--red);
}
.today__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}
.today__list li {
  width: 50%;
  padding-right: 12px;
}
.today__list a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  color: #334048;
  font-size: 14px;
}
.today__list a i {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}
.today__list span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.today__list a:hover { color: var(--red); }

.list-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}
.side-card { padding: 14px 16px 10px; min-width: 0; overflow: hidden; }
.side-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 10px;
  margin-bottom: 4px;
  border-bottom: 1px solid #f3eee6;
}
.side-card__head strong {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
}
.side-card__head strong::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  background-color: var(--red);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3Cpolyline points='10 9 9 9 8 9'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3Cpolyline points='10 9 9 9 8 9'/%3E%3C/svg%3E") center / contain no-repeat;
}
.side-card__head strong:has(.icon-like)::before,
.side-card__head strong:has(.icon-hot)::before {
  display: none;
}
.icon-like,
.icon-hot {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: middle;
  margin-right: 0;
}
.icon-like {
  background-image: url('/static/index/img/like.png');
}
.icon-hot {
  background-image: url('/static/index/img/hot.png');
}
.side-card__head a {
  flex: none;
  display: inline-flex;
  align-items: center;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--red);
  font-size: 12px;
}
.side-card__head a:hover {
  background: transparent;
  color: var(--red-dark);
  text-decoration: underline;
}
.side-card ul { list-style: none; }
.side-card li {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.side-card li a {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  padding: 9px 0 9px 14px;
  border-bottom: 1px dashed #f0e8dc;
  color: #334048;
  font-size: 13px;
  overflow: hidden;
}
.side-card li a span {
  display: block;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.side-card li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  transform: translateY(-50%);
}
.side-card li:last-child a { border-bottom: 0; }
.side-card li a:hover { color: var(--red); }

.side-ad {
  display: block;
  overflow: hidden;
}
.side-ad img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .list-banner img { height: 160px; }
  .list-layout { grid-template-columns: 1fr; }
  .list-channel {
    flex-direction: column;
    align-items: flex-start;
  }
  .pager__info {
    width: 100%;
  }
  .list-side .side-entry{
    display: none;
  }
}

@media (max-width: 720px) {
  .list-main { padding: 0; }
  .list-channel h1 { font-size: 20px; }
  .article-item__title { font-size: 16px; }
  .today__list li {
    width: 100%;
    padding-right: 0;
  }
  .pager__btn,
  .pager__pages a {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    font-size: 12px;
  }


}
