/*
Theme Name: 彩贝环保 Caibei Memphis
Theme URI: https://example.com/themes/caibei-memphis
Author: 贝拉章
Author URI: https://example.com/bellazhang
Description: 为南通彩贝环保科技有限公司(虚构演示公司)绘制的孟菲斯粉彩风 WordPress 主题:白底四色低饱和粉彩(珊瑚粉/薄荷/薰衣草/柠檬黄),波点·斜纹·蛇形曲线三件套纹理,卡片白底彩色描边加错位粉彩底片,胶囊描边按钮,12 列端正网格。面向化妆品与日化行业的废气除味站点——治气也可以很好看。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: caibei-memphis
Tags: custom-menu, custom-logo, featured-images, translation-ready, blog
*/

/* ==========================================================================
   1. 设计令牌:四色粉彩 + 墨色
   ========================================================================== */
:root {
	--cb-paper: #ffffff;
	--cb-ink: #37324a;
	--cb-ink-soft: #6d6784;
	--cb-coral: #f8a5c2;
	--cb-mint: #7bdcb5;
	--cb-lav: #b39ddb;
	--cb-lemon: #ffe066;
	--cb-coral-soft: #fde3ee;
	--cb-mint-soft: #e7f8f0;
	--cb-lav-soft: #efe9f8;
	--cb-lemon-soft: #fff3bf;
	--cb-coral-deep: #d2537f;
	--cb-mint-deep: #1f9d72;
	--cb-lav-deep: #7a58b8;
	--cb-lemon-deep: #bb8f16;
	--cb-line: #ece7f4;
	--cb-radius: 18px;
	--cb-radius-lg: 24px;
	--cb-font: "Avenir Next", "Avenir", "PingFang SC", "Hiragino Sans GB", "HarmonyOS Sans SC", "Source Han Sans SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
	--cb-wrap: 1180px;
}

/* 四色轮换工具类:--edge 描边色 / --under 底片色 / --deep 深读色 / --soft 浅底色 */
.tone-coral { --edge: var(--cb-coral); --under: var(--cb-coral); --deep: var(--cb-coral-deep); --soft: var(--cb-coral-soft); }
.tone-mint  { --edge: var(--cb-mint);  --under: var(--cb-mint);  --deep: var(--cb-mint-deep);  --soft: var(--cb-mint-soft); }
.tone-lav   { --edge: var(--cb-lav);   --under: var(--cb-lav);   --deep: var(--cb-lav-deep);   --soft: var(--cb-lav-soft); }
.tone-lemon { --edge: var(--cb-lemon); --under: var(--cb-lemon); --deep: var(--cb-lemon-deep); --soft: var(--cb-lemon-soft); }

/* ==========================================================================
   2. 基础
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--cb-font);
	font-size: 16px;
	line-height: 1.75;
	color: var(--cb-ink);
	background: var(--cb-paper);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
	line-height: 1.32;
	margin: 0 0 0.6em;
	color: var(--cb-ink);
}

p {
	margin: 0 0 1em;
}

a {
	color: var(--cb-lav-deep);
	text-decoration: none;
	transition: color 0.2s ease;
}

a:hover {
	color: var(--cb-coral-deep);
}

img {
	max-width: 100%;
	height: auto;
}

svg {
	display: block;
}

ul, ol {
	margin: 0 0 1em;
	padding-left: 1.4em;
}

::selection {
	background: var(--cb-lemon);
	color: var(--cb-ink);
}

:focus-visible {
	outline: 3px solid var(--cb-lav);
	outline-offset: 2px;
	border-radius: 4px;
}

.wrap {
	max-width: var(--cb-wrap);
	margin: 0 auto;
	padding: 0 24px;
}

/* 12 列端正网格(孟菲斯的热闹,排版的秩序) */
.grid-12 {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 24px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: 16px;
	top: -60px;
	z-index: 200;
	padding: 10px 20px;
	background: var(--cb-ink);
	color: #fff;
	border-radius: 999px;
	transition: top 0.2s ease;
}

.skip-link:focus {
	top: 12px;
	color: #fff;
}

.cb-defs {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}

/* ==========================================================================
   3. 按钮:胶囊形彩色描边,hover 填充对应粉彩
   ========================================================================== */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 26px;
	border-radius: 999px;
	border: 2px solid var(--edge, var(--cb-coral));
	background: var(--cb-paper);
	color: var(--cb-ink);
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.btn:hover,
.btn:focus {
	background: var(--under, var(--cb-coral));
	color: var(--cb-ink);
	transform: translateY(-2px);
}

.btn .ic {
	width: 18px;
	height: 18px;
}

.btn-ink {
	--edge: var(--cb-ink);
	--under: var(--cb-lemon);
}

/* ==========================================================================
   4. 站头与导航
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--cb-paper);
	border-bottom: 2px solid var(--cb-line);
}

.site-header::before {
	content: "";
	display: block;
	height: 4px;
	background: linear-gradient(90deg, var(--cb-coral) 0 25%, var(--cb-mint) 25% 50%, var(--cb-lav) 50% 75%, var(--cb-lemon) 75% 100%);
}

.site-header.is-scrolled {
	border-bottom-color: var(--cb-lav);
}

.header-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-top: 14px;
	padding-bottom: 14px;
}

.brand {
	min-width: 0;
}

.brand-link {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--cb-ink);
}

.brand-link:hover {
	color: var(--cb-ink);
}

.mark-svg {
	width: 44px;
	height: 40px;
	flex: 0 0 auto;
}

.custom-logo {
	max-height: 52px;
	width: auto;
}

.brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
}

.brand-name {
	font-size: 19px;
	font-weight: 700;
}

.brand-tag {
	font-size: 12px;
	color: var(--cb-ink-soft);
}

.main-nav .nav-list {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-nav a {
	display: inline-block;
	padding: 7px 16px;
	border-radius: 999px;
	border: 2px solid transparent;
	color: var(--cb-ink);
	font-weight: 700;
	font-size: 15px;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.main-nav li:nth-child(4n+1) a:hover { background: var(--cb-coral-soft); border-color: var(--cb-coral); }
.main-nav li:nth-child(4n+2) a:hover { background: var(--cb-mint-soft); border-color: var(--cb-mint); }
.main-nav li:nth-child(4n+3) a:hover { background: var(--cb-lav-soft); border-color: var(--cb-lav); }
.main-nav li:nth-child(4n+0) a:hover { background: var(--cb-lemon-soft); border-color: var(--cb-lemon); }

.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
	border-color: var(--cb-lav);
	background: var(--cb-lav-soft);
}

.nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 2px solid var(--cb-lav);
	border-radius: 999px;
	background: var(--cb-paper);
	cursor: pointer;
}

.nav-toggle .bar {
	display: block;
	width: 20px;
	height: 2.5px;
	border-radius: 2px;
	margin: 4px auto;
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle .bar:nth-child(1) { background: var(--cb-coral); }
.nav-toggle .bar:nth-child(2) { background: var(--cb-mint); }
.nav-toggle .bar:nth-child(3) { background: var(--cb-lav); }

.nav-open .nav-toggle .bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-open .nav-toggle .bar:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle .bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ==========================================================================
   5. 蛇形分隔线与区块标题
   ========================================================================== */
.squiggle-divider {
	padding: 8px 24px;
	display: flex;
	justify-content: center;
}

.squiggle-svg {
	width: min(1060px, 100%);
	height: 14px;
}

.squig-sm {
	width: 72px;
	height: 14px;
}

.section {
	padding: 72px 0;
}

.sec-head {
	position: relative;
	max-width: 720px;
	margin: 0 auto 44px;
	text-align: center;
	padding: 0 40px;
}

.sec-kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 5px 16px;
	border: 2px solid var(--edge, var(--cb-lav));
	border-radius: 999px;
	background: var(--cb-paper);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--deep, var(--cb-lav-deep));
	margin-bottom: 14px;
}

.sec-title {
	font-size: 34px;
	margin-bottom: 10px;
}

.sec-lead {
	color: var(--cb-ink-soft);
	margin: 0;
}

.deco {
	position: absolute;
	pointer-events: none;
}

.deco .cb-shape {
	width: 26px;
	height: 26px;
}

.deco-l {
	left: 4px;
	top: -6px;
}

.deco-r {
	right: 4px;
	bottom: 2px;
}

/* ==========================================================================
   6. 卡片:白底 + 2px 彩色描边 + 错位粉彩底片(非阴影)
   ========================================================================== */
.pop-card {
	position: relative;
	background: var(--cb-paper);
	border: 2px solid var(--edge, var(--cb-coral));
	border-radius: var(--cb-radius);
	padding: 24px;
}

.pop-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--under, var(--cb-coral));
	border-radius: var(--cb-radius);
	transform: translate(6px, 6px);
	z-index: -1;
}

/* 悬停只挪底片,不挪卡片本体:卡片一旦自带 transform 会生成新的层叠上下文,
   让 z-index:-1 的底片盖到白底之上,所以动效全部交给 ::before。 */
.pop-card::before {
	transition: transform 0.2s ease;
}

.pop-card:hover::before {
	transform: translate(9px, 9px);
}

/* 入场动效同理:pop-card 只做淡入,位移留给其它元素 */
.pop-card.reveal {
	transform: none;
}

/* ==========================================================================
   7. 首屏 Hero
   ========================================================================== */
.hero {
	position: relative;
	overflow: hidden;
	background-image: radial-gradient(var(--cb-lav-soft) 1.6px, transparent 1.7px);
	background-size: 30px 30px;
}

.hero-grid {
	align-items: center;
	padding: 72px 0 64px;
}

.hero-copy {
	grid-column: 1 / span 6;
}

.hero-art {
	grid-column: 7 / span 6;
	max-width: 520px;
	justify-self: center;
	width: 100%;
}

.hero-tower {
	width: 100%;
	height: auto;
}

.hero-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 6px 18px;
	border: 2px solid var(--cb-lav);
	border-radius: 999px;
	background: var(--cb-paper);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.05em;
	margin-bottom: 20px;
}

.dot-row {
	display: inline-flex;
	gap: 5px;
}

.dot-row i {
	width: 8px;
	height: 8px;
	border-radius: 50%;
}

.dot-row i:nth-child(1) { background: var(--cb-coral); }
.dot-row i:nth-child(2) { background: var(--cb-mint); }
.dot-row i:nth-child(3) { background: var(--cb-lav); }
.dot-row i:nth-child(4) { background: var(--cb-lemon); }

.hero-title {
	font-size: 48px;
	line-height: 1.2;
	margin-bottom: 8px;
}

.hero-title .hl {
	background: linear-gradient(transparent 62%, var(--cb-lemon) 62% 94%, transparent 94%);
	border-radius: 4px;
	padding: 0 2px;
}

.hero-squig {
	margin: 4px 0 16px;
}

.hero-lead {
	font-size: 17px;
	color: var(--cb-ink-soft);
	max-width: 34em;
	margin-bottom: 26px;
}

.hero-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 26px;
}

.hero-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 5px 14px;
	border-radius: 999px;
	border: 2px solid var(--edge, var(--cb-mint));
	background: var(--soft, var(--cb-mint-soft));
	font-size: 13px;
	font-weight: 700;
}

.chip .ic {
	width: 15px;
	height: 15px;
	color: var(--deep, var(--cb-mint-deep));
}

/* ==========================================================================
   8. 统计条
   ========================================================================== */
.stats {
	padding: 30px 0 10px;
}

.stat-grid {
	gap: 20px;
}

.stat {
	grid-column: span 3;
	text-align: center;
	padding: 18px 10px;
}

.stat-num {
	font-size: 40px;
	font-weight: 700;
	line-height: 1.1;
	color: var(--deep, var(--cb-coral-deep));
}

.stat .squig-sm {
	margin: 6px auto 8px;
}

.stat-label {
	font-size: 14px;
	color: var(--cb-ink-soft);
}

/* ==========================================================================
   9. 彩贝产品:四卡轮换四色
   ========================================================================== */
.product-grid {
	gap: 30px;
}

.product-card {
	grid-column: span 3;
	display: flex;
	flex-direction: column;
	padding: 20px 20px 24px;
}

.product-card .mini-tower {
	width: 78%;
	max-width: 180px;
	height: auto;
	margin: 4px auto 10px;
}

.product-model {
	display: inline-flex;
	align-self: flex-start;
	padding: 3px 12px;
	border-radius: 999px;
	background: var(--soft);
	border: 2px solid var(--edge);
	color: var(--deep);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.04em;
	margin-bottom: 10px;
}

.product-title {
	font-size: 19px;
	margin-bottom: 6px;
}

.product-title a {
	color: var(--cb-ink);
}

.product-title a:hover {
	color: var(--deep);
}

.product-desc {
	font-size: 14px;
	color: var(--cb-ink-soft);
	margin-bottom: 14px;
	flex: 1 1 auto;
}

.product-meta {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
	font-size: 13px;
	display: grid;
	gap: 5px;
}

.product-meta li {
	display: flex;
	gap: 8px;
	align-items: baseline;
}

.product-meta b {
	color: var(--deep);
	font-weight: 700;
	flex: 0 0 auto;
}

.product-card .btn {
	align-self: flex-start;
	padding: 8px 20px;
	font-size: 14px;
}

.section-foot {
	margin-top: 36px;
	text-align: center;
}

/* ==========================================================================
   10. 净化配方:四色工艺步骤(一步一色一纹理)
   ========================================================================== */
.recipe {
	background-image: radial-gradient(var(--cb-mint-soft) 1.6px, transparent 1.7px);
	background-size: 30px 30px;
}

.step-grid {
	gap: 30px;
}

.step-card {
	grid-column: span 3;
	padding: 20px;
}

.step-tex {
	width: 100%;
	height: 52px;
	border: 2px solid var(--edge);
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 14px;
}

.step-top {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin-bottom: 6px;
}

.step-num {
	font-size: 30px;
	font-weight: 700;
	color: var(--deep);
	line-height: 1;
}

.step-en {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	color: var(--cb-ink-soft);
}

.step-name {
	font-size: 19px;
	margin-bottom: 6px;
}

.step-text {
	font-size: 14px;
	color: var(--cb-ink-soft);
	margin: 0;
}

/* ==========================================================================
   11. 美好案例
   ========================================================================== */
.case-grid {
	gap: 30px;
}

.case-card {
	grid-column: span 4;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.case-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.case-metric {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 13px;
	border-radius: 999px;
	background: var(--soft);
	border: 2px solid var(--edge);
	color: var(--deep);
	font-size: 12.5px;
	font-weight: 700;
}

.case-model {
	font-size: 12.5px;
	font-weight: 700;
	color: var(--cb-ink-soft);
	letter-spacing: 0.04em;
}

.case-place {
	font-size: 18px;
	margin: 0;
}

.case-text {
	font-size: 14px;
	color: var(--cb-ink-soft);
	margin: 0;
	flex: 1 1 auto;
}

.case-smile {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 700;
	color: var(--deep);
}

.case-smile .ic {
	width: 18px;
	height: 18px;
}

/* ==========================================================================
   12. 便签墙:客户见证(整齐网格,不旋转)
   ========================================================================== */
.notes {
	background-image: radial-gradient(var(--cb-coral-soft) 1.6px, transparent 1.7px);
	background-size: 30px 30px;
}

.note-grid {
	gap: 26px;
}

.note-card {
	grid-column: span 3;
	background: var(--soft);
	padding: 20px;
}

.note-card.pop-card::before {
	background: var(--under);
	opacity: 0.55;
}

.note-card .squig-sm {
	margin-bottom: 10px;
}

.note-text {
	font-size: 14.5px;
	margin: 0 0 14px;
}

.note-who {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--deep);
	margin: 0;
}

.note-who::before {
	content: "";
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--edge);
	flex: 0 0 auto;
}

/* ==========================================================================
   13. 硬材质(金浩丰)
   ========================================================================== */
.material-grid {
	align-items: center;
}

.material-copy {
	grid-column: 1 / span 7;
}

.material-art {
	grid-column: 9 / span 4;
	justify-self: center;
	width: 100%;
	max-width: 300px;
}

.sheets-svg {
	width: 100%;
	height: auto;
}

.material-quote {
	position: relative;
	border: 2px solid var(--cb-mint);
	border-radius: var(--cb-radius);
	background: var(--cb-paper);
	padding: 22px 24px;
	margin: 0 0 20px;
	font-size: 16.5px;
	font-weight: 700;
	line-height: 1.8;
}

.material-quote::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: var(--cb-radius);
	background: var(--cb-mint);
	transform: translate(6px, 6px);
	z-index: -1;
}

.material-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 10px;
}

.material-list li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 14.5px;
	color: var(--cb-ink-soft);
}

.material-list .ic {
	width: 18px;
	height: 18px;
	margin-top: 4px;
	flex: 0 0 auto;
}

.ic-coral { color: var(--cb-coral-deep); }
.ic-mint  { color: var(--cb-mint-deep); }
.ic-lav   { color: var(--cb-lav-deep); }
.ic-lemon { color: var(--cb-lemon-deep); }

/* ==========================================================================
   14. 彩贝小报(新闻)
   ========================================================================== */
.news-grid {
	gap: 30px;
}

.news-card {
	grid-column: span 4;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.news-date {
	display: inline-flex;
	align-self: flex-start;
	padding: 3px 12px;
	border-radius: 999px;
	background: var(--soft);
	border: 2px solid var(--edge);
	color: var(--deep);
	font-size: 12.5px;
	font-weight: 700;
}

.news-title {
	font-size: 18px;
	margin: 0;
}

.news-title a {
	color: var(--cb-ink);
}

.news-title a:hover {
	color: var(--deep);
}

.news-text {
	font-size: 14px;
	color: var(--cb-ink-soft);
	margin: 0;
	flex: 1 1 auto;
}

.news-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--deep);
}

.news-more .ic {
	width: 16px;
	height: 16px;
}

/* ==========================================================================
   15. 来聊聊呀(联系)
   ========================================================================== */
.contact-card {
	padding: 0;
	overflow: hidden;
	--edge: var(--cb-lav);
	--under: var(--cb-lav);
}

.contact-strip {
	height: 8px;
	background: linear-gradient(90deg, var(--cb-coral) 0 25%, var(--cb-mint) 25% 50%, var(--cb-lav) 50% 75%, var(--cb-lemon) 75% 100%);
}

.contact-body {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 32px;
	padding: 34px 36px;
}

.contact-title {
	font-size: 26px;
	margin-bottom: 8px;
}

.contact-lead {
	color: var(--cb-ink-soft);
	font-size: 15px;
}

.contact-rows {
	list-style: none;
	margin: 18px 0 0;
	padding: 0;
	display: grid;
	gap: 12px;
}

.contact-rows li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 15px;
}

.contact-rows .ic {
	width: 20px;
	height: 20px;
	margin-top: 3px;
	flex: 0 0 auto;
}

.contact-side {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 14px;
	border-left: 2px dashed var(--cb-line);
	padding-left: 32px;
}

.contact-side .btn {
	justify-content: center;
}

.contact-note {
	font-size: 13px;
	color: var(--cb-ink-soft);
	margin: 0;
	text-align: center;
}

/* ==========================================================================
   16. 页脚
   ========================================================================== */
.site-footer {
	margin-top: 72px;
	background: #faf8fd;
	border-top: 2px solid var(--cb-line);
}

.footer-squiggle {
	display: flex;
	justify-content: center;
	padding: 26px 24px 0;
}

.footer-grid {
	padding: 34px 0 26px;
	gap: 32px;
}

.footer-col {
	grid-column: span 3;
}

.footer-col-brand {
	grid-column: span 4;
}

.footer-col-note {
	grid-column: span 2;
}

.footer-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
}

.footer-brand .mark-svg {
	width: 38px;
	height: 34px;
}

.footer-brand b {
	font-size: 17px;
}

.footer-slogan {
	font-size: 14px;
	color: var(--cb-ink-soft);
	margin-bottom: 12px;
}

.footer-supplier {
	font-size: 13px;
	color: var(--cb-ink-soft);
	border-left: 3px solid var(--cb-mint);
	padding-left: 12px;
	margin: 0;
}

.footer-title {
	font-size: 15px;
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.footer-title::before {
	content: "";
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--cb-coral);
}

.footer-col:nth-of-type(3) .footer-title::before { background: var(--cb-mint); }
.footer-col-note .footer-title::before { background: var(--cb-lemon); }

.footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
	font-size: 14px;
}

.footer-menu a {
	color: var(--cb-ink-soft);
}

.footer-menu a:hover {
	color: var(--cb-coral-deep);
}

.footer-contact {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 9px;
	font-size: 13.5px;
	color: var(--cb-ink-soft);
}

.footer-contact li {
	display: flex;
	gap: 9px;
	align-items: flex-start;
}

.footer-contact .ic {
	width: 16px;
	height: 16px;
	margin-top: 4px;
	flex: 0 0 auto;
}

.footer-note {
	font-size: 13px;
	color: var(--cb-ink-soft);
	margin: 0;
}

.colophon {
	border-top: 2px solid var(--cb-line);
	padding: 16px 0;
}

.colophon-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px;
	font-size: 12.5px;
	color: var(--cb-ink-soft);
}

/* ==========================================================================
   17. 内页通用(小报列表 / 归档 / 正文)
   ========================================================================== */
.page-hero {
	padding: 56px 0 40px;
	text-align: center;
	background-image: radial-gradient(var(--cb-lemon-soft) 1.6px, transparent 1.7px);
	background-size: 30px 30px;
}

.page-hero-title {
	font-size: 36px;
	margin-bottom: 8px;
}

.page-hero-sub {
	color: var(--cb-ink-soft);
	margin: 0 auto;
	max-width: 620px;
}

.page-hero .squig-sm {
	margin: 14px auto 0;
}

.content-area {
	padding: 52px 0 24px;
}

.content-grid {
	align-items: start;
}

.posts-col {
	grid-column: 1 / span 8;
	display: grid;
	gap: 30px;
}

.sidebar-col {
	grid-column: 9 / span 4;
	display: grid;
	gap: 26px;
}

.full-col {
	grid-column: 1 / span 12;
}

.post-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.post-card .entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--deep);
}

.post-card .entry-title {
	font-size: 22px;
	margin: 0;
}

.post-card .entry-title a {
	color: var(--cb-ink);
}

.post-card .entry-title a:hover {
	color: var(--deep);
}

.post-thumb img {
	border-radius: 12px;
	border: 2px solid var(--edge);
	width: 100%;
	object-fit: cover;
}

.entry-excerpt {
	color: var(--cb-ink-soft);
	font-size: 14.5px;
	margin: 0;
}

/* 正文排版 */
.entry-content {
	font-size: 16px;
}

.entry-content h2 {
	font-size: 26px;
	margin-top: 1.4em;
	padding-left: 14px;
	border-left: 5px solid var(--cb-coral);
	border-radius: 2px;
}

.entry-content h3 {
	font-size: 21px;
	margin-top: 1.2em;
}

.entry-content blockquote {
	margin: 1.4em 0;
	padding: 18px 22px;
	border: 2px solid var(--cb-lav);
	border-radius: var(--cb-radius);
	background: var(--cb-lav-soft);
	font-weight: 700;
}

.entry-content blockquote p:last-child {
	margin-bottom: 0;
}

.entry-content code {
	background: var(--cb-lemon-soft);
	padding: 2px 7px;
	border-radius: 6px;
	font-size: 0.92em;
}

.entry-content pre {
	background: #f6f3fb;
	border: 2px solid var(--cb-line);
	border-radius: 12px;
	padding: 16px 18px;
	overflow: auto;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.2em 0;
}

.entry-content th,
.entry-content td {
	border: 2px solid var(--cb-line);
	padding: 9px 13px;
	text-align: left;
	font-size: 14.5px;
}

.entry-content th {
	background: var(--cb-mint-soft);
}

.entry-content a {
	border-bottom: 2px solid var(--cb-lemon);
}

.entry-content img {
	border-radius: 12px;
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text,
.gallery-caption {
	font-size: 13px;
	color: var(--cb-ink-soft);
	text-align: center;
}

.alignleft {
	float: left;
	margin: 4px 20px 12px 0;
}

.alignright {
	float: right;
	margin: 4px 0 12px 20px;
}

.aligncenter {
	display: block;
	margin: 12px auto;
}

.sticky .entry-title::after {
	content: "★";
	color: var(--cb-lemon-deep);
	margin-left: 8px;
	font-size: 0.8em;
}

.bypostauthor {
	outline: none;
}

/* 单篇 */
.single-header {
	max-width: 760px;
	margin: 0 auto 30px;
	text-align: center;
}

.single-header .entry-meta {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 14px;
}

.single-title {
	font-size: 34px;
}

.single-body {
	max-width: 760px;
	margin: 0 auto;
}

.entry-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 26px 0;
}

.entry-tags a {
	display: inline-block;
	padding: 3px 13px;
	border-radius: 999px;
	border: 2px solid var(--cb-mint);
	background: var(--cb-paper);
	font-size: 12.5px;
	font-weight: 700;
	color: var(--cb-mint-deep);
}

.entry-tags a:hover {
	background: var(--cb-mint-soft);
}

.post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin: 40px 0 10px;
}

.post-nav a {
	display: block;
	padding: 16px 18px;
	border: 2px solid var(--cb-coral);
	border-radius: var(--cb-radius);
	background: var(--cb-paper);
	color: var(--cb-ink);
	font-size: 14px;
}

.post-nav a:hover {
	background: var(--cb-coral-soft);
}

.post-nav .nav-label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	color: var(--cb-coral-deep);
	margin-bottom: 4px;
}

.post-nav .nav-next {
	text-align: right;
}

/* 分页 */
.pagination {
	margin: 44px 0 10px;
	text-align: center;
}

.pagination .nav-links {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 14px;
	border: 2px solid var(--cb-lav);
	border-radius: 999px;
	background: var(--cb-paper);
	color: var(--cb-ink);
	font-weight: 700;
	font-size: 14px;
}

.pagination .page-numbers.current {
	background: var(--cb-lav);
	color: var(--cb-ink);
}

.pagination .page-numbers:hover {
	background: var(--cb-lav-soft);
}

.pagination .dots {
	border-color: transparent;
}

/* 侧栏 */
.widget {
	font-size: 14px;
}

.widget-title {
	font-size: 16px;
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.widget-title::before {
	content: "";
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--edge, var(--cb-lav));
	flex: 0 0 auto;
}

.widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
}

.widget a {
	color: var(--cb-ink-soft);
}

.widget a:hover {
	color: var(--cb-lav-deep);
}

.widget-about-text {
	color: var(--cb-ink-soft);
	margin: 0;
}

/* 评论 */
.comments-area {
	max-width: 760px;
	margin: 44px auto 0;
}

.comments-title,
.comment-reply-title {
	font-size: 20px;
}

.comment-list {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
	display: grid;
	gap: 16px;
}

.comment-list .comment-body {
	border: 2px solid var(--cb-line);
	border-radius: var(--cb-radius);
	padding: 16px 18px;
	font-size: 14.5px;
}

.comment-list .children {
	list-style: none;
	margin: 16px 0 0;
	padding-left: 24px;
	display: grid;
	gap: 16px;
}

.comment-meta {
	font-size: 13px;
	color: var(--cb-ink-soft);
	margin-bottom: 6px;
}

.comment-form label {
	display: block;
	font-size: 13.5px;
	font-weight: 700;
	margin-bottom: 5px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 11px 15px;
	border: 2px solid var(--cb-lav);
	border-radius: 14px;
	font-family: inherit;
	font-size: 14.5px;
	color: var(--cb-ink);
	background: var(--cb-paper);
}

.comment-form input:focus,
.comment-form textarea:focus {
	outline: 3px solid var(--cb-lav-soft);
	border-color: var(--cb-lav-deep);
}

.comment-form .submit {
	padding: 11px 28px;
	border-radius: 999px;
	border: 2px solid var(--cb-coral);
	background: var(--cb-paper);
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	color: var(--cb-ink);
	cursor: pointer;
}

.comment-form .submit:hover {
	background: var(--cb-coral);
}

/* ==========================================================================
   18. 搜索
   ========================================================================== */
.search-form {
	display: flex;
	gap: 10px;
	align-items: stretch;
	max-width: 520px;
}

.search-form .search-field {
	flex: 1 1 auto;
	min-width: 0;
	padding: 11px 20px;
	border: 2px solid var(--cb-mint);
	border-radius: 999px;
	font-family: inherit;
	font-size: 14.5px;
	color: var(--cb-ink);
	background: var(--cb-paper);
}

.search-form .search-field:focus {
	outline: 3px solid var(--cb-mint-soft);
	border-color: var(--cb-mint-deep);
}

.search-form .search-submit {
	flex: 0 0 auto;
	padding: 0 24px;
	border: 2px solid var(--cb-coral);
	border-radius: 999px;
	background: var(--cb-paper);
	font-family: inherit;
	font-size: 14.5px;
	font-weight: 700;
	color: var(--cb-ink);
	cursor: pointer;
}

.search-form .search-submit:hover {
	background: var(--cb-coral);
}

.search-empty {
	max-width: 560px;
	margin: 0 auto;
	text-align: center;
}

.search-empty .search-form {
	margin: 20px auto 0;
}

/* ==========================================================================
   19. 404
   ========================================================================== */
.p404 {
	padding: 84px 0;
	text-align: center;
}

.p404-shapes {
	display: flex;
	justify-content: center;
	gap: 26px;
	margin-bottom: 20px;
}

.p404-shapes .cb-shape {
	width: 56px;
	height: 56px;
}

.p404-code {
	font-size: 76px;
	line-height: 1;
	margin-bottom: 8px;
}

.p404-text {
	color: var(--cb-ink-soft);
	max-width: 460px;
	margin: 0 auto 22px;
}

.p404 .search-form {
	margin: 0 auto 22px;
}

.p404-actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 14px;
}

/* ==========================================================================
   20. 产品单页
   ========================================================================== */
.product-hero {
	padding: 56px 0 24px;
}

.product-hero-grid {
	align-items: center;
}

.product-hero-art {
	grid-column: 1 / span 5;
	max-width: 320px;
	width: 100%;
	justify-self: center;
}

.product-hero-art .mini-tower {
	width: 100%;
	height: auto;
}

.product-hero-copy {
	grid-column: 6 / span 7;
}

.product-hero-copy .hero-chips {
	margin-top: 18px;
}

.product-hero-title {
	font-size: 34px;
	margin-bottom: 10px;
}

.product-hero-lead {
	color: var(--cb-ink-soft);
	margin: 0;
}

.spec-block {
	margin: 40px 0;
}

.spec-title {
	font-size: 22px;
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
}

.spec-title .cb-shape {
	width: 22px;
	height: 22px;
}

.spec-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border: 2px solid var(--cb-lav);
	border-radius: var(--cb-radius);
	overflow: hidden;
	font-size: 14.5px;
}

.spec-table th,
.spec-table td {
	padding: 12px 18px;
	text-align: left;
	border-bottom: 2px solid var(--cb-line);
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
	border-bottom: 0;
}

.spec-table th {
	width: 32%;
	background: var(--cb-lav-soft);
	font-weight: 700;
	border-right: 2px solid var(--cb-line);
}

.spec-table tr:nth-child(4n+1) th { color: var(--cb-coral-deep); }
.spec-table tr:nth-child(4n+2) th { color: var(--cb-mint-deep); }
.spec-table tr:nth-child(4n+3) th { color: var(--cb-lav-deep); }
.spec-table tr:nth-child(4n+0) th { color: var(--cb-lemon-deep); }

.inquiry-band {
	margin: 44px 0 10px;
	padding: 30px 34px;
	text-align: center;
	--edge: var(--cb-coral);
	--under: var(--cb-coral);
}

.inquiry-title {
	font-size: 24px;
	margin-bottom: 6px;
}

.inquiry-text {
	color: var(--cb-ink-soft);
	margin-bottom: 18px;
}

.inquiry-actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 14px;
}

.back-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	font-size: 14px;
	margin-top: 8px;
}

/* ==========================================================================
   21. 入场动效(.reveal)与降级
   ========================================================================== */
.reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.in {
	opacity: 1;
	transform: none;
}

.no-js .reveal {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	.reveal,
	.pop-card,
	.pop-card::before,
	.btn {
		transition: none !important;
	}
	.reveal {
		opacity: 1;
		transform: none;
	}
	.btn:hover {
		transform: none;
	}
	.pop-card:hover::before {
		transform: translate(6px, 6px);
	}
}

/* ==========================================================================
   22. 响应式
   ========================================================================== */
@media (max-width: 1024px) {
	.hero-title {
		font-size: 40px;
	}
	.hero-copy {
		grid-column: 1 / span 12;
		text-align: center;
	}
	.hero-copy .hero-lead {
		margin-left: auto;
		margin-right: auto;
	}
	.hero-cta,
	.hero-chips {
		justify-content: center;
	}
	.hero-squig {
		display: flex;
		justify-content: center;
	}
	.hero-art {
		grid-column: 3 / span 8;
		margin-top: 26px;
	}
	.product-card,
	.step-card {
		grid-column: span 6;
	}
	.case-card,
	.news-card {
		grid-column: span 6;
	}
	.note-card {
		grid-column: span 6;
	}
	.stat {
		grid-column: span 6;
	}
	.material-copy {
		grid-column: 1 / span 12;
	}
	.material-art {
		grid-column: 4 / span 6;
	}
	.posts-col,
	.sidebar-col {
		grid-column: 1 / span 12;
	}
	.product-hero-art {
		grid-column: 3 / span 8;
	}
	.product-hero-copy {
		grid-column: 1 / span 12;
		text-align: center;
		margin-top: 14px;
	}
	.product-hero-copy .hero-chips {
		justify-content: center;
	}
	.footer-col-brand,
	.footer-col,
	.footer-col-note {
		grid-column: span 6;
	}
}

@media (max-width: 768px) {
	.section {
		padding: 52px 0;
	}
	.sec-title {
		font-size: 27px;
	}
	.hero-grid {
		padding: 48px 0 44px;
	}
	.hero-title {
		font-size: 32px;
	}
	.nav-toggle {
		display: flex;
	}
	.main-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--cb-paper);
		border-bottom: 2px solid var(--cb-lav);
		display: none;
	}
	.nav-open .main-nav {
		display: block;
	}
	.main-nav .nav-list {
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
		padding: 14px 24px 20px;
	}
	.main-nav a {
		display: block;
		padding: 11px 18px;
	}
	.contact-body {
		grid-template-columns: 1fr;
		padding: 26px 22px;
	}
	.contact-side {
		border-left: 0;
		border-top: 2px dashed var(--cb-line);
		padding-left: 0;
		padding-top: 22px;
	}
	.post-nav {
		grid-template-columns: 1fr;
	}
	.deco-l,
	.deco-r {
		display: none;
	}
	.case-card,
	.news-card {
		grid-column: span 12;
	}
}

@media (max-width: 560px) {
	.wrap {
		padding: 0 18px;
	}
	.product-card,
	.step-card,
	.note-card,
	.stat {
		grid-column: span 12;
	}
	.hero-art {
		grid-column: 1 / span 12;
	}
	.material-art {
		grid-column: 2 / span 10;
	}
	.footer-col-brand,
	.footer-col,
	.footer-col-note {
		grid-column: span 12;
	}
	.page-hero-title {
		font-size: 28px;
	}
	.single-title {
		font-size: 26px;
	}
	.p404-code {
		font-size: 58px;
	}
	.product-hero-art {
		grid-column: 1 / span 12;
	}
	.search-form {
		flex-direction: column;
	}
	.search-form .search-submit {
		padding: 11px 24px;
	}
}
