/* 详情页：左右两栏，左图与右侧信息卡等高，详细介绍在下方 */

.info-page-wrap {
	width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 360px;
	grid-template-rows: auto auto;
	gap: 30px;
	padding: 20px 0 30px;
	text-align: left;
}

/* 左侧上：图区，主图放大显示 */
.info-page-gallery {
	grid-column: 1;
	grid-row: 1;
	display: flex;
	flex-direction: column;
	min-height: 720px;
	height: 100%;
}

.info-page-intro-wrap {
	grid-column: 1;
	grid-row: 2;
}

.info-page-intro-wrap .info-page-intro {
	margin-bottom: 20px;
}

/* 缩略图在上方，横排 */
.info-page-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 12px;
	flex-shrink: 0;
}

.info-thumb {
	display: block;
	width: 66px;
	height: 63px;
	border: 2px solid transparent;
	border-radius: 4px;
	overflow: hidden;
	transition: border-color 0.2s, transform 0.2s;
}

.info-thumb:hover,
.info-thumb.currentt {
	border-color: #bf1313;
}

.info-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* 主图：大图展示，填满图区 */
.info-page-mainimg {
	flex: 1;
	min-height: 640px;
	width: 100%;
	background: #f5f5f5;
	border-radius: 8px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.info-page-mainimg img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
}

/* 详细介绍 */
.info-page-intro {
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 8px;
	padding: 20px 24px;
	margin-bottom: 20px;
}

.info-intro-title {
	font-size: 18px;
	font-weight: 700;
	color: #C11C1C;
	text-align: center;
	margin: 0 0 16px 0;
	padding-bottom: 12px;
	border-bottom: 3px solid #eee;
}

.info-intro-content {
	font-size: 15px;
	line-height: 1.8;
	color: #555;
	word-wrap: break-word;
}

.info-intro-content img {
	max-width: 100%;
	height: auto;
}

.info-page-notice {
	padding: 12px 16px;
	background: #f7f7f7;
	border-radius: 8px;
	font-size: 14px;
	color: #666;
	line-height: 1.6;
}

/* 右侧：固定不动，与左侧图区同一行等高 */
.info-page-right {
	grid-column: 2;
	grid-row: 1 / -1;
	position: sticky;
	top: 20px;
	align-self: start;
}

.info-side-card {
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 8px;
	padding: 24px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.info-side-title {
	font-size: 20px;
	font-weight: 700;
	color: #333;
	line-height: 1.4;
	margin: 0 0 20px 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.info-side-meta {
	margin: 0 0 20px 0;
	padding: 0;
	list-style: none;
}

.info-side-meta dt {
	font-size: 13px;
	color: #999;
	margin-bottom: 4px;
}

.info-side-meta dd {
	font-size: 15px;
	color: #333;
	margin: 0 0 14px 0;
	padding: 0;
}

.info-side-meta dd:last-of-type {
	margin-bottom: 0;
}

.info-side-contact-link {
	color: #bf1313;
	text-decoration: none;
}

.info-side-contact-link:hover {
	text-decoration: underline;
}

/* 联系我们 + 收藏 */
.info-side-actions {
	display: flex;
	gap: 12px;
	margin: 24px 0 20px 0;
}

.info-btn-contact,
.info-btn-fav {
	display: inline-block;
	padding: 12px 24px;
	font-size: 15px;
	border-radius: 6px;
	text-decoration: none;
	text-align: center;
	transition: opacity 0.2s;
}

.info-btn-contact {
	background: #bf1313;
	color: #fff;
	border: 1px solid #bf1313;
}

.info-btn-contact:hover {
	opacity: 0.9;
	color: #fff;
}

.info-btn-fav {
	background: #fff;
	color: #bf1313;
	border: 1px solid #bf1313;
}

.info-btn-fav:hover {
	background: #fff5f5;
	color: #bf1313;
}

/* 发布人 */
.info-side-publisher {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid #eee;
	text-align: left;
	display: flex;
}

.info-publisher-avatar {
	width: 64px;
	height: 64px;
	margin: 0 auto 10px;
	border-radius: 50%;
	overflow: hidden;
	background: #eee;
}

.info-publisher-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.info-publisher-label {
	font-size: 13px;
	color: #999;
	margin-bottom: 4px;
}

.info-publisher-name {
	font-size: 15px;
	font-weight: 600;
	color: #333;
}

.info-publisher-name a {
	color: #333;
	text-decoration: none;
}

.info-publisher-name a:hover {
	color: #bf1313;
}

.info-page-foot-tip {
	width: 1200px;
	margin: 0 auto;
	padding: 12px 0;
	font-size: 14px;
	color: #999;
	line-height: 1.5;
}
