﻿@font-face {
    font-family: 'Source Han Serif CN';
    src: url('../fonts/SourceHanSerifCN-Heavy.woff2') format('woff2'),
        url('../fonts/SourceHanSerifCN-Heavy.woff') format('woff'),
        url('../fonts/SourceHanSerifCN-Heavy.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background-color: #f5f7fa;
    color: #fff;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    touch-action: pan-y;
    -webkit-user-select: none;
    user-select: none;
}

::-webkit-scrollbar {
    display: none;
}

.top-logo{background: #fff url(../images/topbg.jpg) no-repeat center bottom / cover;height: 350px;display: flex;}
.logo{
    max-width: 1300px;
    margin: 0 auto;
    display: block;
    width: 100%;
    background: url(../images/habs.png) no-repeat  bottom -15px right / 91%;
}
.logo img{
    height: 100px;
    margin-top:90px;
    margin-left: 90px;
}

/* 新闻列表页专用样式 */
.list-page {
  background-color: #f5f7fa;
  min-height: 100vh;
  padding-top: 20px;
  padding-bottom: 50px;
}

/* 顶部导航栏 - 取消固定定位 */
.top-header {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  background: #2F8BF0;
  color: white;
  padding: 8px 0;
  z-index: 2000;
  box-shadow: 0 2px 10px rgb(40 115 242);
  margin-bottom: 20px;
  box-sizing: border-box;
}

.top-header-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}
.header-left {
  flex: 1;
}

.quick-links {
  display: flex;
  gap: 30px;
}

.quick-link {
  color: white;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 5px 10px;
  position: relative;
  transition: all 0.3s;
  font-family: 'Source Han Serif CN', "宋体", "微软雅黑", sans-serif;
  font-weight: bolder;
}

.quick-link:hover {
  color: #ffcc00;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.quick-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #ffcc00;
  transition: width 0.3s;
}

.quick-link:hover::after {
  width: 80%;
}

.header-right {
  display: flex;
  align-items: center;
}

.date-search-container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.date-info {
  font-size: 0.8rem;
  padding: 6px 15px;
  border-radius: 4px;
  white-space: nowrap;
}

.search-container {
  display: flex;
  align-items: center;
}

.search-input {
  padding: 6px 12px;
  border: 1px solid #ddd;
  border-radius: 15px 0 0 15px;
  width: 200px;
  font-size: 0.9rem;
  outline: none;
}

.search-input:focus {
  border-color: #ff3333;
}

.search-btn {
  padding: 15.1px 20px;
  background: #fff url(../images/fdj.png) no-repeat center;
  background-size: 15px;
  border: none;
  border-radius: 0 15px 15px 0;
  cursor: pointer;
  font-size: 0;
  transition: background 0.3s;
}

.search-btn:hover {
  background: #ffcc00 url(../images/fdj-h.png) no-repeat center;
  background-size: 15px;
}

.list-container {
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 40px;
}

.list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  border-bottom: 2px solid #0066cc;
  padding-bottom: 15px;
}

.list-header h1 {
  font-size: 1.8rem;
  color: #0066cc;
  font-family: 'Source Han Serif CN', '宋体', '微软雅黑', sans-serif;
  font-weight: 900;
  position: relative;
  padding-left: 15px;
}

.list-header h1::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 30px;
  background: #0066cc;
  border-radius: 3px;
}

.breadcrumb {
  color: #999;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: #0066cc;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* 新闻列表 */
.news-list-page {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.news-list-page-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid #eee;
  transition: all 0.3s;
}

.news-list-page-item:hover {
  background-color: #f8faff;
  padding-left: 15px;
  padding-right: 15px;
  margin-left: -15px;
  margin-right: -15px;
  border-radius: 8px;
}

.news-list-page-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

.news-list-page-title {
  flex: 1;
  font-size: 1.05rem;
  color: #333;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.news-list-page-title:hover {
  color: #0066cc;
}

.news-list-page-title::before {
  content: "·";
  display: inline-block;
  color: #0066cc;
  font-size: 1.5rem;
  font-weight: 900;
  margin-right: 10px;
  vertical-align: middle;
}

.news-list-page-info {
  display: flex;
  align-items: center;
  gap: 30px;
}

.news-list-page-date {
  color: #999;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* 置顶样式 */
.news-list-page-item.sticky .news-list-page-title {
  color: #0066cc;
  font-weight: 700;
}

.news-list-page-item.sticky .news-list-page-title::before {
  content: "📌";
  color: #ff6b6b;
  font-size: 1rem;
}

/* ===== 分页样式美化（不修改HTML）===== */

/* 分页容器 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  width: 100%;
}

/* setpage 容器 */
#setpage {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  background: #f8f9fa !important;
  padding: 15px 25px !important;
  border-radius: 50px !important;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05) !important;
  font-family: 'Noto Sans SC', sans-serif !important;
}

/* 所有链接样式 - 首页、上页、下页、尾页、数字链接 */
#setpage a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 36px !important;
  height: 36px !important;
  padding: 0 12px !important;
  background: white !important;
  color: #333 !important;
  text-decoration: none !important;
  border-radius: 8px !important;
  font-size: 0.95rem !important;
  transition: all 0.3s ease !important;
  border: 1px solid #e0e0e0 !important;
  margin: 0 2px !important;
}

/* 链接悬停效果 */
#setpage a:hover {
  background: #0066cc !important;
  color: white !important;
  border-color: #0066cc !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 8px rgba(0,102,204,0.2) !important;
}

/* 首页、上页、下页、尾页特殊样式 */
#setpage a:contains("首页"),
#setpage a:contains("上页"),
#setpage a:contains("下页"),
#setpage a:contains("尾页") {
  padding: 0 15px !important;
  background: #f0f4f8 !important;
  font-weight: 500 !important;
}

/* 由于:contains不支持，使用属性选择器的替代方案 */
#setpage a[href*="gotopage(1)"]:not([onclick*="gotopage(2)"]),
#setpage a:first-child {
  /* 首页样式 */
  font-weight: 500 !important;
}

#setpage a[href*="gotopage(1)"][onclick*="gotopage(1)"] {
  /* 首页样式，需要根据实际情况调整 */
}

/* 当前页信息 */
#info {
  display: inline-flex !important;
  align-items: center !important;
  background: #e8f0fe !important;
  color: #0066cc !important;
  padding: 8px 18px !important;
  border-radius: 30px !important;
  font-size: 0.9rem !important;
  margin: 0 10px !important;
  border: 1px solid #0066cc !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
}

/* 跳转输入框 */
#_topage {
  width: 60px !important;
  height: 36px !important;
  padding: 0 10px !important;
  border: 1px solid #ddd !important;
  border-radius: 8px !important;
  font-size: 0.9rem !important;
  text-align: center !important;
  outline: none !important;
  transition: all 0.3s ease !important;
  background: white !important;
  color: #333 !important;
}

/* 输入框聚焦效果 */
#_topage:focus {
  border-color: #0066cc !important;
  box-shadow: 0 0 0 3px rgba(0,102,204,0.1) !important;
}

/* 跳转按钮 */
input[value="跳转"] {
  height: 36px !important;
  padding: 0 20px !important;
  background: #0066cc !important;
  color: white !important;
  border: none !important;
  border-radius: 8px !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  margin-left: 5px !important;
  border: 1px solid #0066cc !important;
}

/* 跳转按钮悬停效果 */
input[value="跳转"]:hover {
  background: #ffcc00 !important;
  color: #0066cc !important;
  border-color: #ffcc00 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 8px rgba(255,204,0,0.3) !important;
}

/* 跳转按钮点击效果 */
input[value="跳转"]:active {
  transform: translateY(0) !important;
}

/* 方括号隐藏或美化 */
#setpage {
  /* 隐藏原始的方括号，用样式替代 */
}

/* 如果方括号是文本节点，无法直接隐藏，可以通过父容器调整 */
#setpage {
  font-size: 0; /* 临时方案，会影响所有文本，不推荐 */
}

/* 更好的方案：使用伪元素覆盖或调整位置 */
/* 由于无法直接操作文本节点，我们接受方括号存在，但通过样式让它不那么突出 */
#setpage {
  color: #999; /* 让方括号颜色变浅 */
}

#setpage a {
  color: #333; /* 链接保持深色 */
  margin: 0 2px;
}

/* 为首页、上页等添加小图标 */
#setpage a:first-child::before {
  content: "«";
  margin-right: 5px;
  font-size: 0.9rem;
}



/* ===== 底部样式（参考首页第5屏）===== */
.site-footer {
  background: url(../images/bg5.jpg) no-repeat center bottom / cover;
  color: #fff;
  padding: 40px 0 30px;
  margin-top: 50px;
}

.footer-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 20px;
  box-sizing: border-box;
  flex-wrap: wrap;
  gap: 20px;
}

/* 底部左边 - 相关链接（参考首页link-btn样式） */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-links p,.footer-links p a{
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links-title {
  font-size: 1.2rem;
  color: white;
  font-family: 'Source Han Serif CN', '宋体', '微软雅黑', sans-serif;
  font-weight: 700;
  margin-bottom: 5px;
  position: relative;
  padding-left: 10px;
}

.footer-links-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  background: #ffcc00;
  border-radius: 2px;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.footer-link-btn {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 8px 16px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: block;
  width: 100%;
  text-align: center;
  border-radius: 4px;
}

.footer-link-btn:hover {
  background: #0656af;
  color: #fff;
  border-color: #0656af;
}

/* 留言板单独一行 */
.footer-link-btn.message-btn {
  grid-column: span 3;
  width: auto;
  margin-top: 5px;
}

/* 底部右侧 - 信息区（完全参考首页第5屏） */
.footer-info {
  text-align: right;
  max-width: 600px;
}

.footer-info p {
  margin: 10px 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.footer-info p a {
  color: #fff;
  text-decoration: none;
}

.footer-info p a:hover {
  color: #ffcc00;
}

.footer-qr {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 110px;
  justify-items: end;
}

.footer-qr-item {
  text-align: center;
  background：#1e72cf;
  background: #1e72cf;
  border-radius: 8px;
}

.footer-qr-item img {
  width: 120px;
  height: auto;
  display: block;
  margin: 0 auto 8px;
  padding: 8px;
  border-radius: 13px;
}

.footer-qr-item span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
}

.detail-page {
  background-color: #f5f7fa;
  min-height: 100vh;
  padding-top: 20px;
  padding-bottom: 50px;
}

.detail-container {
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 50px;
}

.detail-container .breadcrumb {
  margin-bottom: 24px;
}

.detail-header {
  margin-bottom: 30px;
  border-bottom: 1px solid #eee;
  padding-bottom: 25px;
}

.detail-title {
  font-size: 2.2rem;
  color: #1a1a1a;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
  font-family: 'Source Han Serif CN', '宋体', '微软雅黑', sans-serif;
  text-align: center;
}

.detail-meta {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #999;
  font-size: 0.95rem;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}

.detail-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.detail-meta-item::before {
  content: '';
  width: 4px;
  height: 4px;
  background: #ccc;
  border-radius: 50%;
  margin-right: 6px;
}

.detail-meta-item:first-child::before {
  display: none;
}

.detail-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}

.detail-content p {
  margin-bottom: 25px;
}

.detail-content h2 {
  font-size: 1.6rem;
  margin: 40px 0 20px;
  color: #0066cc;
  font-weight: 700;
}

.detail-content h3 {
  font-size: 1.3rem;
  margin: 30px 0 15px;
  color: #1a1a1a;
  font-weight: 600;
}

.detail-content img {
  width: 100%;
}

.img-caption {
  text-align: center;
  color: #999;
  font-size: 0.9rem;
  margin-top: -10px;
}

.lead-paragraph {
  font-weight: 600;
  color: #0066cc;
}

.quote-author {
  text-align: right;
  margin-bottom: 0;
}

.detail-editor {
  color: #999;
  font-size: 0.9rem;
  border-top: 1px solid #eee;
  padding-top: 20px;
}

.attachment-box {
  background: #f8faff;
  border-radius: 8px;
  padding: 25px;
  margin: 30px 0;
}

.attachment-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0066cc;
  margin-bottom: 15px;
}

.attachment-list {
  list-style: none;
  padding: 0;
}

.attachment-item {
  padding: 10px 0;
  border-bottom: 1px dashed #ddd;
  display: flex;
  align-items: center;
  gap: 15px;
}

.attachment-item:last-child {
  border-bottom: none;
}

.attachment-link {
  text-decoration: none;
  color: #666;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}

.attachment-link:hover {
  color: #0066cc;
}

.attachment-icon {
  width: 24px;
  height: 24px;
  background: url(../images/file-icon.png) no-repeat center;
  background-size: contain;
}

.attachment-size {
  color: #999;
  font-size: 0.85rem;
}

.article-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

.article-nav-link {
  text-decoration: none;
  color: #666;
  max-width: 45%;
  transition: color 0.3s;
}

.article-nav-link:hover {
  color: #0066cc;
}

.article-nav-label {
  font-size: 0.9rem;
  color: #999;
  margin-bottom: 5px;
}

.article-nav-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

.article-nav-next {
  text-align: right;
}

.related-news {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

.related-title {
  font-size: 1.3rem;
  color: #0066cc;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: 'Source Han Serif CN', '宋体', '微软雅黑', sans-serif;
}

.related-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.related-item {
  padding: 12px 0;
  border-bottom: 1px dashed #eee;
}

.related-link {
  text-decoration: none;
  color: #333;
  display: block;
  line-height: 1.5;
  transition: color 0.3s;
}

.related-link:hover {
  color: #0066cc;
}

.related-link::before {
  content: "·";
  color: #0066cc;
  font-weight: 900;
  margin-right: 8px;
}

.related-date {
  font-size: 0.8rem;
  color: #999;
  margin-top: 5px;
  text-align: right;
}

/* 内容页补充：引用与列表 */
.detail-content blockquote {
  margin: 25px 0;
  padding: 20px 25px;
  background: #f8faff;
  border-left: 5px solid #0066cc;
  color: #555;
  font-style: italic;
}

.detail-content ul,
.detail-content ol {
  margin: 20px 0;
  padding-left: 30px;
}

.detail-content li {
  margin-bottom: 10px;
}

/* 侧边栏列表页专用样式 */
.list-with-sidebar {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

/* 侧边栏样式 */
.list-sidebar {
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 25px 0;
  height: fit-content;
  position: sticky;
  top: 20px;
}

.sidebar-section {
  margin-bottom: 30px;
  padding: 0 20px;
}

.sidebar-section:last-child {
  margin-bottom: 0;
}

.sidebar-title {
  font-size: 1.2rem;
  color: #0066cc;
  font-family: 'Source Han Serif CN', '宋体', '微软雅黑', sans-serif;
  font-weight: 900;
  padding-bottom: 12px;
  border-bottom: 2px solid #0066cc;
  margin-bottom: 15px;
  position: relative;
}

.sidebar-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background: #ffcc00;
}

/* 分类导航 */
.sidebar-category {
  list-style: none;
  padding: 0;
}

.sidebar-category-item {
  margin-bottom: 8px;
}

.sidebar-category-link {
  display: block;
  padding: 10px 15px;
  background: #f5f7fa;
  color: #333;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s;
  font-weight: 500;
  border-left: 3px solid transparent;
}

.sidebar-category-link:hover {
  background: #e8f0fe;
  border-left-color: #0066cc;
  color: #0066cc;
}

.sidebar-category-link.active {
  background: #0066cc;
  color: white;
  border-left-color: #ffcc00;
}

/* 二级导航（用于团市委/青年组织内部） */
.sidebar-subcategory {
  list-style: none;
  padding: 0 0 0 15px;
  margin-top: 5px;
}

.sidebar-subcategory-item {
  margin-bottom: 5px;
}

.sidebar-subcategory-link {
  display: block;
  padding: 8px 12px;
  color: #666;
  text-decoration: none;
  font-size: 0.9rem;
  border-radius: 4px;
  transition: all 0.2s;
}

.sidebar-subcategory-link:hover {
  background: #f0f5ff;
  color: #0066cc;
}

.sidebar-subcategory-link.active {
  background: #f0f5ff;
  color: #0066cc;
  font-weight: 600;
}

/* 热点新闻/推荐文章 */
.sidebar-hot-news {
  list-style: none;
  padding: 0;
}

.sidebar-hot-item {
  padding: 12px 0;
  border-bottom: 1px dashed #eee;
}

.sidebar-hot-item:last-child {
  border-bottom: none;
}

.sidebar-hot-link {
  text-decoration: none;
  color: #333;
  display: block;
  line-height: 1.5;
}

.sidebar-hot-link:hover {
  color: #0066cc;
}

.sidebar-hot-link::before {
  content: "🔥";
  font-size: 0.9rem;
  margin-right: 8px;
  opacity: 0.8;
}

.sidebar-hot-date {
  font-size: 0.8rem;
  color: #999;
  margin-top: 5px;
  text-align: right;
}

/* 公告栏 */
.sidebar-announcement {
  background: #f8faff;
  border-radius: 8px;
  padding: 15px;
}

.sidebar-announcement-item {
  padding: 10px 0;
  border-bottom: 1px dashed #ddd;
}

.sidebar-announcement-item:last-child {
  border-bottom: none;
}

.sidebar-announcement-link {
  text-decoration: none;
  color: #666;
  display: block;
  font-size: 0.9rem;
  line-height: 1.4;
}

.sidebar-announcement-link:hover {
  color: #0066cc;
}

.sidebar-announcement-link::before {
  content: "📢";
  margin-right: 8px;
  font-size: 0.9rem;
}

.sidebar-announcement-date {
  font-size: 0.8rem;
  color: #999;
  margin-top: 5px;
  text-align: right;
}

/* 标签云 */
.sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sidebar-tag {
  padding: 5px 12px;
  background: #f0f0f0;
  color: #666;
  text-decoration: none;
  border-radius: 20px;
  font-size: 0.85rem;
  transition: all 0.3s;
}

.sidebar-tag:hover {
  background: #0066cc;
  color: white;
}

/* 主内容区调整 */
.list-container.with-sidebar {
  margin: 0;
  padding: 30px;
}

/* 响应式 */
@media (max-width: 992px) {
  .list-with-sidebar {
	grid-template-columns: 240px 1fr;
	gap: 20px;
  }
}

@media (max-width: 768px) {
  .list-with-sidebar {
	grid-template-columns: 1fr;
  }

  .list-sidebar {
	position: static;
	margin-bottom: 20px;
  }

  .list-container.with-sidebar {
	padding: 20px;
  }

  .sidebar-section {
	padding: 0 15px;
  }
}

@media (max-width: 768px) {
  .top-logo {
    height: 180px;
    justify-content: center;
    align-items: center;
  }
  .logo {
    margin: 40px auto 0;
  }
  .logo img {
    height: 60px;
  }
  .top-header-inner {
    padding: 0 12px;
    display: flex;
    flex-wrap: wrap;
  }
  .detail-container {
    padding: 30px 20px;
  }

  .detail-title {
    font-size: 1.8rem;
  }

  .related-list {
    grid-template-columns: 1fr;
  }

  .article-nav {
    flex-direction: column;
    gap: 20px;
  }

  .article-nav-link {
    max-width: 100%;
  }

  .article-nav-next {
    text-align: left;
  }

  .top-header {
	flex-direction: column;
	padding: 10px;
	gap: 10px;
  }

  .header-left {
	width: 100%;
	justify-content: center;
  }

  .quick-links {
	gap: 15px;
	justify-content: center;
  }

  .quick-link {
	font-size: 0.85rem;
	padding: 4px 8px;
  }

  .header-right {
	width: 100%;
	justify-content: center;
  }

  .date-search-container {
	flex-direction: column;
	gap: 10px;
	width: 100%;
	max-width: 400px;
  }

  .date-info {
	text-align: center;
	width: 100%;
  }

  .search-container {
	width: 100%;
  }

  .search-input {
	flex: 1;
	width: auto;
  }

  .list-container {
	padding: 16px;
  }
  
  .news-list-page-info {
	flex-direction: column;
	gap: 5px;
	align-items: flex-start;
  }
  
  .list-header {
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
  }
  
  .footer-container {
	flex-direction: column;
	gap: 30px;
  }
  
  .footer-links-grid {
	grid-template-columns: repeat(2, 1fr);
  }

	.footer-links{
	width: 100%;}
	
  .footer-info {
	text-align: center;
	width: 100%;
	}
  
  .footer-qr {
	justify-content: flex-start;
	grid-template-columns: repeat(3, 1fr);
  }

  .footer-link-btn.message-btn {
	grid-column: span 2;
  }
  .quick-links {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .news-list-page-item {
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
  }
  
  .news-list-page-info {
	align-self: flex-start;
  }

  .footer-links-grid {
	grid-template-columns: repeat(2, 1fr);
	}
  
  .footer-qr {
	grid-template-columns: 1fr;
	justify-items: center;
	grid-template-columns: repeat(3, 1fr);
	}

  .footer-link-btn.message-btn {
	grid-column: span 2;
	}
  .list-container {
    padding: 12px;
  }
  .list-header h1 {
    font-size: 1.5rem;
  }
  .page-item {
    width: 30px;
    height: 30px;
  }
  .news-list-page-item:hover {
    margin: 0;
    padding-left: 0;
    padding-right: 0;
  }
  .top-logo {
    height: 150px;
  }
  .logo {
    margin: -35px auto 0 auto;
    text-align: center;
  }
  .logo img {
    height: 50px;
  }
  .detail-container {
    padding: 16px;
  }
  .detail-title {
    font-size: 1.6rem;
  }
  .detail-meta {
    font-size: 0.85rem;
    gap: 12px;
  }
  .detail-content blockquote {
    padding: 15px 18px;
  }
}
