/* =====================================================================
   Relyir 视觉优化补丁 — 2026-10-28
   作用于: /artificial-grass/ (5952) / /4m-wide-artificial-grass/ (4802) / 作者页
   ===================================================================== */

/* ---------- 1. 按钮高度统一 (Send Your Enquiry vs Request Samples) ---------- */
.commonBtn,
body.page-id-5952 a.elementor-button-link,
body.page-id-4802 a.elementor-button-link {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 30px !important;
	font-size: 15px !important;
	line-height: 1.3 !important;
	box-sizing: border-box;
	border-radius: 4px;
}

/* ---------- 2. 4m 页: banner 标题更醒目 ---------- */
body.page-id-4802 h1.elementor-heading-title {
	text-shadow: 0 2px 18px rgba(0, 0, 0, .6), 0 1px 4px rgba(0, 0, 0, .5);
}

/* ---------- 3. 4m 页: 介绍段落与 banner 拉开距离 ---------- */
body.page-id-4802 .elementor-element-1af2235 {
	margin-top: 26px;
}

/* ---------- 4. 4m 页: Why choose us 文字颜色修复 (原版 #bfbfbf 太淡) ---------- */
body.page-id-4802 .elementor-element-b4a3a69,
body.page-id-4802 .elementor-element-23c3ee11,
body.page-id-4802 .elementor-element-3c841074,
body.page-id-4802 .elementor-element-4473914a {
	color: #3a3a3a !important;
}

/* ---------- 5. 尾部间距收紧: CTA 之后紧贴 footer ---------- */
/* 4m: Why choose us 区域 + 页面尾部 */
body.page-id-4802 .elementor-element-b4a3a69 {
	padding-bottom: 30px !important;
	margin-bottom: 0 !important;
}
/* ag: CTA 蓝色区块 */
body.page-id-5952 .elementor-element-c3353b1 {
	padding-bottom: 30px !important;
	margin-bottom: 0 !important;
}
/* 作者页: CTA 区块 + 隐藏末尾空占位 section */
body.author .elementor-element-c819418 {
	padding-bottom: 30px !important;
	margin-bottom: 0 !important;
}
body.author .elementor-element-76955c2 {
	display: none;
}
/* 三页共同: 内容容器底部不再额外留白 */
body.page-id-5952 .site-content,
body.page-id-4802 .site-content,
body.author .site-content {
	padding-bottom: 0 !important;
	margin-bottom: 0 !important;
}
body.page-id-5952 .entry-content,
body.page-id-4802 .entry-content {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

/* ---------- 6. 作者页: 文章卡片现代化重设计 ---------- */
/* 网格间距 */
body.author .elementor-posts--skin-cards .elementor-grid {
	gap: 26px;
}
/* 卡片容器: 圆角 + 柔和阴影 + 悬停上浮 */
body.author .elementor-post__card {
	border-radius: 14px;
	background: #fff;
	border: 1px solid #e2eaf1 !important;
	box-shadow: 0 2px 10px rgba(16, 44, 70, .08);
	transition: transform .25s ease, box-shadow .25s ease;
	overflow: hidden;
}
body.author .elementor-post__card:hover {
	transform: translateY(-5px);
	box-shadow: 0 14px 30px rgba(16, 44, 70, .16);
}
/* 缩略图: 统一高度裁切, 消除原版照片下的灰色空块 */
body.author .elementor-post__thumbnail,
body.author .elementor-post__thumbnail__link {
	display: block;
	height: 200px;
	overflow: hidden;
}
body.author .elementor-post__thumbnail img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	transition: transform .35s ease;
}
body.author .elementor-post__card:hover .elementor-post__thumbnail img {
	transform: scale(1.05);
}
/* 隐藏空头像占位 */
body.author .elementor-post__avatar {
	display: none;
}
/* 分类徽章 */
body.author .elementor-post__badge {
	background: #1072b0;
	color: #fff;
	font-size: 12px;
	letter-spacing: .4px;
	padding: 5px 12px;
	border-radius: 3px;
}
/* 文字区 */
body.author .elementor-post__text {
	padding: 20px 22px 16px;
}
body.author .elementor-post__title {
	font-size: 19px !important;
	line-height: 1.35 !important;
	margin-bottom: 10px;
}
body.author .elementor-post__title a {
	color: #16324c !important;
	transition: color .2s;
}
body.author .elementor-post__title a:hover {
	color: #1072b0 !important;
}
body.author .elementor-post__excerpt p {
	color: #4b4f58;
	font-size: 14.5px;
	line-height: 1.7;
	margin: 0 0 12px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
body.author .elementor-post__read-more {
	color: #1072b0 !important;
	font-weight: 600;
}
body.author .elementor-post__read-more:hover {
	color: #0d5c8f !important;
}
body.author .elementor-post__meta-data {
	color: #8a94a0;
	font-size: 13px;
	border-top: 1px solid #eef2f6;
	padding-top: 12px;
	margin-top: 4px;
}
/* 分页: 药丸样式 */
body.author .elementor-pagination {
	margin: 28px 0 8px;
}
body.author .elementor-pagination .page-numbers {
	min-width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 6px;
	background: #eef3f8;
	color: #16324c !important;
	font-weight: 600;
	transition: background .2s;
}
body.author .elementor-pagination a.page-numbers:hover {
	background: #1072b0;
	color: #fff !important;
}
body.author .elementor-pagination .page-numbers.current {
	background: #1072b0;
	color: #fff !important;
}

/* ---------- 7. 区块间距收紧 (原版 150px 过大) ---------- */
body.page-id-5952 .elementor-element-5410cf75,
body.page-id-4802 .elementor-element-5410cf75 {
	margin-top: 40px !important;
}
body.page-id-5952 .elementor-element-5410cf75,
body.page-id-5952 .elementor-element-30f9c67,
body.page-id-5952 .elementor-element-67a2270,
body.page-id-5952 .elementor-element-25b7e4a,
body.page-id-5952 .elementor-element-6ea298ae,
body.page-id-4802 .elementor-element-6ea298ae {
	margin-bottom: 60px !important;
}
body.page-id-5952 .elementor-element-cba9aa9 {
	margin-top: 70px !important;
	margin-bottom: 40px !important;
}

/* ---------- 8. 4m/ag 尾部间距最终收紧 ---------- */
body.page-id-4802 .elementor-element-6ea298ae {
	padding-bottom: 30px !important;
	margin-bottom: 20px !important;
}
body.page-id-4802 .elementor-element-72a0de81 {
	padding-bottom: 0 !important;
}
body.page-id-5952 .elementor-element-45c2be51 {
	margin-bottom: 0 !important;
	padding-bottom: 30px !important;
}
