@charset "utf-8";
/* CSS Document */

   :root {
--primary: #1a6b4a;
--primary-light: #e8f5ee;
--primary-dark: #0f4a32;
--accent: #f59e0b;
--bg: #f8faf9;
--card-bg: #ffffff;
--text: #1f2937;
--text-secondary: #6b7280;
--border: #e5e7eb;
}


/* 顶部固定导航栏 */
.top-nav {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 1000;
background: var(--primary-dark);
padding: 0;
box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.top-nav-inner {
max-width: 1200px;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px 20px;}

.top-nav .logo {
color: #fff;
font-size: 18px;
font-weight: 700;
text-decoration: none;
white-space: nowrap;
}

.top-nav .logo span {
color: var(--accent);
}

.top-nav-links {
display: flex;
gap: 6px;
flex-wrap: wrap;
justify-content: flex-end;
}

.top-nav-links a {
color: rgba(255,255,255,0.85);
text-decoration: none;
font-size: 13px;
padding: 4px 10px;
border-radius: 4px;
transition: all 0.2s;
white-space: nowrap;
}

.top-nav-links a:hover,
.top-nav-links a.active {
background: rgba(255,255,255,0.15);
color: #fff;
}

/* Hero区域 */
.hero {
background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #2d8f63 100%);
color: #fff;
padding: 60px 20px;
text-align: center;
position: relative;
overflow: hidden;
}

.hero::before {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.05) 0%, transparent 50%);
pointer-events: none;
}

.hero-content {
position: relative;
z-index: 1;
max-width: 800px;
margin: 0 auto;
}

.breadcrumb {
font-size: 14px;
/*margin-bottom: 24px;*/
opacity: 0.85;
}

.breadcrumb a {
/*color: rgba(255,255,255,0.9);*/
text-decoration: none;
}

.breadcrumb a:hover {
text-decoration: underline;
}

.breadcrumb span {
margin: 0 8px;
opacity: 0.6;
}

.hero h1 {
font-size: 48px;
font-weight: 700;
margin-bottom: 16px;
letter-spacing: 2px;
}

.hero .subtitle {
font-size: 22px;
font-weight: 300;
opacity: 0.95;
margin-bottom: 12px;
}

.hero .hero-desc {
font-size: 15px;
opacity: 0.8;
max-width: 600px;
margin: 0 auto;
line-height: 1.7;
}

/* 通用容器 */
.container-newcolumn {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}

/* 板块标题 */
.section {
padding: 60px 0;
}

.section-title {
font-size: 32px;
font-weight: 700;
color: var(--primary-dark);
text-align: center;
margin-bottom: 12px;
position: relative;
}

.section-title::after {
content: '';
display: block;
width: 60px;
height: 4px;
background: var(--accent);
margin: 12px auto 0;
border-radius: 2px;
}

.section-subtitle {
text-align: center;
color: var(--text-secondary);
font-size: 16px;
margin-bottom: 40px;
max-width: 700px;
margin-left: auto;
margin-right: auto;
}

/* 卡片样式 */
.card {
background: var(--card-bg);
border-radius: 12px;
box-shadow: 0 2px 12px rgba(0,0,0,0.06);
padding: 32px;
margin-bottom: 24px;
border: 1px solid var(--border);
transition: box-shadow 0.3s;
}

.card:hover {
box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.card h3 {
font-size: 20px;
font-weight: 600;
color: var(--primary-dark);
margin-bottom: 16px;
}

.card h4 {
font-size: 17px;
font-weight: 600;
color: var(--primary);
margin-bottom: 10px;
margin-top: 20px;
}

/* 四步法 */
.steps-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 24px;
}

.step-card {
background: var(--card-bg);
border-radius: 12px;
box-shadow: 0 2px 12px rgba(0,0,0,0.06);
padding: 32px;
border: 1px solid var(--border);
border-top: 4px solid var(--primary);
transition: box-shadow 0.3s, transform 0.2s;
position: relative;
}

.step-card:hover {
box-shadow: 0 6px 24px rgba(0,0,0,0.12);
transform: translateY(-2px);
}

.step-number {
display: inline-flex;
align-items: center;
justify-content: center;
width: 48px;
height: 48px;
background: var(--primary);
color: #fff;
border-radius: 50%;
font-size: 22px;
font-weight: 700;
margin-bottom: 16px;
}

.step-card h3 {
font-size: 22px;
font-weight: 700;
color: var(--primary-dark);
margin-bottom: 16px;
}

.step-card p {
color: var(--text);
margin-bottom: 12px;
line-height: 1.8;
}

.step-card ul {
padding-left: 20px;
margin-bottom: 12px;
}

.step-card ul li {
margin-bottom: 8px;
line-height: 1.7;
color: var(--text);
}

.highlight-box {
background: var(--primary-light);
border-left: 4px solid var(--primary);
padding: 14px 18px;
border-radius: 0 8px 8px 0;
margin: 14px 0;
font-size: 14px;
color: var(--primary-dark);
}

.highlight-box strong {
color: var(--primary-dark);
}

.accent-box {
background: #fffbeb;
border-left: 4px solid var(--accent);
padding: 14px 18px;
border-radius: 0 8px 8px 0;
margin: 14px 0;
font-size: 14px;
}

/* 表格样式 */
.table-wrapper {
overflow-x: auto;
margin: 20px 0;
border-radius: 12px;
box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

table {
width: 100%;
border-collapse: collapse;
background: var(--card-bg);
font-size: 14px;
}

table thead th {
background: var(--primary);
color: #fff;
padding: 14px 16px;
text-align: left;
font-weight: 600;
white-space: nowrap;
}

table tbody td {
padding: 12px 16px;
border-bottom: 1px solid var(--border);
vertical-align: top;
line-height: 1.7;
}

table tbody tr:last-child td {
border-bottom: none;
}

table tbody tr:hover {
background: var(--primary-light);
}

table tbody td:first-child {
font-weight: 600;
color: var(--primary-dark);
white-space: nowrap;
}

/* 误区样式 */
.mistake-card {
background: var(--card-bg);
border-radius: 12px;
box-shadow: 0 2px 12px rgba(0,0,0,0.06);
padding: 24px 28px;
margin-bottom: 16px;
border: 1px solid var(--border);
border-left: 5px solid #ef4444;
}

.mistake-card .mistake-title {
font-size: 17px;
font-weight: 600;
color: #dc2626;
margin-bottom: 8px;
}

.mistake-card .mistake-title .wrong {
display: inline-block;
background: #fef2f2;
color: #dc2626;
padding: 2px 8px;
border-radius: 4px;
font-size: 13px;
margin-left: 8px;
}

.mistake-card .mistake-truth {
color: var(--text);
line-height: 1.8;
}

.mistake-card .mistake-truth strong {
color: var(--primary);
}

/* 数据来源 */
.source-list {
list-style: none;
padding: 0;
}

.source-list li {
padding: 12px 0;
border-bottom: 1px solid var(--border);
display: flex;
align-items: flex-start;
gap: 12px;
}

.source-list li:last-child {
border-bottom: none;
}

.source-icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
background: var(--primary-light);
color: var(--primary);
border-radius: 50%;
font-size: 14px;
font-weight: 700;
flex-shrink: 0;
}

.source-text {
flex: 1;
}

.source-text strong {
display: block;
color: var(--primary-dark);
margin-bottom: 4px;
}

.source-text span {
font-size: 14px;
color: var(--text-secondary);
line-height: 1.6;
}



/* FAQ */
.faq-item {
background: var(--card-bg);
border-radius: 12px;
box-shadow: 0 2px 12px rgba(0,0,0,0.06);
margin-bottom: 12px;
border: 1px solid var(--border);
overflow: hidden;
}

.faq-question {
padding: 18px 24px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: space-between;
font-weight: 600;
color: var(--primary-dark);
font-size: 15px;
transition: background 0.2s;
}

.faq-question:hover {
background: var(--primary-light);
}

.faq-question .q-icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
background: var(--primary);
color: #fff;
border-radius: 50%;
font-size: 14px;
font-weight: 700;
margin-right: 14px;
flex-shrink: 0;
}

.faq-question .q-text {
flex: 1;
}

.faq-question .arrow {
font-size: 18px;
transition: transform 0.3s;
color: var(--text-secondary);
}

.faq-item.open .faq-question .arrow {
transform: rotate(180deg);
}

.faq-answer {
padding: 0 24px;
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease, padding 0.3s ease;
color: var(--text);
line-height: 1.8;
font-size: 15px;
}

.faq-item.open .faq-answer {
padding: 0 24px 20px;
max-height: 500px;
}


/* 指标小标签 */
.tag {
display: inline-block;
padding: 3px 10px;
border-radius: 4px;
font-size: 12px;
font-weight: 600;
}

.tag-green {
background: var(--primary-light);
color: var(--primary);
}

.tag-amber {
background: #fef3c7;
color: #92400e;
}

.tag-red {
background: #fef2f2;
color: #dc2626;
}

/* 奶源地对比小表格 */
.compact-table {
font-size: 13px;
}

.compact-table td,
.compact-table th {
padding: 8px 12px !important;
}

/* 需求表格 */
.need-table td:first-child {
white-space: normal;
min-width: 90px;
}

/* 响应式 */
@media (max-width: 900px) {
.steps-grid {
grid-template-columns: 1fr;
}

.topic-grid {
grid-template-columns: repeat(2, 1fr);
}

.hero h1 {
font-size: 32px;
}

.hero .subtitle {
font-size: 18px;
}

.section-title {
font-size: 26px;
}

.top-nav-links {
display: none;
}
}

@media (max-width: 600px) {
.topic-grid {
grid-template-columns: 1fr;
}

.hero h1 {
font-size: 26px;
}

.hero .subtitle {
font-size: 16px;
}

.section-title {font-size: 22px;}

.card, .step-card, .mistake-card {
padding: 20px;
}

.hero {padding: 80px 16px 40px;}
}

/* 目录侧边 */
.toc {
background: var(--card-bg);
border-radius: 12px;
box-shadow: 0 2px 12px rgba(0,0,0,0.06);
padding: 24px;
margin-bottom: 32px;
border: 1px solid var(--border);
}

.toc h3 {
font-size: 18px;
font-weight: 600;
color: var(--primary-dark);
margin-bottom: 14px;
}

.toc-list {
list-style: none;
padding: 0;
display: flex;
flex-wrap: wrap;
gap: 8px 16px;
}

.toc-list li a {
color: var(--primary);
text-decoration: none;
font-size: 14px;
padding: 4px 0;
border-bottom: 1px dashed var(--primary);
transition: opacity 0.2s;
}

.toc-list li a:hover {
opacity: 0.7;
}