@charset "UTF-8";

/* =====================================================
   AVWJ SHARED SIDEBAR ARTWORK

   Existing semitransparent artwork requires no overlay.
   Full-opacity artwork can use a page-specific overlay.
   ===================================================== */

.sidebar > .hmy-content-wrapper.avwj-sidebar-art.avwj-sidebar-ready {
  background-color: var(--sidebar-color, #ffffff);

  background-image:
    linear-gradient(
      rgba(255, 255, 255, var(--sidebar-overlay, 0)),
      rgba(255, 255, 255, var(--sidebar-overlay, 0))
    ),
    var(--sidebar-image, none);

  background-position:
    center top,
    var(--sidebar-bg-x, 0px) var(--sidebar-bg-y, 0px);

  background-size:
    100% 100%,
    var(--sidebar-bg-width, 20vw) auto;

  background-repeat: no-repeat, no-repeat;

  background-attachment: scroll, fixed;
}

/* =====================================================
   MOBILE BACKGROUND BEHAVIOR
   ===================================================== */

@media screen and (max-width: 700px) {
  .sidebar > .hmy-content-wrapper.avwj-sidebar-art.avwj-sidebar-ready {
    background-position:
      center top,
      center top;

    background-size:
      100% 100%,
      100% auto;

    background-repeat: no-repeat, no-repeat;

    background-attachment: scroll, scroll;
  }
}
