a{text-decoration-thickness:1px!important;text-underline-offset:.1em}:where(.wp-site-blocks :focus){}.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child){margin-bottom:3px}.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content{outline-offset:4px}.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content{outline-offset:0}blockquote,caption,figcaption,h1,h2,h3,h4,h5,h6,p{text-wrap:pretty}.more-link{display:block}:where(pre){overflow-x:auto}

b {
    font-weight: bold;
}
.homer-banner {
  margin-top: 0;
  height: 360px;
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: cover;
  background-image: url(/wp-content/themes/twentytwentyfive/assets/images/home-banner.png);
}

.main-filter {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #D9D9D9;
}

.main-filter form {
  margin: 0 !important;
}

.main-content {
  margin: var(--wp--preset--spacing--60) auto;
  min-height: calc(100vh - 610px);
  width: 1200px;
}
.wp-pages-search {
  width: 430px;
  padding: 10px;
  height: 40px;
  box-sizing: border-box;
  font-size: 16px;
  border: 1px solid #D9D9D9;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  vertical-align: middle;
}

.wp-pages-search:focus {
  outline: none;
  border-color: #1275ff;
}

.wp-pages-primary-submit {
  vertical-align: middle;
  border: 1px solid #D9D9D9;
  border-left: none;
  outline: none;
  font-size: 16px;
  padding: 2px 10px;
  height: 40px;
  line-height: 40px;
  text-decoration: none;
  background: #fff;
  color: #2a2a2a;
  border-radius: 0px;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  transition: background 0.3s, color 0.3s;
  cursor: pointer;
}
.wp-pages-primary-submit:hover {
  background: #3370FF;
  color: #fff;
}

.article-title {
  margin: 24px 0;
}

.article-metas {
  display: flex;
  align-items: center;
  padding-bottom: 24px;
}

.article-metas-icon {
  width: 32px;
  height: 32px;
  margin-right: 6px;
}

.article-metas-author {
  font-size: 14px;
  line-height: 22px;
  color: #4E5866;
  margin-right: 16px;
}

.article-metas-date {
  font-size: 14px;
  line-height: 22px;
  color: #bdbdbd;
}

/* 插件： 文章列表 */
.article-list {
  margin-top: 24px;
}
.article-list-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(284px, 1fr));
  margin-bottom: 24px;
}

/* 插件： 博客文章卡片 */
.wp-post-card-link {
  text-decoration: none;
  color: inherit;
  outline: none;
}

.wp-post-card {
  position: relative;
  height: 470px;
  border-radius: 20px;
  box-sizing: border-box;
  overflow: hidden;
  border: 1px solid #3370FF26;
  border: 1px solid #3370FF26;
  transition: border 0.5s ease, box-shadow 0.5s ease;
  font-size: 0;
}

.wp-post-card:hover {
  border: 1px solid #3370FF26;
  box-shadow: 0px 2px 4px 0px #3370FF26;
}

.wp-post-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.wp-card-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  justify-content: space-between;
}

.wp-card-card-icon {
  width: 32px;
  height: 32px;
  margin-right: 6px;
  vertical-align: -14px;
}

.wp-card-card-author {
  font-size: 14px;
  line-height: 22px;
  color: #4E5866;
  margin-right: 16px;
}

.wp-card-card-date {
  font-size: 14px;
  line-height: 22px;
  color: #bdbdbd;
}

.wp-post-card-title {
  padding: 0 24px;
  font-size: 16px;
  line-height: 24px;
  font-weight: bold;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  overflow-wrap: break-word;
}

.wp-post-card-content {
  padding: 16px 24px 0;
  font-size: 14px;
  line-height: 22px;
  font-weight: normal;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
  overflow-wrap: break-word;
}

/* 插件： 过滤器 */
#wp-filter-panel {
  font-weight: normal;
  display: flex;
  gap: 16px;
  align-items: center;
}

.wp-filter-item {
  padding: 5px 8px;
  font-size: 18px;
  border-radius: 6px;
  line-height: 22px;
  transition: all 0.3s;
  cursor: pointer;
}
.wp-filter-item:hover {
  background: linear-gradient(180deg, #EFF6FF 0%, #FAFAFA 100%);
}

.wp-filter-item-checked {
  color: #3370FF;
  font-weight: bold;
}


.releted-articles-panel {
  padding: 20px 0 80px;
}
.releted-articles-title {
  font-weight: bold;
  font-size: 48px;
  line-height: 67px;
  color: #000000D9;
}
.releted-articles-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(284px, 1fr));
  gap: 30px 24px;
}

/* arrticle toc */
/* TOC 容器 */
.case-toc-fixed {
    position: fixed;
    box-sizing: border-box;
    top: 520px;
    left: 3.5%;
    width: 12%;
    max-width: 250px;
    max-height: calc(100vh - 200px);
    overflow: auto;
    box-shadow: 0 0 5px 0 #8b8b8b;
    border-radius: 8px;
    background: #fff;
    padding: 16px 18px;
    font-size: 14px;
    z-index: 99;
}

/* 标题 */
.case-toc-fixed strong {
    display: block;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 列表 */
.case-toc-fixed ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.case-toc-fixed li {
    font-size: 12px;
    margin: 6px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.case-toc-fixed li.level-1 {  /* h1 */
    font-size: 16px;
    font-weight: bold;
}
.case-toc-fixed li.level-2 {  /* h2 */
    padding-left: 14px;
    font-size: 14px;
}

/* 子级标题缩进 */
.case-toc-fixed li.level-3 {
    padding-left: 28px;
}
.case-toc-fixed li.level-4 {
    padding-left: 42px;
}
.case-toc-fixed li.level-5 {
    padding-left: 56px;
}

/* 链接 */
.case-toc-fixed a {
    color: #333;
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.2s;
}

/* hover */
.case-toc-fixed a:hover {
    color: #0052d9;
}

/* 当前高亮 */
.case-toc-fixed a.active {
    color: #0052d9;
    font-weight: 600;
}

/* 小屏隐藏（移动端） */
@media (max-width: 1400px) {
    .case-toc-fixed {
        display: none;
    }
}

.article-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
  margin-top: 48px;
}
.page-numbers {
  display: inline-block;
  width: 32px;
  height: 32px;
  border-radius: 2px;
  border: 1px solid #D9D9D9;
  font-size: 14px;
  line-height: 32px;
  text-align: center;
  color: rgba(0, 0, 0, 0.85);
  text-decoration: none;
}
.page-numbers.dots {
  border: none;
  font-weight: bold;
}
.page-numbers.disabled {
  border-color: #D9D9D9;
  color: #D9D9D9;
  cursor: not-allowed;
}
.page-numbers.current {
  border-color: #1890FF;
  color: #1890FF;
}
.page-numbers:hover {
  border-color: #1890FF;
}
.page-numbers.disabled:hover {
  border-color: #D9D9D9;
}