/* ESG 前台：新闻 / 报告列表卡片（用于 twentyseventeen 前页面板块内） */

.esg-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin: 0 auto;
	max-width: 1000px;
	text-align: left;
}

.esg-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.esg-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
}

.esg-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
	color: inherit;
}

.esg-card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	background: #eef2f0;
}

.esg-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.esg-card__ph {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: #fff;
	background: linear-gradient(135deg, #0f5132 0%, #0a6e8c 100%);
}

.esg-card__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 18px 20px 22px;
	flex: 1;
}

.esg-card__meta,
.esg-card__year {
	font-size: 13px;
	font-weight: 600;
	color: #7ab648;
}

.esg-card__title {
	margin: 0;
	font-size: 18px;
	line-height: 1.4;
	color: #0f5132;
}

.esg-card__excerpt {
	margin: 0;
	font-size: 14px;
	line-height: 1.7;
	color: #5b6770;
}

.esg-card__dl {
	align-self: flex-start;
	margin-top: auto;
	font-weight: 600;
	color: #0f5132;
	text-decoration: none;
}

.esg-card__dl:hover {
	color: #7ab648;
}

.esg-empty {
	text-align: center;
	color: #5b6770;
}

.esg-grid__more {
	text-align: center;
	margin-top: 32px;
}

.esg-grid__more-link {
	display: inline-block;
	padding: 12px 32px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	color: var( --esg-theme-primary, #0f5132 );
	background: transparent;
	border: 1px solid var( --esg-theme-primary, #0f5132 );
	text-decoration: none;
	transition: all 0.2s ease;
}

.esg-grid__more-link:hover {
	background: var( --esg-theme-primary, #0f5132 );
	color: #fff;
}

@media (max-width: 768px) {
	.esg-grid {
		grid-template-columns: 1fr;
	}
}
