/* 首页样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
}

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

a:hover {
  text-decoration: underline;
}

.btn {
  display: inline-block;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-primary {
  background-color: #0066cc;
  color: #fff;
}

.btn-primary:hover {
  background-color: #0052a3;
}

.btn-secondary {
  background-color: #e6e6e6;
  color: #333;
}

.btn-secondary:hover {
  background-color: #d4d4d4;
}

/* 顶部导航 */
.header {
  background: linear-gradient(to right, #1a365d, #2c5282);
  color: #fff;
  padding: 12px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  font-size: 36px;
}

.logo-text h1 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 2px;
}

.logo-text p {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
}

.header-buttons {
  display: flex;
  gap: 10px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

/* 移动端菜单 */
.mobile-nav {
  display: none;
  background-color: #1a365d;
  padding: 16px;
}

.mobile-nav a {
  display: block;
  color: #fff;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav a:last-child {
  border-bottom: none;
}

.mobile-nav a:hover {
  color: #90cdf4;
}

/* 快捷入口 */
.quick-links {
  background-color: #fff;
  padding: 16px 0;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
}

.quick-links .quick-link-item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 33.33%;
  padding: 12px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.quick-links .quick-link-item:hover {
  background-color: #f8fafc;
}

.quick-link-icon {
  font-size: 32px;
}

.quick-link-item span {
  font-size: 14px;
  color: #333;
}

/* 主内容区 */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  gap: 20px;
}

/* 左侧栏 */
.sidebar {
  width: 260px;
  flex-shrink: 0;
}

.sidebar-section {
  background-color: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
}

.sidebar-section h3 {
  font-size: 14px;
  font-weight: 600;
  color: #1a365d;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #0066cc;
}

.sidebar-section ul {
  list-style: none;
}

.sidebar-section ul li {
  margin-bottom: 8px;
}

.sidebar-section ul li a {
  color: #333;
  font-size: 13px;
}

.sidebar-section ul li a:hover {
  color: #0066cc;
}

.sidebar-section.notice {
  background-color: #fffbeb;
  border-color: #fef3c7;
}

.sidebar-section.notice p {
  font-size: 13px;
  color: #92400e;
  margin-bottom: 8px;
}

.notice-link {
  color: #0066cc;
  font-weight: 500;
}

/* 主内容 */
.content {
  flex: 1;
}

.section {
  background-color: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: linear-gradient(to right, #e8eef4, #d4deeb);
  border-bottom: 1px solid #c4cfdb;
}

.section-header h2 {
  font-size: 14px;
  font-weight: 600;
  color: #1a365d;
}

.more-link {
  font-size: 12px;
  color: #0066cc;
}

.news-list {
  list-style: none;
  padding: 8px 16px;
}

.news-item {
  display: flex;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed #e5e7eb;
  gap: 8px;
}

.news-item:last-child {
  border-bottom: none;
}

.news-item.featured {
  background-color: #fff8f0;
  padding: 10px 12px;
  margin: 8px -16px;
  padding-left: 16px;
}

.tag {
  background-color: #ff6b35;
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 600;
}

.bullet {
  color: #0066cc;
  font-size: 16px;
}

.news-item a {
  flex: 1;
  font-size: 13px;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.news-item.featured a {
  font-weight: 500;
}

.date {
  font-size: 12px;
  color: #8b9dc3;
  white-space: nowrap;
  margin-left: auto;
}

/* 底部 */
.footer {
  background-color: #1a365d;
  color: #fff;
  padding: 24px 0;
  margin-top: 32px;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.contact-info {
  margin-bottom: 12px;
}

.contact-info p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 4px;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 12px;
}

.copyright p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 4px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .header-content {
    flex-wrap: wrap;
  }

  .logo {
    flex: 1;
    margin-bottom: 12px;
  }

  .logo-icon {
    font-size: 28px;
  }

  .logo-text h1 {
    font-size: 16px;
  }

  .header-buttons {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
    position: absolute;
    right: 16px;
    top: 12px;
  }

  .quick-links .quick-link-item {
    width: 33.33%;
    padding: 8px;
  }

  .quick-link-icon {
    font-size: 24px;
  }

  .quick-link-item span {
    font-size: 12px;
  }

  .main-content {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
  }

  .section-header {
    padding: 10px 12px;
  }

  .section-header h2 {
    font-size: 13px;
  }

  .news-item {
    flex-wrap: wrap;
    gap: 4px;
  }

  .news-item a {
    font-size: 12px;
  }

  .date {
    font-size: 11px;
  }

  .news-item.featured {
    margin: 8px -12px;
    padding: 8px 12px;
  }

  .footer-content {
    padding: 0 12px;
  }

  .contact-info p,
  .copyright p {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 10px 0;
  }

  .logo-icon {
    font-size: 24px;
  }

  .logo-text h1 {
    font-size: 14px;
  }

  .logo-text p {
    display: none;
  }

  .quick-links {
    padding: 12px 0;
  }

  .quick-links .quick-link-item {
    padding: 6px;
  }

  .quick-link-icon {
    font-size: 20px;
  }

  .quick-link-item span {
    font-size: 11px;
  }

  .main-content {
    padding: 12px;
    gap: 12px;
  }

  .sidebar-section {
    padding: 12px;
  }

  .news-item {
    padding: 6px 0;
  }

  .news-item a {
    font-size: 11px;
  }

  .footer {
    padding: 16px 0;
  }
}
