/* 基础盒模型重置 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #333;
  background-color: #f7f7f7; /* 背景微灰，衬托白色卡片 */
  padding: 40px 20px;
}

/* 主容器 */
.contact-container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px; /* 左右两栏的间距 */
  background-color: #fff;
  padding: 30px;
  border-radius: 4px;
}

/* 左侧栏：占 2/3 宽度 */
.left-box {
  flex: 2; /* 核心：分配 2 份空间 */
  display: flex;
  flex-direction: column;
}

/* 右侧栏：占 1/3 宽度 */
.right-box {
  flex: 1; /* 核心：分配 1 份空间 */
  display: flex;
  flex-direction: column;
}

/* 栏目全局标题 */
.section-title {
  font-size: 24px;
  font-weight: bold;
  color: #555;
  margin-bottom: 20px;
}

/* 左侧地图容器 */
.map-wrapper {
  width: 100%;
  height: 480px; /* 控制地图高度 */
  background-color: #e5e5e5;
  border: 1px solid #e0e0e0;
}

.mock-map {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 16px;
}

/* 右侧宣传图容器 */
.wechat-image-wrapper {
  width: 100%;
  border: 1px solid #e0e0e0;
  background-color: #eee;
  overflow: hidden;
  margin-bottom: 25px;
  display: flex;
}

/* 保证右侧图片等比缩放且填满容器 */
.wechat-img {
  width: 100%;
  height: auto;
  display: block;
}

/* 文字排版 */
.info-content {
  line-height: 1.6;
  font-size: 15px;
  color: #444;
}

.contact-name {
  font-size: 22px;
  font-weight: bold;
  color: #222;
  margin-bottom: 15px;
}

.address-text {
  color: #666;
  margin-bottom: 15px;
}

.info-content p {
  margin-bottom: 10px;
}

.info-content strong {
  color: #222;
}

.info-content a {
  color: #0066cc;
  text-decoration: none;
}

.info-content a:hover {
  text-decoration: underline;
}

/* 移动端自适应：屏幕宽度小于 768px 时自动变为单列堆叠 */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    padding: 15px;
    gap: 20px;
  }
  
  .map-wrapper {
    height: 300px; /* 手机端适当调矮地图高度 */
  }
}