/*===============================================
  PbootCMS AI模板生成
  随机种子：G-F-3-16px-线/毛/圆-LE-TA
  风格：G (玻璃拟态) - 毛玻璃+半透明+模糊背景+柔和光感
  布局：F (单栏极简) - 内容居中，最大宽度，内容垂直堆叠
  色彩：3 (粉紫灰) - 淡粉紫+浅灰+白色
  字号：16px / 行高：1.8 / 容器宽度：1200px居中
  圆角：16px / 卡片内边距：24px
  装饰：毛玻璃效果 + 柔和阴影 + 渐变光晕
  列表排版：LE (极简列表)
  标题样式：TA (居中带下划线)
================================================*/

@charset "utf-8";

/*------ Reset & Base ------*/
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #4a4a4a;
    background: linear-gradient(135deg, #e8e4f0 0%, #f5f0f7 50%, #e8f4f8 100%);
    min-height: 100vh;
}

a {
    color: #7c6aad;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #5a4a8d;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/*------ Layout Container ------*/
.pb-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.pb-main-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    margin-top: 80px;
}

.pb-content {
    min-width: 0;
}

/*------ Header (玻璃拟态导航) ------*/
.pb-header {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(124, 106, 173, 0.1);
}

.pb-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.pb-logo img {
    height: 48px;
    width: auto;
    border-radius: 12px;
}

.pb-nav ul {
    display: flex;
    gap: 8px;
    list-style: none;
}

.pb-nav a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    color: #5a5a5a;
    font-size: 15px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.pb-nav a:hover,
.pb-nav a.active {
    color: #fff;
    background: rgba(124, 106, 173, 0.8);
    border-color: transparent;
}

.pb-nav i {
    font-size: 12px;
}

/*------ Menu Toggle (Mobile) ------*/
.pb-menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    font-size: 20px;
    color: #7c6aad;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.pb-menu-toggle:hover {
    background: rgba(124, 106, 173, 0.8);
    color: #fff;
}

/*------ Section Title (TA居中带下划线) ------*/
.pb-section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.pb-section-title h2 {
    display: inline-block;
    font-size: 1.6rem;
    font-weight: 600;
    color: #5a4a8d;
    padding-bottom: 16px;
}

.pb-section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #b8a9d4, #7c6aad);
    border-radius: 2px;
}

/*------ LE 极简列表 ------*/
.pb-news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 40px 0;
}

.pb-news-item {
    display: flex;
    gap: 24px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 32px rgba(124, 106, 173, 0.08);
    transition: all 0.4s ease;
}

.pb-news-item:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(124, 106, 173, 0.15);
}

.pb-news-image {
    flex: 0 0 200px;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
}

.pb-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pb-news-item:hover .pb-news-image img {
    transform: scale(1.05);
}

.pb-news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pb-news-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #3d3d3d;
    margin-bottom: 10px;
    line-height: 1.5;
}

.pb-news-title a {
    color: inherit;
}

.pb-news-item:hover .pb-news-title a {
    color: #7c6aad;
}

.pb-news-desc {
    font-size: 14px;
    color: #777;
    line-height: 1.6;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pb-news-meta {
    display: flex;
    gap: 20px;
    font-size: 12px;
    color: #999;
}

.pb-news-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pb-news-meta i {
    color: #b8a9d4;
}

/*------ Sidebar Widget ------*/
.pb-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pb-widget {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 32px rgba(124, 106, 173, 0.08);
}

.pb-widget-title {
    font-size: 16px;
    font-weight: 600;
    color: #5a4a8d;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(124, 106, 173, 0.2);
}

.pb-widget-list {
    list-style: none;
}

.pb-widget-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(124, 106, 173, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pb-widget-list li:last-child {
    border-bottom: none;
}

.pb-widget-list a {
    color: #5a5a5a;
    font-size: 14px;
    transition: color 0.3s ease;
}

.pb-widget-list a:hover {
    color: #7c6aad;
}

.pb-widget-list .rank {
    flex: 0 0 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #b8a9d4, #7c6aad);
    border-radius: 50%;
}

/*------ Tags Cloud ------*/
.pb-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pb-tags a {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    font-size: 12px;
    color: #7c6aad;
    background: rgba(124, 106, 173, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(124, 106, 173, 0.2);
    transition: all 0.3s ease;
}

.pb-tags a:hover {
    background: rgba(124, 106, 173, 0.3);
    color: #fff;
}

/*------ Breadcrumb ------*/
.pb-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 0;
    font-size: 13px;
    color: #999;
}

.pb-breadcrumb a {
    color: #7c6aad;
}

.pb-breadcrumb a:hover {
    color: #5a4a8d;
}

/*------ Article Detail ------*/
.pb-article-title {
    font-size: 2rem;
    font-weight: 600;
    color: #3d3d3d;
    margin-bottom: 20px;
    line-height: 1.3;
}

.pb-article-meta {
    display: flex;
    gap: 24px;
    font-size: 13px;
    color: #777;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(124, 106, 173, 0.2);
}

.pb-article-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pb-article-meta i {
    color: #b8a9d4;
}

.pb-article-content {
    font-size: 16px;
    line-height: 1.9;
    color: #4a4a4a;
    max-width: 720px;
}

.pb-article-content p {
    margin-bottom: 1.5em;
}

.pb-article-content img {
    max-width: 100%;
    margin: 24px 0;
    border-radius: 12px;
}

/*------ Pagination ------*/
.pb-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 60px;
    padding: 40px 0;
    border-top: 1px solid rgba(124, 106, 173, 0.1);
}

.pb-pagination a,
.pb-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 16px;
    font-size: 14px;
    color: #5a5a5a;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.pb-pagination a:hover {
    background: rgba(124, 106, 173, 0.8);
    color: #fff;
    border-color: transparent;
}

.pb-pagination .current {
    background: linear-gradient(135deg, #b8a9d4, #7c6aad);
    color: #fff;
    border-color: transparent;
}

/*------ Footer ------*/
.pb-footer {
    margin-top: 100px;
    padding: 40px 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.pb-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.pb-footer-copy {
    font-size: 13px;
    color: #777;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.pb-footer-copy a {
    color: #7c6aad;
}

.pb-footer-copy a:hover {
    color: #5a4a8d;
}

/*------ Button Style ------*/
.pb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    background: linear-gradient(135deg, #b8a9d4, #7c6aad);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pb-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(124, 106, 173, 0.3);
}

/*------ Responsive Design ------*/
@media (max-width: 991px) {
    .pb-main-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 767px) {
    html {
        font-size: 15px;
    }

    .pb-header-inner {
        flex-wrap: wrap;
        height: auto;
        padding: 16px 24px;
        gap: 16px;
    }

    .pb-nav {
        display: none;
        width: 100%;
        order: 3;
    }

    .pb-nav.active {
        display: block;
    }

    .pb-nav ul {
        flex-direction: column;
        gap: 8px;
    }

    .pb-nav a {
        padding: 12px 16px;
    }

    .pb-menu-toggle {
        display: block;
    }

    .pb-section-title {
        margin-bottom: 40px;
    }

    .pb-section-title h2 {
        font-size: 1.3rem;
    }

    .pb-news-item {
        flex-direction: column;
    }

    .pb-news-image {
        flex: none;
        width: 100%;
        height: 200px;
    }

    .pb-article-title {
        font-size: 1.6rem;
    }

    .pb-article-meta {
        flex-direction: column;
        gap: 12px;
    }

    .pb-sidebar {
        flex-direction: column;
    }
}

/*------ Pre/Next Link ------*/
.pb-article-nav {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-top: 60px;
    padding: 32px 0;
    border-top: 1px solid rgba(124, 106, 173, 0.1);
}

.pb-article-nav a {
    flex: 1;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    font-size: 14px;
    color: #5a5a5a;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.pb-article-nav a:hover {
    background: rgba(124, 106, 173, 0.1);
}

.pb-article-nav .next {
    text-align: right;
    justify-content: flex-end;
}
/* LOGO & Company Name */
.header-site-logo img {
    width: 100px !important;
    height: 100px !important;
    object-fit: cover;
    border-radius: 10px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.header-company-name {
    font-size: 16px;
    font-weight: 700;
    color: #8B6914;
    white-space: nowrap;
}

.themelazer_middle_header {
    min-height: 110px;
    display: flex;
    align-items: center;
}

/* Header Layout Fix */
.header-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100%;
  min-height: 120px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.themelazer_middle_header .container {
  height: auto !important;
  min-height: 120px !important;
  display: flex !important;
  align-items: center !important;
  width: 100%;
  max-width: 100%;
  padding: 0 20px;
}

.themelazer-nav {
  width: auto !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
}

.header-right {
  flex: 1;
  display: flex !important;
  justify-content: flex-end;
  align-items: center !important;
}

.themelazer-navigation ul {
  display: flex !important;
  gap: 8px;
}

.themelazer-navigation ul li a {
  padding: 10px 16px;
  font-size: 15px;
}

/*===============================================
   头部样式完整覆盖
================================================*/
.themelazer_main_header {
  position: sticky !important;
  top: 0;
  z-index: 9999;
}

.themelazer_main_header .themelazer_middle_header {
  background: #fff !important;
  border-bottom: 1px solid #f2f1f1 !important;
}

.themelazer_main_header .themelazer_middle_header .container {
  height: auto !important;
  min-height: 120px !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 20px !important;
}

.header-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  min-height: 120px;
}

.header-left {
  display: flex !important;
  align-items: center !important;
  gap: 16px;
  flex-shrink: 0;
}

.header-site-logo {
  display: flex;
  align-items: center;
}

.header-site-logo img {
  width: 100px !important;
  height: 100px !important;
  object-fit: cover !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.header-company-name {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #5a4a8d !important;
  white-space: nowrap;
}

.header-right {
  flex: 1;
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
}

.themelazer-nav {
  width: auto !important;
  position: relative !important;
}

.themelazer-navigation {
  text-align: left !important;
}

.themelazer-navigation ul {
  display: flex !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 8px !important;
}

.themelazer-navigation ul li {
  display: inline-block !important;
  float: none !important;
}

.themelazer-navigation ul li a {
  padding: 10px 16px !important;
  font-size: 15px !important;
  color: #5a4a8d !important;
}

.themelazer-navigation ul li a:hover {
  color: #7c6aad !important;
}

/*===============================================
   文章详情页样式优化
================================================*/
.pb-article {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(90, 74, 141, 0.08);
}

.pb-article-header {
    padding: 48px 40px 24px;
    background: linear-gradient(135deg, #e8e4f0 0%, #f5f0f7 100%);
    border-bottom: 2px solid rgba(124, 106, 173, 0.2);
}

.pb-article-title {
    font-size: 2rem;
    font-weight: 700;
    color: #5a4a8d;
    line-height: 1.4;
    margin: 0;
}

.pb-article-content {
    padding: 40px;
    font-size: 16px;
    line-height: 2;
    color: #4a4a4a;
}

.pb-article-content p {
    margin-bottom: 1.8em;
    text-indent: 2em;
    text-align: justify;
}

.pb-article-content > p:first-child {
    text-indent: 0;
}

.pb-article-content > p:first-child::first-letter {
    font-size: 3em;
    font-weight: 700;
    float: left;
    line-height: 1;
    margin-right: 8px;
    color: #7c6aad;
}

.pb-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 24px auto;
    box-shadow: 0 4px 20px rgba(90, 74, 141, 0.15);
}

.pb-article-content h2,
.pb-article-content h3,
.pb-article-content h4 {
    color: #5a4a8d;
    margin: 2em 0 1em;
    font-weight: 700;
    line-height: 1.4;
}

.pb-article-content h2 {
    font-size: 1.5rem;
    border-left: 4px solid #7c6aad;
    padding-left: 16px;
    background: rgba(124, 106, 173, 0.08);
    padding: 12px 16px;
    border-radius: 0 8px 8px 0;
}

.pb-article-content h3 { font-size: 1.3rem; }
.pb-article-content h4 { font-size: 1.1rem; }

.pb-article-content ul,
.pb-article-content ol {
    padding-left: 28px;
    margin-bottom: 1.8em;
}

.pb-article-content ul { list-style: none; }
.pb-article-content ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 0.8em;
}
.pb-article-content ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #7c6aad;
    font-size: 16px;
}
.pb-article-content ol { list-style: decimal; }
.pb-article-content ol li {
    padding-left: 8px;
    margin-bottom: 0.8em;
}

.pb-article-content blockquote {
    background: rgba(124, 106, 173, 0.08);
    border-left: 4px solid #7c6aad;
    padding: 20px 24px;
    margin: 24px 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #5a4a8d;
}

.pb-article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 14px;
}

.pb-article-content table th,
.pb-article-content table td {
    padding: 12px 16px;
    border: 1px solid rgba(124, 106, 173, 0.2);
    text-align: left;
}

.pb-article-content table th {
    background: rgba(124, 106, 173, 0.1);
    color: #5a4a8d;
    font-weight: 600;
}

.pb-article-content table tr:nth-child(even) {
    background: rgba(232, 228, 240, 0.3);
}
