@charset "utf-8";
/* 图书详情页布局 · 按 1142px 板块尺寸示意图重排版式
   页面 1142 / 内容区 761 / 封面 247x333 / 信息 481x333
   / 标签栏 50px / 内容区 761x约202
   字体、字号、颜色全部沿用原页面 style.css，此处只改布局 */

/* 页面主体：1142px 水平居中 */
#container .inner { width: 1142px; margin: 0 auto; }

.infobox { min-height: 0; margin: 0 auto; }
.article { width: 761px; margin: 0 auto; }
.article .entry { width: 100%; margin: 0; overflow: visible; }

/* 三板块整体：上下内边距 40px */
.read.read_book {
  position: static;
  width: 761px;
  margin: 0 auto;
  padding: 40px 0;
  overflow: visible;
}

/* ---------- 板块一：封面 247x333 + 基础信息 481x333，间距 33px ---------- */
.book-grid {
  display: flex;
  width: 761px;
  height: 333px;
  align-items: stretch;
}

.read_book .con_img {
  position: static;
  top: auto;
  right: auto;
  display: block;
  flex: 0 0 247px;
  width: 247px;
  height: 333px;
  margin: 0 33px 0 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #f2f5fa;
}

.read_book .con_img img {
  display: block;
  width: 247px;
  height: 333px;
  padding: 0;
  border: 0;
  object-fit: cover;
  background: #f2f5fa;
}

.read_book .con_img.no-image::after {
  content: "封面图片";
  display: block;
  width: 100%;
  height: 100%;
  line-height: 333px;
  text-align: center;
  color: #333;
  font: 14px/1.6 "Microsoft YaHei", "微软雅黑", Tahoma, sans-serif;
}

.book-info {
  flex: 1 1 481px;
  width: 481px;
  height: 333px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  border: 1px solid #eee;
  background: #fff;
}

.book-info .info-row {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  padding: 0 18px;
  border-bottom: 1px solid #eee;
  color: #333;
  font: 14px/1.6 "Microsoft YaHei", "微软雅黑", Tahoma, sans-serif;
}
.book-info .info-row:last-child { border-bottom: 0; }

/* 字段标签沿用原 .book > span：13px、#1e50ae、加粗 */
.book-info .info-label {
  flex: 0 0 112px;
  color: #1e50ae;
  font: bold 13px/1.6 "Microsoft YaHei", "微软雅黑", Tahoma, sans-serif;
  white-space: nowrap;
}

/* 字段值沿用原正文：14px、#333、行高 1.6 */
.book-info .con_con {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  color: #333;
  font: 14px/1.6 "Microsoft YaHei", "微软雅黑", Tahoma, sans-serif;
  word-break: break-word;
}

/* ---------- 板块二：标签栏 50px 高 ---------- */
.book-tabbar {
  display: flex;
  width: 761px;
  height: 50px;
  box-sizing: border-box;
  border: 1px solid #eee;
  border-bottom: 0;
  background: #fff;
}

.book-tab {
  flex: 1 1 0;
  box-sizing: border-box;
  height: 49px;
  border-right: 1px solid #eee;
  color: #1e50ae;
  font: bold 13px/49px "Microsoft YaHei", "微软雅黑", Tahoma, sans-serif;
  text-align: center;
  text-decoration: none;
  position: relative;
  cursor: pointer;
}
.book-tab:last-child { border-right: 0; }
.book-tab:only-child { text-align: left; padding-left: 18px; }
.book-tab:hover { color: #cd0200; }
.book-tab.active { color: #1e50ae; background: #f9f8fd; }
.book-tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: #1e50ae;
}
.book-tab:focus-visible { outline: 2px solid #1e50ae; outline-offset: -2px; }

/* ---------- 板块三：内容区 761x约202 ---------- */
.book-panels {
  width: 761px;
  min-height: 202px;
  box-sizing: border-box;
  padding: 24px 28px;
  border: 1px solid #eee;
  background: #fff;
}

.book-panel { display: none; }
.book-panel.active { display: block; }

.read.read_book .book-panel .con_con,
.read.read_book .book-panel p {
  margin: 0 0 6px;
  color: #333;
  font: 14px/1.6 "Microsoft YaHei", "微软雅黑", Tahoma, sans-serif;
}
