/**
 * PbootCMS 模板样式 - ydjnlo.com
 * 随机种子编号: M-B-7-16px-线/填/无-N1-LE-TB-16px-0.4s-8px-2px-90°-18px-24px-0.5-R2,R4,R6
 *
 * 【随机参数记录】
 * 核心风格: M (孟菲斯风格) - 几何图形+撞色+活泼图案
 * 布局骨架: B (侧边栏布局) - 左侧固定30%+右侧滚动70%
 * 色彩策略: 7 (冷调) - 蓝+青+紫
 * 标题字号: M (3rem)
 * 正文字号: 16px
 * 行高: 1.8
 * 段落间距: 1.8em
 * 容器宽度: 1200px
 * 圆角: 16px
 * 卡片内边距: 30px
 * 图标风格: 线性
 * 按钮风格: 填充背景
 * 分割线: 无
 * 图片处理: 圆角
 * 导航布局: N1 (LOGO左+导航右)
 * 列表排版: LE (极简列表)
 * 标题样式: TB (左对齐粗体)
 * 阴影大小: 中(16px)
 * 动画时长: 中(0.4s)
 * 悬停位移: 中(8px)
 * 边框宽度: 中(2px)
 * 渐变角度: 90°
 * 图标大小: 中(18px)
 * 卡片间距: 标准(24px)
 * 背景深度: 中(0.5)
 * 侧边栏模块: R2(热门文章) + R4(推荐文章) + R6(二维码)
 */

/* ========== CSS Variables ========== */
:root {
  --color-blue: #3498DB;
  --color-cyan: #00CED1;
  --color-purple: #9B59B6;
  --color-dark: #2C3E50;
  --color-dark-light: #34495E;
  --color-gray: #7F8C8D;
  --color-gray-light: #BDC3C7;
  --color-silver: #ECF0F1;
  --color-light: #ECF0F1;
  --color-white: #FFFFFF;

  --shadow-small: 8px;
  --shadow-medium: 16px;
  --shadow-large: 24px;

  --radius: 16px;
  --radius-lg: 24px;

  --animation-speed: 0.4s;
  --transition: all var(--animation-speed) ease;

  --container-width: 1200px;
  --sidebar-width: 300px;

  --font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-gray);
  background: var(--color-light);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-cyan);
}

ul, ol {
  list-style: none;
}

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

/* ========== Header (N1: LOGO左+导航右) ========== */
.pb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 80px;
  background: var(--color-white);
  border-bottom: 3px solid var(--color-blue);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.pb-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pb-logo img {
  height: 50px;
  border-radius: var(--radius);
}

.pb-nav {
  display: flex;
  gap: 8px;
}

.pb-nav a {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-dark);
  border-radius: var(--radius);
  transition: var(--transition);
}

.pb-nav a:hover,
.pb-nav a.active {
  background: var(--color-blue);
  color: var(--color-white);
}

.pb-nav a.active {
  font-weight: 700;
}

.pb-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
}

.pb-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  transition: var(--transition);
}

/* ========== Section Layout (B: 侧边栏布局) ========== */
.pb-section {
  padding: 50px 20px;
  max-width: var(--container-width);
  margin: 0 auto;
}

.pb-section-inner {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.pb-main-content {
  flex: 1;
  min-width: 0;
}

.pb-sidebar {
  width: var(--sidebar-width);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ========== Section Title (TB: 左对齐粗体) ========== */
.pb-section-title {
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 3px solid var(--color-blue);
  position: relative;
}

.pb-section-title::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--color-cyan);
}

.pb-section-title h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-dark);
}

/* ========== LA: 左图右文 ========== */
.pb-news-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pb-news-item {
  display: flex;
  gap: 24px;
  padding: 20px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-silver);
  transition: var(--transition);
}

.pb-news-item:hover {
  border-color: var(--color-cyan);
  box-shadow: var(--shadow-medium);
  transform: translateX(4px);
}

.pb-news-thumb {
  flex: 0 0 200px;
  height: 150px;
  overflow: hidden;
  border-radius: var(--radius);
}

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

.pb-news-item:hover .pb-news-thumb img {
  transform: scale(1.08);
}

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

.pb-news-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pb-news-title:hover {
  color: var(--color-cyan);
}

.pb-news-desc {
  font-size: 13px;
  color: var(--color-gray);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.pb-news-date {
  font-size: 12px;
  color: var(--color-gray-light);
}

.pb-news-tag {
  font-size: 10px;
  font-weight: 700;
  color: var(--color-white);
  background: var(--color-blue);
  padding: 4px 12px;
  border-radius: 12px;
}

/* ========== Sidebar Widgets ========== */
.pb-sidebar-widget {
  background: var(--color-white);
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-silver);
  transition: var(--transition);
  counter-reset: list;
}

.pb-sidebar-widget:hover {
  border-color: var(--color-cyan);
  box-shadow: var(--shadow-small);
}

.pb-widget-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-silver);
  position: relative;
}

.pb-widget-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--color-blue);
}

.pb-sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pb-sidebar-list li {
  position: relative;
  padding: 0;
}

.pb-sidebar-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  font-size: 14px;
  color: var(--color-gray);
  background: var(--color-light);
  border-radius: var(--radius);
  margin-bottom: 8px;
  transition: var(--transition);
}

.pb-sidebar-list li:last-child a {
  margin-bottom: 0;
}

.pb-sidebar-list a:hover {
  background: var(--color-blue);
  color: var(--color-white);
  transform: translateX(4px);
}

.pb-sidebar-list a::before {
  content: counter(list);
  counter-increment: list;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-cyan);
  color: var(--color-white);
  font-size: 11px;
  font-weight: 700;
  border-radius: 50%;
}

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

.pb-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--color-light);
  color: var(--color-gray);
  font-size: 12px;
  border-radius: 20px;
  transition: var(--transition);
}

.pb-tag:hover {
  background: var(--color-cyan);
  color: var(--color-white);
}

/* QR Code Widget */
.pb-qrcode {
  text-align: center;
  padding: 20px;
  background: var(--color-light);
  border-radius: var(--radius);
}

.pb-qrcode img {
  max-width: 150px;
  margin: 0 auto 12px;
  border-radius: var(--radius);
}

.pb-qrcode p {
  font-size: 13px;
  color: var(--color-gray);
}

/* ========== Pagination ========== */
.pb-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 40px;
  padding: 20px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-silver);
  flex-wrap: wrap;
}

.pb-pagination .page-status {
  padding: 0 12px;
  font-size: 13px;
  color: var(--color-gray);
  margin-right: 8px;
}

.pb-pagination .page-index,
.pb-pagination .page-pre,
.pb-pagination .page-next,
.pb-pagination .page-last {
  border: none;
  background: transparent;
  padding: 0;
}

.pb-pagination .page-index a,
.pb-pagination .page-pre a,
.pb-pagination .page-next a,
.pb-pagination .page-last a,
.pb-pagination .page-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  background: var(--color-light);
  color: var(--color-gray);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: var(--transition);
}

.pb-pagination .page-index a:hover,
.pb-pagination .page-pre a:hover,
.pb-pagination .page-next a:hover,
.pb-pagination .page-last a:hover,
.pb-pagination .page-num:hover {
  background: var(--color-blue);
  color: var(--color-white);
}

.pb-pagination .page-current,
.pb-pagination .page-num-current {
  background: var(--color-dark);
  color: var(--color-white);
  font-weight: 700;
}

.pb-pagination .page-numbar {
  border: none;
  background: transparent;
  padding: 0 4px;
}

/* ========== Breadcrumb ========== */
.pb-breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
  font-size: 13px;
  color: var(--color-gray);
  border: 2px solid var(--color-silver);
}

.pb-breadcrumb a {
  color: var(--color-cyan);
}

.pb-breadcrumb a:hover {
  color: var(--color-blue);
}

.pb-breadcrumb span {
  color: var(--color-gray-light);
}

.pb-breadcrumb .current {
  color: var(--color-dark);
  font-weight: 500;
}

/* ========== Article ========== */
.pb-article {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--color-silver);
}

.pb-article-header {
  padding: 40px;
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-light) 100%);
  color: var(--color-white);
}

.pb-article-title {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 16px;
}

.pb-article-meta {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: var(--color-gray-light);
}

.pb-article-body {
  padding: 40px;
}

.pb-article-content {
  font-size: 16px;
  line-height: 1.9;
  color: var(--color-gray);
}

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

.pb-article-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 24px 0;
}

.pb-article-content h2,
.pb-article-content h3,
.pb-article-content h4 {
  color: var(--color-dark);
  margin: 2em 0 1em;
  font-weight: 700;
}

.pb-article-content h2 { font-size: 1.4rem; }
.pb-article-content h3 { font-size: 1.2rem; }
.pb-article-content h4 { font-size: 1rem; }

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

.pb-article-content ul { list-style: none; }
.pb-article-content ul li::before {
  content: '▸ ';
  color: var(--color-cyan);
}
.pb-article-content ol { list-style: decimal; }

.pb-article-content li {
  margin-bottom: 0.8em;
}

.pb-article-tags {
  padding: 24px 40px;
  border-top: 2px solid var(--color-silver);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.pb-article-tags h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-dark);
}

/* ========== Footer ========== */
.pb-footer {
  background: var(--color-dark);
  color: var(--color-gray-light);
  padding: 50px 20px;
  margin-top: 80px;
}

.pb-footer-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  text-align: center;
  font-size: 14px;
}

.pb-footer-inner p {
  margin-bottom: 12px;
}

.pb-footer-inner a {
  color: var(--color-cyan);
}

.pb-footer-inner a:hover {
  color: var(--color-white);
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .pb-section-inner {
    flex-direction: column;
  }

  .pb-sidebar {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .pb-header {
    padding: 0 20px;
    height: auto;
    flex-wrap: wrap;
    gap: 16px;
    padding: 15px 20px;
  }

  .pb-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 4px;
  }

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

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

  .pb-article-header {
    padding: 24px;
  }

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

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

  .pb-article-body {
    padding: 24px;
  }

  .pb-article-tags {
    padding: 20px 24px;
  }
}
/* LOGO & Company Name */
.pb-logo img { width: 100px !important; height: 100px !important; border-radius: 10px !important; object-fit: cover !important; }
.pb-company-name { font-size: 18px; font-weight: 700; color: #333; margin-left: 15px; white-space: nowrap; }

/* Header left - logo + company in container */
.pb-header-left { display: flex; align-items: center; gap: 5px; }
.pb-logo { margin-right: 0 !important; }
.pb-header { height: 110px !important; }
