html,
body {
  /* height: 100%; */
  margin: 0;
  padding: 0;
  font-size: 1rem;
}

body {
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 100vh;
  overflow-y: auto;
}
.content-info {
  margin-bottom: 30%;
}
img {
  display: block;
}

.top-banner {
  width: 100%;
  position: relative;
}

.top-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tab-container {
  background-color: #e6f2ff;
}
.tab {
  flex: 0 0 auto;
  padding: 0.625rem 1.25rem;
}

.tabs {
  display: flex;
  max-width: 75rem;
  margin: 0 auto;
  padding: 0;
  list-style: none; /* 移除默认列表样式 */
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  flex: 0 0 auto;
  padding: 0.625rem 1.25rem;
  transition: all 0.3s ease;
  white-space: nowrap;
  margin: 0 0.3125rem;
}

.tab:first-child {
  margin-left: 0;
}

.tab:last-child {
  margin-right: 0;
}

.tab.active {
  font-size: 1rem;
  background-color: #1a6fc4;
  color: white;
}

.tab:not(.active) {
  color: black;
}
.toutiao {
  padding: 0 0.625rem;
}
/* 自定义a标签的样式 */
a {
  text-decoration: none; /* 去掉下划线 */
  color: inherit; /* 继承父元素的颜色 */
  font-weight: normal; /* 设置字体粗细 */
  -webkit-tap-highlight-color: transparent; /* 移除移动端点击高亮 */
}

/* 更多栏目样式 */
.container {
  width: 100%;
  max-width: 75rem;
  margin: 0 auto;
}

.xiehui {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  padding: 0.625rem 0.9375rem;
  border-bottom: 0.0625rem solid #f0f0f0;
}
.title {
  font-size: 1.125rem;
  color: #1a73e8;
  position: relative;
  font-weight: bold;
}
.title::after {
  position: absolute;
  bottom: -0.9375rem; /* 下划线位置 */
  left: 0; /* 下划线位置 */
  content: "";
  border-bottom: 0.1875rem solid #1a73e8;
  width: 100%; /* 下划线宽度与文本一致 */
  height: 0.0625rem; /* 下划线高度 */
}
.right-section {
  position: relative; /* 确保下拉菜单相对于这个元素定位 */
}

.btn-more {
  display: flex;
  align-items: center;
  padding: 0.3125rem 0.625rem;
  color: #666;
  border: 0.0625rem solid #ddd;
  border-radius: 0.3125rem;
}

.btn-more:hover {
  background-color: #eee;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0; /* 修改为0，不再偏移 */
  width: 6.875rem; /* 固定宽度 */
  background-color: #d4e4f4;
  border: 0.0625rem solid #7cb3ea;
  border-radius: 0.25rem;
  z-index: 1000;
  padding: 0.3125rem 0; /* 添加内边距 */
}

.dropdown-menu.show {
  display: block;
}
.dropdown-menu a:hover {
  background-color: #9dc4f6;
}
.dropdown-item {
  display: block;
  padding: 0.625rem 0.9375rem;
  color: #333;
  text-align: center;
}

/* 底部 */
.xiehui-bottom-container {
  background-color: #1a6fc4;
  color: #ffffff;
  padding-top: 0.625rem;
  padding-bottom: 1.875rem;
  text-align: center;
  position: absolute;
  bottom: 0;
  width: 100%;
}
.xiehui-bottom-text {
  font-size: 0.9375rem;
  color: #ebebebe7;
}

.xiehui-bottom-text > img {
  width: 1.0625rem;
}
.bottom-img-text {
  display: flex;
  justify-content: center;
  margin-top: 0.625rem;
  align-items: center;
}
/* 顶部更多列表 */
.homePage-more {
  position: absolute;
  top: 1.25rem;
  width: 100%;
}
.homePage-more > img {
  width: 1.25rem;
  position: absolute;
  right: 0.3125rem;
}
.dropdown-menuss {
  display: none; /* 默认隐藏 */
  background-color: #0b4b8b;
  opacity: 0.7;
  z-index: 9999;
  position: absolute;
  width: 100%;
  text-align: center;
  top: -1.875rem;
}
.dropdown-menuss.show {
  display: block; /* 显示菜单 */
}
.dropdown-menuss a {
  color: #ffffff;
  padding: 0.75rem 1rem;
  text-decoration: none;
  display: flex;
  justify-content: center;
  font-size: 1.25rem;
}

.dropdown-item.active{
  background-color: #1a6fc4;
  color: white;
}

.dropdown-menuss a:hover {
  background-color: #1a73e8;
}
.close {
  cursor: pointer; /* 鼠标悬停时显示为手型 */
  margin-bottom: 2.5rem;
}

.close > img {
  width: 1rem;
  position: absolute;
  top: 1.125rem;
  right: 0.5rem;
}
.search > img {
  width: 1.25rem;
}
/* 分页 */
.pagination-section {
  margin-bottom: 33%;
}
.pagination {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.875rem;
  justify-content: center;
}

.page-btn,
.jump-btn {
  padding: 0.5rem;
  border: 0.0625rem solid #d1d5db;
  border-radius: 0.25rem;
  cursor: pointer;
  background-color: #fff;
  color: #666;
  transition: background-color 0.3s;
}

.page-btn:hover,
.jump-btn:hover {
  background-color: #e6f7ff;
}

.page-btn.active {
  background-color: #1890ff;
  color: #fff;
}

.page-btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.jump-to {
  display: flex;
  align-items: center;
  gap: 0.3125rem;
  margin-left: auto;
}

.jump-input {
  width: 4.375rem;
  padding: 0.5rem;
  text-align: center;
  border: 0.0625rem solid #d9d9d9;
  border-radius: 0.25rem;
}

.jump-btn {
  background-color: #1890ff;
  color: #fff;
}

.jump-btn:hover {
  background-color: #40a9ff;
}
