.conference-wrapper {
  padding-bottom: 40px;
  min-height: 100vh;
  background: #fafbfc;
  width: 100%;
  overflow-x: hidden;
}

.banner-container {
  position: relative;
  width: 100%;
  height: 300px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: top 0.3s ease;
}

body.nav-scrolled .banner-container {
  top: 70px;
}

.conference-wrapper {
    /* padding-top: 240px; */
  padding-top: 150px;
  transition: padding-top 0.3s ease;
}

body.nav-scrolled .conference-wrapper {
  padding-top: 70px;
}

.content-container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.conference-content {
  display: flex;
  align-items: flex-start;
  width: 100%;
  max-width: 100%;
  gap: 30px;
  box-sizing: border-box;
}

.sidebar {
  width: 240px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  padding-bottom: 20px;
  flex-shrink: 0;
}

.sidebar-title {
  font-size: 20px;
  font-weight: bold;
  color: #222;
  padding: 24px 0 16px 0;
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
}

.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-list li {
  padding: 16px 0;
  text-align: center;
  color: #666;
  font-size: 16px;
  cursor: pointer;
  border-left: 4px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.sidebar-list li.active,
.sidebar-list li:hover {
  background: #f5f7fa;
  color: #1a3c8b;
  border-left: 4px solid #1a3c8b;
}

.main-content {
  flex: 1;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  padding: 40px 48px 32px 48px;
  min-width: 0;
}

.content-section {
  display: none;
  animation: fadeIn 0.4s ease;
}

.content-section.active {
  display: block;
}

.conference-list {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex: 3;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 14px;
  margin-bottom: 40px;
  box-sizing: border-box;
}

.conference-card {
  width: 360px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e5e5e5;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(60, 60, 60, 0.04);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.conference-card:hover {
  box-shadow: 0 8px 20px rgba(26, 60, 139, 0.15);
  transform: translateY(-5px);
  border-color: #1a3c8b;
}

.conference-img {
  width: 100%;
  height: 230px;
  background: #eee;
}

.conference-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.conference-title {
  font-size: 18px;
  font-weight: bold;
  margin: 16px 18px 6px;
  color: #222;
}

.conference-date {
  font-size: 14px;
  color: #888;
  margin: 0 18px 8px;
}

.conference-desc {
  font-size: 14px;
  color: #666;
  margin: 0 18px 16px;
  line-height: 1.6;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.conference-link {
  margin: 0 18px 18px;
}

.conference-link a {
  display: block;
  background: #1a3c8b;
  color: #fff;
  text-align: center;
  padding: 10px 0;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.conference-link a:hover {
  background: #2a4b9a;
  transform: translateY(-2px);
}

.conf-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.conf-pagination button {
  padding: 8px 16px;
  border: 1px solid #e0e0e0;
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.conf-pagination button.active {
  background: #1a3c8b;
  color: #fff;
  border-color: #1a3c8b;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 移除原有的横向选项卡样式 */
.conference-tabs {
  display: none;
}

/* 移动端适配 */
@media (max-width: 900px) {
  .conference-wrapper {
    padding-top: 60px;
  }

  .content-container {
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
  }

  .conference-content {
    flex-direction: column;
    width: 100%;
    gap: 20px;
  }

  .sidebar {
    width: 100%;
    order: 1;
  }

  .main-content {
    order: 2;
    padding: 24px;
    width: 100%;
    max-width: 100%;
  }

  .conference-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    width: 100%;
  }

  .conference-card {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .conference-wrapper {
    padding-top: 60px;
  }

  .banner-container {
    height: 300px;
  }

  .content-container {
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .conference-content {
    width: 100%;
    gap: 20px;
  }

  .main-content {
    padding: 20px 15px;
    width: 100%;
    max-width: 100%;
  }

  .conference-list {
    width: 100%;
    gap: 15px;
  }

  .conference-card {
    width: 100%;
    max-width: 100%;
  }

  .breadcrumb {
    padding: 15px 0;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .content-container {
    padding: 0 10px;
  }

  .main-content {
    padding: 15px 10px;
  }

  .conference-list {
    gap: 12px;
  }

  .conference-card {
    width: 100%;
    max-width: 100%;
  }

  .conference-title {
    font-size: 16px;
  }

  .conference-date {
    font-size: 13px;
  }

  .conference-desc {
    font-size: 13px;
  }
}


/* 联系我们按钮 */
#contactUs {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: auto; /* 改为自动宽度 */
  min-width: 120px; /* 设置最小宽度 */
  height: 50px; /* 调整高度 */
  background-color: #1a3c8b;
  color: white;
  border-radius: 25px; /* 调整为圆角矩形 */
  display: flex;
  flex-direction: row; /* 改为水平排列 */
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(26, 60, 139, 0.3);
  transition: all 0.3s ease;
  z-index: 1000;
  border: none;
  outline: none;
  padding: 0 20px; /* 添加内边距 */
  font-size: 16px;
  font-weight: 500;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 8px; /* 图标和文字间距 */
  text-decoration: none;
  color: inherit;
  width: 100%;
  justify-content: center;
}

#contactUs:hover {
  background-color: #2a4b9a;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(26, 60, 139, 0.4);
}

#contactUsp:active {
  transform: translateY(0);
}

#contactUs img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

/* 响应式设计 */
@media (max-width: 768px) {
  #contactUs {
    width: auto;
    height: 44px;
    min-width: 100px;
    padding: 0 16px;
    font-size: 14px;
    bottom: 20px;
    right: 20px;
  }

  #contactUs img {
    width: 18px;
    height: 18px;
  }
}