/*
Theme Name: Twenty Twenty-Five
Theme URI: https://wordpress.org/themes/twentytwentyfive/
Author: the WordPress team
Author URI: https://wordpress.org
Description: Twenty Twenty-Five emphasizes simplicity and adaptability. It offers flexible design options, supported by a variety of patterns for different page types, such as services and landing pages, making it ideal for building personal blogs, professional portfolios, online magazines, or business websites. Its templates cater to various blog styles, from text-focused to image-heavy layouts. Additionally, it supports international typography and diverse color palettes, ensuring accessibility and customization for users worldwide.
Requires at least: 6.7
Tested up to: 7.1
Requires PHP: 7.2
Version: 1.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfive
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/*
 * IMPORTANT: This file is only served on the frontend when `SCRIPT_DEBUG` is enabled;
 * in most instances, the `style.min.css` file will be served. It is not recommended that you
 * use the Theme File Editor to modify this stylesheet. Instead, add the necessary style
 * overrides via "Additional CSS" in the Site Editor.
 */

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}

/*
 * Prevents unnecessary scrollbars while handling long lines of preformatted text.
 * https://core.trac.wordpress.org/ticket/63875
 */
:where(pre) {
	overflow-x: auto;
}


/* 熊知库：图文与下载资源首页 */
:root {
  --xzk-ink: #182b36;
  --xzk-deep: #193f45;
  --xzk-teal: #2f7770;
  --xzk-gold: #d99a48;
  --xzk-paper: #f5f5ef;
}
body { background: var(--xzk-paper); color: var(--xzk-ink); font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif; }
.wp-site-blocks { min-height: 100vh; background: var(--xzk-paper); }
header.wp-block-template-part { position: relative; background: rgba(255,255,255,.92); border-bottom: 1px solid rgba(24,43,54,.08); }
header.wp-block-template-part > .wp-block-group, header.wp-block-template-part .wp-block-group.alignwide { max-width: 1200px !important; margin-inline: auto !important; padding: 18px 28px !important; }
.wp-block-site-title a { color: var(--xzk-deep) !important; font-weight: 850; letter-spacing: .04em; text-decoration: none; }
.wp-block-navigation a { color: #425760 !important; font-weight: 650; text-decoration: none; }
.wp-block-navigation a:hover { color: var(--xzk-teal) !important; }
body.home main { max-width: 1200px !important; margin: 0 auto !important; padding: 44px 28px 88px !important; }
body.home main::before { content: "图文资料 · 素材模板 · 实用下载\A把有用的内容，收藏在熊知库。"; display: block; white-space: pre-line; min-height: 210px; box-sizing: border-box; padding: 48px clamp(26px,6vw,76px); margin: 0 0 42px; border-radius: 28px; background: radial-gradient(circle at 86% 18%, rgba(224,178,104,.42), transparent 26%), linear-gradient(120deg,#163b42,#28645e 62%,#39786d); color: #fffdf6; font-size: clamp(27px,4vw,48px); font-weight: 800; line-height: 1.4; letter-spacing: .025em; box-shadow: 0 20px 50px rgba(25,63,69,.16); }
body.home main > .wp-block-query-title { margin: 0 0 24px !important; color: var(--xzk-deep); font-size: clamp(25px,3vw,34px) !important; font-weight: 800; letter-spacing: -.02em; }
body.home main > .wp-block-query-title::after { content: " · 精选资源"; color: var(--xzk-teal); font-size: .58em; font-weight: 650; letter-spacing: 0; }
body.home .wp-block-post-template { display: grid !important; grid-template-columns: repeat(auto-fit,minmax(min(100%,290px),1fr)); gap: 22px !important; margin: 0 !important; }
body.home .wp-block-post-template > li { position: relative; box-sizing: border-box; padding: 28px !important; overflow: hidden; border: 1px solid rgba(24,43,54,.08); border-radius: 22px; background: #fff; box-shadow: 0 10px 30px rgba(24,43,54,.06); transition: transform .2s ease, box-shadow .2s ease; }
body.home .wp-block-post-template > li:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(24,43,54,.11); }
body.home .wp-block-post-template > li::before { content: "熊知库 · 资源精选"; display: inline-flex; margin-bottom: 18px; padding: 7px 12px; border-radius: 999px; background: #edf5f1; color: var(--xzk-teal); font-size: 12px; font-weight: 750; letter-spacing: .04em; }
body.home .wp-block-post-title a { color: var(--xzk-ink) !important; font-size: 25px; font-weight: 800; line-height: 1.4; text-decoration: none; }
body.home .wp-block-post-excerpt { color: #58676e; font-size: 15px; line-height: 1.9; }
body.home .wp-block-post-date { color: #8a9698; font-size: 13px; }
body.home .wp-block-post-template + * { margin-top: 28px; }
footer.wp-block-template-part { border-top: 1px solid rgba(24,43,54,.08); background: #edf1eb; color: #647379; }
footer.wp-block-template-part > .wp-block-group, footer.wp-block-template-part .wp-block-group.alignwide { max-width: 1200px !important; margin-inline: auto !important; padding: 28px !important; }
@media (max-width: 700px) { body.home main { padding: 24px 16px 56px !important; } body.home main::before { min-height: 180px; padding: 32px 24px; border-radius: 20px; } body.home .wp-block-post-template > li { padding: 22px !important; } header.wp-block-template-part > .wp-block-group, header.wp-block-template-part .wp-block-group.alignwide { padding: 14px 18px !important; } }

/* 熊知库资源下载站首页 */
body.home { background: #f6f8f5; color: #20342c; }
body.home main::before { content: none !important; display: none !important; }
body.home .xzk-storefront { width: 100%; max-width: none !important; margin: 0 auto !important; padding: 0 24px 88px !important; box-sizing: border-box; }
body.home .xzk-hero { position: relative; overflow: hidden; box-sizing: border-box; width: 100%; max-width: 1180px !important; margin: 28px auto 74px !important; padding: clamp(40px, 7vw, 88px) clamp(28px, 8vw, 100px) !important; border-radius: 32px; background: radial-gradient(circle at 85% 15%, rgba(255,255,255,.72) 0 8%, transparent 8.5%), radial-gradient(circle at 91% 78%, rgba(174,218,188,.72) 0 13%, transparent 13.5%), linear-gradient(125deg,#e3f2e9 0%,#f1f5e9 55%,#e8f2df 100%); }
body.home .xzk-hero:after { content: ''; position: absolute; width: 210px; height: 210px; border: 1px solid rgba(55,110,76,.18); border-radius: 50%; right: 8%; top: 24%; box-shadow: 0 0 0 24px rgba(255,255,255,.12),0 0 0 48px rgba(255,255,255,.1); pointer-events: none; }
body.home .xzk-kicker { color: #28754d; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 18px; }
body.home .xzk-title { position: relative; z-index: 1; max-width: 760px; color: #183d2c; font-size: clamp(40px, 6.5vw, 76px); line-height: 1.12; letter-spacing: -.045em; margin: 0 0 22px; }
body.home .xzk-intro { position: relative; z-index: 1; max-width: 590px; color: #50685c; font-size: clamp(16px, 1.8vw, 19px); line-height: 1.8; margin: 0 0 28px; }
body.home .xzk-actions { position: relative; z-index: 1; gap: 12px; margin: 0 0 24px; }
body.home .xzk-actions .wp-block-button__link { border-radius: 999px; padding: 13px 24px; font-size: 15px; font-weight: 700; text-decoration: none; }
body.home .xzk-button-primary .wp-block-button__link { background: #216b46; color: #fff; }
body.home .xzk-button-secondary .wp-block-button__link { background: rgba(255,255,255,.72); color: #23563c; border: 1px solid rgba(35,86,60,.15); }
body.home .xzk-search-note { position: relative; z-index: 1; color: #6b7c72; font-size: 13px; margin: 0; }
body.home .xzk-section { max-width: 1120px !important; margin: 0 auto 76px !important; }
body.home .xzk-section-title { color: #1f352a; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.03em; margin: 0 0 10px; }
body.home .xzk-section-lead { color: #718077; line-height: 1.8; margin: 0 0 28px; }
body.home .xzk-category-grid { display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin: 30px 0 0; }
body.home .xzk-category-grid > .wp-block-column { width: auto !important; flex-basis: auto !important; margin: 0 !important; }
body.home .xzk-category-card { position: relative; min-height: 216px; box-sizing: border-box; overflow: hidden; padding: 26px !important; border-radius: 22px; background: linear-gradient(145deg,#e5f0e8,#f6f7f1); }
body.home .xzk-card-layout { background: linear-gradient(145deg,#f4e9dd,#fbf5ec); }
body.home .xzk-card-docs { background: linear-gradient(145deg,#e7eaf6,#f5f6fb); }
body.home .xzk-category-card:after { content: ''; position: absolute; width: 130px; height: 130px; border-radius: 50%; right: -18px; top: -22px; background: rgba(89,147,105,.13); box-shadow: -24px 54px 0 -26px rgba(89,147,105,.35); }
body.home .xzk-card-layout:after { background: rgba(195,137,83,.13); box-shadow: -24px 54px 0 -26px rgba(195,137,83,.3); }
body.home .xzk-card-docs:after { background: rgba(104,119,182,.14); box-shadow: -24px 54px 0 -26px rgba(104,119,182,.3); }
body.home .xzk-card-icon { position: relative; z-index: 1; color: #28754d; font-size: 32px; line-height: 1; margin: 0 0 36px; }
body.home .xzk-category-card h3 { position: relative; z-index: 1; color: #233c2e; font-size: 21px; margin: 0 0 8px; }
body.home .xzk-category-card p:not(.xzk-card-icon) { position: relative; z-index: 1; color: #6c7a70; font-size: 14px; margin: 0; }
body.home .xzk-resources { padding-top: 10px; }
body.home .xzk-empty-state { text-align: center; box-sizing: border-box; padding: 44px 24px !important; border: 1px dashed #c9d6cc; border-radius: 22px; background: #fff; }
body.home .xzk-empty-mark { color: #469269; font-size: 32px; margin: 0 0 8px; }
body.home .xzk-empty-state h3 { color: #2c4736; margin: 0 0 10px; font-size: 21px; }
body.home .xzk-empty-state p:not(.xzk-empty-mark) { max-width: 620px; margin: 0 auto; color: #718077; line-height: 1.8; }
body.home .xzk-paid-banner { max-width: 1120px !important; box-sizing: border-box; margin: 0 auto !important; padding: clamp(32px,6vw,62px) !important; border-radius: 26px; color: #edf7ef; background: linear-gradient(120deg,#1e5137,#286c49); }
body.home .xzk-paid-banner h2 { max-width: 650px; color: #fff; font-size: clamp(28px,4vw,44px); line-height: 1.2; letter-spacing: -.03em; margin: 0 0 14px; }
body.home .xzk-paid-banner p:not(.xzk-paid-label) { max-width: 680px; color: #d2e5d8; line-height: 1.8; margin: 0; }
body.home .xzk-paid-label { color: #c4e6cf; font-size: 13px; font-weight: 700; letter-spacing: .12em; margin: 0 0 16px; }
body.home footer { margin-top: 0 !important; }
@media (max-width: 700px) { body.home .xzk-storefront { padding: 0 16px 56px !important; } body.home .xzk-hero { margin: 12px auto 52px !important; padding: 38px 25px !important; border-radius: 24px; } body.home .xzk-hero:after { width: 140px; height: 140px; right: -20px; top: 10%; } body.home .xzk-title { font-size: clamp(38px,10vw,54px); } body.home .xzk-category-grid { grid-template-columns: 1fr; gap: 12px; } body.home .xzk-category-card { min-height: 190px; } body.home .xzk-section { margin-bottom: 56px !important; } body.home .xzk-paid-banner { border-radius: 22px; } }

/* 免费与付费演示资源卡片 */
body.home .xzk-product-grid { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; margin: 26px 0 0; }
body.home .xzk-product-grid > .wp-block-column { width: auto !important; flex-basis: auto !important; margin: 0 !important; }
body.home .xzk-product-card { box-sizing: border-box; height: 100%; padding: 22px !important; border: 1px solid #e6ece7; border-radius: 22px; background: #fff; box-shadow: 0 12px 34px rgba(37,67,48,.06); }
body.home .xzk-product-paid { border-color: #d6e5d9; }
body.home .xzk-product-tag { display: inline-flex; align-items: center; margin: 0 0 14px; padding: 6px 10px; border-radius: 999px; background: #e7f4eb; color: #28754d; font-size: 12px; font-weight: 700; }
body.home .xzk-product-paid .xzk-product-tag { background: #fff0dc; color: #9b6020; }
body.home .xzk-product-art { display: flex; align-items: flex-end; box-sizing: border-box; height: 150px; margin: 0 0 20px; padding: 18px; border-radius: 16px; color: #1d5438; font-size: 19px; font-weight: 700; letter-spacing: .02em; background: radial-gradient(circle at 82% 20%,rgba(255,255,255,.8) 0 17%,transparent 17.5%),linear-gradient(135deg,#d6eddd,#f4f6e9); }
body.home .xzk-art-paid { color: #684521; background: radial-gradient(circle at 80% 22%,rgba(255,255,255,.75) 0 18%,transparent 18.5%),linear-gradient(135deg,#f2dfc4,#f8eee3 58%,#e9d7c4); }
body.home .xzk-product-card h3 { color: #243c2d; font-size: 21px; line-height: 1.4; margin: 0 0 10px; }
body.home .xzk-product-description { color: #68786d; font-size: 14px; line-height: 1.75; margin: 0 0 14px; }
body.home .xzk-product-points { padding-left: 20px; color: #53675a; font-size: 13px; line-height: 1.8; margin: 0 0 18px; }
body.home .xzk-product-price { color: #236744; font-size: 24px; font-weight: 800; margin: 0 0 14px; }
body.home .xzk-product-price span { color: #88948b; font-size: 12px; font-weight: 400; }
body.home .xzk-demo-button { display: block; width: 100%; box-sizing: border-box; border: 0; border-radius: 999px; padding: 12px 16px; background: #dfeee4; color: #3d7656; font: inherit; font-size: 14px; font-weight: 700; cursor: not-allowed; opacity: 1; }
body.home .xzk-demo-button-paid { background: #ece8df; color: #827664; }
@media (max-width: 700px) { body.home .xzk-product-grid { grid-template-columns: 1fr; gap: 14px; } body.home .xzk-product-card { padding: 18px !important; } body.home .xzk-product-art { height: 132px; } }



/* 熊知库：文章首页、正文与可管理广告位 */
.xzk-blog-home{background:#f5f7f5;color:#24352d;padding:42px 24px 72px}.xzk-blog-wrap{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:34px;align-items:start}.xzk-blog-welcome{padding:34px 38px;margin-bottom:28px;background:linear-gradient(135deg,#e8f0e9,#f6f2e9);border:1px solid #e1e9e1;border-radius:18px}.xzk-eyebrow,.xzk-section-kicker,.xzk-side-kicker{color:#568060;font-size:12px;font-weight:750;letter-spacing:.08em}.xzk-blog-welcome h1{font-size:clamp(30px,4vw,44px);line-height:1.25;margin:10px 0;color:#203d30}.xzk-blog-welcome p{color:#617067;max-width:610px;margin:0}.xzk-blog-section-head{display:flex;justify-content:space-between;align-items:end;border-bottom:1px solid #dfe7e0;padding:0 0 15px;margin-bottom:18px}.xzk-blog-section-head h2,.xzk-blog-bottom h2{font-size:25px;margin:4px 0 0;color:#213d30}.xzk-post-count{font-size:13px;color:#7b887f}.xzk-blog-feed{display:grid;gap:17px}.xzk-feed-card{display:grid;grid-template-columns:minmax(200px,34%) 1fr;gap:22px;background:#fff;padding:16px;border:1px solid #e6ebe6;border-radius:15px;box-shadow:0 8px 22px rgba(34,58,43,.035);transition:transform .18s ease,box-shadow .18s ease}.xzk-feed-card:hover{transform:translateY(-2px);box-shadow:0 13px 28px rgba(34,58,43,.08)}.xzk-feed-art{min-height:205px;border-radius:11px;padding:19px 20px;display:flex;flex-direction:column;justify-content:space-between;text-decoration:none!important;color:#244735!important;overflow:hidden}.xzk-feed-art-free{background:linear-gradient(145deg,#dcecdf,#f4eee2)}.xzk-feed-art-paid{background:linear-gradient(145deg,#f2e6d8,#e4eddf)}.xzk-art-label{font-size:12px;letter-spacing:.04em;color:#567660}.xzk-feed-art strong{font-size:27px;line-height:1.18;letter-spacing:.02em}.xzk-art-mark{font-size:11px;color:#738276}.xzk-feed-copy{display:flex;flex-direction:column;align-items:flex-start;padding:5px 6px 3px 0}.xzk-feed-meta{display:flex;gap:9px;align-items:center;color:#79877d;font-size:12px}.xzk-feed-copy h3{font-size:21px;line-height:1.45;margin:9px 0;color:#23382d}.xzk-feed-copy h3 a{color:inherit;text-decoration:none}.xzk-feed-copy h3 a:hover{color:#46815b}.xzk-feed-copy p{color:#68756c;font-size:14px;margin:0 0 14px}.xzk-read-more{margin-top:auto;color:#39734e;font-weight:700;font-size:13px;text-decoration:none}.xzk-read-more:hover{text-decoration:underline}.xzk-blog-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:24px;padding:24px 26px;background:#edf3ed;border-radius:14px}.xzk-blog-bottom p{margin:7px 0 0;color:#65736a;font-size:14px}.xzk-blog-bottom>a{white-space:nowrap;color:#39734e;text-decoration:none;font-weight:700}.xzk-blog-sidebar{display:grid;gap:16px}.xzk-side-card{background:#fff;border:1px solid #e6ebe6;border-radius:15px;padding:22px}.xzk-profile-card{text-align:center;padding:27px 23px}.xzk-profile-avatar{width:60px;height:60px;border-radius:50%;background:#e4eee5;color:#3c704f;display:grid;place-items:center;margin:0 auto 13px;font-size:25px;font-weight:800}.xzk-side-card h2{font-size:20px;margin:5px 0 9px;color:#263c30}.xzk-side-card p{font-size:13px;color:#728077;margin:0 0 13px}.xzk-profile-card>a{font-size:13px;color:#39734e;text-decoration:none;font-weight:700}.xzk-side-link{display:flex;justify-content:space-between;gap:8px;padding:13px 0;border-top:1px solid #edf0ed;color:#48594d;text-decoration:none;font-size:13px}.xzk-side-link:first-of-type{margin-top:8px}.xzk-side-link b{white-space:nowrap;color:#5d8767;font-size:11px}.xzk-side-note{padding:18px 20px;border-radius:14px;background:#f1eee4;color:#716a53}.xzk-side-note span{font-size:12px;font-weight:750}.xzk-side-note p{font-size:12px;line-height:1.7;margin:7px 0 0}.xzk-ad-slot{min-height:108px;border:1px dashed #cdd7ce;border-radius:12px;background:#f8faf8;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#869289;margin:0 0 20px;padding:16px}.xzk-ad-slot strong{font-size:11px;font-weight:600;letter-spacing:.08em}.xzk-ad-slot span{font-size:13px;margin-top:5px;color:#66766a}.xzk-ad-slot--sidebar{min-height:250px;margin:0}.xzk-ad-slot--article{margin:28px 0;min-height:120px}.xzk-article-wrap{background:#f5f7f5;padding:38px 24px 70px}.xzk-article-layout{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:34px;align-items:start}.xzk-article-main{background:#fff;border:1px solid #e6ebe6;border-radius:16px;padding:clamp(24px,5vw,52px)}.xzk-article-main h1{font-size:clamp(30px,4vw,42px);line-height:1.3;color:#20382c;margin:12px 0}.xzk-article-meta{display:flex;flex-wrap:wrap;gap:12px;color:#879189;font-size:13px;margin-bottom:26px}.xzk-article-content{color:#45564b;font-size:16px;line-height:1.95}.xzk-article-content h2,.xzk-article-content h3{color:#284a37;margin-top:32px}.xzk-article-content img{max-width:100%;height:auto;border-radius:10px}.xzk-article-content a{color:#34724c}.xzk-article-sidebar{display:grid;gap:16px}.xzk-article-cover{margin-bottom:24px}.xzk-article-cover img{width:100%;height:auto;border-radius:12px}.xzk-ad-slot{position:relative}.xzk-ad-slot:before{content:"广告位";position:absolute;top:8px;right:10px;font-size:10px;color:#a0aaa2;letter-spacing:.04em}@media(max-width:860px){.xzk-blog-wrap,.xzk-article-layout{grid-template-columns:1fr}.xzk-blog-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}.xzk-side-note{grid-column:1/-1}.xzk-article-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}.xzk-ad-slot--sidebar{min-height:180px}}@media(max-width:600px){.xzk-blog-home{padding:20px 14px 42px}.xzk-blog-welcome{padding:24px 22px;margin-bottom:22px}.xzk-blog-section-head h2{font-size:22px}.xzk-feed-card{grid-template-columns:1fr;gap:13px;padding:12px}.xzk-feed-art{min-height:165px}.xzk-feed-art strong{font-size:24px}.xzk-feed-copy{padding:2px 5px 7px}.xzk-feed-copy h3{font-size:19px}.xzk-blog-bottom{align-items:flex-start;flex-direction:column;padding:20px}.xzk-blog-sidebar,.xzk-article-sidebar{grid-template-columns:1fr}.xzk-article-wrap{padding:18px 12px 42px}.xzk-article-main{padding:24px 20px}.xzk-ad-slot--sidebar{min-height:130px}}
