/* Books integrity and cover treatment — v0.2.19 */
.books-v0219 img,
.book-page-v0219 img { max-width: 100%; }
.books-v0219 .cert-book-pair { align-items: stretch; }
.books-v0219 .cert-book-pair__item { display:flex; flex-direction:column; min-width:0; }
.books-v0219 .cert-book-pair__cover,
.books-v0219 .book-detail-card__cover,
.books-v0219 .professional-book-grid__cover { display:flex; align-items:center; justify-content:center; overflow:hidden; background:#eef3f5; border-radius:10px; }
.books-v0219 .cert-book-pair__cover { aspect-ratio: 2 / 3; }
.books-v0219 .cert-book-pair__cover img,
.books-v0219 .book-detail-card__cover img,
.books-v0219 .professional-book-grid__cover img { width:100%; height:100%; object-fit:contain; object-position:center; }
.books-v0219 .cert-book-pair__item h4 { margin:.7rem 0 .25rem; font-size:1rem; line-height:1.25; }
.books-v0219 .cert-book-pair__item h4 a,
.books-v0219 .book-detail-card h3 a,
.books-v0219 .professional-book-grid h3 a { color:inherit; text-decoration:none; }
.books-v0219 .cert-book-pair__item p { margin:0; color:#526675; font-size:.82rem; }
.books-v0219 .book-card-actions { display:flex; flex-wrap:wrap; gap:.45rem .75rem; margin-top:auto; padding-top:.65rem; }
.books-v0219 .book-card-actions a { font-size:.82rem; font-weight:750; }
.books-v0219 .professional-book-grid__cover { min-height:330px; background:#111a20; }
.books-v0219 .professional-book-grid__cover img { max-height:430px; }
.books-v0219 .book-detail-card__cover { min-height:280px; }
.books-v0219 .book-detail-card__cover img { max-height:390px; }
.book-page-v0219 .book-page-cover { display:flex; align-items:center; justify-content:center; background:rgba(255,255,255,.06); border-radius:16px; overflow:hidden; }
.book-page-v0219 .book-page-cover img { width:100%; height:auto; max-height:690px; object-fit:contain; }
.book-certification-note { margin-top:1rem; max-width:62ch; color:rgba(255,255,255,.76); font-size:.88rem; line-height:1.55; }
.book-companion-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; }
.book-companion-grid a { display:flex; flex-direction:column; gap:.4rem; padding:1.15rem; border:1px solid #cad6dc; border-radius:14px; background:#fff; text-decoration:none; color:#111a20; }
.book-companion-grid span { color:#155979; font-size:.75rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.book-companion-grid strong { font-size:1.05rem; line-height:1.25; }
.book-companion-grid small { margin-top:auto; color:#155979; font-weight:700; }
@media (max-width: 850px) { .book-companion-grid { grid-template-columns:1fr; } .books-v0219 .professional-book-grid__cover { min-height:260px; } }

/* Book learning hubs and study plans — v0.2.19-R2 */
.book-page-v0219r2 .book-study-plan { background:#f6f8f9; }
.book-study-plan__layout { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(300px,.75fr); gap:1.4rem; align-items:start; }
.book-study-cycle,
.book-study-paces { background:#fff; border:1px solid #cbd7dc; border-radius:18px; box-shadow:0 14px 30px rgba(18,43,55,.06); }
.book-study-cycle { padding:1.4rem 1.5rem; }
.book-study-cycle h3,
.book-study-paces h3 { margin:0 0 1rem; font-size:1.25rem; }
.book-study-cycle ol { list-style:none; counter-reset:book-study; margin:0; padding:0; display:grid; gap:.85rem; }
.book-study-cycle li { counter-increment:book-study; position:relative; padding:.95rem 1rem .95rem 4rem; border-radius:13px; background:#f1f5f6; }
.book-study-cycle li::before { content:counter(book-study); position:absolute; left:1rem; top:.8rem; display:grid; place-items:center; width:2.1rem; height:2.1rem; border-radius:50%; background:#155979; color:#fff; font-weight:850; }
.book-study-cycle li span { display:block; font-weight:800; color:#111a20; }
.book-study-cycle li p { margin:.25rem 0 0; color:#526675; line-height:1.55; }
.book-study-paces { padding:1.4rem; }
.book-study-paces__basis { margin:-.45rem 0 1rem; color:#526675; font-size:.9rem; }
.book-study-paces > div { display:grid; gap:.7rem; margin-bottom:1rem; }
.book-study-paces article { display:grid; grid-template-columns:1fr auto; gap:.2rem .7rem; padding:.85rem .9rem; border:1px solid #d7e0e4; border-radius:12px; }
.book-study-paces article strong { color:#111a20; }
.book-study-paces article span { color:#155979; font-weight:800; }
.book-study-paces article small { grid-column:1/-1; color:#526675; line-height:1.4; }
.book-study-note { margin:1rem 0 0; color:#60727e; font-size:.86rem; }
.book-knowledge-card__breakdown { display:flex; flex-wrap:wrap; gap:.4rem; margin:.85rem 0; }
.book-knowledge-card__breakdown span { padding:.35rem .55rem; border-radius:999px; background:#e9f1f3; color:#155979; font-size:.75rem; font-weight:800; }
.book-related-grid .entry-card > span { color:#155979; }
.book-related-grid .entry-card small { display:block; margin-top:auto; padding-top:.65rem; color:#155979; font-weight:750; }
@media (max-width:900px) { .book-study-plan__layout { grid-template-columns:1fr; } }
@media (max-width:560px) { .book-study-cycle { padding:1rem; } .book-study-cycle li { padding-left:3.6rem; } }
