/* PSEO Plugin Styles - Based on Nuxt Project */

/* Hide WordPress page title */
/* .entry-title,
.page-title,
.post-title,
h1.entry-title,
h1.page-title,
.site-content .entry-header,
.site-content .entry-header .entry-title,
article .entry-header,
article .entry-header .entry-title,
body .entry-title,
body .page-title,
.entry-content .entry-title,
.entry-content .page-title,
.entry-content h1:first-child,
.entry-content > h1,
.post-content h1:first-child,
.post-content > h1,
.content-area h1:first-child,
.content-area > h1 {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
} */

/* Global Reset for PSEO Content - High Priority */
.pseo-content-wrapper,
body .pseo-content-wrapper,
.entry-content .pseo-content-wrapper,
#content .pseo-content-wrapper,
.site-content .pseo-content-wrapper {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 auto !important;
}

/* Container - Responsive widths matching Nuxt project - High Priority */
/* ._container,
.container,
.pseo-content-wrapper ._container,
.pseo-content-wrapper .container,
body ._container,
body .container,
.entry-content ._container,
.entry-content .container,
#content ._container,
#content .container {
  max-width: 100% !important;
  margin: 0 auto !important;
  width: 100% !important;
  box-sizing: border-box !important;
} */

/* @media (min-width: 768px) {
  ._container,
  .container,
  .pseo-content-wrapper ._container,
  .pseo-content-wrapper .container,
  body ._container,
  body .container,
  .entry-content ._container,
  .entry-content .container,
  #content ._container,
  #content .container {
    max-width: 720px !important;
    padding: 0 20px !important;
  }
}

@media (min-width: 992px) {
  ._container,
  .container,
  .pseo-content-wrapper ._container,
  .pseo-content-wrapper .container,
  body ._container,
  body .container,
  .entry-content ._container,
  .entry-content .container,
  #content ._container,
  #content .container {
    max-width: 960px !important;
    padding: 0 20px !important;
  }
}

@media (min-width: 1200px) {
  ._container,
  .container,
  .pseo-content-wrapper ._container,
  .pseo-content-wrapper .container,
  body ._container,
  body .container,
  .entry-content ._container,
  .entry-content .container,
  #content ._container,
  #content .container {
    max-width: 1140px !important;
    padding: 0 20px !important;
  }
}

@media (min-width: 1400px) {
  ._container,
  .container,
  .pseo-content-wrapper ._container,
  .pseo-content-wrapper .container,
  body ._container,
  body .container,
  .entry-content ._container,
  .entry-content .container,
  #content ._container,
  #content .container {
    max-width: 1320px !important;
    padding: 0 20px !important;
  }
}

@media (max-width: 767px) {
  ._container,
  .container,
  .pseo-content-wrapper ._container,
  .pseo-content-wrapper .container,
  body ._container,
  body .container,
  .entry-content ._container,
  .entry-content .container,
  #content ._container,
  #content .container {
    width: 100% !important;
    padding: 0 12px !important;
  }
} */

/* Blog Home */
.blog-home,
.pseo-content-wrapper,
body .blog-home,
.entry-content .blog-home,
#content .blog-home,
.site-content .blog-home {
  padding-bottom: 30px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 auto !important;
}

/* Ensure content wrapper has proper width */
.blog-home > *,
.pseo-content-wrapper > * {
  box-sizing: border-box !important;
}

/* Override WordPress theme content width restrictions */
/* body .entry-content,
body #content,
body .site-content,
body .content-area {
  max-width: 100% !important;
}

body .entry-content .blog-home,
body #content .blog-home,
body .site-content .blog-home,
body .content-area .blog-home {
  max-width: 100% !important;
  width: 100% !important;
} */

/* Banner */
.banner {
  height: 220px;
  background: #e5d7f5;
  text-align: center;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.banner-pc {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 10;
  transform: translateX(-50%);
  object-fit: cover;
}

.banner-mobile {
  display: none;
  object-fit: cover;
}

.banner-title-box {
  position: absolute;
  z-index: 11;
  left: 20px;
  top: 20%;
}

.banner-title-box-home {
  left: -50% !important;
  right: -50%;
}

.banner-title {
  text-align: center;
}

.banner-title h1 {
  font-size: 36px;
  font-weight: 400;
  color: #ffffff;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 10px;
}

.banner-title span {
  font-size: 16px;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #fff;
  font-weight: 400;
  display: block;
}

/* Blog Category Layout */
.blog,
.blog._container,
.pseo-content-wrapper .blog,
body .blog,
.entry-content .blog,
#content .blog {
  display: flex !important;
  justify-content: space-between !important;
  gap: 20px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 auto !important;
}

.blog-left {
  width: 70%;
  overflow: hidden;
  box-sizing: border-box;
}

.blog-right {
  width: 28%;
  overflow: hidden;
  box-sizing: border-box;
}

/* Blog Item */
.blog-item {
  background: #fff;
  padding: 30px;
  margin-bottom: 20px;
}

.blog-item:hover {
  box-shadow: 0 1px 5px 0 rgba(0,0,0,.08);
}

.blog-item-top {
  padding-bottom: 24px;
  border-bottom: 1px solid #e6e6e6;
  line-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.blog-item-top-title {
  flex: 1;
}

.blog-item-top-title h2 {
  font-size: 24px;
  font-weight: 400;
  color: #252525;
  margin: 0;
}

.blog-item-top-category {
  margin: 0;
  padding: 0 10px 0 0;
  display: flex;
  font-size: 14px;
  list-style: none;
}

.blog-item-top-category li {
  padding: 0 10px;
  position: relative;
}

.blog-item-top-category li:after {
  content: " ";
  width: 1px;
  height: 17px;
  background: #e5e5e5;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.blog-item-top-category li:first-child:after {
  display: none;
}

.blog-item-top-category a {
  color: #0073aa;
  text-decoration: none;
  font-weight: 400;
}

.blog-item-top-category a:hover {
  text-decoration: underline;
}

.blog-item-top-more {
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  color: #0073aa;
}

.blog-item-top-more:hover {
  text-decoration: underline;
}

.blog-item-cnt {
  margin-top: 19px;
}

.hot-new {
  position: relative;
  min-height: 120px;
}

.hot-new .img {
  width: 150px;
  height: 100px;
  position: absolute;
  top: 0;
  left: 0;
}

.hot-new .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hot-new-info {
  padding-left: 0;
}

.hot-new-info .name {
  margin-bottom: 10px;
  font-size: 20px;
  color: #333;
  text-decoration: none;
  line-height: 30px;
  font-weight: 400;
  max-height: 60px;
  display: block;
}

.hot-new-info .name h3 {
  font-size: 20px;
  font-weight: 400;
  margin: 0;
}

.hot-new-info .name:hover {
  color: #0073aa;
  text-decoration: underline;
}

.hot-new-info .desc {
  margin-bottom: 0px;
  color: #333;
  line-height: 21px;
  font-size: 14px;
  font-weight: 400;
  max-height: 42px;
  overflow: hidden;
}

.blog-item-cnt-ul {
  margin: 20px 0 0;
  padding: 0;
  width: 100%;
  list-style: none;
}

.blog-item-cnt-ul li {
  margin-bottom: 12px;
  color: #9b9ea0;
  display: flex;
  position: relative;
}

/* .blog-item-cnt-ul li:before {
  content: ' ';
  background: #9b9ea0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
} */

.blog-item-simple {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.blog-item-simple .blog-item-image {
  flex-shrink: 0;
  width: 76px;
  height: 76px;
  overflow: hidden;
}

.blog-item-simple .blog-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-item-simple .blog-item-content {
  flex: 1;
}

.blog-item-simple .blog-item-title {
  font-size: 14px;
  font-weight: 400;
  color: #121212;
  line-height: 24px;
  margin: 0 0 5px 0;
}

.blog-item-simple .blog-item-title a {
  color: #121212;
  text-decoration: none;
}

.blog-item-simple .blog-item-title a:hover {
  color: #0073aa;
  text-decoration: underline;
}

.blog-item-simple .blog-item-desc {
  font-size: 14px;
  color: rgba(0,0,0,.6);
  line-height: 19px;
  margin: 0;
}

.hot-new-info .blog-item-date, .blog-item-simple .blog-item-date {
  font-size: 12px;
  color: #a6a6a6;
}

/* Right Sidebar */
.right-item {
  margin-bottom: 27px;
  background: #fff;
  padding: 20px;
}

.right-item:hover {
  box-shadow: 0 1px 5px 0 rgba(0,0,0,.08);
}

.right-item-title {
  font-size: 20px;
  font-weight: 400;
  color: #252525;
  line-height: 30px;
  margin: 0 0 10px 0;
}

.right-item-list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.right-item-li {
  padding-left: 20px;
  width: 100%;
  display: block;
  text-decoration: none;
  position: relative;
  margin-bottom: 10px;
  box-sizing: border-box;
}

.right-item-li:before {
  content: ' ';
  background: #9b9ea0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.right-item-image {
  display: inline-block;
  width: 76px;
  height: 76px;
  flex-shrink: 0;
  margin-right: 6px;
  overflow: hidden;
  vertical-align: top;
}

.right-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.right-item-content {
  display: inline-block;
  flex: 1;
  vertical-align: top;
}

.right-item-content .right-item-title {
  font-size: 14px;
  font-weight: 400;
  color: #9b9ea0;
  line-height: 24px;
  text-decoration: none;
  margin: 0;
}

.right-item-content .right-item-title:hover {
  color: #0073aa;
  text-decoration: underline;
}

/* Right Side Tags */
.right-side-tags {
  margin-bottom: 27px;
  background: #fff;
  padding: 20px;
}

.right-side-tags:hover {
  box-shadow: 0 1px 5px 0 rgba(0,0,0,.08);
}

.right-side-title {
  font-size: 20px;
  font-weight: 400;
  color: #252525;
  line-height: 30px;
  margin: 0 0 10px 0;
}

.tag-cloud {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-item {
  display: inline-block;
  padding: 5px 10px;
  background: #e6f1fc;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 400;
  color: #0b4f9a;
  text-decoration: none;
}

.tag-item:hover {
  background: #cce4f9;
  text-decoration: underline;
}

/* Right Side Keywords */
.right-side-keywords {
  margin-bottom: 27px;
  background: #fff;
  padding: 20px;
}

.right-side-keywords:hover {
  box-shadow: 0 1px 5px 0 rgba(0,0,0,.08);
}

.keywords-list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.keywords-list li {
  padding-left: 20px;
  margin-bottom: 10px;
  position: relative;
}

.keywords-list li:before {
  content: ' ';
  background: #9b9ea0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.keywords-list a {
  font-size: 14px;
  font-weight: 400;
  color: #9b9ea0;
  line-height: 24px;
  text-decoration: none;
}

.keywords-list a:hover {
  color: #0073aa;
  text-decoration: underline;
}

/* Empty Info */
.empty-info {
  margin: 0 auto;
  padding: 60px 0 50px;
  width: 750px;
  display: flex;
  gap: 50px;
}

.empty-info .col-icon {
  width: 200px;
  height: 200px;
  background: #f0f0f0;
  border-radius: 4px;
}

.empty-info .col-info {
  flex: 1;
  display: flex;
  align-items: center;
}

.empty-info .tit {
  padding: 10px 0 20px;
  line-height: 2;
  font-size: 18px;
  color: #666;
}

/* Breadcrumb */
.breadcrumb {
  padding: 20px 0;
  font-size: 14px;
  color: #979797;
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  clear: both !important;
  float: none !important;
  position: relative !important;
  margin: 0 !important;
}

/* 确保面包屑在详情页上方正确显示 */
.breadcrumb ._container {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 0 12px !important;
}

/* @media (min-width: 768px) {
  .breadcrumb ._container {
    max-width: 720px !important;
    padding: 0 20px !important;
  }
}

@media (min-width: 992px) {
  .breadcrumb ._container {
    max-width: 960px !important;
  }
}

@media (min-width: 1200px) {
  .breadcrumb ._container {
    max-width: 1140px !important;
  }
}

@media (min-width: 1400px) {
  .breadcrumb ._container {
    max-width: 1320px !important;
  }
} */

.details {
  margin-top: 0;
  padding-top: 0;
  clear: both !important;
  display: block !important;
  width: 100% !important;
}

.details ._container {
  margin-top: 0;
  padding-top: 10px;
}

.breadcrumb-link {
  color: #979797;
  text-decoration: none;
  font-weight: 400;
  line-height: 25px;
}

.breadcrumb-link:hover {
  color: #997394;
}

.breadcrumb-separator {
  margin: 0 10px;
  color: #979797;
}

.breadcrumb-current {
  color: #C1C0C0;
  font-weight: 400;
  line-height: 25px;
}

/* Category Title */
.category-header-align {
  width: 100%;
  margin-top: 20px;
  margin-bottom: 30px;
}

.category-title {
  font-size: 32px;
  font-weight: bold;
  margin: 0;
  padding: 0;
  color: #252525;
}

/* Category Item Child (List Mode) */
.blog-left-article {
  margin-bottom: 27px;
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}

.blog-item-child {
  background: #fff;
  padding: 20px;
}

.blog-item-child:hover {
  box-shadow: 0 1px 5px 0 rgba(0,0,0,.08);
}

.blog-item-child .name {
  margin: 0;
  padding-bottom: 10px;
  font-size: 20px;
  color: #373d41;
  word-wrap: break-word;
}

.blog-item-child .name a {
  color: #373d41;
  text-decoration: none;
}

.blog-item-child .name a:hover {
  color: #0073aa;
}

.blog-item-child .time {
  margin: 0;
  font-size: 12px;
  color: #ccc;
}

.blog-item-child .desc {
  margin: 0;
  font-size: 14px;
  color: #666;
  line-height: 21px;
  margin-top: 10px;
  margin-bottom: 0;
  word-wrap: break-word;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.blog-item-child .tags {
  margin-top: 8px;
  margin-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-item-child .tag-item {
  display: inline-block;
  padding: 4px 12px;
  background-color: #f5f5f5;
  color: #666;
  font-size: 12px;
  border-radius: 15px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.blog-item-child .tag-item:hover {
  background-color: #e8e8e8;
  color: #0073aa;
}

/* Pagination */
.list-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 40px;
  margin-top: 20px;
}

.page-new {
  width: 100%;
}

.page-new .content-box {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

.page-new .btn,
.page-new .page-number,
.page-new a.page-number,
.page-new span.page-number {
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  color: #242424 !important;
  margin: 0 5px !important;
  border-radius: 2px !important;
  width: 30px !important;
  height: 30px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  background: #fff !important;
  border: 1px solid #e0e0e0 !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
}

.page-new .btn:hover,
.page-new .page-number:hover {
  color: #0073aa !important;
  border-color: #0073aa !important;
}

.page-new .btn.disable {
  cursor: not-allowed;
  opacity: 0.5;
}

.page-new .btn.disable i {
  color: #bbb;
}

.page-new .page-number.active {
  background: #0073aa !important;
  color: #fff !important;
  border-color: #0073aa !important;
}

.page-new .btn-more {
  border: none;
  background: transparent;
}

.page-new .btn-more:hover {
  color: #0073aa;
}

.page-new i {
  font-size: 10px;
  font-weight: 600;
}

/* 上一页下一页按钮样式 */
.page-new .btn.btn-prev,
.page-new .btn.btn-next {
  font-size: 24px !important;
  line-height: 1 !important;
  font-weight: 300 !important;
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 0 !important;
  text-decoration: none !important;
  width: 30px !important;
  height: 30px !important;
  background: #fff !important;
  border: 1px solid #e0e0e0 !important;
}

.page-new .btn.disable.btn-prev,
.page-new .btn.disable.btn-next {
  cursor: not-allowed !important;
  opacity: 0.5 !important;
}

/* 上一页下一页按钮样式 */
.page-new .btn.btn-prev,
.page-new .btn.btn-next {
  font-size: 20px;
  line-height: 1;
  font-weight: 400;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.page-new .btn.btn-prev {
  padding: 0;
}

.page-new .btn.btn-next {
  padding: 0;
}

/* Utility Classes */
.line-1 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.line-2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.boxS {
  box-sizing: border-box;
}

/* Responsive */
@media only screen and (max-width: 768px) {
  .blog-home {
    padding: 0;
  }

  .breadcrumb {
    font-size: 14px;
    padding: 15px 0;
  }

  .category-title {
    font-size: 24px;
  }

  .blog-item-child {
    padding: 15px;
  }

  .blog-item-child .name {
    font-size: 18px;
  }

  .list-pagination {
    padding-bottom: 20px;
  }

  .page-new .btn,
  .page-new .page-number,
  .page-new a.page-number,
  .page-new span.page-number {
    margin: 0 2px !important;
    width: 28px !important;
    height: 28px !important;
    font-size: 12px !important;
  }

  .banner {
    width: auto;
    max-height: 429px;
    text-align: center;
  }

  .banner-title h1 {
    margin-top: -12px;
    font-size: 36px;
    color: #fff;
    font-weight: 400;
  }

  .banner-title span {
    margin-top: 0;
  }

  .banner-pc {
    display: none;
  }

  .banner-mobile {
    max-width: 100%;
    display: block;
    height: 100%;
    object-fit: cover;
  }

  .banner-title-box {
    left: 0%;
    top: 50px;
    padding: 2px 10px;
  }

  .banner-title-box-home {
    left: 0 !important;
    right: 0;
  }

  .blog {
    display: block;
  }

  .blog-left,
  .blog-right {
    width: 100%;
    padding: 0 12px;
  }

  .blog-right {
    margin-top: 0px;
  }

  .blog-item {
    padding: 20px;
  }

  .empty-info {
    margin: 0 auto;
    padding: 30px 0 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: center;
  }

  .empty-info .col-icon {
    width: 160px;
    height: 160px;
  }

  .empty-info .col-info {
    flex: 1;
    display: flex;
    align-items: center;
  }

  .empty-info .tit {
    padding: 10px 0 20px;
    line-height: 1.4;
    font-size: 16px;
  }
}

/* Detail Page Styles */
.details {
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  width: 100% !important;
  max-width: 100% !important;
}

.details-wrapper {
  display: flex !important;
  justify-content: space-between !important;
  width: 100% !important;
  max-width: 100% !important;
  gap: 20px;
  flex-wrap: nowrap !important;
}

.details-left {
  padding: 20px;
  width: 70% !important;
  min-width: 0;
  margin-bottom: 90px;
  background: #fff;
  box-sizing: border-box;
  flex-shrink: 0;
}

.details-left .article-title {
  margin-bottom: 10px;
  font-size: 28px;
  color: #373d41;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
  line-height: 1.4;
  margin-top: 0 !important;
}

/* 确保详情页中只有我们自己的标题显示 */
.details .details-left h1.article-title {
  display: block !important;
  visibility: visible !important;
  height: auto !important;
}

/* 隐藏详情页中其他所有可能的标题 */
.details ._container h1:not(.article-title),
.details .details-wrapper h1:not(.article-title),
.details .details-left h1:not(.article-title) {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.details-left .article-summary {
  font-size: 14px;
  color: #9b9ea0;
  margin: 10px 0;
}

.details-left .article-tags {
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.details-left .article-tags .tag-item {
  display: inline-block;
  padding: 4px 12px;
  background-color: #f5f5f5;
  color: #666;
  font-size: 12px;
  border-radius: 15px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.details-left .article-tags .tag-item:hover {
  background-color: #e8e8e8;
  color: #0073aa;
}

.details-left .description {
  padding-top: 10px;
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  line-height: 23px;
  text-transform: none;
  letter-spacing: 0;
  color: #52493f;
}

.details-left .description pre {
  white-space: pre-wrap;
}

.details-left .description ol:not(:last-child),
.details-left .description p:not(:last-child),
.details-left .description ul:not(:last-child) {
  margin-bottom: 1.6em;
}

.details-left .description img {
  max-width: 100%;
  height: auto;
}

.details-right {
  width: 28% !important;
  min-width: 0;
  flex-shrink: 0;
}

.related {
  margin-top: 65px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.related a {
  font-size: 18px;
  font-weight: 400;
  color: #252525;
  display: flex;
  text-decoration: none;
  align-items: center;
}

.related a:hover {
  text-decoration: none;
  color: #0073aa;
}

.related a:hover span {
  text-decoration: underline;
}

.related a span {
  flex: 1;
  cursor: pointer;
}

.related a i {
  font-size: 16px;
  margin: 0 5px;
}

.related-last {
  text-align: right;
}

.related-last,
.related-next {
  width: 49%;
}

.related-last a:hover,
.related-next a:hover {
  color: #0073aa;
}

.also-like {
  margin-top: 60px;
}

.also-like .title {
  text-align: center;
  font-size: 25px;
  font-weight: 600;
  color: #252525;
  margin-bottom: 24px;
}

.also-like-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* Ensure details page uses full container width */
.details ._container {
  max-width: 100% !important;
  width: 100% !important;
}

.details ._container .details-wrapper {
  max-width: 100% !important;
  width: 100% !important;
}

/* Responsive - Detail Page */
@media only screen and (max-width: 1008px) {
  .details-wrapper {
    flex-direction: column !important;
  }

  .details-left {
    width: 100% !important;
    margin-bottom: 10px;
  }

  .details-right {
    width: 100% !important;
  }

  .related {
    display: block;
    padding: 25px 0 30px;
    margin-top: 0;
  }

  .related-next,
  .related-last {
    width: 100%;
    font-size: 16px;
    font-weight: bold;
    overflow: hidden;
    line-height: 30px;
    margin-bottom: 10px;
  }

  .also-like {
    margin-top: 0;
  }
}

@media only screen and (max-width: 768px) {
  .details {
    padding: 32px 0 10px;
  }

  .details-left {
    padding: 10px;
    margin-bottom: 50px;
  }

  .details-left .article-title {
    font-size: 22px;
  }

  .details-left .description {
    font-size: 16px;
    line-height: 23px;
  }

  .details-left .description p img {
    width: 100% !important;
    height: auto !important;
  }

  .details-left .description ol:not(:last-child),
  .details-left .description p:not(:last-child),
  .details-left .description ul:not(:last-child) {
    margin-bottom: 1em;
  }

  .also-like-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0 20px;
  }
}

/* Tag & Topic Page Styles */
.tag-page,
.topic-page {
  width: 100% !important;
  max-width: 100% !important;
}

.tag-page .blog,
.topic-page .blog {
  display: flex !important;
  justify-content: space-between !important;
  width: 100% !important;
  gap: 20px;
}

.tag-page .blog-left,
.topic-page .blog-left {
  width: 70% !important;
  flex-shrink: 0;
}

.tag-page .blog-right,
.topic-page .blog-right {
  width: 28% !important;
  flex-shrink: 0;
}

/* Ensure Hot Tags title is visible */
.right-side-tags .right-side-title {
  display: block !important;
  visibility: visible !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  color: #252525 !important;
  line-height: 30px !important;
  margin-bottom: 10px !important;
}

/* Responsive - Tag & Topic Page */
@media only screen and (max-width: 1008px) {
  .blog-home .blog,
  .category-list .blog,
  .tag-page .blog,
  .topic-page .blog {
    flex-direction: column !important;
  }

  .blog-home .blog-left,
  .blog-home .blog-right,
  .category-list .blog-left,
  .category-list .blog-right,
  .tag-page .blog-left,
  .topic-page .blog-left {
    width: 100% !important;
  }

  .tag-page .blog-right,
  .topic-page .blog-right {
    width: 100% !important;
  }
}

/* Zapop Page Styles */
.zqpop-page {
  padding: 10px 0;
}

.alphabet-nav {
  display: grid;
  grid-template-columns: repeat(27, minmax(38px, 1fr));
  gap: 1px;
  background-color: #e5e5e5;
  border: 1px solid #ddd;
  margin-bottom: 40px;
  max-width: 100%;
}

.alphabet-nav a,
.alphabet-nav span {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 6px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: #333;
  background-color: #fff !important;
  text-align: center;
  transition: all 0.2s ease;
  border: none;
  box-sizing: border-box;
}
.alphabet-nav a.has-link,
.alphabet-nav span.has-link {
  cursor: pointer;
}

.alphabet-nav a.has-link:hover {
  background-color: #0073aa;
  color: #fff;
}

.alphabet-nav a.no-link,
.alphabet-nav span.no-link {
  color: #999;
  background-color: #f8f8f8 !important;
  cursor: not-allowed;
}

.alphabet-nav a.active,
.alphabet-nav span.active {
  background-color: #0073aa !important;
  color: #fff !important;
}

.words-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 40px 20px;
}

.zqpop-page .words-container {
    max-width: 800px;
    margin: 0 auto;
}

.letter-group .letter-title {
  font-size: 28px;
  font-weight: normal;
  color: #000;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.letter-group .word-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 10px 20px;
  margin-bottom: 30px;
}

.letter-group .word-list li a {
  font-size: 14px;
  color: #555;
  text-decoration: none;
}

.letter-group .word-list li a:hover {
  text-decoration: underline;
  color: #0073aa;
}

/* 仅在 pseo 插件容器内恢复 banner 的 h1 */
.pseo-content-wrapper .banner-title h1 {
  display: block !important;
  visibility: visible !important;
  height: auto !important;
  margin-top: 20px !important;
  margin-bottom: 10px !important;
  padding: 0 !important;
  overflow: visible !important;
}

