/* 金江会展公共底部横幅样式 - 以主站样式为基准 */
/* PC端Footer基本样式 */
body footer {
  background: #252525;
  padding: 60px 0 20px;
}
/* 快速链接取消下划线 */
body footer .footer-col a {
  text-decoration: none;
}
/* 关注我们按钮默认选中状态 - 红色底白色字 */
body footer .qr-switch-btn.active {
  background: #DC2626;
  border-color: #DC2626;
  color: white;
}
body footer .footer-content {
  max-width: 1800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 30px;
  padding: 0 30px;
  margin-bottom: 50px;
  align-items: flex-start;
}
body footer .footer-col {
  padding: 0 20px;
}
body footer .footer-col h4 {
  margin-bottom: 20px;
  color: white;
  font-weight: 700;
}
body footer .footer-col .contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
body footer .footer-col .contact-item,
body footer .footer-col a,
body footer .footer-col p {
  color: white;
  margin-bottom: 12px;
}
body footer .footer-col .contact-item i {
  min-width: 28px;
  color: white;
}
body footer .footer-col a {
  display: block;
}
body footer .footer-bottom {
  padding-top: 35px;
  background: transparent;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.2);
  color: white;
  font-size: 14px;
}

/* PC端字号样式 - 只在769px以上生效 */
@media (min-width: 769px) {
  body footer .footer-col h4 {
    font-size: 28px;
  }
  body footer .footer-col .contact-item,
  body footer .footer-col a,
  body footer .footer-col p {
    font-size: 18px;
  }
  body footer .footer-col .contact-item i {
    font-size: 22px;
  }
  /* PC端关注我们板块的二维码布局 - 适用于769px以上所有屏幕 */
  body footer .footer-col:nth-child(4) > div {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    justify-content: flex-start;
    margin-top: 10px;
  }
  body footer .footer-col:nth-child(4) #qrCodeContainer {
    width: 120px;
    height: 120px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    flex-shrink: 0;
  }
  body footer .footer-col:nth-child(4) #qrCodeContainer i {
    font-size: 100px;
    color: #07C160;
  }
  body footer .footer-col:nth-child(4) > div > div:last-child {
    display: flex;
    gap: 10px;
    flex-direction: column;
    justify-content: center;
    width: auto;
  }
  body footer .footer-col:nth-child(4) .qr-switch-btn {
    padding: 8px 12px;
    font-size: 14px;
    white-space: nowrap;
  }
}

/* 移动端Footer样式 - 第一个移动端样式块 */
@media (max-width: 768px) {
  body footer {
    padding: 40px 0 20px;
    background: #252525;
  }
  body footer .footer-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 0 15px;
    grid-template-columns: none;
  }
  body footer .footer-container {
    padding: 0;
  }
  body footer .footer-col {
    padding: 0;
  }
  body footer .footer-col:first-child {
    width: 100%;
    padding-right: 0;
  }
  body footer .footer-col:first-child img {
    margin-bottom: 20px;
  }
  body footer .footer-col:first-child p {
    margin-bottom: 15px;
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    line-height: 1.8;
  }
  body footer .footer-col:first-child .social-links {
    justify-content: flex-start;
    margin-top: 15px;
  }
  body footer .footer-col:first-child .social-links a {
    width: 36px;
    height: 36px;
    margin-right: 12px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
  }
  body footer .footer-col:first-child .social-links a:hover {
    background: #FFD700;
    color: #003366;
  }
  body footer .footer-col {
    width: 100%;
    margin-bottom: 0;
  }
  body footer .footer-col h4 {
    font-size: 16px;
    margin-bottom: 15px;
  }
  /* 移动端快速链接三个链接一行显示 - 左中右 */
  body footer .footer-col:nth-child(2) a {
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 8px;
  }
  body footer .footer-col a {
    font-size: 14px;
    margin-bottom: 8px;
    color: rgba(255,255,255,0.8);
  }
  body footer .footer-col .contact-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    margin-bottom: 3px;
    font-size: 11px;
    line-height: 1;
  }
  body footer .footer-col .contact-item i {
    font-size: 11px;
    width: 15px;
    height: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex-shrink: 0;
  }
  body footer .footer-col .contact-item span,
  body footer .footer-col .contact-item a {
    font-size: 11px;
    line-height: 1;
    text-decoration: none;
  }
}

/* PC端字号样式 - 只在769px以上生效 */
@media (min-width: 769px) {
  body footer .footer-col h4 {
    font-size: 28px;
    color: white;
  }
  body footer .footer-col .contact-item,
  body footer .footer-col a,
  body footer .footer-col p {
    font-size: 18px;
    color: white;
  }
  body footer .footer-col .contact-item i {
    font-size: 22px;
    color: white;
  }
  /* PC端关注我们板块的二维码布局 - 适用于769px以上所有屏幕 */
  body footer .footer-col:nth-child(4) .qr-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    justify-content: flex-start;
    margin-top: 10px;
  }
  body footer .footer-col:nth-child(4) #qrCodeContainer {
    width: 120px;
    height: 120px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    flex-shrink: 0;
  }
  body footer .footer-col:nth-child(4) #qrCodeContainer i {
    font-size: 100px;
    color: #07C160;
  }
  body footer .footer-col:nth-child(4) .qr-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    width: auto;
  }
  body footer .footer-col:nth-child(4) .qr-switch-btn {
    padding: 8px 12px;
    font-size: 14px;
    white-space: nowrap;
  }
}

/* 媒体查询覆盖 */
@media (min-width: 1201px) {
  body footer .footer-content {
    gap: 30px;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    align-items: flex-start;
  }
  body footer .footer-col {
    padding: 0 20px;
  }
  /* 快速链接板块往右移动50px */
  body footer .footer-col:nth-child(2) {
    margin-left: 50px;
  }
  body footer .footer-col:nth-child(4) {
    padding: 0 0 0 20px;
  }
  /* 关注我们板块的二维码布局 */
  body footer .footer-col:nth-child(4) > div {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: flex-start;
    margin-top: 10px;
  }
  body footer .footer-col:nth-child(4) #qrCodeContainer {
    width: 120px;
    height: 120px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    flex-shrink: 0;
  }
  body footer .footer-col:nth-child(4) #qrCodeContainer i {
    font-size: 100px;
    color: #07C160;
  }
  body footer .footer-col:nth-child(4) > div > div:last-child {
    display: flex;
    gap: 10px;
    flex-direction: column;
    justify-content: center;
    width: auto;
  }
  body footer .footer-col:nth-child(4) .qr-switch-btn {
    padding: 8px 12px;
    font-size: 14px;
    white-space: nowrap;
  }
}

/* 移动端Footer样式 - 第二个移动端样式块（包含电话号码特殊微调）*/
@media (max-width: 768px) {
  body footer {
    padding: 40px 0 20px;
    background: #252525;
  }
  body footer .footer-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 0 15px;
    grid-template-columns: none;
  }
  body footer .footer-container {
    padding: 0;
  }
  body footer .footer-col {
    padding: 0;
  }
  body footer .footer-col:first-child {
    width: 100%;
    padding-right: 0;
  }
  body footer .footer-col:first-child img {
    margin-bottom: 20px;
  }
  body footer .footer-col:first-child p {
    margin-bottom: 15px;
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    line-height: 1.8;
  }
  body footer .footer-col:first-child .social-links {
    justify-content: flex-start;
    margin-top: 15px;
  }
  body footer .footer-col:first-child .social-links a {
    width: 36px;
    height: 36px;
    margin-right: 12px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
  }
  body footer .footer-col:first-child .social-links a:hover {
    background: #FFD700;
    color: #003366;
  }
  body footer .footer-col {
    width: 100%;
    margin-bottom: 0;
  }
  body footer .footer-col h4 {
    font-size: 16px;
    margin-bottom: 15px;
  }
  /* 移动端快速链接三个链接一行显示 - 左中右 */
  body footer .footer-col:nth-child(2) a {
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 8px;
  }
  body footer .footer-col a {
    font-size: 14px;
    margin-bottom: 8px;
    color: rgba(255,255,255,0.8);
  }
  body footer .footer-col .contact-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    margin-bottom: 3px;
    font-size: 11px;
    line-height: 1;
  }
  body footer .footer-col .contact-item i {
    font-size: 11px;
    width: 15px;
    height: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex-shrink: 0;
  }
  body footer .footer-col .contact-item span,
  body footer .footer-col .contact-item a {
    font-size: 11px;
    line-height: 1;
    text-decoration: none;
  }
  body footer .footer-col .qr-switch-btn {
    font-size: 11px;
    padding: 5px 8px;
    white-space: nowrap;
  }
  body footer .footer-bottom {
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.2);
    background: transparent;
    text-align: center;
    font-size: 11px;
    color: rgba(255,255,255,0.7);
  }
  body footer .footer-col:nth-child(4) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 0;
  }
  body footer .footer-col:nth-child(4) h4 {
    margin-bottom: 8px;
  }
  /* 移动端关注我们板块 - 二维码和按钮横向排列 */
  body footer .footer-col:nth-child(4) > div {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-top: 0;
  }
  body footer .footer-col:nth-child(4) #qrCodeContainer {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
  }
  body footer .footer-col:nth-child(4) #qrCodeContainer i {
    font-size: 60px;
    color: #07C160;
  }
  /* 移动端关注我们 - 按钮容器上下排列 */
  body footer .footer-col:nth-child(4) > div > div:last-child {
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  body footer .footer-col:nth-child(4) .qr-switch-btn {
    font-size: 11px;
    padding: 5px 5px;
    white-space: nowrap;
    width: 100%;
    min-width: 0;
    text-align: center;
    justify-content: center;
    display: flex;
    align-items: center;
  }
}

/* ==================== 底部横幅二维码切换按钮 - 扁平化风格 ==================== */
/* 无立体感、无阴影、8px圆角、未选中#6B7280、选中#DC2626 */
body footer .qr-switch-btn {
  background-color: #6B7280;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s;
  box-shadow: none;
  text-shadow: none;
  background-image: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
}

body footer .qr-switch-btn:hover {
  background-color: #4B5563;
}

body footer .qr-switch-btn.active {
  background-color: #DC2626;
}

body footer .qr-switch-btn.active:hover {
  background-color: #B91C1C;
}

/* 移动端按钮样式调整 */
@media (max-width: 768px) {
  body footer .qr-switch-btn {
    padding: 6px 12px;
    font-size: 12px;
  }
}
