/**
 * 微校外卖主题样式
 * 基于企业微信官网结构，配色替换为 #fa961b
 */

/* ===== 变量定义 ===== */
:root {
    --sen-primary-color: #fa961b;
    --sen-accent-color: #905f05;
    --sen-secondary-color: #ffcb10;
    --sen-text-color: #333;
    --sen-text-light: #666;
    --sen-bg-color: #fff;
    --sen-border-color: #eaeaea;
}

/* ===== 基础样式 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--sen-text-color);
    background-color: var(--sen-bg-color);
}

a {
    color: var(--sen-primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--sen-accent-color);
}

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

/* ===== WordPress 管理员工具栏适配 ===== */
body.admin-bar .sen-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .sen-header {
        top: 46px;
    }
}

/* ===== Header 样式 ===== */
.sen-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 11;
    width: 100%;
    height: 66px;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.5);
    background: linear-gradient(90deg,
            rgba(250, 150, 27, 0) 54.88%,
            rgba(250, 150, 27, 0.5) 65%,
            rgba(250, 150, 27, 0.4) 74.51%,
            rgba(250, 150, 27, 0.5) 85%,
            rgba(250, 150, 27, 0) 95.29%);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.sen-header.sen-header-fixed {
    background: #fff;
    border-bottom: 0.5px solid var(--sen-border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sen-header.sen-header-fixed .sen-header-nav-menu a {
    color: var(--sen-text-color);
}

.sen-header.sen-header-fixed .sen-header-nav-menu a:hover,
.sen-header.sen-header-fixed .sen-header-nav-menu a.sen-active {
    color: var(--sen-primary-color);
}

.sen-header.sen-header-fixed .sen-header-logo-link {
    color: var(--sen-text-color);
}

.sen-header.sen-header-fixed .sen-header-logo-text {
    color: var(--sen-text-color);
}

.sen-header-bg {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background-color: #fff;
    border-bottom: solid 0.5px var(--sen-border-color);
    opacity: 1 !important;
    box-sizing: border-box;
}

.sen-header.sen-header-fixed .sen-header-bg {
    display: block;
}

.sen-header-inner {
    position: relative;
    z-index: 2;
    width: 1024px;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 20px;
    height: 100%;
}

.sen-header-logo {
    float: left;
    height: 66px;
    display: flex;
    align-items: center;
}

.sen-header-logo-link {
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 0;
    line-height: 66px;
    height: 66px;
    overflow: hidden;
    box-sizing: border-box;
}

.sen-header.sen-header-fixed .sen-header-logo-link {
    color: var(--sen-text-color);
}

.sen-header.sen-header-fixed .sen-header-logo-text {
    color: var(--sen-text-color);
}

.sen-header-logo-img {
    width: 66px;
    height: 66px;
    margin-right: 0;
    vertical-align: middle;
}

.sen-header-logo-text {
    display: inline-block;
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    vertical-align: middle;
}

.sen-header.sen-header-fixed .sen-header-logo-text {
    color: var(--sen-text-color);
}

.sen-header-nav {
    display: inline-block;
    margin-left: auto;
    text-align: right;
}

.sen-mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 12;
    margin-left: auto;
    order: 2;
}

.sen-mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
    display: block;
}

.sen-header.sen-header-fixed .sen-mobile-menu-toggle span {
    background: var(--sen-text-color);
}

.sen-mobile-nav {
    display: none;
    position: fixed;
    top: 66px;
    left: 0;
    width: 100%;
    height: calc(100vh - 66px);
    z-index: 9999;
    overflow: hidden;
}

body.admin-bar .sen-mobile-nav {
    top: 98px;
    height: calc(100vh - 98px);
}

@media screen and (max-width: 782px) {
    body.admin-bar .sen-mobile-nav {
        top: 112px;
        height: calc(100vh - 112px);
    }
}

.sen-mobile-nav.sen-active {
    display: block;
}

.sen-mobile-nav-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.sen-mobile-nav-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 80%;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    padding: 60px 20px 20px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.sen-mobile-nav.sen-active .sen-mobile-nav-content {
    transform: translateX(0);
}

.sen-mobile-nav-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    border: none;
    background: none;
    font-size: 24px;
    color: var(--sen-text-color);
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s ease;
}

.sen-mobile-nav-close:hover {
    color: var(--sen-primary-color);
}

.sen-mobile-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sen-mobile-nav-menu li {
    margin-bottom: 0;
    border-bottom: 1px solid var(--sen-border-color);
}

.sen-mobile-nav-menu li:last-child {
    border-bottom: none;
}

.sen-mobile-nav-menu a {
    display: block;
    padding: 15px 0;
    color: var(--sen-text-color);
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.sen-mobile-nav-menu a:hover,
.sen-mobile-nav-menu a.sen-active {
    color: var(--sen-primary-color);
}

.sen-mobile-nav-menu li:last-child a {
    background: var(--sen-primary-color);
    color: #fff;
    border-radius: 4px;
    padding: 12px 20px;
    text-align: center;
    margin-top: 10px;
}

.sen-mobile-nav-menu li:last-child a:hover {
    background: var(--sen-accent-color);
    color: #fff;
}

.sen-header-nav-menu {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 64px;
    margin: 0;
    padding: 0;
}

.sen-header-nav-menu li {
    display: inline-block;
}

.sen-header-nav-menu a {
    color: #fff;
    line-height: 34px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.sen-header-nav-menu a:hover,
.sen-header-nav-menu a.sen-active {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.sen-header-nav-menu li:last-child a {
    display: inline-block;
    min-width: 100px;
    height: 34px;
    border: 1px solid var(--sen-primary-color);
    box-sizing: border-box;
    border-radius: 4px;
    line-height: 32px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    user-select: none;
    -webkit-font-smoothing: antialiased;
    transition: all 0.4s;
    padding: 0 14px;
    background: linear-gradient(90deg, var(--sen-primary-color) 0%, var(--sen-secondary-color) 100%);
    border: 0 none;
    color: #FFF;
    box-shadow: 0 12px 32px 0 rgba(250, 150, 27, 0.3);
}

.sen-header-nav-menu li:last-child a:hover {
    border-color: var(--sen-accent-color);
    text-decoration: none;
    color: #fff;
    background: linear-gradient(90deg, var(--sen-accent-color) 0%, var(--sen-primary-color) 100%);
}

.sen-header.sen-header-fixed .sen-header-nav-menu li:last-child a {
    background: var(--sen-primary-color);
    box-shadow: 0 4px 12px rgba(250, 150, 27, 0.3);
    color: #fff;
}

.sen-header.sen-header-fixed .sen-header-nav-menu li:last-child a:hover {
    background: var(--sen-accent-color);
    color: #fff;
}

.sen-header-action {
    position: absolute;
    right: 2px;
    font-size: 0;
}

.sen-header-action-btn {
    display: inline-block;
    min-width: 100px;
    height: 34px;
    border: 1px solid var(--sen-primary-color);
    box-sizing: border-box;
    border-radius: 4px;
    line-height: 32px;
    color: var(--sen-primary-color);
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    user-select: none;
    -webkit-font-smoothing: antialiased;
    transition: all 0.4s;
    padding: 0 14px;
}

.sen-header.sen-header-fixed .sen-header-action-btn {
    border: 1px solid var(--sen-primary-color);
    color: var(--sen-primary-color);
}

.sen-header-action-btn:hover {
    border-color: var(--sen-accent-color);
    text-decoration: none;
    color: var(--sen-accent-color);
}

.sen-header.sen-header-fixed .sen-header-action-btn:hover {
    border-color: var(--sen-accent-color);
    color: var(--sen-accent-color);
}

.sen-header-action-btn-primary {
    background: linear-gradient(90deg, var(--sen-primary-color) 0%, var(--sen-secondary-color) 100%);
    border: 0 none;
    color: #FFF;
    box-shadow: 0 12px 32px 0 rgba(250, 150, 27, 0.3);
}

.sen-header.sen-header-fixed .sen-header-action-btn-primary {
    background: var(--sen-primary-color);
    box-shadow: 0 4px 12px rgba(250, 150, 27, 0.3);
}

.sen-header.sen-header-fixed .sen-header-action-btn-primary:hover {
    background: var(--sen-accent-color);
    color: #fff;
}

/* ===== Hero 区样式 ===== */
.sen-hero {
    position: relative;
    width: 100%;
    min-height: 600px;
    background: transparent;
    display: flex;
    align-items: center;
    padding: 120px 20px 80px;
    overflow: hidden;
}

.sen-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
}

.sen-head-gradual-bg {
    background: url('../images/HeadBg4116cac8.webp') no-repeat center bottom;
    background-size: cover;
    opacity: 1;
}

@media only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (min--moz-device-pixel-ratio: 2),
only screen and (-o-min-device-pixel-ratio: 2/1),
only screen and (min-device-pixel-ratio: 2),
only screen and (min-resolution: 192dpi),
only screen and (min-resolution: 2dppx) {
    .sen-head-gradual-bg {
        background-image: url('../images/HeadBg_2x3c367347.webp');
    }
}

.sen-hero-content {
    position: relative;
    z-index: 2;
    width: 1024px;
    max-width: 100%;
    margin: 0 auto;
}

.sen-hero-text {
    max-width: 600px;
}

.sen-hero-title {
    font-size: 48px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 24px;
    line-height: 1.2;
    text-align: left;
}

.sen-hero-desc {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.6;
    text-align: left;
}

.sen-hero-action {
    margin-top: 40px;
    text-align: left;
}

.sen-hero-btn {
    display: inline-block;
    min-width: 180px;
    height: 60px;
    line-height: 60px;
    font-size: 20px;
    font-weight: 600;
    border-radius: 10px;
    text-align: center;
    user-select: none;
    transition: all 0.3s ease;
}

.sen-hero-btn-primary {
    background: var(--sen-primary-color);
    color: #fff;
    box-shadow: 0 12px 32px rgba(250, 150, 27, 0.3);
}

.sen-hero-btn-primary:hover {
    background: var(--sen-accent-color);
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(144, 95, 5, 0.4);
    color: #fff;
}

/* Hero区响应式设计 */
@media (max-width: 768px) {
    .sen-hero {
        min-height: auto;
        padding: 100px 20px 60px;
    }

    .sen-hero-text {
        max-width: 100%;
        text-align: center;
    }

    .sen-hero-title {
        font-size: 32px;
        text-align: center;
    }

    .sen-hero-desc {
        font-size: 16px;
        text-align: center;
    }

    .sen-hero-action {
        text-align: center;
    }
}

/* ===== Section 通用样式 ===== */
.sen-section {
    width: 100%;
    padding: 60px 20px;
    background-color: #fff;
}

.sen-section-inner {
    width: 1024px;
    max-width: 100%;
    margin: 0 auto;
}

.sen-section-title {
    margin-bottom: 38px;
    color: #000;
    text-align: center;
    font-size: 24px;
    line-height: 32px;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

/* ===== 产品能力样式 ===== */
.sen-product-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -2.59%;
    overflow: hidden;
}

.sen-product-item {
    flex: 0 0 19.81%;
    width: 19.81%;
    margin-left: 5.18%;
    margin-bottom: 53px;
    text-align: center;
    transition: all 0.3s ease-in-out;
}

.sen-product-icon {
    display: inline-block;
    width: 200px;
    height: 176px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sen-product-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.sen-product-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--sen-text-color);
    margin-bottom: 16px;
}

.sen-product-desc {
    font-size: 14px;
    color: var(--sen-text-light);
    line-height: 1.6;
}

/* ===== 校园方案样式 ===== */
.sen-solution-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

.sen-solution-item {
    flex: 0 0 calc(33.333% - 27px);
    max-width: calc(33.333% - 27px);
    text-align: center;
}

.sen-solution-image {
    width: 100%;
    height: 200px;
    margin-bottom: 24px;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sen-solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sen-solution-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--sen-text-color);
    margin-bottom: 16px;
}

.sen-solution-desc {
    font-size: 14px;
    color: var(--sen-text-light);
    line-height: 1.6;
}

/* ===== 支付合规样式 ===== */
.sen-payment-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.sen-payment-item {
    flex: 0 0 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.sen-payment-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(250, 150, 27, 0.15);
}

.sen-payment-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--sen-primary-color);
    margin-bottom: 12px;
}

.sen-payment-desc {
    font-size: 14px;
    color: var(--sen-text-light);
    line-height: 1.6;
}

/* ===== 平台架构样式 ===== */
.sen-architecture-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.sen-architecture-item {
    flex: 0 0 calc(25% - 23px);
    max-width: calc(25% - 23px);
    padding: 40px 30px;
    background: #fff;
    border: 1px solid var(--sen-border-color);
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.sen-architecture-item:hover {
    border-color: var(--sen-primary-color);
    box-shadow: 0 8px 24px rgba(250, 150, 27, 0.15);
}

.sen-architecture-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sen-architecture-icon img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.sen-architecture-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--sen-text-color);
    margin-bottom: 12px;
}

.sen-architecture-desc {
    font-size: 14px;
    color: var(--sen-text-light);
    line-height: 1.6;
}

/* ===== 最新动态样式 ===== */
.sen-news-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--sen-border-color);
    padding-bottom: 20px;
}

.sen-news-tab {
    padding: 10px 20px;
    font-size: 16px;
    color: var(--sen-text-light);
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.sen-news-tab:hover {
    color: var(--sen-primary-color);
}

.sen-news-tab.sen-active {
    color: var(--sen-primary-color);
    font-weight: 500;
}

.sen-news-tab.sen-active::after {
    content: '';
    position: absolute;
    bottom: -21px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--sen-primary-color);
}

.sen-news-content {
    position: relative;
}

.sen-news-panel {
    display: none;
}

.sen-news-panel.sen-active {
    display: block;
}

.sen-news-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.sen-news-item {
    flex: 0 0 calc(50% - 15px);
    max-width: calc(50% - 15px);
    background: #fff;
    border: 1px solid var(--sen-border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 150px;
}

.sen-news-item:hover {
    box-shadow: 0 8px 24px rgba(250, 150, 27, 0.15);
    transform: translateY(-5px);
}

.sen-news-link {
    display: flex;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.sen-news-image {
    flex: 0 0 200px;
    width: 200px;
    height: 150px;
    overflow: hidden;
    background: #f0f0f0;
    flex-shrink: 0;
}

.sen-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sen-news-info {
    flex: 1;
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 150px;
}

.sen-news-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--sen-text-color);
    margin-bottom: 10px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex-shrink: 0;
}

.sen-news-excerpt {
    font-size: 14px;
    color: var(--sen-text-light);
    line-height: 1.6;
    height: 67px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    margin-bottom: 10px;
    flex-shrink: 0;
}

.sen-news-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: auto;
    flex-shrink: 0;
    font-size: 12px;
    color: #999;
}

.sen-news-meta .sen-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.sen-news-meta .fa {
    font-size: 11px;
    opacity: 0.8;
}

.sen-news-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--sen-text-light);
}

/* ===== Footer 样式 ===== */
.sen-footer {
    width: 100%;
    background: #f5f5f5;
    color: #666;
    padding: 30px 20px;
}

.sen-footer-inner {
    width: 1024px;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    font-size: 12px;
    line-height: 1.8;
}

.sen-footer-line1 {
    margin-bottom: 8px;
}

.sen-footer-line2 {
    font-size: 12px;
}

.sen-footer-legal-menu {
    list-style: none;
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    margin: 0;
    padding: 0;
}

.sen-footer-legal-menu li {
    display: inline-block;
}

.sen-footer-legal-menu a {
    color: #666;
    transition: all 0.3s ease;
    text-decoration: none;
}

.sen-footer-legal-menu a:hover {
    color: #333;
    text-decoration: underline;
}

.sen-footer-legal-menu li:not(:last-child)::after {
    content: '|';
    margin: 0 8px;
    color: #999;
}

.sen-footer-separator {
    margin: 0 8px;
    color: #999;
}

.sen-footer-copyright {
    color: #666;
}

.sen-footer-line1 a,
.sen-footer-line2 a {
    color: #666;
    transition: all 0.3s ease;
    text-decoration: none;
}

.sen-footer-line1 a:hover,
.sen-footer-line2 a:hover {
    color: #333;
    text-decoration: underline;
}

.sen-footer-line1 span,
.sen-footer-line2 span {
    display: inline-block;
    color: #666;
}

/* ===== 弹窗样式 ===== */
.sen-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.sen-modal.sen-active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sen-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.sen-modal-content {
    position: relative;
    z-index: 10000;
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.sen-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    border: none;
    background: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s ease;
}

.sen-modal-close:hover {
    color: var(--sen-primary-color);
}

.sen-modal-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--sen-text-color);
    margin-bottom: 30px;
    text-align: center;
}

.sen-modal-qrcode {
    text-align: center;
    margin-bottom: 20px;
}

.sen-modal-qrcode img {
    max-width: 200px;
    height: auto;
    border: 1px solid var(--sen-border-color);
    border-radius: 8px;
}

.sen-modal-text {
    text-align: center;
    font-size: 16px;
    color: var(--sen-text-color);
    margin-top: 20px;
}

/* ===== 内容页面样式 ===== */
.sen-page-content {
    padding: 120px 20px 80px;
    background: #f8f9fa;
}

.sen-page-inner {
    width: 1024px;
    max-width: 100%;
    margin: 0 auto;
}

.sen-page-article {
    background: #fff;
    padding: 60px 80px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.sen-page-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--sen-border-color);
}

.sen-page-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--sen-text-color);
    margin-bottom: 20px;
    line-height: 1.4;
}

.sen-page-meta {
    display: flex;
    gap: 30px;
    font-size: 14px;
    color: var(--sen-text-light);
}

.sen-page-update,
.sen-page-effective {
    display: inline-block;
}

.sen-page-body {
    font-size: 14px;
    line-height: 1.8;
    color: var(--sen-text-color);
}

.sen-page-intro {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--sen-border-color);
}

.sen-page-intro p {
    margin-bottom: 16px;
}

.sen-page-section {
    margin-bottom: 40px;
}

.sen-page-section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--sen-text-color);
    margin-bottom: 20px;
    margin-top: 30px;
    line-height: 1.4;
}

.sen-page-section-title:first-child {
    margin-top: 0;
}

.sen-page-subtitle {
    font-size: 16px;
    font-weight: 500;
    color: var(--sen-text-color);
    margin-top: 24px;
    margin-bottom: 16px;
    line-height: 1.4;
}

.sen-page-body p {
    margin-bottom: 16px;
    line-height: 1.8;
}

.sen-page-body ul,
.sen-page-body ol {
    margin: 16px 0 16px 30px;
    padding-left: 0;
}

.sen-page-body li {
    margin-bottom: 12px;
    line-height: 1.8;
}

.sen-page-body strong {
    font-weight: 600;
    color: var(--sen-text-color);
}

/* ===== 标签归档页面样式 ===== */
.sen-archive {
    padding: 120px 20px 80px;
    background: #f8f9fa;
}

.sen-archive-inner {
    width: 1024px;
    max-width: 100%;
    margin: 0 auto;
}

.sen-archive-tags-filter {
    background: #fff;
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.sen-archive-tags-filter .sen-single-tags {
    margin: 0;
    justify-content: flex-start;
}

.sen-archive-tags-filter .sen-tag {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(250, 150, 27, 0.1);
    color: var(--sen-primary-color);
    border-radius: 4px;
    font-size: 12px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.sen-archive-tags-filter .sen-tag:hover {
    background: var(--sen-primary-color);
    color: #fff;
}

.sen-archive-tags-filter .sen-tag-active {
    background: var(--sen-primary-color) !important;
    color: #fff !important;
}

/* ===== 分类归档样式 ===== */
.sen-archive-description {
    background: linear-gradient(135deg, rgba(250, 150, 27, 0.1) 0%, rgba(250, 150, 27, 0.05) 100%);
    padding: 20px 30px;
    border-radius: 8px;
    border-left: 4px solid var(--sen-primary-color);
    margin-bottom: 30px;
}

.sen-archive-description p {
    margin: 0;
    color: var(--sen-text-color);
    font-size: 14px;
    line-height: 1.8;
}

.sen-archive-categories-filter {
    background: #fff;
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.sen-category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.sen-category-item {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(250, 150, 27, 0.1);
    color: var(--sen-primary-color);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.sen-category-item:hover {
    background: var(--sen-primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(250, 150, 27, 0.3);
}

.sen-category-item.sen-category-active {
    background: var(--sen-primary-color);
    color: #fff;
    border-color: var(--sen-accent-color);
}

.sen-category-count {
    margin-left: 6px;
    font-size: 12px;
    opacity: 0.8;
}

.sen-archive-content {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.sen-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.sen-archive-item {
    border: 1px solid var(--sen-border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
}

.sen-archive-item:hover {
    box-shadow: 0 8px 24px rgba(250, 150, 27, 0.15);
    transform: translateY(-5px);
}

.sen-archive-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.sen-archive-thumbnail {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f0f0f0;
}

.sen-archive-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sen-archive-info {
    padding: 20px;
}

.sen-archive-item-title {
    font-size: 18px;
    font-weight: 500;
    color: var(--sen-text-color);
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sen-archive-excerpt {
    font-size: 14px;
    color: var(--sen-text-light);
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sen-archive-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
    color: var(--sen-text-light);
}

/* 左侧标签区域 - 可溢出省略 */
.sen-archive-meta-left {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

/* 右侧固定宽度区域 - 时间、阅读、评论 */
.sen-archive-meta-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    white-space: nowrap;
}

/* 标签列表 */
.sen-archive-tags-list {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* 单个标签按钮样式 */
.sen-archive-tag-item {
    display: inline-block;
    padding: 2px 8px;
    font-size: 11px;
    color: var(--sen-primary-color);
    background: rgba(250, 150, 27, 0.1);
    border-radius: 3px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.sen-archive-tag-item:hover {
    background: var(--sen-primary-color);
    color: #fff;
    transform: translateY(-1px);
}

/* Meta 项目 */
.sen-archive-meta .sen-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.sen-archive-meta .fa {
    font-size: 11px;
    opacity: 0.8;
}

.sen-archive-date {
    color: var(--sen-text-light);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* 旧样式兼容（如果其他地方还在使用） */
.sen-archive-meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.sen-archive-meta-stats {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sen-archive-category,
.sen-archive-tags {
    color: var(--sen-primary-color);
    padding: 4px 10px;
    background: rgba(250, 150, 27, 0.1);
    border-radius: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.sen-archive-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--sen-text-light);
}

/* ===== 标签云页面样式 ===== */
/* 标签云页面样式已移除，使用 .sen-archive-tags-filter 统一样式 */

/* ===== 分页样式 ===== */
.sen-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--sen-border-color);
}

.sen-pagination a,
.sen-pagination span {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid var(--sen-border-color);
    border-radius: 4px;
    color: var(--sen-text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.sen-pagination a:hover {
    background: var(--sen-primary-color);
    color: #fff;
    border-color: var(--sen-primary-color);
}

.sen-pagination .current {
    background: var(--sen-primary-color);
    color: #fff;
    border-color: var(--sen-primary-color);
}

/* ===== 单篇文章样式 ===== */
.sen-single {
    padding: 120px 20px 80px;
}

.sen-single-inner {
    width: 1024px;
    max-width: 100%;
    margin: 0 auto;
}

.sen-single-post {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sen-single-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--sen-border-color);
}

.sen-single-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--sen-text-color);
    margin-bottom: 20px;
    line-height: 1.4;
}

.sen-single-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    color: var(--sen-text-light);
}

.sen-single-date {
    color: var(--sen-text-light);
}

.sen-single-category a {
    color: var(--sen-primary-color);
    padding: 4px 12px;
    background: rgba(250, 150, 27, 0.1);
    border-radius: 4px;
    font-size: 12px;
}

.sen-single-thumbnail {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.sen-single-thumbnail img {
    width: 100%;
    height: auto;
}

.sen-single-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--sen-text-color);
    margin-bottom: 40px;
}

.sen-single-content p {
    margin-bottom: 20px;
}

.sen-single-content h2,
.sen-single-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--sen-text-color);
}

.sen-single-footer {
    padding-top: 20px;
    border-top: 1px solid var(--sen-border-color);
}

.sen-single-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sen-tag {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(250, 150, 27, 0.1);
    color: var(--sen-primary-color);
    border-radius: 4px;
    font-size: 12px;
    transition: all 0.3s ease;
}

.sen-tag:hover {
    background: var(--sen-primary-color);
    color: #fff;
}

.sen-tag-active {
    background: var(--sen-primary-color) !important;
    color: #fff !important;
}

/* ===== 内容页面响应式 ===== */
@media (max-width: 768px) {
    .sen-page-article {
        padding: 40px 30px;
    }

    .sen-page-title {
        font-size: 24px;
    }

    .sen-page-meta {
        flex-direction: column;
        gap: 10px;
    }

    .sen-page-section-title {
        font-size: 16px;
    }

    .sen-page-subtitle {
        font-size: 14px;
    }
}

/* ===== 响应式设计 ===== */
@media (max-width: 768px) {
    body.admin-bar .sen-header {
        top: 46px;
    }

    .sen-header-inner {
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .sen-header-nav {
        display: none;
    }

    .sen-mobile-menu-toggle {
        display: flex;
    }

    .sen-header-logo {
        height: 66px;
    }

    .sen-header-logo-link {
        height: 66px;
        line-height: 66px;
    }

    .sen-header-logo-img {
        width: 66px;
        height: 66px;
    }

    .sen-header-action {
        position: static;
    }

    .sen-hero-title {
        font-size: 32px;
    }

    .sen-hero-desc {
        font-size: 16px;
    }

    .sen-product-item {
        flex: 0 0 48%;
        width: 48%;
        margin-left: 2%;
    }

    .sen-solution-item,
    .sen-payment-item,
    .sen-architecture-item {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .sen-news-item {
        flex: 0 0 100%;
        max-width: 100%;
        height: 150px;
    }

    .sen-news-link {
        flex-direction: row;
    }

    .sen-news-image {
        flex: 0 0 120px;
        width: 120px;
        height: 150px;
    }

    .sen-news-info {
        height: 150px;
        padding: 12px 15px;
    }

    .sen-footer-section {
        flex: 0 0 50%;
        max-width: 50%;
    }

    /* 标签归档页面响应式 */
    .sen-archive-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sen-archive-tags-filter {
        padding: 20px 15px;
    }

    .sen-archive-tags-filter .sen-single-tags {
        gap: 8px;
    }

    .sen-archive-tags-filter .sen-tag {
        font-size: 11px;
        padding: 5px 10px;
    }

    .sen-archive-content {
        padding: 30px 20px;
    }

}

/* ===== 图片懒加载优化 ===== */

/* 图片加载过渡效果 - 支持所有格式（JPG/PNG/WebP/GIF/SVG等） */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

img[loading="lazy"].sen-loaded,
img[loading="lazy"]:not([src*="data:"]) {
    opacity: 1;
}

/* 确保所有图片格式都支持懒加载 */
img[loading="lazy"][src$=".jpg"],
img[loading="lazy"][src$=".jpeg"],
img[loading="lazy"][src$=".png"],
img[loading="lazy"][src$=".webp"],
img[loading="lazy"][src$=".gif"],
img[loading="lazy"][src$=".svg"] {
    background: #f5f5f5;
}

/* 头像懒加载优化 */
.avatar[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.avatar[loading="lazy"].sen-loaded,
.avatar[loading="lazy"]:not([src*="data:"]) {
    opacity: 1;
}

/* 防止布局偏移（CLS优化） */
.sen-product-icon img,
.sen-solution-image img,
.sen-architecture-icon img,
.sen-archive-thumbnail img,
.sen-single-thumbnail img {
    display: block;
    width: 100%;
    height: auto;
}

/* 新闻卡片图片填充（覆盖上面的auto设置） */
.sen-news-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* 图片加载占位符 */
.sen-image-placeholder {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: sen-loading-shimmer 1.5s infinite;
}

@keyframes sen-loading-shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}
