/* Shared by every student page (home, account, practice): AW logo and watermark. */
.aw-logo { flex-shrink: 0; }
.aw-logo text, #aw-sprite text { direction: ltr; unicode-bidi: isolate; }

/* A box with class="wm-host" gets the watermark from its child <div class="aw-watermark" data-tile>;
   js/app.js puts one logo in it for roughly every 900px of the box's height. */
.wm-host { position: relative; isolation: isolate; }
.aw-watermark {
    position: absolute;
    inset: 0;
    margin: 0 !important;
    overflow: hidden;        /* the logo never spills outside its box */
    z-index: 5;              /* above the content so nothing can hide it */
    pointer-events: none;    /* clicks, taps, scrolling and text selection pass straight through */
    user-select: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}
.aw-watermark svg {
    flex-shrink: 0;
    width: min(72%, 520px);
    aspect-ratio: 1256 / 870;
    height: auto;
    opacity: 0.08;
    mix-blend-mode: multiply; /* tints what is underneath instead of washing it out */
}
.aw-watermark.aw-wm-sm svg { width: min(55%, 380px); }

@media print {
    .aw-watermark svg { opacity: 0.1; }
    #bottom-contact-bar, #site-header { display: none !important; }
}
