/* 顶部快速通道样式 */
.quick-access-bar {
  background-color: #0066cc;
  color: white;
  padding: 8px 0;
  position: relative;
  z-index: 999;
}

.quick-access-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}

.contact-info span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.quick-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.quick-action-link {
  color: white;
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.3s ease;
}

.quick-action-link:hover {
  color: white;
  opacity: 0.8;
}

/* 语言切换器样式 */
.language-switcher {
  position: relative;
}

.language-switcher .dropdown-toggle {
  color: white;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.language-switcher .dropdown-toggle:focus {
  outline: none;
  box-shadow: none;
}

.language-switcher .dropdown-menu {
  min-width: 120px;
  margin-top: 8px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.language-switcher .dropdown-item {
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  transition: background-color 0.2s ease;
}

.language-switcher .dropdown-item:hover {
  background-color: #f8f9fa;
}

/* 新闻详情页样式 */
.news-details {
  position: relative;
}

.news-categories {
  margin-bottom: 24px;
}

.news-title {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 24px;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 32px;
}

.news-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #6c757d;
}

.news-cover {
  margin-bottom: 32px;
}

.news-cover img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.news-content {
  font-size: 16px;
  line-height: 1.8;
  color: #343a40;
}

.news-content p {
  margin-bottom: 20px;
}

.news-content h2, .news-content h3 {
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
}

.news-content img {
  max-width: 100%;
  height: auto;
  margin: 20px 0;
  border-radius: 4px;
}

.news-tags {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #f0f0f0;
}

.news-share {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #f0f0f0;
}

.news-share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.news-share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 相关新闻样式 */
.related-news {
  margin-top: 48px;
  padding: 32px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.related-news h3 {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
  font-weight: 700;
}

.related-news-item {
  transition: transform 0.3s ease;
}

.related-news-item:hover {
  transform: translateY(-5px);
}

.related-news-image {
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 16px;
}

.related-news-image img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.related-news-item:hover .related-news-image img {
  transform: scale(1.1);
}

.related-news-title {
  font-weight: 600;
}

.related-news-title a {
  color: #343a40;
  text-decoration: none;
  transition: color 0.3s ease;
}

.related-news-title a:hover {
  color: #0066cc;
}

/* 热门新闻侧边栏样式 */
.hot-news {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.hot-news h3 {
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
  font-weight: 700;
}

.hot-news-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.hot-news-item:last-child {
  margin-bottom: 0;
}

.hot-news-rank {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f8f9fa;
  color: #6c757d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.hot-news-item:hover .hot-news-rank {
  background: #0066cc;
  color: white;
}

.hot-news-content {
  flex: 1;
}

.hot-news-title {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.5;
}

.hot-news-title a {
  color: #343a40;
  text-decoration: none;
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hot-news-title a:hover {
  color: #0066cc;
}

.hot-news-date {
  font-size: 12px;
  color: #adb5bd;
  margin-top: 4px;
}

/* 联系咨询卡片样式 */
.contact-consult {
  background: #0066cc;
  color: white;
  border-radius: 12px;
  padding: 24px;
  margin-top: 24px;
}

.contact-consult h3 {
  font-weight: 700;
  margin-bottom: 16px;
}

.contact-consult p {
  opacity: 0.9;
  margin-bottom: 24px;
}

.contact-consult a {
  display: block;
  width: 100%;
  padding: 12px 24px;
  background: white;
  color: #0066cc;
  text-align: center;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-consult a:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 证书归档页样式 */
.certificate-filter {
  background: white;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.certificate-filter h3 {
  margin-bottom: 20px;
  font-weight: 700;
}

.certificate-type-filter, .certificate-agency-filter {
  margin-bottom: 20px;
}

.certificate-type-filter:last-child {
  margin-bottom: 0;
}

.certificate-type-filter h4, .certificate-agency-filter h4 {
  margin-bottom: 12px;
  font-weight: 600;
  font-size: 14px;
}

.certificate-type-filter label, .certificate-agency-filter label {
  display: block;
  padding: 8px 0;
  cursor: pointer;
  font-size: 14px;
  transition: color 0.3s ease;
}

.certificate-type-filter label:hover, .certificate-agency-filter label:hover {
  color: #0066cc;
}

.certificate-item {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.certificate-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.certificate-image {
  overflow: hidden;
  height: 200px;
}

.certificate-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.certificate-item:hover .certificate-image img {
  transform: scale(1.05);
}

.certificate-info {
  padding: 20px;
}

.certificate-name {
  font-weight: 700;
  margin-bottom: 8px;
}

.certificate-details {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}

.certificate-detail-item {
  display: flex;
  margin-bottom: 8px;
  font-size: 14px;
}

.certificate-detail-item:last-child {
  margin-bottom: 0;
}

.certificate-detail-label {
  color: #6c757d;
  margin-right: 8px;
  min-width: 80px;
}

/* 团队成员归档页样式 */
.team-filter {
  background: white;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.team-filter h3 {
  margin-bottom: 20px;
  font-weight: 700;
}

.team-department-filter, .team-position-filter {
  margin-bottom: 20px;
}

.team-department-filter h4, .team-position-filter h4 {
  margin-bottom: 12px;
  font-weight: 600;
  font-size: 14px;
}

.team-department-filter label, .team-position-filter label {
  display: block;
  padding: 8px 0;
  cursor: pointer;
  font-size: 14px;
  transition: color 0.3s ease;
}

.team-department-filter label:hover, .team-position-filter label:hover {
  color: #0066cc;
}

.team-member {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.team-member-photo {
  overflow: hidden;
  height: 240px;
}

.team-member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-member:hover .team-member-photo img {
  transform: scale(1.05);
}

.team-member-info {
  padding: 20px;
  text-align: center;
}

.team-member-name {
  font-weight: 700;
  margin-bottom: 4px;
}

.team-member-position {
  color: #0066cc;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 14px;
}

.team-member-department {
  color: #6c757d;
  font-size: 14px;
  margin-bottom: 16px;
}

/* 响应式设计 */
@media (max-width: 991px) {
  .quick-access-bar .container {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  
  .contact-info, .quick-actions {
    justify-content: center;
  }
  
  .news-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 767px) {
  .contact-info {
    flex-direction: column;
    gap: 8px;
  }
  
  .quick-actions {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
  
  .news-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
}