.book-terms-page { color: #373737; }
.book-terms-page h2, .book-terms-page h3 { color: #333; }
.blog-detail-heading--knizhnaya-terminologiya h1 { max-width: 1120px; margin-top: 52px; font-size: clamp(38px, 4.1vw, 68px); line-height: 1.08; color: #333 !important; }

.book-terms-lead { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(390px, .95fr); gap: clamp(36px, 6vw, 84px); align-items: center; margin-top: 36px; margin-bottom: 76px; }
.book-terms-lead__answer { margin: 0 0 20px; font-size: clamp(23px, 2.05vw, 33px); line-height: 1.36; }
.book-terms-lead__copy > p:not(.print-books-eyebrow):not(.book-terms-lead__answer) { max-width: 780px; font-size: 20px; line-height: 1.5; }
.book-terms-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0; color: #777; font-size: 15px; }

.book-terms-anatomy { min-height: 480px; position: relative; display: grid; place-items: center; border-radius: 42px 4px 42px 4px; background: linear-gradient(145deg, #fff9e8, #f7eee5); overflow: hidden; }
.book-terms-anatomy__book { width: 76%; height: 54%; position: relative; filter: drop-shadow(0 22px 26px rgba(90,65,45,.13)); }
.book-terms-anatomy__left, .book-terms-anatomy__right { position: absolute; top: 0; bottom: 0; width: 50%; border: 1px solid #ddc9bd; background: #fff; }
.book-terms-anatomy__left { left: 0; border-radius: 30px 3px 3px 12px; transform: skewY(-4deg); transform-origin: right center; }
.book-terms-anatomy__right { right: 0; border-radius: 3px 30px 12px 3px; transform: skewY(4deg); transform-origin: left center; }
.book-terms-anatomy__left::after, .book-terms-anatomy__right::after { content: ''; position: absolute; top: 19%; bottom: 17%; width: 64%; background: repeating-linear-gradient(to bottom, transparent 0 12px, #e9e1dc 13px 14px); }
.book-terms-anatomy__left::after { right: 13%; }
.book-terms-anatomy__right::after { left: 13%; }
.book-terms-anatomy__spine { position: absolute; left: calc(50% - 5px); top: 5%; bottom: 5%; width: 10px; border-radius: 50%; background: #d8c6ba; z-index: 2; }
.book-terms-label { position: absolute; padding: 8px 12px; border-radius: 999px; background: #fff; color: #555; font-size: 14px; box-shadow: 0 8px 22px rgba(70,50,35,.08); }
.book-terms-label--cover { left: 7%; top: 13%; }
.book-terms-label--spread { right: 8%; top: 17%; }
.book-terms-label--spine { left: 45%; bottom: 8%; }
.book-terms-label--block { right: 9%; bottom: 17%; }

.book-terms-fastnav { display: grid; grid-template-columns: minmax(260px,.65fr) minmax(0,1.35fr); gap: 36px; padding: clamp(30px, 5vw, 56px); border: 1px solid #ead8cf; border-radius: 34px 4px 34px 4px; }
.book-terms-fastnav h2 { margin: 0; }
.book-terms-fastnav nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 28px; }
.book-terms-fastnav a { padding: 13px 0; border-bottom: 1px solid #eadfd9; color: #373737; font-size: 18px; text-decoration: none; }
.book-terms-fastnav a:hover, .book-terms-fastnav a:focus-visible { color: #d95649; }

.book-terms-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin: 0; }
.book-terms-grid > div { padding: 26px 28px; border: 1px solid #ead8cf; border-radius: 24px 4px 24px 4px; background: #fff; }
.book-terms-grid dt { margin-bottom: 9px; color: #333; font-size: 23px; font-weight: 700; }
.book-terms-grid dd { margin: 0; color: #5d5d5d; font-size: 17px; line-height: 1.58; }
.book-terms-grid--accent > div:nth-child(4n+1), .book-terms-grid--accent > div:nth-child(4n+4) { background: #fff9e8; }

.book-terms-confused { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(360px,.9fr); gap: clamp(32px,6vw,76px); align-items: center; padding: clamp(34px,5vw,66px); border-radius: 38px 6px 38px 6px; background: #fff9e8; }
.book-terms-confused p { font-size: 18px; line-height: 1.5; }
.book-terms-confused a { color: #b9463b; font-size: 17px; font-weight: 700; text-decoration: none; }
.book-terms-confused__compare { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; align-items: end; }
.book-terms-confused__compare article { min-height: 210px; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; border: 1px solid rgba(255,113,96,.42); background: rgba(255,255,255,.88); box-shadow: 0 16px 30px rgba(90,65,45,.08); }
.book-terms-confused__compare article:first-child { border-radius: 4px 24px 4px 4px; }
.book-terms-confused__compare article:last-child { min-height: 270px; border-radius: 4px 28px 4px 4px; }
.book-terms-confused__compare span { color: #ff7160; font-weight: 800; }
.book-terms-confused__compare b { margin: 8px 0; font-size: 22px; }
.book-terms-confused__compare small { color: #777; }

.book-terms-inline-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.book-terms-inline-links a { padding: 12px 16px; border: 1px solid #ead8cf; border-radius: 999px; color: #444; text-decoration: none; }
.book-terms-inline-links a:hover, .book-terms-inline-links a:focus-visible { border-color: #ff7160; color: #d95649; }

.book-terms-publishing { display: grid; grid-template-columns: minmax(310px,.78fr) minmax(0,1.22fr); gap: clamp(36px,6vw,82px); padding: clamp(34px,5vw,68px); border-radius: 38px 6px 38px 6px; background: #fff9e8; }
.book-terms-publishing > div > p:not(.print-books-eyebrow) { font-size: 18px; line-height: 1.5; }
.book-terms-publishing dl { display: grid; gap: 0; margin: 0; }
.book-terms-publishing dl > div { padding: 18px 0; border-bottom: 1px solid rgba(203,171,149,.4); }
.book-terms-publishing dl > div:first-child { padding-top: 0; }
.book-terms-publishing dl > div:last-child { padding-bottom: 0; border-bottom: 0; }
.book-terms-publishing dt { margin-bottom: 6px; color: #333; font-size: 21px; font-weight: 700; }
.book-terms-publishing dd { margin: 0; color: #5d5d5d; font-size: 16px; line-height: 1.55; }

.book-terms-rare { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 20px; }
.book-terms-rare details { border: 1px solid #ead8cf; border-radius: 20px 4px 20px 4px; background: #fff; overflow: hidden; }
.book-terms-rare summary { position: relative; padding: 20px 54px 20px 22px; color: #333; font-size: 20px; font-weight: 700; cursor: pointer; list-style: none; }
.book-terms-rare summary::-webkit-details-marker { display: none; }
.book-terms-rare summary::after { content: '+'; position: absolute; right: 22px; color: #ff7160; font-size: 27px; line-height: 1; }
.book-terms-rare details[open] summary::after { content: '−'; }
.book-terms-rare p { margin: 0; padding: 0 22px 22px; color: #5d5d5d; font-size: 16px; line-height: 1.6; }

.book-terms-table-wrap { border: 1px solid #ead8cf; border-radius: 28px 4px 28px 4px; overflow: hidden; }
.book-terms-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.book-terms-table th, .book-terms-table td { padding: 20px 22px; border-bottom: 1px solid #eadfd9; text-align: left; vertical-align: top; font-size: 17px; line-height: 1.55; }
.book-terms-table thead th { background: #fff9e8; color: #333; }
.book-terms-table thead th:first-child { width: 32%; }
.book-terms-table tbody th { color: #d95649; font-size: 18px; }
.book-terms-table tbody tr:last-child th, .book-terms-table tbody tr:last-child td { border-bottom: 0; }

.book-terms-related { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.book-terms-related a { min-height: 150px; position: relative; display: flex; flex-direction: column; justify-content: center; padding: 26px 58px 26px 26px; border: 1px solid #ead8cf; border-radius: 24px 4px 24px 4px; color: #333; text-decoration: none; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.book-terms-related a::after { content: '→'; position: absolute; right: 25px; top: 23px; color: #ff7160; font-size: 24px; }
.book-terms-related a:hover, .book-terms-related a:focus-visible { border-color: #ff7160; transform: translateY(-2px); box-shadow: 0 14px 32px rgba(85,60,45,.08); }
.book-terms-related span { margin-bottom: 8px; font-size: 22px; font-weight: 700; }
.book-terms-related small { color: #666; font-size: 15px; line-height: 1.5; }
.book-terms-sources { margin-top: -26px; margin-bottom: 70px; color: #6e6e6e; font-size: 16px; line-height: 1.6; }
.book-terms-sources a { color: #b9463b; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 991.98px) {
    .book-terms-lead, .book-terms-confused, .book-terms-publishing { grid-template-columns: 1fr; }
    .book-terms-anatomy { min-height: 390px; }
    .book-terms-fastnav { grid-template-columns: 1fr; }
    .book-terms-related { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 767.98px) {
    .blog-detail-heading--knizhnaya-terminologiya h1 { margin-top: 34px; font-size: 36px; overflow-wrap: anywhere; }
    .book-terms-lead { margin-top: 22px; margin-bottom: 58px; }
    .book-terms-lead__answer { font-size: 23px; }
    .book-terms-lead__copy > p:not(.print-books-eyebrow):not(.book-terms-lead__answer) { font-size: 18px; }
    .book-terms-anatomy { min-height: 320px; }
    .book-terms-fastnav nav, .book-terms-grid, .book-terms-rare, .book-terms-related { grid-template-columns: 1fr; }
    .book-terms-grid--accent > div:nth-child(n) { background: #fff; }
    .book-terms-grid--accent > div:nth-child(odd) { background: #fff9e8; }
    .book-terms-publishing, .book-terms-confused { padding: 28px 22px; border-radius: 26px 4px 26px 4px; }
    .book-terms-table-wrap { border: 0; border-radius: 0; overflow: visible; }
    .book-terms-table, .book-terms-table tbody { display: block; }
    .book-terms-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .book-terms-table tr { display: block; margin-bottom: 14px; border: 1px solid #ead8cf; border-radius: 20px 4px 20px 4px; overflow: hidden; }
    .book-terms-table th, .book-terms-table td { display: block; border-bottom: 0; }
    .book-terms-table tbody th { background: #fff9e8; }
    .book-terms-related a { min-height: 128px; }
}
@media (max-width: 420px) {
    .blog-detail-heading--knizhnaya-terminologiya h1 { font-size: 32px; }
    .book-terms-meta { display: grid; }
    .book-terms-anatomy { min-height: 285px; }
    .book-terms-anatomy__book { width: 82%; }
    .book-terms-label { font-size: 11px; }
    .book-terms-label--cover { left: 3%; }
    .book-terms-label--spread { right: 3%; }
    .book-terms-label--spine { left: 42%; }
    .book-terms-label--block { right: 3%; }
    .book-terms-fastnav, .book-terms-grid > div { padding: 24px 20px; }
    .book-terms-confused__compare { grid-template-columns: 1fr 1fr; }
    .book-terms-confused__compare article { min-height: 180px; padding: 16px; }
    .book-terms-confused__compare article:last-child { min-height: 220px; }
    .book-terms-confused__compare b { font-size: 18px; overflow-wrap: anywhere; }
}
