.margo-book-features{margin:0 0 48px;padding-bottom:32px;border-bottom:1px solid #dcd5c5}
.margo-book-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.margo-book-feature{min-width:0;display:grid;grid-template-columns:minmax(0,0.8fr) minmax(0,1.2fr);gap:clamp(24px,4vw,56px);align-items:center;padding:clamp(18px,3vw,36px);background:#fffaf2;border:1px solid #dcd3c1;border-radius:6px}.margo-book-feature-copy{min-width:0;overflow-wrap:anywhere;color:#022742}.margo-book-feature-description{font-size:16px;line-height:1.7}.margo-book-feature-cover-link{min-width:0}.margo-book-feature a{text-decoration:none}
.margo-book-feature .margo-book-cover{width:100%;height:auto;max-height:none;display:block;background:transparent;border-radius:4px}
.margo-book-cover-placeholder{width:100%;height:290px;background:#f2ecdf}
.margo-book-cover-placeholder{display:flex;align-items:center;justify-content:center;text-align:center;padding:24px;font:26px/1.3 Georgia,serif}
.margo-book-feature h3{font:normal clamp(27px,3vw,42px)/1.12 var(--serif);letter-spacing:-.025em;margin:0 0 16px;overflow-wrap:anywhere}
.margo-book-introduction{display:grid;grid-template-columns:minmax(160px,240px) minmax(0,1fr);gap:32px;margin-bottom:36px}
.margo-book-introduction.margo-book-without-cover{grid-template-columns:1fr}
.margo-book-cover-wrap{margin:0}.margo-book-cover-wrap img{width:100%;height:auto;max-height:440px;object-fit:contain}
.margo-book-actions{display:flex;flex-wrap:wrap;gap:15px;margin-bottom:24px}
.margo-book-buy .book-button{margin:8px 8px 0 0}
.margo-book-audio{padding:24px;background:#edf0e7;margin-bottom:36px}
.margo-book-audio [data-media-host] iframe{width:100%;aspect-ratio:16/9;height:auto;border:0}
.margo-book-audio [data-media-host].playing>button,.margo-book-audio [data-media-host].playing>p{display:none}
.margo-book-post #read,.margo-book-post #chapter-audio{scroll-margin-top:24px}
@media(max-width:1000px){.margo-book-introduction{grid-template-columns:1fr}.margo-book-cover-wrap{max-width:260px}}
@media(max-width:760px){.margo-book-feature-grid{grid-template-columns:1fr}}


/* Override the editorial link color for every book action state. */
.margo-book-post a.book-button,
.margo-book-post a.book-button:visited,
.margo-book-post a.book-button:hover,
.margo-book-post a.book-button:focus,
.margo-book-post a.book-button:focus-visible,
.margo-book-post a.book-button:active{color:var(--margo-brand-cream);background:var(--margo-brand-action);text-decoration:none}
.margo-book-post a.book-button:hover{background:var(--margo-brand-action-hover)}
.margo-book-post a.book-button:focus-visible{outline:3px solid #073047;outline-offset:4px}

/* Lightweight narration poster: reserve the player box before image/iframe load. */
.margo-book-audio .margo-chapter-player{position:relative;aspect-ratio:16/9;width:100%;overflow:hidden;background:#073047;border-radius:3px}
.margo-chapter-player .margo-chapter-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.margo-chapter-player .margo-chapter-play{position:absolute;inset:0;margin:auto;width:112px;height:82px;min-height:48px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;border:2px solid var(--margo-brand-cream);border-radius:14px;background:var(--margo-brand-action);color:var(--margo-brand-cream);font:700 16px/1.1 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer;box-shadow:0 3px 18px #0008}
.margo-chapter-play .margo-chapter-play-icon{font-size:30px;line-height:1}
.margo-chapter-player .margo-chapter-play:hover{background:var(--margo-brand-action-hover)}
.margo-chapter-player .margo-chapter-play:focus-visible{outline:4px solid var(--margo-brand-cream);outline-offset:5px;box-shadow:0 0 0 10px #073047}
.margo-book-audio .margo-chapter-player.playing>img,.margo-book-audio .margo-chapter-player.playing>button{display:none}
.margo-book-audio .margo-chapter-player iframe{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;border:0}
.margo-chapter-player-note{font-size:13px;line-height:1.5}
@media(max-width:480px){.margo-chapter-player .margo-chapter-play{width:88px;height:68px}}

.margo-book-top-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.margo-book-buy .margo-book-top-actions .book-button{display:inline-flex;align-items:center;justify-content:center;margin:0;max-width:100%;min-height:48px;white-space:normal;text-align:center}
@media(max-width:640px){.margo-book-top-actions .book-button{flex:1 1 100%;width:100%}}

.margo-book-top-actions .margo-book-actions-heading{flex:0 0 auto;margin:0;font:600 18px/1.3 Georgia,serif;white-space:nowrap}
.margo-book-buy .margo-book-top-actions .book-button{flex:0 0 auto;width:auto;white-space:nowrap;padding:12px 14px}
@media(max-width:1100px){.margo-book-top-actions{flex-wrap:wrap}}
@media(max-width:640px){.margo-book-top-actions .margo-book-actions-heading{flex-basis:100%}.margo-book-buy .margo-book-top-actions .book-button{flex:1 1 auto;white-space:normal}}

/* Wrap at the actual available column width, including when a cover is present. */
.margo-book-buy .margo-book-top-actions .book-button{flex:0 1 auto;min-width:0;overflow-wrap:anywhere;white-space:normal}

.margo-book-top-actions .margo-book-actions-heading{color:var(--margo-brand-action)}
.margo-book-post .margo-book-byline{font-style:italic}

/* Exact ELLA BELLA product action styling. */
.margo-book-feature .margo-book-feature-cta{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 22px;background:#84351e;color:#fffaf2;border:1px solid #84351e;border-radius:3px;font-weight:600;text-decoration:none}
.margo-book-feature .margo-book-feature-cta:hover{background:#022742;border-color:#022742}
.margo-book-feature .margo-book-feature-cta:focus-visible{outline:3px solid #022742;outline-offset:4px}
