/* Editorial typography for the public journal. The sparkle film remains the canvas. */
body.wn-journal-edition {
  --wn-journal-ink: #302934;
  --wn-journal-muted: #645963;
  --wn-journal-link: #92278f;
  --wn-journal-rule: #dfd4db;
  --wn-journal-paper: linear-gradient(114deg, #fffdf8, #fdfbf9 58%, #f5eff4);
  --wn-journal-leading: clamp(1.1rem, 1.6vw, 1.28rem);
}

body.wn-journal-edition.wn-site-20261116 #page #content {
  padding-top: clamp(1rem, 2.8vw, 2.4rem) !important;
}

/* One title block, including the original barnstar on Studio guides. */
body.wn-journal-edition.wn-site-20261116 #page #content > .header-title {
  margin: 0 0 clamp(1.35rem, 3vw, 2.5rem) !important;
  padding: 0 !important;
}

body.wn-journal-edition.wn-site-20261116 #page #content > .header-title .wrap-container,
body.wn-journal-edition.wn-site-20261116 #page #main :is(.wn-manifesto-native-head,.wn-studio-article > .article-head) {
  box-sizing: border-box;
  width: 100%;
  max-width: none !important;
  padding: .4rem 0 clamp(1.1rem, 2.5vw, 1.9rem) !important;
  border-bottom: 1px solid var(--wn-journal-rule);
}

body.wn-journal-edition.wn-site-20261116 #page #content > .header-title .wn-journal-illustrated {
  display: grid !important;
  grid-template: "topics art" auto "title art" auto "credit art" auto / minmax(0,1fr) clamp(6.8rem, 16vw, 12.5rem);
  column-gap: clamp(1rem, 4vw, 3rem);
  align-content: start;
  align-items: center;
  padding-inline-end: clamp(.65rem, 2vw, 2rem) !important;
  background: radial-gradient(ellipse at 88% 56%, #f0e6f087, transparent 48%);
}

body.wn-journal-edition.wn-site-20261116 #page #content > .header-title .tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem .6rem;
  grid-area: topics;
  margin: 0 0 .7rem !important;
}

body.wn-journal-edition.wn-site-20261116 #page #content > .header-title .tags a.tag {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  margin: 0 !important;
  padding: .2em .65em !important;
  border: 1px solid #e1d1df !important;
  border-radius: .4rem !important;
  background: linear-gradient(120deg, #fffdfb, #f6edf5) !important;
  color: var(--wn-journal-link) !important;
  font: 400 .95rem/1.35 "Times New Roman", Times, serif !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
}

body.wn-journal-edition.wn-site-20261116 #page #content > .header-title h1.page-title,
body.wn-journal-edition.wn-site-20261116 #page #main :is(.wn-manifesto-native-head,.wn-studio-article > .article-head,.wn-timing-article > header,.wn-notability-article > header) > h1 {
  max-width: 30ch !important;
  margin: 0 !important;
  font: 400 clamp(2.08rem, 4.18vw, 3.7rem)/1.06 "Times New Roman", Times, serif !important;
  letter-spacing: -.022em !important;
  color: var(--wn-journal-ink) !important;
  text-wrap: balance;
  overflow-wrap: break-word;
}

body.wn-journal-edition.wn-site-20261116 #page #content > .header-title h1.page-title {
  grid-area: title;
}

body.wn-journal-edition.wn-site-20261116 #page #content > .header-title .wn-journal-byline,
body.wn-journal-edition.wn-site-20261116 #page #main :is(.wn-manifesto-native-head .wn-manifesto-byline,.wn-studio-article > .article-head .byline) {
  grid-area: credit;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem .75rem;
  margin: .9rem 0 0 !important;
  color: var(--wn-journal-muted) !important;
  font: 400 1rem/1.5 "Times New Roman", Times, serif !important;
}

body.wn-journal-edition.wn-site-20261116 #page #content .wn-journal-byline > :is(span,time,a) {
  display: inline-flex;
  align-items: center;
  gap: .35em;
  color: inherit !important;
  font: inherit !important;
}

body.wn-journal-edition.wn-site-20261116 #page #content .wn-journal-byline svg {
  width: 1em;
  height: 1em;
  color: var(--wn-journal-link);
}

body.wn-journal-edition.wn-site-20261116 #page #content .wn-journal-illustrated > .wn-studio-tool-guide-hero {
  grid-area: art;
  justify-self: center;
  display: grid;
  place-items: center;
  width: min(100%, 11.25rem) !important;
  aspect-ratio: 1;
  margin: 0 !important;
}
body.wn-journal-edition.wn-site-20261116 #page #content .wn-journal-illustrated > .wn-studio-tool-guide-hero img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 1;
  object-fit: cover;
}
body.wn-journal-edition.wn-site-20261116 #page #main .wn-studio-tool-guide-body > .wn-studio-tool-guide-hero {
  max-width: 12rem !important;
  margin: 0 0 1rem !important;
}


/* The two illustrated features provide their own headings, barnstars and standfirsts. */
body.wn-journal-edition.wn-site-20261116 #page #main .entry-content > :is(.wn-timing-article,.wn-notability-article) {
  width: 100%;
  padding: 0 0 2rem !important;
}
body.wn-journal-edition.wn-site-20261116 #page #main :is(.wn-timing-article,.wn-notability-article) > header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(6rem, 11vw, 10rem);
  align-items: center;
  gap: .2rem 1rem;
}
body.wn-journal-edition.wn-site-20261116 #page #main :is(.wn-timing-article,.wn-notability-article) > header > h1 {
  grid-area: 1 / 1;
}
body.wn-journal-edition.wn-site-20261116 #page #main :is(.wn-timing-article,.wn-notability-article) > header > .barnstar-figure {
  grid-area: 1 / 2;
  width: 100%;
  margin: 0 !important;
}
body.wn-journal-edition.wn-site-20261116 #page #main :is(.wn-timing-article,.wn-notability-article) > header > p {
  grid-column: 1 / -1;
  max-width: 67ch !important;
  margin: .95em 0 0 !important;
  font: 400 var(--wn-journal-leading)/1.56 "Times New Roman", Times, serif !important;
  color: var(--wn-journal-ink) !important;
}
body.wn-journal-edition.wn-site-20261116 #page #main :is(.wn-timing-article,.wn-notability-article) > header > .standfirst {
  font-size: clamp(1.18rem, 1.75vw, 1.38rem) !important;
}

/* Bound the measure of prose without squeezing wide figures or interactive tools. */
body.wn-journal-edition.wn-site-20261116 #page #main .entry-content > .wn-studio-tool-guide-body {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.wn-journal-edition.wn-site-20261116 #page #main .entry-content :is(.wn-studio-tool-guide-body,.wn-studio-article,.wn-timing-article > section,.wn-notability-article > section,.norebro-text-sc) > :is(p,ol,ul),
body.wn-journal-edition.wn-site-20261116 #page #main .entry-content > :is(p,ul,ol):not([class^="wn-"]) {
  font: 400 var(--wn-journal-leading)/1.56 "Times New Roman", Times, serif !important;
  max-width: 67ch !important;
  margin: 0 0 1.05em !important;
  color: var(--wn-journal-ink) !important;
}
body.wn-journal-edition.wn-site-20261116 #page #main .entry-content :is(h2.wp-block-heading,.wn-studio-tool-guide-body > h2,.wn-studio-article > h2,.wn-timing-article > section > h2,.wn-notability-article > section > h2,.norebro-text-sc > h2),
body.wn-journal-edition.wn-site-20261116 #page #main .entry-content > h2 {
  max-width: 36ch !important;
  padding: 0 !important;
  margin: clamp(1.9rem, 4vw, 3.2rem) 0 .55em !important;
  color: var(--wn-journal-ink) !important;
  font: 400 clamp(1.56rem, 2.65vw, 2.35rem)/1.14 "Times New Roman", Times, serif !important;
  letter-spacing: -.012em !important;
  text-wrap: balance;
}
body.wn-journal-edition.wn-site-20261116 #page #main .entry-content :is(h3.wp-block-heading,.wn-studio-tool-guide-body > h3,.wn-studio-article > h3,.wn-timing-article > section > h3,.wn-notability-article > section > h3,.norebro-text-sc > h3),
body.wn-journal-edition.wn-site-20261116 #page #main .entry-content > h3 {
  max-width: 44ch;
  margin: 1.65em 0 .5em !important;
  font: 400 clamp(1.33rem, 2vw, 1.7rem)/1.2 "Times New Roman", Times, serif !important;
  color: var(--wn-journal-ink) !important;
}
body.wn-journal-edition.wn-site-20261116 #page #main .entry-content :is(p,li,figcaption) > a:not([class]):not([role=button]) {
  text-decoration-color: color-mix(in srgb, currentColor 54%, transparent) !important;
  text-underline-offset: .18em;
  text-decoration-thickness: 1px;
  overflow-wrap: break-word;
}

body.wn-journal-edition.wn-site-20261116 #page #main .entry-content :is(figure.wp-block-image,.wp-caption) {
  max-width: 100% !important;
  margin-block: 1.5rem !important;
}
body.wn-journal-edition.wn-site-20261116 #page #main .entry-content :is(figure.wp-block-image,.wp-caption) img {
  max-width: 100%;
  height: auto;
  border-radius: .4rem;
}
body.wn-journal-edition.wn-site-20261116 #page #main .entry-content :is(figcaption,.wp-caption-text) {
  margin: .55rem 0 .1rem !important;
  font: 400 .98rem/1.45 "Times New Roman", Times, serif !important;
  color: var(--wn-journal-muted) !important;
}
body.wn-journal-edition.wn-site-20261116 #page #main .entry-content > :is(blockquote,.wp-block-quote) {
  max-width: 62ch;
  margin: 1.7rem 0 !important;
  padding: .25rem 0 .25rem clamp(1rem,3vw,1.75rem) !important;
  border: 0 !important;
  border-inline-start: 2px solid #b480aa !important;
}
body.wn-journal-edition.wn-site-20261116 #page #main .entry-content > :is(blockquote,.wp-block-quote) p {
  font-size: clamp(1.2rem, 1.9vw, 1.5rem) !important;
  line-height: 1.45 !important;
  margin-bottom: .6rem !important;
}

/* The public demo used to centre itself on the viewport, crossing into the sidebar. */
body.wn-journal-edition.wn-site-20261116 #page #main .wn-studio-tool-guide-body > :is(.wn-draft-demo,.wn-library-demo,.wn-library-builder-demo) {
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100% !important;
  margin: 1.6rem 0 clamp(2rem, 4vw, 3rem) !important;
  padding: 0 !important;
  border: 1px solid var(--wn-journal-rule);
  border-radius: .8rem;
  background: var(--wn-journal-paper);
  box-shadow: 0 4px 14px #4c36420b;
}
body.wn-journal-edition.wn-site-20261116 #page #main :is(.wn-draft-demo-actions,.wn-library-demo-actions,.wn-library-builder-demo-actions) {
  display: flex;
  justify-content: flex-end;
  max-width: none !important;
  margin: 0 !important;
  padding: .3rem .65rem !important;
}
body.wn-journal-edition.wn-site-20261116 #page #main :is(.wn-draft-demo-actions,.wn-library-demo-actions,.wn-library-builder-demo-actions) a {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  padding-inline: .3rem;
  font: 400 1rem/1.3 "Times New Roman", Times, serif !important;
  color: var(--wn-journal-link) !important;
}
body.wn-journal-edition.wn-site-20261116 #page #main :is(.wn-draft-demo,.wn-library-demo,.wn-library-builder-demo) iframe {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--wn-journal-rule) !important;
  border-radius: 0 0 .75rem .75rem !important;
}

/* Standalone shop and full-window links keep their action names and individual UI icons. */
body.wn-journal-edition.wn-site-20261116 #page #main .entry-content a.wn-journal-shop-action {
  display: inline-flex;
  align-items: center;
  gap: .48em;
  min-height: 44px;
  padding: .25em .75em;
  border: 1px solid #d6bed2;
  border-radius: .45rem;
  background: var(--wn-journal-paper);
  color: var(--wn-journal-link) !important;
  text-decoration: none !important;
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px #43273c10;
}
body.wn-journal-edition.wn-site-20261116 #page #main .entry-content a.wn-journal-shop-action:focus-visible {
  outline: 2px solid var(--wn-journal-link);
  outline-offset: 3px;
}
body.wn-journal-edition.wn-site-20261116 #page #main .entry-content a.wn-journal-shop-action:hover {
  border-color: #ae87a7;
  color: #70226d !important;
}
body.wn-journal-edition.wn-site-20261116 #page #main .entry-content a.wn-journal-shop-action::before {
  content: "";
  flex: none;
  width: 1em;
  height: 1em;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20class%3D%22icon-shopping-bag%22%3E%3Cpath%20class%3D%22primary%22%20d%3D%22M5%208h14a1%201%200%200%201%201%20.92l1%2012A1%201%200%200%201%2020%2022H4a1%201%200%200%201-1-1.08l1-12A1%201%200%200%201%205%208z%22%2F%3E%3Cpath%20class%3D%22secondary%22%20d%3D%22M9%2010a1%201%200%200%201-2%200V7a5%205%200%201%201%2010%200v3a1%201%200%200%201-2%200V7a3%203%200%200%200-6%200v3z%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
}

body.wn-journal-edition.wn-site-20261116 #page #main :is(.wn-draft-demo-actions,.wn-library-demo-actions,.wn-library-builder-demo-actions) a:not(:has(svg))::after {
  content: "";
  width: 1em;
  height: 1em;
  flex: none;
  background-color: currentColor;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20class%3D%22icon-external-window%22%3E%3Cpath%20class%3D%22primary%22%20d%3D%22M12%208a1%201%200%200%201-1%201H5v10h10v-6a1%201%200%200%201%202%200v6a2%202%200%200%201-2%202H5a2%202%200%200%201-2-2V9c0-1.1.9-2%202-2h6a1%201%200%200%201%201%201z%22%2F%3E%3Cpath%20class%3D%22secondary%22%20d%3D%22M19%206.41L8.7%2016.71a1%201%200%201%201-1.4-1.42L17.58%205H14a1%201%200%200%201%200-2h6a1%201%200%200%201%201%201v6a1%201%200%200%201-2%200V6.41z%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
}

@media (max-width: 650px) {
  body.wn-journal-edition.wn-site-20261116 #page #main :is(.wn-timing-article,.wn-notability-article) > header {
    display: block;
  }
  body.wn-journal-edition.wn-site-20261116 #page #main :is(.wn-timing-article,.wn-notability-article) > header > .barnstar-figure {
    float: right;
    width: 4.4rem;
    margin: 0 0 .3rem .6rem !important;
  }
  body.wn-journal-edition.wn-site-20261116 #page #main :is(.wn-timing-article,.wn-notability-article) > header > .standfirst {
    clear: both;
  }
  body.wn-journal-edition.wn-site-20261116 #page #content > .header-title .wn-journal-illustrated {
    grid-template: "topics art" auto "title title" auto "credit credit" auto / minmax(0,1fr) 3.75rem;
    gap: .2rem .5rem;
    padding-inline-end: 0 !important;
  }
  body.wn-journal-edition.wn-site-20261116 #page #content .wn-journal-illustrated > .wn-studio-tool-guide-hero {
    width: 3.75rem !important;
  }
  body.wn-journal-edition.wn-site-20261116 #page #content > .header-title .wn-journal-illustrated .tags {
    margin-bottom: 0 !important;
  }
}
@media (forced-colors: active) {
  body.wn-journal-edition.wn-site-20261116 #page #content > .header-title .tags a.tag,
  body.wn-journal-edition.wn-site-20261116 #page #main .wn-studio-tool-guide-body > :is(.wn-draft-demo,.wn-library-demo,.wn-library-builder-demo) {
    border-color: CanvasText !important;
  }
}

/*! Refactoring UI icon-external-window.svg and icon-shopping-bag.svg, incorporated above.
Copyright (c) Refactoring UI Inc.

This License Agreement (“the Agreement”) between you, the licensee, and Refactoring UI Inc. (the “Company”), a corporation organized and existing under the laws of Ontario.  The Company owns the icons (the “Product”) delivered under this Agreement. This Agreement grants you a non-exclusive, non-transferable right to use and incorporate the Product in personal and commercial projects.

You agree as follows:

1.  Scope of use

    1. Use and incorporate the Product in personal and commercial projects including web applications, websites, native mobile applications, and printed materials, etc.

    2. You may incorporate the Product in open-source projects, and are granted permission to include the Product in publicly readable repositorities as needed.
 
    3. You may modify the Product to better serve your projects.

    4. You are granted unlimited usage of the Product.

    5. If an organization is the licensee, all employees of the organization may use the same license.

2.  Limitations and non-use
    
    1. You may not redistribute, sublicense or resell the Product.
    
    2. You may not distribute, license or sell modified versions of the Product.

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
