/* 新闻详情页面专用样式 */
.notice-text {
  width: 100%;
  padding: 20px 0;
}

.notice-box {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.notice-box.common-width {
  width: 100%;
  max-width: 1200px;
}

@media (max-width: 768px) {

  .carousel-item {
    height: 250px;
  }

  .carousel-title {
    font-size: 28px;
  }

  .carousel-subtitle {
    font-size: 16px;
  }

  .carousel-buttons {
    bottom: 40px;
  }
}

@media (max-width: 480px) {

  .carousel-item {
    height: 200px;
  }

  .carousel-title {
    font-size: 24px;
  }

  .carousel-subtitle {
    font-size: 14px;
  }

  .carousel-btn {
    padding: 8px 20px;
    font-size: 14px;
    min-width: 100px;
  }
}

/* 面包屑样式 */
.crumbs {
  background: white;
  border-radius: 6px;
}

.el-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.el-breadcrumb__item {
  display: flex;
  align-items: center;
}

.el-breadcrumb__inner {
  padding: 5px 10px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.el-breadcrumb__inner.is-link a {
  color: #333;
  text-decoration: none;
  font-weight: 400;
}

.el-breadcrumb__inner.is-link:hover a {
  color: #1976d2;
}

.el-breadcrumb__inner.is-link:hover {
  background-color: #f5f5f5;
}

.el-breadcrumb__separator {
  margin: 0 10px;
  color: #999;
}

.crumbs-item {
  color: #666;
  font-weight: 500;
  padding: 5px 10px;
}

/* 内容区域 */
.content {
  background: white;
  padding: 25px;
  border-radius: 6px;
  border: 1px solid #eaeaea;
}

.content h2 {
  color: #333;
  margin-bottom: 15px;
  font-weight: 500;
}

.content p {
  line-height: 1.6;
  margin-bottom: 15px;
  color: #555;
}

/* 响应式设计 */
@media (max-width: 600px) {
  .container {
    padding: 20px;
  }

  .el-breadcrumb {
    align-items: flex-start;
  }

  .el-breadcrumb__item {
    margin-bottom: 5px;
  }

  .el-breadcrumb__separator {}
}

/* 新闻主体内容样式 */
.notice-main {
  padding: 30px 0 30px;
}

.notice-title {
  margin-bottom: 30px;
  border-bottom: 1px solid #eee;
}

.title-name {
  display: block;
  font-size: 28px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.3;
}

.title-remark {
  display: flex;
  justify-content: space-between;
  color: #999;
  font-size: 14px;
}

/* 新闻内容样式 */
.notice-content {
  
}

.notice-content p {
  margin-bottom: 20px;
  line-height: 1.8;
  font-size: 16px;
  color: #555;
  text-align: justify;
}

.notice-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.notice-content h2 {
  font-size: 22px;
  font-weight: bold;
  margin: 40px 0 25px;
  color: #333;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
}

.notice-content strong {
  font-weight: bold;
  color: #333;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .notice-content {
    padding: 20px 20px 0;
  }

  .title-name {
    font-size: 24px;
  }

  .title-remark {
    flex-direction: column;
    gap: 10px;
  }

  .notice-content p {
    font-size: 15px;
  }

  .notice-content h2 {
    font-size: 20px;
    margin: 30px 0 20px;
  }
}

@media (max-width: 480px) {
  .notice-box {
    padding: 0 15px;
  }

  .notice-main {
    padding: 20px 0 50px;
  }

  .title-name {
    font-size: 20px;
  }

  .notice-content {
    padding: 15px 10px 0;
  }

  .notice-content p {
    font-size: 14px;
  }

  .notice-content h2 {
    font-size: 18px;
    margin: 25px 0 15px;
  }

  .title-remark {
    font-size: 13px;
  }
}

/* 额外的细节样式 */
.notice-content a {
  color: #007bff;
  text-decoration: none;
}

.notice-content a:hover {
  text-decoration: underline;
}

.notice-content ul,
.notice-content ol {
  margin: 20px 0;
  padding-left: 30px;
}

.notice-content li {
  margin-bottom: 10px;
  line-height: 1.6;
}

/* 加载和错误状态样式 */
.notice-content .loading,
.notice-content .error {
  text-align: center;
  padding: 40px 20px;
  font-size: 16px;
  color: #666;
}

.notice-content .loading {
  color: #007bff;
}

.notice-content .error {
  color: #dc3545;
}

/* 新闻详情模态框样式 */
.news_sub_page-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.news_sub_page-modal-content {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.news_sub_page-modal-header {
  padding: 20px;
  border-bottom: 1px solid #eee;
  position: relative;
}

.news_sub_page-modal-header h2 {
  margin: 0;
  font-size: 24px;
  color: #333;
  line-height: 1.4;
}

.news_sub_page-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #999;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news_sub_page-modal-close:hover {
  color: #333;
}

.news_sub_page-modal-meta {
  padding: 15px 20px;
  background-color: #f8f9fa;
  font-size: 14px;
  color: #666;
  display: flex;
  justify-content: space-between;
}

.news_sub_page-modal-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}

.news_sub_page-modal-body img {
  max-width: 100%;
  height: auto;
}

/* 返回按钮样式 */
.back-to-list {
  display: inline-block;
  margin-bottom: 20px;
  color: #007bff;
  text-decoration: none;
  font-size: 14px;
}

.back-to-list:hover {
  text-decoration: underline;
}