/* Canvas-only adjustments: static header, waveform bar heights, book spread defaults */

.himmelsor-site .menu{display:none}
.himmelsor-site .wave i:nth-child(6n+1){--h:13px}
.himmelsor-site .wave i:nth-child(6n+2){--h:24px}
.himmelsor-site .wave i:nth-child(6n+3){--h:31px}
.himmelsor-site .wave i:nth-child(6n+4){--h:19px}
.himmelsor-site .wave i:nth-child(6n+5){--h:9px}
.himmelsor-site .wave i:nth-child(6n){--h:27px}
.himmelsor-site .wave i{--d:0s}

.skapa-saga-page #wizard .create-flow{min-height:1100px!important}

/* Phone: the eight picture styles in the hero are round and as large as the screen width allows.
   They were squeezed into 27×44 ovals: eight columns shared 275px while each picture kept its 44px height. */
@media(max-width:640px){
  /* The block follows the book, which sits 24px right of centre to make room for the photo. On a phone it is centred on the screen instead. */
  .himmelsor-site .style-block{margin-left:0!important;margin-right:0!important;align-self:center}
  .himmelsor-site .style-row{--row:calc(100% + 64px);display:grid!important;grid-template-columns:repeat(8,minmax(0,1fr))!important;gap:6px!important;width:var(--row)!important;max-width:none!important;height:auto!important;margin-left:calc((100% - var(--row))/2)!important;margin-right:0!important;align-items:center}
  .himmelsor-site .style-row button{display:block!important;width:100%!important;min-width:0!important;height:auto!important;aspect-ratio:1;padding:0!important;border-radius:50%!important}
  .himmelsor-site .style-row button img{display:block!important;width:100%!important;height:100%!important;aspect-ratio:1}
}

/* Phone: "Så fungerar det" is a twelve-column bento on desktop. On a narrow screen every card takes the full width. */
@media(max-width:760px){
  body[data-route="sa-fungerar-det"] #app [style*="repeat(12"]{grid-template-columns:minmax(0,1fr)!important;gap:14px!important}
  body[data-route="sa-fungerar-det"] #app [style*="repeat(12"]>*{grid-column:auto!important;padding:24px 20px!important;gap:18px!important;border-radius:26px!important}
  body[data-route="sa-fungerar-det"] #app [style*="repeat(12"]>*{overflow:hidden;max-width:100%}
  body[data-route="sa-fungerar-det"] #app{overflow-x:clip}
  body[data-route="sa-fungerar-det"] main>section:first-child{padding-top:118px!important;padding-bottom:28px!important}
  body[data-route="sa-fungerar-det"] main h1{font-size:clamp(34px,10vw,44px)!important}
  body[data-route="sa-fungerar-det"] main h2{font-size:clamp(28px,8vw,36px)!important}
}

/* Desktop menu: 15px like the rest of the header (it was 13px, and 11px on narrower screens). */
.himmelsor-site .top #nav{gap:30px!important;font-size:15px!important}
.himmelsor-site .top #nav a{font-size:15px!important;font-weight:650!important;letter-spacing:-.005em}

/* Arrows beside the example books: the same drawn chevron as in the book reader. */
.himmelsor-site .world-controls button{font-size:0!important;line-height:0;background:#fffdf7e0!important;border:1px solid #ffffffe0!important;box-shadow:0 10px 26px -14px #14261f47!important;color:#173A30!important}
.himmelsor-site .world-controls button svg{display:block;width:20px;height:20px}

/* "Lyssna på sagan. Se orden lysa.": the second half in the same light italic as every other heading (it had fallen back to bold upright), and everything in the section on the centre line. */
.himmelsor-site .format-section .narration-heading h2 em{font:italic 400 1em Georgia,serif!important;letter-spacing:-.045em}
.himmelsor-site .format-section>.format-content{display:flex!important;justify-content:center!important;justify-self:center!important;text-align:center;max-width:none!important}
.himmelsor-site .format-section>.format-content .format-create{margin-inline:auto}
