/* The symbol in the footer of every course landing page.
   Markup, first thing inside the footer's wrap:
     <span class="footmark" data-wrap="1100" style="--footmark:var(--gold)" aria-hidden="true"></span>
   --footmark sets the colour; data-wrap is the page's .wrap max-width in px.
   On wide screens it sits in the empty space to the left of the footer text;
   when there isn't room, it sits small and centred above the text. */
footer .wrap, footer .fw{ position:relative; }
.footmark{
  display:block; width:92px; aspect-ratio:1535 / 1075; margin:0 auto 1.6rem;
  background:var(--footmark, #fff);
  -webkit-mask:url(/assets/symbols/footer-mark.svg) center / contain no-repeat;
          mask:url(/assets/symbols/footer-mark.svg) center / contain no-repeat;
}
.footmark{ --fm-w: min(170px, calc((100vw - var(--fm-wrap)) / 2 - 100px)); }
.footmark[data-wrap="720"]{ --fm-wrap:720px; }
.footmark[data-wrap="1000"]{ --fm-wrap:1000px; }
.footmark[data-wrap="1080"]{ --fm-wrap:1080px; }
.footmark[data-wrap="1100"]{ --fm-wrap:1100px; }
.footmark[data-wrap="1120"]{ --fm-wrap:1120px; }
@media (min-width:1120px){ .footmark[data-wrap="720"]  { position:absolute; top:.2rem; right:calc(100% + 36px); width:var(--fm-w); margin:0; } }
@media (min-width:1400px){ .footmark[data-wrap="1000"] { position:absolute; top:.2rem; right:calc(100% + 36px); width:var(--fm-w); margin:0; } }
@media (min-width:1480px){ .footmark[data-wrap="1080"] { position:absolute; top:.2rem; right:calc(100% + 36px); width:var(--fm-w); margin:0; } }
@media (min-width:1500px){ .footmark[data-wrap="1100"] { position:absolute; top:.2rem; right:calc(100% + 36px); width:var(--fm-w); margin:0; } }
@media (min-width:1520px){ .footmark[data-wrap="1120"] { position:absolute; top:.2rem; right:calc(100% + 36px); width:var(--fm-w); margin:0; } }

/* The second symbol (top-mark.svg):
   1) small at the very top of the hero (Find Your Soul Partner only, for now), first thing in the hero copy:
        <span class="topmark" style="--topmark:var(--gold)" aria-hidden="true"></span>
      add class "c" (class="topmark c") when the hero text is centred.
   2) on every course landing page, in the footer straight after the footmark:
        <span class="footmark2" data-wrap="1100" style="--footmark:var(--gold)" aria-hidden="true"></span>
   Both use the same colour as the page's footmark. */
.topmark, .footmark2{
  display:block; aspect-ratio:1227 / 910; background:var(--topmark, var(--footmark, #fff));
  -webkit-mask:url(/assets/symbols/top-mark.svg) center / contain no-repeat;
          mask:url(/assets/symbols/top-mark.svg) center / contain no-repeat;
}
.topmark{ width:48px; margin:0 0 1rem; }
.topmark.c{ margin-left:auto; margin-right:auto; }
.footmark2{ width:72px; margin:-.4rem auto 1.6rem; }
.footmark2{ --fm-w: min(170px, calc((100vw - var(--fm-wrap)) / 2 - 100px)); }
.footmark2[data-wrap="720"]{ --fm-wrap:720px; }
.footmark2[data-wrap="1000"]{ --fm-wrap:1000px; }
.footmark2[data-wrap="1080"]{ --fm-wrap:1080px; }
.footmark2[data-wrap="1100"]{ --fm-wrap:1100px; }
.footmark2[data-wrap="1120"]{ --fm-wrap:1120px; }
@media (min-width:1120px){ .footmark2[data-wrap="720"] { position:absolute; top:calc(.2rem + var(--fm-w) * 1075 / 1535 + 2.2rem); right:calc(100% + 36px + var(--fm-w) * .1); width:calc(var(--fm-w) * .8); margin:0; } }
@media (min-width:1400px){ .footmark2[data-wrap="1000"] { position:absolute; top:calc(.2rem + var(--fm-w) * 1075 / 1535 + 2.2rem); right:calc(100% + 36px + var(--fm-w) * .1); width:calc(var(--fm-w) * .8); margin:0; } }
@media (min-width:1480px){ .footmark2[data-wrap="1080"] { position:absolute; top:calc(.2rem + var(--fm-w) * 1075 / 1535 + 2.2rem); right:calc(100% + 36px + var(--fm-w) * .1); width:calc(var(--fm-w) * .8); margin:0; } }
@media (min-width:1500px){ .footmark2[data-wrap="1100"] { position:absolute; top:calc(.2rem + var(--fm-w) * 1075 / 1535 + 2.2rem); right:calc(100% + 36px + var(--fm-w) * .1); width:calc(var(--fm-w) * .8); margin:0; } }
@media (min-width:1520px){ .footmark2[data-wrap="1120"] { position:absolute; top:calc(.2rem + var(--fm-w) * 1075 / 1535 + 2.2rem); right:calc(100% + 36px + var(--fm-w) * .1); width:calc(var(--fm-w) * .8); margin:0; } }
/* make room for both symbols when they sit beside a short footer */
@media (min-width:1120px){ footer :is(.wrap,.fw):has(> .footmark2[data-wrap="720"]){ min-height:calc(.2rem + min(170px, calc((100vw - 720px) / 2 - 100px)) * 1.2939 + 2.4rem); } }
@media (min-width:1400px){ footer :is(.wrap,.fw):has(> .footmark2[data-wrap="1000"]){ min-height:calc(.2rem + min(170px, calc((100vw - 1000px) / 2 - 100px)) * 1.2939 + 2.4rem); } }
@media (min-width:1480px){ footer :is(.wrap,.fw):has(> .footmark2[data-wrap="1080"]){ min-height:calc(.2rem + min(170px, calc((100vw - 1080px) / 2 - 100px)) * 1.2939 + 2.4rem); } }
@media (min-width:1500px){ footer :is(.wrap,.fw):has(> .footmark2[data-wrap="1100"]){ min-height:calc(.2rem + min(170px, calc((100vw - 1100px) / 2 - 100px)) * 1.2939 + 2.4rem); } }
@media (min-width:1520px){ footer :is(.wrap,.fw):has(> .footmark2[data-wrap="1120"]){ min-height:calc(.2rem + min(170px, calc((100vw - 1120px) / 2 - 100px)) * 1.2939 + 2.4rem); } }
