/*
Theme Name: Fineland
Author: 杭州云优化信息技术有限公司
Author URI: #
Description: 公司业务覆盖网站策划搭建、网站诊断分析、搜索引擎排名优化、网络品牌推广等，依托技术团队，结合国内企业实际经营场景，输出高性价比的线上获客方案，帮助企业通过互联网实现品牌曝光与业务增长。
Requires at least: 5.9
Tested up to: 6.9
Requires PHP: 5.6
Version: 2.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentytwo
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, style-variations, wide-blocks, block-styles, accessibility-ready, blog, portfolio, news

Twenty Twenty-Two WordPress Theme, (C) 2021 WordPress.org
Twenty Twenty-Two is distributed under the terms of the GNU GPL.
*/

/*
 * 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.
 */

/*
 * Font smoothing.
 * This is a niche setting that will not be available via Global Styles.
 * https://github.com/WordPress/gutenberg/issues/35934
 */

body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

/*
 * Text and navigation link styles.
 * Necessary until the following issue is resolved in Gutenberg:
 * https://github.com/WordPress/gutenberg/issues/27075
 */

a {
	text-decoration-thickness: 1px;
	text-underline-offset: 0.25ch;
}

a:hover,
a:focus {
	text-decoration-style: dashed;
}

a:active {
	text-decoration: none;
}

.wp-block-navigation .wp-block-navigation-item a:hover,
.wp-block-navigation .wp-block-navigation-item a:focus {
	text-decoration: underline;
	text-decoration-style: solid;
}

/*
 * Search and File Block button styles.
 * Necessary until the following issues are resolved in Gutenberg:
 * https://github.com/WordPress/gutenberg/issues/36444
 * https://github.com/WordPress/gutenberg/issues/27760
 */

.wp-block-search__button,
.wp-block-file .wp-block-file__button {
	background-color: var(--wp--preset--color--primary);
	border-radius: 0;
	border: 0 solid;
	color: var(--wp--preset--color--background);
	font-size: var(--wp--preset--font-size--medium);
	padding: calc(.667em + 2px) calc(1.333em + 2px);
}

/*
 * Button hover styles.
 * Necessary until the following issue is resolved in Gutenberg:
 * https://github.com/WordPress/gutenberg/issues/27075
 */

.wp-block-search__button:hover,
.wp-block-file .wp-block-file__button:hover,
.wp-block-button__link:hover {
	opacity: 0.90;
}

/*
 * Alignment styles.
 * These rules are temporary, and should not be relied on or
 * modified too heavily by themes or plugins that build on
 * Twenty Twenty-Two. These are meant to be a precursor to
 * a global solution provided by the Block Editor.
 *
 * Relevant issues:
 * https://github.com/WordPress/gutenberg/issues/35607
 * https://github.com/WordPress/gutenberg/issues/35884
 */

.wp-site-blocks,
body > .is-root-container,
.edit-post-visual-editor__post-title-wrapper,
.wp-block-group.alignfull,
.wp-block-group.has-background,
.wp-block-cover.alignfull,
.is-root-container .wp-block[data-align="full"] > .wp-block-group,
.is-root-container .wp-block[data-align="full"] > .wp-block-cover {
	padding-left: var(--wp--custom--spacing--outer);
	padding-right: var(--wp--custom--spacing--outer);
}

.wp-site-blocks .alignfull,
.wp-site-blocks > .wp-block-group.has-background,
.wp-site-blocks > .wp-block-cover,
.wp-site-blocks > .wp-block-template-part > .wp-block-group.has-background,
.wp-site-blocks > .wp-block-template-part > .wp-block-cover,
body > .is-root-container > .wp-block-cover,
body > .is-root-container > .wp-block-template-part > .wp-block-group.has-background,
body > .is-root-container > .wp-block-template-part > .wp-block-cover,
.is-root-container .wp-block[data-align="full"] {
	margin-left: calc(-1 * var(--wp--custom--spacing--outer)) !important;
	margin-right: calc(-1 * var(--wp--custom--spacing--outer)) !important;
	width: unset;
}

/* Blocks inside columns don't have negative margins. */
.wp-site-blocks .wp-block-columns .wp-block-column .alignfull,
.is-root-container .wp-block-columns .wp-block-column .wp-block[data-align="full"],
/* We also want to avoid stacking negative margins. */
.wp-site-blocks .alignfull:not(.wp-block-group) .alignfull,
.is-root-container .wp-block[data-align="full"] > *:not(.wp-block-group) .wp-block[data-align="full"] {
	margin-left: auto !important;
	margin-right: auto !important;
	width: inherit;
}

/*
 * Responsive menu container padding.
 * This ensures the responsive container inherits the same
 * spacing defined above. This behavior may be built into
 * the Block Editor in the future.
 */

.wp-block-navigation__responsive-container.is-menu-open {
	padding-top: var(--wp--custom--spacing--outer);
	padding-bottom: var(--wp--custom--spacing--large);
	padding-right: var(--wp--custom--spacing--outer);
	padding-left: var(--wp--custom--spacing--outer);
}

/*
 * Improves spacing for the legacy Post Comments block.
 * https://core.trac.wordpress.org/ticket/57560
 */

.wp-block-post-comments ol.commentlist ul.children {
	margin-top: 1rem;
	margin-bottom: 1rem;
}

.wp-block-post-comments ol.commentlist li.comment:not(:last-child) {
	margin-bottom: 1rem;
}

/*
 * Prevents unnecessary scrollbars while handling long lines of preformatted text.
 * https://core.trac.wordpress.org/ticket/63875
 */

:where(pre) {
	overflow-x: auto;
}
/* Static footer social links and inquiry rail */
.social-links{display:flex;gap:12px;margin:16px 0;align-items:center}
.social-links a{display:inline-block;color:inherit;text-decoration:none}

/* Preserve the original static homepage structures after WordPress binding. */
.quickgrid>div{position:relative}
.quickgrid .quick-link{position:absolute;inset:0;z-index:2}
.quickgrid>div:focus-within{outline:2px solid var(--red);outline-offset:-2px}
.productgrid .product>a{position:relative;z-index:1}

/* A single-column article template must not occupy the legacy 70px share column. */
.article-layout.article-layout--single{grid-template-columns:minmax(0,760px);gap:0}
.article-layout--single .article-content{grid-column:1;min-width:0;width:100%;max-width:72ch}
.article-content img,.article-content video,.article-content iframe{max-width:100%;height:auto}
.article-content pre,.article-content table{max-width:100%}
.article-content pre{overflow:auto;padding:20px;background:#17191b;color:#fff}
.article-content table{display:block;overflow-x:auto;white-space:nowrap}
.article-content> :first-child{margin-top:0}
.article-content> :last-child{margin-bottom:0}

/* Application cards may carry editable images without changing the static layout. */
.page-card>img{width:calc(100% + 68px);max-width:none;height:190px;object-fit:cover;margin:-34px -34px 28px}
.market-cards{align-items:start}
.market-cards .page-card{min-height:100%}
.market-subcategories{display:grid;grid-template-columns:1fr 1fr;gap:8px 18px;padding:20px 0 0;margin:18px 0 24px;border-top:1px solid var(--line);list-style:none}
.market-subcategories li{position:relative;padding-left:14px;color:var(--muted);font-size:12px;line-height:1.55}
.market-subcategories li:before{content:'›';position:absolute;left:0;color:var(--red);font-weight:700}

@media(max-width:620px){
.article-layout.article-layout--single{padding-inline:20px}
.article-content blockquote{margin-inline:0;padding:22px}
.article-content table{font-size:12px}
.page-card>img{width:calc(100% + 48px);margin:-24px -24px 24px}
.market-subcategories{grid-template-columns:1fr}
}
.social-links a:hover{text-decoration:underline}
.inquiry-rail{position:fixed;right:20px;bottom:24px;z-index:1000;display:flex;flex-direction:column;gap:8px}
.inquiry-rail__item{display:flex;align-items:center;gap:6px;padding:9px 12px;border:0;border-radius:4px;background:#1f3d35;color:#fff;text-decoration:none;cursor:pointer;font:inherit}
.inquiry-rail__item:hover{background:#d97735}

/* ===== Inner page banner: remove image, keep breadcrumb bar ===== */
.pagehero{background:#f5f4f1 !important;background-image:none !important;color:#20272b;padding:28px 0 34px !important}
.pagehero:after{display:none}
.pagehero .breadcrumbs,.pagehero .breadcrumbs a{color:#5d666b}
.pagehero h1{color:#20272b;font-size:clamp(32px,3.4vw,46px);line-height:1.15;margin:16px 0 8px}
.pagehero p{color:#4b575d;max-width:72ch;font-size:14px}
/* Markets archive banner removed */
.post-type-archive-markets .hero{display:none}

/* ===== 文章归档页（category.php）：浅色标题区 + 卡片封面图 + 分页 ===== */
.pagehero--archive{background:#f5f4f1;color:#20272b;padding:30px 0 26px;position:relative}
.pagehero--archive::after{display:none}
.pagehero--archive .breadcrumbs{color:#5d666b;margin-bottom:14px}
.pagehero--archive .breadcrumbs a{color:#5d666b}
.pagehero--archive h1{color:#20272b;font-size:clamp(30px,3.6vw,46px);line-height:1.15;margin:0}
.pagehero--archive p{color:#4b575d;max-width:78ch;margin:10px 0 0;font-size:14px}
.archive-body{padding-top:44px;padding-bottom:80px}
.archive-body .news-filter{margin-bottom:26px}
.archive-body .archive-count{font-size:12px;color:#757c81;margin:0 0 20px}
.news-card .news-thumb{display:block;min-height:0;padding:0;background:#fff;overflow:hidden}
.news-card .news-thumb img{width:100%;height:212px;object-fit:cover;display:block;transition:transform .35s ease}
.news-card:hover .news-thumb img{transform:scale(1.04)}
.news-card h3 a,.news-card h2 a{color:inherit;font-size:inherit;font-weight:inherit;margin:0;text-decoration:none;display:inline-block}
.news-card h3 a:hover,.news-card h2 a:hover{color:var(--red)}
.pagehero--archive+.archive-body .newsgrid--archive{row-gap:30px}
@media(max-width:620px){
  .news-card .news-thumb img{height:190px}
  .pagehero--archive{padding:24px 0 22px}
}
/* ===== 详情页正文超链接默认使用 LOGO 红色（2026-11-23）=====
   适用：应用（markets）详情、产品详情、文章详情的正文与简介区链接 */
.intro-description a:not(.btn),
.editor-content a:not(.btn),
.article-content a:not(.btn) {
    color: #DA251C;
}
.intro-description a:not(.btn):hover,
.editor-content a:not(.btn):hover,
.article-content a:not(.btn):hover {
    color: #a11f26;
    text-decoration: underline;
}
