/*
Theme Name: Yuefeng Development
Theme URI: https://www.yffzkj.com/
Description: Lightweight, responsive child theme for Yuefeng Development, based on Twenty Twenty-Five.
Author: Yuefeng Development
Version: 1.0.1
Template: twentytwentyfive
Text Domain: yuefeng-development
*/

:root {
	--yf-ink: #102b49;
	--yf-ink-soft: #48627d;
	--yf-blue: #1769aa;
	--yf-blue-dark: #0b477c;
	--yf-sky: #e7f2fc;
	--yf-line: #dbe6f0;
	--yf-paper: #ffffff;
	--yf-ground: #f4f8fc;
	--yf-radius: 20px;
	--yf-shadow: 0 18px 48px rgba(22, 58, 93, .09);
}

html { scroll-behavior: smooth; }
body {
	background: var(--yf-ground);
	color: var(--yf-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
}
a { color: var(--yf-blue-dark); text-underline-offset: .18em; }
a:hover { color: var(--yf-blue); }
:focus-visible { outline: 3px solid #f3b64b; outline-offset: 3px; }

.yf-header { position: relative; z-index: 5; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--yf-line); }
.yf-header__inner { width: min(1200px, calc(100% - 40px)); min-height: 82px; margin: 0 auto; display: flex; align-items: center; gap: 28px; }
.yf-brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; text-decoration: none; color: var(--yf-ink); font-weight: 800; font-size: 19px; letter-spacing: .02em; }
.yf-brand:hover { color: var(--yf-ink); }
.yf-brand__mark { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: white; background: linear-gradient(145deg, #2f8dd0, #0e4c85); font-size: 14px; letter-spacing: .04em; box-shadow: 0 7px 18px rgba(23,105,170,.22); }
.yf-brand small { display: block; margin-top: 2px; color: #71869b; font-size: 9px; font-weight: 700; letter-spacing: .17em; }
.yf-nav { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 2vw, 27px); margin-left: auto; }
.yf-nav a { white-space: nowrap; color: #38526d; text-decoration: none; font-size: 14px; font-weight: 650; }
.yf-nav a:hover, .yf-nav a:focus { color: var(--yf-blue); }
.yf-header__cta, .yf-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 19px; border: 1px solid var(--yf-blue); border-radius: 999px; background: var(--yf-blue); color: #fff !important; text-decoration: none; font-size: 14px; font-weight: 700; transition: transform .18s ease, background .18s ease; }
.yf-header__cta:hover, .yf-button:hover { transform: translateY(-1px); background: var(--yf-blue-dark); }
.yf-button--light { color: var(--yf-blue-dark) !important; background: #fff; border-color: rgba(255,255,255,.75); }
.yf-button--outline { color: var(--yf-blue-dark) !important; background: transparent; border-color: #9bbbd6; }

.yf-main { padding: 0 0 64px; }
.yf-main > .entry-content.yf-full-width-content { width: 100%; max-width: none; margin-right: 0; margin-left: 0; }
.yf-shell { width: min(1160px, calc(100% - 40px)); margin-right: auto; margin-left: auto; }
.yf-hero { position: relative; overflow: hidden; padding: clamp(58px, 8vw, 102px) 0; background: radial-gradient(ellipse at 85% 18%, rgba(120,190,239,.30), transparent 33%), linear-gradient(125deg, #f3f9ff 0%, #e7f2fc 52%, #dcecf9 100%); }
.yf-hero::after { position: absolute; right: -110px; bottom: -205px; width: 420px; height: 420px; border: 1px solid rgba(23,105,170,.12); border-radius: 50%; box-shadow: 0 0 0 42px rgba(23,105,170,.035), 0 0 0 84px rgba(23,105,170,.025); content: ""; pointer-events: none; }
.yf-hero__layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .72fr); align-items: center; gap: clamp(34px, 7vw, 88px); }
.yf-eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 18px; color: var(--yf-blue-dark); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.yf-eyebrow::before { width: 25px; height: 2px; background: #48a1d7; content: ""; }
.yf-display { max-width: 760px; margin: 0; color: var(--yf-ink); font-size: clamp(39px, 5.4vw, 67px); font-weight: 800; line-height: 1.19; letter-spacing: -.045em; }
.yf-lead { max-width: 680px; margin: 23px 0 0; color: #46627e; font-size: clamp(17px, 1.7vw, 20px); line-height: 1.9; }
.yf-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.yf-hero__panel { padding: 27px; border: 1px solid rgba(255,255,255,.8); border-radius: 24px; background: rgba(255,255,255,.78); box-shadow: var(--yf-shadow); backdrop-filter: blur(8px); }
.yf-hero__panel h2 { margin: 0 0 18px; color: var(--yf-ink); font-size: 17px; }
.yf-hero__steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.yf-hero__steps li { display: flex; align-items: flex-start; gap: 12px; color: #45617b; font-size: 14px; line-height: 1.65; }
.yf-step-no { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; color: var(--yf-blue-dark); background: #e3f1fc; font-size: 12px; font-weight: 800; }

.yf-section { padding: clamp(54px, 7vw, 82px) 0; }
.yf-section--white { background: var(--yf-paper); }
.yf-section--tint { background: #edf5fc; }
.yf-section__head { max-width: 750px; margin: 0 auto 32px; text-align: center; }
.yf-section__head .yf-eyebrow { justify-content: center; }
.yf-section__head h2, .yf-page-head h1 { margin: 0; color: var(--yf-ink); font-size: clamp(30px, 4vw, 43px); line-height: 1.3; letter-spacing: -.035em; }
.yf-section__head p, .yf-page-head p { margin: 13px auto 0; color: var(--yf-ink-soft); font-size: 16px; line-height: 1.85; }
.yf-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.yf-grid--posts, .yf-grid--cases { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.yf-card { min-width: 0; padding: 23px; border: 1px solid var(--yf-line); border-radius: var(--yf-radius); background: var(--yf-paper); box-shadow: 0 8px 28px rgba(23,58,91,.045); transition: transform .18s ease, box-shadow .18s ease; }
.yf-card:hover { transform: translateY(-3px); box-shadow: var(--yf-shadow); }
.yf-card__index { display: inline-grid; width: 34px; height: 34px; place-items: center; margin-bottom: 16px; border-radius: 11px; color: var(--yf-blue-dark); background: var(--yf-sky); font-size: 12px; font-weight: 800; }
.yf-card h3 { margin: 0 0 10px; color: var(--yf-ink); font-size: 19px; line-height: 1.45; }
.yf-card h3 a { color: inherit; text-decoration: none; }
.yf-card p { margin: 0; color: var(--yf-ink-soft); font-size: 14px; line-height: 1.8; }
.yf-card__link { display: inline-flex; margin-top: 17px; color: var(--yf-blue-dark); font-size: 13px; font-weight: 800; text-decoration: none; }
.yf-empty { grid-column: 1 / -1; padding: 26px; border: 1px dashed #a9c5dc; border-radius: var(--yf-radius); color: #45617b; background: rgba(255,255,255,.65); text-align: center; line-height: 1.8; }
.yf-faq-list { display: grid; gap: 12px; max-width: 900px; margin: 0 auto; }
.yf-faq { padding: 19px 22px; border: 1px solid var(--yf-line); border-radius: 14px; background: #fff; }
.yf-faq summary { color: var(--yf-ink); font-weight: 750; cursor: pointer; }
.yf-faq__answer { padding-top: 12px; color: var(--yf-ink-soft); font-size: 15px; line-height: 1.85; }
.yf-faq__answer p { margin: 0 0 10px; }
.yf-cta { padding: clamp(34px, 5vw, 58px); border-radius: 26px; color: #fff; background: linear-gradient(120deg, #103d68, #1769aa 70%, #2c84bf); box-shadow: 0 22px 50px rgba(15,73,121,.18); }
.yf-cta h2 { margin: 0; color: #fff; font-size: clamp(27px, 3.6vw, 39px); line-height: 1.35; }
.yf-cta p { max-width: 720px; margin: 13px 0 23px; color: rgba(255,255,255,.82); line-height: 1.8; }
.yf-page-head { padding: clamp(45px, 6vw, 72px) 0 30px; background: linear-gradient(130deg, #eaf4fc, #f7fbff); }
.yf-page-head .yf-shell { max-width: 900px; }
.yf-page-body { padding: 34px 0 68px; }
.yf-prose { max-width: 850px; margin: 0 auto; color: #405c77; font-size: 17px; line-height: 1.95; }
.yf-prose h2 { margin: 1.8em 0 .65em; color: var(--yf-ink); font-size: clamp(24px, 3vw, 30px); line-height: 1.4; }
.yf-prose h3 { margin: 1.5em 0 .5em; color: var(--yf-ink); font-size: 20px; }
.yf-prose p, .yf-prose ul, .yf-prose ol { margin-top: .75em; margin-bottom: .75em; }
.yf-prose li { margin: .4em 0; }
.yf-note { padding: 18px 20px; border-left: 4px solid #5ba0d2; border-radius: 0 12px 12px 0; background: #eaf4fc; color: #35536f; font-size: 14px; line-height: 1.8; }
.yf-contact-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 28px; align-items: start; }
.yf-contact-aside, .yf-form-card { padding: 28px; border: 1px solid var(--yf-line); border-radius: var(--yf-radius); background: #fff; box-shadow: 0 8px 28px rgba(23,58,91,.045); }
.yf-contact-aside h2, .yf-form-card h2 { margin: 0 0 12px; color: var(--yf-ink); font-size: 22px; }
.yf-contact-aside p, .yf-form-card p { color: var(--yf-ink-soft); line-height: 1.8; }
.yf-form { display: grid; gap: 14px; }
.yf-form label { display: grid; gap: 6px; color: var(--yf-ink); font-size: 14px; font-weight: 700; }
.yf-form input, .yf-form textarea { width: 100%; box-sizing: border-box; padding: 12px 14px; border: 1px solid #c9d8e6; border-radius: 10px; color: var(--yf-ink); background: #fff; font: inherit; font-weight: 400; }
.yf-form textarea { min-height: 135px; resize: vertical; }
.yf-form__consent { display: flex !important; align-items: flex-start; gap: 9px !important; color: #516b84 !important; font-size: 13px !important; font-weight: 500 !important; }
.yf-form__consent input { width: auto; margin-top: 4px; }
.yf-form__note { margin: 0; color: #71869b !important; font-size: 12px; }
.yf-form__notice { padding: 12px 14px; border-radius: 10px; color: #1c5b37; background: #e7f6ec; }
.yf-form__notice--error { color: #8a3e20; background: #fff0e8; }
.yf-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.yf-footer { margin-top: 0; padding: 38px 0 28px; color: #d9e6f2; background: #102b49; }
.yf-footer__inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; }
.yf-footer .yf-brand { color: #fff; }
.yf-footer .yf-brand small { color: #a9bfd2; }
.yf-footer__text { max-width: 460px; margin: 13px 0 0; color: #b8cad9; font-size: 13px; line-height: 1.8; }
.yf-footer__nav { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.yf-footer__nav a { color: #e2edf7; font-size: 13px; text-decoration: none; }
.yf-footer__bottom { margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); color: #a9bfd2; font-size: 12px; }
.yf-main > .wp-block-post-content { padding-top: 0; }

@media (max-width: 980px) {
	.yf-header__inner { min-height: 74px; gap: 16px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 11px; }
	.yf-nav { order: 3; width: 100%; justify-content: flex-start; flex-wrap: wrap; gap: 10px 21px; overflow: visible; padding: 5px 0 2px; }
	.yf-header__cta { margin-left: auto; }
	.yf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
	.yf-shell, .yf-header__inner { width: min(100% - 30px, 560px); }
	.yf-header__inner { gap: 11px; }
	.yf-brand { font-size: 17px; }
	.yf-brand__mark { width: 38px; height: 38px; }
	.yf-header__cta { min-height: 38px; padding: 0 13px; font-size: 12px; }
	.yf-nav { gap: 8px 16px; }
	.yf-nav a { font-size: 12px; }
	.yf-hero__layout, .yf-contact-layout { grid-template-columns: 1fr; }
	.yf-hero__panel { padding: 21px; }
	.yf-grid, .yf-grid--posts, .yf-grid--cases { grid-template-columns: 1fr; }
	.yf-footer__inner { flex-direction: column; }
	.yf-footer__nav { gap: 12px 17px; }
	.yf-card { padding: 21px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* 收录与 GEO 优化：面包屑、条目元信息、页脚联系信息 */
.yf-breadcrumb { margin: 0 0 16px; color: #71869b; font-size: 13px; line-height: 1.7; }
.yf-breadcrumb a { color: #35536f; text-decoration: none; }
.yf-breadcrumb a:hover { color: #1769aa; text-decoration: underline; }
.yf-breadcrumb__sep { margin: 0 7px; color: #a9bfd2; }
.yf-breadcrumb__current { color: #71869b; }
.yf-prose .yf-entry-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 9px; margin: 0 0 22px; color: #71869b; font-size: 13px; }
.yf-prose .yf-entry-meta__sep { color: #c1d2e0; }
.yf-footer__contact { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); }
.yf-footer__contact address { display: flex; flex-wrap: wrap; gap: 6px 22px; font-style: normal; color: #b8cad9; font-size: 13px; line-height: 1.8; }
.yf-footer__contact a { color: #e2edf7; text-decoration: none; }
.yf-footer__contact a:hover { text-decoration: underline; }
.yf-footer__icp { margin-left: 14px; color: #a9bfd2 !important; text-decoration: none; }
.yf-footer__icp:hover { color: #e2edf7 !important; text-decoration: underline; }

@media (max-width: 680px) {
	.yf-footer__contact address { flex-direction: column; gap: 4px; }
	.yf-footer__icp { display: inline-block; margin: 6px 0 0; }
}
