/* 机构地址页面专属样式 */

/* Banner背景 */
.address-banner {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
  position: relative;
}
.address-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1569336415962-a4bd9f69cd83?w=1920&h=400&fit=crop') center/cover;
  opacity: 0.15;
}
.address-banner .container {
  position: relative;
  z-index: 1;
}

/* 地址展示卡片 */
.address-showcase {
  margin-top: -40px;
  position: relative;
  z-index: 10;
  margin-bottom: 40px;
}
.address-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.12);
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.address-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  flex-shrink: 0;
}
.address-info {
  flex: 1;
  min-width: 280px;
}
.address-info h2 {
  font-size: 20px;
  color: #1a1a1a;
  margin-bottom: 8px;
  font-weight: 600;
}
.detail-address {
  font-size: 18px;
  color: #2563eb;
  font-weight: 600;
  margin-bottom: 6px;
}
.address-note {
  font-size: 14px;
  color: #666;
}
.address-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* 地图区域 */
.map-section {
  margin-bottom: 50px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.map-container {
  position: relative;
  background: #e5e7eb;
}
.map-container img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}
.map-marker {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  text-align: center;
}
.marker-pin {
  font-size: 48px;
  display: block;
  animation: bounce 2s infinite;
}
.marker-label {
  background: #f97316;
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
  display: inline-block;
  margin-top: 4px;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* 交通指引 */
.traffic-guide {
  margin-bottom: 50px;
}
.section-title {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 28px;
  text-align: left;
  padding-bottom: 12px;
  border-bottom: 2px solid #f5f7fa;
}
.section-title span {
  position: relative;
  padding-bottom: 12px;
  border-bottom: 3px solid #2563eb;
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.guide-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 24px;
  display: flex;
  gap: 16px;
  transition: all 0.3s ease;
}
.guide-item:hover {
  border-color: #2563eb;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.1);
  transform: translateY(-2px);
}
.guide-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}
.guide-icon.metro {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}
.guide-icon.bus {
  background: linear-gradient(135deg, #10b981, #059669);
}
.guide-icon.car {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}
.guide-icon.parking {
  background: linear-gradient(135deg, #f97316, #ea580c);
}
.guide-item h3 {
  font-size: 17px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 10px;
}
.guide-content {
  flex: 1;
  font-size: 14px;
  color: #555;
  line-height: 1.8;
}
.guide-content p {
  margin-bottom: 6px;
}

/* 温馨提示 */
.visit-tips {
  margin-bottom: 50px;
}
.tips-card {
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  border: 1px solid #fdba74;
  border-radius: 12px;
  padding: 28px 32px;
}
.tips-card h3 {
  font-size: 18px;
  color: #c2410c;
  margin-bottom: 16px;
  font-weight: 600;
}
.tips-list {
  margin-bottom: 20px;
}
.tips-list li {
  font-size: 14px;
  color: #7c2d12;
  line-height: 1.8;
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}
.tips-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #f97316;
  font-weight: bold;
}
.tips-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid #fed7aa;
}
.tips-contact p {
  font-size: 15px;
  color: #7c2d12;
}
.phone-link {
  color: #f97316;
  font-weight: 600;
  font-size: 18px;
}

/* 相关资讯区域 */
.related-info {
  margin-bottom: 60px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

/* 文章列表调整 - 此页面用网格布局 */
.related-info .list-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.related-info .article-card {
  flex-direction: column;
  margin-bottom: 0;
}
.related-info .article-card .card-thumb {
  width: 100%;
  height: 180px;
}

/* 响应式 */
@media (max-width: 768px) {
  .address-showcase {
    margin-top: -20px;
  }
  .address-card {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }
  .address-info {
    min-width: 100%;
  }
  .address-actions {
    width: 100%;
    justify-content: center;
  }
  .map-container img {
    height: 250px;
  }
  .marker-label {
    font-size: 12px;
    padding: 4px 12px;
  }
  .guide-grid {
    grid-template-columns: 1fr;
  }
  .guide-item {
    padding: 20px;
  }
  .tips-card {
    padding: 20px;
  }
  .tips-contact {
    flex-direction: column;
    text-align: center;
  }
  .related-info .list-content {
    grid-template-columns: 1fr;
  }
  .section-title {
    font-size: 20px;
  }
}