/* =========================================
          3. 页面主体内容
          ========================================= */
.page-wrapper { padding-top: 70px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Hero */
.archive-hero {
    background: linear-gradient(135deg, #2E5D42, #1A3A59);
    height: 450px; color: white; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
    position: relative; overflow: hidden;
}
.hero-tag { background: var(--accent-gold); color: var(--primary-blue); padding: 4px 12px; border-radius: 20px; font-weight: bold; font-size: 0.8rem; text-transform: uppercase; margin-bottom: 20px; letter-spacing: 2px; }
.archive-hero h1 { font-family: "Times New Roman", serif; font-size: 3rem; margin-bottom: 15px; font-weight: bold; }
.archive-hero p { font-size: 1.1rem; max-width: 700px; opacity: 0.9; }

/* 通用标题 */
.section-head { text-align: center; margin-bottom: 60px; }
.section-title { font-size: 2.2rem; color: var(--primary-blue); margin-bottom: 10px; font-weight: bold; font-family: "Times New Roman", serif; }
.section-sub { color: #666; font-size: 1rem; letter-spacing: 1px; text-transform: uppercase; }

/* 通用：板块底部“查看更多”按钮 */
.section-more-container {
    text-align: center;
    margin-top: 50px;
}
.section-more-btn {
    display: inline-block;
    padding: 10px 30px;
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 25px;
    color: #666;
    font-size: 0.9rem;
    font-weight: bold;
    transition: all 0.3s ease;
    text-decoration: none;
}
.section-more-btn:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
    background-color: rgba(61, 125, 86, 0.05);
    transform: translateY(-2px);
}

/* --- 板块 1：名师风采 (人物聚焦) --- */
.masters-section { padding: 80px 20px; background: white; text-align: center; }
.masters-grid { display: flex; justify-content: center; gap: 50px; margin-top: 40px; flex-wrap: wrap; }

.master-item { width: 160px; text-align: center; cursor: pointer; transition: 0.3s; }
.master-item:hover { transform: translateY(-5px); }
.master-avatar {
    width: 120px; height: 120px; border-radius: 50%; border: 4px solid #f0f0f0; padding: 3px;
    margin: 0 auto 15px; object-fit: cover; transition: 0.3s;
}
.master-item:hover .master-avatar { border-color: var(--primary-green); }

.master-name { font-weight: bold; color: var(--primary-blue); display: block; font-size: 1.1rem; margin-bottom: 5px; }
.master-role { font-size: 0.75rem; color: white; background: var(--primary-green); padding: 2px 8px; border-radius: 10px; display: inline-block; }

/* --- 板块 2：人物采访专辑 (Interview Section) --- */
.interview-section { background: #F4F6F8; padding: 80px 20px; }

/* 顶部的大焦点故事 Box */
.interview-box {
    max-width: 1200px; margin: 0 auto; display: flex; gap: 0;
    background: white; border-radius: 10px; overflow: hidden; border: 1px solid #eee; box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.interview-cover { width: 45%; background: #ddd; position: relative; background-size: cover; background-position: center; min-height: 400px; }
.interview-cover::after { content:'FEATURED STORY'; position: absolute; top: 30px; left: 30px; background: var(--accent-gold); color: var(--primary-blue); padding: 5px 12px; font-size: 0.8rem; font-weight: bold; }

.interview-content { width: 55%; padding: 60px; display: flex; flex-direction: column; justify-content: center; }
.int-tag { color: var(--primary-green); font-weight: bold; font-size: 0.9rem; margin-bottom: 10px; display: block; letter-spacing: 1px; }
.int-title { font-size: 2.2rem; margin-bottom: 20px; font-weight: bold; color: var(--primary-blue); line-height: 1.2; font-family: "Times New Roman", serif; }
.int-desc { color: #555; margin-bottom: 30px; line-height: 1.8; font-size: 1rem; }
.btn-read {
    padding: 12px 30px; border: 1px solid var(--primary-blue); border-radius: 30px;
    color: var(--primary-blue); font-weight: bold; text-decoration: none; display: inline-block; width: fit-content; transition: 0.3s;
}
.btn-read:hover { background: var(--primary-blue); color: white; }

/* --- 深度访谈图文列表 (Interview List Styles) --- */
.interview-list-container { max-width: 1200px; margin: 50px auto 0; }
.list-header {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-blue);
    margin-bottom: 25px;
    border-left: 5px solid var(--primary-green);
    padding-left: 15px;
    font-family: "Microsoft YaHei", sans-serif;
}
.interview-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.int-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}
.int-card:hover { transform: translateY(-5px); box-shadow: 0 15px 25px rgba(0,0,0,0.1); border-color: var(--primary-green); }

.int-card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #eee;
    position: relative;
}
.int-card-body { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.int-card-tag {
    font-size: 0.75rem;
    color: var(--accent-gold);
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}
.int-card-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary-blue);
    margin-bottom: 10px;
    line-height: 1.4;
}
.int-card-link {
    color: #666;
    font-size: 0.9rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: auto;
    font-weight: bold;
}
.int-card-link:hover { color: var(--primary-green); }

/* --- 行业推广与认证体系展示板块 (Cert Display) --- */
.cert-display-section {
    padding: 80px 20px;
    background: white;
    border-bottom: 1px solid #eee;
}
.cert-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 40px auto 0;
}
.cert-display-card {
    display: flex;
    background: #FAFBFC;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    align-items: center;
    transition: 0.3s;
}
.cert-display-card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: var(--primary-green);
}
.cert-img-box {
    width: 45%;
    overflow: hidden;
    position: relative;
    background: #f0f0f0;
}
.cert-img {
    width: 100%;
    /*height: 100%;*/
    object-fit: cover;
    transition: 0.5s;
}
.cert-display-card:hover .cert-img {
    transform: scale(1.05);
}
.cert-info {
    width: 55%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.cert-display-title {
    font-size: 1.4rem;
    color: var(--primary-blue);
    font-weight: bold;
    margin-bottom: 15px;
    font-family: "Times New Roman", serif;
}
.cert-display-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 0;
}


/* --- 板块 3：档案馆列表 (Merged Grid) --- */
.archive-main { padding: 80px 20px; background: #FAFBFC; } /* 稍微区分背景色 */

/* 筛选 Tab */
.filter-section { text-align: center; margin-bottom: 50px; }
.filter-tabs { display: inline-flex; background: #E9ECEF; padding: 5px; border-radius: 30px; }
.filter-tab {
    padding: 10px 30px; border-radius: 25px; cursor: pointer; font-weight: bold; color: #666; transition: 0.3s; font-size: 0.9rem;
}
.filter-tab:hover { color: var(--primary-blue); }
.filter-tab.active { background: white; color: var(--primary-green); box-shadow: 0 2px 8px rgba(0,0,0,0.1); }

/* 卡片网格 */
.archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1200px; margin: 0 auto; }

.archive-card {
    background: white; border-radius: 10px; overflow: hidden; border: 1px solid #eee; transition: 0.3s;
    display: flex; flex-direction: column; position: relative;
}
.archive-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); border-color: var(--primary-green); }
.archive-card.hidden { display: none; }
.fade-in { animation: fadeIn 0.5s ease-in-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* 卡片头部 */
.card-header-img {
    height: 200px; background: #eee; display: flex; align-items: flex-end; justify-content: space-between;
    padding: 15px; position: relative; background-size: cover; background-position: center;
}
.card-avatar {
    width: 50px; height: 50px; border-radius: 50%; border: 2px solid white;
    background: #ccc; margin-bottom: -10px; z-index: 2; object-fit: cover;
}
.card-badge {
    position: absolute; top: 15px; left: 15px; font-size: 0.7rem; padding: 4px 10px;
    border-radius: 4px; font-weight: bold; text-transform: uppercase; color: white;
}

/* 标签颜色系统 */
.badge-heritage { background: #8B4513; } /* 活态传承 */
.badge-studio { background: #4682B4; } /* 主理人技艺 */
.badge-innovation { background: var(--accent-gold); color: var(--primary-blue); } /* 创新服务 */

.card-content { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.card-title { font-size: 1.2rem; font-weight: bold; color: var(--primary-blue); margin-bottom: 5px; }
.card-sub { font-size: 0.85rem; color: var(--primary-green); margin-bottom: 10px; font-weight: bold; display: block; }
.card-desc { font-size: 0.9rem; color: #666; line-height: 1.6; margin-bottom: 20px; }
.card-link {
    margin-top: auto; color: var(--primary-blue); font-weight: bold; font-size: 0.9rem;
    text-decoration: none; display: flex; align-items: center; gap: 5px;
}
.card-link:hover { text-decoration: underline; color: var(--primary-green); }

/* 提交申请 Banner */
.submission-section { background: var(--primary-blue); padding: 60px 20px; text-align: center; color: white; }
.sub-box { max-width: 800px; margin: 0 auto; }
.sub-title { font-size: 2rem; margin-bottom: 15px; color: var(--accent-gold); font-family: "Times New Roman", serif; }
.btn-submit {
    background: var(--accent-gold); color: var(--primary-blue); padding: 12px 40px; border-radius: 30px;
    font-weight: bold; text-decoration: none; display: inline-block; margin-top: 20px; transition: 0.3s;
}
.btn-submit:hover { background: white; }
:root {
    /* 品牌色 - 更深沉、官方 */
    --primary-dark: #1F2F22;
    /* 墨绿 */
    --primary-main: #3A5F45;
    /* 艾叶绿 */
    --primary-light: #5D7A47;
    /* 草本绿 */

    --accent-gold: #C0A062;
    /* 经络金 */
    --accent-red: #8B1E1E;
    /* 宫墙红 */
    --accent-orange: #D35400;
    /* 灸火橙 */

    --bg-body: #F5F7F5;
    /* 极淡灰绿背景 */
    --bg-white: #FFFFFF;

    --text-primary: #1A1A1A;
    --text-secondary: #555555;
    --text-light: #888888;
}
/* =========================================
   9. 技法检索 (Filter Section)
   ========================================= */
.section-filter {
    background-color: #fff;
    min-height: 600px;
}

.filter-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 60px;
}

.filter-group {
   /* display: flex;*/
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.filter-label {
    font-size: 14px;
    color: #888;
    font-weight: 500;
    margin-right: 10px;
}

/* 隐藏原生 Checkbox，自定义样式 */
.filter-tag input {
    display: none;
}

.filter-tag span {
    display: inline-block;
    padding: 8px 25px;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-size: 14px;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
}

.filter-tag input:checked+span {
    background-color: var(--primary-main);
    color: #fff;
    border-color: var(--primary-main);
    box-shadow: 0 5px 15px rgba(58, 95, 69, 0.3);
}

.filter-tag span:hover {
    border-color: var(--primary-main);
    color: var(--primary-main);
}

.filter-tag input:checked+span:hover {
    color: #fff;
}

/* 网格布局 */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.tech-card {
    background: #F9FCF9;
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 4px;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
    /* 默认显示，JS控制隐藏 */
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: var(--primary-light);
}

.card-badge1 {
    font-size: 12px;
    background: #e8ede8;
    color: var(--primary-dark);
    padding: 4px 10px;
    border-radius: 2px;
    display: inline-block;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.red .card-badge1{
    background: rgba(139, 30, 30, 0.1);
    color: var(--accent-red);
}

.gold .card-badge1 {
    background: rgba(192, 160, 98, 0.1);
    color: var(--accent-gold);
}

/* 隐藏动画类 */
.hidden-card {
    display: none;
}
.section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-tag {
    color: var(--accent-gold);
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
    font-weight: 600;
}

.section-title {
    font-size: 2.8rem;
    color: var(--primary-dark);
    margin-bottom: 25px;
}

.section-line {
    width: 60px;
    height: 3px;
    background: var(--accent-orange);
    margin: 0 auto;
}

/* 无结果提示 */
.no-result {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 16px;
}
/* =========================================
  5. 响应式设计 (Mobile Adaptation)
  ========================================= */

@media (max-width: 1024px) {
    .archive-grid, .interview-list { grid-template-columns: repeat(2, 1fr); }
    .interview-box { flex-direction: column; }
    .interview-cover, .interview-content { width: 100%; }
    .interview-content { padding: 40px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .cert-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .top-bar { font-size: 0.65rem; }
    .archive-hero h1 { font-size: 2.2rem; }
    .archive-hero p { font-size: 1rem; }
    .section-title { font-size: 1.5rem; }
    .int-title { font-size: 1.5rem; }
    .filter-tabs { flex-wrap: wrap; justify-content: center; }
    .filter-tab { padding: 8px 20px; font-size: 0.8rem; }

    /* 证书板块移动端调整 */
    .cert-display-card { flex-direction: column; }
    .cert-img-box, .cert-info { width: 100%; }
    .cert-img-box { height: 200px; }
    .cert-info { padding: 20px; text-align: center; }
}

@media (max-width: 640px) {
    /* Hero区域调整 */
    .archive-hero { height: 350px; padding: 0 20px; }
    .hero-tag { font-size: 0.7rem; padding: 3px 10px; }
    .archive-hero h1 { font-size: 1.5rem; }
    .archive-hero p { font-size: 0.9rem; }

    /* 内容区域调整 */
    .masters-section, .archive-main, .interview-section, .cert-display-section { padding: 50px 15px; }
    .interview-content { padding: 30px; }
    .int-title { font-size: 1.5rem; }
    .int-desc { font-size: 0.9rem; }

    /* 网格布局调整 */
    .archive-grid, .interview-list { grid-template-columns: 1fr; gap: 20px; }
    .masters-grid { gap: 30px; }
    .master-item { width: 130px; }
    .master-avatar { width: 100px; height: 100px; }

    /* 卡片调整 */
    .card-header-img { height: 180px; }
    .card-content { padding: 20px; }
    .card-title { font-size: 1.1rem; }

    /* 底部调整 */
    .footer-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .partners-logo { flex-wrap: wrap; }
    .partner-item { margin-bottom: 10px; }

    /* 提交申请区域调整 */
    .submission-section { padding: 40px 15px; }
    .sub-title { font-size: 1.5rem; }
    .btn-submit { padding: 10px 30px; font-size: 0.9rem; }
}

/* 小屏幕手机 */
@media (max-width: 480px) {
    .archive-hero h1 { font-size: 1.5rem; }
    .section-title { font-size: 1.4rem; }
    .int-title { font-size: 1.3rem; }
    .master-item { width: 110px; }
    .master-avatar { width: 90px; height: 90px; }
    .master-name { font-size: 1rem; }
}


.partners-bar {
    border-top: 1px solid #222;
    padding-top: 40px;
    text-align: center;
}

.partner-logo {
    display: inline-block;
    margin: 0 15px;
    color: #555;
    font-weight: bold;
    font-size: 1rem;
    border: 1px solid #333;
    padding: 8px 20px;
    border-radius: 4px;
}
/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 一级菜单样式 - aijiu.org官网原版风格 */
.menu-wrap {width:100%; padding:0 12px; box-sizing:border-box;}
.level1-item {
    width:100%; height:46px; line-height:46px;
    font-size:16px; color:#555; font-weight:normal;
    padding:0 18px; margin-bottom:6px;
    background:#f3f0eb; border-radius:4px;
    cursor:pointer; transition:all 0.2s ease-in-out;
    text-align:left; border:0 none;
}
.level1-item:hover {background:#ebe6df; color:#7a5d32;}
.level1-item.active {background:#7a5d32; color:#ffffff;}

/* 二级菜单样式 - aijiu.org官网原版风格 */
.menu-level2-wrap {width:100%; padding:0 8px; box-sizing:border-box;}
.level2-item {
    width:100%; height:42px; line-height:42px;
    font-size:14px; color:#666; padding:0 18px;
    margin-bottom:4px; background:#ffffff; border-radius:4px;
    cursor:pointer; transition:all 0.2s ease-in-out;
    text-align:left; border:0 none;
}
.level2-item:hover {background:#f7f4f0; color:#7a5d32;}
.level2-item.active {background:#f7f4f0; color:#7a5d32;}

/* 内容区样式：卡片式布局，参考用户提供的样式 */
.tech-content {display:none; width:100%;}
.tech-content.active {display:block; animation:fadeIn 0.4s ease-in-out;}
@keyframes fadeIn {0%{opacity:0; transform: translateY(5px);} 100%{opacity:1; transform: translateY(0);}}

/* 卡片网格布局 */
.tech-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    width: 100%;
}

/* 卡片样式 */
.tech-card {
    background-color: #f9f6f2;
    border: 1px solid #e6e2dc;
    border-radius: 6px;
    padding: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tech-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* 卡片标题样式 */
.tech-card-title {
    color: #7a5d32;
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 8px 0;
    padding: 0;
}

/* 卡片描述样式 */
.tech-card-desc {
    color: #5c5c5c;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* 移动端菜单切换按钮 */
.mobile-menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    background: #7a5d32;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    align-items: center;
    justify-content: center;
}

/* 媒体查询 - 平板设备 */
@media (max-width: 1024px) {
    .tech-card-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }

    .tech-card {
        padding: 14px;
    }

    .tech-card-title {
        font-size: 15px;
    }

    .tech-card-desc {
        font-size: 13px;
    }
}

/* 媒体查询 - 手机设备 */
@media (max-width: 768px) {
    /* 主容器样式调整 */
    .main-container {
        margin: 10px;
        border-radius: 4px;
    }

    /* 标题区域样式调整 */
    .header-section {
        padding: 10px 15px;
    }

    .header-section h2 {
        font-size: 18px;
    }

    .header-section p {
        font-size: 12px;
    }

    /* 核心布局改为垂直排列 */
    .core-layout {
        flex-direction: column;
        min-height: auto;
    }

    /* 左侧菜单区域调整 */
    .menu-section {
        width: 100% !important;
        border-right: none !important;
        border-bottom: 1px solid #e6e2dc;
        padding: 10px 0 !important;
    }

    /* 菜单头部添加切换按钮 */
    .menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 12px;
        margin-bottom: 10px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* 菜单内容可折叠 */
    .menu-content {
        max-height: 500px;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .menu-content.collapsed {
        max-height: 0;
    }

    /* 右侧内容区域调整 */
    .content-section {
        padding: 15px 20px !important;
    }

    /* 卡片网格布局调整 */
    .tech-card-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* 卡片样式调整 */
    .tech-card {
        padding: 15px;
    }

    /* 一级菜单项样式调整 */
    .level1-item {
        height: 42px;
        line-height: 42px;
        font-size: 15px;
        padding: 0 15px;
    }

    /* 二级菜单项样式调整 */
    .level2-item {
        height: 38px;
        line-height: 38px;
        font-size: 13px;
        padding: 0 15px;
    }
}
