/*===============================================
  PbootCMS AI模板生成
  随机种子：E-F-5-16px-线/填/圆-LD-TA
  风格：E (极繁主义) - 满版+重复图案+丰富色彩+堆叠
  布局：F (单栏极简) - 内容居中，最大宽度，内容垂直堆叠
  色彩：5 (复古撞色) - 橙红+宝蓝+明黄+深绿
  字号：16px / 行高：1.8 / 容器宽度：1200px居中
  圆角：0px / 卡片内边距：20px
  装饰：重复图案 + 彩色边框 + 层叠效果
  列表排版：LD (卡片网格)
  标题样式：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", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    background: #fef9f0;
    min-height: 100vh;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(107, 155, 255, 0.1) 0%, transparent 50%),
        repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(255, 200, 0, 0.03) 20px, rgba(255, 200, 0, 0.03) 40px);
}

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

a:hover {
    color: #ff6b35;
}

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 280px;
    gap: 50px;
    margin-top: 80px;
}

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

/*------ Header (极繁主义导航) ------*/
.pb-header {
    background: linear-gradient(135deg, #ff6b35 0%, #d4380d 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(212, 56, 13, 0.3);
}

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

.pb-logo img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

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

.pb-nav a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-left: 3px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

.pb-nav li:last-child a {
    border-right: 3px solid rgba(255,255,255,0.3);
}

.pb-nav a:hover,
.pb-nav a.active {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

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

/*------ Menu Toggle (Mobile) ------*/
.pb-menu-toggle {
    display: none;
    background: rgba(255,255,255,0.2);
    border: none;
    font-size: 20px;
    color: #fff;
    cursor: pointer;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

.pb-menu-toggle:hover {
    background: rgba(255,255,255,0.3);
}

/*------ 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: 700;
    color: #d4380d;
    padding-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.pb-section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b35, #ffd700, #1077ff, #d4380d);
}

/*------ LD 卡片网格 ------*/
.pb-news-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.pb-news-item {
    background: #fff;
    border: 3px solid #333;
    transition: all 0.4s ease;
    position: relative;
}

.pb-news-item::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: -8px;
    bottom: -8px;
    background: repeating-linear-gradient(
        45deg,
        #ffd700,
        #ffd700 10px,
        #1077ff 10px,
        #1077ff 20px
    );
    z-index: -1;
    opacity: 0.5;
}

.pb-news-item:hover {
    /* hover effect removed */
}

.pb-news-image {
    height: 200px;
    overflow: hidden;
    border-bottom: 3px solid #333;
}

.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.1);
}

.pb-news-content {
    padding: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pb-news-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #d4380d;
    margin-bottom: 16px;
    line-height: 1.4;
    text-transform: uppercase;
}

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

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

.pb-news-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pb-news-meta {
    display: flex;
    gap: 20px;
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

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

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

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

.pb-widget {
    background: #fff;
    border: 3px solid #333;
    padding: 0;
    position: relative;
}

.pb-widget::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: repeating-linear-gradient(
        90deg,
        #ff6b35,
        #ff6b35 10px,
        #ffd700 10px,
        #ffd700 20px,
        #1077ff 20px,
        #1077ff 30px
    );
    z-index: -1;
}

.pb-widget-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: #333;
    margin: 0;
    padding: 12px 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.pb-widget-list {
    list-style: none;
    padding: 16px;
}

.pb-widget-list li {
    padding: 14px 0;
    border-bottom: 2px dashed #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

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

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

.pb-widget-list .rank {
    flex: 0 0 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: #d4380d;
}

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

.pb-tags a {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #333;
    background: #ffd700;
    border: 2px solid #333;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.pb-tags a:hover {
    background: #ff6b35;
    color: #fff;
    border-color: #ff6b35;
}

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

.pb-breadcrumb a {
    color: #d4380d;
}

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

/*------ Article Detail ------*/
.pb-article-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #d4380d;
    margin-bottom: 20px;
    line-height: 1.3;
    text-transform: uppercase;
}

.pb-article-meta {
    display: flex;
    gap: 24px;
    font-size: 13px;
    color: #999;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 3px solid #333;
}

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

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

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

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

.pb-article-content img {
    max-width: 100%;
    margin: 24px 0;
    border: 3px solid #333;
}

/*------ Pagination ------*/
.pb-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 60px;
    padding: 40px 0;
    border-top: 3px solid #333;
}

.pb-pagination a,
.pb-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 700;
    color: #333;
    background: #fff;
    border: 3px solid #333;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.pb-pagination a:hover {
    background: #ffd700;
    color: #333;
}

.pb-pagination .current {
    background: #d4380d;
    color: #fff;
    border-color: #d4380d;
}

/*------ Footer ------*/
.pb-footer {
    margin-top: 100px;
    padding: 40px 0;
    background: #333;
    border-top: 4px solid #ff6b35;
}

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

.pb-footer-copy {
    font-size: 13px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

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

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

/*------ Button Style ------*/
.pb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: #d4380d;
    border: 3px solid #333;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.pb-btn:hover {
    background: #ff6b35;
    color: #fff;
}

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

    .pb-news-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@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: 0;
    }

    .pb-nav a {
        padding: 14px 16px;
        border: none;
        border-bottom: 1px solid rgba(255,255,255,0.3);
    }

    .pb-nav li:last-child a {
        border-right: none;
    }

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

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

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

    .pb-news-image {
        width: 100%;
        height: 220px;
    }

    .pb-news-list {
        grid-template-columns: 1fr;
    }

    .pb-news-item::before {
        display: none;
    }

    .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: 3px solid #333;
}

.pb-article-nav a {
    flex: 1;
    padding: 20px 24px;
    background: #fff;
    border: 3px solid #333;
    font-size: 14px;
    color: #333;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.pb-article-nav a:hover {
    background: #ffd700;
    color: #333;
}

.pb-article-nav .next {
    text-align: right;
    justify-content: flex-end;
}