/* 永佳科技 定制样式（覆盖模板 style.css） */

/* ---------- Logo ---------- */
.hw-logo { height: 80px; display: flex; align-items: center; }
.hw-logo .logo { height: 54px; width: auto; }
.hw-logo .logo-text {
	margin-left: 10px;
	font-size: 24px;
	font-weight: bold;
	letter-spacing: 2px;
	color: #1b1b1b;
	line-height: 1;
}

/* ---------- 内页顶部横图 ---------- */
.toppic {
	background: #0b3a66 url(../img/yj-banner.jpg) no-repeat center center;
	background-size: cover;
}

/* ---------- 去掉链接后的标题，保持原样式 ---------- */
.part-title .part-title-static { color: inherit; display: block; }

/* ---------- 首页 ---------- */
.home-intro { padding: 10px 0 40px; }
.home-intro p {
	font-size: 15px;
	line-height: 2;
	color: #555;
	text-indent: 2em;
	margin: 0 0 12px;
}
.customer-case-content .case-img1 img { width: 100%; display: block; }

/* ---------- 通用文字排版块 ---------- */
.yj-article { max-width: 1120px; margin: 0 auto; padding: 40px 20px 60px; color: #444; }
.yj-article h2 {
	font-size: 22px;
	color: #0086da;
	border-left: 4px solid #0086da;
	padding-left: 12px;
	margin: 36px 0 16px;
}
.yj-article h2:first-child { margin-top: 0; }
.yj-article h3 { font-size: 17px; color: #333; margin: 22px 0 8px; }
.yj-article p { font-size: 15px; line-height: 2; margin: 0 0 10px; text-indent: 2em; }
.yj-article p.lead { font-size: 16px; color: #333; }
.yj-article ul.yj-list { padding-left: 0; list-style: none; margin: 0 0 10px; }
.yj-article ul.yj-list li {
	font-size: 15px;
	line-height: 2;
	padding-left: 1.4em;
	position: relative;
}
.yj-article ul.yj-list li:before {
	content: "";
	position: absolute;
	left: 4px;
	top: 0.85em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #0086da;
}
.yj-article .feedback {
	background: #f4f9fd;
	border-left: 3px solid #0086da;
	padding: 12px 16px;
	margin: 10px 0 0;
	text-indent: 0;
}

/* ---------- 关于我们 ---------- */
.company-intro { margin: 0 auto; max-width: 900px; text-align: left; padding: 0 20px; }
.company-intro p { font-size: 15px; line-height: 2; text-indent: 2em; color: #555; }
.company-intro h4 { font-size: 17px; color: #0086da; margin: 26px 0 8px; }
.company-intro ul { list-style: none; padding: 0; margin: 0; }
.company-intro li { font-size: 15px; line-height: 2; color: #555; }
.contact-us div img.yj-map { width: 90%; border-radius: 6px; box-shadow: 0 2px 12px rgba(0,0,0,.1); }

/* ---------- 企业文化 ---------- */
.culture-grid { display: flex; flex-wrap: wrap; margin: 0 -12px; }
.culture-card {
	box-sizing: border-box;
	width: calc(50% - 24px);
	margin: 12px;
	background: #fff;
	border: 1px solid #e8eef3;
	border-top: 4px solid #0086da;
	border-radius: 6px;
	padding: 26px 28px;
	box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
.culture-card .num { font-size: 13px; color: #9bb4c8; letter-spacing: 2px; }
.culture-card h3 { font-size: 20px; color: #0086da; margin: 4px 0 6px; }
.culture-card .slogan { font-size: 16px; font-weight: bold; color: #333; margin-bottom: 10px; }
.culture-card p { font-size: 14px; line-height: 1.9; color: #555; margin: 0 0 6px; }
.culture-card ul { list-style: none; padding: 0; margin: 0; }
.culture-card li { font-size: 14px; line-height: 1.9; color: #555; margin-bottom: 4px; }
.culture-card li b { color: #333; }
@media only screen and (max-width: 760px) {
	.culture-card { width: 100%; }
}

/* ---------- 解决方案：去掉链接后的鼠标样式 ---------- */
.solutions-content-ul li { cursor: default; }

/* ---------- 新闻列表 ---------- */
.yj-news { max-width: 1120px; margin: 0 auto; padding: 30px 20px 60px; }
.yj-news-item {
	display: block;
	padding: 22px 24px;
	border-bottom: 1px dashed #dde3e8;
	color: #444;
	transition: background .2s;
}
.yj-news-item:hover { background: #f4f9fd; color: #444; }
.yj-news-item h3 { font-size: 18px; margin: 0 0 8px; color: #222; }
.yj-news-item:hover h3 { color: #0086da; }
.yj-news-item .summary { font-size: 14px; line-height: 1.8; color: #777; margin: 0 0 10px; }
.yj-meta { font-size: 13px; color: #999; }
.yj-meta span { margin-right: 22px; white-space: nowrap; }
.yj-meta i { margin-right: 4px; }
.yj-meta .tag { color: #0086da; }
.yj-meta .hits-num { color: #e8590c; font-weight: bold; }

/* ---------- 新闻详情 ---------- */
.yj-news-detail { max-width: 900px; margin: 0 auto; padding: 40px 20px 60px; }
.yj-news-detail h1 { font-size: 24px; text-align: center; color: #222; margin: 0 0 14px; line-height: 1.5; }
.yj-news-detail .yj-meta { text-align: center; padding-bottom: 16px; border-bottom: 1px solid #e5e5e5; margin-bottom: 26px; }
.yj-news-detail .body p { font-size: 15px; line-height: 2; text-indent: 2em; color: #444; margin: 0 0 12px; }
.yj-news-detail .back { display: inline-block; margin-top: 30px; color: #0086da; }

@media only screen and (max-width: 640px) {
	.hw-logo .logo { height: 44px; }
	.hw-logo .logo-text { font-size: 20px; }
	.yj-article h2 { font-size: 19px; }
}

/* ---------- 新闻：封面图与正文图片 ---------- */
.yj-news-item.has-cover { display: flex; align-items: flex-start; }
.yj-news-cover {
	width: 200px;
	height: 130px;
	object-fit: cover;
	border-radius: 4px;
	margin-right: 22px;
	flex-shrink: 0;
}
.yj-news-text { flex: 1; min-width: 0; }
.yj-news-detail .body h2 { font-size: 19px; color: #222; margin: 28px 0 12px; }
.yj-news-detail .body figure { margin: 20px 0; text-align: center; }
.yj-news-detail .body figure img { max-width: 100%; height: auto; border-radius: 4px; }
.yj-news-detail .body figcaption { font-size: 13px; color: #888; margin-top: 8px; }
@media only screen and (max-width: 640px) {
	.yj-news-item.has-cover { display: block; }
	.yj-news-cover { width: 100%; height: 180px; margin: 0 0 12px; }
}

/* logo 可点击返回首页 */
a.hw-logo, a.hw-logo:hover, a.hw-logo:focus { text-decoration: none; }
a.hw-logo:hover .logo-text { color: #0086da; }
