@charset "UTF-8";

/*设计令牌*/
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #eff5ff;
    --text-primary: #1a1a1a;
    --text-secondary: #555;
    --text-tertiary: #999;
    --text-muted: #bbb;
    --bg-page: #f5f7fa;
    --bg-card: #ffffff;
    --bg-hover: #f8f9fb;
    --border-color: #f0f0f0;
    --border-light: #f5f5f5;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 2px 12px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-primary: 0 4px 16px rgba(37, 99, 235, 0.12);
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.4s ease;
}

/*全局*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a:hover,
a:focus {
    color: var(--primary-color);
}

html,
body {
    height: 100%;
}

body {
    background: var(--bg-page);
    display: flex;
    flex-direction: column;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--text-secondary);
}

.body {
    padding-top: 80px;
}

.layui-container {
    max-width: 1200px;
}

.layui-input:focus,
.layui-textarea:focus {
    border-color: var(--primary-color) !important;
}

.layui-card-footer {
    position: relative;
    padding: 10px 15px;
    border-top: 1px solid var(--primary-light);
    color: var(--text-secondary);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    font-size: 14px;
}

.no-data {
    margin-top: 20px;
    margin-bottom: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 16px;
    line-height: 30px;
    color: var(--text-tertiary);
}

.no-data::before,
.no-data::after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--text-muted), transparent);
    margin: 0 12px;
}

.load-more {
    margin-bottom: 10px;
    margin-top: 5px;
}

.load-more .layui-btn {
    min-width: 120px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
}

.load-more .layui-btn:not(.layui-btn-disabled):hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-primary);
}

/*公用*/
.text-center {
    text-align: center !important;
}

.d-flex {
    display: flex !important;
}

.flex-wrap {
    flex-wrap: wrap !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.justify-content-center {
    justify-content: center !important;
}

.align-items-center {
    align-items: center !important;
}

.justify-content-center {
    justify-content: center !important;
}

.justify-content-end {
    justify-content: flex-end !important;
}

.flex-column {
    flex-direction: column !important;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.text-ellipsis-1,
.text-ellipsis-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    white-space: normal;
}

.text-ellipsis-2 {
    -webkit-line-clamp: 2;
}

.meta-dot {
    display: inline-block;
    width: 3px;
    height: 3px;
    background-color: var(--text-tertiary);
    border-radius: 50%;
    margin: 0 8px;
}

.mh270 {
    min-height: 270px;
}

/*头部*/
.fly-header .layui-nav-left {
    margin-left: 20px;
    float: left !important;
}

.fly-header .layui-input {
    border-radius: 2px 0 0 2px;
    border: 1px solid #e0e0e0;
}

.fly-header .layui-input-wrap {
    max-width: 180px;
}

/*主体*/
.fly-main {
    flex-grow: 1;
    padding-bottom: 20px;
}

/*卡片*/
.layui-card {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-base);
    background: var(--bg-card);
    border: 1px solid var(--border-light);
}

.layui-card:hover {
    box-shadow: var(--shadow-md);
}

.layui-card-header {
    position: relative;
    padding-left: 18px;
    border-bottom: 1px solid var(--border-light);
}

.layui-card-header::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 2px;
}

.layui-card-header h3 {
    font-weight: 600;
    font-size: 16px;
    color: var(--text-primary);
}

.layui-card-header .nav a {
    color: var(--text-tertiary);
    margin-left: 10px;
    font-size: 14px;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.layui-card-header .nav a:hover {
    color: var(--primary-color);
    background: var(--primary-light);
}

.layui-card-header .nav a.active {
    color: var(--primary-color);
    background: var(--primary-light);
}

.layui-card-header a.more {
    color: var(--text-tertiary);
    font-size: 14px;
    transition: color var(--transition-fast);
}

.layui-card-header a.more:hover {
    color: var(--primary-color);
}

/*首页banner*/
#home-banner {
    margin-bottom: 15px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

#home-banner div[carousel-item]>* {
    text-align: center;
    line-height: 280px;
    color: #fff;
    font-size: 18px;
    letter-spacing: 2px;
}

#home-banner div[carousel-item]>*:nth-child(2n) {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

#home-banner div[carousel-item]>*:nth-child(2n+1) {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
}

/*内页banner*/
.page-banner {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    height: 180px;
    width: 100%;
    margin-bottom: 15px;
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 50%);
}

.page-banner h2 {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 6px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 1;
    position: relative;
}

.page-banner p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    z-index: 1;
    position: relative;
}


/*下载列表*/
.download-list {}

.download-list li {}

.download-list .download-box {
    padding-top: 30px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: box-shadow var(--transition-base);
}

.download-list .download-box:hover {
    box-shadow: var(--shadow-md);
}

.download-list .download-thumb {
    margin: 0 auto;
    width: 110px;
    height: 100px;
    background-color: var(--bg-hover);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    color: var(--text-muted);
    font-size: 14px;
}

.download-list .download-info h3 {
    font-weight: 500;
    margin-top: 8px;
}

.download-list .download-title a {
    font-size: 16px;
    line-height: 2;
    color: var(--text-tertiary);
}

.download-list .download-item .layui-btn {
    margin-top: 5px;
    min-width: 60px;
}

/*文章列表*/
.article-list {}

.article-list .article-item-card {
    margin-bottom: 15px;
    padding: 12px 8px 15px;
    border-bottom: 1px solid var(--border-light);
    transition: all var(--transition-base);
    border-radius: var(--radius-sm);
}

.article-list .article-item-card:hover {
    background: var(--bg-hover);
}

.article-list .article-item-card:hover .article-title a {
    color: var(--primary-color);
}

.article-list .article-item-card:hover .article-thumb {
    border-color: var(--primary-color);
}

.article-list .article-item-list {
    line-height: 30px;
    margin-bottom: 5px;
    padding: 0 4px;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
}

.article-list .article-item-list:hover {
    background: var(--bg-hover);
}

.article-list .article-item-list a {
    width: calc(100% - 100px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color var(--transition-fast);
}

.article-list .article-item-list:hover a {
    color: var(--primary-color);
}

.article-list .article-item-list a i {
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.article-list .article-item-list:hover a i {
    color: var(--primary-color);
}

.article-list .article-item-list span {
    color: var(--text-muted);
    font-size: 12px;
}

.article-list .article-thumb {
    width: 120px;
    height: 90px;
    background-color: var(--bg-hover);
    border-radius: var(--radius-sm);
    margin-right: 15px;
    flex-shrink: 0;
    color: var(--text-muted);
    font-size: 12px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: border-color var(--transition-base);
}

.article-list .article-thumb img {
    width: 100% !important;
    height: 100% !important;
    transition: transform var(--transition-slow);
}

.article-list .article-item-card:hover .article-thumb img {
    transform: scale(1.05);
}

.article-list .article-info {
    flex: 1;
}

.article-list .article-title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 1;
}

.article-list .article-title a {
    text-decoration: none;
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.article-list .article-title a:hover {
    color: var(--primary-color);
}

.article-list .article-meta {
    font-size: 12px;
    color: var(--text-tertiary);
}

.article-list .article-abstract {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 6px;
    line-height: 1.5;
}

/*产品列表*/
.product-list {}

.product-list .product-item {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-base);
    background: var(--bg-card);
}

.product-list .product-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-primary);
    transform: translateY(-3px);
}

.product-list .product-img {
    font-size: 14px;
    height: 150px;
    background: var(--bg-hover);
    border-radius: 0;
    margin-bottom: 0;
    color: var(--text-muted);
    overflow: hidden;
}

.product-list .product-img img {
    width: 100% !important;
    height: 100% !important;
    transition: transform var(--transition-slow);
}

.product-list .product-item:hover .product-img img {
    transform: scale(1.08);
}

.product-list .product-info {
    padding: 12px;
}

.product-list .product-name {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 8px;
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.product-list .product-item:hover .product-name {
    color: var(--primary-color);
}

.product-list .product-abstract {
    margin-bottom: 8px;
    font-size: 12px;
    color: var(--text-tertiary);
    line-height: 1.4;
}

.product-list .product-meta {
    font-size: 12px;
    color: var(--text-muted);
}

/*右侧推荐资讯样式*/
.recommend-list {
    list-style: none;
}

.recommend-list .recommend-item {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-light);
    transition: background var(--transition-fast);
    border-radius: var(--radius-sm);
    padding-left: 4px;
}

.recommend-list .recommend-item:hover {
    background: var(--bg-hover);
}

.recommend-list .recommend-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.recommend-list .recommend-number {
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #ff6b35 0%, #ee5a24 100%);
    color: white;
    border-radius: 50%;
    border-top-right-radius: 0 !important;
    font-size: 12px;
    font-weight: bold;
    margin-right: 12px;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(238, 90, 36, 0.3);
}

.recommend-list .recommend-item:nth-child(n+4) .recommend-number {
    background: linear-gradient(135deg, #adb5bd 0%, #868e96 100%);
    box-shadow: 0 2px 6px rgba(134, 142, 150, 0.3);
}

.recommend-list .recommend-content {
    flex: 1;
}

.recommend-list .recommend-title {
    font-weight: 500;
    font-size: 14px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    transition: color var(--transition-fast);
}

.recommend-list .recommend-item:hover .recommend-title a {
    color: var(--primary-color);
}

/*右侧下载列表*/
.down-ul {}

.down-ul .down-info {
    flex: 1;
}

.down-ul .down-title {
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 1;
}

.down-ul .down-item {
    position: relative;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-light);
}

.down-ul .down-item .layui-btn {
    position: absolute;
    right: 0;
    top: 10px;
}

.down-ul .down-title a {
    text-decoration: none;
    color: var(--text-primary);
}

.down-ul .down-meta {
    font-size: 12px;
    color: var(--text-tertiary);
}

/*tags*/
.tag-cloud {
    gap: 8px;
}

.tag-cloud-list {
    gap: 10px;
}

.tag-cloud-list .tag {
    position: relative;
    font-size: 14px;
    padding: 52px 40px 12px 15px;
    width: calc(100% / 5 - 24px);
    display: inline-block;
    vertical-align: top;
    margin: 10px 10px;
    overflow: hidden;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.tag-cloud-list .tag:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.tag-cloud-list .tag h2 {
    font-size: 14px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: all var(--transition-base);
}

.tag-cloud-list .tag .count {
    font-size: 38px;
    opacity: .5;
    position: absolute;
    bottom: 10px;
    right: 15px;
    line-height: 1;
    font-style: italic;
    color: #d5d4d4;
    transition: all var(--transition-base);
}

.tag-cloud-list .tag:hover .count {
    right: 20px;
    bottom: -20%;
    opacity: .3;
}

.tag-cloud-list .tag:before {
    content: "";
}

.tag-cloud-list .tag i {
    background-color: var(--primary-color);
    width: 26px;
    height: 26px;
    line-height: 26px;
    text-align: center;
    border-radius: var(--radius-sm);
    position: absolute;
    top: 15px;
    left: 15px;
    opacity: .35;
    color: #fff;
    transition: all var(--transition-base);
}

.tag-cloud-list .tag:hover i {
    opacity: .6;
}

.tag {
    background: var(--bg-hover);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    display: inline-block;
    transition: all var(--transition-base);
}

.tag:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.tag:before {
    content: "# ";
}

/*右侧广告位*/
.ad-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    margin-bottom: 15px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(118, 75, 162, 0.3);
}

.ad-container::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 60%);
    animation: ad-shimmer 8s linear infinite;
}

@keyframes ad-shimmer {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.ad-container .ad-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    z-index: 1;
}

.ad-container .ad-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.ad-container .ad-content {
    font-size: 13px;
    margin-bottom: 15px;
    opacity: 0.85;
    position: relative;
    z-index: 1;
}

.ad-container .ad-button {
    background: white;
    color: #667eea;
    font-weight: bold;
    transition: all var(--transition-base);
    position: relative;
    z-index: 1;
}

.ad-container .ad-button:hover {
    border-color: #f8f9fa;
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/*内页轮播*/
.carousel-main {
    gap: 16px;
    margin-bottom: 20px;
}

.carousel-main .carousel-box {
    position: relative;
}

.carousel-main .carousel-name {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(37, 99, 235, 0.75);
    color: white;
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    backdrop-filter: blur(4px);
}

.carousel-main .carousel-title {
    padding: 12px 15px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    color: #fff;
    background: linear-gradient(transparent, rgba(29, 78, 216, 0.75));
}

.carousel-main .carousel-title h3 {
    font-size: 16px;
    margin-bottom: 4px;
    font-weight: 600;
}

.carousel-main .carousel-title p {
    font-size: 13px;
    line-height: 1.5;
    opacity: 0.9;
}

.carousel-main .carousel-container {
    flex: 1.5;
    height: 350px;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.carousel-main .carousel-thumb {
    width: 100%;
    line-height: 350px;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    color: var(--text-muted);
    font-size: 28px;
}

.carousel-main .carousel-thumb img {
    width: 100% !important;
    height: 100% !important;
    transition: transform var(--transition-slow);
}

.carousel-main .carousel-box:hover .carousel-thumb img {
    transform: scale(1.03);
}

.side-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
}

.side-item {
    height: 100%;
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: box-shadow var(--transition-base);
}

.side-item:hover {
    box-shadow: var(--shadow-lg);
}

.side-thumb {
    font-size: 14px;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    color: var(--text-muted);
}

.side-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

.side-item:hover img {
    transform: scale(1.05);
}

.side-caption {
    padding: 0 10px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
    color: white;
    line-height: 36px;
}

.side-caption h3 {
    font-size: 13px;
    font-weight: 500;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/*详情页*/
.article-content {
    padding: 8px 30px;
}

/*详情页卡片顶边蓝色装饰线 */
.article-card {
    border-top: 3px solid var(--primary-color);
}

.article-content h1.entry-title {
    font-size: 26px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 5px;
    word-break: break-word;
}

.article-content .entry-meta {
    font-size: 13px;
    margin-top: 12px;
    margin-bottom: 5px;
    color: #a0a0a0;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.article-content .entry-meta>li {
    display: inline-block;
    padding-right: 5px;
    padding-left: 5px;
}

.article-content .post-icons {
    margin-right: 2px;
}

.article-content .entry-content {
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.85;
    color: var(--text-secondary);
    word-break: break-word;
    overflow-wrap: break-word;
}

/*正文段落*/
.article-content .entry-content p {
    margin-bottom: 18px;
    text-align: justify;
}

.article-content .entry-content p:last-child {
    margin-bottom: 0;
}

/*正文标题 h2/h3/h4 */
.article-content .entry-content h2,
.article-content .entry-content h3,
.article-content .entry-content h4 {
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    margin-top: 32px;
    margin-bottom: 16px;
    position: relative;
}

.article-content .entry-content h2 {
    font-size: 22px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f0f0f0;
}

.article-content .entry-content h3 {
    font-size: 19px;
    padding-left: 14px;
}

.article-content .entry-content h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 18px;
    background: var(--primary-color);
    border-radius: 3px;
}

.article-content .entry-content h4 {
    font-size: 17px;
}

/*正文 strong 加粗 */
.article-content .entry-content strong,
.article-content .entry-content b {
    font-weight: 600;
    color: var(--text-primary);
}

/*正文行内代码 */
.article-content .entry-content code {
    font-size: 14px;
    padding: 2px 6px;
    margin: 0 2px;
    background: var(--bg-hover);
    border-radius: var(--radius-sm);
    color: #e83e8c;
    font-family: "SF Mono", "Consolas", "Liberation Mono", "Menlo", monospace;
    word-break: break-all;
}

/*正文代码块 pre */
.article-content .entry-content pre {
    background: #282c34;
    color: #abb2bf;
    padding: 16px 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
    font-size: 14px;
    line-height: 1.6;
}

.article-content .entry-content pre code {
    background: none;
    color: inherit;
    padding: 0;
    margin: 0;
    font-size: inherit;
}

/*正文引用 blockquote */
.article-content .entry-content blockquote {
    margin: 20px 0;
    padding: 12px 20px 12px 16px;
    border-left: 4px solid var(--primary-color);
    background: #f7f9fc;
    border-radius: 0 6px 6px 0;
    color: #555;
    font-size: 15px;
}

.article-content .entry-content blockquote p:last-child {
    margin-bottom: 0;
}

/*正文列表 ul/ol */
.article-content .entry-content ul,
.article-content .entry-content ol {
    margin: 16px 0 18px 0;
    padding-left: 28px;
}

.article-content .entry-content li {
    margin-bottom: 8px;
    line-height: 1.8;
}

.article-content .entry-content li:last-child {
    margin-bottom: 0;
}

/*正文链接 */
.article-content .entry-content a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition-fast);
}

.article-content .entry-content a:hover {
    border-bottom-color: var(--primary-color);
}

/*正文图片 */
.article-content .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 10px 0;
}

/*正文表格 */
.article-content .entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 15px;
}

.article-content .entry-content table th,
.article-content .entry-content table td {
    padding: 10px 14px;
    border: 1px solid #e8e8e8;
    text-align: left;
}

.article-content .entry-content table th {
    background: #f7f9fc;
    font-weight: 600;
    color: var(--text-primary);
}

.article-content .entry-content table tr:nth-child(even) {
    background: #fafafa;
}

/*正文水平分割线 */
.article-content .entry-content hr {
    border: none;
    border-top: 1px solid #e8e8e8;
    margin: 28px 0;
}

/*付费提示区域 */
.article-content .allow_visitor {
    margin-top: 20px;
}

/*分页在正文中的间距 */
.article-content .entry-content .pagination {
    margin-top: 28px;
}

.entry-copyright {
    position: relative;
    border-radius: 5px;
    line-height: 22px;
    display: inline-block;
    padding: 15px 20px;
    font-size: 12px;
    color: var(--text-tertiary);
    background: #f8f8f9;
    width: 100%;
    margin: 25px 0 0;
}

.article-tag {
    border-radius: 5px;
    margin-bottom: 15px;
    padding: 12px 15px;
    background-color: var(--bg-card);
    border-left: 3px solid var(--primary-color);
}

.article-tag span {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.allow_visitor {
    font-size: 15px;
    padding: 15px 10px;
    text-align: center;
    border-radius: 5px;
    background: #f9f9f9;
}

.allow_visitor p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 30px;
    margin-bottom: 8px;
}

.entry-info {
    border-radius: 6px;
    background: #fbfbfb;
    margin: 20px 0 20px;
    padding: 12px 25px;
}

.entry-info>li {
    padding: 3px 0;
}

.entry-info .info-item {
    flex: 1;
}

.entry-info .info-label {
    width: 80px;
    color: var(--text-primary);
    font-weight: normal;
}

.entry-info .info-value {
    flex: 1;
    color: var(--text-secondary);
}

.entry-info .layui-rate {
    padding: 0;
}

.entry-info .layui-rate li i.layui-icon {
    font-size: 16px;
}

/*搜索页*/
.search-manin {
    margin-top: 60px;
}

.search-manin .d-flex {
    gap: 10px;
}

.search-title {
    font-weight: 500;
    font-size: 28px;
    line-height: 2;
    margin-bottom: 15px;
}

.hot-keywords {
    text-align: center;
    margin-top: 15px;
    color: var(--text-secondary);
}

.hot-keywords a {
    margin: 0 5px;
    color: #2563eb;
}

/*筛选*/
.filter-container {
    padding-top: 10px;

}

.filter-row {
    margin-bottom: 15px;
}

.filter-category {
    flex-wrap: wrap;
    align-items: center;
}

.filter-category .filter-category-title {
    min-width: 40px;
    font-size: 15px;
    margin-right: 10px;
    color: var(--text-primary);
    white-space: nowrap;
}

.filter-category .filter-options {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.filter-category .filter-option a {
    color: #6c757d;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.filter-category .filter-option a:hover,
.filter-category .filter-option a.active {
    color: #fff;
    background-color: var(--primary-color);
}

/*上一篇下一篇*/
.article-nav .box-body {
    width: calc(50% - 7px);
    margin: 0;
    display: inline-block;
    background-color: var(--bg-card);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
}

.article-nav .box-body:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-primary);
    transform: translateY(-2px);
}

.article-nav .box-body+.box-body {
    margin-right: 0;
    float: right;
    text-align: right;
}

.article-nav .box-body p {
    color: var(--text-tertiary);
    margin-bottom: 8px;
    font-size: 13px;
}

.article-nav .post-icons {
    margin-right: 2px;
}

.article-nav .post-icons svg {
    width: 14px;
    height: 14px;
    vertical-align: -2px;
}

/*面包屑*/
.breadcrumb {
    padding: 8px 15px;
    list-style: none;
    border-radius: var(--radius-sm);
    font-size: 13px;
}

.breadcrumb>li {
    display: inline-block;
}

.breadcrumb>li>a {
    color: var(--text-tertiary);
    transition: color var(--transition-fast);
}

.breadcrumb>li>a:hover {
    color: var(--primary-color);
}

.breadcrumb>.active {
    color: var(--primary-color);
}

.breadcrumb>li+li:before {
    padding: 0 5px;
    color: var(--text-muted);
    content: "/\00a0";
}

/*分页*/
.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: var(--radius-sm);
}

.pagination>li {
    display: inline;
}

.pagination>li>a,
.pagination>li>span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: 4px;
    line-height: 1.42857143;
    color: var(--primary-color);
    text-decoration: none;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.pagination>li>a:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-color);
}

.pagination>li:first-child>a,
.pagination>li:first-child>span {
    margin-left: 0;
}

.pagination>.active>a,
.pagination>.active>a:focus,
.pagination>.active>a:hover,
.pagination>.active>span,
.pagination>.active>span:focus,
.pagination>.active>span:hover {
    z-index: 3;
    color: #fff;
    cursor: default;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.pagination>.disabled>a,
.pagination>.disabled>a:focus,
.pagination>.disabled>a:hover,
.pagination>.disabled>span,
.pagination>.disabled>span:focus,
.pagination>.disabled>span:hover {
    color: var(--text-muted);
    cursor: not-allowed;
    background-color: var(--bg-card);
    border-color: var(--border-color);
}

/*分享*/
.social-share .social-share-icon {
    font-size: 14px;
    width: 18px;
    height: 18px;
    line-height: 18px;
    color: var(--text-tertiary);
    border: none;
}

.social-share .social-share-icon:hover {
    background: none;
}

.social-share .icon-weibo:hover {
    color: #ff763b
}

.social-share .icon-qq:hover {
    color: #56b6e7
}

.social-share .icon-qzone:hover {
    color: #FDBE3D
}

.social-share .icon-wechat:hover {
    color: #7bc549;
}

/*底部*/
footer {
    flex-grow: 0;
    flex-shrink: 0;
    border-top: 3px solid var(--primary-color);
}

footer .copyright {
    background: linear-gradient(180deg, #2d3338 0%, #1f2429 100%);
    line-height: 50px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
}

footer .copyright a {
    padding: 0 6px;
    font-weight: 300;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

footer .copyright a:hover {
    color: #fff;
}

/*返回顶部按钮*/
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 40px;
    width: 48px;
    height: 48px;
    cursor: pointer;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/*SVG 进度环*/
.back-to-top-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.back-to-top-ring .ring-bg {
    fill: none;
    stroke: rgba(37, 99, 235, 0.15);
    stroke-width: 3;
}

.back-to-top-ring .ring-progress {
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 138.2;
    stroke-dashoffset: 138.2;
    transition: stroke-dashoffset 0.1s linear;
}

/*中心圆形按钮*/
.back-to-top::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
    transition: all var(--transition-base);
}

/*呼吸光晕*/
.back-to-top::after {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.3);
    animation: back-to-top-pulse 2.5s ease-out infinite;
}

@keyframes back-to-top-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.3); }
    70% { box-shadow: 0 0 0 12px rgba(37, 99, 235, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

.back-to-top:hover::before {
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
    transform: scale(1.05);
}

.back-to-top:hover::after {
    animation: none;
}

.back-to-top i,
.back-to-top .back-to-top-icon {
    position: relative;
    z-index: 1;
    font-size: 22px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    transition: transform var(--transition-base);
}

.back-to-top:hover i,
.back-to-top:hover .back-to-top-icon {
    transform: translateY(-3px);
}

/*滚动渐入动画*/
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/*搜索页*/
.search-manin .d-flex {
    gap: 10px;
}


@media screen and (max-width: 768px) {
    .fly-header .layui-nav-left {
        margin-left: 0px !important;
        float: none !important;
        width: 100%;
    }

    .fly-header .layui-search .layui-inline {
        display: block;
        margin-bottom: 10px;
    }

    .fly-header .layui-input-wrap {
        max-width: 100%;
    }

    .fly-header .layui-nav-right {
        margin-top: -10px;
    }

    .carousel-main {
        display: block !important;
        margin-bottom: 10px;
    }

    .side-grid {
        margin-top: 10px;
        min-height: 200px;
    }

    .entry-info {
        margin: 10px 0 10px;
        padding: 8px 15px;
    }

    .entry-info>li {
        padding: 0;
    }

    .entry-info>.d-flex {
        display: block !important;

    }

    .entry-info .info-item {
        margin-bottom: 3px;
        justify-content: space-between !important;
    }

    .entry-info .info-value {
        flex: none;
    }

    /*详情页移动端适配 */
    .article-content {
        padding: 5px 15px;
    }

    .article-content h1.entry-title {
        font-size: 22px;
        line-height: 1.35;
    }

    .article-content .entry-content {
        font-size: 15px;
        line-height: 1.8;
    }

    .article-content .entry-content h2 {
        font-size: 19px;
    }

    .article-content .entry-content h3 {
        font-size: 17px;
    }

    .article-content .entry-content h4 {
        font-size: 16px;
    }

    .article-content .entry-content pre {
        font-size: 13px;
        padding: 12px 14px;
    }

    .article-content .entry-content blockquote {
        padding: 10px 14px 10px 12px;
        font-size: 14px;
    }

    .article-content .entry-content ul,
    .article-content .entry-content ol {
        padding-left: 22px;
    }

    /*筛选*/
    .filter-category {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-category .filter-category-title {
        margin-bottom: 8px;
    }

    .filter-category .filter-options {
        margin-left: 0;
        gap: 6px;
    }

    .filter-category .filter-option a {
        padding: 3px 6px;
        font-size: 0.9rem;
    }

    .tag-cloud-list .tag {
        width: calc(100% / 2 - 24px);
    }

    /*移动端文章缩略图缩小*/
    .article-list .article-thumb {
        width: 90px;
        height: 70px;
    }

    /*移动端隐藏返回顶部按钮偏移*/
    .back-to-top {
        right: 15px;
        bottom: 20px;
        width: 38px;
        height: 38px;
    }

    .back-to-top i,
    .back-to-top .back-to-top-icon {
        font-size: 20px;
    }

    /*移动端分页按钮间距*/
    .pagination>li>a,
    .pagination>li>span {
        padding: 6px 10px;
    }

    /*移动端产品列表hover效果关闭*/
    .product-list .product-item:hover {
        transform: none;
    }
}