/* ==========================================================================
   电器·智库 — 页脚公共样式
   结构：品牌 + 三列导航 → 主办/主管/出品铭牌 → 版权
   ========================================================================== */

.footer {
	position: relative;
	overflow: hidden;
	background: linear-gradient(160deg, #4a0a14 0%, var(--brand-dark) 58%, #37060d 100%);
	color: #c7adad;
	padding: 52px 24px 30px;
	margin-top: 28px;
}

/* 右上角铜色光晕，呼应刊头 */
.footer::before {
	content: "";
	position: absolute;
	top: -180px;
	right: -120px;
	width: 560px;
	height: 560px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(212, 162, 92, .12) 0%, rgba(212, 162, 92, 0) 70%);
	pointer-events: none;
}

.footer .container {
	position: relative;
	z-index: 1;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.7fr 1fr 1fr 1fr;
	gap: 40px;
}

.footer .f-brand {
	font-family: var(--serif);
	font-size: 26px;
	letter-spacing: 4px;
	color: var(--white);
}

.footer .f-brand .brand-logo {
	display: block;
	width: auto;
	height: 1.15em;
}

.footer .f-desc {
	margin-top: 14px;
	max-width: 360px;
	font-size: 13px;
	line-height: 1.95;
	color: rgba(255, 255, 255, .58);
}

.footer p {
	font-size: 13px;
	line-height: 1.9;
}

.footer p a:hover {
	color: var(--copper-light);
}

/* 关于我们文字入口 */
.f-about {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 18px;
	padding-bottom: 3px;
	border-bottom: 1px solid rgba(212, 162, 92, .4);
	font-size: 12px;
	letter-spacing: 2px;
	color: var(--copper-light);
	transition: color .2s, border-color .2s;
}

.f-about span {
	transition: transform .2s;
}

.f-about:hover {
	color: #f0d3a4;
	border-color: #f0d3a4;
}

.f-about:hover span {
	transform: translateX(4px);
}

/* 栏目标题：下方铜色短线 */
.footer h4 {
	position: relative;
	font-family: var(--serif);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 3px;
	color: var(--white);
	margin-bottom: 18px;
	padding-bottom: 11px;
}

.footer h4::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 24px;
	height: 2px;
	background: var(--copper);
}

.footer ul {
	list-style: none;
}

.footer ul li {
	margin-bottom: 9px;
}

.footer ul a {
	font-size: 13px;
	color: rgba(255, 255, 255, .62);
	transition: color .2s, padding-left .2s;
}

.footer ul a:hover {
	color: var(--copper-light);
	padding-left: 4px;
}

/* ---------- 主办单位铭牌 ---------- */
.footer-org {
	display: grid;
	grid-template-columns: 1fr auto 1fr auto 1fr;
	align-items: center;
	gap: 20px 24px;
	margin-top: 44px;
	padding: 22px 30px;
	border: 1px solid rgba(212, 162, 92, .28);
	border-radius: var(--radius);
	background:
		linear-gradient(90deg, rgba(212, 162, 92, .17) 0%, rgba(212, 162, 92, .05) 52%, rgba(212, 162, 92, 0) 100%);
}

.footer-org-seal {
	display: block;
	flex: none;
	width: 46px;
	height: 46px;
	object-fit: contain;
	background: var(--white);
	border-radius: 50%;
}

.footer-org-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}

.footer-org-main {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	min-height: 46px;
}

.footer-org-label {
	font-size: 13px;
	letter-spacing: 3px;
	color: rgba(212, 162, 92, .85);
}

.footer-org-name {
	font-family: var(--serif);
	font-size: 21px;
	font-weight: 700;
	letter-spacing: 2px;
	color: var(--white);
}

.footer-org-divider {
	width: 1px;
	height: 34px;
	background: rgba(212, 162, 92, .3);
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, .08);
	font-size: 12px;
	letter-spacing: .5px;
	color: rgba(255, 255, 255, .45);
}

.footer-bottom a {
	color: inherit;
	transition: color .2s;
}

.footer-bottom a:hover {
	color: var(--copper-light);
}

@media (max-width: 900px) {
	.footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 30px;
	}

	.footer-brand {
		grid-column: 1 / -1;
	}

	.footer-org-name {
		font-size: 18px;
	}
}

@media (max-width: 640px) {
	.footer {
		padding: 28px 16px 18px;
	}

	.footer .f-brand {
		font-size: 21px;
		letter-spacing: 3px;
	}

	.footer .f-desc {
		margin-top: 10px;
		font-size: 12.5px;
		line-height: 1.8;
	}

	.footer p {
		font-size: 12.5px;
	}

	.f-about {
		margin-top: 12px;
		font-size: 11px;
	}

	/* 品牌区独占整行（见 900px 断点），三列导航并排一行 */
	.footer-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 20px 12px;
		align-items: start;
	}

	.footer h4 {
		font-size: 13px;
		letter-spacing: 1px;
		margin-bottom: 10px;
		padding-bottom: 8px;
	}

	.footer h4::after {
		width: 18px;
	}

	.footer ul li {
		margin-bottom: 6px;
	}

	.footer ul a {
		font-size: 12px;
		white-space: nowrap;
	}

	/* 铭牌：单列 + 标签与名称同行，压缩纵向高度 */
	.footer-org {
		grid-template-columns: 1fr;
		justify-items: stretch;
		gap: 10px;
		margin-top: 22px;
		padding: 15px 16px;
	}

	.footer-org-item {
		flex-direction: row;
		align-items: center;
		flex-wrap: wrap;
		gap: 6px 10px;
	}

	.footer-org-label {
		flex: none;
		min-width: 56px;
		font-size: 12px;
		letter-spacing: 1px;
	}

	.footer-org-main {
		justify-content: flex-start;
		gap: 8px;
		min-height: 0;
	}

	.footer-org-seal {
		width: 32px;
		height: 32px;
	}

	.footer-org-name {
		font-size: 15px;
		letter-spacing: 1px;
	}

	/* 分隔线在单列排布下只占高度 */
	.footer-org-divider {
		display: none;
	}

	.footer-bottom {
		flex-direction: column;
		margin-top: 18px;
		padding-top: 14px;
		gap: 4px;
		font-size: 11px;
		line-height: 1.7;
	}
}
