/* =========================================================
   /css/style_book.css  (CLEAN REPLACE)
   - only for Book page (body.page-book)
   - fixes:
     1) navbar text overflow
     2) navbar_under height (outside header)
   ========================================================= */

/* -------------------------
   Base
------------------------- */
body.page-book{
  margin: 0;
  line-height: 1.6em;
  font-family: "Noto Sans KR", system-ui, -apple-system, "Apple SD Gothic Neo",
               "Malgun Gothic", sans-serif;
  font-size: 18px;
  color: #111;
}

body.page-book *{ box-sizing: border-box; }

/* -------------------------
   Layout
------------------------- */
body.page-book .container{
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.page-book .main{
  flex: 1 0 auto;
  min-width: 0;
}

/* =========================================================
   BOOK HEADER (상/중 헤더 배경 영역)
   - header 배경은 여기까지만
========================================================= */
body.page-book .header{
  display: flex;
  flex-direction: column;

  background-image: url("/img/book_title.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* 높이(필요 시 값만 조절) */
  min-height: clamp(320px, 55vh, 640px);
}

/* -------------------------
   Top navbar (slim)
------------------------- */
body.page-book .header > .navbar{
  display: grid;
  grid-template-columns: auto 1fr;   /* ✅ 오른쪽 빈 column 제거 */
  align-items: center;
  column-gap: 12px;

  background: linear-gradient(to bottom, #E0E0E0, #D4D4D4);

  min-height: 30px;
  padding: 6px 12px;
  overflow: hidden;
}

body.page-book .header > .navbar .logo{
  display: flex;
  align-items: center;
  margin-left: 10px;
}

body.page-book .header > .navbar .logo img{
  height: 18px;
  width: auto;
  display: block;
}

body.page-book .header > .navbar .logo_text{
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  text-align: center;
}

body.page-book .header > .navbar .logo_text p{
  margin: 0;
  padding: 0;

  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #111;
  font-weight: 500;

  font-size: 9px;
  letter-spacing: 0.12em;
  line-height: 1;

  /* ✅ 넘침 방지 */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* -------------------------
   Middle headwords (좌/중/우)
------------------------- */
body.page-book .header > .headwords{
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;

  gap: 18px;
  padding: 22px 26px 18px;
  text-align: center;
}

/* 예전 absolute 잔재로 겹치는 것 방지 */
body.page-book .header > .headwords img{
  position: static !important;
  top: auto !important;
  left: auto !important;
}

/* row01 (왼쪽 책 패널) */
body.page-book .header > .headwords .row01{
  flex: 0 0 auto;

  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);

  padding: 14px;
  border-radius: 28px;
  box-shadow: 0 8px 26px rgba(0,0,0,0.24);
}

body.page-book .header > .headwords .row01 img{
  display: block;
  height: 200px;
  width: 140px;
  max-width: 140px;

  border-radius: 32px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

/* row02 (가운데 타이틀) */
body.page-book .header > .headwords .row02{
  flex: 1 1 320px;
  min-width: 240px;
  display: flex;
  justify-content: center;
}

body.page-book .header > .headwords .row02 .titlebox{
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;

  padding: 14px 22px;
  border-radius: 16px;

  background: rgba(0,0,0,0.28);
  backdrop-filter: blur(2px);

  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}

body.page-book .header > .headwords .row02 .kicker{
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

body.page-book .header > .headwords .row02 .main{
  font-size: 64px;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1;
}

/* row03 (오른쪽 로고 패널) */
body.page-book .header > .headwords .row03{
  flex: 0 0 auto;

  background: rgba(255,255,255,0.16);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  padding: 12px;
  border-radius: 22px;
  box-shadow: 0 10px 32px rgba(0,0,0,0.28);
}

body.page-book .header > .headwords .row03 img{
  display: block;
  height: 130px;
  width: auto;
  max-width: 180px;

  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

/* =========================================================
   NAVBAR_UNDER (헤더 밖 메뉴바) — 높이 얇게
========================================================= */
body.page-book .navbar_under{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;     /* ✅ 세로 중앙 */
  flex-wrap: wrap;

  width: 100%;
  background-color: #263343;

  min-height: 35px;
  padding: 6px 8px;
  gap: 6px 14px;
}

body.page-book .navbar_under a{
  text-decoration: none;
  color: #fff;
}

body.page-book .menu_under a{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 12px;
  padding: 6px 10px;
  line-height: 1.1;
  white-space: nowrap;

  border-radius: 9px;
  background-color: transparent;
  margin-right: 0;
}

body.page-book .menu_under a:hover{
  background-color: rgba(255,255,255,0.9);
  color: #263343;
}

/* 작은 span(예: 전체목록) */
body.page-book .navbar_under span{
  font-size: 10px;
  -webkit-transform: scale(0.85);
  display: inline-block;
}

/* English Version 여백 과다 방지 */
body.page-book .menu_under a[style*="margin-left"]{
  margin-left: 40px !important;
}

/* =========================================================
   Responsive
========================================================= */
@media (max-width: 768px){
  body.page-book{ font-size: 16px; }

  body.page-book .header{
    min-height: clamp(280px, 55vh, 560px);
  }

  body.page-book .header > .navbar .logo_text p{
    font-size: 8px;
    letter-spacing: 0.10em;
  }

  body.page-book .header > .headwords{
    padding: 18px 16px 14px;
  }

  body.page-book .header > .headwords .row01 img{
    height: 170px;
    width: 120px;
    max-width: 120px;
    border-radius: 24px;
  }

  body.page-book .header > .headwords .row02 .main{
    font-size: 52px;
  }

  body.page-book .header > .headwords .row03 img{
    height: 110px;
  }

  body.page-book .navbar_under{
    min-height: 38px;
    padding: 6px;
  }
}

@media (max-width: 480px){
  body.page-book .header > .headwords .row02 .main{
    font-size: 44px;
  }
}

/* ===== BOOK: 전역 style.css navbar 덮어쓰기(확정) ===== */
body.page-book .navbar{
  display: grid !important;
  grid-template-columns: auto 1fr !important;
  align-items: center !important;
  justify-content: normal !important;
  height: auto !important;          /* 전역 height:33px 무력화 */
  min-height: 30px !important;
  padding: 6px 12px !important;
  flex-wrap: nowrap !important;     /* 전역 wrap 무력화 */
}

/* 텍스트 넘침 방지(이미 넣어둔 값과 같으면 생략 가능) */
body.page-book .navbar .logo_text p{
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


/* ===== 이하 본문 내용 ================= */
.book {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
}

.book01 {
    display: inline-flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    align-self: center;
    flex-basis: auto;
}

.books_image {
    text-align: center;
    margin-bottom: 30px;
    align-self: center;
    flex-basis: auto;
}

.books_image img {
    width: 70%;
    margin-right: 20px;
    flex-basis: auto;
}

.booklist {
    flex-basis: auto;
    border: 1px none black;
    margin: 0px auto;
    text-align: left;
    padding-left: 10px;
    margin-bottom: 30px;
    background-color: snow;
    flex-basis: auto;
}

.booklist p {
    font-size: 16px;
    text-indent: -3em;
    margin-left: 3em;
}

.book01 .booklist span {
    font-size: 21px;
    font-family: 'Nanum Pen Script', cursive;
    color: red;
}

.booklist .bookid a {
    text-decoration: none;
    color: black;
}
/* 맨 위 목록의 PDF 책내려받기 글씨체 */
.book01 .booklist span a{
  font-family: 'Nanum Pen Script', cursive;
  color: rgb(80, 19, 233);
  font-size: 24px;  
}
.booklist .bookid span a:hover {
  display: inline-block;
  animation: shake 0.3s infinite;
}

.book02 {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
}

.book02 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.book02 .book_image h5 {
    font-family: 'Noto Serif KR', serif;
    color: white;
    border: 0px solid white;
    background-color: teal;
    width: 70%;
    padding: 8px;
}

.book02 .book_image img {
    width: 250px;
    margin-right: 50px;
}

.book02 .book_image p {
    font-size: 14px;
    border: 1px solid blue;
    width: 260px;
    padding: 5px;
    line-height: 1.8em;
}

.book02 .book_image p span {
    color: blue;
    font-weight: bolder;
}

.book02 .explain {
    border: 1px solid blue;
    width: 650px;
    padding: 20px;
    margin-right: 20px;
}

.book02 .explain p {
    font-size: 16px;
}

.charae1 {
    font-size: 12px;
    line-height: 1.7em;
}

.charae2 {
    font-size: 12px;
    line-height: 1.6em;
}

.charae1 span {
    font-size: 13px;
    font-weight: bold;
}

.charae2 span {
    font-size: 13px;
    font-weight: bold;
}

.book02 .reviewsOnPM {
    border: 0px solid blue;
    width: 650px;
    padding: 20px;
    margin-right: 20px;
}

/*-----------------------------------------------------------------*/
.book03 {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
}

.book03 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.book03 .book_image h5 {
    font-family: 'Noto Serif KR', serif;
    color: white;
    border: 0px solid white;
    background-color: teal;
    width: 100%;
    padding: 8px;
}

.book03 .book_image img {
    width: 250px;
    margin-right: 50px;
}

.book03 .book_image p {
    font-size: 14px;
    border: 0px solid blue;
    width: 260px;
    padding: 5px;
    line-height: 1.8em;
}

.book03 .explain {
    border: 0px solid blue;
    width: 600px;
    padding: 20px;
    margin-right: 20px;
}

.book03 .explain p {
    font-size: 16px;
}

.charae {
    font-size: 11px;
    line-height: 1.7em;
    border: 1px solid blue;
    padding: 5px;
}

/*--book04 비판적 생명철학----------------------------------*/
.book04 {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
}

.book04 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding-top: 10px;
}

.book04 .book_image h5 {
    font-family: 'Noto Serif KR', serif;
    color: white;
    border: 0px solid white;
    background-color: teal;
    width: 80%;
    padding: 8px;
}

.book04 .book_image img {
    width: 250px;
    margin-right: 50px;
    border: 1px solid blue;
}

.book04 .book_image p {
    font-size: 15px;
    line-height: 2em;
    border: 1px solid blue;
    width: 260px;
    padding: 1px;
}

.book04 a {
    color: red;
}

.book04 .explain {
    border: 1px solid blue;
    width: 500px;
    padding: 10px;
    margin-right: 20px;
}

.book04 .explain p {
    font-size: 16px;
}

.book04 .charae1 {
    font-size: 12px;
    line-height: 1.7em;
}

.book04 .charae2 {
    font-size: 12px;
    line-height: 1.7em;
}

/*-------------------승려와 원숭이 book05--------*/
.book05 {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
}

.book05 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.book05 .book_image h5 {
    font-family: 'Noto Serif KR', serif;
    color: white;
    border: 0px solid white;
    background-color: teal;
    width: 80%;
    padding: 8px;
}

.book05 .book_image img {
    width: 250px;
    margin-right: 50px;
}

.book05 .book_image p {
    font-size: 12px;
    border: 1px solid blue;
    width: 250px;
    padding: 5px;
    line-height: 1.8em;
}

.book05 .explain p {
    font-size: 16px;
}

.book05 .explain {
    border: 1px solid blue;
    width: 450px;
    padding-left: 20px;
    padding-right: 20px;
    margin-right: 20px;
}

/*-----------------------book06 생물철학----------*/
.book06 {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
}

.book06 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.book06 .book_image h5 {
    font-family: 'Noto Serif KR', serif;
    color: white;
    border: 0px solid white;
    background-color: teal;
    width: 250px;
    padding: 8px;
}

.book06 .book_image img {
    width: 250px;
    margin-right: 50px;
}

.book06 .book_image p {
    font-size: 14px;
    border: 0px solid blue;
    width: 270px;
    padding: 5px;
}

.book06 .charae {
    font-size: 11px;
    line-height: 1.6em;
    color: black;
    width: auto;
    column-width: 180px;
    column-gap: 10px;
}

.book06 .explain {
    border: 0px solid blue;
    width: 1240px;
    padding: 50px;
    margin-right: 0px;
    column-width: 280px;
    column-gap: 40px;
}

.book06 .explain p {
    font-size: 16px;
    line-height: 2.0em;
}

/* ========================== */
.book07 {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
}

.book07 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.book07 .book_image h5 {
    font-family: 'Noto Serif KR', serif;
    color: white;
    border: 0px solid white;
    background-color: teal;
    width: 80%;
    padding: 8px;
}

.book07 .book_image img {
    width: 250px;
    margin-right: 50px;
}

.book07 .book_image p {
    font-size: 14px;
    border: 1px solid blue;
    width: 260px;
    padding: 5px;
    line-height: 2em;
}

.book07 .explain p {
    font-size: 16px;
}

.book07 .explain {
    border: 1px solid blue;
    width: 450px;
    padding-left: 20px;
    padding-right: 20px;
    margin-right: 20px;
}

.book07 .explain_review {
    border: 1px solid #263343;
    padding: 5px;
}

/* =============book8은 이분법을 넘어============= */
.book08 {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
}

.book08 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.book08 .book_image h5 {
    font-family: 'Noto Serif KR', serif;
    color: white;
    border: 0px solid white;
    background-color: teal;
    width: 80%;
    padding: 8px;
}

.book08 .book_image img {
    width: 250px;
    margin-right: 50px;
}

.book08 .book_image p {
    font-size: 12px;
    border: 0px solid blue;
    width: 260px;
    padding: 5px;
    line-height: 2em;
}

.book08 .explain p {
    font-size: 16px;
}

.book08 .explain {
    border: 0px solid blue;
    width: 400px;
    padding-left: 20px;
    padding-right: 20px;
    margin-right: 20px;
}

/* ----------------book9는 시앵티아  */
.book09 {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
}

.book09 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.book09 .book_image h5 {
    font-family: 'Noto Serif KR', serif;
    color: white;
    border: 0px solid white;
    background-color: teal;
    width: 70%;
    padding: 8px;
}

.book09 .book_image img {
    width: 250px;
    margin-right: 50px;
}

.book09 .book_image p {
    font-size: 14px;
    border: 0px solid blue;
    width: 250px;
    padding: 5px;
    line-height: 1.8em;
}

.book09 .explain {
    border: 1px solid blue;
    width: 300px;
    padding: 20px;
    margin-right: 20px;
}

.book09 .explain p {
    font-size: 16px;
}

.book09 .charae {
    font-size: 12px;
    line-height: 2em;
    border: 0px;
}

/* --------------------book10 인문학 어떻게 공부할 것인가 */
.book10 {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
}

.book10 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.book10 .book_image h5 {
    font-family: 'Noto Serif KR', serif;
    color: white;
    border: 0px solid white;
    background-color: teal;
    width: 80%;
    padding: 8px;
}

.book10 .book_image img {
    width: 250px;
    margin-right: 35px;
}

.book10 .book_image p {
    font-size: 12px;
    border: 1px solid blue;
    width: 260px;
    padding: 5px;
    line-height: 2em;
}

.book10 .explain p {
    font-size: 16px;
}

.book10 .explain {
    border: 0px solid #263343;
    width: 450px;
    padding-left: 20px;
    padding-right: 20px;
    margin-right: 20px;
}

.book10 .explain_review {
    border: 1px solid #263343;
    width: 650px;
    padding: 5px;
}

/* --------------------book15 아파트살이 */
.book15 {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
}

.book15 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.book15 .book_image h5 {
    font-family: 'Noto Serif KR', serif;
    color: white;
    border: 0px solid white;
    background-color: teal;
    width: 80%;
    padding: 8px;
}

.book15 .book_image img {
    width: 250px;
    margin-right: 35px;
}

.book15 .book_image p {
    font-size: 11px;
    border: 1px solid blue;
    width: 260px;
    padding: 5px;
    line-height: 1em;
}

.book15 .explain p {
    font-size: 15px;
}

.book15 .explain {
    border: 0px solid #263343;
    width: 450px;
    padding-left: 20px;
    padding-right: 20px;
    margin-right: 20px;
}

.book15 .explain_review {
    border: 1px solid #263343;
    width: 650px;
    padding: 5px;
}

/* --------------book11 환경철학 */
.book11 {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
}

.book11 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.book11 .book_image h5 {
    font-family: 'Noto Serif KR', serif;
    color: white;
    border: 0px solid white;
    background-color: teal;
    width: 70%;
    padding: 8px;
}

.book11 .book_image img {
    width: 250px;
    margin-right: 50px;
}

.book11 .explain {
    border: 0px solid blue;
    width: 300px;
    padding: 20px;
    margin-right: 20px;
}

.book11 .explain p {
    font-size: 11px;
    line-height: 1.8em;
}

/* --------------book12 과학철학의 역사 */
.book12 {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
}

.book12 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.book12 .book_image h5 {
    font-family: 'Noto Serif KR', serif;
    color: white;
    border: 0px solid white;
    background-color: teal;
    width: 80%;
    padding: 8px;
}

.book12 .book_image img {
    width: 200px;
    margin-right: 35px;
}

.book12 .book_image p {
    width: 250px;
    margin-right: 35px;
    border: 0px solid blue;
    font-size: 13px;
}

.book12 .explain {
    border: 1px solid blue;
    width: auto;
    padding: 20px;
    margin-right: 20px;
}

.book12 .explain p {
    font-size: 13px;
}

/* --------------book13 부분의 합은 전체인가 */
.book13 {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
}

.book13 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.book13 .book_image h5 {
    font-family: 'Noto Serif KR', serif;
    color: white;
    border: 0px solid white;
    background-color: teal;
    width: 80%;
    padding: 8px;
}

.book13 .book_image img {
    width: 250px;
    margin-right: 35px;
}

.book13 .book_image p {
    width: 250px;
    margin-right: 35px;
    border: 0px solid blue;
    font-size: 10px;
    line-height: 1.8em;
}

.book13 .explain {
    border: 0px solid blue;
    width: auto;
    padding: 20px;
    margin-right: 20px;
}

.book13 .explain img {
    width: 450px;
}

.book13 .explain p {
    font-size: 12px;
}

/* --------------book14  */
.book14 {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
}

.book14 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.book14 .book_image h5 {
    font-family: 'Noto Serif KR', serif;
    color: white;
    border: 0px solid white;
    background-color: teal;
    width: 90%;
    padding: 8px;
}

.book14 .book_image img {
    width: 250px;
    margin-right: 40px;
}

.book14 .book_image p {
    font-size: 12px;
    border: 1px solid #263343;
    width: 250px;
    padding: 5px;
    line-height: 1.8em;
}

.book14 .explain {
    border: 0px solid blue;
    width: 360px;
    padding: 10px;
    margin-right: 10px;
}

.book14 .explain p {
    font-size: 16px;
}

.book14 .charae {
    font-size: 12px;
    line-height: 2em;
    border: 1px solid #263343;
}

.book14 .charae a {
    font-size: 16px;
    font-weight: bold;
}

/* --------------book15 앞에 배치*/

/* --------------book16 */
.book16 {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
}

.book16 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.book17 .book_image {
  overflow: visible;
}
.book16 .book_image h5 {
    font-family: 'Noto Serif KR', serif;
    color: white;
    border: 0px solid white;
    background-color: teal;
    width: calc(100% + 20px);
    margin-left: -20px;
    padding: 8px;
}

.book16 .book_image img {
    width: 400px;
    margin-right: 35px;
    border: 2px solid #ccc;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.book16 .book_image p {
    width: 250px;
    margin-right: 35px;
    border: 0px solid blue;
    font-size: 10px;
    line-height: 1.8em;
}

.book16 .explain {
    border: 0px solid blue;
    width: auto;
    padding: 20px;
    margin-right: 20px;
}

.book16 .explain img {
    width: 450px;
}

.book16 .explain p {
    font-size: 12px;
}


.book17 {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
}

.book17 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.book17 .book_image h5 {
    font-family: 'Noto Serif KR', serif;
    color: white;
    border: 0px solid white;
    background-color: teal;
    width: 250px;
    padding: 8px;
}

.book17 .book_image img {
    width: 250px;
    margin-right: 50px;
    border: 2px solid #ccc;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.book17 .book_image p {
    font-size: 14px;
    border: 0px solid blue;
    width: 270px;
    padding: 5px;
}

.book17 .charae {
    font-size: 11px;
    line-height: 1.6em;
    color: black;
    width: auto;
    column-width: 180px;
    column-gap: 10px;
}

.book17 .explain {
    border: 0px solid blue;
    width: 1240px;
    padding: 50px;
    margin-right: 0px;
    column-width: 280px;
    column-gap: 40px;
}

.book17 .explain p {
    font-size: 16px;
    line-height: 2.0em;
}


/* 앞의 코드는 17번  */ 


 /* ===== 좁아지는 순간(줌/모바일/창 줄임 등)에는 세로 스택 ===== */
@media (max-width: 980px){
  .headwords{
    flex-direction: column;
    align-items: center;
  }
/* 세로 방향 순서 고정: row01 -> row02 -> row03 */
  .row01{ order: 1; }
  .row02{ order: 2; }
  .row03{ order: 3; }

  .row02{ min-width: auto; }
}

/* pdf-actions-xx 안의 다운로드 링크를 펜글씨체로 */
div[id^="pdf-actions-"] a{
  font-family: 'Nanum Pen Script', cursive;
}

/* 특히 "⬇ 책 내려받기" 링크만 더 강조하고 싶다면(두 번째 a) */
div[id^="pdf-actions-"] a:nth-of-type(2){
  color: #c00;
  font-size: 22px;
}