/* ==========================================================
   1. 全局重置 & 基础样式
========================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    overflow-x: hidden;
}
body {
    background-color: #F8F5F0;
    color: #1A1A1A;
    font: 16px/1.75 "Noto Sans SC", "Microsoft Yahei", Arial, sans-serif;
}
a {
    text-decoration: none;
    outline: none;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.3s ease;
}
a:hover {
    color: #da261d;
}
ul, ol {
    list-style: none;
}
img {
    max-width: 100%;
    display: block;
    border: none;
}
input, textarea {
    -webkit-appearance: none;
    border: 0;
    font-family: inherit;
}
input:focus {
    outline: none;
}
.clear {
    clear: both;
}
article, aside, details, figcaption, figure, footer, header, main, nav, section {
    display: block;
}
.container, .inner {
    width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

/* ==========================================================
   2. 头部 HEADER & 导航 NAV
========================================================== */
.header {
    width:100%; 
    border-top:5px solid #8B0000; 
    border-bottom:2px solid #ddd; 
    box-shadow:0 2px 2px #eee; 
    margin-bottom:2px;
}
.header .inner {
    position:relative;
}

/* 头部横条 */
.language {
    background-color:#8B0000; 
    width:250px; 
    position:absolute; 
    right:85px; 
    top:0; 
    color:#F8F5F0; 
    height:25.1px; 
    line-height:19px; 
    border-radius:0 0 50% 50%; 
    text-align:center; 
    font-size:12px; 
    z-index:3;
}
.language a {
    color:#F8F5F0; 
    margin:0 5px;
}
.language a.simple {
    cursor:default; 
    font-weight:bold;
}
.language span {
    display:block; 
    width:100px; 
    height:17px; 
    background-color:#8B0000; 
    position:absolute; 
    left:-84.8px; 
    top:0; 
    overflow:hidden;
}
.language span i {
    display:block; 
    height:30px; 
    background-color:#F8F5F0; 
    border-radius:0 91% 0 0;
}
.language span.right {
    left:auto; 
    right:-84.8px;
}
.language span.right i {
    border-radius:91% 0 0 0;
}

/* LOGO */
.logo {
    float:left; 
    padding:20px 0 0 0;
}
.logo a {
    display:block;
}
.logo a img{ 
    height:80px
}

/* PC导航 */
.nav {
    float:right; 
    margin-top:60px; 
    padding-right:30px;
}
.nav li {
    float:left; 
    font-size:18px; 
    padding:0 15px 32px; 
    position:relative;
}
.nav li a {
    color:#333; 
    display:block; 
    transition:all 0.3s ease 0s;
}
.nav li a.menu_selected {
    color: #8B0000 !important;
    font-weight: bold !important;
}
.nav li ul {
    position:absolute; 
    left:50%; 
    top:59px; 
    z-index:9; 
    width:150px; 
    margin-left:-75px; 
    padding-top:3px; 
    display:none;
}
.nav li:hover ul {
    display:block;
}
.nav li ul.open {
    display:block;
}
.nav li li {
    float:none; 
    text-align:center; 
    padding:3px 0 7px; 
    background-color:#F8F5F0; 
    background:rgba(255,255,255,.8);
}
.nav li li a {
    padding:5px 0;
}

/* 移动端菜单按钮 */
.nav_btn {
    position:absolute; 
    right:40px; 
    top:60px; 
    height:21px; 
    width:25px; 
    cursor:pointer; 
    display:none;
}
.nav_btn span,.nav_btn span:before,.nav_btn span:after {
    display:block; 
    height:3px; 
    width:100%; 
    position:absolute; 
    top:50%; 
    margin-top:-1.5px; 
    background-color:#666;
}
.nav_btn span:before {
    content:''; 
    top:-6px; 
    transition:transform 0.3s ease 0s;
}
.nav_btn span:after {
    content:''; 
    top:auto; 
    bottom:-7px; 
    transition:transform 0.3s ease 0s;
}
.nav_btn.open span {
    height:0;
}
.nav_btn.open span:before {
    transform:rotate(45deg); 
    top:1px;
}
.nav_btn.open span:after {
    transform:rotate(-45deg); 
    bottom:-3px;
}

/* 搜索 */
.search_form {
    float:right; 
    position:absolute; 
    right:0; 
    top:60px;
}
.search_btn {
    font-size:18px; 
    cursor:pointer; 
    color:#666;
}

/* 手机端菜单遮罩 */
.menu-overlay {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.menu-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================
   3. 首屏轮播 HERO / SLIDER
========================================================== */
.hero {
    width: 100%;
    height: 500px;
    position: relative;
    overflow: hidden;
}
.slides-container {
    width: 100%;
    height: 100%;
    position: relative;
}
.slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.slide.active {
    opacity: 1;
}
.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}
.slide-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(26,26,26,0.7) 0%, rgba(139,0,0,0.5) 100%);
    z-index: 1;
}
.slide-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 20px 60px;
    z-index: 2;
}
.hero-content {
    max-width: 800px;
    width: 100%;
}
.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1.3;
}
.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 轮播按钮 */
.hero-btns {
    position: absolute;
    bottom: 100px;
    left: 0;
    right: 0;
    z-index: 3;
    text-align: center;
}
.hero-btns .flex {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}
.hero button {
    padding: 10px 22px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;
}

/* 轮播指示器 */
.slider-controls {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}
.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}
.slider-dot.active {
    width: 20px;
    border-radius: 6px;
    background: #fff;
}
.slider-dot:hover {
    transform: scale(1.3);
}

/* ==========================================================
   4. 页面主体内容样式
   核心优势、大师风采、精品典藏、手工技艺、新闻资讯、行业资讯
========================================================== */

/* 栏目标题通用 */
.section-heading h2 {
    font-size: 30px;
    font-family: serif;
    color: #8B0000;
}
@media (min-width: 768px) {
    .section-heading h2 {font-weight: 900 !important;}
}
.section-heading .line {
    width: 60px;
    height: 3px;
    background: #8B0000;
    margin: 10px auto;
    border-radius: 2px;
}

/* 卡片悬浮动效 */
.hover-up {
  transition: all 0.3s ease;
}
.hover-up:hover {
  transform: translateY(-4px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.hover-scale {
  transition: transform 0.3s ease;
}
.hover-scale:hover {
  transform: scale(1.02);
}

/* 标签样式 */
.tag-master {
    background:rgba(212,175,55,0.15);
    color:#D4AF37;
    font-size:12px;
    padding:4px 10px;
    border-radius:4px;
}
.item-tag {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 4px;
}
.bg-primary-trans {
    background: rgba(139, 0, 0, 0.75) !important;
    color: #fff !important;
}
.bg-gold-trans {
    background: rgba(212, 175, 55, 0.75) !important;
    color: #1A1A1A !important;
}
.bg-dark-trans {
    background: rgba(26, 26, 26, 0.75) !important;
    color: #fff !important;
}

/* 按钮样式 */
.btn-archive {
    font-size:14px;
    font-weight:500;
    color:#8B0000;
    background:none !important;
    border:none !important;
    padding:0 !important;
}
.btn-all-master {
    border:2px solid #8B0000;
    color:#8B0000;
    padding:8px 24px;
    border-radius:6px;
    background:transparent;
    transition:all 0.3s ease;
}
.btn-all-master:hover {
    background:#8B0000;
    color:#fff;
}
.btn-same {
  font-size: 12px;
  padding: 0px 10px;
  border-radius: 4px;
  background: rgba(139,0,0,0.08);
  color: #8B0000;
  border: none !important;
  transition: all 0.3s ease;
}
.btn-same:hover {
  background: rgba(139,0,0,0.15);
  color: #8B0000;
}

/* 轮播按钮样式 */
.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}
.hero-btn-gold {
  background: #D4AF37;
  color: #1A1A1A !important; /* 固定颜色 */
  padding: 8px 15px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 14px;
  transition: background 0.3s;
}
.hero-btn-gold:hover {
  background: rgba(212, 175, 55, 0.8);
  color: #1A1A1A !important; /* 悬浮不变色 */
}
.hero-btn-white {
  background: rgba(255,255,255,0.2);
  color: #fff !important; /* 固定颜色 */
  padding: 8px 15px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 14px;
  backdrop-filter: blur(4px);
  transition: background 0.3s;
}
.hero-btn-white:hover {
  background: rgba(255,255,255,0.25);
  color: #fff !important; /* 悬浮不变色 */
}
	.hero-buttons button a,
.hero-buttons button a:hover {
    color: inherit !important;
}

/* ==========================================================
   5. 战略合作单位轮播
========================================================== */
.marvellous {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.marvellous .wrap {
  display: flex;
  transition: transform 0.4s ease;
}
.marvellous .item {
  flex: 0 0 16.666%;
  padding: 0 7.5px;
}
.marvellous .item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}
.hover_btn_prev,
.hover_btn_next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 16px;
  color: #fff;
}
.hover_btn_prev { left: 10px; }
.hover_btn_next { right: 10px; }
.hover_btn_prev::after { content:"←"; }
.hover_btn_next::after { content:"→"; }

/* ==========================================================
   6. 返回顶部
========================================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 26px;
    color: #aaa;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    line-height: 1;
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background: rgba(255,255,255,0.3);
    border-color: #ccc;
    color: #999;
}
.back-to-top i {
    width:20px; 
    height:20px; 
    border-top:1px solid #aaa; 
    border-left:1px solid #aaa; 
    display:block; 
    transform:rotate(45deg); 
    position:absolute; 
    left:50%; 
    top:50%; 
    margin:-3px 0 0 -10px;
}

/* ==========================================================
   7. 底部 FOOTER
========================================================== */
.footer {
    background-color:#000; 
    padding:2.5% 0;
}
.links {
    background-color:#101010; 
    overflow:hidden; 
    padding:3px 5px; 
    margin-top:2%;
}
.links ul {
    text-align:center;
}
.links li {
    font-size:12px; 
    display:inline-block; 
    padding:3px 10px; 
    color:#555;
}
.links a {
    color:#555; 
    transition:color 0.3s ease 0s;
}
.links a:hover {
    color:#aca8a7;
}
.links li i {
    font-style:normal; 
    font-family:'Simsun';
}
.pages_list {
    padding:6px 0;
}
.pages_list ul {
    text-align:center;
}
.pages_list ul li {
    display:inline-block; 
    color:#888; 
    font-size:14px; 
    padding:0 15px;
}
.pages_list ul li a {
    color:#888;
}
.copyright {
    color:#888; 
    font-size:12px; 
    text-align:center; 
    padding:6px 0;
}

/* ==========================================================
   8. 全局工具类 / 布局类
========================================================== */
/* 文字效果 */
.text-shadow {
    text-shadow: 0 2px 6px rgba(0,0,0,.35);
}
.transition-all {
    transition: all 0.3s ease;
}
.transition-colors {
    transition: background-color 0.3s,color 0.3s;
}

/* 多行省略 */
.line-clamp-1 {
  overflow:hidden;
  display:-webkit-box;
  -webkit-line-clamp:1;
  -webkit-box-orient:vertical;
}
.line-clamp-2 {
  overflow:hidden;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}
.line-clamp-3 {
  overflow:hidden;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
}

/* 间距 */
.py-12 {padding:60px 0 30px;}
.py-13 {padding:40px 0 30px;}
.text-center {text-align:center;}

/* 背景色 */
.bg-primary {background:#8B0000;}
.bg-gold {background:#D4AF37;}
.bg-dark {background:#1A1A1A;}
.bg-light {background:#F8F5F0;}
.bg-white {background:#fff;}
.bg-primary\/10 {background:rgba(139,0,0,0.08);}
.bg-gold\/20 {background:rgba(212,175,55,0.15);}
.bg-white\/20 {background:rgba(255,255,255,0.18);}

/* 文字色 */
.text-primary {color:#8B0000;}
.text-gold {color:#D4AF37;}
.text-dark {color:#1A1A1A;}
.text-white {color:#fff;}
.text-white\/90 {color:rgba(255,255,255,.9);}
.text-gray-400 {color:#999;}
.text-gray-500 {color:#777;}
.text-gray-600 {color:#666;}

/* 圆角 / 阴影 / 边框 */
.rounded {border-radius:6px;}
.rounded-lg {border-radius:10px;}
.rounded-full {border-radius:50%;}
.shadow {box-shadow:0 2px 15px rgba(0,0,0,0.1);}
.shadow-sm {box-shadow:0 1px 8px rgba(0,0,0,0.05);}
.border-2 {border-width:2px;border-style:solid;}
.border-primary {border-color:#8B0000;}
.border-b {border-bottom:1px solid #eee;}
.border-l-4 {border-left-width:4px;border-left-style:solid;border-left-color:#8B0000;}

/* 网格布局 */
.grid {display:grid;}
.grid-cols-1 {grid-template-columns:repeat(1,1fr);}
.grid-cols-2 {grid-template-columns:repeat(2,1fr);}
.grid-cols-3 {grid-template-columns:repeat(3,1fr);}
.grid-cols-4 {grid-template-columns:repeat(4,1fr);}
.gap-3 {gap:12px;}
.gap-4 {gap:16px;}
.gap-6 {gap:24px;}
.gap-8 {gap:32px;}

/* 弹性布局 */
.flex {display:flex;}
.flex-col {flex-direction:column;}
.flex-wrap {flex-wrap:wrap;}
.items-center {align-items:center;}
.justify-center {justify-content:center;}
.justify-between {justify-content:space-between;}

/* 内边距 / 外边距 */
.px-4 {padding-left:15px;padding-right:15px;}
.px-6 {padding-left:24px;padding-right:24px;}
.py-2 {padding-top:8px;padding-bottom:8px;}
.py-2\.5 {padding-top:10px;padding-bottom:10px;}
.p-4 {padding:16px;}
.p-5 {padding:20px;}
.p-6 {padding:24px;}
.pl-3 {padding-left:12px;}
.mt-3 {margin-top:12px;}
.mt-4 {margin-top:18px;}
.mt-10 {margin-top:40px;}
.mb-4 {margin-bottom:18px;}
.mb-12 {margin-bottom:48px;}
.ml-1 {margin-left:5px;}
.ml-2 {margin-left:8px;}
.mr-2 {margin-right:8px;}

/* 尺寸 */
.w-full {width:100%;}
.w-6 {width:24px;height:24px;}
.w-16 {width:64px;height:64px;}
.w-28 {width:112px;}
.h-16 {height:64px;}
.h-64 {height:256px;}

/* 定位 */
.relative {position:relative!important;}
.absolute {position:absolute!important;}
.inset-0 {top:0;left:0;right:0;bottom:0;}
.z-1 {z-index:1!important;}
.z-2 {z-index:2!important;}
.z-3 {z-index:3!important;}
.top-2 {top:8px;}
.left-2 {left:8px;}
.right-2 {right:8px;}
.bottom-4 {bottom:16px;}
.bottom-8 {bottom:32px;}
.left-1\/2 {left:50%;}
.-translate-x-1\/2 {transform:translateX(-50%);}
.h-50vh {height:50vh!important;}
.overflow-hidden {overflow:hidden!important;}

/* 字体 */
.text-xs {font-size:12px;}
.text-sm {font-size:14px;}
.text-lg {font-size:18px;}
.text-xl {font-size:20px;}
.text-2xl {font-size:24px;}
.text-3xl {font-size:30px;}
.text-4xl {font-size:36px;}
.font-bold {font-weight:700;}
.font-medium {font-weight:500;}
.font-serif {font-family:"Noto Serif SC",serif;}
.leading-tight {line-height:1.2;}
.max-w-2xl {max-width:680px;}
.mx-auto {margin-left:auto;margin-right:auto;}
.object-cover {object-fit:cover;}

/* ==========================================================
   9. 响应式适配（最后）
========================================================== */
.menu-close {display: none;}

@media only screen and (max-width: 960px) {
    body.open { position: fixed; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; }
    .container, .inner { width: 100%; }
    .nav_btn { display: block !important; z-index: 10000; }
    .nav { 
        position: fixed; right: -200px; top: 0; height: 100%; width: 180px; 
        background: rgba(0,0,0,0.85); z-index: 10000; margin-top: 0; 
        padding-right: 0; overflow-y: auto; transition: right 0.3s ease; 
    }
    .nav.open { right: 0; }
    .nav li { float: none; text-align: center; padding: 0; }
    .nav li a { color: #fff; padding: 14px 0; font-size: 16px; display:block; }
    .nav .menu { position: absolute; width: 100%; padding: 0; padding-top: 50px; }

    /* 手机端隐藏二级菜单 */
    .nav li ul {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        overflow: hidden !important;
    }

    .menu-close {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        width: 50px;
        height: 50px;
        background: transparent !important;
        cursor: pointer;
        z-index: 10001;
        text-align: center;
        line-height: 50px;
        font-size: 30px;
        color: #fff !important;
    }
    .menu-close:hover {
        background: transparent !important;
        color: #fff;
    }
    .search_form { top: 35px; right: 20px; z-index: 9999; }
}

@media only screen and (max-width: 768px) {
    .logo {padding:30px 0 5px 5px;}
    .logo a img{ height:40px}
    .nav_btn { top: 35px; right: 55px; height: 28px; }
    .search_form {top: 35px; right: 15px; height: 28px; line-height: 28px;}
    .hero { height: 0; padding-top: 56.25%; width:100%; }
    .slides-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
    .hero h1 { font-size: 26px; margin-top: 20px; }
    .hero p { font-size: 14px; }
    .slide-content { padding-top: 10px; align-items: flex-start; }
    .hero-btns {  bottom: 32px !important;  }
    .hero button { min-width: 110px; font-size: 13px; padding: 6px 12px; }
    .slider-controls { bottom: 10px; }
    .marvellous .item {flex: 0 0 33.333%;}
}

@media only screen and (max-width: 480px) {
    .hero h1 { font-size: 22px; margin-bottom: 12px; }
    .hero p { font-size: 13px; margin-bottom: 20px; }
    .hero-btns { bottom: 25px; }
    .header_top {overflow:hidden; height:24.1px;}
    .header_btm {margin-top:-24.1px;}
    .language {right:50%; margin-right:-125px; top:-1px;}
}

@media (max-width:1200px){
  .container,.inner {width:100%;}
}
@media (min-width:768px){
  .md-h-70vh {height:70vh;}
  .md-grid-cols-2 {grid-template-columns:repeat(2,1fr);}
  .md-grid-cols-3 {grid-template-columns:repeat(3,1fr);}
}
@media (min-width:1024px){
  .lg-grid-cols-4 {grid-template-columns:repeat(4,1fr);}
}