/*
Theme Name: luyuzhe
Theme URI: https://luyuzhe.cn/
Author: luyuzhe
Description: 基于 WordPress 的独立主题，参考知更鸟风格，代码独立实现。
Version: 1.0.0
Requires at least: 5.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: luyuzhe
*/
:root {
    --lyz-primary: #2a6df4;
    --lyz-text:    #222;
    --lyz-muted:   #777;
    --lyz-border:  #eee;
    --lyz-bg:      #fff;
    --lyz-radius:  8px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--lyz-text);
    background: var(--lyz-bg);
    line-height: 1.6;
}

a { color: var(--lyz-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.lyz-site { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* ============================================================
   头部
   ============================================================ */
.lyz-site-header {
    padding: 16px 0;
    border-bottom: 1px solid var(--lyz-border);
}
.lyz-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.lyz-site-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--lyz-text);
}
.lyz-main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}
.lyz-main-navigation a { color: var(--lyz-text); }
.lyz-menu-toggle {
    display: none;
    background: none;
    border: 0;
    cursor: pointer;
}

/* ============================================================
   内容区
   ============================================================ */
.lyz-site-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 24px 0;
}
.lyz-content-area {
    flex: 0 0 100%;
    display: flex;
    gap: 30px;
}

/* 侧栏在右侧（默认） */
.lyz-content-area.sidebar-right {
    flex-direction: row;
}
.lyz-content-area.sidebar-right .lyz-site-main {
    order: 1;
}
.lyz-content-area.sidebar-right .lyz-widget-area {
    order: 2;
}

/* 侧栏在左侧 */
.lyz-content-area.sidebar-left {
    flex-direction: row;
}
.lyz-content-area.sidebar-left .lyz-site-main {
    order: 2;
}
.lyz-content-area.sidebar-left .lyz-widget-area {
    order: 1;
}

/* 无侧栏 */
.lyz-content-area.sidebar-none {
    flex-direction: column;
}
.lyz-content-area.sidebar-none .lyz-site-main {
    width: 100%;
    max-width: 100%;
}
.lyz-site-main { flex: 1; min-width: 0; }
.lyz-widget-area { width: 300px; flex-shrink: 0; }

/* ============================================================
   文章卡片
   ============================================================ */
.lyz-post-item {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--lyz-border);
}
.lyz-entry-title { margin: 0 0 8px; font-size: 20px; }
.lyz-entry-title a { color: var(--lyz-text); }
.lyz-entry-meta { color: var(--lyz-muted); font-size: 13px; }
.lyz-entry-meta span { margin-right: 12px; }
.lyz-thumbnail img { border-radius: var(--lyz-radius); }

/* ============================================================
   广告
   ============================================================ */
.lyz-ad-box { margin: 20px 0; text-align: center; clear: both; }

/* ============================================================
   响应式基础
   ============================================================ */
@media (max-width: 768px) {
    .lyz-content-area { flex-direction: column; }
    .lyz-widget-area { width: 100%; }
    .lyz-menu-toggle { display: block; }
    .lyz-main-navigation { display: none; }
    .lyz-main-navigation.is-open { display: block; }
}

/* ============================================================
   多级下拉菜单
   ============================================================ */
.lyz-main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.lyz-main-navigation > ul > li {
    position: relative;
    display: inline-block;
}
.lyz-main-navigation > ul > li > a {
    display: block;
    padding: 12px 18px;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all .25s;
    position: relative;
}
.lyz-main-navigation > ul > li > a:hover {
    color: #2a6df4;
}
.lyz-main-navigation .current-menu-item > a,
.lyz-main-navigation .current_page_item > a,
.lyz-main-navigation .current-menu-ancestor > a,
.lyz-main-navigation .current-menu-parent > a {
    background: #2a6df4;
    color: #fff !important;
    border-radius: 6px;
}
.lyz-main-navigation .menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    vertical-align: middle;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    opacity: .6;
    transition: transform .25s;
}
.lyz-main-navigation .menu-item-has-children:hover > a::after {
    transform: rotate(-180deg);
}
.lyz-main-navigation .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
    padding: 8px 0;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all .25s;
}
.lyz-main-navigation > ul > li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.lyz-main-navigation .sub-menu li {
    position: relative;
    display: block;
    white-space: nowrap;
}
.lyz-main-navigation .sub-menu li a {
    display: block;
    padding: 9px 20px;
    color: #555;
    font-size: 14px;
    text-decoration: none;
    transition: all .2s;
}
.lyz-main-navigation .sub-menu li a:hover {
    background: #f5f8ff;
    color: #2a6df4;
}
.lyz-main-navigation .sub-menu .sub-menu {
    top: 0;
    left: 100%;
    margin-left: 4px;
}
.lyz-main-navigation .sub-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .lyz-main-navigation > ul > li {
        display: block;
        border-bottom: 1px solid #f0f0f0;
    }
    .lyz-main-navigation .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 0;
        padding: 0 0 0 20px;
        background: transparent;
    }
    .lyz-main-navigation .sub-menu li a {
        padding: 8px 0;
    }
}

/* ============================================================
   分类页
   ============================================================ */
.lyz-cat-hero {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 320px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
}
.lyz-cat-hero-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.55) 100%);
}
.lyz-cat-hero-inner {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 48px;
    color: #fff;
    z-index: 2;
}
.lyz-cat-hero-title {
    font-size: 48px;
    font-weight: 800;
    margin: 0 0 8px;
    line-height: 1.1;
}
.lyz-cat-hero-sub {
    font-size: 18px;
    margin: 0;
    opacity: .9;
}
.lyz-cat-desc {
    flex: 0 0 100%;
    margin: 0 0 24px;
    padding: 12px 0;
    color: #666;
    border-bottom: 1px solid #eee;
}
.lyz-cat-post-list { display: block; }
.lyz-cat-post-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}
.lyz-cat-post-item .lyz-cat-thumb {
    position: relative;
    flex: 0 0 260px;
    border-radius: 8px;
    overflow: hidden;
    display: block;
}
.lyz-cat-post-item .lyz-cat-thumb img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}
.lyz-cat-post-item .lyz-cat-thumb:hover img { transform: scale(1.05); }
.lyz-cat-thumb-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.6) 100%);
    pointer-events: none;
}
.lyz-cat-thumb-title {
    position: absolute;
    bottom: 10px;
    left: 12px;
    right: 12px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    pointer-events: none;
}
.lyz-cat-content { flex: 1; min-width: 0; }
.lyz-cat-post-title {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.3;
}
.lyz-cat-post-title a { color: #222; }
.lyz-cat-post-title a:hover { color: #2a6df4; }
.lyz-cat-post-excerpt {
    margin: 0 0 14px;
    color: #666;
    font-size: 15px;
    line-height: 1.7;
}
.lyz-cat-post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
    color: #888;
}
.lyz-cat-avatar img { border-radius: 50%; display: block; }
.lyz-cat-post-meta a { color: #888; }
.lyz-cat-post-meta a:hover { color: #2a6df4; }

/* ============================================================
   首页幻灯
   ============================================================ */
.lyz-hero-slider {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin-bottom: 30px;
}
.lyz-hero-slides { position: relative; width: 100%; height: 100%; }
.lyz-hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity .8s ease;
    pointer-events: none;
}
.lyz-hero-slide.is-active { opacity: 1; pointer-events: auto; }
.lyz-hero-slide-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.55) 100%);
}
.lyz-hero-slide-inner {
    position: absolute;
    left: 60px;
    right: 60px;
    bottom: 100px;
    max-width: 700px;
    color: #fff;
    z-index: 2;
}
.lyz-hero-slide-kicker {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: .8;
    margin: 0 0 12px;
}
.lyz-hero-slide-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 16px;
}
.lyz-hero-slide-sub {
    font-size: 20px;
    margin: 0 0 28px;
    opacity: .92;
}
.lyz-hero-slide-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #fff;
    color: #222 !important;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    transition: background .3s, transform .3s;
    text-decoration: none !important;
}
.lyz-hero-slide-btn:hover { background: #f0f0f0; transform: translateY(-2px); }
.lyz-hero-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 30px;
    text-align: center;
    z-index: 5;
}
.lyz-hero-dot {
    display: inline-block;
    width: 32px;
    height: 4px;
    background: rgba(255,255,255,.4);
    margin: 0 5px;
    border-radius: 2px;
    cursor: pointer;
    transition: background .3s;
}
.lyz-hero-dot.is-active,
.lyz-hero-dot:hover { background: #fff; }
.lyz-hero-empty {
    padding: 40px;
    text-align: center;
    color: #999;
    background: #f8f8f8;
    border-radius: 8px;
    margin-bottom: 24px;
}

/* ============================================================
   Widget 小工具
   ============================================================ */
.lyz-widget {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 18px 20px;
    margin-bottom: 20px;
}
.lyz-widget-title {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    color: #222;
}
.lyz-widget ul { list-style: none; margin: 0; padding: 0; }
.lyz-widget-post-list li {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}
.lyz-widget-post-list li:last-child { border-bottom: 0; }
.lyz-widget-thumb {
    flex: 0 0 60px;
    display: block;
    border-radius: 4px;
    overflow: hidden;
}
.lyz-widget-thumb img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    display: block;
}
.lyz-widget-post-info { flex: 1; min-width: 0; }
.lyz-widget-post-title {
    display: block;
    font-size: 14px;
    line-height: 1.4;
    color: #222;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.lyz-widget-post-title:hover { color: #2a6df4; }
.lyz-widget-post-date { font-size: 12px; color: #999; }
.lyz-widget-rss-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 14px;
}
.lyz-widget-rss-list li:last-child { border-bottom: 0; }
.lyz-widget-rss-list a {
    color: #222;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.lyz-widget-rss-list a:hover { color: #2a6df4; }
.lyz-widget ul.children { padding-left: 16px; }
.lyz-widget li.cat-item {
    padding: 6px 0;
    border-bottom: 1px dashed #f5f5f5;
    font-size: 14px;
}
.lyz-widget li.cat-item a {
    color: #444;
    display: inline-flex;
    justify-content: space-between;
    width: 100%;
}
.lyz-widget li.cat-item a:hover { color: #2a6df4; }

/* ============================================================
   文章正文图片
   ============================================================ */
.lyz-entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 16px auto;
    display: block;
}
.lyz-entry-content figure { margin: 16px 0; max-width: 100%; }
.lyz-entry-content figure img { margin: 0 auto; }
@media (min-width: 900px) {
    .lyz-entry-content img { max-width: 720px; }
}

/* ============================================================
   浏览量
   ============================================================ */
.lyz-views {
    color: #999;
    font-size: 13px;
    margin-left: 12px;
}

/* ============================================================
   相关文章
   ============================================================ */
.lyz-related-posts {
    margin: 30px 0;
    padding: 24px;
    background: #fafafa;
    border-radius: 10px;
    border: 1px solid #f0f0f0;
}
.lyz-related-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #eee;
    color: #222;
}
.lyz-related-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.lyz-related-item {
    display: flex;
    gap: 12px;
    background: #fff;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    transition: box-shadow .3s, transform .3s;
}
.lyz-related-item:hover {
    box-shadow: 0 4px 14px rgba(0,0,0,.08);
    transform: translateY(-2px);
}
.lyz-related-thumb {
    flex: 0 0 80px;
    display: block;
    border-radius: 6px;
    overflow: hidden;
}
.lyz-related-thumb img {
    width: 80px;
    height: 64px;
    object-fit: cover;
    display: block;
}
.lyz-related-info { flex: 1; min-width: 0; }
.lyz-related-link {
    display: block;
    color: #222;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.lyz-related-link:hover { color: #2a6df4; }
.lyz-related-date { color: #999; font-size: 12px; }

/* ============================================================
   面包屑
   ============================================================ */
.lyz-breadcrumbs {
    font-size: 13px;
    color: #888;
    margin-bottom: 16px;
    line-height: 1.6;
}
.lyz-breadcrumbs a { color: #888; text-decoration: none; }
.lyz-breadcrumbs a:hover { color: #2a6df4; }
.lyz-breadcrumbs .lyz-bc-sep { margin: 0 6px; color: #ccc; }
.lyz-breadcrumbs .lyz-bc-current { color: #444; }

/* ============================================================
   热门推荐 widget
   ============================================================ */
.lyz-hot-post-list { list-style: none; margin: 0; padding: 0; }
.lyz-hot-post-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}
.lyz-hot-post-item:last-child { border-bottom: 0; }
.lyz-hot-rank {
    flex: 0 0 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: #999;
    background: #f0f0f0;
    border-radius: 4px;
}
.lyz-hot-rank.rank-1 { background: #f5222d; color: #fff; }
.lyz-hot-rank.rank-2 { background: #fa8c16; color: #fff; }
.lyz-hot-rank.rank-3 { background: #faad14; color: #fff; }
.lyz-hot-thumb {
    flex: 0 0 54px;
    display: block;
    border-radius: 4px;
    overflow: hidden;
}
.lyz-hot-thumb img {
    width: 54px;
    height: 54px;
    object-fit: cover;
    display: block;
}
.lyz-hot-info { flex: 1; min-width: 0; }
.lyz-hot-title {
    display: block;
    color: #222;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.lyz-hot-title:hover { color: #2a6df4; }
.lyz-hot-views { font-size: 12px; color: #999; }
.lyz-hot-empty {
    color: #999;
    text-align: center;
    padding: 20px 0;
    font-size: 13px;
}

/* ============================================================
   博客列表（左图右文）
   ============================================================ */
.lyz-blog-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    margin: 0;
    border-bottom: 1px solid #eee;
}
.lyz-blog-item .lyz-blog-thumb {
    flex: 0 0 240px;
    display: block;
    border-radius: 8px;
    overflow: hidden;
}
.lyz-blog-item .lyz-blog-thumb img {
    width: 240px;
    height: 160px;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}
.lyz-blog-item .lyz-blog-thumb:hover img { transform: scale(1.05); }
.lyz-blog-item .lyz-blog-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.lyz-blog-item .lyz-entry-header { margin: 0 0 10px; }
.lyz-blog-item .lyz-entry-title { font-size: 20px; line-height: 1.4; margin: 0; }
.lyz-blog-item .lyz-entry-title a { color: #222; }
.lyz-blog-item .lyz-entry-title a:hover { color: #2a6df4; }
.lyz-blog-item .lyz-archive-content {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.lyz-blog-item .lyz-entry-meta { color: #999; font-size: 13px; }
.lyz-blog-item .lyz-entry-meta span { margin-right: 12px; }

/* ============================================================
   代码块（Prism.js）
   ============================================================ */
.lyz-entry-content pre,
.lyz-entry-content code {
    font-family: "SF Mono", Monaco, "Cascadia Code", Consolas, "Courier New", monospace;
    font-size: 14px;
}
.lyz-entry-content :not(pre) > code {
    background: #f0f0f0;
    color: #d6336c;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
}
.lyz-entry-content pre[class*="language-"],
.lyz-entry-content pre {
    position: relative;
    background: #2d2d2d;
    color: #ccc;
    padding: 44px 20px 20px;
    border-radius: 8px;
    overflow-x: auto;
    line-height: 1.6;
    margin: 20px 0;
    border: 1px solid #1e1e1e;
}
.lyz-entry-content pre[class*="language-"] code,
.lyz-entry-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
    font-size: 14px;
    text-shadow: none;
}
.lyz-entry-content pre.language-javascript::before { content: "JavaScript"; }
.lyz-entry-content pre.language-php::before        { content: "PHP"; }
.lyz-entry-content pre.language-css::before        { content: "CSS"; }
.lyz-entry-content pre.language-html::before       { content: "HTML"; }
.lyz-entry-content pre.language-python::before     { content: "Python"; }
.lyz-entry-content pre.language-bash::before       { content: "Bash"; }
.lyz-entry-content pre.language-shell::before      { content: "Shell"; }
.lyz-entry-content pre.language-sql::before        { content: "SQL"; }
.lyz-entry-content pre.language-json::before       { content: "JSON"; }
.lyz-entry-content pre.language-jsx::before        { content: "JSX"; }
.lyz-entry-content pre.language-tsx::before        { content: "TSX"; }
.lyz-entry-content pre.language-typescript::before { content: "TypeScript"; }
.lyz-entry-content pre.language-markdown::before   { content: "Markdown"; }
.lyz-entry-content pre.language-yaml::before       { content: "YAML"; }
.lyz-entry-content pre.language-xml::before        { content: "XML"; }
.lyz-entry-content pre[class*="language-"]::before {
    content: attr(class);
    position: absolute;
    top: 12px;
    left: 16px;
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: -apple-system, sans-serif;
}
.lyz-entry-content pre .copy-to-clipboard-button {
    position: absolute;
    top: 10px;
    right: 12px;
    background: rgba(255,255,255,.08);
    color: #ccc;
    border: 1px solid rgba(255,255,255,.15);
    padding: 4px 12px;
    border-radius: 5px;
    font-size: 12px;
    cursor: pointer;
    transition: all .2s;
    font-family: -apple-system, sans-serif;
}
.lyz-entry-content pre .copy-to-clipboard-button:hover {
    background: rgba(255,255,255,.15);
    color: #fff;
}
.lyz-entry-content pre .copy-to-clipboard-button[data-copy-state="copy-success"] {
    background: #52c41a;
    color: #fff;
    border-color: #52c41a;
}
.lyz-entry-content pre::-webkit-scrollbar { height: 8px; }
.lyz-entry-content pre::-webkit-scrollbar-track { background: #1e1e1e; }
.lyz-entry-content pre::-webkit-scrollbar-thumb { background: #444; border-radius: 4px; }
.lyz-entry-content pre::-webkit-scrollbar-thumb:hover { background: #666; }

/* ============================================================
   搜索框
   ============================================================ */
.lyz-search-form {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    width: 100%;
}
.lyz-search-form input[type="search"] {
    flex: 1;
    height: 42px;
    padding: 0 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    background: #fff;
    transition: border-color .3s, box-shadow .3s;
    min-width: 0;
}
.lyz-search-form input[type="search"]:focus {
    border-color: #2a6df4;
    box-shadow: 0 0 0 3px rgba(42,109,244,.1);
}
.lyz-search-form button {
    height: 42px;
    padding: 0 22px;
    background: #2a6df4;
    color: #fff;
    border: 0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background .3s;
    white-space: nowrap;
}
.lyz-search-form button:hover { background: #1e5ad4; }

/* simple */
.lyz-search-simple .lyz-search-form button {
    padding: 0 14px;
    background: transparent;
    color: #2a6df4;
    border: 1px solid #2a6df4;
}
.lyz-search-simple .lyz-search-form button:hover {
    background: #2a6df4;
    color: #fff;
}

/* dark */
.lyz-search-dark {
    background: #1e1e1e;
    padding: 40px 20px;
    border-radius: 12px;
    text-align: center;
}
.lyz-search-dark .lyz-search-form input[type="search"] {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.15);
    color: #fff;
}
.lyz-search-dark .lyz-search-form input[type="search"]::placeholder {
    color: rgba(255,255,255,.5);
}
.lyz-search-dark .lyz-search-form input[type="search"]:focus {
    border-color: #2a6df4;
    background: rgba(255,255,255,.15);
}

/* hero */
.lyz-search-hero {
    position: absolute;
    left: 50%;
    bottom: 80px;
    transform: translateX(-50%);
    width: 90%;
    max-width: 640px;
    z-index: 10;
    text-align: center;
    pointer-events: none;
}
.lyz-search-hero .lyz-search-form {
    pointer-events: auto;
    background: rgba(255,255,255,.95);
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,.2);
    backdrop-filter: blur(10px);
}
.lyz-search-hero .lyz-search-form input[type="search"] {
    border: 0;
    background: transparent;
    height: 46px;
    font-size: 15px;
}
.lyz-search-hero .lyz-search-form input[type="search"]:focus {
    border: 0;
    box-shadow: none;
}
.lyz-search-hero .lyz-search-form button {
    height: 46px;
    padding: 0 28px;
    font-size: 15px;
    border-radius: 8px;
}
.lyz-search-hero .lyz-search-block-title {
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 8px;
    text-shadow: 0 2px 10px rgba(0,0,0,.4);
}
.lyz-search-hero .lyz-search-block-sub {
    color: rgba(255,255,255,.9);
    font-size: 16px;
    margin: 0 0 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,.4);
}

/* bottom */
.lyz-search-bottom {
    background: #f8f9fb;
    border-top: 1px solid #eee;
    padding: 60px 20px;
    text-align: center;
    margin-top: 40px;
}
.lyz-search-bottom .lyz-search-block-title {
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #222;
}
.lyz-search-bottom .lyz-search-block-sub {
    font-size: 15px;
    color: #888;
    margin: 0 0 24px;
}
.lyz-search-bottom .lyz-search-form { max-width: 560px; margin: 0 auto; }
.lyz-search-bottom .lyz-search-form input[type="search"] { height: 48px; font-size: 15px; }
.lyz-search-bottom .lyz-search-form button { height: 48px; padding: 0 32px; font-size: 15px; }

/* header */
.lyz-search-header { display: inline-block; width: 260px; }
.lyz-search-header .lyz-search-form input[type="search"] { height: 36px; font-size: 13px; padding: 0 12px; }
.lyz-search-header .lyz-search-form button { height: 36px; padding: 0 14px; font-size: 13px; }

/* ============================================================
   图片懒加载
   ============================================================ */
img[data-src] { opacity: 0; transition: opacity .4s ease; }
img.lyz-lazy-loaded { opacity: 1; }
.lyz-lazy-bg {
    background-size: cover;
    background-position: center;
    transition: background-image .4s ease;
}
.lyz-thumbnail img[data-src],
.lyz-post-item .lyz-thumbnail img[data-src] {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: lyz-shimmer 1.5s infinite;
    min-height: 100px;
}
@keyframes lyz-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ============================================================
   菜单对齐方式
   ============================================================ */
.lyz-menu-align-right .lyz-header-inner { justify-content: space-between; }
.lyz-menu-align-right .lyz-main-navigation { margin-left: auto; }
.lyz-menu-align-center .lyz-header-inner { justify-content: space-between; }
.lyz-menu-align-center .lyz-main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}
.lyz-menu-align-left .lyz-header-inner { justify-content: flex-start; }
.lyz-menu-align-left .lyz-main-navigation {
    margin-left: var(--lyz-menu-gap, 30px);
    margin-right: auto;
}
.lyz-menu-align-between .lyz-header-inner { justify-content: space-between; }
.lyz-menu-align-between .lyz-main-navigation { margin-left: 0; }

/* ============================================================
   回到顶部按钮
   ============================================================ */
.lyz-back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #2a6df4;
    color: #fff;
    border: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(42, 109, 244, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all .3s ease;
    z-index: 999;
    padding: 0;
}
.lyz-back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.lyz-back-to-top:hover {
    background: #1e5ad4;
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(42, 109, 244, 0.45);
}
.lyz-back-to-top:active { transform: translateY(-2px) scale(.95); }
.lyz-back-to-top svg { display: block; }

/* ============================================================
   全局紧凑化
   ============================================================ */
.lyz-site-content { padding: 16px 0 !important; gap: 24px !important; }
.lyz-site-header { padding: 10px 0 !important; }
.lyz-breadcrumbs { margin: 0 0 8px !important; font-size: 12px !important; line-height: 1.5 !important; }

.lyz-hero-slider { height: 380px !important; margin-bottom: 16px !important; }
.lyz-hero-slide-inner { bottom: 60px !important; padding: 0 !important; }
.lyz-hero-slide-title { font-size: 36px !important; margin: 0 0 10px !important; }
.lyz-hero-slide-sub { font-size: 15px !important; margin: 0 0 16px !important; }
.lyz-hero-slide-btn { padding: 10px 22px !important; font-size: 13px !important; }
.lyz-search-hero { bottom: 30px !important; }
.lyz-search-hero .lyz-search-form { padding: 6px !important; }
.lyz-search-hero .lyz-search-form input[type="search"],
.lyz-search-hero .lyz-search-form button { height: 38px !important; font-size: 14px !important; }

body.home .lyz-site-content { padding-top: 0 !important; }

.lyz-blog-item { padding: 14px 0 !important; gap: 16px !important; }
.lyz-blog-item .lyz-blog-thumb { flex: 0 0 200px !important; }
.lyz-blog-item .lyz-blog-thumb img { width: 200px !important; height: 130px !important; }
.lyz-blog-item .lyz-entry-title { font-size: 17px !important; margin: 0 0 6px !important; }
.lyz-blog-item .lyz-archive-content { font-size: 14px !important; margin-bottom: 6px !important; }
.lyz-blog-item .lyz-entry-meta { font-size: 12px !important; }

.lyz-cat-hero { height: 260px !important; margin: 4px 0 12px !important; border-radius: 10px !important; }
.lyz-cat-hero-inner { padding: 24px 32px !important; }
.lyz-cat-hero-title { font-size: 34px !important; margin: 0 0 6px !important; }
.lyz-cat-hero-sub { font-size: 15px !important; }
.lyz-cat-desc { margin: 0 0 12px !important; padding: 8px 0 !important; font-size: 14px !important; }
.lyz-cat-post-item { padding: 14px 0 !important; gap: 16px !important; }
.lyz-cat-post-item .lyz-cat-thumb { flex: 0 0 200px !important; }
.lyz-cat-post-item .lyz-cat-thumb img { height: 130px !important; }
.lyz-cat-post-title { font-size: 18px !important; margin: 0 0 6px !important; }
.lyz-cat-post-excerpt { font-size: 14px !important; margin: 0 0 8px !important; }
.lyz-cat-post-meta { font-size: 12px !important; gap: 10px !important; }

.lyz-single { margin-bottom: 16px !important; }
.lyz-single .lyz-entry-header { margin: 0 0 12px !important; }
.lyz-single .lyz-entry-title { font-size: 26px !important; margin: 0 0 8px !important; }
.lyz-single .lyz-entry-meta { font-size: 12px !important; }
.lyz-entry-content { font-size: 15px !important; line-height: 1.7 !important; }
.lyz-entry-content p { margin: 0 0 12px !important; }
.lyz-entry-content h2 { font-size: 22px !important; margin: 24px 0 10px !important; }
.lyz-entry-content h3 { font-size: 18px !important; margin: 20px 0 8px !important; }

.lyz-related-posts { margin: 20px 0 !important; padding: 16px !important; }
.lyz-related-title { font-size: 16px !important; margin: 0 0 12px !important; padding-bottom: 8px !important; }
.lyz-related-list { gap: 10px !important; }
.lyz-related-item { padding: 8px !important; gap: 8px !important; }
.lyz-related-thumb { flex: 0 0 64px !important; }
.lyz-related-thumb img { width: 64px !important; height: 52px !important; }
.lyz-related-link { font-size: 13px !important; }

.lyz-widget { padding: 14px 16px !important; margin-bottom: 14px !important; }
.lyz-widget-title { font-size: 15px !important; margin: 0 0 10px !important; padding-bottom: 8px !important; }
.lyz-widget-post-list li { padding: 8px 0 !important; gap: 8px !important; }
.lyz-widget-thumb { flex: 0 0 48px !important; }
.lyz-widget-thumb img { width: 48px !important; height: 48px !important; }
.lyz-widget-post-title { font-size: 13px !important; }
.lyz-widget-post-date { font-size: 11px !important; }
.lyz-hot-post-item { padding: 8px 0 !important; gap: 8px !important; }
.lyz-hot-thumb { flex: 0 0 44px !important; }
.lyz-hot-thumb img { width: 44px !important; height: 44px !important; }
.lyz-hot-title { font-size: 13px !important; }
.lyz-hot-views { font-size: 11px !important; }
.lyz-search-form input[type="search"] { height: 36px !important; font-size: 13px !important; }
.lyz-search-form button { height: 36px !important; padding: 0 14px !important; font-size: 13px !important; }

/* ============================================================
   联系我们
   ============================================================ */
.lyz-contact-wrap { display: flex; gap: 30px; margin-bottom: 30px; }
.lyz-contact-info {
    flex: 0 0 320px;
    background: #f8f9fb;
    border-radius: 12px;
    padding: 28px 24px;
}
.lyz-contact-info-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #eee;
    color: #222;
}
.lyz-contact-list { list-style: none; margin: 0; padding: 0; }
.lyz-contact-list li {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px dashed #e8e8e8;
}
.lyz-contact-list li:last-child { border-bottom: 0; }
.lyz-contact-ico {
    flex: 0 0 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    font-size: 16px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,.05);
}
.lyz-contact-list li div { flex: 1; min-width: 0; }
.lyz-contact-list strong {
    display: block;
    font-size: 12px;
    color: #999;
    font-weight: 500;
    margin-bottom: 2px;
}
.lyz-contact-list p { margin: 0; font-size: 14px; color: #222; word-break: break-all; }
.lyz-contact-list a { color: #222; }
.lyz-contact-list a:hover { color: #2a6df4; }
.lyz-contact-map { margin-top: 20px; border-radius: 8px; overflow: hidden; }
.lyz-contact-map iframe { width: 100%; height: 200px; border: 0; display: block; }
.lyz-contact-form-wrap {
    flex: 1;
    min-width: 0;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 32px;
}
.lyz-contact-form-title { font-size: 22px; font-weight: 700; margin: 0 0 6px; color: #222; }
.lyz-contact-form-sub { font-size: 14px; color: #888; margin: 0 0 24px; }
.lyz-form-row { display: flex; gap: 16px; margin-bottom: 16px; }
.lyz-form-field { flex: 1; min-width: 0; }
.lyz-form-field label {
    display: block;
    font-size: 13px;
    color: #444;
    margin-bottom: 6px;
    font-weight: 500;
}
.lyz-form-field label .required { color: #f5222d; }
.lyz-form-field input[type="text"],
.lyz-form-field input[type="email"],
.lyz-form-field textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color .3s, box-shadow .3s;
    background: #fff;
    box-sizing: border-box;
}
.lyz-form-field input:focus,
.lyz-form-field textarea:focus {
    border-color: #2a6df4;
    box-shadow: 0 0 0 3px rgba(42,109,244,.1);
}
.lyz-form-field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.lyz-form-actions { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.lyz-form-submit {
    background: #2a6df4;
    color: #fff;
    border: 0;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .3s, opacity .3s;
}
.lyz-form-submit:hover { background: #1e5ad4; }
.lyz-form-submit:disabled { opacity: .6; cursor: not-allowed; }
.lyz-form-msg { font-size: 14px; }
.lyz-form-msg.is-success { color: #52c41a; }
.lyz-form-msg.is-error { color: #f5222d; }

/* ============================================================
   首页模块（自定义文章类型）
   ============================================================ */
.lyz-home-section {
    padding: 60px 20px;
    background: #fff;
}
.lyz-home-section.lyz-section-has-bg { color: #fff; }
.lyz-home-section.lyz-section-has-bg .lyz-section-title,
.lyz-home-section.lyz-section-has-bg .lyz-section-subtitle,
.lyz-home-section.lyz-section-has-bg .lyz-section-content {
    color: #fff;
    text-shadow: 0 2px 6px rgba(0,0,0,.3);
}
.lyz-home-section-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 50px;
    align-items: center;
}
.lyz-section-img-right .lyz-home-section-inner { flex-direction: row; }
.lyz-section-img-left  .lyz-home-section-inner { flex-direction: row-reverse; }
.lyz-section-img-top   .lyz-home-section-inner { flex-direction: column; }
.lyz-section-img-none  .lyz-home-section-inner { flex-direction: column; }
.lyz-section-img-right .lyz-section-image,
.lyz-section-img-left  .lyz-section-image { flex: 0 0 45%; }
.lyz-section-img-top .lyz-section-image {
    flex: none;
    width: 100%;
    margin-bottom: 30px;
}
.lyz-section-img-top .lyz-section-text { width: 100%; }
.lyz-section-text { flex: 1; min-width: 0; }
.lyz-section-title {
    font-size: 34px;
    font-weight: 800;
    margin: 0 0 12px;
    line-height: 1.2;
    color: #222;
}
.lyz-section-subtitle {
    font-size: 17px;
    color: #888;
    margin: 0 0 20px;
}
.lyz-section-content {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 24px;
}
.lyz-section-content p { margin: 0 0 12px; }
.lyz-section-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.lyz-section-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all .3s;
}
.lyz-btn-primary {
    background: #2a6df4;
    color: #fff;
    box-shadow: 0 4px 14px rgba(42,109,244,.3);
}
.lyz-btn-primary:hover { background: #1e5ad4; transform: translateY(-2px); color: #fff; }
.lyz-btn-outline {
    background: transparent;
    color: #2a6df4;
    border: 2px solid #2a6df4;
}
.lyz-btn-outline:hover { background: #2a6df4; color: #fff; }
.lyz-section-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,.1);
    max-height: 380px;
    object-fit: cover;
}
.lyz-home-section:nth-child(even):not(.lyz-section-has-bg) { background: #f8f9fb; }

/* ============================================================
   分类图文模块
   ============================================================ */
.lyz-section-cat .lyz-home-section-inner { display: block !important; }
.lyz-cat-section-head { text-align: center; max-width: 800px; margin: 0 auto 40px; }
.lyz-cat-section-list { display: flex; flex-direction: column; gap: 50px; }
.lyz-cat-item {
    display: flex !important;
    gap: 40px !important;
    align-items: center !important;
    width: 100% !important;
    margin-bottom: 40px;
}
.lyz-cat-item:last-child { margin-bottom: 0; }
.lyz-cat-item-left  { flex-direction: row !important; }
.lyz-cat-item-right { flex-direction: row-reverse !important; }
.lyz-cat-item-image {
    flex: 0 0 45% !important;
    width: 45% !important;
    max-width: 45% !important;
    overflow: hidden;
}
.lyz-cat-item-image img {
    width: 100% !important;
    height: 280px !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,.08);
}
.lyz-cat-item-text {
    flex: 1 1 0 !important;
    width: auto !important;
    max-width: 55% !important;
    min-width: 0 !important;
}
.lyz-cat-item.no-thumb .lyz-cat-item-text,
.lyz-cat-item:not(:has(.lyz-cat-item-image)) .lyz-cat-item-text {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
}
.lyz-cat-item-title {
    font-size: 22px !important;
    font-weight: 700 !important;
    margin: 0 0 14px !important;
    line-height: 1.35 !important;
    word-break: break-word;
}
.lyz-cat-item-title a { color: #222 !important; text-decoration: none; }
.lyz-cat-item-title a:hover { color: #2a6df4 !important; }
.lyz-cat-item-excerpt {
    font-size: 15px !important;
    line-height: 1.8 !important;
    color: #666 !important;
    margin-bottom: 18px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}
.lyz-cat-item-btn {
    display: inline-block !important;
    color: #2a6df4 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}
.lyz-section-has-bg .lyz-cat-item-title a,
.lyz-section-has-bg .lyz-cat-item-excerpt,
.lyz-section-has-bg .lyz-cat-item-btn {
    color: #fff !important;
    text-shadow: 0 2px 8px rgba(0,0,0,.35);
}

/* ============================================================
   分类组合模块
   ============================================================ */
.lyz-section-portfolio .lyz-home-section-inner {
    display: block !important;
    max-width: 1200px;
}
.lyz-portfolio-head { text-align: center; max-width: 800px; margin: 0 auto 40px; }
.lyz-portfolio-head .lyz-section-title { text-align: center; }
.lyz-portfolio-head .lyz-section-subtitle { text-align: center; }
.lyz-portfolio-grid { display: flex; gap: 30px; align-items: flex-start; }
.lyz-portfolio-col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.lyz-portfolio-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
    transition: transform .3s, box-shadow .3s;
}
.lyz-portfolio-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.lyz-portfolio-card-img { display: block; overflow: hidden; }
.lyz-portfolio-card-img img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    transition: transform .4s;
}
.lyz-portfolio-card:hover .lyz-portfolio-card-img img { transform: scale(1.05); }
.lyz-portfolio-card-body { padding: 12px 16px 14px; }
.lyz-portfolio-card-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.lyz-portfolio-card-title a { color: #222; }
.lyz-portfolio-card-title a:hover { color: #2a6df4; }
.lyz-portfolio-card-meta { font-size: 12px; color: #999; }
.lyz-portfolio-list {
    list-style: none;
    margin: 0;
    padding: 16px 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.lyz-portfolio-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px dashed #f0f0f0;
    font-size: 14px;
    line-height: 1.5;
}
.lyz-portfolio-list-item:last-child { border-bottom: 0; }
.lyz-portfolio-rank {
    flex: 0 0 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: #999;
    background: #f0f0f0;
    border-radius: 4px;
}
.lyz-portfolio-list-item.is-top .lyz-portfolio-rank { background: #f5222d; color: #fff; }
.lyz-portfolio-list-item a {
    flex: 1;
    min-width: 0;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
.lyz-portfolio-list-item a:hover { color: #2a6df4; }
.lyz-portfolio-mini {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
    transition: transform .3s;
}
.lyz-portfolio-mini:hover { transform: translateY(-3px); }
.lyz-portfolio-mini-img { display: block; overflow: hidden; }
.lyz-portfolio-mini-img img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    display: block;
}
.lyz-portfolio-mini-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin: 10px 14px 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.lyz-portfolio-mini-title a { color: #222; }
.lyz-portfolio-mini-title a:hover { color: #2a6df4; }
.lyz-portfolio-mini-meta { font-size: 12px; color: #999; padding: 0 14px 12px; }

/* ============================================================
   首页小工具模块
   ============================================================ */
.lyz-section-widget .lyz-home-section-inner { display: block !important; max-width: 1200px; }
.lyz-widget-section-head { text-align: center; max-width: 800px; margin: 0 auto 30px; }
.lyz-widget-section-head .lyz-section-title { text-align: center; }
.lyz-widget-section-head .lyz-section-subtitle { text-align: center; }
.lyz-widget-cols-1 .lyz-widget-section-body { display: flex; flex-direction: column; gap: 20px; }
.lyz-widget-cols-2 .lyz-widget-section-body { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.lyz-widget-cols-3 .lyz-widget-section-body { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lyz-widget-section-body .lyz-widget { margin-bottom: 0; }
.lyz-widget-empty {
    text-align: center;
    color: #999;
    padding: 24px;
    background: #f8f8f8;
    border-radius: 8px;
    font-size: 14px;
    margin: 0;
}
.lyz-widget-empty a { color: #2a6df4; }

/* ============================================================
   文章版权声明
   ============================================================ */
.lyz-post-copyright { margin: 24px 0; }
.lyz-post-copyright .lyz-copyright-cat {
    display: inline-block !important;
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f) !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 8px 20px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    margin-bottom: 12px !important;
    transition: all .25s !important;
    letter-spacing: .5px !important;
}
.lyz-post-copyright .lyz-copyright-cat:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(238,90,111,.35) !important;
    color: #fff !important;
}
.lyz-copyright-body {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 16px 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,.03);
}
.lyz-copyright-avatar {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    background: #f0f0f0;
}
.lyz-copyright-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lyz-copyright-info { flex: 1; min-width: 0; }
.lyz-copyright-line {
    margin: 0;
    font-size: 13px;
    line-height: 1.8;
    color: #666;
    word-break: break-all;
}
.lyz-copyright-line + .lyz-copyright-line { margin-top: 2px; }
.lyz-copyright-line strong { color: #222; font-weight: 600; }
.lyz-copyright-line a { color: #2a6df4; text-decoration: none; }
.lyz-copyright-line a:hover { text-decoration: underline; }
.lyz-copyright-line time { color: #999; }

/* 文章底部自动标签栏 */
.lyz-auto-cat-tags { margin-top: 24px; }

/* ============================================================
   文章底部社交互动区
   ============================================================ */
.lyz-social-box { margin: 30px 0; padding: 0; }

.lyz-social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.lyz-icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 46px;
    height: 46px;
    padding: 0 12px;
    border-radius: 50px;
    background: #fff;
    border: 1px solid #e8e8e8;
    color: #999;
    cursor: pointer;
    text-decoration: none !important;
    transition: all .25s ease;
    font-family: inherit;
    font-size: 14px;
}
.lyz-icon-btn:hover {
    color: #2a6df4;
    border-color: #2a6df4;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(42,109,244,.15);
}
.lyz-icon-btn svg { flex: 0 0 auto; transition: all .25s; display: block; }
.lyz-icon-like.is-liked {
    background: linear-gradient(135deg, #ff6b6b, #f5222d);
    border-color: #f5222d;
    color: #fff !important;
}
.lyz-icon-like.is-liked svg { fill: #fff; stroke: #fff; }
.lyz-icon-like.is-liked .lyz-icon-count { color: #fff; }
.lyz-icon-like.is-loading { opacity: .6; cursor: wait; }
.lyz-icon-count {
    font-size: 13px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: inherit;
}
.lyz-icon-weibo:hover  { color: #e6162d; border-color: #e6162d; box-shadow: 0 6px 16px rgba(230,22,45,.15); }
.lyz-icon-qq:hover     { color: #12b7f5; border-color: #12b7f5; box-shadow: 0 6px 16px rgba(18,183,245,.15); }
.lyz-icon-wechat:hover { color: #09bb07; border-color: #09bb07; box-shadow: 0 6px 16px rgba(9,187,7,.15); }
.lyz-icon-copy.is-copied {
    background: #52c41a !important;
    border-color: #52c41a !important;
    color: #fff !important;
}
.lyz-icon-copy.is-copied::after {
    content: 'Copied';
    position: absolute;
    top: -36px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 4px;
    white-space: nowrap;
    font-weight: 500;
}
.lyz-icon-copy.is-copied::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: #333;
}

.lyz-wechat-card {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
    padding: 16px 20px;
    background: #fff;
    border: 2px dashed #c5d9c5;
    border-radius: 12px;
    transition: all .3s;
}
.lyz-wechat-card.is-highlight {
    border-color: #09bb07;
    box-shadow: 0 8px 24px rgba(9,187,7,.15);
    transform: scale(1.02);
}
.lyz-wechat-card-qr {
    flex: 0 0 100px;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lyz-wechat-card-qr img { width: 100%; height: 100%; object-fit: contain; display: block; }
.lyz-wechat-card-info { flex: 1; min-width: 0; }
.lyz-wechat-card-info h4 { margin: 0 0 6px; font-size: 16px; font-weight: 700; color: #222; }
.lyz-wechat-card-info p { margin: 0; font-size: 14px; color: #666; }

/* ============================================================
   额外小工具
   ============================================================ */
.lyz-about-logo { margin-bottom: 12px; }
.lyz-about-logo img { max-width: 100%; height: auto; display: block; }
.lyz-about-text {
    font-size: 13px;
    line-height: 1.7;
    color: #666;
    margin: 0 0 12px;
}
.lyz-about-more {
    color: #2a6df4;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}
.lyz-about-more:hover { text-decoration: underline; }

.lyz-widget-ad { text-align: center; }
.lyz-widget-ad img { max-width: 100%; height: auto; display: block; margin: 0 auto; }

.lyz-tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.lyz-tag-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: #f5f5f5;
    border-radius: 4px;
    font-size: 12px;
    color: #555;
    text-decoration: none !important;
    transition: all .25s;
}
.lyz-tag-item:hover { background: #2a6df4; color: #fff; }
.lyz-tag-count {
    font-size: 10px;
    background: rgba(0,0,0,.08);
    border-radius: 8px;
    padding: 0 5px;
    line-height: 14px;
}
.lyz-tag-item:hover .lyz-tag-count { background: rgba(255,255,255,.25); }

.lyz-cat-list-widget { list-style: none; margin: 0; padding: 0; }
.lyz-cat-list-widget li { border-bottom: 1px dashed #f0f0f0; }
.lyz-cat-list-widget li:last-child { border-bottom: 0; }
.lyz-cat-list-widget li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    color: #444;
    text-decoration: none !important;
    transition: all .2s;
}
.lyz-cat-list-widget li a:hover { color: #2a6df4; }
.lyz-cat-widget-count {
    font-size: 12px;
    color: #999;
    background: #f5f5f5;
    border-radius: 10px;
    padding: 1px 8px;
    line-height: 16px;
}

.lyz-contact-widget-list { list-style: none; margin: 0; padding: 0; }
.lyz-contact-widget-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 13px;
    color: #666;
    word-break: break-all;
}
.lyz-contact-widget-ico { flex: 0 0 auto; font-size: 14px; }

/* 作者墙 */
.lyz-author-wall {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.lyz-author-wall-item {
    text-align: center;
    text-decoration: none !important;
    color: #555;
    transition: transform .25s;
}
.lyz-author-wall-item:hover { transform: translateY(-3px); color: #2a6df4; }
.lyz-author-wall-item img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin: 0 auto 4px;
    display: block;
    box-shadow: 0 2px 6px rgba(0,0,0,.08);
}
.lyz-author-wall-name {
    font-size: 12px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 关于作者 widget */
.lyz-about-author-widget { text-align: center; }
.lyz-aaw-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
}
.lyz-aaw-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lyz-aaw-name { font-size: 15px; margin: 0 0 6px; color: #222; }
.lyz-aaw-desc { font-size: 12px; color: #777; line-height: 1.6; margin: 0 0 10px; }
.lyz-aaw-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #999;
    padding-top: 8px;
    border-top: 1px dashed #eee;
}
.lyz-aaw-meta strong { color: #2a6df4; }
.lyz-aaw-meta a { color: #2a6df4; text-decoration: none; }

/* 大家喜欢 */
.lyz-most-liked-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
}
.lyz-most-liked-item:last-child { border-bottom: 0; }
.lyz-most-liked-rank {
    flex: 0 0 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    background: #f0f0f0;
    color: #999;
    border-radius: 4px;
}
.lyz-most-liked-rank.rank-1 { background: #f5222d; color: #fff; }
.lyz-most-liked-rank.rank-2 { background: #fa8c16; color: #fff; }
.lyz-most-liked-rank.rank-3 { background: #faad14; color: #fff; }

/* 指定文章 */
.lyz-specific-image { margin-bottom: 12px; }
.lyz-specific-image img { width: 100%; height: auto; border-radius: 6px; display: block; }

/* 导航菜单 widget */
.lyz-widget-nav-menu ul { list-style: none; margin: 0; padding: 0; }
.lyz-widget-nav-menu li { border-bottom: 1px dashed #f0f0f0; }
.lyz-widget-nav-menu li:last-child { border-bottom: 0; }
.lyz-widget-nav-menu li a {
    display: block;
    padding: 8px 0;
    color: #444;
    font-size: 14px;
    text-decoration: none;
}
.lyz-widget-nav-menu li a:hover { color: #2a6df4; }
.lyz-widget-nav-menu .sub-menu { padding-left: 14px; }

/* 最新评论 widget */
.lyz-recent-comments { list-style: none; margin: 0; padding: 0; }
.lyz-rc-item {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}
.lyz-rc-item:last-child { border-bottom: 0; }
.lyz-rc-avatar {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}
.lyz-rc-body { flex: 1; min-width: 0; }
.lyz-rc-author { font-size: 13px; font-weight: 600; color: #333; margin-bottom: 2px; }
.lyz-rc-content {
    font-size: 12px;
    color: #777;
    line-height: 1.5;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.lyz-rc-content:hover { color: #2a6df4; }

/* ============================================================
   页脚新版
   ============================================================ */
.lyz-site-footer {
    border-top: 1px solid #eee;
    margin-top: 40px;
    background: #f8f9fb;
    color: #666;
    font-size: 14px;
}
.lyz-footer-main { padding: 40px 0; }
.lyz-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
.lyz-footer-col { flex: 1; min-width: 0; }
.lyz-footer-col-links { flex: 0 0 180px; }
.lyz-footer-col-qr    { flex: 0 0 auto; text-align: center; }
.lyz-footer-col-about { flex: 1; }
.lyz-footer-title { font-size: 15px; font-weight: 700; color: #222; margin: 0 0 14px; }
.lyz-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 16px;
}
.lyz-footer-links li { font-size: 13px; }
.lyz-footer-links li a { color: #666; text-decoration: none; transition: color .25s; }
.lyz-footer-links li a:hover { color: #2a6df4; }
.lyz-footer-links li span { color: #999; font-size: 13px; }
.lyz-footer-qr-list { display: flex; gap: 20px; justify-content: center; }
.lyz-footer-qr-item { text-align: center; }
.lyz-footer-qr-item img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    transition: transform .3s;
}
.lyz-footer-qr-item:hover img {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,.1);
}
.lyz-footer-qr-item p { margin: 8px 0 0; font-size: 12px; color: #999; }
.lyz-footer-about { margin: 0 0 16px; font-size: 14px; line-height: 1.8; color: #666; }
.lyz-footer-follow {
    display: inline-block;
    padding: 8px 22px;
    background: #2a6df4;
    color: #fff !important;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all .3s;
}
.lyz-footer-follow:hover {
    background: #1e5ad4;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(42,109,244,.3);
}
.lyz-footer-follow-static { background: #f0f0f0; color: #666 !important; cursor: default; }
.lyz-footer-follow-static:hover { background: #f0f0f0; transform: none; box-shadow: none; }
.lyz-footer-widgets {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 40px 16px 0;
    border-top: 1px dashed #e0e0e0;
    display: flex;
    gap: 24px;
}
.lyz-footer-widget { flex: 1; }
.lyz-footer-bottom {
    background: #2c3e50;
    color: #a8b4c2;
    padding: 20px 0;
    font-size: 13px;
}
.lyz-footer-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    text-align: center;
}
.lyz-footer-copy { margin: 0; line-height: 1.8; }
.lyz-footer-copy a { color: #fff; text-decoration: none; }
.lyz-footer-copy a:hover { color: #4dabf7; }
.lyz-footer-copy strong { color: #fff; }
.lyz-footer-sep { margin: 0 8px; color: #556678; }

/* ============================================================
   分类标签栏
   ============================================================ */
.lyz-cat-tags-bar {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 16px 20px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #eee;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.lyz-cat-tags-label {
    flex: 0 0 auto;
    font-size: 14px;
    font-weight: 700;
    color: #222;
    padding: 6px 0;
    white-space: nowrap;
}
.lyz-cat-tags-list {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.lyz-cat-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #f5f7fa;
    border-radius: 20px;
    color: #555;
    font-size: 13px;
    text-decoration: none !important;
    transition: all .25s;
    border: 1px solid transparent;
}
.lyz-cat-tag:hover {
    background: #2a6df4;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(42,109,244,.25);
}
.lyz-cat-tag-count {
    font-size: 11px;
    background: rgba(0,0,0,.08);
    padding: 1px 7px;
    border-radius: 10px;
    line-height: 16px;
}
.lyz-cat-tag:hover .lyz-cat-tag-count { background: rgba(255,255,255,.25); }

/* ============================================================
   分类导航页
   ============================================================ */
.lyz-cat-nav-bar { margin: 20px 0 30px; }
.lyz-cat-nav-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}
.lyz-cat-nav-card {
    display: block;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none !important;
    transition: all .3s;
}
.lyz-cat-nav-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,.1);
    border-color: #d0dfff;
}
.lyz-cat-nav-thumb {
    position: relative;
    width: 100%;
    padding-top: 60%;
    background: #f0f4f8 center/cover no-repeat;
    display: block;
}
.lyz-cat-nav-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.65) 100%);
    pointer-events: none;
}
.lyz-cat-nav-name {
    position: absolute;
    bottom: 12px;
    left: 16px;
    right: 16px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.lyz-cat-nav-info { padding: 12px 16px 14px; }
.lyz-cat-nav-count {
    display: block;
    font-size: 12px;
    color: #2a6df4;
    font-weight: 600;
    margin-bottom: 4px;
}
.lyz-cat-nav-desc { display: block; font-size: 12px; color: #888; line-height: 1.6; }

/* ============================================================
   手机端 - 集中处理
   ============================================================ */
html, body {
    overflow-x: hidden;
    max-width: 100%;
    -webkit-text-size-adjust: 100%;
}
*, *::before, *::after { max-width: 100%; }
img, video, iframe, embed, object { max-width: 100%; height: auto; }
table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
pre { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.lyz-entry-content,
.lyz-post-item,
.lyz-cat-post-item {
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

@media (max-width: 900px) {
    .lyz-widget-cols-2 .lyz-widget-section-body,
    .lyz-widget-cols-3 .lyz-widget-section-body {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .lyz-widget-section-head { margin-bottom: 20px !important; }

    .lyz-portfolio-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }
    .lyz-portfolio-col {
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 100% !important;
        min-width: 0 !important;
    }
    .lyz-portfolio-left,
    .lyz-portfolio-mid,
    .lyz-portfolio-right { width: 100% !important; }
    .lyz-portfolio-card-img img { height: 200px !important; }
    .lyz-portfolio-mini-img img { height: 180px !important; }
    .lyz-portfolio-head { margin-bottom: 24px !important; }
    .lyz-portfolio-head .lyz-section-title { font-size: 24px !important; }
    .lyz-portfolio-list { padding: 12px 16px !important; }
    .lyz-portfolio-list-item { padding: 8px 0 !important; font-size: 13px !important; }

    .lyz-cat-nav-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

    .lyz-footer-inner { flex-direction: column; gap: 30px; }
    .lyz-footer-col-links { flex: none; width: 100%; }
    .lyz-footer-col-qr    { flex: none; width: 100%; }
    .lyz-footer-col-about { flex: none; width: 100%; text-align: center; }
    .lyz-footer-qr-list { flex-wrap: wrap; }
    .lyz-footer-qr-item img { width: 90px; height: 90px; }
    .lyz-footer-widgets { flex-direction: column; gap: 16px; }
    .lyz-footer-bottom { font-size: 12px; padding: 16px 0; }
    .lyz-footer-sep { display: block; visibility: hidden; height: 0; }

    .lyz-back-to-top { right: 16px; bottom: 16px; width: 40px; height: 40px; }
    .lyz-back-to-top svg { width: 16px; height: 16px; }
}

@media (max-width: 768px) {
    .lyz-content-area { flex-direction: column; }
    .lyz-widget-area { width: 100%; }
    .lyz-main-navigation { display: none; }
    .lyz-main-navigation.is-open { display: block; }

    .lyz-site-content { padding: 10px 0 !important; gap: 16px !important; }
    .lyz-site-header { padding: 8px 0 !important; }

    /* 幻灯 */
    .lyz-hero-slider { height: 240px !important; margin-bottom: 10px !important; border-radius: 0 !important; }
    .lyz-hero-slide-inner { left: 24px; right: 24px; bottom: 40px !important; }
    .lyz-hero-slide-title { font-size: 22px !important; }
    .lyz-hero-slide-sub { font-size: 13px !important; margin: 0 0 10px !important; }
    .lyz-hero-slide-btn { padding: 8px 18px !important; font-size: 12px !important; }

    /* 分类页 hero */
    .lyz-cat-hero { height: 180px !important; border-radius: 0 !important; margin-bottom: 8px !important; }
    .lyz-cat-hero-inner { padding: 16px !important; }
    .lyz-cat-hero-title { font-size: 22px !important; }
    .lyz-cat-hero-sub { font-size: 13px !important; }
    .lyz-cat-post-item { flex-direction: column; padding: 10px 0 !important; gap: 10px !important; }
    .lyz-cat-post-item .lyz-cat-thumb { flex: none !important; width: 100% !important; }
    .lyz-cat-post-item .lyz-cat-thumb img { width: 100% !important; height: 160px !important; }
    .lyz-cat-post-title { font-size: 16px !important; }
    .lyz-cat-post-excerpt { font-size: 13px !important; }

    /* 博客列表 */
    .lyz-blog-item { flex-direction: column; padding: 10px 0 !important; gap: 10px !important; }
    .lyz-blog-item .lyz-blog-thumb { flex: none !important; width: 100% !important; }
    .lyz-blog-item .lyz-blog-thumb img { width: 100% !important; height: 160px !important; }
    .lyz-blog-item .lyz-entry-title { font-size: 16px !important; }
    .lyz-blog-item .lyz-archive-content { font-size: 13px !important; }

    /* 文章页 */
    .lyz-single .lyz-entry-title { font-size: 20px !important; }
    .lyz-entry-content { font-size: 14px !important; }
    .lyz-entry-content h2 { font-size: 18px !important; margin: 18px 0 8px !important; }
    .lyz-entry-content h3 { font-size: 16px !important; margin: 14px 0 6px !important; }

    /* Widget */
    .lyz-widget { padding: 12px 14px !important; margin-bottom: 10px !important; }
    .lyz-widget-title { font-size: 14px !important; }

    /* 相关文章 */
    .lyz-related-list { grid-template-columns: 1fr !important; }
    .lyz-related-posts { padding: 12px !important; margin: 14px 0 !important; }

    /* 页脚 */
    .lyz-site-footer { margin-top: 20px !important; padding: 16px 0 !important; }

    /* 联系我们 */
    .lyz-contact-wrap { flex-direction: column; gap: 20px; }
    .lyz-contact-info { flex: none; width: 100%; padding: 22px 18px; }
    .lyz-contact-form-wrap { padding: 22px 18px; }
    .lyz-form-row { flex-direction: column; gap: 0; }
    .lyz-form-row .lyz-form-field { margin-bottom: 14px; }
    .lyz-contact-form-title { font-size: 18px; }
    .lyz-form-submit { width: 100%; padding: 12px 24px; }
    .lyz-form-actions { flex-direction: column; align-items: stretch; gap: 8px; }

    /* 首页模块 */
    .lyz-home-section { padding: 40px 16px; }
    .lyz-home-section-inner { flex-direction: column !important; gap: 24px; }
    .lyz-section-img-right .lyz-section-image,
    .lyz-section-img-left  .lyz-section-image { flex: none; width: 100%; }
    .lyz-section-title { font-size: 24px; }
    .lyz-section-subtitle { font-size: 15px; }
    .lyz-section-content { font-size: 14px; }
    .lyz-section-btn { padding: 10px 20px; font-size: 13px; flex: 1; text-align: center; }

    /* 分类图文 */
    .lyz-cat-section-head { margin-bottom: 24px; }
    .lyz-cat-section-list { gap: 30px; }
    .lyz-cat-item { flex-direction: column !important; gap: 16px !important; margin-bottom: 30px; }
    .lyz-cat-item-image,
    .lyz-cat-item-text { flex: none !important; width: 100% !important; max-width: 100% !important; }
    .lyz-cat-item-image img { height: 200px !important; }
    .lyz-cat-item-title { font-size: 18px !important; }
    .lyz-cat-item-excerpt { font-size: 14px !important; -webkit-line-clamp: 2; }

    /* 点赞 + 分享 */
    .lyz-post-actions { flex-direction: column; align-items: stretch; gap: 16px; }
    .lyz-post-actions-left,
    .lyz-post-actions-right { display: flex; justify-content: center; }
    .lyz-share-bar { flex-wrap: wrap; justify-content: center; }

    .lyz-social-icons { gap: 10px; margin-bottom: 18px; }
    .lyz-icon-btn { min-width: 42px; height: 42px; padding: 0 10px; }
    .lyz-icon-btn svg { width: 18px; height: 18px; }
    .lyz-icon-count { font-size: 12px; }
    .lyz-wechat-card { flex-direction: column; text-align: center; gap: 12px; padding: 20px 16px; }
    .lyz-wechat-card-qr { flex: none; }

    /* 版权声明 */
    .lyz-copyright-body { flex-direction: column; text-align: center; gap: 12px; padding: 16px; }
    .lyz-copyright-line { font-size: 12px; }

    /* 分类标签栏 */
    .lyz-cat-tags-bar { flex-direction: column; gap: 10px; padding: 12px 14px; }
    .lyz-cat-tag { padding: 6px 12px; font-size: 12px; }

    /* 分类导航页 */
    .lyz-cat-nav-grid { grid-template-columns: 1fr; }
    .lyz-cat-nav-name { font-size: 15px; }

    /* 禁用 AOS 动画 */
    [data-aos] { opacity: 1 !important; transform: none !important; transition: none !important; }

    /* 横向溢出终极兜底 */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
        position: relative;
    }
    body, #page, .lyz-site, .lyz-site-content,
    #lyz-content, #primary, .lyz-content-area, .lyz-site-main {
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    .lyz-hero-slider,
    .lyz-hero-slides,
    .lyz-hero-slide {
        width: 100% !important;
        max-width: 100vw !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        left: 0 !important;
        right: 0 !important;
    }
    .lyz-blog-item,
    .lyz-blog-item .lyz-blog-thumb,
    .lyz-blog-item .lyz-blog-thumb img,
    .lyz-cat-post-item,
    .lyz-cat-post-item .lyz-cat-thumb,
    .lyz-cat-post-item .lyz-cat-thumb img {
        max-width: 100% !important;
        box-sizing: border-box;
    }
    .lyz-ad-box, .lyz-ad-site, iframe {
        max-width: 100% !important;
        box-sizing: border-box;
    }
}

/* ============================================================
   放大镜图标：全局默认隐藏，仅手机端显示
   ============================================================ */
.lyz-search-toggle {
    display: none;
}

/* ============================================================
   手机端头部布局修复 + 隐藏指定搜索框
   ============================================================ */
@media (max-width: 768px) {

    /* 1. 头部不换行，Logo 与右侧按钮并排 */
    .lyz-header-inner {
        flex-wrap: nowrap !important;
        align-items: center;
        justify-content: space-between;
    }

    /* 2. Logo 区域收缩，防止挤掉按钮 */
    .lyz-site-branding {
        flex: 1;
        min-width: 0;
        margin-right: 10px;
    }
    .lyz-site-branding img {
        max-height: 38px;
        width: auto;
        max-width: 100%;
    }
    .lyz-site-title {
        font-size: 18px;
    }

    /* 3. 右侧按钮组：放大镜 + 汉堡 并排 */
    .lyz-header-actions {
        display: flex !important;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
    }

    /* 4. 放大镜按钮样式 */
    .lyz-search-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        background: transparent;
        border: 1px solid #e5e5e5;
        border-radius: 8px;
        color: #222;
        text-decoration: none !important;
    }
    .lyz-search-toggle svg {
        width: 20px;
        height: 20px;
        display: block;
    }

    /* 5. 汉堡按钮 */
    .lyz-menu-toggle {
        display: inline-flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 42px;
        height: 42px;
        padding: 0;
        background: transparent;
        border: 1px solid #e5e5e5;
        border-radius: 8px;
        cursor: pointer;
    }
    .lyz-menu-toggle span {
        display: block;
        width: 20px;
        height: 2px;
        background: #222;
        border-radius: 2px;
        transition: transform .3s, opacity .3s;
    }
    .lyz-menu-toggle.is-active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .lyz-menu-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }
    .lyz-menu-toggle.is-active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* 6. 手机端隐藏 Banner 里的搜索框 */
    .lyz-search-hero {
        display: none !important;
    }

    /* 7. 菜单展开样式 */
    .lyz-main-navigation {
        display: none;
        flex-basis: 100%;
        width: 100%;
    }
    .lyz-main-navigation.is-open {
        display: block !important;
        margin-top: 10px;
        background: #fff;
        border-top: 1px solid #eee;
        padding-top: 10px;
    }
    .lyz-main-navigation > ul,
    .lyz-main-navigation > ul > li,
    .lyz-main-navigation .sub-menu {
        display: block !important;
        width: 100%;
    }
    .lyz-main-navigation > ul { gap: 0 !important; }
    .lyz-main-navigation > ul > li { border-bottom: 1px solid #f0f0f0; }
    .lyz-main-navigation > ul > li > a { padding: 12px 8px !important; font-size: 15px !important; }
    .lyz-main-navigation .sub-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        border: 0 !important;
        border-radius: 0 !important;
        padding: 0 0 0 16px !important;
        background: transparent !important;
    }
}

/* ============================================================
   修复：主菜单桌面端水平排列（用 ID 精准锁定）
   ============================================================ */
@media (min-width: 769px) {
    .lyz-header-inner {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
    }
    .lyz-main-navigation {
        display: block !important;
        margin-left: auto !important;
    }

    /* 用 ID 选择器 #lyz-primary-menu，优先级最高 */
    #lyz-primary-menu {
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }
    #lyz-primary-menu > li {
        position: relative !important;
        display: inline-block !important;
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    #lyz-primary-menu > li > a {
        display: block !important;
        padding: 12px 12px !important;
        color: #333 !important;
        font-size: 15px !important;
        font-weight: 500 !important;
        text-decoration: none !important;
        border-radius: 6px !important;
        background: transparent !important;
    }
    #lyz-primary-menu > li > a:hover {
        color: #2a6df4 !important;
    }
    #lyz-primary-menu .current-menu-item > a,
    #lyz-primary-menu .current_page_item > a,
    #lyz-primary-menu .current-menu-ancestor > a,
    #lyz-primary-menu .current-menu-parent > a {
        background: #2a6df4 !important;
        color: #fff !important;
        border-radius: 6px !important;
    }
}

/* ============================================================
   24h 悬浮客服 - 最终覆盖（宽度 300px，二维码 200x200）
   ============================================================ */
.lyz-floating-contact {
    position: fixed !important;
    right: 24px !important;
    top: 180px !important;
    bottom: auto !important;
    left: auto !important;
    z-index: 998 !important;
    max-width: none !important;
}
.lyz-fc-btn {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 60px !important;
    height: 60px !important;
    max-width: none !important;
    border-radius: 12px !important;
    background: #d32f2f !important;
    color: #fff !important;
    border: 0 !important;
    cursor: pointer !important;
    box-shadow: 0 4px 16px rgba(211, 47, 47, 0.4) !important;
    font-size: 11px !important;
    font-weight: bold !important;
    gap: 2px !important;
    transition: transform .2s !important;
}
.lyz-fc-btn:hover {
    transform: translateY(-3px) !important;
}

/* 弹窗 - 宽度 300px */
.lyz-fc-popup {
    position: absolute !important;
    right: 70px !important;
    top: 0 !important;
    width: 300px !important;
    min-width: 300px !important;
    max-width: none !important;
    background: #fff !important;
    border-radius: 10px !important;
    box-shadow: 0 6px 24px rgba(0,0,0,.18) !important;
    padding: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateX(10px) !important;
    transition: all .3s ease !important;
    pointer-events: none !important;
}
.lyz-floating-contact.is-open .lyz-fc-popup {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0) !important;
    pointer-events: auto !important;
}

/* 二维码区 - 200x200 */
.lyz-fc-qr {
    text-align: center !important;
    padding: 18px 18px 14px !important;
    border-bottom: 1px solid #f0f0f0 !important;
    background: #fafafa !important;
    max-width: none !important;
}
.lyz-fc-qr img {
    width: 200px !important;
    height: 200px !important;
    min-width: 200px !important;
    max-width: none !important;
    object-fit: contain !important;
    border-radius: 6px !important;
    display: block !important;
    margin: 0 auto !important;
    background: #fff !important;
    border: 1px solid #eee !important;
}
.lyz-fc-qr p {
    text-align: center !important;
    font-size: 13px !important;
    color: #333 !important;
    margin: 10px 0 0 !important;
    word-break: break-all !important;
    font-weight: 500 !important;
}
.lyz-online-copy {
    cursor: pointer !important;
    color: #2a6df4 !important;
    font-weight: bold !important;
}

/* 链接区 */
.lyz-fc-links {
    margin: 0 !important;
    border: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    max-width: none !important;
}
.lyz-fc-links a {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 12px 18px !important;
    font-size: 14px !important;
    color: #333 !important;
    text-decoration: none !important;
    border-bottom: 1px solid #f0f0f0 !important;
    white-space: nowrap !important;
    transition: background .2s, color .2s, padding-left .2s !important;
    max-width: none !important;
}
.lyz-fc-links a:last-child {
    border-bottom: 0 !important;
}
.lyz-fc-links a:hover {
    background: #f5f8ff !important;
    color: #2a6df4 !important;
    padding-left: 22px !important;
}
.lyz-fc-links a svg {
    flex: 0 0 16px !important;
    width: 16px !important;
    height: 16px !important;
    max-width: none !important;
}

/* 手机端 24h */
@media (max-width: 768px) {
    .lyz-floating-contact {
        position: fixed !important;
        right: 12px !important;
        top: 140px !important;
        bottom: auto !important;
        left: auto !important;
    }
    .lyz-fc-btn {
        width: 50px !important;
        height: 50px !important;
        font-size: 10px !important;
    }
    .lyz-fc-popup {
        right: 60px !important;
        width: 260px !important;
        min-width: 260px !important;
        max-width: none !important;
    }
    .lyz-fc-qr {
        padding: 14px 14px 12px !important;
    }
    .lyz-fc-qr img {
        width: 170px !important;
        height: 170px !important;
        min-width: 170px !important;
    }
    .lyz-fc-qr p {
        font-size: 12px !important;
    }
    .lyz-fc-links a {
        padding: 10px 14px !important;
        font-size: 13px !important;
        gap: 8px !important;
    }
    .lyz-fc-links a:hover {
        padding-left: 18px !important;
    }
}/* ============================================================
   站点标志 & 扫光动画
   ============================================================ */
.lyz-site-logo {
    display: block;
    line-height: 1;
    text-decoration: none;
}
.lyz-site-logo img {
    max-height: 60px;
    width: auto;
    display: block;
}

.lyz-site-title.lyz-shine {
    background: linear-gradient(120deg, #222 30%, #2a6df4 50%, #222 70%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: lyz-shine 3s linear infinite;
    font-weight: 700;
    text-decoration: none !important;
}
.lyz-site-title.lyz-shine:hover {
    text-decoration: none;
}
@keyframes lyz-shine {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}/* ============================================================
   TAB 标签页（产品详情页）
   ============================================================ */
.lyz-tabs {
    margin: 24px 0;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}
.lyz-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #eee;
    background: #fafafa;
}
.lyz-tab-btn {
    display: inline-block;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    color: #444;
    text-decoration: none !important;
    border-bottom: 3px solid transparent;
    transition: all .25s;
    cursor: pointer;
}
.lyz-tab-btn:hover {
    color: #2a6df4;
    background: #fff;
}
.lyz-tab-btn.is-active {
    color: #2a6df4;
    background: #fff;
    border-bottom-color: #2a6df4;
}
.lyz-tabs-body {
    padding: 24px;
}
.lyz-tab-panel {
    display: none;
}
.lyz-tab-panel.is-active {
    display: block;
}
.lyz-tab-panel > *:first-child { margin-top: 0; }
.lyz-tab-panel > *:last-child  { margin-bottom: 0; }

/* ============================================================
   产品详情页：主图 + 参数表
   ============================================================ */
.lyz-product-top {
    display: flex;
    gap: 30px;
    margin: 24px 0;
    align-items: flex-start;
}
.lyz-product-image {
    flex: 1 1 55%;
    min-width: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #fafafa;
}
.lyz-product-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}
.lyz-product-specs {
    flex: 1 1 45%;
    min-width: 0;
}
.lyz-spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.lyz-spec-table tr {
    border-bottom: 1px dashed #e8e8e8;
}
.lyz-spec-table tr:last-child {
    border-bottom: 0;
}
.lyz-spec-table th {
    text-align: left;
    padding: 10px 12px 10px 0;
    font-weight: 500;
    color: #888;
    width: 40%;
    white-space: nowrap;
    vertical-align: top;
}
.lyz-spec-table td {
    padding: 10px 0;
    color: #222;
    font-weight: 500;
    word-break: break-word;
}

/* 产品详情页：底部相关文章卡片 */
.lyz-single-product .lyz-related-posts {
    margin-top: 30px;
}

/* 手机端 */
@media (max-width: 768px) {
    .lyz-product-top {
        flex-direction: column;
        gap: 20px;
    }
    .lyz-product-image,
    .lyz-product-specs {
        flex: none;
        width: 100%;
    }
    .lyz-tab-btn {
        padding: 12px 16px;
        font-size: 14px;
        flex: 1 1 auto;
        text-align: center;
    }
    .lyz-tabs-body {
        padding: 16px;
    }
    .lyz-spec-table {
        font-size: 13px;
    }
    .lyz-spec-table th {
        width: 45%;
    }
}/* ============================================================
   扩展短代码样式
   ============================================================ */

/* 按钮补充样式 */
.lyz-btn-ghost {
    background: transparent;
    color: #2a6df4;
    border: 0;
    padding: 10px 4px;
    text-decoration: underline;
}
.lyz-btn-ghost:hover { color: #1e5ad4; }
.lyz-btn-download {
    background: #52c41a;
    color: #fff;
    box-shadow: 0 4px 14px rgba(82, 196, 26, .3);
}
.lyz-btn-download:hover { background: #3ea115; transform: translateY(-2px); color: #fff; }

/* 提示框 */
.lyz-alert {
    display: flex;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid;
    line-height: 1.7;
    font-size: 15px;
}
.lyz-alert-icon { flex: 0 0 auto; font-size: 18px; }
.lyz-alert-content { flex: 1; }
.lyz-alert-info    { background: #eef4ff; border-color: #2a6df4; color: #1a4fa0; }
.lyz-alert-success { background: #eafaf0; border-color: #52c41a; color: #2d8a4e; }
.lyz-alert-warning { background: #fff9e6; border-color: #faad14; color: #8a6d3b; }
.lyz-alert-error   { background: #fff1f0; border-color: #f5222d; color: #b71c1c; }
.lyz-alert-tip     { background: #f8f5ff; border-color: #7c3aed; color: #5b21b6; }

/* 内容框 */
.lyz-sc-box {
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    margin: 24px 0;
    background: #fff;
}
.lyz-sc-box-head {
    padding: 12px 20px;
    background: #f8f9fb;
    border-bottom: 1px solid #eee;
    font-weight: 600;
    color: #222;
}
.lyz-sc-box-body {
    padding: 20px;
}
.lyz-sc-box-body > *:first-child { margin-top: 0; }
.lyz-sc-box-body > *:last-child  { margin-bottom: 0; }

/* 折叠面板 */
.lyz-details {
    border: 1px solid #eee;
    border-radius: 8px;
    margin: 16px 0;
    background: #fff;
    overflow: hidden;
}
.lyz-details summary {
    padding: 14px 20px;
    cursor: pointer;
    font-weight: 600;
    color: #222;
    background: #fafafa;
    border-bottom: 1px solid transparent;
    transition: background .2s;
    list-style: none;
    position: relative;
    padding-left: 40px;
}
.lyz-details summary::-webkit-details-marker { display: none; }
.lyz-details summary::before {
    content: '▶';
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    color: #888;
    transition: transform .25s;
}
.lyz-details[open] summary::before {
    transform: translateY(-50%) rotate(90deg);
}
.lyz-details[open] summary { border-bottom-color: #eee; }
.lyz-details summary:hover { background: #f5f5f5; }
.lyz-details-body { padding: 20px; }
.lyz-details-body > *:first-child { margin-top: 0; }
.lyz-details-body > *:last-child  { margin-bottom: 0; }

/* 左右图文 */
.lyz-imgtext {
    display: flex;
    gap: 24px;
    margin: 24px 0;
    align-items: center;
}
.lyz-imgtext-img { flex: 0 0 45%; }
.lyz-imgtext-img img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}
.lyz-imgtext-body { flex: 1; min-width: 0; }
.lyz-imgtext-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px;
    color: #222;
}
.lyz-imgtext-content p { margin: 0 0 12px; }
.lyz-imgtext-right { flex-direction: row-reverse; }
@media (max-width: 768px) {
    .lyz-imgtext { flex-direction: column; }
    .lyz-imgtext-img { flex: none; width: 100%; }
}

/* 图文卡片 */
.lyz-card {
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    margin: 20px 0;
    transition: box-shadow .3s, transform .3s;
}
.lyz-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    transform: translateY(-3px);
}
.lyz-card-img img {
    width: 100%;
    height: auto;
    display: block;
}
.lyz-card-body { padding: 16px 20px 20px; }
.lyz-card-title {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #222;
}
.lyz-card-title a { color: inherit; }
.lyz-card-title a:hover { color: #2a6df4; }
.lyz-card-content { color: #666; font-size: 14px; line-height: 1.7; }

/* 地图和 iframe */
.lyz-map-wrap,
.lyz-iframe-wrap {
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
}
.lyz-map-wrap iframe,
.lyz-iframe-wrap iframe {
    width: 100%;
    border: 0;
    display: block;
}

/* 计数器 */
.lyz-counter {
    text-align: center;
    padding: 24px 12px;
}
.lyz-counter-num {
    font-size: 42px;
    font-weight: 800;
    color: #2a6df4;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.lyz-counter-prefix,
.lyz-counter-suffix { font-size: 24px; }
.lyz-counter-label {
    margin-top: 8px;
    font-size: 14px;
    color: #888;
}

/* 同标签文章 */
.lyz-sc-related {
    margin: 24px 0;
    padding: 20px 24px;
    background: #fafafa;
    border-radius: 10px;
    border: 1px solid #f0f0f0;
}
.lyz-sc-related-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
    color: #222;
}
.lyz-sc-related-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.lyz-sc-related-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    gap: 12px;
}
.lyz-sc-related-list li:last-child { border-bottom: 0; }
.lyz-sc-related-list a {
    color: #222;
    text-decoration: none;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.lyz-sc-related-list a:hover { color: #2a6df4; }
.lyz-sc-date,
.lyz-sc-related-date { font-size: 12px; color: #999; }

/* 彩色背景 */
.lyz-sc-color {
    margin: 20px 0;
    line-height: 1.7;
}

/* 分割线 */
.lyz-sc-divider {
    border: 0;
    border-top-width: 1px;
    margin: 30px 0;
}
.lyz-sc-divider-solid  { border-top-style: solid;  border-top-color: #eee; }
.lyz-sc-divider-dashed { border-top-style: dashed; border-top-color: #eee; }
.lyz-sc-divider-dotted { border-top-style: dotted; border-top-color: #eee; }

/* 徽章 */
.lyz-badge {
    display: inline-block;
    padding: 2px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    line-height: 1.6;
}
.lyz-badge-primary { background: #2a6df4; color: #fff; }
.lyz-badge-success { background: #52c41a; color: #fff; }
.lyz-badge-warning { background: #faad14; color: #fff; }
.lyz-badge-danger  { background: #f5222d; color: #fff; }

/* 复制按钮 */
.lyz-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    color: #444;
    cursor: pointer;
    transition: all .2s;
}
.lyz-copy-btn:hover {
    border-color: #2a6df4;
    color: #2a6df4;
}

/* Fieldset */
.lyz-fieldset {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px 20px 20px;
    margin: 20px 0;
}
.lyz-fieldset legend {
    padding: 0 10px;
    font-weight: 700;
    color: #2a6df4;
}
/* ============================================================
   引用文章短代码
   ============================================================ */
.lyz-quote {
    margin: 24px 0;
}
.lyz-quote-multi {
    display: grid;
    grid-template-columns: repeat(var(--lyz-quote-cols, 2), 1fr);
    gap: 20px;
}

/* 卡片样式 */
.lyz-quote-style-card .lyz-quote-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    transition: box-shadow .3s, transform .3s;
}
.lyz-quote-style-card .lyz-quote-item:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
    transform: translateY(-2px);
}
.lyz-quote-style-card .lyz-quote-thumb {
    flex: 0 0 120px;
    border-radius: 8px;
    overflow: hidden;
    display: block;
}
.lyz-quote-style-card .lyz-quote-thumb img {
    width: 120px;
    height: 90px;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}
.lyz-quote-style-card .lyz-quote-thumb:hover img {
    transform: scale(1.05);
}
.lyz-quote-style-card .lyz-quote-body {
    flex: 1;
    min-width: 0;
}

/* 简约样式 */
.lyz-quote-style-simple .lyz-quote-item {
    padding: 16px 20px;
    background: #f8f9fb;
    border-left: 4px solid #2a6df4;
    border-radius: 6px;
    margin-bottom: 12px;
}

/* 迷你样式 */
.lyz-quote-style-mini .lyz-quote-item {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}
.lyz-quote-style-mini .lyz-quote-item:last-child {
    border-bottom: 0;
}
.lyz-quote-style-mini .lyz-quote-thumb {
    display: none;
}

/* 通用元素 */
.lyz-quote-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 6px;
    line-height: 1.4;
}
.lyz-quote-title a {
    color: #222;
    text-decoration: none;
}
.lyz-quote-title a:hover {
    color: #2a6df4;
}
.lyz-quote-meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}
.lyz-quote-excerpt {
    font-size: 13px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.lyz-quote-btn {
    display: inline-block;
    font-size: 13px;
    color: #2a6df4;
    font-weight: 600;
    text-decoration: none;
}
.lyz-quote-btn:hover {
    text-decoration: underline;
}

/* 手机端 */
@media (max-width: 768px) {
    .lyz-quote-multi {
        grid-template-columns: 1fr !important;
    }
    .lyz-quote-style-card .lyz-quote-item {
        flex-direction: column;
    }
    .lyz-quote-style-card .lyz-quote-thumb {
        flex: none;
        width: 100%;
    }
    .lyz-quote-style-card .lyz-quote-thumb img {
        width: 100%;
        height: 160px;
    }
}/* ============================================================
   公司单页模板
   ============================================================ */

/* Banner */
.lyz-company-banner {
    position: relative;
    width: 100%;
    height: 480px;
    background-color: #1a1a1a;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}
.lyz-company-banner-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.25) 60%, rgba(0,0,0,0) 100%);
}
.lyz-company-banner-inner {
    position: relative;
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    z-index: 2;
    color: #fff;
}
.lyz-company-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 12px;
    color: #fff;
    max-width: 720px;
    text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.lyz-company-subtitle {
    font-size: 18px;
    margin: 0;
    color: rgba(255,255,255,.9);
    text-shadow: 0 2px 8px rgba(0,0,0,.5);
    max-width: 640px;
}

/* 锚点导航 */
.lyz-company-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.lyz-company-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.lyz-company-nav a {
    display: inline-block;
    padding: 16px 18px;
    font-size: 15px;
    color: #333;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    transition: all .2s;
}
.lyz-company-nav a:hover {
    color: #2a6df4;
    border-bottom-color: #2a6df4;
}

/* 区块容器 */
.lyz-company-body {
    width: 100%;
    background: #fff;
}
.lyz-company-sec {
    padding: 70px 32px;
    scroll-margin-top: 80px;
}
.lyz-company-sec-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.lyz-company-sec-even {
    background: #f8f9fb;
}
.lyz-company-sec-odd {
    background: #fff;
}

/* 区块标题 */
.lyz-company-sec-title {
    font-size: 32px;
    font-weight: 800;
    color: #222;
    margin: 0 0 12px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}
.lyz-company-sec-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #2a6df4;
    border-radius: 2px;
}
.lyz-company-sec-title-text {
    display: inline-block;
}

/* 区块内容 */
.lyz-company-sec-content {
    margin-top: 30px;
    font-size: 15px;
    line-height: 1.9;
    color: #444;
}
.lyz-company-sec-content p { margin: 0 0 14px; }
.lyz-company-sec-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 20px auto;
}
.lyz-company-sec-content h3 {
    font-size: 20px;
    margin: 28px 0 12px;
    color: #222;
}
.lyz-company-sec-content h4 {
    font-size: 17px;
    margin: 22px 0 10px;
    color: #222;
}
.lyz-company-sec-content ul,
.lyz-company-sec-content ol {
    padding-left: 22px;
    margin: 0 0 16px;
}
.lyz-company-sec-content li { margin-bottom: 6px; }

/* 咨询区块：联系方式卡片 */
.lyz-company-sec-contact .lyz-company-sec-content {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.lyz-company-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}
.lyz-company-contact-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px 22px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,.03);
}
.lyz-company-contact-ico {
    font-size: 22px;
    flex: 0 0 auto;
    line-height: 1.2;
}
.lyz-company-contact-item div {
    flex: 1;
    min-width: 0;
}
.lyz-company-contact-item strong {
    display: block;
    font-size: 12px;
    color: #999;
    font-weight: 500;
    margin-bottom: 4px;
    letter-spacing: .5px;
}
.lyz-company-contact-item a,
.lyz-company-contact-item span {
    color: #222;
    font-size: 15px;
    font-weight: 500;
    word-break: break-all;
}
.lyz-company-contact-item a:hover { color: #2a6df4; }

/* 手机端 */
@media (max-width: 768px) {
    .lyz-company-banner {
        height: 320px;
    }
    .lyz-company-banner-inner {
        padding: 0 20px;
    }
    .lyz-company-title {
        font-size: 26px;
    }
    .lyz-company-subtitle {
        font-size: 14px;
    }
    .lyz-company-nav-inner {
        padding: 0 16px;
    }
    .lyz-company-nav a {
        padding: 12px 14px;
        font-size: 14px;
    }
    .lyz-company-sec {
        padding: 40px 20px;
    }
    .lyz-company-sec-title {
        font-size: 22px;
        padding-bottom: 14px;
    }
    .lyz-company-sec-title::after {
        width: 40px;
    }
    .lyz-company-sec-content {
        font-size: 14px;
        margin-top: 20px;
    }
    .lyz-company-contact-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}
/* ============================================================
   公司单页模板 - 布局修复（追加覆盖）
   ============================================================ */

/* 1. 整块占满整行，脱离 .lyz-site-content 的 flex 布局 */
.lyz-company-wrap {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
}

/* 2. Banner：固定 1200×250，居中 */
.lyz-company-banner {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 250px;
    margin: 0 auto;
    background-color: #1a1a1a;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    border-radius: 0;
}
.lyz-company-banner-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.25) 60%, rgba(0,0,0,0) 100%);
}
.lyz-company-banner-inner {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    z-index: 2;
    color: #fff;
    box-sizing: border-box;
}
.lyz-company-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 8px;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,.6);
}
.lyz-company-subtitle {
    font-size: 15px;
    margin: 0;
    color: rgba(255,255,255,.9);
    text-shadow: 0 2px 8px rgba(0,0,0,.6);
}

/* 3. 锚点导航：吸顶 */
.lyz-company-nav {
    position: sticky;
    top: 0;
    z-index: 60;
    background: #fff;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
.lyz-company-nav-inner {
    padding: 0 20px;
    display: flex;
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.lyz-company-nav-inner::-webkit-scrollbar { display: none; }
.lyz-company-nav a {
    display: inline-block;
    padding: 14px 16px;
    font-size: 15px;
    color: #333;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    transition: all .2s;
}
.lyz-company-nav a:hover {
    color: #2a6df4;
    border-bottom-color: #2a6df4;
}

/* 4. 区块容器：占满整行 */
.lyz-company-body {
    width: 100%;
    background: #fff;
}

/* 5. 手机端自适应 */
@media (max-width: 768px) {
    .lyz-company-banner {
        height: 180px;
        max-width: 100%;
        border-radius: 0;
    }
    .lyz-company-banner-inner {
        padding: 0 20px;
    }
    .lyz-company-title {
        font-size: 22px;
        margin-bottom: 4px;
    }
    .lyz-company-subtitle {
        font-size: 13px;
    }
    .lyz-company-nav {
        max-width: 100%;
    }
    .lyz-company-nav-inner {
        padding: 0 12px;
    }
    .lyz-company-nav a {
        padding: 12px 12px;
        font-size: 14px;
    }
    .lyz-company-sec {
        padding: 40px 20px;
    }
    .lyz-company-sec-title {
        font-size: 22px;
        padding-bottom: 14px;
    }
    .lyz-company-sec-title::after {
        width: 40px;
    }
    .lyz-company-sec-content {
        font-size: 14px;
        margin-top: 20px;
    }
    .lyz-company-contact-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}
/* ============================================================
   公司单页 - TAB 切换模式
   ============================================================ */

/* 整块占满整行 */
.lyz-company-wrap {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    margin: 0 !important;
}

/* Banner 固定 1200×250 居中 */
.lyz-company-banner {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 250px;
    margin: 0 auto;
    background-color: #1a1a1a;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}
.lyz-company-banner-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.25) 60%, rgba(0,0,0,0) 100%);
}
.lyz-company-banner-inner {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    z-index: 2;
    color: #fff;
    box-sizing: border-box;
}
.lyz-company-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 8px;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,.6);
}
.lyz-company-subtitle {
    font-size: 15px;
    margin: 0;
    color: rgba(255,255,255,.9);
    text-shadow: 0 2px 8px rgba(0,0,0,.6);
}

/* 吸顶导航 */
.lyz-company-nav {
    position: sticky;
    top: 0;
    z-index: 60;
    background: #fff;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
.lyz-company-nav-inner {
    padding: 0 20px;
    display: flex;
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: center;
}
.lyz-company-nav-inner::-webkit-scrollbar { display: none; }
.lyz-company-nav-item {
    display: inline-block;
    padding: 16px 20px;
    font-size: 15px;
    color: #333;
    text-decoration: none !important;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    transition: all .2s;
    cursor: pointer;
    font-weight: 500;
}
.lyz-company-nav-item:hover {
    color: #2a6df4;
}
.lyz-company-nav-item.is-active {
    color: #2a6df4;
    border-bottom-color: #2a6df4;
    font-weight: 600;
}

/* 内容区 */
.lyz-company-body {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    min-height: 400px;
}

/* 每个 section：默认隐藏，只有 is-active 的才显示 */
.lyz-company-sec {
    display: none;
    padding: 50px 40px;
    animation: lyz-fade-in .35s ease;
}
.lyz-company-sec.is-active {
    display: block;
}
@keyframes lyz-fade-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.lyz-company-sec-inner {
    max-width: 1100px;
    margin: 0 auto;
}

/* 区块标题 */
.lyz-company-sec-title {
    font-size: 28px;
    font-weight: 800;
    color: #222;
    margin: 0 0 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}
.lyz-company-sec-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 60px;
    height: 2px;
    background: #2a6df4;
}

/* 区块内容 */
.lyz-company-sec-content {
    font-size: 15px;
    line-height: 1.9;
    color: #444;
}
.lyz-company-sec-content p { margin: 0 0 14px; }
.lyz-company-sec-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 20px auto;
}
.lyz-company-sec-content h3 {
    font-size: 20px;
    margin: 28px 0 12px;
    color: #222;
}
.lyz-company-sec-content ul,
.lyz-company-sec-content ol {
    padding-left: 22px;
    margin: 0 0 16px;
}

/* 咨询区块：联系方式卡片 */
.lyz-company-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 20px;
}
.lyz-company-contact-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px 22px;
    background: #f8f9fb;
    border: 1px solid #eee;
    border-radius: 10px;
}
.lyz-company-contact-ico {
    font-size: 22px;
    flex: 0 0 auto;
    line-height: 1.2;
}
.lyz-company-contact-item div { flex: 1; min-width: 0; }
.lyz-company-contact-item strong {
    display: block;
    font-size: 12px;
    color: #999;
    font-weight: 500;
    margin-bottom: 4px;
    letter-spacing: .5px;
}
.lyz-company-contact-item a,
.lyz-company-contact-item span {
    color: #222;
    font-size: 15px;
    font-weight: 500;
    word-break: break-all;
}
.lyz-company-contact-item a:hover { color: #2a6df4; }

/* 手机端 */
@media (max-width: 768px) {
    .lyz-company-banner {
        height: 180px;
        max-width: 100%;
    }
    .lyz-company-banner-inner { padding: 0 20px; }
    .lyz-company-title { font-size: 22px; margin-bottom: 4px; }
    .lyz-company-subtitle { font-size: 13px; }

    .lyz-company-nav { max-width: 100%; }
    .lyz-company-nav-inner {
        padding: 0 8px;
        justify-content: flex-start;
    }
    .lyz-company-nav-item {
        padding: 12px 14px;
        font-size: 14px;
    }

    .lyz-company-body { max-width: 100%; }
    .lyz-company-sec {
        padding: 30px 20px;
    }
    .lyz-company-sec-title {
        font-size: 22px;
        margin-bottom: 18px;
        padding-bottom: 12px;
    }
    .lyz-company-sec-content {
        font-size: 14px;
    }
    .lyz-company-contact-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}
/* ============================================================
   公司单页 - 信息栏 & TAB 左对齐
   ============================================================ */

/* 公司信息栏 */
.lyz-company-info {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background: #fafafa;
    border-bottom: 1px solid #eee;
    padding: 18px 40px;
    box-sizing: border-box;
}
.lyz-company-info-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px 32px;
    font-size: 13px;
    line-height: 1.8;
}
.lyz-company-info-item {
    display: flex;
    min-width: 0;
    align-items: baseline;
    gap: 4px;
}
.lyz-company-info-label {
    flex: 0 0 auto;
    color: #999;
    font-weight: 500;
}
.lyz-company-info-value {
    flex: 1;
    min-width: 0;
    color: #333;
    word-break: break-all;
}
.lyz-company-info-value a {
    color: #333;
    text-decoration: none;
}
.lyz-company-info-value a:hover {
    color: #2a6df4;
}

/* TAB 导航左对齐 */
.lyz-company-nav-inner {
    justify-content: flex-start !important;
    padding: 0 40px;
    gap: 0;
}
.lyz-company-nav-item {
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 500;
}
.lyz-company-nav-item.is-active {
    font-weight: 600;
}

/* 手机端 */
@media (max-width: 768px) {
    .lyz-company-info {
        max-width: 100%;
        padding: 14px 20px;
    }
    .lyz-company-info-inner {
        grid-template-columns: 1fr;
        gap: 4px;
        font-size: 12px;
    }
    .lyz-company-nav-inner {
        padding: 0 12px;
        gap: 0;
    }
    .lyz-company-nav-item {
        padding: 12px 16px;
        font-size: 14px;
    }
}
/* ============================================================
   管理员快捷入口
   ============================================================ */
.lyz-admin-tip {
    margin: 8px 0;
    font-size: 13px;
    line-height: 1.6;
}
.lyz-admin-tip a {
    display: inline-block;
    padding: 4px 12px;
    background: #eef4ff;
    color: #2a6df4 !important;
    border: 1px dashed #2a6df4;
    border-radius: 4px;
    text-decoration: none !important;
    transition: all .2s;
}
.lyz-admin-tip a:hover {
    background: #2a6df4;
    color: #fff !important;
    border-style: solid;
}
.lyz-admin-tip a::before {
    content: '✎ ';
    margin-right: 2px;
}
/* ============================================================
   手机端搜索：点击图标展开输入框
   ============================================================ */
.lyz-header-search {
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* 搜索图标按钮：手机端显示，桌面端隐藏 */
.lyz-search-toggle {
    display: none;         /* 默认隐藏 */
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: transparent;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    color: #222;
    cursor: pointer;
    padding: 0;
    transition: background .2s;
}
.lyz-search-toggle:hover {
    background: #f5f5f5;
}
.lyz-search-toggle svg {
    width: 20px;
    height: 20px;
    display: block;
}

/* 搜索框：默认隐藏 */
.lyz-header-search-form {
    display: none;
    position: absolute;
    top: 50px;
    right: 0;
    width: 280px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    padding: 8px;
    z-index: 999;
    box-sizing: border-box;
}
.lyz-header-search-form input[type="search"] {
    width: 100%;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
    margin-bottom: 6px;
}
.lyz-header-search-form input[type="search"]:focus {
    border-color: #2a6df4;
}
.lyz-header-search-form button {
    width: 100%;
    height: 38px;
    background: #2a6df4;
    color: #fff;
    border: 0;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.lyz-header-search-form button:hover {
    background: #1e5ad4;
}

/* 展开状态 */
.lyz-header-search.is-open .lyz-header-search-form {
    display: block;
    animation: lyz-search-drop .25s ease;
}
@keyframes lyz-search-drop {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* 手机端才显示搜索按钮 */
@media (max-width: 768px) {
    .lyz-search-toggle {
        display: inline-flex;
    }
}

/* 桌面端不显示这个搜索按钮 */
@media (min-width: 769px) {
    .lyz-header-search {
        display: none;
    }
}
/* ============================================================
   头部搜索：图标按钮 + 点击展开的搜索框
   ============================================================ */

/* 外层容器：作为定位参照物 */
.lyz-header-search {
    position: relative !important;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

/* 搜索图标按钮 */
.lyz-header-search .lyz-search-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    background: transparent;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    color: #222;
    cursor: pointer;
    transition: all .2s;
}
.lyz-header-search .lyz-search-toggle:hover {
    background: #f5f5f5;
    border-color: #2a6df4;
    color: #2a6df4;
}
.lyz-header-search .lyz-search-toggle svg {
    width: 20px;
    height: 20px;
    display: block;
}

/* 下拉搜索框：默认隐藏 */
.lyz-header-search-form {
    display: none !important;
    position: absolute !important;
    top: calc(100% + 10px) !important;
    right: 0 !important;
    left: auto !important;
    width: 300px !important;
    max-width: calc(100vw - 32px) !important;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    padding: 10px;
    z-index: 9999;
    box-sizing: border-box;
    flex-direction: column;
    gap: 6px;
}

/* 展开状态 */
.lyz-header-search.is-open .lyz-header-search-form {
    display: flex !important;
    animation: lyz-search-drop .25s ease;
}
@keyframes lyz-search-drop {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* 输入框 */
.lyz-header-search-form input[type="search"] {
    width: 100%;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
}
.lyz-header-search-form input[type="search"]:focus {
    border-color: #2a6df4;
    box-shadow: 0 0 0 3px rgba(42,109,244,.1);
}

/* 搜索按钮 */
.lyz-header-search-form button[type="submit"] {
    width: 100%;
    height: 38px;
    background: #2a6df4;
    color: #fff;
    border: 0;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}
.lyz-header-search-form button[type="submit"]:hover {
    background: #1e5ad4;
}

/* 手机端 */
@media (max-width: 768px) {
    .lyz-header-search .lyz-search-toggle {
        width: 42px;
        height: 42px;
    }
    .lyz-header-search-form {
        width: 280px !important;
    }
}

/* 桌面端 */
@media (min-width: 769px) {
    .lyz-header-search-form {
        width: 320px !important;
    }
}
/* ============================================================
   头部搜索 - 最终版（覆盖之前的）
   ============================================================ */

/* 外层容器：定位参照物 */
.lyz-header-search {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    vertical-align: middle !important;
}

/* 搜索图标按钮：手机端显示，桌面端也显示（按你的需求） */
.lyz-header-search .lyz-search-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 8px !important;
    color: #222 !important;
    cursor: pointer !important;
    transition: all .2s !important;
    box-sizing: border-box !important;
}
.lyz-header-search .lyz-search-toggle:hover {
    background: #f5f5f5 !important;
    border-color: #2a6df4 !important;
    color: #2a6df4 !important;
}
.lyz-header-search .lyz-search-toggle svg {
    width: 20px !important;
    height: 20px !important;
    display: block !important;
}

/* 下拉搜索框：默认隐藏 */
.lyz-header-search-form {
    display: none !important;
    position: absolute !important;
    top: calc(100% + 10px) !important;
    right: 0 !important;
    left: auto !important;
    width: 300px !important;
    max-width: calc(100vw - 32px) !important;
    background: #fff !important;
    border: 1px solid #eee !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.12) !important;
    padding: 10px !important;
    z-index: 9999 !important;
    box-sizing: border-box !important;
    flex-direction: column !important;
    gap: 6px !important;
}

/* 展开状态 */
.lyz-header-search.is-open .lyz-header-search-form {
    display: flex !important;
    animation: lyz-search-drop .25s ease !important;
}
@keyframes lyz-search-drop {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* 输入框 */
.lyz-header-search-form input[type="search"] {
    width: 100% !important;
    height: 38px !important;
    padding: 0 12px !important;
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    outline: none !important;
    box-sizing: border-box !important;
}
.lyz-header-search-form input[type="search"]:focus {
    border-color: #2a6df4 !important;
    box-shadow: 0 0 0 3px rgba(42,109,244,.1) !important;
}

/* 搜索提交按钮 */
.lyz-header-search-form button[type="submit"] {
    width: 100% !important;
    height: 38px !important;
    background: #2a6df4 !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background .2s !important;
}
.lyz-header-search-form button[type="submit"]:hover {
    background: #1e5ad4 !important;
}

/* ============================================================
   手机端头部布局：Logo 左，按钮组右，只有一个汉堡
   ============================================================ */
@media (max-width: 768px) {
    .lyz-header-inner {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
    }

    /* Logo 区：占剩余空间 */
    .lyz-site-branding {
        flex: 0 0 auto !important;
        max-width: 55% !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }
    .lyz-site-branding img,
    .lyz-site-branding .custom-logo {
        max-height: 30px !important;
        width: auto !important;
        max-width: 100% !important;
        object-fit: contain !important;
        display: block !important;
    }
    .lyz-site-title {
        font-size: 16px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .lyz-site-description {
        display: none !important;
    }

    /* 右侧按钮组：固定宽，不压缩 */
    .lyz-header-actions {
        flex: 0 0 auto !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        margin-left: auto !important;
    }
    .lyz-header-actions .lyz-search-toggle,
    .lyz-header-actions .lyz-menu-toggle {
        flex: 0 0 42px !important;
        width: 42px !important;
        height: 42px !important;
    }

    /* 菜单：默认隐藏，展开时独占一行 */
    .lyz-header-inner > .lyz-main-navigation {
        display: none !important;
    }
    .lyz-header-inner > .lyz-main-navigation.is-open {
        display: block !important;
        flex-basis: 100% !important;
        width: 100% !important;
        order: 99 !important;
        margin-top: 8px !important;
    }

    /* 搜索框：手机端尺寸 */
    .lyz-header-search-form {
        width: 280px !important;
    }
}

/* ============================================================
   手机端头部菜单修复（确保只有一个汉堡按钮）
   ============================================================ */
@media (max-width: 768px) {
    /* 只显示 .lyz-header-actions 里的菜单按钮 */
    .lyz-menu-toggle {
        display: inline-flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 5px !important;
        width: 42px !important;
        height: 42px !important;
        padding: 0 !important;
        background: transparent !important;
        border: 1px solid #e5e5e5 !important;
        border-radius: 8px !important;
        cursor: pointer !important;
        box-sizing: border-box !important;
    }
    .lyz-menu-toggle span {
        display: block !important;
        width: 20px !important;
        height: 2px !important;
        background: #222 !important;
        border-radius: 2px !important;
        transition: transform .3s, opacity .3s !important;
    }
    .lyz-menu-toggle.is-active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg) !important;
    }
    .lyz-menu-toggle.is-active span:nth-child(2) {
        opacity: 0 !important;
    }
    .lyz-menu-toggle.is-active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg) !important;
    }
}/* 强制搜索框默认隐藏（终极兜底） */
html body .lyz-header-search-form {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}
html body .lyz-header-search.is-open .lyz-header-search-form {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
}/* ============================================================
   多条件筛选
   ============================================================ */
.lyz-filter {
    margin: 20px 0 30px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
}

/* 折叠标题栏 */
.lyz-filter-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 20px;
    background: #f8f9fb;
    border: 0;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    color: #222;
    text-align: left;
    transition: background .2s;
}
.lyz-filter-toggle:hover { background: #f0f4fa; }
.lyz-filter-toggle-text { font-size: 16px; }
.lyz-filter-toggle-icon {
    font-size: 12px;
    color: #888;
    transition: transform .3s;
}
.lyz-filter.is-collapsed .lyz-filter-toggle-icon {
    transform: rotate(-90deg);
}

/* 折叠状态 */
.lyz-filter.is-collapsed .lyz-filter-body {
    display: none;
}

/* 筛选组 */
.lyz-filter-body { padding: 20px; }
.lyz-filter-group {
    display: flex;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px dashed #f0f0f0;
    align-items: flex-start;
}
.lyz-filter-group:last-of-type { border-bottom: 0; }
.lyz-filter-label {
    flex: 0 0 80px;
    font-size: 14px;
    font-weight: 700;
    color: #333;
    padding-top: 6px;
    white-space: nowrap;
}
.lyz-filter-tags {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* 标签 */
.lyz-filter-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: #f5f7fa;
    border: 1px solid transparent;
    border-radius: 20px;
    font-size: 13px;
    color: #555;
    text-decoration: none !important;
    cursor: pointer;
    transition: all .2s;
}
.lyz-filter-tag:hover {
    background: #e8f0ff;
    color: #2a6df4;
}
.lyz-filter-tag.is-active {
    background: #2a6df4;
    color: #fff;
    border-color: #2a6df4;
}

/* 操作按钮 */
.lyz-filter-actions {
    padding: 16px 0 0;
    border-top: 1px dashed #f0f0f0;
    margin-top: 10px;
    text-align: right;
}
.lyz-filter-reset {
    padding: 8px 22px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    color: #555;
    cursor: pointer;
    transition: all .2s;
}
.lyz-filter-reset:hover {
    border-color: #2a6df4;
    color: #2a6df4;
}

/* 结果区 */
.lyz-filter-result {
    padding: 20px;
    border-top: 1px solid #eee;
    min-height: 120px;
}
.lyz-filter-loading,
.lyz-filter-empty {
    text-align: center;
    padding: 30px 0;
    color: #999;
    font-size: 14px;
}

/* 网格结果 */
.lyz-filter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.lyz-filter-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow .3s, transform .3s;
}
.lyz-filter-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
    transform: translateY(-3px);
}
.lyz-filter-card-thumb {
    display: block;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f5f5f5;
}
.lyz-filter-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}
.lyz-filter-card:hover .lyz-filter-card-thumb img {
    transform: scale(1.05);
}
.lyz-filter-card-body {
    padding: 12px 14px 14px;
}
.lyz-filter-card-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.lyz-filter-card-title a { color: #222; text-decoration: none; }
.lyz-filter-card-title a:hover { color: #2a6df4; }
.lyz-filter-card-meta {
    font-size: 12px;
    color: #999;
}

/* 手机端 */
@media (max-width: 900px) {
    .lyz-filter-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .lyz-filter-group { flex-direction: column; gap: 8px; }
    .lyz-filter-label { flex: none; padding-top: 0; }
    .lyz-filter-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .lyz-filter-body { padding: 14px; }
    .lyz-filter-result { padding: 14px; }
    .lyz-filter-tag { padding: 5px 12px; font-size: 12px; }
}
@media (max-width: 480px) {
    .lyz-filter-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .lyz-content-area {
        flex-direction: column !important;
    }
    .lyz-site-main {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }
    .lyz-widget-area {
        width: 100% !important;
        max-width: 100% !important;
    }
    .lyz-entry-content {
        width: 100% !important;
        max-width: 100% !important;
    }
}@media (max-width: 768px) {
    .lyz-content-area.sidebar-right,
    .lyz-content-area.sidebar-left,
    .lyz-content-area.sidebar-none {
        flex-direction: column !important;
    }
    .lyz-content-area .lyz-site-main,
    .lyz-content-area .lyz-widget-area {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }
    .lyz-entry-content {
        width: 100% !important;
        max-width: 100% !important;
    }
}/* 联系页全宽 */
.lyz-contact-full .lyz-contact-form-wrap {
    width: 100%;
    max-width: 100%;
}/* 三栏小工具 - 分类文章卡片 */
.lyz-widget-post-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
    transition: transform .3s, box-shadow .3s;
}
.lyz-widget-post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
}
.lyz-widget-post-thumb {
    display: block;
    overflow: hidden;
}
.lyz-widget-post-thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform .4s;
}
.lyz-widget-post-card:hover .lyz-widget-post-thumb img {
    transform: scale(1.05);
}
.lyz-widget-post-card-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin: 12px 16px 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.lyz-widget-post-card-title a {
    color: #222;
    text-decoration: none;
}
.lyz-widget-post-card-title a:hover {
    color: #2a6df4;
}
.lyz-widget-post-card-meta {
    font-size: 12px;
    color: #999;
    padding: 0 16px 14px;}
/* ============================================================
   分类组合 - 左图右文
   ============================================================ */

/* 左栏卡片：左图右文 */
.lyz-portfolio-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 12px;
    padding: 10px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    transition: box-shadow .3s, transform .3s;
    overflow: hidden;
}
.lyz-portfolio-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,.1);
    transform: translateY(-2px);
}

/* 左栏图片：固定宽度 */
.lyz-portfolio-card-img {
    flex: 0 0 120px;
    width: 120px;
    height: 90px;
    border-radius: 6px;
    overflow: hidden;
    display: block;
    align-self: center;
}
.lyz-portfolio-card-img img {
    width: 120px;
    height: 90px;
    object-fit: cover;
    display: block;
    transition: transform .4s;
}
.lyz-portfolio-card:hover .lyz-portfolio-card-img img {
    transform: scale(1.05);
}

/* 左栏文字区 */
.lyz-portfolio-card-body {
    flex: 1;
    min-width: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.lyz-portfolio-card-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.lyz-portfolio-card-title a {
    color: #222;
    text-decoration: none;
}
.lyz-portfolio-card-title a:hover {
    color: #2a6df4;
}
.lyz-portfolio-card-meta {
    font-size: 12px;
    color: #999;
}

/* 右栏小卡片：左图右文 */
.lyz-portfolio-mini {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 10px;
    padding: 8px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    transition: box-shadow .3s, transform .3s;
    overflow: hidden;
}
.lyz-portfolio-mini:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,.1);
    transform: translateY(-2px);
}
.lyz-portfolio-mini-img {
    flex: 0 0 80px;
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    display: block;
    align-self: center;
}
.lyz-portfolio-mini-img img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    display: block;
}
.lyz-portfolio-mini-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.lyz-portfolio-mini-title a {
    color: #222;
    text-decoration: none;
}
.lyz-portfolio-mini-title a:hover {
    color: #2a6df4;
}
.lyz-portfolio-mini-meta {
    font-size: 11px;
    color: #999;
    padding: 0;
}/* ============================================================
   友情链接
   ============================================================ */
.lyz-footer-links-bar {
    background: #f0f4f8;
    border-top: 1px solid #e0e6ed;
    padding: 16px 0;
    font-size: 13px;
}
.lyz-footer-links-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.lyz-footer-links-title {
    color: #666;
    font-weight: 600;
    flex: 0 0 auto;
}
.lyz-footer-links-list {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    align-items: center;
}
.lyz-footer-links-list a {
    color: #555;
    text-decoration: none;
    transition: color .2s;
}
.lyz-footer-links-list a:hover {
    color: #2a6df4;
    text-decoration: underline;
}
.lyz-footer-links-list span {
    color: #999;
}

/* 手机端 */
@media (max-width: 768px) {
    .lyz-footer-links-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .lyz-footer-links-title {
        font-size: 12px;
    }
    .lyz-footer-links-list {
        font-size: 12px;
        gap: 6px 12px;
    }
}/* ============================================================
   独立产品详情页全局样式（去重合并版）
   ============================================================ */
.lyz-pd-container { max-width: 1200px; margin: 40px auto; padding: 0 20px; overflow: hidden; }

/* 上半部分左右分栏 */
.lyz-pd-top { display: flex; gap: 40px; margin-bottom: 40px; align-items: flex-start; }
@media (max-width: 768px) { .lyz-pd-top { flex-direction: column; gap: 20px; } }

/* 左侧图库 */
.lyz-pd-gallery { flex: 0 0 400px; width: 100%; }
.lyz-pd-main-img { 
    width: 100%; height: 400px; border: 1px solid #eee; border-radius: 12px; 
    overflow: hidden; display: flex; align-items: center; justify-content: center; 
    background: #fafafa; cursor: crosshair;
}
.lyz-pd-main-img img { 
    width: 200px; height: 200px; object-fit: contain; transition: transform 0.3s ease; 
}
.lyz-pd-main-img:hover img { transform: scale(1.8); }

/* 缩略图 */
.lyz-pd-thumbs { display: flex; gap: 10px; margin-top: 15px; justify-content: center; }
.lyz-pd-thumb-item { 
    width: 60px; height: 60px; object-fit: cover; border: 2px solid #eee; 
    border-radius: 8px; cursor: pointer; transition: all 0.2s; 
}
.lyz-pd-thumb-item:hover { border-color: #2a6df4; }

/* 右侧参数 */
.lyz-pd-specs { flex: 1; min-width: 0; }
.lyz-pd-title { font-size: 28px; font-weight: 800; margin: 0 0 10px; color: #222; }
.lyz-pd-desc { color: #666; font-size: 15px; line-height: 1.7; margin-bottom: 20px; }
.lyz-pd-table { width: 100%; border-collapse: collapse; margin-top: 15px; }
.lyz-pd-table th { width: 35%; background: #f8f9fa; color: #555; text-align: left; padding: 12px 16px; border: 1px solid #eee; font-weight: 500; }
.lyz-pd-table td { padding: 12px 16px; border: 1px solid #eee; color: #222; }

/* 下半部分按钮 */
.lyz-pd-tabs-scroll { display: flex; overflow-x: auto; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid #eee; margin-bottom: 20px; scrollbar-width: none; }
.lyz-pd-tabs-scroll::-webkit-scrollbar { display: none; }
.lyz-pd-tab-btn { 
    flex: 0 0 auto; padding: 12px 28px; background: #f5f7fa; border: none; border-radius: 30px; 
    font-size: 15px; font-weight: 600; color: #555; cursor: pointer; transition: all 0.3s; white-space: nowrap; 
}
.lyz-pd-tab-btn:hover { background: #e8f0ff; color: #2a6df4; }
.lyz-pd-tab-btn.is-active { background: #2a6df4; color: #fff; box-shadow: 0 4px 12px rgba(42,109,244,0.3); }

/* 下半部分内容 */
.lyz-pd-tab-content { display: none; padding: 20px 0; line-height: 1.8; color: #444; font-size: 15px; }
.lyz-pd-tab-content.is-active { display: block; animation: lyz-pd-fadeIn 0.3s ease; }
@keyframes lyz-pd-fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 768px) {
    .lyz-pd-table th { width: 40%; padding: 10px; }
    .lyz-pd-table td { padding: 10px; }
    .lyz-pd-tab-btn { padding: 10px 20px; font-size: 14px; }
}/* ============================================================
   强制主菜单子菜单垂直下拉
   ============================================================ */
@media (min-width: 769px) {
    #lyz-primary-menu > li {
        position: relative !important;
    }
    
    /* 强制子菜单绝对定位，不占据横向空间 */
    #lyz-primary-menu .sub-menu {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        display: block !important;
        flex-direction: column !important;
        min-width: 220px !important;
        background: #fff !important;
        border: 1px solid #eee !important;
        border-radius: 8px !important;
        box-shadow: 0 10px 30px rgba(0,0,0,.12) !important;
        padding: 8px 0 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(8px) !important;
        transition: all .25s !important;
        z-index: 999 !important;
    }

    /* 强制子菜单里的每一项占据一整行 */
    #lyz-primary-menu .sub-menu li {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    #lyz-primary-menu .sub-menu li a {
        display: block !important;
        padding: 10px 20px !important;
        color: #555 !important;
        font-size: 14px !important;
        font-weight: normal !important;
        white-space: nowrap !important;
        border-radius: 0 !important;
        background: transparent !important;
    }

    #lyz-primary-menu .sub-menu li a:hover {
        background: #f5f8ff !important;
        color: #2a6df4 !important;
    }

    /* 鼠标悬停时显示下拉菜单 */
    #lyz-primary-menu > li:hover > .sub-menu {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }
}