/* 全局样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Microsoft YaHei", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}

a {
  color: #0056b3;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul, li {
  list-style: none;
}

/* 但要确保特定类的列表项可以有样式 */
.news-listabc ul,
.guide-section ul,
.journal-text ul {
  list-style: disc;
}

.news-listabc ul li,
.guide-section ul li {
  list-style-type: disc;
  list-style-position: outside;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* 顶部横幅 */
.top-banner {
  background: url('../images/tbg.jpg') repeat;
  color: #fff;
  padding: 5px 0;
  text-align: left;
}

.banner-text {
  font-size: 12px;
  color: #ff0000;
}

/* 头部样式 */
.main-header {
  background: url('../images/topbg.jpg') center/cover no-repeat;
  color: #fff;
  padding: 30px 0;
  margin-bottom: 10px;
}

.site-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 15px;
  text-align: left;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.site-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 20px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.site-info p {
  margin: 2px 0;
}

/* 导航栏 */
.main-nav {
  background-color: rgb(35, 90, 169);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.main-nav ul {
  display: flex;
  justify-content: flex-start;
}

.main-nav li {
  padding: 0;
}

.main-nav a {
  display: block;
  color: #fff;
  padding: 0 30px;
  font-size: 20px;
  font-weight: bold;
  transition: background-color 0.3s;
  line-height: 60px;
  height: 60px;
}

.main-nav a:hover, .main-nav a.active {
  background-color: rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

/* 移动端导航样式 */
@media (max-width: 1000px) {
  .main-nav ul {
    flex-wrap: wrap;
  }
  
  .main-nav li {
    flex: 0 0 auto;
    width: 100%;
  }
  
  .main-nav a {
    padding: 0 15px;
    font-size: 16px;
    line-height: 50px;
    height: 50px;
    text-align: center;
  }
}

/* 主要内容区 */
main {
  padding: 20px 0;
}

.main-content {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 20px;
}

.section-header {
  border-bottom: 2px solid #1e3487;
  padding-bottom: 8px;
  margin-bottom: 15px;
}

.section-header h2 {
  font-size: 18px;
  color: #1e3487;
  font-weight: bold;
}

/* 最新动态区域 */
.latest-news {
  background-color: #fff;
  padding: 15px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.news-content {
  display: flex;
  margin-top: 15px;
}

.news-image {
  flex: 0 0 200px;
  margin-right: 15px;
}

.news-image img {
  width: 100%;
  height: auto;
  border: 1px solid #ddd;
}

.news-listabc {
  flex: 1;
}

.news-listabc ul {
  padding-left: 15px;
  list-style: disc;
}

.news-listabc ul li {
  padding: 8px 0;
  border-bottom: 1px dashed #ddd;
  list-style-type: disc !important;
  list-style-position: outside;
  padding-left: 5px;
  margin-left: 5px;
  display: list-item;
}

.news-listabc ul li:last-child {
  border-bottom: none;
}

.news-listabc ul li a {
  display: inline-block;
  vertical-align: middle;
  width: calc(100% - 5px);
  color: #333;
  transition: color 0.3s;
}

.news-listabc ul li a:hover {
  color: #1e3487;
}

.news-list {
  flex: 1;
}

.news-list ul li {
  padding: 8px 0;
  border-bottom: 1px dashed #ddd;
}

.news-list ul li:last-child {
  border-bottom: none;
}

.news-list ul li a {
  color: #333;
  transition: color 0.3s;
}

.news-list ul li a:hover {
  color: #1e3487;
}

/* 两列布局 */
.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 默认50%/50%布局 */
  gap: 20px;
  margin-bottom: 20px;
}

/* 第二个两列布局 - 联系我们和格式要求 */
.two-columns.contact-format {
  grid-template-columns: 0.3fr 0.7fr; /* 30%/70%布局 */
}

.journal-intro, .column-section, .contact-section, .submit-requirements {
  background-color: #fff;
  padding: 15px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.intro-content, .column-content, .contact-content, .requirements-content {
  font-size: 14px;
  line-height: 1.6;
}

.column-title {
  font-weight: bold;
  margin-bottom: 10px;
}

.work-time {
  font-weight: bold;
  margin-bottom: 10px;
}

.requirement-item {
  margin-bottom: 10px;
  padding-left: 10px;
  /* 移除左侧蓝色竖线 */
}

/* 侧边栏 */
.sidebar {
  grid-column: 2;
  grid-row: 1 / span 3;
}

.date-display {
  background-color: #1e3487;
  color: #fff;
  padding: 10px;
  text-align: left;
  margin-bottom: 15px;
}

.sidebar-links {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.sidebar-link {
  display: block;
  background-color: #3e64b8;
  color: #fff;
  padding: 12px;
  text-align: center;
  margin-bottom: 5px;
  transition: background-color 0.3s;
}

.sidebar-link:hover {
  background-color: #1e3487;
  text-decoration: none;
}

.information-box, .friend-links {
  background-color: #fff;
  padding: 15px;
  margin-bottom: 15px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.info-title, .friend-title {
  font-size: 16px;
  color: #1e3487;
  font-weight: bold;
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid #ddd;
}

.info-content p, .friend-content a {
  display: block;
  padding: 5px 0;
}

.friend-content a {
  border-bottom: 1px dashed #ddd;
}

.friend-content a:last-child {
  border-bottom: none;
}

/* 页脚 */
footer {
  background-color: #1e3487;
  color: #fff;
  padding: 15px 0;
  text-align: left;
  font-size: 12px;
}

footer p {
  margin: 5px 0;
}

/* 内容页面样式 */
.page-content {
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* 期刊简介页样式 */
.intro-detail {
  margin-bottom: 30px;
}

.intro-content-detail {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.journal-image {
  text-align: center;
  margin-bottom: 20px;
}

.journal-image img {
  max-width: 300px;
  border: 1px solid #ddd;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.journal-text h3 {
  color: #1e3487;
  font-size: 18px;
  margin: 20px 0 10px;
  padding-bottom: 5px;
  border-bottom: 1px dashed #ddd;
}

.journal-text p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.journal-text ul {
  margin-left: 20px;
  margin-bottom: 15px;
}

.journal-text ul li {
  list-style: none;
  margin-bottom: 5px;
  padding-left: 5px;
}

/* 投稿指南页样式 */
.submit-guide {
  margin-bottom: 30px;
}

.guide-content {
  line-height: 1.6;
}

.guide-section {
  margin-bottom: 25px;
}

.guide-section h3 {
  color: #1e3487;
  font-size: 18px;
  margin-bottom: 15px;
  padding-bottom: 5px;
  border-bottom: 1px dashed #ddd;
}

.guide-section h4 {
  font-size: 16px;
  color: #333;
  margin: 15px 0 10px;
}

.guide-section p {
  margin-bottom: 15px;
}

.guide-section ul, .guide-section ol {
  margin-left: 20px;
  margin-bottom: 15px;
}

.guide-section ul li {
  list-style: disc;
  margin-bottom: 8px;
  padding-left: 5px;
}

.guide-section ol li {
  list-style: decimal;
  margin-bottom: 8px;
  padding-left: 5px;
}

.note {
  background-color: #f8f8f8;
  border-left: 4px solid #1e3487;
  padding: 10px 15px;
  margin: 15px 0;
  font-style: italic;
}

/* 联系方式区域 */
.contact-detail {
  background-color: #f8f8f8;
  padding: 20px;
  border-radius: 4px;
}

.contact-content-detail p {
  margin-bottom: 10px;
}

.contact-content-detail strong {
  color: #1e3487;
}

/* 响应式设计 */
@media (max-width: 1000px) {
  .main-content {
    grid-template-columns: 1fr;
  }
  
  .sidebar {
    grid-column: 1;
    grid-row: auto;
  }
  
  .two-columns, .two-columns.contact-format {
    grid-template-columns: 1fr;
  }
  
  .intro-content-detail {
    flex-direction: column;
  }
  
  .journal-image {
    margin: 0 auto 20px;
  }
  
  .news-content {
    flex-direction: column;
  }
  
  .news-image {
    margin: 0 auto 15px;
  }
  
  /* 移动端联系我们和格式要求区域调整 */
  .contact-section, .submit-requirements {
    width: 100%;
    margin-right: 0;
  }
}

/* 期刊简介详情页样式 */

/* 页面标题 */
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.section-title h2 {
  font-size: 18px;
  color: #1e3487;
  font-weight: bold;
  margin: 0;
}

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

.breadcrumb a {
  color: #999;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #1e3487;
}

/* 主体布局 */
.main-layout {
  display: grid;
  grid-template-columns: 22.5% 77.5%; /* 左侧减少25%，从30%变为22.5% */
  gap: 20px;

}

/* 左侧边栏 */
.left-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

/* 期刊封面容器 - 10:16比例 */
.journal-cover-container {
  width: 100%; /* 宽度恢复为100%，与下方信息介绍宽度一致 */
  padding: 30px; /* 四周均保持30px填充 */
  position: relative;
  overflow: hidden;
  background-color: #f5f5f5;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #ddd;
}

.journal-cover-large {
  width: 100%;
  height: 100%;
  object-fit: contain; /* 确保图片完整显示不变形 */
  display: block;
}

/* 移除缩放效果 */
.journal-cover-large:hover {
  transform: none;
}

/* 侧边栏样式 */
.sidebar-section {
  background-color: #fff;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.info-intro {
  border-top: 4px solid #1e3487;
}

.contact-info {
  border-top: 4px solid #1e3487;
}

.sidebar-title {
  background-color: #1e3487;
  color: #fff;
  font-size: 14px;
  padding: 10px 15px;
  margin: 0;
  font-weight: normal;
}

.sidebar-content {
  padding: 15px;
  font-size: 13px;
  line-height: 1.8;
}

.sidebar-content p {
  margin: 5px 0;
}

.work-time {
  font-weight: bold;
}

/* 右侧内容区域 */
.content-area {
  min-height: 600px;
}

.content-box {
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 20px;
}

/* 期刊内容区域 */
.journal-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.journal-text h3 {
  font-size: 16px;
  color: #1e3487;
  font-weight: bold;
  margin: 0 0 15px 0;
  padding-bottom: 5px;
  border-bottom: 1px solid #eee;
}

.text-content p, 
.direction-content p {
  line-height: 1.8;
  margin-bottom: 15px;
  color: #333;
  text-indent: 2em;
  font-size: 14px;
}

.direction-content {
  padding: 10px;
  background-color: #f9f9f9;
  border-left: 3px solid #1e3487;
  margin-top: 5px;
}

/* 图片模态框样式 */
.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-modal img {
  max-width: 80%;
  max-height: 80%;
  border: 2px solid #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 25px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.modal-close:hover {
  color: #ccc;
}

/* 响应式设计扩展 */
@media (max-width: 1000px) {
  .main-layout {
    grid-template-columns: 1fr;
  }
  
  .section-title {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .breadcrumb {
    margin-top: 10px;
  }
  
  .left-sidebar {
    order: 2;
  }
  
  .content-area {
    order: 1;
  }
  
  .journal-cover-container {
    width: 100%; /* 在移动端设为100%宽度 */
    aspect-ratio: 10 / 16; /* 使用aspect-ratio确保比例 */
    padding: 30px; /* 四周均保持30px填充 */
    max-width: 300px;
    margin: 0 auto 20px;
  }
  
  .image-modal img {
    max-width: 95%;
    max-height: 80%;
  }
}

/* 表格提交样式 */
.submit-form {
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  grid-column: 1;
  grid-row: auto;
}

.form-title {
  font-size: 18px;
  color: #1e3487;
  font-weight: bold;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid #1e3487;
}

.form-group {
  margin-bottom: 15px;
}

.form-label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  color: #333;
}

.form-control {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  font-family: "Microsoft YaHei", Arial, sans-serif;
}

.form-control:focus {
  border-color: #1e3487;
  outline: none;
  box-shadow: 0 0 5px rgba(30, 52, 135, 0.3);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.file-upload {
  display: block;
  margin-top: 5px;
}

.submit-btn {
  background-color: #1e3487;
  color: #fff;
  border: none;
  padding: 10px 25px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background-color: #3e64b8;
}

/* 响应式设计中添加表单样式适配 */
@media (max-width: 1000px) {
  .form-group {
    margin-bottom: 20px;
  }
  
  .submit-btn {
    width: 100%;
  }
}

/* 查询系统样式 */
.query-system {
  width: 100%;
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.query-title {
  font-size: 24px;
  color: #333;
  font-weight: bold;
  text-align: left;
  margin-bottom: 20px;
}

.query-form {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 20px;
}

.query-label {
  font-size: 16px;
  color: #d9534f;
  font-weight: bold;
  margin-right: 10px;
}

.query-input {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 250px;
  font-size: 14px;
  margin-right: 10px;
}

.query-btn {
  padding: 8px 15px;
  background-color: #337ab7;
  border: none;
  color: white;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
  margin-right: 5px;
}

.refresh-btn {
  padding: 8px 15px;
  background-color: #5c5c5c;
  border: none;
  color: white;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
}

.query-table {
  width: 100%;
  border-collapse: collapse;
}

.query-table th {
  background-color: #337ab7;
  color: white;
  padding: 12px;
  text-align: left;
  font-weight: bold;
  border: 1px solid #ddd;
}

.query-table td {
  padding: 10px;
  text-align: left;
  border: 1px solid #ddd;
}

.query-table tr:hover {
  background-color: #f5f5f5;
}

.breadcrumb-nav {
  text-align: left;
  margin-bottom: 20px;
  color: #666;
}

.breadcrumb-nav a {
  color: #666;
}

.breadcrumb-nav a:hover {
  color: #337ab7;
}

/* 分页样式 */
.pagination {
  display: flex;
  justify-content: flex-start;
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.pagination li {
  margin-right: 5px;
}

.pagination li a,
.pagination li span {
  display: block;
  padding: 8px 12px;
  border: 1px solid #ddd;
  color: #337ab7;
  text-decoration: none;
  background-color: #fff;
  transition: all 0.3s ease;
}

.pagination li a:hover {
  background-color: #eee;
  border-color: #ddd;
}

.pagination li.active span {
  background-color: #337ab7;
  color: #fff;
  border-color: #337ab7;
  cursor: default;
}

.pagination li.disabled span {
  color: #777;
  background-color: #fff;
  border-color: #ddd;
  cursor: not-allowed;
}

.pagination-text {
  margin-top: 10px;
  color: #666;
  font-size: 12px;
} 