/* ============================================
   甘肃省图书馆 - 左侧导航 + 页面布局
   ============================================ */

.page-layout {
  display: flex;
  gap: 0;
  padding: 0;
}

#sidebar {
  width: 270px;
  flex-shrink: 0;
}

.page-main {
  flex: 1;
  margin-left: 30px;
  background: #fff;
  padding: 0 40px 40px;
}

.page-main-full {
  margin-left: 0;
  width: 100%;
}

.sidebar-nav {
  width: 270px;
  background: #fff;
  padding-bottom: 40px;
  position: relative;
}

/* 列表页侧边栏 - 标题与子导航分离 */
.sidebar-list {
  background: transparent;
  padding-bottom: 0;
}

.side-subnav-box {
  background: #fff;
  position: relative;
  margin-top: 25px;
  min-height: 60px;
  padding-bottom: 20px;
}


/* 推荐阅读 */
.sub-recommend {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 23px 0;
  gap: 15px;
}




.rec-line {
  width: 50px;
  height: 0;
  border-top: 1px solid #eeceb1;
  flex-shrink: 0;
}

.rec-title {
  font-size: 18px;
  color: #333;
  white-space: nowrap;
  flex-shrink: 0;
}

/* 文章标题列表 */
.sub-articles {
  padding: 18px 10px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.sub-art-item {
  display: block;
  width: 250px;
  height: 60px;
  background: #eff7ff;
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 14px;
  color: #333;
  line-height: 1.6;
  overflow: hidden;
  text-indent: -12px;
  padding-left: 26px;
}

.art-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #eeceb1;
  transform: rotate(45deg);
  vertical-align: middle;
  margin-right: 7px;
}

/* 列表子导航 */
.side-subnav {
  position: relative;
  padding: 25px 23px 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.subnav-zs {
  position: absolute;
  top: 10px;
  width: auto;
  height: auto;
}

.subnav-zs-l {
  left: 8px;
  transform: scaleY(-1);
}

.subnav-zs-r {
  right: 8px;
  transform: scaleY(-1) scaleX(-1);
}

.subnav-item {
  font-size: 16px;
  color: #666;
  cursor: pointer;
  padding: 6px 12px;
  transition: color 0.3s;
}

.subnav-item:hover,
.subnav-item.active {
  color: #2e6aba;
  font-weight: bold;
}

.side-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
}

.zs-left {
  position: absolute;
  left: 10px;
  bottom: 14px;
}

.zs-right {
  position: absolute;
  right: 10px;
  bottom: 14px;
  transform: scaleX(-1);
}

/* 顶部大标题 */
.side-title {
  width: 270px;
  height: 80px;
  line-height: 80px;
  text-align: center;
  background: url('image/ejybg.png') no-repeat center center;
  background-size: 100% 100%;
  color: #fff;
  font-size: 24px;
}

/* 子项 */
.side-item {
  height: 73px;
  background: #fff;
  position: relative;
}

.side-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 23px;
  right: 23px;
  height: 1px;
  border-bottom: 1px dashed #d0d8e0;
}

.side-item a {
  display: flex;
  align-items: center;
  height: 73px;
  padding: 0 23px;
  font-size: 18px;
  color: #333;
  transition: all 0.3s;
  gap: 18px;
}

.side-item a img {
  width: auto;
  height: 20px;
}

.side-item a:hover,
.side-item.active a {
  color: #2e6aba;
  font-weight: bold;
}

/* 右侧内容区 */
.page-main {
  padding-top: 0;
}

.content-top-line {
  height: 3px;
  background: #ffc067;
  margin: 0 -40px;
}

.content-title {
  font-size: 24px;
  color: #333;
  margin-top: 40px;
  text-align: center;
}

.content-meta {
  margin-top: 28px;
  font-size: 15px;
  color: #666;
  display: flex;
  justify-content: center;
  gap: 24px;
}

.content-divider {
  margin-top: 28px;
  height: 1px;
  background: #dceaf8;
  margin-left: -40px;
  margin-right: -40px;
}

.content-body {
  margin-top: 35px;
  font-size: 16px;
  color: #333;
  line-height: 2;
}

.content-body p {
  text-indent: 2em;
  margin-bottom: 16px;
}
#show {
  padding: 0 !important;
}
.about-heading {
  font-size: 38px;
  color: #2e6aba;
  text-align: center;
  margin-top: 35px;
}

.about-summary {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  text-align: center;
  margin-top: 35px;
}

/* 可复用：标题+ZS装饰+内容盒子 */
.sec-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 35px;
  margin-top: 60px;
}

.sec-title span {
  font-size: 20px;
  font-weight: bold;
  color: #333;
}

.sec-zs {
  width: auto;
  height: auto;
}

.sec-zs-l {
  transform: scaleX(-1);
}

.sec-box {
  background: #f5faff;
  padding: 30px;
  margin-top: 20px;
  border-radius: 6px;
}

.sec-box p {
  font-size: 18px;
  color: #333;
  line-height: 42px;
  text-indent: 2em;
  margin-bottom: 10px;
}

.activity-info-bar {
  height: 75px;
  background: #eef4fb;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  font-size: 18px;
  color: #136dbe;
  margin: 0 -40px;
}

.font-size-btn {
  cursor: pointer;
  color: #666;
}
.font-size-btn:hover {
  color: #2e6aba;
}
