* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
 }

 html {
   height: 100%;
   font-size: 24px;
 }
 body {
   height: 100%;
   color: #333;
   min-width: 1240px;
   font: 1em/2.4 ,'PingFangSC-Regular', 'PingFang SC', sans-serif
 }

 ul,
 h1,
 h3,
 h4,
 p,
 dl,
 dd {
   padding: 0;
   margin: 0;
 }

 a {
   text-decoration: none;
   outline: none;
   color: #fff;
 }

 i {
   font-style: normal;
 }

 input[type="text"],
 input[type="search"],
 input[type="password"],
 input[type="checkbox"],
 input[type="number"]{
   padding: 0;
   outline: none;
   border: none;
   -webkit-appearance: none;
 }
 input::placeholder{
  color: #ccc;
}
 input::-webkit-outer-spin-button,
 input::-webkit-inner-spin-button {
   -webkit-appearance: none !important;
}

 img {
   max-width: 100%;
   max-height: 100%;
   vertical-align: middle;
 }

 ul {
   list-style: none;
 }

 #app {
   background: #f5f5f5;
   user-select: none;
 }

 .container {
   width: 1320px;
   margin: 0 auto;
   position: relative;
 }

 .ellipsis {
   white-space: nowrap;
   text-overflow: ellipsis;
   overflow: hidden;
 }

 .ellipsis-2 {
   word-break: break-all;
   text-overflow: ellipsis;
   display: -webkit-box;
   -webkit-box-orient: vertical;
   -webkit-line-clamp: 2;
   overflow: hidden;
 }
 .ellipsis-6 {
   word-break: break-all;
   text-overflow: ellipsis;
   display: -webkit-box;
   -webkit-box-orient: vertical;
   -webkit-line-clamp: 6;
   overflow: hidden;
 }

 .fl {
   float: left;
 }

 .fr {
   float: right;
 }

 .clearfix:after {
   content: ".";
   display: block;
   visibility: hidden;
   height: 0;
   line-height: 0;
   clear: both;
 }

/* ========= 子页面公共样式 ========= */

.sub-content {
  min-height: calc(100vh - 480px - 200px);
}

.sub-content .container {
  display: flex;
  min-height: 920px;
}

/* 左侧菜单 */
.sub-sidebar {
  width: 360px;
  background: #fff;
  border-right: 1px solid #eee;
  flex-shrink: 0;
}

.sub-sidebar ul {
  padding: 30px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sub-sidebar ul a {
  text-decoration: none;
  color: #324159;
}

.sub-sidebar ul li {
  position: relative;
  padding: 0 36px;
  height: 86px;
  line-height: 86px;
  font-size: 22px;
  font-weight: 400;
  color: #324159;
  cursor: pointer;
  transition: all 0.2s ease;
  border-left: 4px solid transparent;
  border-radius: 0 6px 6px 0;
}

.sub-sidebar ul li:hover {
  color: #0F6FB8;
  background: #f0f7ff;
  border-left-color: #0F6FB8;
}

.sub-sidebar ul li.a_active {
  color: #fff;
  background: #0F6FB8;
  border-left-color: #084c85;
}

/* 右侧主内容 */
.sub-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
}

/* 右侧顶部标题栏 */
.sub-main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  height: 72px;
  flex-shrink: 0;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}

.sub-main-title {
  font-size: 22px;
  font-weight: 600;
  color: #1a1a2e;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sub-main-title i {
  color: #0F6FB8;
  font-size: 20px;
}

.sub-breadcrumb {
  font-size: 15px;
  color: #999;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sub-breadcrumb a {
  text-decoration: none;
  color: #0F6FB8;
}

.sub-breadcrumb a:hover {
  text-decoration: underline;
}

.sub-breadcrumb .sep {
  color: #ccc;
  font-size: 12px;
}

.sub-breadcrumb .current {
  color: #666;
}

/* 右侧内容区 */
.sub-main-body {
  flex: 1;
  padding: 20px;
  overflow: auto;
}

.sub-pdf-wrap {
  width: 100%;
  height: 100%;
  min-height: 860px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.sub-pdf-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* 子页面手机端适配 */
@media (max-width: 768px) {
  .sub-content .container {
    flex-direction: column;
    min-height: auto;
  }

  .sub-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #eee;
  }

  .sub-sidebar ul li {
    height: 52px;
    line-height: 52px;
    font-size: 17px;
  }

  .sub-main-header {
    padding: 0 16px;
    height: 56px;
  }

  .sub-main-title {
    font-size: 18px;
  }

  .sub-breadcrumb {
    font-size: 13px;
  }

  .sub-main-body {
    padding: 12px;
  }

  .sub-pdf-wrap {
    min-height: 400px;
  }
}
