/* 首页 关于雅道 图片尺寸约束 */
.about-home-img {
    width: 440px;
    height: 300px;
    margin-left: 24px;
}
/* 视频播放按钮覆盖层（关于雅道封面） */
.video-wrapper { display: inline-block; }
.video-play-btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 68px; height: 68px; border-radius: 50%; border: 4px solid #fff; background: rgba(0,0,0,.55); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.video-play-btn::before { content: ""; display: block; width: 0; height: 0; margin: 0 auto; border-left: 18px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.video-play-btn:hover { background: #ff9900; border:none;}
@media (max-width: 768px) {
  .about-home-img{
      width: 100%;
      height: auto;
      margin: 0;
  }
}

.about-img {
  width: 547px;
  height: 400px;
}


/* 首页新闻大图轮播顶部小圆点（2px） */
/* 使用 Bootstrap 指示器：右对齐、圆形、小尺寸、位置偏移 */
#newsHot .carousel-indicators { justify-content: flex-end; margin-right: 12px; margin-bottom: 68px; }
#newsHot .carousel-indicators [data-bs-target] { width: 12px; height: 12px; border-radius: 50%; background-color: rgb(253, 253, 253); }
#newsHot .carousel-indicators .active { background-color: #660066; }


/* 毛玻璃导航栏 */
.glass-nav {
	backdrop-filter: saturate(180%) blur(16px);
	background: rgba(0, 0, 0, 0.54);
	border-bottom: 1px solid rgba(255, 255, 255, 0.3);;
}
.glass-nav .navbar-brand img{height:32px}
.glass-nav .nav-link { padding-left: 23px; padding-right: 23px; color: #fff; line-height: 60px; }
.main-nav .nav-link { margin: 0 23px; }
.glass-nav .nav-link.active, .glass-nav .nav-link:focus, .glass-nav .nav-link:hover { color: #ff9900; }

/* 下拉菜单项悬停样式 */
/*.glass-nav .dropdown-item:hover,*/
/*.glass-nav .dropdown-item:focus {*/
/*    color: #ff9900 !important;*/
/*    background-color: rgba(255, 153, 0, 0.1);*/
/*}*/

/* 下拉菜单容器毛玻璃样式 */
/*.glass-nav .dropdown-menu {*/
/*    background: rgba(0, 0, 0, 0.7);*/
/*    border: 1px solid rgba(255, 255, 255, 0.15);*/
/*    backdrop-filter: saturate(180%) blur(16px);*/
/*}*/

/* 确保下拉菜单中的链接在悬停时显示正确颜色 */
.glass-nav .dropdown-menu .dropdown-item {
    color: #666;
    transition: color 0.2s ease;
}

.glass-nav .dropdown-menu .dropdown-item:hover {
    color: #ff9900;
    background: transparent;
}

/* 确保移动端菜单按钮可见 */
.glass-nav .navbar-toggler {
	border: 1px solid rgba(255,255,255,.5);
	color: #fff;
	padding: 4px 8px;
}
.glass-nav .navbar-toggler-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
	width: 1.5em;
	height: 1.5em;
}
.glass-nav .navbar-toggler:focus {
	box-shadow: 0 0 0 0.25rem rgba(255, 153, 0, 0.25);
}
.glass-nav .navbar-toggler:hover {
	border-color: #ff9900;
}

/* 让轮播/横幅与导航顶齐 */
/* 轮播图置顶，导航叠加其上 */
main { padding-top: 0; }

.hero-img { height: 52vh; object-fit: cover; }
.hero .carousel-control-prev-icon, .hero .carousel-control-next-icon { filter: drop-shadow(0 2px 6px rgba(0,0,0,.6)); }
.hero .carousel-indicators { margin-bottom: 22px; }
.hero .carousel-indicators [data-bs-target] { width: 40px; height: 4px; border-radius: 2px; background-color: rgba(255,255,255,0.5); border: none; }
.hero .carousel-indicators .active { background-color: #ff9900; }
/* 修复：确保轮播左右按钮可见 */
.hero #heroCarousel .carousel-control-prev, .hero #heroCarousel .carousel-control-next { width: 8%; z-index: 5; opacity: 1 !important; }
@media (max-width: 768px) {
	.hero #heroCarousel .carousel-control-prev, .hero #heroCarousel .carousel-control-next { display: none !important; }
}
.hero #heroCarousel .carousel-control-prev-icon, .hero #heroCarousel .carousel-control-next-icon {
	background-color: rgba(0,0,0,.65) !important;
	border-radius: 50%;
	width: 44px; height: 44px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: 60% 60%;
	box-shadow: 0 4px 12px rgba(0,0,0,.25);
}
/* 首屏轮播：鼠标移入按钮变为 #ff9900 */
.hero #heroCarousel .carousel-control-prev:hover .carousel-control-prev-icon,
.hero #heroCarousel .carousel-control-next:hover .carousel-control-next-icon { background-color: #ff9900 !important; }

/* 轮播图文字垂直水平居中 */
.hero .carousel-caption { top: 50%; bottom: auto; left: 0; right: 0; transform: translateY(-50%); text-align: center; }

/* 新闻详情页额外导航栏 */
.breadcrumb-item a {
    color: #6c757d;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #ff9900;
    text-decoration: none;
}

/* 新闻详情正文排版（与后台编辑所见即所得保持一致） */
.news-detail-text {
    max-width: 100%;
    margin: 0 0 40px;
    font-size: 16px;
    line-height: 1.8;
    word-break: break-word;
}
.news-detail-text p {
    margin: 0 0 1em;
}
.news-detail-text img,
.news-detail-text video {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 16px auto;
}

/* 新闻详情：多图排版（与后台编辑器 image_class_list 对应） */
.news-detail-text img.news-img-1 {
    width: 100%;
}
.news-detail-text img.news-img-2 {
    width: 48%;
    margin: 8px 1%;
    display: inline-block;
    height: 220px;
    object-fit: cover;
    vertical-align: top;
}
.news-detail-text img.news-img-3 {
    width: 31%;
    margin: 8px 1%;
    display: inline-block;
    height: 220px;
    object-fit: cover;
    vertical-align: top;
}

/* Language select minimal styling to blend in navbar */
.lang-select { width: 120px; background: transparent; color: #fff; border: none; text-align: right; text-align-last: right; padding-right: 20px; }
.lang-select:focus { border: none; box-shadow: none; }
.lang-select option { color: #000; }
.hero-caption h1 { font-size: clamp(32px, 6vw, 72px); margin-bottom: .25rem; }
.hero-caption p { font-size: clamp(14px, 2.2vw, 48px); }
/* 轮播图高度调整 - 让移动端也显示全面 */
.hero-img { 
    height: 52vh;
    object-fit: cover; 
}

/* 移动端轮播图优化 */
@media (max-width: 768px) {
    .hero-img { 
        height: 50vh; /* 移动端稍微降低高度，但保持全面显示 */
        object-fit: cover;
    }
    
    /* 确保移动端轮播图内容完整显示 */
    .hero .carousel-caption {
        padding: 20px;
        /* background: rgba(0, 0, 0, 0.3); 添加半透明背景 */
        /* border-radius: 8px; */
        margin: 0 15px;
    }
    
    /* 移动端轮播图文字大小调整 */
    .hero-caption h1 {
        font-size: clamp(24px, 5vw, 36px);
        margin-bottom: 10px;
    }
    
    .hero-caption p {
        font-size: clamp(12px, 2.5vw, 18px);
        margin-bottom: 0;
    }
}

/* 超小屏幕优化 */
@media (max-width: 576px) {
    .hero-img { 
        height: 45vh; /* 超小屏幕进一步调整高度 */
    }
    
    .hero .carousel-caption {
        padding: 15px;
        margin: 0 10px;
    }
}
/* 标题统一样式与底部标识线 */
.section-title { position: relative; margin-bottom: 24px; }
.section-title::after {
	content: "";
	display: block;
	width: 86px; height: 2px;
	background: #660066;
	margin: 24px auto 0;
}
.section-title-line { position: relative; margin-bottom: 12px; }
.section-title-line::after {
	content: "";
	display: block;
	width: 90px; height: 1px;
	background: #660066;
	margin: 12px auto 0;
}

/* 自定义查看更多按钮 */
.btn-more { 
	border: 1px solid #660066; color: #660066; background: #fff; border-radius: 999px; padding: 8px 18px 8px 18px; position: relative;
}
.btn-more { font-size: 12px; }
.btn-more:hover { background: #660066; color: #fff; border-color:#fff;}


/* 关于 - 四个特点 */
.features-wrap { margin-top: 40px; }
.about-features .about-feature { background:#fff; border:1px solid #e9ecef; border-radius:.75rem; padding:24px; text-align:center; transition: all .2s ease; display:flex; flex-direction:column; align-items:center; justify-content:flex-start; height:100%; }
.about-feature-icon { width:48px; height:48px; margin-bottom:12px; }
.about-feature-title { margin:8px 0; font-weight:600; }
.about-feature-desc { color:#6c757d; margin:0; }
.about-feature:hover { background:#660066; color:#fff; border-color:#660066; }
.about-feature:hover .about-feature-desc { color:#fff; }
.about-feature:hover img { filter: brightness(0) invert(1); }

/* 发展历程时间轴 */
/* .about-timeline { background:url('../../static/img/关于雅道/发展历程.png') center/cover no-repeat;} */
/* 默认隐藏移动端简版时间轴，由媒体查询控制显示 */
/* .about-timeline .timeline-mobile { display: none; } */
/* 顶部大年份与事件区域 */
/* .timeline-head { position:relative; display:block; margin-top:8px; }
.tl-nav { width:42px; height:42px; border-radius:50%; border:none; background:#fff; box-shadow:0 6px 18px rgba(0,0,0,.12); position:absolute; top:50%; transform:translateY(-50%); cursor:pointer; transition:background-color .15s ease; }
.tl-nav:hover { background:#ff9900; color:#fff; }
.tl-nav::before { content:""; position:absolute; inset:0; background-repeat:no-repeat; background-position:center; background-size:18px 18px; transition:filter .15s ease; }
.tl-nav:hover::before { filter: invert(1) brightness(2); }
.tl-nav-prev { left:0; }
.tl-nav-next { right:0; }
.tl-nav-prev::before { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23660066' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E"); }
.tl-nav-next::before { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23660066' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E"); }
.tl-head-grid { display:grid; grid-template-columns: 1fr 1px 1fr; align-items:center; gap:40px; width:100%; margin:0 auto; }
.tl-head-year { font-size: clamp(48px, 11vw, 160px); font-weight: 800; color: #ff9900; text-align:right; line-height:1; }
.tl-head-divider { width:2px; height:120px; background:rgba(0,0,0,.25); justify-self:center; }
.tl-head-events { margin:0; padding-left:20px; list-style:disc; color:#6c757d; }
.tl-head-events li { margin-bottom:10px; }

/* 下方横线+8个年份点 */
/* .timeline-bar { margin-top:28px; position:relative; padding-bottom: 40px; }
.tl-line { height:6px; background:#8a8a8a; border-radius:3px; position:relative; }
.tl-dots { display:flex; justify-content:space-between; align-items:center; position:relative; margin-top:-16px; padding:0 90px; }
.tl-dot { background:#fff; border:2px solid #660066; width:18px; height:18px; border-radius:50%;}
.tl-dot.active { background:#660066; }
.tl-dots .tl-dot::after { content: attr(data-year) '年'; position:absolute; top:38px; transform:translateX(-50%); color:#6c757d; font-size:14px; white-space:nowrap;}
.tl-dots .tl-dot::before { content: attr(data-sub); position:absolute; top:58px;transform:translateX(-50%); color:#6c757d; font-size:16px; white-space:nowrap; }
.tl-dots .tl-dot.active::after { color:#ff9900; }
.tl-dots .tl-dot.active::before { color:#ff9900; } */


.strength-text{
    font-size: 20px;
    padding-top: 100px;
}

@media (max-width: 768px) {
    .strength-text{
        font-size: 20px;
        padding-top: 0;
    }
}

@media (max-width: 576px) {
	.tl-head-grid { grid-template-columns: 1fr; gap:16px; text-align:center; }
	.tl-head-year { text-align:center;margin-top: 20px; }
	.tl-head-divider { display:none; }
	.tl-head-events { justify-self:center; padding-left:18px; padding-right:18px; text-align:left; }
	/* 小屏时间轴精简为“< 年份 >”显示：隐藏横线，仅显示当前年份 */
	.timeline-bar { margin-top: 12px; padding-bottom: 10px; position: relative; overflow: visible; }
	.tl-line { display: none; }
	.tl-dots { padding: 0; margin-top: 0; justify-content: center; align-items: center; gap: 16px; min-width: auto; flex-direction: row; position: relative; }
	/* 去掉任何可能的字符注入，避免出现奇怪符号 */
	.tl-dots::before,
	.tl-dots::after { content: none !important; display: none !important; }
	.tl-dot { display: none; }
	/* .tl-dots .tl-dot.active { display: inline-block; width: auto; height: auto; border: none; background: transparent; }
	.tl-dots .tl-dot.active::after { position: static; transform: none; content: attr(data-year) '年'; color: #ff9900; font-size: 22px; font-weight: 700; }
	.tl-dots .tl-dot.active::before { display: none; } */
	/* .about-timeline { padding-bottom: 100px; }
	.about-timeline .timeline-head { display: flex; align-items: center; justify-content: center; gap: 12px; } */
	/* 显示左右 < > 导航，形成“ < 2007年 > ”效果 */
	/* .tl-nav { display: inline-block; position: static; transform: none; width: 36px; height: 36px; border: none; background: transparent; box-shadow: none; } */
	/* .tl-nav::before { filter: none; } */
	.tl-head-year { font-size: clamp(32px, 12vw, 60px); color: #ff9900; line-height: 1; }
	/* .tl-head-events { display: none; } */

	
}
.feature-box { background: #fff; border-radius: 0; padding: 20px; text-align: center; position: relative; height: 200px; border: none; box-shadow: 0 6px 20px rgba(0,0,0,.08); display: flex; flex-direction: column; justify-content: center; transition: transform .2s ease, box-shadow .2s ease; }
/* 取消三项鼠标悬浮效果要求 → 改为静态轻微阴影，不再抬升 */
.feature-box:hover { transform: none; box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.feature-num { color: #ff9900; font-weight: 700; font-size: 22px; }
.feature-tip { color: #333; }
.feature-text { color: #6c757d; }
.features-wrap .col-md-3:not(:last-child) .feature-box { border-right: 0; }
@media (min-width: 768px) {
	.features-wrap > div { position: relative; }
	.features-wrap > div:not(:last-child)::after { content: ""; position: absolute; right: 0; top: calc(50% - 1px); height: 2px; width: 150px; transform: translateX(75px) rotate(90deg); background: linear-gradient(to right, rgba(102,0,102,0), #660066, rgba(102,0,102,0)); border-radius: 0; }
}

/*企业文化背景 */
/*.culture-bg { background: url('../../static/img/首页/产品信息.png') center/cover no-repeat; }*/

/*雅道优势背景*/
/*.Advantage-bg{ background: url('../../static/img/首页/雅道荣誉.png') center/cover no-repeat;}*/

/* 产品信息背景和交互卡片 */
/*.products-bg { background: url('../../static/img/首页/产品信息.png') center/cover no-repeat; }*/
.products-bg { background:none}


/* 雅道品牌区块 */
.brand-section.brand-with-bg {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.brand-section.brand-no-bg {
    background-color: rgba(243, 243, 243, 0.6);
}
#brand .brand-logo-card {
    /* background: rgba(255, 255, 255, 0.96); */
    border-radius: 18px;
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    /* transition: transform .2s ease, box-shadow .2s ease; */
    /* border: 1px solid rgba(102, 0, 102, 0.12); */
    /* box-shadow: 0 10px 30px rgba(102, 0, 102, 0.06); */
}
/* #brand .brand-logo-card:hover {
    transform: translateY(-4px); */
    /* box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25); */
/* } */
#brand .brand-logo {
    max-height: 150px;
    max-width: 80%;
    width: auto;
    object-fit: contain;
    /* filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.12)); */
}
#brand .brand-caption {
    color: #4f4f4f;
    letter-spacing: 0.015em;
}
@media (max-width: 768px) {
    #brand .brand-logo-card {
        padding: 28px 18px;
        min-height: 170px;
    }
    #brand .brand-logo {
        max-height: 120px;
    }
}

.product-card { position: relative; border-radius: .75rem; overflow: hidden; cursor: pointer; height: 420px; border:1px solid #999}
.product-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.glass-title { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); color: #fff; padding: 24px; border-radius: 0; background: rgba(255,255,255,.15); backdrop-filter: blur(10px); border-top: 1px solid rgba(255,255,255,.35); border-bottom: 1px solid rgba(255,255,255,.35); text-align: center; font-weight: 600; }



/* 小屏幕产品卡片优化 */
@media (max-width: 576px) {
	.glass-title {
		padding: 18px 16px; /* 减少产品标题内边距 */
		font-size: 1rem; /* 调整字体大小 */
	}
	.product-detail {
		padding: 12px; /* 减少产品详情内边距 */
	}
	.product-detail h5 {
		font-size: 1rem; /* 调整产品详情标题大小 */
		margin-bottom: 8px; /* 减少标题下边距 */
	}
	.product-detail p {
		font-size: 0.85rem; /* 调整描述字体大小 */
		line-height: 1.4; /* 调整行高 */
		margin-bottom: 8px; /* 减少段落间距 */
	}
}

/* 超小屏幕产品卡片优化 */
@media (max-width: 576px) {
    .product-card{
        height: 260px;
    }
}

.product-detail { display: none; background: #fff; border: 1px solid #660066; border-radius: .75rem; padding: 16px; color:#000; }
.product-detail .more-inline { position: absolute; right: 12px; bottom: 12px; }
.product-card:hover .glass-title { display: none; }
.product-card:hover img { filter: brightness(.95); }
.product-card:hover .product-detail { display: block; position: absolute; inset: 0; }

/* 优势卡片交互 */
.advantages-cards { 
	height: 322px; 
	margin-bottom: 80px; /* 增加与媒体展示的间距 */
}
/* .dev-card{
    padding: 15px;*/
    /*border-radius: 20px;*/
    /*background-color: rgba(0, 0, 0, 0) !important;*/
    /*box-shadow: none !important;*/
    /*border:none !important;*/
    /*width: 80%;*/
    /*height: 80%;
} */

.dev-card img{
    border-radius: 10px;
    margin-bottom: 24px;
}
/*.dev-card:hover {*/
/*    transform: scale(1.05);*/
/*}*/

.adv-card {
	transition: all .2s ease;
	height: 322px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	padding: 40px 20px 30px 20px !important;
	border: 1px solid #e9ecef;
}

/* 平板屏幕优化 */
@media (max-width: 991px) {
	.advantages-cards {
		height: auto;
		margin-bottom: 80px;
	}
	.adv-card {
		height: auto; /* 改为自适应高度 */
		min-height: 220px;
		padding: 30px 20px 25px 20px !important;
		margin-bottom: 20px;
		justify-content: flex-start;
	}
	.adv-card p {
		overflow: visible; /* 移除文字截断 */
		text-overflow: unset;
		display: block;
		-webkit-line-clamp: unset;
		line-clamp: unset;
		-webkit-box-orient: unset;
		line-height: 1.4;
		margin-bottom: 0;
	}
}

/* 小屏幕优化 */
@media (max-width: 576px) {
	.advantages-cards {
		margin-bottom: 60px;
	}
	.adv-card {
		height: auto; /* 改为自适应高度 */
		min-height: 220px; /* 减少最小高度 */
		padding: 18px 15px !important; /* 减少内边距 */
		margin-bottom: 20px;
		justify-content: flex-start;
	}
	/*.adv-card img { */
	/*	width: 40px; */
	/*	height: 40px; */
	/*	margin-bottom: 10px; !* 减少图片下边距 *!*/
	/*	flex-shrink: 0;*/
	/*}*/
	.adv-card h5 {
		font-size: 1.1rem;
		margin-bottom: 8px; /* 减少标题下边距 */
		margin-top: 0;
		flex-shrink: 0;
		line-height: 1.3;
	}
	.adv-card p {
		font-size: 0.9rem;
		line-height: 1.4; /* 调整行高 */
		margin-bottom: 0;
		margin-top: 0;
		text-align: center;
		flex: 1;
		display: flex;
		align-items: center;
	}
}

/* 超小屏幕优化 */
@media (max-width: 375px) {
	.adv-card {
		min-height: 240px; /* 减少最小高度 */
		/*padding: 16px 12px !important; !* 减少内边距 *!*/
	}
	.adv-card img {
		width: 36px;
		height: 36px;
		margin-bottom: 8px; /* 减少图片下边距 */
	}
	.adv-card h5 {
		font-size: 1rem;
		margin-bottom: 6px; /* 减少标题下边距 */
	}
	.adv-card p {
		font-size: 0.85rem;
		line-height: 1.4;
	}
}
.adv-card:hover { background: #660066 !important; color: #fff; }
/*.adv-card img { width: 48px; height: 48px; margin-bottom: 12px; }*/
.adv-card:hover img { filter: brightness(0) invert(1); }
.adv-card h5, .adv-card h6 { margin-top: 8px; }
.adv-card p { margin-top: 8px; }
/* 悬浮时卡片内所有文字强制切换为白色 */
.adv-card:hover h5,
.adv-card:hover h6,
.adv-card:hover p,
.adv-card:hover .small,
.adv-card:hover .text-secondary { color: #fff !important; }

/* 企业文化：右侧四卡片在小屏增加间距 */
@media (max-width: 576px) {
	.culture-ideology-row > [class^="col-"] { margin-bottom: 16px; }
}

/* 四大理念卡片在小于1200px时增加间距 */
@media (max-width: 1199px) {
	.culture-ideology-row { 
		margin-left: 15px; 
		margin-right: 15px; 
	}
	.culture-ideology-row > [class^="col-"] { 
		margin-bottom: 20px; 
		padding-left: 10px; 
		padding-right: 10px; 
	}
}

/* 媒体展示轮播样式 */
.media-carousel {
	margin-top: 40px; /* 确保与优势卡片有足够间距 */
}

/* 媒体展示响应式间距 */
@media (max-width: 991px) {
	.media-carousel {
		margin-top: 60px;
	}
}

@media (max-width: 576px) {
	.media-carousel {
		margin-top: 40px;
	}
	/* 小屏幕时媒体项目居中显示 */
	.media-carousel .carousel-item .col-12 {
		display: flex;
		justify-content: center;
	}
	.media-carousel .ratio {
		max-width: 350px;
		width: 100%;
	}
}


/* 荣誉轮播小屏幕优化 */
@media (max-width: 576px) {
.honors-carousel .honor-card {
		max-width: 280px;
		width: 100%;
	}
.honors-carousel .honor-caption {
		margin-top: 12px; /* 减少荣誉证书图片与标题的间距 */
		margin-bottom: 20px;
	}
.honors-carousel .honor-title {
		font-size: 1.1rem;
		margin-bottom: 6px; /* 减少标题与年份的间距 */
	}
.honors-carousel .honor-year {
		font-size: 0.95rem;
	}
}

/* About page imagery responsiveness */
@media (max-width: 768px) {
	.about-img,
	.dev-figure img {
		height: 240px;
		width: 100%;
		object-fit: cover;
		border-radius: 12px;
	}
}

@media (max-width: 576px) {
	.about-img,
	.dev-figure img {
		height: 210px;
	}
}

/* 轮播控制按钮优化 */
/* 首页 - 媒体列表小屏仅显示单卡轮播容器（限定在小屏内，避免影响桌面） */
/* 荣誉轮播桌面端隐藏控制按钮 */
@media (min-width: 768px) {
	.honors-carousel .carousel-control-prev,
	.honors-carousel .carousel-control-next {
		display: none;
	}
}

/* 小屏幕轮播按钮样式优化 */
@media (max-width: 767px) {
	.carousel-control-prev,
	.carousel-control-next {
		width: 40px;
		height: 40px;
		top: 50%;
		transform: translateY(-50%);
		background-color: rgba(0,0,0,0.3);
		border-radius: 50%;
		border: none;
	}
	
	.carousel-control-prev {
		left: 10px;
	}
	
	.carousel-control-next {
		right: 10px;
	}
	
	.carousel-control-prev-icon,
	.carousel-control-next-icon {
		width: 20px;
		height: 20px;
	}
}

/* 确保轮播容器正确显示 */
.carousel {
	position: relative;
}

.carousel-inner {
	position: relative;
	width: 100%;
	overflow: hidden;
}

/* 修复双轮播容器可能的冲突 */
.carousel .carousel-inner.d-none {
	display: none !important;
}

.carousel .carousel-inner.d-md-none {
	display: block !important;
}

.carousel .carousel-indicators.d-none {
	display: none !important;
}

.carousel .carousel-indicators.d-md-none {
	display: flex !important;
}

@media (min-width: 768px) {
	.carousel .carousel-inner.d-md-none {
		display: none !important;
	}
	.carousel .carousel-inner.d-none.d-md-block {
		display: block !important;
	}
	.carousel .carousel-indicators.d-md-none {
		display: none !important;
	}
	.carousel .carousel-indicators.d-none.d-md-flex {
		display: flex !important;
	}
}
.media-indicators { 
	position: static; 
	margin-top: 30px; 
	margin-bottom: 0; 
	justify-content: center; 
}
.media-indicators [data-bs-target] { 
	width: 30px;
	height: 3px;
	/*border-radius: 50%; */
	/*background-color: rgba(102,0,102,0.3);*/
    background-color: #999999;
	border: none; 
	margin: 0 5px; 
}
.media-indicators .active { 
	/*background-color: #660066; */
    background-color: #ff9900;
}

/* 雅道优势背景与布局 */
/*.advantages-bg { background: url('../../static/img/首页/雅道荣誉.png') center/cover no-repeat; padding-bottom: 56px; }*/
.advantages-bg { position: relative; }
.advantages-bg::before { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.35), rgba(0,0,0,.35)); z-index: 0; }
.advantages-bg > .container { position: relative; z-index: 1; }



/* 荣誉背景与布局 */
/*.honors-bg { background: url('../../static/img/首页/雅道荣誉.png') center/cover no-repeat; padding-bottom: 56px; }*/
.honors-bg {  padding-bottom: 56px; }
.honors-bg { position: relative; }
.honors-bg::before { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.35), rgba(0,0,0,.35)); z-index: 0; }
.honors-bg > .container { position: relative; z-index: 1; }
.honor-main { position: relative; padding-top: 24px; }
.honor-main .honor-center { max-width: 240px; width: 100%; border-radius: .5rem; box-shadow: 0 12px 30px rgba(0,0,0,.3);  vertical-align: bottom; }
/* 新的荣誉卡片布局，每屏三张，支持点击放大（使用 .honor-img） */
.honor-card { max-width: 320px; width: 100%; border-radius: .5rem;  cursor: zoom-in; }
.honor-side { width: 160px; height: 200px; opacity: .85; vertical-align: bottom; }
.honor-meta { text-shadow: 0 2px 6px rgba(0,0,0,.25); }
.honor-meta:last-of-type { margin-bottom: 16px; }
/* 荣誉证书标题与年份 */
.honor-caption { color: #666666; text-align: center; margin-top: 16px; margin-bottom: 28px; }
.honor-caption .honor-title { font-weight: 600; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 10px; }
.honor-caption .honor-year { font-size: 14px; color: #6c757d }
/* 移除雅道荣誉左右轮播按钮，避免干扰 */
.honors-bg .carousel-control-prev, .honors-bg .carousel-control-next { display: none !important; }
.honors-bg .carousel-indicators { position: static; margin-top: 8px; bottom: auto; }
.honors-bg .carousel-indicators [data-bs-target] { background-color: #999999; border: none; }
.honors-bg .carousel-indicators .active { background-color: #ff9900; }
@media (max-width: 768px) {
	.honor-side { display: none; }
	.honor-main .honor-center { max-width: 200px; }
    #patentsMobile img{ height: 200px;}
    
}
.honor-meta img { vertical-align: middle; }
.honor-meta { color: #fff; }

#patentsDesktop img {
    max-height: 400px!important;
}

#honorsDesktop img,
#honorsMobile img {
    width: 100%;
    max-width: 320px;
    height: 220px;
    object-fit: contain;
}

.media-card{
    max-width: 414px;
    height: 240px;
}

/* 新闻活动布局 */
.news-hero { height: 100%; min-height: 360px; }
.date-badge { position: absolute; left: 0; top: 0; background: #660066; color: #fff; border-radius: 5px; padding: 6px 10px; text-align: center; }
.date-badge .day { font-size: 22px; line-height: 1; }
.date-badge .ym { font-size: 12px; opacity: .85; }
.news-glass { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.35); backdrop-filter: blur(8px); }
/* 新闻封面玻璃摘要显示两行 */
.news-glass h5 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news-glass p { display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.news-list { display: flex; flex-direction: column; height: 100%; justify-content: space-between; }
.news-list .news-item { display: flex; gap: 16px; align-items: center; height: 120px; margin: 0; border-radius: .25rem; background: #f3f3f3; border: none; padding: 16px; transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease; }
.news-item .news-date { width: 96px; color: #666; font-weight: 600; }
.news-list .news-date .day { font-size: 22px; line-height: 1; }
.news-list .news-date .ym { font-size: 12px; opacity: .85; }
.news-item .news-title { font-weight: 600; margin-bottom: 4px; color: #666; } /* 减少新闻标题下边距 */
.news-item .news-desc { color: #999; font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-right: 20px; }
.news-item .news-select { margin-left: auto; color: #999; font-weight: bold; }
.news-item:hover { background: #fff; border: 1px solid #dcdcdc; box-shadow: 0 10px 25px rgba(0,0,0,.12); }
.news-item:hover .news-date { color: #ff9900; }
/* .news-item:hover .news-select { color: #660066; } */

/* 新闻列表在小于1200px时增加边距 */
@media (max-width: 1199px) {

	.news-list .news-item { 
		margin-bottom: 12px; 
		padding: 20px; 
	}
}
/* 删除小屏强制隐藏优势卡片，确保展示 */
@media (max-width: 767px) {
    .adv-card { display: block !important; }
}

@media (max-width: 767px) {
	.news-card { 
		margin-bottom: 12px; 
		padding: 20px; 
	}
}


.honor-img { cursor: zoom-in; }

/* 认证卡片统一高度（复用荣誉样式视觉） */
.patent-card { height: 320px; display:flex; flex-direction: column; align-items:center; justify-content:center; background: transparent; border-radius:.75rem; box-shadow: none; border: none; overflow: hidden; padding: 12px; }
.patent-card img { width: 100%; max-height: 260px; object-fit: contain; background: transparent; cursor: zoom-in; }
.patent-title { position: static; margin-top: 12px; color:#333; text-align:center; font-size: 16px; padding: 0; background: transparent; font-weight: 600; }
.patents-carousel .carousel-indicators { position: static; margin-top: 12px; display: flex !important; justify-content: center; z-index: 3; }
.patents-carousel .carousel-indicators [data-bs-target] { width: 40px; height: 4px; border-radius: 2px; background-color: rgba(102,0,102,0.3); border: none; margin: 0 6px; }
.patents-carousel .carousel-indicators .active { background-color: #ff9900; }

/* 研发力量轮播：统一图片尺寸与指示器样式 */
.dev-carousel .dev-figure { height: 400px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.dev-carousel .dev-figure img { width: 100%; height: 100%; object-fit: cover; }
.dev-carousel .carousel-indicators { position: static; margin-top: 24px; display: flex; justify-content: center; gap: 10px; z-index: 3; }
.dev-carousel .carousel-indicators [data-bs-target] { width: 40px; height: 4px; border-radius: 2px; border: none; background: rgba(102,0,102,0.28); transition: background-color .2s ease; }
.dev-carousel .carousel-indicators [data-bs-target]:hover { background: rgba(102,0,102,0.5); }
.dev-carousel .carousel-indicators .active { background: #ff9900; }

@media (max-width: 767.98px) {
	.dev-carousel .dev-figure { height: 240px; }
}

/* 认证轮播指示器：跟随响应式类显示隐藏，不强制覆盖 display */
.patents-carousel .carousel-indicators { position: static; margin-top: 12px; bottom: auto; justify-content: center; }


.patents-carousel .carousel-control-prev:hover .carousel-control-prev-icon,
.patents-carousel .carousel-control-next:hover .carousel-control-next-icon { background-color: #ff9900; }

/* 认证轮播小屏优化：单卡居中显示，统一尺寸 */
@media (max-width: 576px) {
	.patents-carousel .patent-card { max-width: 300px; height: auto; margin: 0 auto; padding: 10px; }
	.patents-carousel .patent-card img { width: 100%; max-height: 200px; object-fit: contain; background: transparent; }
}

/* 认证认证区块标题与年月改为深色 */
.patents-carousel .honor-caption .honor-title { color: #333 !important; }
.patents-carousel .honor-caption .honor-year { color: #666 !important; }

footer a { text-decoration: none; }

/* 页脚样式 */
.search-filter-section .form-select:focus,
.search-filter-section .form-control:focus { border-color: #660066; box-shadow: 0 0 0 .2rem rgba(102,0,102,.15); }
.search-filter-section .btn-primary { background-color: #660066; border-color: #660066; }
.search-filter-section .btn-primary:hover { background-color: #7a0a7a; border-color: #7a0a7a; }
.footer { background: #2b2b2b; color: rgba(255,255,255,.75);}
.footer a { color: #666; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer-top { background: #cfcfcf; color: #555; padding: 40px 0; }
.footer-top h6 { color: #555; margin-bottom: 12px; font-weight: 600; }
.footer-top a { color: #666; }
.footer-top .qr img { width: 120px; height: 120px; object-fit: cover; background: #fff; padding: 6px; border-radius: 4px; }
.footer-bottom { background: #b2b2b2; color: #666; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.1);}
.footer-bottom .links .sep { margin: 0 8px; color: #666; padding: 0 8px;}

/* WeChat floating consult */
.wechat-float { position: fixed; right: 38px; top: 50%; transform: translateY(-50%); z-index: 1050; }
.wechat-btn { width: 68px; height: 68px; border-radius: 50%; border: none; background: #660066 url('../../static/img/icon/微信.svg') center/32px 32px no-repeat; box-shadow: 0 10px 24px rgba(0,0,0,.18); position: relative; cursor: pointer; }
.wechat-btn::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(102,0,102,.45); animation: wechat-pulse 1.8s ease-in-out infinite; z-index: -1; transform: scale(1); }
@keyframes wechat-pulse {
	0% { transform: scale(1); opacity: .7; }
	70% { transform: scale(1.6); opacity: 0; }
	100% { transform: scale(1.6); opacity: 0; }
}
.wechat-qr { position: absolute; right: 88px; top: 50%; transform: translateY(-50%); display: none; }
.wechat-qr-inner { background: #fff; border-radius: 12px; box-shadow: 0 12px 28px rgba(0,0,0,.2); padding: 10px; border: 1px solid #eee; text-align: center; width: 168px; }
.wechat-qr-inner img { width: 148px; height: 148px; object-fit: cover; display: block; }
.wechat-qr-text { font-size: 12px; color: #666; margin-top: 6px; }
.wechat-float:hover .wechat-qr { display: block; }

@media (max-width: 576px) {
	.wechat-float { right: 16px; top: 50%; transform: translateY(-50%); }
	.wechat-btn { width: 60px; height: 60px; background-size: 28px 28px; }
	.wechat-qr { right: 70px; }
}

/* Back-to-top button */
.backtop-btn { position: fixed; right: 38px; top: calc(50% + 90px); bottom: auto; width: 68px; height: 68px; border: none; border-radius: 50%; background: #660066; color: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.2); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .2s ease, transform .2s ease, visibility .2s ease; z-index: 1049; }
.backtop-btn::before { content: ""; width: 32px; height: 32px; background: no-repeat center/contain; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='18 15 12 9 6 15'%3E%3C/polyline%3E%3C/svg%3E"); }
.backtop-btn:hover { filter: brightness(1.1); }
.backtop-btn.show { opacity: 1; visibility: visible; transform: translateY(0); }

@media (max-width: 576px) {
	.backtop-btn { right: 16px; top: calc(50% + 84px); bottom: auto; }
	.backtop-btn { width: 60px; height: 60px;}
}

 

/* 小屏幕新闻卡片优化 */
@media (max-width: 576px) {
	.news-list .news-item {
		height: 110px; /* 减少新闻卡片高度 */
		padding: 14px; /* 减少内边距 */
		gap: 12px; /* 减少间距 */
		margin-bottom: 12px; /* 添加新闻项目之间的间距 */
		border-radius: 8px; /* 添加圆角 */
	}
	.news-item .news-date {
		width: 80px; /* 减少日期区域宽度 */
	}
	.news-list .news-date .day {
		font-size: 20px; /* 减少日期字体大小 */
	}
	.news-item .news-title {
		font-size: 0.95rem; /* 调整标题字体大小 */
		margin-bottom: 3px; /* 进一步减少标题下边距 */
	}
	.news-item .news-desc {
		font-size: 13px; /* 减少描述字体大小 */
		line-height: 1.3; /* 调整行高 */
	}
	
	/* 小屏幕时新闻列表布局优化 */
	#news .row.g-4 {
		gap: 20px; /* 增加新闻主图和列表之间的间距 */
	}
	
	.news-hero {
		margin-bottom: 20px; /* 新闻主图下方间距 */
	}
	
	/* 确保新闻列表不会堆积 */
	.news-list {
		gap: 0; /* 移除默认gap，使用margin控制间距 */
	}
	
	/* 最后一个新闻项目不需要下边距 */
	.news-list .news-item:last-child {
		margin-bottom: 0;
	}
}

/* 每一屏之间增加间距 */
main > section { margin-bottom: 72px; }
@media (max-width: 576px) {
	main > section { margin-bottom: 48px; }
}

/* 二维码图片放大 */
.qr-img { cursor: zoom-in; }
.qr-img img { width: 100%; height: 100%; object-fit: cover; }

/* 产品服务 - 信息卡（左图右文） */
.product-info { background:#fff; border:1px solid #eee; transition: background-color .2s ease, color .2s ease, border-color .2s ease; height: 288px;}
.product-info-media img { display:block; object-fit: cover; height:288px; }
.product-info:hover { background:#660066; border-color:#660066; }
.product-info:hover h4,
.product-info:hover p { color:#fff !important; }
/* .product-info:hover a.btn-more { color:#fff !important; border-color:#fff; }
.product-info:hover a.btn-more:hover { background:#fff; color:#660066 !important; } */

@media (max-width: 991px) {
	.product-info-media img { height: 200px; }
	.product-info { height: auto; }
}

/* 产品详情页面样式 */
.search-filter-section {
	background: #fff;
	/* border: 1px solid #eee; */
	/* border-radius: 8px; */
	/* padding: 20px; */
	/* box-shadow: 0 2px 8px rgba(0,0,0,0.1); */
}

.search-bar .input-group {
	max-width: 100%;
}

.search-bar .form-control {
	border: 1px solid #ddd;
	border-radius: 25px 0 0 25px;
	padding: 10px 20px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23666' class='bi bi-search' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: 12px center;
	background-size: 16px;
	padding-left: 40px;
}

.search-bar .btn {
	border: 1px solid #ddd;
	border-left: none;
	border-radius: 0 25px 25px 0;
	padding: 10px 15px;
}

.search-filter-section .form-select {
	border: 1px solid #ddd;
	border-radius: 6px;
	padding: 10px 15px;
	font-size: 14px;
}

.search-filter-section .form-select:focus {
	border-color: #660066;
	box-shadow: 0 0 0 0.2rem rgba(102, 0, 102, 0.25);
}

/* 产品侧边栏 */
/* 产品详情页左侧分类栏：略微收窄，给右侧卡片更多空间 */
.product-sidebar {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 8px;
	padding: 18px 16px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.product-sidebar h5 {
	color: #333;
	font-weight: 600;
	margin-bottom: 16px;
}

.category-group .btn {
	font-size: 14px;
	padding: 6px 10px;
	border-radius: 6px;
}

.category-group .btn-primary {
	background: #660066;
	border-color: #660066;
}

.category-group .btn-outline-primary {
	color: #660066;
	border-color: #660066;
}

.category-group .btn-outline-primary:hover,
.category-group .btn-outline-primary.active {
	background: #660066;
	border-color: #660066;
	color: #fff;
}

.sub-categories {
	margin-left: 10px;
}

/* 水平产品卡片 */
.product-card-horizontal {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 8px;
	overflow: visible;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	display: grid;
	grid-template-columns: 170px 1fr;
	grid-auto-rows: auto;
	gap: 0 12px;
	padding: 16px;
	min-height: 320px;
	height: 100%;
	position: relative;
}

.product-card-horizontal:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 16px rgba(0,0,0,0.15);
	border-color: #660066;
}

.product-image-section {
	position: relative;
    width: 150px;
    min-width: 150px;
	height: 210px;
	overflow: hidden;
	padding: 10px 0 0 10px;
	align-self: flex-start;
}

.product-img {
    width: 150px;
    height: 160px;
    object-fit: cover;
    /* border-radius: 4px; */
    margin: 10px;
}

.qr-code {
	position: absolute;
	top: 18px;
	left: 18px;
	background: rgba(255,255,255,0.9);
	padding: 3px 6px;
	border-radius: 3px;
	font-size: 10px;
	font-weight: bold;
	color: #333;
}

.product-info-section {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	height: 100%;
	padding: 0;
	padding-top: 16px;
}

.product-feature-block {
	grid-column: 1 / -1;
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid #f0f0f0;
	padding-left: 16px;
}

.feature-label {
	font-weight: 600;
	color: #333;
	margin-bottom: 4px;
}

.feature-text {
	font-size: 16px;
	color: #6c757d;
	line-height: 1.5;
	display: -webkit-box;
	/* -webkit-line-clamp: 2; */
	/*line-clamp: 2;*/
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 36px;
    text-align: center;
	/*text-align: justify;*/
	/*text-justify: inter-ideograph;*/
}

.more-product-info {
	border: 1px solid #eee;
    border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);

}

.more-product-info:hover {
	background: #660066;
	border-color: #660066;
	color: #fff;
}


.feature-text-product {
    font-size: 12px;
    color: #555;
    line-height: 1.5;
    display: -webkit-box;
    /* -webkit-line-clamp: 2; */
    /*line-clamp: 2;*/
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 36px;
    /*text-align: center;*/
    text-align: justify;
    text-justify: inter-ideograph;
}

.product-card-footer {
	grid-column: 1 / -1;
	margin-top: 0px;
	margin-right: 16px;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.info-more-wrap {
	position: relative;
	display: inline-flex;
	align-items: center;
	width: 88px;
}

.product-edit-btn {
	border-radius: 999px;
	font-size: 12px;
	padding: 8px 18px;
}

.product-edit-btn.btn-outline-secondary {
	color: #666;
	border-color: #b5b5b5;
}

.product-edit-btn.btn-outline-secondary:hover,
.product-edit-btn.btn-outline-secondary:focus {
	background: #660066;
	border-color: #660066;
	color: #fff;
}

.product-card-grid .col-md-6 {
	display: flex;
}

.product-title {
	font-weight: 600;
	color: #333;
	margin-bottom: 10px;
	font-size: 16px;
	line-height: 1.3;
}

.product-number {
	color: #666;
	font-size: 12px;
	font-weight: 500;
	margin-left: 8px;
}

.product-attributes {
	margin-bottom: 14px;
}

.attr-row {
	display: flex;
    margin-bottom: 10px;
    justify-content: space-between;
	font-size: 12px;
	line-height: 1.5;
	align-items: center;
}

.attr-label {
	font-weight: 600;
	color: #666;
	min-width: 60px;
	margin-right: 2px;
}

.attr-separator {
    /* display: none; */
	color: #ccc;
	margin-right: 2px;
	margin-left: 2px;
}

.attr-value {
    color: #333;
    flex: 1;
    text-align: left;
}

/* 资讯更多按钮 */
.btn-info-more { background: #fff; border-color: #660066; color: #660066; align-self: flex-start; font-size: 12px; border-radius: 999px; transition: all .2s ease; position: relative; z-index: 0; overflow: hidden; width: 88px;}
.btn-info-more::after { content: ""; position: absolute; inset: 0; border-radius: 999px; background: #660066; opacity: 0; transition: opacity .2s ease; z-index: -1; }
.btn-info-more:hover, .btn-info-more:focus { color: #fff; }
.btn-info-more:hover::after, .btn-info-more:focus::after { opacity: 1; }
.btn-info-more + .wechat-popup { display: none; position: absolute; z-index: 10; }
.btn-info-more.show-qr + .wechat-popup { display: block; }

/* 微信二维码弹窗 */
.wechat-popup {
	position: absolute;
	top: -140px;
	left: 50%;
	transform: translateX(-50%);
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 15px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
	z-index: 1000;
	display: none;
	width: 150px;
	text-align: center;
}

.wechat-popup.show {
	display: block;
}

.wechat-popup img {
	width: 100px;
	height: 100px;
	margin-bottom: 8px;
}

.wechat-popup .popup-text {
	font-size: 12px;
	color: #666;
	margin: 0;
}

/* 分页样式 */
.pagination .page-link {
	color: #666;
	border-color: #ddd;
	background-color: #fff;
	transition: all 0.2s ease;
}

.pagination .page-item.active .page-link {
	background: #660066;
	border-color: #660066;
	color: #fff;
}

.pagination .page-link:hover {
	color: #660066;
	background: #f8f9fa;
	border-color: #660066;
}

.pagination .page-item.disabled .page-link {
	color: #999;
	background-color: #fff;
	border-color: #ddd;
}

/* 响应式调整 */
@media (max-width: 991px) {
	.product-sidebar {
        margin-bottom: 30px;
        display: none;
	}
	
	.product-card-horizontal {
		margin-bottom: 20px;
	}
}

@media (max-width: 767px) {
	.search-filter-section .row {
		margin: 0;
	}
	
	.search-filter-section .col-md-4,
	.search-filter-section .col-md-2 {
		padding: 0 5px;
		margin-bottom: 10px;
	}
	.product-card-horizontal { grid-template-columns: 1fr; min-height: unset; height: auto; padding: 16px 14px; }
    .product-image-section { width: 100%; min-width: auto; height: auto; padding: 0; display: flex; justify-content: center; }
    .product-img { width: 70%; height: auto; margin: 0; }
	.product-info-section { padding: 0; margin-top: 12px;}
	.product-feature-block { margin-top: 0px; padding-top: 10px; padding-left: 0; }
	.product-card-footer { justify-content: flex-start; margin-top: 4px; }
	.product-attributes { margin-bottom: 0; }
	
    .attr-row { flex-direction: row; align-items: center; }
    .attr-value { text-align: left; }
	
	.attr-label {
		min-width: auto;
		margin-right: 0;
		margin-bottom: 2px;
	}
	
	/* .attr-separator {
		display: none;
	} */
}

.news-section .col-sm-6.col-md-3.col-lg-3 {
	display: flex;
}

.news-card {
	border: 1px solid #eee;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0,0,0,0.08);
	display: flex;
	flex-direction: column;
	background: #fff;
	height: 100%;
	transition: transform .2s ease, box-shadow .2s ease;
}

.news-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.news-card img {
	height: 185px;
	object-fit: cover;
}

.news-card .card-body {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	color: #333;
}

.news-card .card-text {
	color: #888;
	font-size: 13px;
	margin-bottom: 8px;
}

.news-card .card-title {
	font-size: 16px;
	font-weight: 600;
	color: #333;
	margin-bottom: 6px;
}

.news-summary {
	font-size: 13px;
	color: #666;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: 0;
}

.culture-card {
	border: 1px solid #e9ecef;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* 添加阴影效果 */
    transition: box-shadow 0.3s ease; /* 添加过渡效果 */
}

.culture-card:hover {
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* 鼠标悬停时阴影效果增强 */
}

.culture-card p {
	font-size: 13px;
	color: #666;
}

.culture-title-header {
	border: 1px solid #660066;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
	font-size: 16px;
	color: #660066;
}

.mate-card-title{
	color: #ff9900;
	font-weight: 600;
	margin-bottom: 0;
}

.work-card {
	border: 1px solid #e9ecef;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transition: box-shadow 0.3s ease;
}

.work-card:hover {
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.work-card p {
	font-size: 14px;
	color: #666;
	line-height: 1.6;
	margin-top: 15px;
	margin-bottom: 15px;
}

.work-card-img {
	height: 320px;
	object-fit: cover;
}

.active-card img{
    height: 320px;
    object-fit: cover;
}

/*.position-relative img{*/
/*    height: 320px;*/
/*    object-fit: cover;*/
/*}*/

/* 地图容器样式
.map-container {
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	margin-bottom: 30px;
}

#companyMap {
	width: 100%;
	height: 400px;
	border-radius: 8px;
}

/* 移动端地图优化 */
/* @media (max-width: 768px) {
	#companyMap {
		height: 300px;
	}
} */

/* 中国地图容器样式 */
.china-map-container {
    /* border-radius: 12px; */
    overflow: hidden;
    /* box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15); */
    margin-bottom: 30px;
    background: #fff;
    height: 720px;
}

#chinaMap {
	width: 100%;
	height: 100%;
	border-radius: 12px;
	position: relative; 
}

/* 移动端中国地图优化 */
@media (max-width: 992px) {
    .china-map-container { height: 560px; }
}
@media (max-width: 768px) {
    .china-map-container { height: 420px; }
}
@media (max-width: 576px) {
    .china-map-container { height: 360px; }
}

/* 雅道生活：小屏幕卡片间距增强 */
@media (max-width: 576px) {
	.ydlife-work .card,
	.ydlife-activity .card { margin-bottom: 16px; }
}

/* 雅道文化：小屏幕卡片间距增强 */
@media (max-width: 576px) {
	.ydlife-culture .culture-card { margin-bottom: 16px; }
}
