/* Once-daily book promotion, isolated from theme styles. */
#book-promo { box-sizing:border-box; border:0; padding:0; border-radius:18px; width:min(720px, calc(100% - 28px)); max-width:none; max-height:calc(100% - 28px); margin:auto; background:#fff; color:#202824; box-shadow:0 20px 80px #0006; overflow:auto; }
#book-promo:not([open]) { display:none; }
#book-promo::backdrop { background:rgba(12,20,16,.72); }
#book-promo * { box-sizing:border-box; }
#book-promo .bp-head { position:relative; background:#17251e; color:#fff; padding:20px 48px 17px; text-align:center; }
#book-promo .bp-kicker { margin:0 0 8px; color:#fff; font-size:14px; letter-spacing:.2em; text-transform:uppercase; }
#book-promo .bp-logo { display:block; width:200px; max-width:100%; height:auto; margin:auto; }
#book-promo .bp-close { position:absolute; top:10px; right:10px; width:36px; height:36px; padding:0; border:1px solid #ffffff70; border-radius:50%; background:transparent; color:#fff !important; font-size:26px; line-height:1; cursor:pointer; box-shadow:none; }
#book-promo .bp-close:hover { background:#ffffff30; }
#book-promo .bp-content { display:grid; grid-template-columns:minmax(0, .8fr) minmax(0, 1.2fr); gap:28px; padding:28px; align-items:center; }
#book-promo .bp-cover { display:block; text-align:center; }
#book-promo .bp-cover img { display:block; width:100%; max-width:250px; max-height:350px; object-fit:contain; margin:auto; border-radius:5px; box-shadow:0 8px 20px #0003; }
#book-promo h2 { font-size:clamp(24px, 4vw, 34px); line-height:1.15; margin:0 0 8px; color:#17251e; font-family:Georgia,serif; }
#book-promo .bp-subtitle { font-size:15px; line-height:1.4; color:#526057; font-style:italic; margin:0 0 10px; }
#book-promo .bp-author { color:#28643b; font-size:15px; font-weight:700; margin:0 0 12px; }
#book-promo .bp-copy { color:#303b34; font-size:16px; line-height:1.55; margin:0 0 20px; }
#book-promo .bp-buy { display:inline-block; text-align:center; background:#26763f; color:#fff !important; padding:13px 23px; border-radius:6px; font-size:15px; font-weight:700; line-height:1.4; text-decoration:none; box-shadow:none; }
#book-promo .bp-buy:hover { background:#174e2a; color:#fff !important; }
#book-promo :focus-visible { outline:3px solid #c4a45d; outline-offset:3px; }
html.book-promo-open { overflow:hidden; }
@media(max-width:560px) { #book-promo .bp-content { grid-template-columns:1fr; gap:16px; padding:20px; text-align:center; } #book-promo .bp-cover img { max-width:150px; max-height:210px; } #book-promo .bp-head { padding:13px 48px; } #book-promo .bp-logo { width:160px; } #book-promo .bp-buy { width:100%; } }
