/* ===== page news-newscategory (compiled from Vue SCSS) ===== */
@charset "UTF-8";
.mt-auto {
  margin-top: auto;
}

.overflow-hidden {
  overflow: hidden;
}

.min-w-0 {
  min-width: 0;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.tag-outline {
  border: 1px solid #d9e5e0;
  padding: 2px 8px;
  border-radius: 4px;
  color: #66736e;
  display: inline-block;
}

.news-list-item {
  cursor: pointer;
}
.news-list-item .news-cover {
  width: 240px;
  height: 160px;
}

.form-input {
  padding: 10px 12px;
  border: 1px solid #d9e5e0;
  border-radius: 4px;
  font-size: 14px;
}
.form-input:focus {
  outline: none;
  border-color: #0b6b5a;
  box-shadow: 0 0 0 2px rgba(11, 107, 90, 0.1);
}

.filter-select {
  width: 120px;
  height: 40px;
  outline: none;
}
.filter-select:focus {
  outline: none;
  box-shadow: none;
  border-color: #d9e5e0;
}

.search-input-group {
  display: flex;
  position: relative;
}
.search-input-group .search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #66736e;
}
.search-input-group .search-input {
  width: 200px;
  padding-left: 36px;
  border-radius: 4px 0 0 4px;
  border-right: none;
  height: 40px;
  outline: none;
  background-color: #ffffff;
}
.search-input-group .search-input:focus {
  outline: none;
  box-shadow: none;
  border-color: #d9e5e0;
}
.search-input-group .search-btn {
  border-radius: 0 4px 4px 0;
  height: 40px;
  background-color: #0b6b5a;
  color: #ffffff;
  border: 1px solid #0b6b5a;
  transition: all 160ms ease;
  outline: none;
  margin: 0;
  padding: 0 20px;
}
.search-input-group .search-btn:hover {
  background-color: #ffffff;
  color: #0b6b5a;
}
.search-input-group .search-btn:focus {
  outline: none;
  box-shadow: none;
}

.empty-state-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.action-btn {
  transition: all 160ms ease;
}
.action-btn:active {
  transform: scale(0.96) translateY(2px);
}

.submit-btn-no-hover:hover {
  background-color: #0b6b5a !important;
  color: #ffffff !important;
}

.summary-wrapper {
  height: 25px; /* 14px * 1.8 = 25.2px*/
  overflow: hidden;
}

.text-truncate-lines-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

/* Reverted from utilities.scss */
.py-8 {
  padding-top: 48px;
  padding-bottom: 80px;
}

.mb-6 {
  margin-bottom: 48px;
}

.mb-4 {
  margin-bottom: 24px;
}

.text-center {
  text-align: center;
}

.text-secondary {
  color: #66736e;
}

.text-main {
  color: #1e2b27;
}

.text-sm {
  font-size: 14px;
}

.line-height-lg {
  line-height: 1.8;
}

.cursor-pointer {
  cursor: pointer;
}

.hover-primary {
  transition: color 0.3s;
}
.hover-primary:hover {
  color: #0b6b5a;
}

.p-6 {
  padding: 48px;
}

.mb-2 {
  margin-bottom: 12px;
}

.mr-2 {
  margin-right: 12px;
}

.text-primary {
  color: #0b6b5a;
}

.d-flex {
  display: flex;
}

.align-items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.py-10 {
  padding-top: 80px;
  padding-bottom: 80px;
}

.p-4 {
  padding: 24px;
}

.m-0 {
  margin: 0;
}

.mb-3 {
  margin-bottom: 16px;
}

.text-xs {
  font-size: 12px;
}

.bg-light {
  background-color: #f7faf9;
}

.rounded {
  border-radius: 8px;
}

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

.justify-between {
  justify-content: space-between;
}

.flex-1 {
  flex: 1;
}

.opacity-80 {
  opacity: 0.8;
}

.gap-4 {
  gap: 24px;
}

.mt-1 {
  margin-top: 8px;
}

.mt-8 {
  margin-top: 80px;
}

.mr-4 {
  margin-right: 24px;
}

.px-6 {
  padding-left: 48px;
  padding-right: 48px;
}

.text-right {
  text-align: right;
}

.mr-6 {
  margin-right: 48px;
}

.mr-1 {
  margin-right: 8px;
}

/* Reverted responsive */
@media (max-width: 1199px) {
  .d-none-mobile {
    display: none;
  }
  .filter-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .filter-bar .filter-actions {
    width: 100%; /* 平板/移动端撑满*/
    justify-content: space-between; /* 强制左右布局*/
  }
}
@media (max-width: 1199px) and (max-width: 767px) {
  .filter-bar .filter-actions {
    flex-direction: row; /* 保持移动端下仍为左右布局*/
    gap: 12px; /* 缩小两个模块之间的间距*/
  }
  .filter-bar .filter-actions .filter-select {
    width: 90px; /* 缩小下拉框宽度*/
    padding-left: 8px; /* 调整内边距，防止字被挤没*/
    padding-right: 2px;
  }
  .filter-bar .filter-actions .search-input-group {
    flex: 1; /* 搜索框占满右侧剩余宽度*/
    min-width: 0; /* 防止在 flex 布局中被内部输入框撑破*/
  }
  .filter-bar .filter-actions .search-input-group .search-input {
    width: 100%;
  }
  .filter-bar .filter-actions .search-input-group .search-btn {
    padding: 0 12px; /* 稍微减小搜索按钮的左右 padding 以节省空间*/
  }
}
@media (max-width: 767px) {
  .filter-bar .filter-actions {
    flex-direction: row; /* 保持移动端下仍为左右布局*/
    gap: 12px; /* 缩小两个模块之间的间距*/
  }
  .filter-bar .filter-actions .filter-select {
    width: 90px; /* 缩小下拉框宽度*/
    padding-left: 8px; /* 调整内边距，防止字被挤没*/
    padding-right: 2px;
  }
  .filter-bar .filter-actions .search-input-group {
    flex: 1; /* 搜索框占满右侧剩余宽度*/
    min-width: 0; /* 防止在 flex 布局中被内部输入框撑破*/
  }
  .filter-bar .filter-actions .search-input-group .search-input {
    width: 100%;
  }
  .filter-bar .filter-actions .search-input-group .search-btn {
    padding: 0 12px; /* 稍微减小搜索按钮的左右 padding 以节省空间*/
  }
}