@media screen {
  aside.wgh-book-promo {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: clamp(4rem, 9vw, 6.5rem) minmax(0, 1fr);
    gap: clamp(1rem, 3vw, 2rem);
    align-items: center;
    width: min(calc(100% - 2rem), 56rem);
    margin: 1.5rem auto;
    padding: clamp(1rem, 2.5vw, 1.5rem);
    border: 1px solid #ced6d2;
    border-radius: .75rem;
    background: #f4f7f4;
    color: #172d29;
    font-family: Arial, sans-serif;
    text-align: left;
  }
  .wgh-book-promo .wgh-book-cover { display: block; width: 100%; height: auto; margin: 0; }
  .wgh-book-promo .wgh-book-author { display: block; color: #435950; font-size: .875rem; }
  .wgh-book-promo .wgh-book-name { display: block; margin: .2rem 0; color: #182c27; font: 700 clamp(1.3rem, 3vw, 1.8rem)/1.16 Georgia, serif; }
  .wgh-book-promo .wgh-book-copy p { margin: .3rem 0 .5rem; font: 400 1rem/1.45 Arial, sans-serif; color: #223b32; }
  .wgh-book-promo .wgh-book-links { display: flex; flex-wrap: wrap; align-items: center; column-gap: 1rem; }
  .wgh-book-promo .wgh-book-links a { display: inline-flex; align-items: center; min-height: 44px; color: #164d3a; font: 700 .95rem/1.3 Arial, sans-serif; text-decoration: underline; text-underline-offset: .16em; }
  .wgh-book-promo .wgh-book-links a:first-child { box-sizing: border-box; color: white; background: #154c39; padding: .6rem 1rem; border-radius: .4rem; text-decoration: none; }
}
@media print { aside.wgh-book-promo { display: none; } }

@media screen {
  .article-reading aside.wgh-book-promo[data-wgh-placement="lower"] {
    width: 100%;
    margin: 2.5rem 0;
  }
  aside.wgh-book-promo[data-wgh-placement="sidebar"] {
    display: none;
  }
}
@media screen and (min-width: 901px) {
  .editorial-layout > .editorial-sidebar:has(> .wgh-book-promo) {
    position: static;
    align-self: stretch;
  }
  .editorial-sidebar > aside.wgh-book-promo[data-wgh-placement="sidebar"] {
    position: sticky;
    top: 120px;
    display: grid;
    grid-template-columns: 3.5rem minmax(0, 1fr);
    gap: .4rem 1rem;
    width: 100%;
    padding: 1.25rem;
    margin: 1.25rem 0 0;
    background: #f4f7f4;
  }
  .wgh-book-promo[data-wgh-placement="sidebar"] .wgh-book-cover { grid-row: 1 / span 2; }
  .wgh-book-promo[data-wgh-placement="sidebar"] .wgh-book-copy { display: contents; }
  .wgh-book-promo[data-wgh-placement="sidebar"] .wgh-book-author { align-self: end; }
  .wgh-book-promo[data-wgh-placement="sidebar"] .wgh-book-name { align-self: start; margin: 0; font-size: 1.6rem; }
  .wgh-book-promo[data-wgh-placement="sidebar"] p,
  .wgh-book-promo[data-wgh-placement="sidebar"] .wgh-book-links { grid-column: 1 / -1; }
}
@media screen and (min-width: 901px) and (max-height: 620px) {
  .editorial-sidebar > aside.wgh-book-promo[data-wgh-placement="sidebar"] { position: static; }
}
