/*
文件名称：footer.css
模块：页脚模块
作用：城市服务点、联系电话、邮箱、地址与版权信息
说明：从原首页内联样式拆分，整合responsive-fixes内所有页脚响应式补丁，保留原视觉与适配逻辑
========================================================== */
/* ==========================================================
   页脚样式：由 21.html 整合，选择器已加 #site-footer 作用域
   ========================================================== */
#site-footer {
	width: 100%;
	background-color: #063579;
	background-image: url("/images/foot_bg.jpg");
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	padding: 60px 0 40px;
	color: #ffffff;
	position: relative;
	z-index: 20;
}
#site-footer .footer-wrap {
	max-width: 1380px; /* 页脚安全内容显示区域：1380px */
	margin: 0 auto;
	display: flex;
	align-items: flex-start;
	gap: 60px;
	padding: 0 20px;
}
#site-footer .footer-logo {
	flex-shrink: 0;
	text-align: center;
	padding-right: 60px;
	border-right: 1px solid rgba(255,255,255,0.2);
}
#site-footer .footer-logo .logo-icon {
	font-size: 80px;
	margin-bottom: 12px;
}
#site-footer .footer-logo .logo-icon img {
	width: 128px;
	height: auto;
	display: block;
	margin: 0 auto;
}
#site-footer .footer-logo p {
	font-size: 18px;
	font-weight: 500;
}
#site-footer .footer-info {
	flex: 1;
}
#site-footer .city-row {
	display: flex;
	justify-content: space-between; /* 城市图标两端对齐 */
	align-items: center;
	gap: 20px;
	width: 100%;
	margin-bottom: 24px;
}
#site-footer .city-item {
	text-align: left;
	flex: 0 0 auto;
}
#site-footer .city-item .icon {
	font-size: 28px;
	line-height: 1;
	margin-bottom: 6px;
}
#site-footer .city-item .icon img {
	width: 100px;
	height: auto;
	display: block;
	margin: 0; /* 取消居中，让城市图标从 footer-info 左边缘开始 */
}
#site-footer .city-item p {
	font-size: 14px;
	line-height: 1.5;
}
#site-footer .tel-row {
	font-size: 20px;
	margin: 24px 0;
	padding: 16px 0;
	border-top: 1px solid rgba(255,255,255,0.2);
	border-bottom: 1px solid rgba(255,255,255,0.2);
}
#site-footer .tel-row span {
	color: #ffcc33;
	font-weight: bold;
	font-size: 22px;
}
#site-footer .email-row {
	display: flex;
	justify-content: space-between; /* 邮箱三项两端对齐 */
	align-items: center;
	gap: 24px;
	width: 100%;
	font-size: 14px;
	margin-bottom: 24px;
	line-height: 1.6;
}
#site-footer .email-row > div:nth-child(1) {
	text-align: left;
}
#site-footer .email-row > div:nth-child(2) {
	text-align: center;
}
#site-footer .email-row > div:nth-child(3) {
	text-align: right;
}
#site-footer .address-row {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
	font-size: 14px;
	line-height: 1.7;
	margin-right: 200px;
}
/* 让“北京培训基地”句尾与“文章授权转载”句尾右对齐 */
#site-footer .email-row > div:nth-child(3), #site-footer .address-row > div:nth-child(2) {
	text-align: right;
}
#site-footer .copyright {
	max-width: 1440px; /* 与页脚安全区域保持一致 */
	margin: 40px auto 0;
	padding: 24px 20px 0;
	border-top: 1px solid rgba(255,255,255,0.2);
	text-align: center;
	font-size: 13px;
	line-height: 1.7;
	color: rgba(255,255,255,0.85);
}
/* ========== 原生基础响应式（原footer自带） ========== */
@media (max-width: 1024px) {
#site-footer .footer-wrap {
	flex-direction: column;
	padding: 0 30px;
}
#site-footer .footer-logo {
	border-right: none;
	border-bottom: 1px solid rgba(255,255,255,0.2);
	padding-bottom: 30px;
	padding-right: 0;
	width: 100%;
}
#site-footer .city-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	justify-items: start;
}
#site-footer .email-row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
}
#site-footer .address-row {
	grid-template-columns: 1fr;
}
#site-footer .email-row > div:nth-child(3),  #site-footer .address-row > div:nth-child(2) {
	text-align: left;
}
}
@media (max-width: 767px) {
#site-footer {
	padding: 42px 0 30px;
}
#site-footer .footer-wrap {
	gap: 32px;
	padding: 0 20px;
}
#site-footer .footer-logo {
	padding-bottom: 24px;
}
#site-footer .footer-logo .logo-icon img {
	width: 96px;
}
#site-footer .city-row {
	grid-template-columns: repeat(2, 1fr);
	gap: 18px 12px;
	margin-bottom: 20px;
}
#site-footer .city-item .icon img {
	width: 92px;
}
#site-footer .tel-row {
	font-size: 16px;
	margin: 20px 0;
	padding: 14px 0;
}
#site-footer .tel-row span {
	font-size: 18px;
}
#site-footer .email-row,  #site-footer .address-row {
	font-size: 13px;
	gap: 10px;
}
#site-footer .copyright {
	margin-top: 28px;
	padding-top: 20px;
	font-size: 12px;
}
}
@media (max-width: 380px) {
#site-footer .city-row {
	grid-template-columns: 1fr 1fr;
	gap: 14px 8px;
}
#site-footer .city-item .icon img {
	width: 84px;
}
#site-footer .tel-row {
	font-size: 14px;
}
#site-footer .tel-row span {
	font-size: 16px;
}
}

/* ===================== 以下为从responsive-fixes.css合并进来的页脚补丁 ===================== */
/* ========== 移动端768以下 页脚统一居中规范 ========== */
@media (max-width: 768px) {
#site-footer .footer-wrap {
	padding: 0 18px;
}
#site-footer .city-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	justify-items: center;
	align-items: center;
	gap: 18px 10px;
	width: 100%;
}
#site-footer .city-item {
	width: 100%;
	text-align: center;
}
#site-footer .city-item .icon img {
	width: 84px;
	margin: 0 auto;
}
/* 移动端邮箱三行居中 */
#site-footer .email-row {
	display: grid !important;
	grid-template-columns: 1fr !important;
	gap: 8px !important;
	justify-items: center !important;
	align-items: center !important;
	text-align: center !important;
	width: 100%;
	margin-bottom: 22px;
}
#site-footer .email-row > div,  #site-footer .email-row > div:nth-child(1),  #site-footer .email-row > div:nth-child(2),  #site-footer .email-row > div:nth-child(3) {
	width: 100%;
	text-align: center !important;
}
/* 移动端整体信息居中 */
#site-footer .footer-info {
	width: 100%;
	text-align: center !important;
	display: flex;
	flex-direction: column;
	align-items: center;
}
#site-footer .tel-row,  #site-footer .address-row,  #site-footer .address-row > div,  #site-footer .address-row > div:nth-child(1),  #site-footer .address-row > div:nth-child(2) {
	width: 100%;
	text-align: center !important;
}
#site-footer .address-row {
	justify-items: center !important;
}
}
@media (max-width: 380px) {
#site-footer .city-row {
	grid-template-columns: repeat(3, 1fr);
	gap: 14px 6px;
}
#site-footer .city-item .icon img {
	width: 74px;
}
}
/* ========== PC端地址布局修正：取消200px固定间距，三栏对齐 ========== */
@media (min-width: 1025px) {
    #site-footer .email-row,
    #site-footer .address-row {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 24px !important;
        margin-right: 0 !important;
        align-items: center !important;
    }
    #site-footer .email-row > div,
    #site-footer .address-row > div {
        width: auto !important;
    }
    #site-footer .email-row > div:nth-child(1),
    #site-footer .address-row > div:nth-child(1) {
        grid-column: 1 !important;
        text-align: left !important;
    }
    #site-footer .email-row > div:nth-child(2),
    #site-footer .address-row > div:nth-child(2) {
        grid-column: 2 !important;
        text-align: left !important;
    }
    #site-footer .email-row > div:nth-child(3) {
        grid-column: 3 !important;
        text-align: left !important;
    }
}
@media (max-width: 1024px) {
#site-footer .address-row {
	width: 100% !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	margin-right: 0 !important;
}
#site-footer .address-row > div,  #site-footer .address-row > div:nth-child(1),  #site-footer .address-row > div:nth-child(2) {
	width: 100% !important;
	text-align: center !important;
}
}
/* ========== 小屏手机页脚城市图标适配 ========== */
@media (max-width: 480px) {
#site-footer .city-row {
	grid-template-columns: repeat(3, 1fr);
	gap: 14px 6px;
}
#site-footer .city-item .icon img {
	width: 74px;
}
}