@charset "UTF-8";
/* 区块标题 title-widget */
.ipweb-wp-title-widget {
  text-align: center;
}

/* 一级标题 */
.ipweb-wp-title-widget {
  text-align: center;
}
.ipweb-wp-title-widget h1,
.ipweb-wp-title-widget h2 {
  font-family: var(--ff-medium);
  font-weight: var(--fw-600);
  display: inline-block;
  text-align: left;
  font-size: var(--fs-40);
  line-height: 1.3;
}
.ipweb-wp-title-widget.is_light h1, .ipweb-wp-title-widget.is_light h2 {
  color: #fff;
}

/* 二级标题 */
.ipweb-wp-sec-title {
  font-size: var(--fs-16);
}

/* 三级标题 */
.ipweb-wp-trd-title {
  font-family: var(--ff-medium);
  font-size: var(--fs-24);
}

/* 带圆点标题 */
.ipweb-wp-circle-title {
  font-size: var(--fs-24);
  font-family: var(--ff-medium);
  color: var(--fc-400);
  display: flex;
  justify-content: center;
  gap: 1rem;
  align-items: center;
}

.ipweb-wp-circle-title .circle {
  display: inline-block;
  width: 1.2rem;
  height: 1.2rem;
  background: #000;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.5rem;
}

/* 强调文本 */
.ipweb-wp-gen-text {
  font-family: var(--ff-medium);
  font-size: var(--fs-36);
  font-weight: var(--fw-600);
}

/* 大标题上方下方文本 */
.ipweb-wp-title-text {
  font-size: var(--fs-24);
}

/* 标题左侧竖线 */
.title-left-icon::before {
  content: "";
  width: 0.375rem;
  height: 1em;
  border-radius: 0.5rem;
  background: #2084ff;
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

/* 博客 */
.category-blog-banner {
  height: 100%;
  min-height: 500px;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.category-blog-banner .mask-bg {
  z-index: 1;
}
.category-blog-banner .left-right-post-item {
  border: none;
}
.category-blog-banner .left-right-post-item:hover, .category-blog-banner .left-right-post-item.active {
  border: 1px solid #2084ff;
  box-shadow: 0 4px 32px 0 rgba(0, 123, 255, 0.2);
}

.single-custom-detail {
  overflow: hidden;
  min-height: 300px;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.category-blog-banner .mask-bg,
.single-custom-detail .mask-bg {
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.single-custom-content {
  padding: 5rem 0;
}
.single-custom-content h1,
.single-custom-content h2,
.single-custom-content h3,
.single-custom-content h4,
.single-custom-content h5,
.single-custom-content h6 {
  font-family: var(--ff-medium);
  font-weight: 500;
  margin-bottom: 1rem;
}
.single-custom-content h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}
.single-custom-content h2 {
  font-size: 2rem;
  line-height: 1.3;
}
.single-custom-content h3 {
  font-size: 1.5rem;
  line-height: 1.4;
}
.single-custom-content h4 {
  font-size: 1.2rem;
  line-height: 1.5;
}
.single-custom-content p {
  margin-bottom: 1rem;
}
.single-custom-content img {
  margin-bottom: 1rem;
}
.single-custom-content .toc {
  position: sticky;
  top: 120px;
  z-index: 99;
  transition: all 0.3s ease;
}
.single-custom-content #toc-nav ul {
  list-style: none;
  padding: 0;
}
.single-custom-content #toc-nav ul li {
  margin: 0;
}
.single-custom-content #toc-nav > ul {
  display: flex;
  flex-direction: column;
}
.single-custom-content #toc-nav ul li a {
  text-decoration: none;
  color: #000;
}
.single-custom-content #toc-nav ul li li a {
  color: #999;
  transition: all 0.3s ease;
}
.single-custom-content #toc-nav ul li a:hover {
  color: #000;
}
.single-custom-content #toc-nav > ul > li > ul > li {
  padding-left: 1rem;
}
.single-custom-content #toc-nav > ul > li > ul > li > a {
  font-weight: normal;
}
.single-custom-content #toc-nav > ul > li > ul > li > ul {
  padding-left: 2.5rem;
  display: none;
}
.single-custom-content #toc-nav > ul > li > ul {
  border-left: 1px solid #ccc;
  margin-left: 1rem;
  display: none;
}
.single-custom-content #toc-nav > ul > li > ul > li.open > ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.single-custom-content #toc-nav > ul > li > ul > li.open:has(> ul) .toggle-container {
  margin-bottom: 1rem;
}
.single-custom-content #toc-nav > ul > li.open > ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.single-custom-content .toggle-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.single-custom-content #toc-nav > ul > li > .toggle-container {
  padding: 0.5rem;
  border-radius: 0.5rem;
}
.single-custom-content #toc-nav > ul > li.open > ul {
  margin: 0.5rem 1.2rem;
  margin-bottom: 0;
}
.single-custom-content .toggle {
  padding: 0 0.5rem;
  font-size: 10px;
  cursor: pointer;
  display: inline-block;
  transition: all 0.3s ease;
  transform: rotate(0deg);
  color: #ccc;
  transition: all 0.3s ease;
}
.single-custom-content .toggle.hidden {
  visibility: hidden;
}
.single-custom-content li.open > .toggle-container > .toggle {
  transform: rotate(90deg);
}
.single-custom-content #toc-nav > ul > li.open > .toggle-container {
  background: #f4f7fc;
}
.single-custom-content #toc-nav > ul > li.open > .toggle-container .toggle,
.single-custom-content #toc-nav > ul > li.open > .toggle-container a {
  color: #007bff;
  font-weight: bold;
}
.single-custom-content #toc-nav ul li a.active {
  color: #000;
}
.single-custom-content .toggle-container:has(> a.active) .toggle {
  color: #000;
}

/* 开始使用 */
.bottom-section .mask-bg {
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

/* tag列表 */
.tag-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}
.tag-box .tag {
  border-radius: 0.125rem;
  border: 1px solid var(--c-main);
  padding: 0.125rem 0.5rem;
  color: var(--c-main);
  font-size: 0.875rem;
  transition: all 0.3s ease;
}
.tag-box .tag.tag-link:hover {
  color: white;
  background: var(--c-main);
}
.tag-box.fill .tag {
  background: var(--c-main);
  color: #fff;
}
.tag-box.fill .tag.tag-link:hover {
  color: var(--c-main);
  background: white;
}

.more-tag.active > div {
  display: block !important;
}

/* tag归档页 */
.tag-template .tag-title.title-left-icon::before {
  left: 0;
}

/* 创作作者 */
.author-box {
  display: flex;
  gap: 0.75rem;
}
.author-box .author-img {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.author-box .author-img img {
  width: 100% !important;
  height: 100% !important;
  -o-object-fit: cover;
     object-fit: cover;
}
.author-box .author-info {
  flex: 1;
}
.author-box .author-name {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  margin-top: 0.25rem;
  font-family: var(--ff-medium);
  font-weight: 500;
}

/* 左右布局文章列表 */
.left-right-post-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.left-right-post-item {
  display: flex;
  gap: 1rem;
  flex-wrap: nowrap;
  padding: 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid #c9cdd4;
  background: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}
.left-right-post-item:hover {
  border-color: var(--c-main);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
}
.left-right-post-item.active {
  border-color: var(--c-main);
  background: #fdfdfd;
  box-shadow: 0 4px 32px 0 rgba(0, 123, 255, 0.2);
}
.left-right-post-item .img {
  width: 7.875rem;
  height: 7.875rem;
  border-radius: 0.5rem !important;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}
.left-right-post-item .post-info {
  flex: 1;
}
.left-right-post-item .post-title {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}
.left-right-post-item .tag-box {
  margin-bottom: 0.5rem;
}
.left-right-post-item .author-name {
  font-size: 1rem;
  color: #999;
  font-weight: 500;
}
.left-right-post-item:nth-child(1) {
  animation-delay: 0ms;
}
.left-right-post-item:nth-child(2) {
  animation-delay: 200ms;
}
.left-right-post-item:nth-child(3) {
  animation-delay: 400ms;
}
.left-right-post-item:nth-child(4) {
  animation-delay: 600ms;
}

/* 面包屑 */
.breadcrumb .breadcrumb-item.active,
.breadcrumb span.active {
  font-family: var(--ff-medium);
  font-weight: 500;
  color: #000;
}
.breadcrumb a,
.breadcrumb span {
  white-space: nowrap;
}

/* 文章搜索栏 */
.search-list .search-list-input input {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  transition: all 0.2s ease;
  border-radius: 0;
  border-right: 1px solid #c9cdd4;
}
.search-list .category-list {
  animation-delay: 250ms;
}
.search-list .cards {
  animation-delay: 500ms;
}

.search-list .category-item {
  padding: 0.75rem 3.5rem;
  border-radius: 2.5rem;
  border: 1px solid #c9cdd4;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-list .category-item:hover {
  background: #f7f8fa;
}

.search-list .category-item.active {
  color: #fff;
  border: none;
  background: var(--1, linear-gradient(264deg, #0dcafe 15.12%, #465fff 95.14%));
}

.post-list .card {
  border-radius: 0.5rem;
  background: #fff;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid #c9cdd4;
}
.post-list .card .card-img {
  width: 100%;
  height: 12.5rem;
  border-start-start-radius: 0.5rem;
  border-start-end-radius: 0.5rem;
}

.post-list .card:hover {
  border: 1px solid #2084ff;
  box-shadow: 0 4px 32px 0 rgba(0, 123, 255, 0.2);
  transform: translateY(-4px);
}

.post-list .card-content {
  height: calc(100% - 12.5rem);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: space-between;
}

.post-list .card-post {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.post-list .card-title {
  color: #000;
  text-align: justify;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 150%;
  font-family: var(--ff-medium);
}

.post-list .card-text {
  color: #999;
  text-align: justify;
  font-size: 1rem;
}

.post-list .author-box .author-img {
  width: 3.5rem;
  height: 3.5rem;
}
.post-list .author-box .author-name {
  margin: 0rem;
}

.location-area .list-3-col .tip-box .tip .icon {
  margin-right: 0.2rem;
}

/* 单行文本溢出 */
.text-ellipsis-1 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 两行文本溢出 */
.text-ellipsis-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5;
  max-height: 3em; /* 2行 * 1.5行高 = 3em */
}

/* 三行文本溢出 */
.text-ellipsis-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5;
  max-height: 4.5em; /* 3行 * 1.5行高 = 4.5em */
}

@media (max-width: 1024px) {
  /* 文章搜索栏 */
  .search-list .grid-cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  /* 模板 */
  /* 开始使用 */
}
@media (max-width: 768px) {
  /* 文章搜索栏 */
  .post-list .grid-cols-3 {
    grid-template-columns: repeat(1, 1fr);
  }
}/*# sourceMappingURL=template.css.map */