* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  background-color: #f5f5f5;
  color: #333;
  font-size: 14px;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: #333;
  transition: color 0.2s;
}

a:hover {
  color: #4e8cee;
}

.container {
  width: 1200px;
  margin: 0 auto;
}

/* 顶部栏 */
.top-bar {
  background-color: #fff;
  padding: 8px 0;
}

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

.top-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 128px;
  height: 40px;
  margin:10px;
}

.site-name {
  font-size: 12px;
  color: #999;
}

.top-center {
  display: flex;
  align-items: center;
  gap: 0px;
  font-size: 12px;
  flex-grow: 1;
  justify-content: flex-end;
  padding-right: 100px;
}

/* 天气iframe容器只占实际需要的空间 */
.top-center > div:first-child {
  width: auto;
  flex-shrink: 0;
  display: inline-block;
}

/* 天气iframe缩放样式 */
.weather-iframe {
  transform: scale(0.8); /* 同比缩小20%，核心属性 */
  transform-origin: center center; /* 以iframe中心为缩放点，避免偏移 */
  width: 470px; /* 保留原宽度，缩放基于原尺寸计算 */
  height: 40px; /* 保留原高度，保证比例 */
}

/* 日期信息左对齐，紧跟天气 */
.date-info {
  display: flex;
  gap: 15px;
  flex-shrink: 0;
}

.location {
  color: #666;
}

.weather {
  display: flex;
  align-items: center;
  gap: 8px;
}

.weather-icon {
  width: 20px;
  height: 20px;
}

.weather-today,
.weather-tomorrow {
  color: #666;
}

.forecast-link {
  background-color: #4e8cee;
  color: #fff;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 11px;
}



.date-info .head-item-calendar-area > div {
  display: flex;
  gap: 12px;
}

.date,
.lunar {
  color: #666;
}

.almanac {
  color: #666;
}

.top-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.search-dropdown select {
  padding: 2px 4px;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 12px;
}

.quick-link {
  padding: 4px 12px;
  background-color: #f0f0f0;
  border-radius: 3px;
  font-size: 12px;
}

/* 搜索栏 */
.search-section {
  background-color: #fff;
  padding: 20px 0;
}

/* 内容主体区 */
.main-content {
  /* background-color: #fff; */
  margin-top: 20px;
  padding: 20px 0;
}

/* 大分类标签导航 */
.category-tag-nav {
  background-color: #fff;
  padding: 8px;
  border-radius: 8px;
  margin-bottom: 15px;
}

.category-tags {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.category-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  margin-bottom: 0;
}

.group-title {
  font-size: 12px;
  font-weight: bold;
  color: #333;
  white-space: nowrap;
  min-width: 65px;
}

.sub-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  flex: 1;
}

.category-tag {
  display: inline-block;
  padding: 2px 6px;
  background-color: #f5f5f5;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 10px;
  color: #333;
  border: 1px solid transparent;
  white-space: nowrap;
}

.category-tag:hover {
  background-color: #e8f0fe;
  border-color: #4e6ef2;
}

.category-tag.active {
  background-color: #4e6ef2;
  color: #fff;
  border-color: #4e6ef2;
}

.website-categories {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
}

.category-section {
  margin-bottom: 30px;
}

.category-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #03A9F4;
}

.website-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.website-links a {
  display: inline-block;
  padding: 8px 16px;
  background-color: #f5f5f5;
  border-radius: 4px;
  color: #333;
  text-decoration: none;
  transition: all 0.2s;
  font-size: 14px;
}

.website-links a:hover {
  background-color: #4e6ef2;
  color: #fff;
}

/* 底部版权信息 */
.footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  margin-top: 30px;
}

.footer .container {
  width: 1200px;
  margin: 0 auto;
}

.copyright {
  font-size: 12px;
  color: #999;
}

.search-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.search-left {
  flex: 1;
}

.search-center {
  display: flex;
  align-items: center;
  gap: 15px;
}

.search-logo {
  width: 120px;
  height: auto;
  padding-bottom: 10px;
}

.search-box {
  display: flex;
  align-items: center;
}

.search-box input {
  width: 480px;
  padding: 12px 15px;
  border: 2px solid #4e6ef2;
  border-right: none;
  border-radius: 10px 0 0 10px;
  font-size: 14px;
  outline: none;
}

.search-btn {
  padding: 12px 30px;
  background-color: #4e6ef2;
  color: #fff;
  border: none;
  border-radius: 0 10px 10px 0;
  font-size: 15px;
  cursor: pointer;
  font-weight: bold;
}

.search-btn:hover {
  background-color: #4e6ef2;
}

.search-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 40px;
}

.news-scroll {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}

.news-label {
  background-color: #ff4d4f;
  color: #fff;
  padding: 0px 4px;
  border-radius: 3px;
  white-space: nowrap;
}

.news-content {
  color: #666;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 快速跳转网址 */
.nav-bar {
  background-color: #fff;
  padding: 5px 10px;
  margin: 15px auto 0;
  border-radius: 8px;
  width: 1200px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
}

.nav-bar a {
  font-size: 14px;
  color: #555;
  padding: 5px 10px;
  margin: 2px 0;
}

.nav-bar a:hover {
  color: #4e8cee;
}

/* 快捷入口区 */
.quick-entrance {
  background-color: #fff;
  margin: 15px auto 0;
  padding: 20px;
  border-radius: 8px;
  width: 1200px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.entrance-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
  width: 100%;
}

.entrance-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  padding: 10px 8px;
  border-radius: 6px;
  transition: all 0.3s;
  gap: 6px;
}

.entrance-item:hover {
  background-color: #f5f5f5;
  transform: translateY(-2px);
}

.entrance-item img {
  width: 16px;
  height: 16px;
  margin-bottom: 0;
}

.entrance-item span {
  font-size: 16px;
  color: #555;
}

.entrance-item span.highlight-red {
  color: #ff4d4f;
  font-weight: 600;
}

/* 分类导航区 */
.category-nav {
  background-color: #fff;
  margin: 15px auto 0;
  padding: 20px;
  border-radius: 8px;
  width: 1200px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.category-wrapper {
  position: relative;
  width: 100%;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 15px;
}

.category-item {
  padding: 10px 15px;
  border-radius: 6px;
  background-color: #fafafa;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.category-item h3 {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 0;
  margin-top: 0;
  color: #217df3;
  white-space: nowrap;
  flex-shrink: 0;
  /* min-width: 60px; */
  display: flex;          /* 开启flex布局（若父容器已是flex，也可改用align-self） */
  align-items: center;    /* 垂直方向居中（flex布局核心属性） */
  height: 100%;           /* 撑满父容器高度，确保居中效果生效 */
}

.category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: center;
  width: 100%;
}

.category-links a {
  font-size: 14px;
  color: #666;
  padding: 5px 0;
  border-radius: 0;
  transition: background-color 0.2s;
  width: 20%;
  text-align: left;
  display: block;
  box-sizing: border-box;
}

.category-links a:hover {
  color: #4e8cee;
  background-color: #f0f0f0;
}

.category-links a.link-with-icon {
  display: flex;
  align-items: center;
  gap: 4px;
}

.category-links a.link-with-icon .link-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.category-links a.highlight-red-bold {
  color: #ff4d4f;
  font-weight: bold;
}

.category-item.hide-item {
  display: none;
}

/* 确保隐藏项展开后也使用flex布局 */
.category-item.hide-item[style*="flex"] {
  display: flex !important;
  align-items: flex-start;
  gap: 15px;
}

.expand-btn {
  display: block;
  margin: 0 auto;
  padding: 4px 10px;
  background-color: #f0f0f0;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-size: 13px;
  color: #666;
  transition: all 0.3s;
}

.expand-btn:hover {
  background-color: #e0e0e0;
}

/* 内容主体区 */
.main-content {
  margin-top: 0px;
}

.main-content .container {
  display: flex;
  flex-direction: row;
  gap: 15px;
  min-height: 100vh;
}

.left-sidebar {
  width: 280px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: sticky;
  bottom: 0;
  overflow-y: auto;
  transition: all 0.3s ease;
}

.right-content {
  flex: 1;
  background-color: #fff;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  min-height: 1px;
  /* margin-left: 15px; */
}

/* 左侧栏 */
.section-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid #4e8cee;
}

.baidu-hot,
.featured,
.hot-search {
  background-color: #fff;
  padding: 12px 20px 20px 20px;
  border-radius: 8px;
}

.hot-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hot-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.hot-rank {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f0f0f0;
  color: #999;
  font-weight: bold;
  border-radius: 3px;
  font-size: 12px;
  flex-shrink: 0;
}

.hot-rank.top {
  background-color: #ff4d4f;
  color: #fff;
}

.hot-item a {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #333;
}

.hot-views {
  font-size: 11px;
  color: #999;
  white-space: nowrap;
}

/* 精选 */
.featured-categories {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.featured-cat {
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 6px;
  padding-left: 5px;
  transition: background-color 0.3s;
}

.featured-cat:last-child {
  border-bottom: none;
}

.featured-cat h3 {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 0px;
}

.featured-links {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.featured-links a {
  font-size: 14px;
  color: #666;
  padding: 0px 0;
}

.featured-links-more {
  display: flex;
  gap: 16px;
  margin-top: 0px;
  flex-wrap: wrap;
}

.featured-links-more a {
  font-size: 14px;
  color: #666;
  padding: 0px 0;
}

.featured-links-more.hide {
  display: none;
}

.expand-cat-btn {
  background: none;
  border: none;
  color: #999;
  font-size: 10px;
  cursor: pointer;
  padding: 3px;
  opacity: 0.5;
  transition: opacity 0.3s;
  margin-left: auto;
  flex-shrink: 0;
}

.featured-cat:hover .expand-cat-btn {
  opacity: 1;
}

.featured-cat.expanded {
  background-color: #f9f9f9;
  border-radius: 4px;
}

/* 添加鼠标悬停自动展开样式 */
.featured-cat {
  position: relative;
  transition: background-color 0.3s, border-radius 0.3s;
}

.featured-cat:hover .featured-links-more {
  display: flex;
}

.featured-cat:hover {
  background-color: #f3f3f3;
  border-radius: 4px;
}

/* 热搜 */
.hot-search-tabs {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  border-bottom: 1px solid #e5e5e5;
}

.tab-btn {
  background: none;
  border: none;
  padding: 4px 4px 12px 4px;
  font-size: 14px;
  color: #666;
  cursor: pointer;
  position: relative;
}

.tab-btn.active {
  color: #4e8cee;
  font-weight: bold;
}

.tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 2px;
  background-color: #4e8cee;
  border-radius: 1px;
}

.hot-search-featured {
  position: relative;
  margin-bottom: 15px;
  border-radius: 6px;
  overflow: hidden;
}

.hot-search-featured img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.hot-search-featured-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: #fff;
  font-size: 14px;
}

.hot-search-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* 热搜面板内容控制 */
.hot-search-panel {
  display: none;
}

.hot-search-panel.active {
  display: block;
}

.hot-search-item a {
  font-size: 14px;
  color: #555;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 功能按钮 */
.utility-buttons {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

/* 版权信息样式 */
.copyright-info {
  text-align: left;
  color: #666;
  font-size: 12px;
  margin: 0 0;
  padding: 10px 10px;
  background-color: transparent;
}

.copyright-info a {
  font-size: 12px;
  color: #666;
}

.utility-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px;
  border-radius: 6px;
  background-color: #fafafa;
  transition: all 0.3s;
}

.utility-btn:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.utility-btn img {
  width: 32px;
  height: 32px;
  margin-bottom: 6px;
}

.utility-btn span {
  font-size: 14px;
  color: #555;
}

/* 右侧内容 */
.news-tabs {
  display: flex;
  gap: 10px;
  padding: 10px 20px 5px 20px;
  position: sticky;
  top: 0;
  background-color: #fff;
  z-index: 100;
  border-radius: 8px;
  /* box-shadow: 0 2px 8px rgba(0,0,0,0.1); */
}

.news-tab {
  background: none;
  border: none;
  padding: 8px 12px;
  font-size: 16px;
  color: #666;
  cursor: pointer;
  position: relative;
  transition: color 0.3s;
}

.news-tab:hover {
  color: #4e8cee;
}

.news-tab.active {
  color: #217df3;
  font-weight: bold;
}

.news-tab.active::after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 20%;
    right: 0;
    height: 3px;
    background-color: #217df3;
    width: 60%;
    /* align-content: center; */
}

/* 设置"更多"标签中箭头的大小 */
.news-tab[data-category="more"] {
    position: relative;
}

.news-tab[data-category="more"]::after {
    all: unset;
    content: "▼";
    position: absolute;
    right: 2px;
    top: 56%;
    transform: translateY(-50%);
    font-size: 10px;
    height: auto;
    width: auto;
    background: none;
}

.news-content-wrapper {
  padding: 10px 20px 0px 20px;
  /* 移除高度限制，让内容自然流动 */
  position: relative;
}

/* 新闻滚动容器 */
.news-scroll-container {
  /* 移除高度限制和滚动属性，让内容自然流动 */
  padding-top: 10px;
  position: relative;
}

.news-section {
  margin-bottom: 0px;
  /* 确保分区不被压缩 */
  flex-shrink: 0;
}

/* 灰色分隔线样式 */
.news-divider {
  height: 1px;
  background-color: #e0e0e0;
  margin: 40px 0px 20px 0px;
}

/* 分类标签样式 */
.category-label {
  /* margin: 15px 0; */
  text-align: center;
  display: inline-block;
  padding: 5px 15px;
  background-color: #4e8cee;
  color: white;
  font-size: 14px;
  font-weight: bold;
  border-radius: 4px;
}

.category-section-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #4e8cee;
}

.news-highlight {
  display: flex;
  gap: 15px;
  margin-bottom: 10px;
}

.news-carousel {
  flex: 1;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 260px;
}

.carousel-wrapper {
  position: relative;
  height: 100%;
  z-index: 0;
  overflow: hidden; /* 防止内容溢出 */
}

.carousel-item {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  z-index: 1;
  visibility: visible; /* 确保元素始终可见，只是透明度变化 */
}

.carousel-item.active {
  opacity: 1;
  z-index: 2;
}

.carousel-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease-in-out, filter 0.3s ease-in-out;
}

.carousel-item.active img {
  transform: scale(1);
}

.carousel-item:hover img {
  transform: scale(1.05);
  filter: brightness(1.05);
}

/* 鼠标悬停在轮播容器上时，显示悬停的项 */
.carousel-wrapper:hover .carousel-item:not(.active):hover {
  opacity: 0.7;
  z-index: 3;
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: #fff;
}

.carousel-caption h3 {
    font-size: 16px;
    line-height: 1.3;
    margin-bottom: 6px;
}

.news-source,
.news-time {
  font-size: 12px;
  color: #999;
  margin-right: 10px;
}

.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  padding: 15px 10px;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s;
  border-radius: 4px;
}

.carousel-prev:hover,
.carousel-next:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.carousel-prev {
  left: 6px;
}

.carousel-next {
  right: 6px;
}

.carousel-dots {
  position: absolute;
  bottom: 15px;
  right: 15px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: #fff;
}

.news-highlight-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.news-item-horizontal {
  display: flex;
  gap: 12px;
  padding: 2px 0px 2px 10px;
  border-radius: 6px;
  transition: background-color 0.3s, transform 0.3s;
  text-decoration: none;
  color: inherit;
}

.news-item-horizontal:hover {
  background-color: #f9f9f9;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.news-item-horizontal:hover h3 {
  color: #4e8cee;
}

.news-item-horizontal:hover img {
  transform: scale(1.05);
  filter: brightness(1.05);
}





.news-item-horizontal .news-text {
  flex: 1;
}

.news-item-horizontal h3 {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 8px;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}

.news-meta {
  font-size: 12px;
  color: #999;
}

.news-item-horizontal img {
  width: 120px;
  height: 78px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  transition: transform 0.3s, filter 0.3s;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 15px;
}

/* 更多板块样式 */
.more-news-list {
  width: 48%;
}

.news-grid-more {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section-more {
  display: flex;
  justify-content: space-between;
  gap: 4%;
}

/* 信息流样式 */
.news-stream {
  width: 100%;
}

.news-stream-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px 15px;
}

/* 加载提示样式 */
.loading-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 0px 120px 0px;
  color: #666;
}

.loading-spinner {
  width: 30px;
  height: 30px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #4e8cee;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 10px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.news-list-full {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* 分类分隔线样式 */
.category-divider {
  height: 1px;
  background-color: #e5e5e5;
  margin: 20px 0 15px 0;
}

/* 分类标签样式 */
.category-label {
    display: inline-block;
    background-color: #217df3;
    color: #fff;
    padding: 3px 14px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 14px;
}

/* 返回顶部按钮 */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #4e8cee;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, background-color 0.3s;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: #3a7bd5;
}

/* 底部 */
.footer {
  background-color: #808080;
  color: #dadada;
  padding: 30px 0;
  margin-top: 30px;
  text-align: center;
}

.footer p {
  margin: 5px 0;
  font-size: 12px;
}

/* 三列布局样式 */
.category-three-columns {
  display: flex;
  gap: 15px;
  width: 100%;
  align-items: flex-start;
}

.category-title-column {
  flex: 0 0 auto;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.category-title-column h3 {
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: bold;
  color: #217df3;
  white-space: nowrap;
}

.category-links-column {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 15px;
  align-items: center;
}

.category-links-column a {
  font-size: 14px;
  color: #666;
  text-align: left;
  display: inline-block;
  box-sizing: border-box;
}

.category-links-column a:hover {
  color: #4e8cee;
}

.category-more-column {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
}

.more-link {
  color: #a8a8a8;
  font-size: 14px;
  border-radius: 4px;
  transition: all 0.2s;
  white-space: nowrap;
}

.more-link:hover {
  color: #4e8cee;
  background-color: #f0f0f0;
}

/* 响应式调整 */
@media (max-width: 1200px) {
  .container {
    width: 1200px; /* 保持固定宽度，允许水平滚动 */
    padding: 0 20px;
  }
}