/* 在线咨询页面专属样式 */
.main-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 30px;
  padding: 40px 0;
}

.content-area {
  min-width: 0;
}

.sidebar {
  flex-shrink: 0;
}

.sidebar-widget {
  background: #fff;
  border-radius: var(--border-radius);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-color);
}

.sidebar-widget h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.sidebar-widget h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 40px;
  height: 2px;
  background: var(--primary-color);
}

.contact-channels {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.channel-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: var(--border-radius);
  background: var(--secondary-color);
  transition: all 0.3s ease;
  color: var(--text-primary);
}

.channel-card:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateX(4px);
}

.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  color: var(--primary-color);
}

.channel-info h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}

.channel-info p {
  font-size: 13px;
  opacity: 0.8;
}

.consult-tip {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  padding: 12px;
  background: #eff6ff;
  border-radius: 6px;
  border-left: 3px solid var(--primary-color);
}

.consult-form textarea {
  min-height: 100px;
  resize: vertical;
}

/* 响应式适配 */
@media (max-width: 992px) {
  .main-layout {
    grid-template-columns: 1fr;
  }
}