:root {
  --hdr:          #3a71a7;
  --link:         #0049a6;
  --link-visited: #7426a2;
  --white:        #ffffff;
  --surface:      #f3f3f3;
  --border:       #e2e2e2;
  --border-dark:  #a0a0a0;
  --radius:       10px;
  --green-bg:     #eaf7ed;
  --red-bg:       #fdecea;
  --green:        #237a3c;
  --orange:       #d4850b;
  --red:          #c0392b;
  --txt:          #1d1d1f;
  --muted:        #666666;
  --content-w:    900px;
  --submenu-w:    260px;
  --edge:         1rem;
  --shadow-soft:  0px 0px 4px #ccc;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 112.5%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--surface);
}

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--txt);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  line-height: 1.3;
  color: inherit;
  font-weight: bold;
}

h1 {
  font-size: 2.2rem;
  font-weight: normal;
  line-height: 1.2;
  letter-spacing: -.01em;
  margin-bottom: .9rem;
}

h2 {
  font-size: 1.55rem;
  margin: 2.75rem 0 .75rem;
}

h3 {
  font-size: 1.1rem;
  margin: 2.25rem 0 .35rem;
}

h4 {
  font-size: 1rem;
  margin: 1.2rem 0 .4rem;
}

h1 + h2 {
  margin-top: .5rem;
}

h2 + h3 {
  margin-top: 1.25rem;
}

@media (max-width: 900px) {
  h1 {
    font-size: 1.8rem;
  }
  h2 {
    font-size: 1.3rem;
  }
}

ul, ol {
  padding-left: 1.7rem;
}

p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

ul,
ol {
  margin-top: 0;
  margin-bottom: 1rem;
}

p + ul,
p + ol {
  margin-top: -.4rem;
}

li {
  font-size: 1rem;
  margin-bottom: .4rem;
  line-height: 1.6;
}

li > ul,
li > ol {
  margin-top: .4rem;
  margin-bottom: 0;
}

a {
  color: var(--link);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.article-body a:visited,
.forum-post-body a:visited,
.question-explanation a:visited,
.box a:visited {
  color: var(--link-visited);
}

input[type="radio"],
input[type="checkbox"] {
  accent-color: var(--hdr);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.border img,
.border picture {
  border: 1px solid var(--border);
}

.radius img,
.radius picture {
  border-radius: var(--radius);
}

.shadow img,
.shadow picture {
  box-shadow: var(--shadow-soft);
}

.border-radius img,
.border-radius picture {
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.radius-shadow img,
.radius-shadow picture {
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius);
}

.skip-link {
  position: absolute;
  left: var(--edge);
  top: -5rem;
  background: var(--hdr);
  color: var(--white);
  padding: .4rem .9rem;
  border-radius: var(--radius);
  font-size: .9rem;
  z-index: 300;
}

.skip-link:focus {
  top: .75rem;
}


/* HEADER */

.header-inner,
.footer-inner {
  max-width: var(--content-w);
  margin-inline: auto;
  padding-inline: var(--edge);
}

.site-header {
  background: var(--hdr);
  position: relative;
}

main {
  background: var(--white);
}

.header-inner {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  min-height: 80px;
}

@media (max-width: 900px) {
  .header-inner {
    padding-inline: .6rem;
  }
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  padding: 0;
}

@media (hover: hover) {
  .logo:hover {
    text-decoration: none;
  }
}

.logo-svg {
  height: auto;
  width: 171px;
  display: block;
}

@media (max-width: 900px) {
  .logo-svg {
    width: 110px;
  }
  .logo {
    padding-block: 1rem;
  }
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .875rem;
  padding: 0;
  flex: 1;
}

.header-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: .45rem 1.3rem;
  font-size: .9rem;
  font-weight: normal;
  color: var(--white);
  background: #4379B2;
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 2.5px rgba(0,0,0,.18);
  line-height: 1.15;
  text-decoration: none;
  transition: background .1s;
}

.header-nav a.nav-highlight {
  background: linear-gradient(135deg, #F7E08A 0%, #F2C94C 40%, #EDC244 100%);
  color: #000;
}

@media (hover: hover) {
  .header-nav a.nav-highlight:hover {
    background: linear-gradient(135deg, #f9e99d 0%, #f5d46a 40%, #f0ce60 100%);
  }
}

@media (hover: hover) {
  .header-nav a:hover {
    background: #4c81b8;
    text-decoration: none;
  }
}

.header-nav a:active {
  background: #5b8fc1;
  box-shadow: inset 0 0 3px #24588a;
  text-decoration: none;
}

@media (max-width: 900px) {
  .header-nav {
    order: 1;
    flex: none;
    width: 100%;
    padding: 0 0 .6rem;
    gap: .4rem;
  }
  .header-nav a {
    flex: 1 1 auto;
    font-size: .85rem;
    padding: .35rem .3rem;
    line-height: 1.15;
  }
}

.nav-label-top,
.nav-label-bottom {
  display: block;
  white-space: nowrap;
}

.header-utils {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
  flex-shrink: 0;
}

.header-utils a {
  color: var(--white);
  font-size: .9rem;
  text-decoration: none;
  padding-block: .75rem;
}

@media (hover: hover) {
  .header-utils a:hover {
    color: var(--white);
    text-decoration: none;
  }
}


/* SLIM-MENU */

.nav-bar {
  display: none;
}

.nav-bar .logo-svg-stretch {
  height: 16px;
  width: auto;
  display: block;
  flex-shrink: 1;
  min-width: 0;
}

.nav-bar-icon {
  width: 18px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
}

.nav-bar-icon-menu {
  display: block;
}

.nav-bar-icon-close {
  display: none;
}

.nav-bar[aria-expanded="true"] .nav-bar-icon-menu {
  display: none;
}

.nav-bar[aria-expanded="true"] .nav-bar-icon-close {
  display: block;
}

.slim-menu .nav-bar,
.in-exam .nav-bar {
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 var(--edge);
  background: var(--hdr);
  border: none;
  font: inherit;
  cursor: pointer;
  user-select: none;
  color: var(--white);
  min-height: 48px;
  overflow: visible;
}

@media (max-width: 900px) {
  .slim-menu .site-header {
    display: none;
  }
  .slim-menu .site-header.nav-open {
    display: block;
  }
  .slim-menu .nav-bar {
    display: flex;
  }
}


/* LAYOUT */

.page-content {
  max-width: var(--content-w);
  margin-inline: auto;
  padding-inline: var(--edge);
  padding-block: 1.5rem;
}

.page-content:has(> .page-meta:first-child) {
  padding-block-start: .6rem;
}

.narrow-wrap {
  max-width: 620px;
  margin-inline: auto;
}

.buy-wrap {
  max-width: 420px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 2rem;
}

.login-wrap {
  max-width: 420px;
  margin-inline: auto;
}

.sidebar-layout {
  max-width: var(--content-w);
  margin-inline: auto;
  padding-inline: var(--edge);
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  display: grid;
  grid-template-columns: var(--submenu-w) 1fr;
  align-items: start;
}

@media (max-width: 900px) {
  .sidebar-layout {
    padding-inline: 0;
    padding-top: 0;
    padding-bottom: 1.5rem;
  }
  .sidebar-layout {
    grid-template-columns: 1fr;
  }
}

.submenu-toggle {
  display: none;
}

@media (max-width: 900px) {
  .submenu-toggle {
    display: flex;
    align-items: center;
    gap: .5rem;
    width: 100%;
    padding: 0 var(--edge);
    min-height: 44px;
    font-size: 1rem;
    line-height: 1;
    font-weight: normal;
    color: var(--txt);
    background: var(--surface);
    border-radius: 0;
    text-decoration: none;
  }
  .submenu-toggle:hover {
    background: #e5e5e5;
    text-decoration: none;
  }
  .submenu-toggle-icon {
    width: 18px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--muted);
  }
  .submenu-toggle-label {
    font-size: .9rem;
    position: relative;
    top: 1px;
    color: var(--muted);
  }
}

.submenu {
  order: -1;
  background: var(--surface);
  border-radius: var(--radius);
  margin-top: 0;
  margin-right: 1.7rem;
  padding-bottom: 1rem;
}

@media (max-width: 900px) {
  .submenu {
    order: 0;
    margin: 0 0 2rem;
    border-radius: 0;
  }
}

.submenu-close {
  display: none;
}

@media (max-width: 900px) {
  .submenu-close {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 var(--edge);
    min-height: 44px;
    color: var(--muted);
    background: var(--surface);
    text-decoration: none;
  }
  .submenu-close:hover {
    background: var(--surface);
    text-decoration: none;
  }
  .submenu-close::before {
    content: '';
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='square' stroke-linejoin='round'%3E%3Cpath d='M3 11L8 5L13 11'/%3E%3C/svg%3E") center / contain no-repeat;
  }
}

.submenu-heading {
  display: block;
  font-size: .9rem;
  font-weight: bold;
  text-transform: uppercase;
  color: var(--txt);
  padding: .7rem .9rem .4rem;
  margin-top: 1.75rem;
}

@media (max-width: 900px) {
  .submenu-heading {
    font-size: 1rem;
  }
}

.submenu > .submenu-heading:first-of-type {
  margin-top: 0;
}

.submenu > a:not(.submenu-close) {
  display: block;
  padding: .65rem .9rem;
  font-size: .9rem;
  color: var(--txt);
  line-height: 1.4;
  text-decoration: none;
}

@media (hover: hover) {
  .submenu > a:not(.submenu-close):hover {
    background: #e5e5e5;
  }
}

.submenu > span.submenu-active {
  display: block;
  padding: .65rem .9rem;
  font-size: .9rem;
  font-weight: normal;
  color: var(--txt);
  line-height: 1.4;
  text-decoration: none;
  background: #e5e5e5;
}

@media (max-width: 900px) {
  .submenu > a:not(.submenu-close),
  .submenu > span.submenu-active {
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
    padding: .85rem .9rem;
  }
  .submenu-heading + a,
  .submenu-heading + span.submenu-active {
    border-top: 1px solid var(--border);
  }
}

.submenu-link-image {
  display: flex;
  flex-direction: column;
  padding: .65rem .9rem;
}

.submenu-link-image img {
  width: 100px;
  height: auto;
  display: block;
  margin-top: .3rem;
}

.content-column {
  min-width: 0;
  padding-bottom: 1.5rem;
}

@media (max-width: 900px) {
  .content-column {
    padding: .8rem var(--edge) 1.5rem;
  }
}

.article-body h2 {
  margin-top: 2.75rem;
}

.article-body h1 + h2 {
  margin-top: .5rem;
}

@media (max-width: 900px) {
  .article-body {
    padding-inline: 0;
  }
}

.page-bottom-date {
  font-size: .9rem;
  text-align: center;
  color: var(--muted);
  clear: both;
}

.next-chapter {
  display: flex;
  justify-content: center;
  margin: 1.3rem 0;
}

.next-chapter a {
  display: block;
  padding: 11px 16px;
  background: var(--surface);
  border-radius: var(--radius);
}

.next-chapter-inner {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  text-decoration: inherit;
}


/* PRESENTATION-LAYOUT */

.presentation-layout {
  text-align: center;
  padding-block-start: 3rem;
}

.presentation-layout .fullwidth {
  margin-bottom: 0;
}

.presentation-layout .img-center {
  margin: 0 auto;
}

.presentation-layout h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: normal;
  line-height: 1;
  letter-spacing: -0.01em;
  margin-block: 0;
}

.presentation-block-center p,
.presentation-block-center li {
  max-width: 65ch;
  margin-left: auto;
  margin-right: auto;
}

.presentation-block,
.presentation-block-center {
  padding: 2rem 1rem 5rem 1rem;
}

@media (min-width: 901px) {
  .presentation-block,
  .presentation-block-center,
  .divider-big {
    padding: 0 0 6rem 0;
  }
}

.divider-big+.presentation-block,
.divider-big+.presentation-block-center {
  padding: 0 1rem 5rem 1rem;
}

@media (min-width: 901px) {
  .divider-big+.presentation-block,
  .divider-big+.presentation-block-center {
    padding: 0 1rem 5rem 0;
  }
  .divider-big+.presentation-block h2,
  .divider-big+.presentation-block-center h2 {
    margin-top: 0;
  }
}

.presentation-block {
  text-align: left;
}

.presentation-block-center {
  text-align: center;
}

.presentation-button-top {
  margin-top: 3rem;
  margin-bottom: 3.8rem;
}

@media (min-width: 901px) {
  .presentation-button {
    margin-top: 3.2rem;
  }
}

.presentation-img-start {
  margin-top: 3.2rem;
}

.presentation-block h2,
.presentation-block-center h2 {
  margin-top: 0;
}

@media (min-width: 901px) {
  .presentation-block h2,
  .presentation-block-center h2 {
    margin-top: 2rem;
  }
}

.divider-big {
  border: none;
  border-top: 3px solid var(--border);
  padding-bottom: 5rem;
}

@media (max-width: 900px) {
  .divider-big {
    width: calc(100% + 2 * var(--edge));
    margin-inline: calc(-1 * var(--edge));
  }
}


/* FOOTER */

.site-footer {
  background: var(--surface);
  color: var(--muted);
  font-size: .9rem;
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  padding-block: .9rem;
}

.footer-copyright {
  color: var(--txt);
  font-size: .9rem;
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 1rem;
}

.site-footer a {
  color: var(--link);
  text-decoration-line: underline;
}

.site-footer a.footer-lang {
  text-decoration: none;
  font-size: .9rem;
}

.footer-lang .footer-lang-badge {
  text-decoration: none;
}

.footer-lang-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.15rem;
  border: 1px solid var(--txt);
  border-radius: 3px;
  background: var(--white);
  color: var(--txt);
  font-size: .7rem;
  font-weight: normal;
  text-decoration: none;
  letter-spacing: .05em;
  line-height: 1;
  flex-shrink: 0;
  margin-right: .3rem;
  vertical-align: middle;
}


/* BUTTONS */

.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #008409;
  color: var(--white);
  font-family: inherit;
  font-size: 1.125rem;
  padding: .7rem 1.6rem .55rem;
  font-weight: normal;
  line-height: 1.4;
  border: none;
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.13), 0 0 3px rgba(0,0,0,.15);
  text-decoration: none;
  cursor: pointer;
  transition: background .1s;
}

@media (max-width: 900px) {
  .button-primary {
    font-size: 1rem;
    padding: .65rem 1rem .5rem;
  }
}

@media (hover: hover) {
  .button-primary:hover {
    background: #1a8f16;
    color: var(--white);
    text-decoration: none;
  }
}

a.button-primary:visited {
  color: var(--white);
}

.button-ui,
.button-answer,
.button-next {
  display: inline-block;
  padding: .4rem 1rem;
  background: var(--white);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: normal;
  line-height: 1.5;
  white-space: nowrap;
  color: var(--txt);
  cursor: pointer;
  text-decoration: none;
  transition: border-color .1s;
}

@media (hover: hover) {
  .button-ui:hover,
  .button-answer:hover,
  .button-next:hover {
    border-color: var(--txt);
    color: var(--txt);
    text-decoration: none;
  }
}

.button-ui:active,
.button-answer:active,
.button-next:active {
  background: var(--surface);
}

.button-muted {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .4rem 1rem;
  background: var(--white);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  font-size: .9rem;
  color: var(--muted);
  text-decoration: none;
  transition: border-color .1s, color .1s;
}

@media (hover: hover) {
  .button-muted:hover {
    border-color: var(--txt);
    color: var(--txt);
    text-decoration: none;
  }
}

.chevron-right-icon {
  display: block;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  background: currentColor;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 4l4 4-4 4'/%3E%3C/svg%3E");
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 4l4 4-4 4'/%3E%3C/svg%3E");
          mask-position: center;
          mask-size: contain;
          mask-repeat: no-repeat;
}


/* FORMS */

.field {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  margin-bottom: 1rem;
}

.field-label {
  font-size: .9rem;
  font-weight: bold;
  color: var(--txt);
}

.field-label-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.field-input {
  padding: .5rem .7rem;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  color: var(--txt);
  background: var(--white);
  width: 100%;
}

.field-input:focus,
.field-textarea:focus {
  outline: 2px solid var(--hdr);
  outline-offset: 2px;
  border-color: var(--border-dark);
}

.field-input-short {
  max-width: 240px;
}

.field-input-medium {
  max-width: 500px;
}

.field-textarea {
  padding: .6rem .7rem;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  color: var(--txt);
  background: var(--white);
  width: 100%;
  resize: vertical;
  min-height: 180px;
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .3rem;
}

.toolbar-btn {
  padding: .3rem .75rem;
  background: var(--white);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  font-size: .9rem;
  font-family: inherit;
  cursor: pointer;
  color: var(--txt);
}

@media (hover: hover) {
  .toolbar-btn:hover {
    background: var(--surface);
  }
}

.form-footer {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.form-footer-info {
  font-size: .9rem;
  color: var(--txt);
  margin: 0;
}

.form-footer-buttons {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}


/* EXAM SETTINGS */

.exam-settings {
  margin-bottom: 1rem;
}

.exam-group {
  border: none;
  padding: 0;
  margin: 0 0 2rem;
  text-align: center;
}

.exam-group legend {
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: -.015em;
  color: var(--txt);
  margin-bottom: 1rem;
  width: 100%;
  text-align: center;
}

.exam-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.5rem;
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  column-gap: .5rem;
  row-gap: .65rem;
  margin-bottom: 1.5rem;
}

.exam-option,
.filter-option,
.settings-option {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .4rem .85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 1rem;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .1s;
}

@media (hover: hover) {
  .exam-option:hover,
  .filter-option:hover,
  .settings-option:hover {
    border-color: var(--border-dark);
  }
}

.exam-option:has(input:checked),
.filter-option:has(input:checked),
.settings-option:has(input:checked) {
  border-color: var(--border-dark);
}

.exam-option input[type="radio"],
.filter-option input[type="radio"],
.settings-option input[type="radio"],
.buy-plan input[type="radio"] {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  cursor: pointer;
}

.exam-options-sm .exam-option,
.filter-option {
  font-size: .9rem;
}

.settings-option {
  margin-bottom: 2rem;
}

.settings-option-block {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  padding: .6rem .85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 1rem;
  cursor: pointer;
  white-space: normal;
  transition: border-color .1s;
}

@media (hover: hover) {
  .settings-option-block:hover {
    border-color: var(--border-dark);
  }
}

.settings-option-block:has(input:checked) {
  border-color: var(--border-dark);
}

.settings-option-block input[type="radio"] {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  cursor: pointer;
  margin-top: .3rem;
}

.settings-option-block {
  margin-bottom: 1rem;
}


/* NAVIGATION */

.page-meta {
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
  color: var(--txt);
  margin-bottom: 1rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .2rem;
  list-style: none;
  align-items: center;
  padding-left: 0;
  margin-bottom: .3rem;
}

.breadcrumb li {
  margin-bottom: 0;
  font-size: .9rem;
  max-width: 30ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.breadcrumb li + li::before {
  content: '›';
  margin-inline: .4rem;
  color: var(--border);
}

.breadcrumb .breadcrumb-active {
  max-width: none;
  white-space: normal;
  color: var(--muted);
}

.breadcrumb a,
.breadcrumb a:visited {
  color: var(--txt);
  text-decoration: none;
}

@media (hover: hover) {
  .breadcrumb a:hover {
    text-decoration-line: underline;
  }
}

.breadcrumb [aria-current] {
  font-weight: normal;
  color: var(--txt);
}


/* MEDIA */

.fullwidth,
.fullwidth-contained {
  display: block;
  margin-bottom: 1rem;
  clear: both;
}

.fullwidth img,
.fullwidth video,
.fullwidth picture,
.fullwidth iframe,
.fullwidth-contained img,
.fullwidth-contained video,
.fullwidth-contained picture,
.fullwidth-contained iframe {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 900px) {
  .fullwidth {
    width: calc(100% + 2 * var(--edge));
    margin-inline: calc(-1 * var(--edge));
  }
}

.fullwidth + .fullwidth,
.fullwidth + .fullwidth-contained,
.fullwidth-contained + .fullwidth,
.fullwidth-contained + .fullwidth-contained,
.img-left + .img-left,
.img-left + .fullwidth,
.img-left + .fullwidth-contained,
.fullwidth + .img-left,
.fullwidth-contained + .img-left {
  margin-top: 2rem;
}

.img-left {
  display: block;
  margin: 0.5rem 0 1rem 0;
}

.img-right {
  float: right;
  clear: right;
  margin: 0.5rem 0 1rem 1rem;
}

.img-center {
  display: block;
  margin: 0.5rem auto;
}

@media (max-width: 900px) {
  .img-right {
    float: none;
    clear: none;
    margin: 0.5rem 0 1rem 0;
  }
}

.img-fill img {
  width: 100%;
  display: block;
}

.img-auto img {
  width: auto;
  max-width: 100%;
  max-height: 500px;
  display: block;
}

.img-center .img-auto img,
.img-center.img-auto img {
  margin: 0 auto;
}

.img-left figcaption,
.img-right figcaption,
.img-center figcaption,
.fullwidth figcaption,
.fullwidth-contained figcaption {
  border-left: 5px solid var(--border);
  padding-left: 0.7rem;
  margin-top: 0.5rem;
}

@media (max-width: 900px) {
  .fullwidth figcaption {
    margin-inline: var(--edge);
  }
}

.img-left img,
.img-right img,
.img-center img,
.fullwidth img,
.fullwidth video,
.fullwidth iframe,
.fullwidth-contained img,
.fullwidth-contained video,
.question-media-limit-height img {
  border-radius: var(--radius);
}

.vjs-control-bar {
  border-bottom-right-radius: var(--radius);
  border-bottom-left-radius: var(--radius);
}

@media (max-width: 900px) {
  .fullwidth img,
  .fullwidth video,
  .fullwidth iframe,
  .question-media-limit-height img {
    border-radius: 0;
  }
  .vjs-control-bar {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
  }
}

.no-radius img {
  border-radius: 0;
}

.img-narrow {
  width: fit-content;
  max-width: 100%;
}

.separator {
  color: var(--border);
}

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

.separator-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .3rem .75rem;
  font-size: .9rem;
}


/* BOXES */

.box,
.settings-box {
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  margin: 1.5rem 0;
  font-size: 1rem;
  line-height: 1.6;
  background: var(--surface);
}

.box p:last-child,
.box ul:last-child,
.box ol:last-child,
.settings-box p:last-child {
  margin-bottom: 0;
}

.box > h3:first-child {
  margin: 0 0 1rem;
}

.box.box-neutral {
  background: #eef4fb;
}

.box.box-standout {
  background: #fdf6e3;
}

.box.box-important {
  background: #fdf0f0;
}

.settings-box strong.settings-box-title {
  display: block;
  margin-bottom: .5rem;
  font-size: 1.4rem;
  font-weight: bold;
}

.settings-box [class^="button-"] {
  background: var(--white);
}

.box:has(> figure:last-child) {
  padding-bottom: .3rem;
}


/* SIGNS */

.sign-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, max-content));
  gap: 1rem 3rem;
  margin: 1.25rem 0;
  align-items: start;
}

@media (max-width: 900px) {
  .sign-grid {
    gap: 1rem 1rem;
  }
}

.sign-grid-wrap .sign-grid {
  row-gap: 3rem;
}

.sign-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  text-align: left;
  margin-bottom: 1rem;
}

.sign-grid .sign-item {
  align-items: center;
  text-align: center;
  width: 100px;
}

.sign-grid .sign-item,
.sign-grid-right .sign-item {
  margin-bottom: 0;
}

.sign-item a {
  display: block;
}

.sign-item figure {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  width: 100%;
}

.sign-item img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  display: block;
}

.sign-item figcaption {
  font-size: .9rem;
  line-height: 1.3;
  margin-top: .2rem;
}

.sign-item-text {
  display: block;
  font-style: italic;
}

.sign-code {
  display: block;
  font-size: .9rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.3;
}

.sign-grid-right {
  float: right;
  clear: right;
  margin: 0.5rem 0 0.5rem 1rem;
  width: 100px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sign-grid-right .sign-item {
  align-items: center;
  text-align: center;
}

.thumb-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem 1.5rem;
  margin-bottom: 2rem;
}

.thumb-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: 140px;
  margin: 0;
}

.thumb-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.thumb-card figcaption {
  font-size: .9rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* BOOK GALLERY */

.book-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 2rem;
  margin-top: 1.3rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-inline: auto;
  justify-content: center;
}

.book-grid a {
  display: block;
  width: 200px;
  text-decoration: none;
  color: inherit;
}

.book-grid a img {
  width: 100%;
  height: auto;
  display: block;
}

.book-card img {
  box-shadow: var(--shadow-soft);
  line-height: 0;
  margin-top: 1.3rem;
  margin-bottom: 3rem;
}

@media (max-width: 900px) {
  .book-grid {
    gap: 1rem 1rem;
  }
  .book-grid a {
    width: 90px;
  }
}


/* BOOK STRIP */

.book-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  gap: 1rem;
  margin-bottom: 2rem;
}

.book-strip a {
  display: block;
  width: 60px;
  flex-shrink: 0;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: inherit;
}

.book-strip a.is-active {
  border: 2px solid #000;
}

.book-strip a img {
  width: 100%;
  height: auto;
  display: block;
}


/* BOOK DOWNLOAD */

.example-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 1.3rem;
}

.example-item {
  flex: 1 1 300px;
  max-width: 300px;
}

.example-item figure {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
}

.example-item img,
.example-item picture {
  width: 100%;
}

h2+.book-download-box-wrap {
  margin-top: 0;
}

.book-download-box-wrap {
  max-width: 400px;
  margin: 0 auto;
  margin-top: 3.2rem;
  margin-bottom: 6rem;
  text-align: center;
}

.book-download-box {
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  background: var(--surface);
}

.book-download-box h2 {
  margin-top: 0;
  font-size: 1.1rem;
}

.book-download-box .book-download-cover {
  margin-top: 1rem;
}

.book-download-box .button-primary {
  margin-top: 1.5rem;
  margin-bottom: .3rem;
}

.book-download-box .book-store-grid {
  margin: 1.5rem 0 0 0;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.book-download-box .book-data {
  font-size: .9rem;
  color: var(--muted);
}

.book-download-box .book-data strong {
  padding-right: .5rem;
  padding-left: .5rem;
}

.book-download-box .book-store-grid img {
  height: 30px;
}

.book-download-box-wrap .book-older-editions {
  font-size: .9rem;
  margin-top: .5rem;
}


/* SYSTEM MESSAGES */

.system-message {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  width: fit-content;
  margin-inline: auto;
  background: var(--surface);
  border-radius: var(--radius);
  padding: .75rem .75rem .65rem 1.25rem;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.message-success {
  background: var(--green-bg);
}

.message-critical {
  background: var(--red-bg);
}

.message-highlight {
  background: #eef4fb;
}

.system-message:not(:has(.message-close)) {
  padding: .75rem 1.25rem .65rem;
}

.system-message.system-message-left {
  margin-inline: 0;
}

.message-close {
  flex-shrink: 0;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: .5rem;
  cursor: pointer;
  border-radius: 3px;
  text-decoration: none;
  color: var(--border-dark);
}

.message-close:visited {
  color: var(--border-dark);
}

@media (hover: hover) {
  .message-close:hover {
    background: rgba(0,0,0,.07);
    text-decoration: none;
    color: var(--txt);
  }
}

.system-widget {
  position: relative;
  width: fit-content;
  margin-inline: auto;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1rem 1.25rem 1rem 1.25rem;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.system-widget .message-close {
  position: absolute;
  top: .85rem;
  right: .75rem;
}

.system-widget:has(.message-close) {
  padding: 1rem 3.25rem 1rem 1.25rem;
}


/* PAGINATION */

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem;
  margin-top: 1.5rem;
}

@media (max-width: 900px) {
  .pagination {
    width: 100%;
  }
}

.page-link,
.page-current,
.page-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  height: 2.1rem;
  padding-inline: .7rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  color: var(--txt);
  border: 1px solid var(--border-dark);
  background: var(--white);
}

@media (hover: hover) {
  .page-link:hover {
    border-color: var(--txt);
    text-decoration: none;
  }
}

.page-link:visited {
  color: var(--txt);
}

.page-current {
  background: var(--white);
  color: var(--txt);
  border-color: var(--border-dark);
  font-weight: bold;
  cursor: default;
  min-width: auto;
  padding-inline: .25rem;
  border: none;
}

.page-ellipsis {
  border: none;
  background: none;
  color: var(--muted);
  cursor: default;
  min-width: auto;
  padding-inline: .25rem;
}

.page-next {
  min-width: auto;
  padding-inline: 1rem;
  gap: .4rem;
}

@media (max-width: 900px) {
  .page-next {
    display: flex;
    width: 100%;
    justify-content: center;
    padding-inline: 1rem;
    height: 2.75rem;
  }
}


/* TABLES */

.table-stack,
.table-scroll {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.table-stack thead tr,
.table-scroll thead tr {
  background: var(--surface);
}

.table-stack tbody tr + tr td,
.table-stack tbody tr + tr th,
.table-scroll tbody tr + tr td,
.table-scroll tbody tr + tr th {
  border-top: 1px solid var(--border);
}

.table-stack th,
.table-stack td,
.table-scroll th,
.table-scroll td {
  padding: .75rem 1rem;
  text-align: left;
  vertical-align: top;
  font-size: 1rem;
  color: var(--txt);
  line-height: 1.5;
}

.table-stack td + td,
.table-stack th + th,
.table-scroll td + td,
.table-scroll th + th {
  border-left: 1px solid var(--border);
}

.table-center th,
.table-center td {
  text-align: center;
}

th.rtd,
td.rtd {
  text-align: right;
}

.table-center img {
  margin-inline: auto;
}

.table-equal th,
.table-equal td {
  width: calc(100% / var(--cols, 2));
}

.table-stack thead tr:first-child th:first-child,
.table-scroll thead tr:first-child th:first-child {
  border-radius: var(--radius) 0 0 0;
}

.table-stack thead tr:first-child th:last-child,
.table-scroll thead tr:first-child th:last-child {
  border-radius: 0 var(--radius) 0 0;
}

.table-stack tbody tr:last-child td:first-child,
.table-scroll tbody tr:last-child td:first-child {
  border-radius: 0 0 0 var(--radius);
}

.table-stack tbody tr:last-child td:last-child,
.table-scroll tbody tr:last-child td:last-child {
  border-radius: 0 0 var(--radius) 0;
}

.table-stack tbody:first-child tr:first-child td:first-child,
.table-scroll tbody:first-child tr:first-child td:first-child {
  border-radius: var(--radius) 0 0 0;
}

.table-stack tbody:first-child tr:first-child td:last-child,
.table-scroll tbody:first-child tr:first-child td:last-child {
  border-radius: 0 var(--radius) 0 0;
}

@media (max-width: 900px) {
  .table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 900px) {
  .table-stack thead {
    display: none;
  }
  .table-stack tbody tr {
    display: block;
    padding: .6rem 0;
  }
  .table-stack tbody tr + tr {
    border-top: 1px solid var(--border);
  }
  .table-stack tbody tr + tr td,
  .table-stack tbody tr + tr th {
    border-top: none;
  }
  .table-stack td {
    display: block;
    padding: .2rem 1rem;
  }
  .table-stack td + td {
    border-left: none;
  }
  .table-stack td.rtd {
    text-align: left;
  }
  .table-stack td:first-child {
    padding-top: .55rem;
  }
  .table-stack td:last-child {
    padding-bottom: .55rem;
  }
  .table-stack td[data-label]::before {
    content: attr(data-label) ": ";
    font-weight: bold;
    font-size: .9rem;
  }
  .table-stack thead tr:first-child th:first-child,
  .table-stack thead tr:first-child th:last-child,
  .table-stack tbody tr:last-child td:first-child,
  .table-stack tbody tr:last-child td:last-child,
  .table-stack tbody:first-child tr:first-child td:first-child,
  .table-stack tbody:first-child tr:first-child td:last-child {
    border-radius: 0;
  }
}


/* CALCULATOR */

.col-antal {
  padding-inline: .4rem;
  white-space: nowrap;
  width: 1%;
}

.input-wrap {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  justify-content: flex-end;
}

.input-antal,
.input-pris {
  font-family: inherit;
  font-size: 1rem;
  color: var(--txt);
  background: var(--white);
  border: 1px solid var(--border-dark);
  border-radius: 4px;
  padding: .2rem .4rem;
  text-align: right;
}

.input-antal {
  width: 4ch;
}

.input-pris {
  width: 7ch;
}

.input-antal:focus,
.input-pris:focus {
  outline: 2px solid var(--hdr);
  outline-offset: 2px;
}

.kalkylator-summa {
  font-size: 1.3rem;
}

.kalkylator-submit {
  text-align: center;
  margin: 1rem 0;
}


/* FORUM WIDGET */

.forum-widget {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.forum-widget tr {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: .75rem;
  row-gap: .15rem;
  padding: .75rem 1rem;
  border-top: 1px solid var(--border);
}

.forum-widget thead tr {
  background: var(--surface);
  border-top: none;
  grid-template-rows: auto;
}

.forum-widget thead th {
  font-size: .9rem;
  font-weight: bold;
  color: var(--txt);
  text-align: left;
}

.forum-widget-col-topic {
  grid-column: 1;
  font-weight: normal;
  text-align: left;
}

.forum-widget-col-count {
  grid-column: 2;
  text-align: right;
}

.forum-widget-title {
  grid-column: 1;
  grid-row: 1;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--link);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.forum-widget-title:visited {
  color: var(--link-visited);
}

.forum-widget-meta {
  grid-column: 1;
  grid-row: 2;
  font-size: .9rem;
  font-variant-numeric: tabular-nums;
}

.forum-widget-date {
  color: var(--txt);
}

.forum-widget-count {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  font-size: .9rem;
  font-variant-numeric: tabular-nums;
  color: var(--txt);
  white-space: nowrap;
  text-align: right;
}

.bottom-promo {
  text-align: center;
  margin-top: 3rem;
  margin-bottom: 2rem;
}

.bottom-promo img {
  width: 100%;
  margin: 0 auto;
  margin-top: 1.3rem;
  margin-bottom: 2rem;
}


/* COOKIE BANNER */

.cookie-banner {
  background: var(--surface);
}

.cookie-banner-inner {
  max-width: var(--content-w);
  margin-inline: auto;
  padding: .45rem var(--edge);
  display: flex;
  align-items: center;
  gap: .3rem;
}

@media (max-width: 900px) {
  .cookie-banner-inner {
    padding: .5rem .6rem;
  }
}

.cookie-banner-text {
  flex: 1;
  font-size: .8rem;
  color: var(--txt);
  line-height: 1;
  margin: 0;
}

.cookie-banner-text a,
.cookie-banner-text a:visited {
  color: var(--txt);
}

.cookie-banner-actions {
  display: flex;
  gap: .2rem;
  flex-shrink: 0;
}

.cookie-button {
  padding: .2rem .8rem;
  font-size: .8rem;
  font-family: inherit;
  border-radius: var(--radius);
  border: 1px solid var(--border-dark);
  background: var(--surface);
  color: var(--txt);
  cursor: pointer;
  line-height: 1.4;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .cookie-button {
    padding: .5rem .3rem;
  }
}

@media (hover: hover) {
  .cookie-button:hover {
    border-color: var(--border-dark);
    background: var(--white);
  }
}


/* PAGE — BUY */

.button-buy {
  background: linear-gradient(135deg, #F7E08A 0%, #F2C94C 40%, #EDC244 100%);
  color: var(--txt);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 0 3px rgba(0,0,0,.15);
}

@media (hover: hover) {
  .button-buy:hover {
    background: linear-gradient(135deg, #f9e89e 0%, #f4d264 40%, #f0cc5a 100%);
    color: var(--txt);
  }
}

.buy-wrap h1 {
  margin-bottom: .4rem;
}

.buy-image {
  margin: 1.25rem auto 1.5rem;
}

.buy-image img {
  border-radius: 0;
}

.buy-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
}

.buy-benefits li::before {
  content: "✓";
  color: var(--green);
  font-weight: bold;
  margin-right: .45rem;
}

.buy-plans {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin: 0 auto 1.75rem;
}

.buy-plan {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .55rem .75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  width: 100%;
  transition: border-color .1s;
}

.buy-plan-body {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  text-align: left;
}

.buy-plan-label {
  font-size: 1.15rem;
  color: var(--txt);
}

.buy-plan-label-sm {
  font-size: 1rem;
}

.buy-plan-price {
  font-size: 1rem;
  color: var(--red);
}

.buy-plan:has(input:checked) {
  border-color: var(--border-dark);
}

@media (hover: hover) {
  .buy-plan:hover {
    border-color: var(--border-dark);
  }
}

.buy-demo {
  font-size: 1rem;
}

.buy-payment-logos {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}

.buy-payment-logos img {
  height: 32px;
  width: auto;
}


/* PAGE — SIGNUP */

.signup-form {
  text-align: left;
}

.signup-form h1 {
  margin-bottom: 1.75rem;
}

.signup-section-title {
  font-size: 1.4rem;
  font-weight: normal;
  letter-spacing: -.01em;
  margin: 2rem 0 .9rem;
}

.signup-section-title:first-of-type {
  margin-top: 0;
}

.buy-summary-box {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem 0;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}

.signup-legal {
  font-size: .9rem;
  color: var(--txt);
  margin-bottom: 1.75rem;
  text-align: center;
}

.specialbox {
  display: none;
}


/* PAGE — LOGIN */

.login-alt-title {
  font-size: 1.4rem;
  font-weight: normal;
  color: var(--muted);
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.login-alt-buttons {
  text-align: center;
}

.login-alt-buttons .button-muted {
  margin-bottom: .75rem;
}

.login-form-stack {
  margin-bottom: .75rem;
}

.login-checkbox {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: 1rem;
  font-size: .9rem;
}

.login-submit {
  width: 100%;
}

.login-forgot {
  text-align: center;
  margin-top: 1rem;
  font-size: .9rem;
}


/* PAGE — SIGN CATEGORIES */

.sign-category-list {
  display: flex;
  flex-direction: column;
}

.sign-category-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: .75rem 1.25rem;
  align-items: start;
  padding: 1.5rem 0;
}

.sign-category-img {
  width: 80px;
  height: auto;
  display: block;
}

.sign-category-title {
  font-size: 1.1rem;
  font-weight: normal;
  margin: 0 0 .3rem;
}

.sign-category-title a {
  color: var(--link);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

@media (hover: hover) {
  .sign-category-title a:hover {
    color: var(--link);
  }
}

.sign-category-title .sign-category-code {
  color: var(--muted);
}

.sign-category-desc {
  font-size: 1rem;
  margin: 0;
  color: var(--txt);
}


/* UTILITIES */

.last {
  margin-bottom: 0;
}

.center {
  text-align: center;
}

.center img {
  margin: 0 auto;
}

.red {
  color: var(--red);
}

.orange {
  color: var(--orange);
}

.green {
  color: var(--green);
}

.grey {
  color: var(--muted);
}

.hl1 {
  background-color: #94ff99;
}

.hl2 {
  background-color: #ffff66;
}

.hl3 {
  background-color: #a0ffff;
}

.hl4 {
  background-color: #ff9999;
}

.hl5 {
  background-color: #ff66ff;
}

.hl6 {
  background-color: #ca2929;
}

.hl7 {
  background-color: #00aa00;
}

.hl8 {
  background-color: #004699;
}

.hl9 {
  background-color: #886800;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}


/* PRINT */

@media print {
  .site-header,
  .site-footer,
  .submenu {
    display: none;
  }
  .sidebar-layout {
    grid-template-columns: 1fr;
  }
}


/* LEGACY */

.forklaring-vm {
  height: 60px !important;
  max-width: 100px !important;
  margin-bottom: 0 !important;
}

.video-iframe {
  padding: 56.25% 0 0 0;
  position: relative;
}

.video-iframe iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.teoritest-features-badge {
  font-size: 1.1rem;
  width: auto;
  display: inline-block;
  padding: 1rem 1.5rem 1rem 1.5rem;
  text-transform: uppercase;
  color: #fff;
  font-weight: bold;
  text-shadow: 1px 1px 1px #515151;
  letter-spacing: 0.1rem;
  background-image: url(https://cdn.korkortonline.se/images/site/metal-badge.jpg);
  background-size: 100% 100%;
}

.badge-big-text {
  font-size: 1.7rem;
  display: block;
}

.presentation-explanation-quote p {
  font-style: italic;
  font-size: .9rem;
}
