/*
Theme Name: 钟一兵天才集团
Description: 从 Web 原站迁移，固定页面与集团新闻使用 WordPress 页面和文章。
Version: 1.0.2
Text Domain: zyb-group
*/

        .site-nav {
            position: sticky;
            top: 0;
            z-index: 1000;
            min-height: 68px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 24px;
            padding: 12px 30px;
            background: linear-gradient(120deg, rgba(42, 32, 92, 0.98) 0%, rgba(32, 72, 125, 0.98) 52%, rgba(92, 45, 107, 0.98) 100%);
            border-bottom: none;
            box-shadow: 0 5px 22px rgba(69, 71, 170, 0.35);
            backdrop-filter: blur(10px);
        }

        .site-brand {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            color: #ffd166;
            text-decoration: none;
            font-family: 'Microsoft YaHei', '微软雅黑', sans-serif;
            font-size: 1.35rem;
            font-weight: 900;
            letter-spacing: 0.5px;
            text-shadow: 0 0 9px rgba(255, 209, 102, 0.38);
        }

        .site-brand:hover,
        .site-brand:focus-visible {
            color: #ffe29a;
            text-shadow: 0 0 12px rgba(255, 209, 102, 0.7);
        }

        .site-brand img {
            width: 44px;
            height: 44px;
            display: block;
            flex-shrink: 0;
            object-fit: contain;
            border-radius: 0;
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 8px;
            list-style: none;
        }

        .nav-links > li > a {
            display: block;
            padding: 7px 12px;
            color: #ffd166;
            text-decoration: none;
            font-family: 'Microsoft YaHei', '微软雅黑', sans-serif;
            font-weight: 900;
            letter-spacing: 0.5px;
            text-shadow: 0 0 9px rgba(255, 209, 102, 0.38);
            border-radius: 3px;
            transition: all 0.25s;
        }

        .nav-links > li > a:hover,
        .nav-links > li > a:focus-visible {
            color: #ffe29a;
            background: rgba(255, 209, 102, 0.1);
            box-shadow: 0 0 12px rgba(255, 209, 102, 0.35);
        }

        .nav-item-dropdown {
            position: relative;
        }

        .dropdown-menu {
            position: absolute;
            top: 100%;
            left: 0;
            z-index: 1001;
            min-width: 150px;
            padding: 8px;
            list-style: none;
            background: linear-gradient(145deg, rgba(42, 32, 92, 0.99), rgba(32, 72, 125, 0.99), rgba(92, 45, 107, 0.99));
            border: 1px solid rgba(255, 209, 102, 0.35);
            border-radius: 3px;
            box-shadow: 0 8px 22px rgba(34, 25, 90, 0.45);
            opacity: 0;
            visibility: hidden;
            transform: translateY(-6px);
            pointer-events: none;
            transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
        }

        .dropdown-menu a {
            display: block;
            padding: 8px 12px;
            text-align: center;
            color: #ffd166;
            text-decoration: none;
            font-family: 'Microsoft YaHei', '微软雅黑', sans-serif;
            font-weight: 900;
            letter-spacing: 0.5px;
            text-shadow: 0 0 9px rgba(255, 209, 102, 0.38);
            border-radius: 3px;
            transition: all 0.25s;
            white-space: nowrap;
        }

        .dropdown-menu a:hover,
        .dropdown-menu a:focus-visible {
            color: #ffe29a;
            background: rgba(255, 209, 102, 0.1);
            box-shadow: 0 0 12px rgba(255, 209, 102, 0.35);
        }

        .nav-item-dropdown:hover .dropdown-menu,
        .nav-item-dropdown:focus-within .dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
            pointer-events: auto;
        }
.site-nav { justify-content:space-between; gap:24px; }
.nav-links { flex-wrap:wrap; }
.nav-links > li > a[aria-current="page"] { color:#fff1bf; background:rgba(255,209,102,.14); }
.admin-bar .site-nav { top:32px; }
.skip-link { position:absolute;left:16px;top:-100px;background:#ffd166;color:#000;padding:10px;z-index:10001; }
.skip-link:focus { top:8px; }
.news-shell { min-height:calc(100vh - 150px); }
.news-intro { margin:0 0 32px;color:#66ff88; }
.news-card { margin:0 0 28px;padding:0 0 28px;border-bottom:1px dashed #004411; }
.news-card:last-child { margin-bottom:0;border-bottom:0; }
.news-date { color:#80b790;font-size:.88rem; }
.news-card h2 { margin:10px 0 14px;border:0;font-size:1.6rem; }
.news-card h2::before { content: ''; }
.news-card h2 a,.news-readmore,.news-back,.entry-content a,.news-pagination a { color:#00ff41;text-decoration:none; }
.news-card h2 a:hover,.news-readmore:hover,.news-back:hover,.entry-content a:hover { color:#ffd166;text-decoration:underline; }
.news-excerpt { color:#bbd6c2;margin-bottom:16px;overflow-wrap:anywhere; }
.news-thumbnail img { width:100%;max-height:380px;object-fit:cover;border:1px solid #004411;border-radius:4px;margin:14px 0; }
.news-heading { margin:0 0 12px;font-size:2rem;overflow-wrap:anywhere; }
.news-empty { padding:48px 20px;text-align:center;color:#bbd6c2;border:1px dashed #004411; }
.entry-content { margin-top:28px;color:#d5e7db;overflow-wrap:anywhere; }
.entry-content > * { margin-top:1.2em;margin-bottom:1.2em; }
.entry-content h2,.entry-content h3,.entry-content h4 { color:#00ff41; }
.entry-content img,.entry-content video,.entry-content iframe { max-width:100%; }
.entry-content img { height:auto; }
.entry-content figure { max-width:100%; }
.entry-content ul,.entry-content ol { padding-left:1.5em; }
.entry-content pre { overflow:auto;background:#101810;padding:20px;border:1px solid #004411; }
.entry-content blockquote { border-left:3px solid #00ff41;padding-left:20px; }
.entry-content table { border-collapse:collapse;width:100%; }
.entry-content td,.entry-content th { padding:10px;border:1px solid #004411; }
.news-pagination { display:flex;justify-content:center;margin:36px 0 0;gap:8px; }
.news-pagination h2 { display:none; }
.news-pagination .page-numbers { display:inline-block;padding:6px 12px;border:1px solid #004411;margin:3px; }
.news-pagination .current { border-color:#00ff41;background:#003311; }
.news-post-nav { display:flex;justify-content:space-between;gap:16px;margin:28px 0; }
.news-post-nav a { color:#00ff41; }
.screen-reader-text { position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }
@media(max-width:782px){.admin-bar .site-nav{top:46px}}
@media(max-width:600px){
 .site-brand img {width:36px;height:36px;}
 .site-nav {align-items:flex-start;flex-wrap:wrap;padding:10px 16px;gap:8px;}
 .site-brand {font-size:1.1rem;}
 .nav-links {width:100%;justify-content:flex-end;gap:2px;}
 .nav-links > li > a {padding:8px 7px;font-size:.82rem;}
 .dropdown-menu {left:0;}
 .news-heading {font-size:1.7rem;}
 .news-post-nav {flex-direction:column;}
}
@media(prefers-reduced-motion:reduce){.glitch,h1,.hero-cursor{animation:none!important}}
