/* monty-schema css/monty-backgrounds.css v2 (2026-11-28, MC-2026-0322-SCHEMA-001)
   Ready-made Monty Network backgrounds. Needs monty-colours.css.
   Add the class to <body> (or any section). Image paths are relative to this file, so they load from the schema
   whichever site links it. The image sits behind the page,
   faded, so text stays readable. */
.mn-bg{background-color:var(--mn-bg);color:var(--mn-white)}

/* The studio shih tzu (from the Monty Sounds Radio site), v2:
   fills the page, the dog on the left, fading into the dark towards the right
   and the bottom, like the top of the radio page. Stays put while you scroll. */
.mn-bg-shihtzu{
  background-color:var(--mn-bg);
  background-image:
    linear-gradient(90deg,rgba(14,12,10,.30) 0%,rgba(14,12,10,.45) 30%,rgba(14,12,10,.88) 62%,var(--mn-bg) 85%),
    linear-gradient(180deg,rgba(14,12,10,0) 55%,var(--mn-bg) 100%),
    url("../img/backgrounds/shihtzu-studio.jpg");
  background-image:
    linear-gradient(90deg,rgba(14,12,10,.30) 0%,rgba(14,12,10,.45) 30%,rgba(14,12,10,.88) 62%,var(--mn-bg) 85%),
    linear-gradient(180deg,rgba(14,12,10,0) 55%,var(--mn-bg) 100%),
    image-set(
      url("../img/backgrounds/shihtzu-studio.webp") type("image/webp"),
      url("../img/backgrounds/shihtzu-studio.jpg") type("image/jpeg"));
  background-repeat:no-repeat;
  background-position:left center;
  background-size:cover;
  background-attachment:fixed;
}
/* Fainter version, for pages with a lot of text */
.mn-bg-shihtzu.mn-bg-quiet{
  background-image:
    linear-gradient(90deg,rgba(14,12,10,.65) 0%,rgba(14,12,10,.75) 30%,rgba(14,12,10,.92) 62%,var(--mn-bg) 85%),
    url("../img/backgrounds/shihtzu-studio.jpg");
}
/* Phones and tablets: fixed backgrounds misbehave there, so the dog is drawn
   on a layer pinned behind the page instead */
@media (max-width:1024px), (hover:none){
  .mn-bg-shihtzu{background-attachment:scroll;background-image:none}
  .mn-bg-shihtzu::before{
    content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;
    background-color:var(--mn-bg);
    background-image:
      linear-gradient(90deg,rgba(14,12,10,.45) 0%,rgba(14,12,10,.55) 45%,rgba(14,12,10,.88) 85%,var(--mn-bg) 100%),
      linear-gradient(180deg,rgba(14,12,10,.2) 0%,rgba(14,12,10,0) 30%,rgba(14,12,10,0) 70%,var(--mn-bg) 100%),
      url("../img/backgrounds/shihtzu-studio.jpg");
    background-repeat:no-repeat;background-position:8% center;background-size:auto 100%;
  }
  .mn-bg-shihtzu.mn-bg-quiet::before{
    background-image:
      linear-gradient(90deg,rgba(14,12,10,.65) 0%,rgba(14,12,10,.92) 80%),
      url("../img/backgrounds/shihtzu-studio.jpg");
  }
}
