:root {

  --s-base: 82%;
  --s-min: 12%;

  --h: 184;
  --s: var(--s-base);
  --l: 28%;

  --color-brand: hsl(var(--h) var(--s) var(--l));
  --color-bg-brand: hsl(var(--h) var(--s) 97%);

  --color-bg: #fff;
  --color-bg-02: hsl(var(--h) var(--s-min) 98%);
  --color-fill: hsl(var(--h) var(--s-min) 10% / 0.03);

  --color-text: #000;
  --color-text-02: rgba(0, 0, 0, 0.6);
  --color-icon: hsl(var(--h) var(--s-min) 48%);
  --color-icon-bold: hsl(var(--h) var(--s-min) 64%);
  --color-border: rgba(0, 0, 0, 0.1);

  --color-focus: color-mix(in oklch, var(--color-brand) 55%, transparent);
  --color-backdrop: hsl(var(--h) var(--s-min) 92% / 0.44);
  --color-shadow: var(--h) var(--s-min) 10%;
  --color-shadow-light: hsla(0, 0%, 100%, 0.04);

  --font-family-title: Finlandica, sans-serif;
  --font-family-base: Inter, 'Helvetica Neue', Arial, sans-serif;

  --font-size-base: 1rem;
  --font-size-h3: 1.125rem;
  --size-half: 0.25rem;
  --size-1: 0.5rem;
  --size-1p5: 0.75rem;
  --size-2: 1rem;
  --size-2p5: 1.25rem;
  --size-3: 1.5rem;
  --size-4: 2rem;
  --size-5: 2.5rem;
  --size-6: 3rem;
  --size-7: 3.5rem;
  --size-8: 4rem;

  --size-line: var(--size-3);

  --backdrop-glass: blur(20px);

  --radius-xs: 3px;
  --radius-sm: 5px;
  --radius-base: var(--size-2);
  --radius-lg: var(--size-3);
  --radius-xl: var(--size-4);
  --radius-pill: 100vmax;

  --width-sm: 272px;
  --width-base: 320px;
  --width-md: 448px;
  --width-lg: 544px;
  --width-xl: 720px;
  --width-container: 1200px;
  --width-prose: 70ch;

  --shadow-z1:
    0 0 0.5px 1px var(--color-shadow-light),
    0 0 0 1px hsl(var(--color-shadow) / var(--shadow-ring, 0.04)),
    0 1px 2px hsl(var(--color-shadow) / var(--shadow-opacity, 0.06)),
    0 2px 4px -1px hsl(var(--color-shadow) / var(--shadow-opacity, 0.06));

  --shadow-z2:
    0 0 0.5px 1px var(--color-shadow-light),
    0 0 0 1px hsl(var(--color-shadow) / var(--shadow-ring, 0.04)),
    0 2px 4px hsl(var(--color-shadow) / var(--shadow-opacity, 0.06)),
    0 6px 12px -2px hsl(var(--color-shadow) / var(--shadow-opacity, 0.06)),
    0 14px 28px -4px hsl(var(--color-shadow) / var(--shadow-opacity, 0.06));

  --shadow-z3:
    0 0 0.5px 1px var(--color-shadow-light),
    0 0 0 1px hsl(var(--color-shadow) / var(--shadow-ring, 0.04)),
    0 3px 6px hsl(var(--color-shadow) / var(--shadow-opacity, 0.06)),
    0 8px 16px -2px hsl(var(--color-shadow) / var(--shadow-opacity, 0.06)),
    0 18px 36px -4px hsl(var(--color-shadow) / var(--shadow-opacity, 0.06)),
    0 30px 60px -4px hsl(var(--color-shadow) / var(--shadow-opacity, 0.06));

  --z-sticky: 10;
  --z-fixed: 20;
  --z-fab: 30;
  --z-popover: 40;
  --z-tooltip: 50;
  --z-drawer: 60;
  --z-modal: 1010;
  --z-notification: 1020;

  --duration-50: 0.07s;
  --duration-100: 0.11s;
  --duration-200: 0.15s;
  --duration-300: 0.24s;
  --duration-400: 0.4s;
  --duration-500: 0.7s;
  --duration-600: 1s;

  --easing-base: cubic-bezier(0.2, 0, 0.38, 0.9);
  --easing-appearance: cubic-bezier(0, 0, 0.38, 0.9);
  --easing-disappearance: cubic-bezier(0.2, 0, 1, 0.9);
  --easing-bounce: cubic-bezier(0.175, 0.885, 0.32, 1.275);

  --icon-remove: url('data:image/svg+xml;utf8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M7.87868%207.87868L10%2010M10%2010L12.1213%2012.1213M10%2010L7.87868%2012.1213M10%2010L12.1213%207.87868M17%2010C17%2013.866%2013.866%2017%2010%2017C6.13401%2017%203%2013.866%203%2010C3%206.13401%206.13401%203%2010%203C13.866%203%2017%206.13401%2017%2010Z%22%20stroke%3D%22%23637D7E%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fsvg%3E');
}

*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

html {
  font-size: 100%;
  scrollbar-gutter: stable;
}

@media only screen and (min-width: 768px) and (min-height: 341px) {

html {
    hanging-punctuation: first allow-end last;
}
  }

.page-search-locked {
  overflow: hidden;
}

div:empty[style*='height:80px;'] {
  display: none !important;
}

body {
  padding-top: 5rem;
}

.logo {
  all: revert;
}

.site-header-link:hover,.site-header-link:focus {
    background: transparent;
    -webkit-text-decoration: none;
    text-decoration: none;
  }

.site-header-link.is-active {
    background: transparent;
    color: var(--color-text);
  }

.site-header-link.is-active .navigation-hover {
      opacity: 1;
      -webkit-transform: scaleX(1);
              transform: scaleX(1);
    }

.site-header-cta,.site-header-cta:hover,.site-header-cta:focus {
    background: transparent;
    -webkit-text-decoration: none;
    text-decoration: none;
  }

@media only screen and (min-width: 768px) and (min-height: 341px) {

.site-header-cta {
    display: none;
}
  }

@media only screen and (min-width: 1200px) and (min-height: 341px) {

.site-header-cta {
    display: block;
}
  }

@media screen and (max-width: 991px) {
  .nav-menu {
    margin-top: 0;
    padding-top: var(--size-6);
  }
}

.maincontainer {
  margin-left: auto;
  margin-right: auto;
}

@media only screen and (min-width: 991px) and (min-height: 341px) {

.site-header-actions {
    display: none;
}
  }

.post-title:hover,
.navigation-link:hover,
.section-title-text-small > a:hover,
.banner-wrapper:hover,
.banner-wrapper2:hover,
.post-author:hover {
  -webkit-text-decoration: none;
  text-decoration: none;
}

:is(.link-footer,.link-6,.link-7):hover {
    color: #fff;
    -webkit-text-decoration: underline;
    text-decoration: underline;
  }

h2, .h2 {
  letter-spacing: -0.03125rem;
}

.site-footer {
  margin-left: auto;
  margin-right: auto;
  max-width: var(--width-container);
}

.postvote,
.postvotedplus,
.postvotedminus {
  font-size: 1.875rem;
}

.posts-collection-list-wrapper {
  padding-bottom: 3rem;
}

.icon {
  --icon-fill: transparent;
  --icon-stroke: var(--color-icon);
  --icon-stroke-width: 2;
  --icon-size: var(--size-3);

  display: inline-block;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  fill: var(--icon-fill);
  overflow: hidden;
  -webkit-transition:
    fill var(--duration-50), opacity var(--duration-50);
  transition:
    fill var(--duration-50), opacity var(--duration-50);
  vertical-align: middle;
  width: var(--icon-size);
  height: var(--icon-size);
}

.icon-sm {
  --icon-size: 20px;
}

@media (--retina) {
  .icon {
    --icon-stroke-width: 1.5;
  }
}

.button {
  --button-bg: var(--color-fill);
  --button-color: var(--color-text-02);
  --button-color-hover: var(--color-text-02);
  --button-radius: var(--radius-sm);
  --button-height: var(--size-6);
  --button-gap: var(--size-1p5);
  --button-font-size: inherit;
  --button-font-weight: 500;
  --button-padding-y: 0;
  --button-padding-x: var(--size-2);
  --button-transition:
    background var(--duration-50) var(--easing-base),
    box-shadow var(--duration-50) var(--easing-base);
  --button-shadow: none;
  --button-shadow-focus: 0 0 0 3px var(--color-focus);
  --button-bg-hover: var(--color-bg-brand);
  --button-filter-hover: none;

  -webkit-appearance: none;

     -moz-appearance: none;

          appearance: none;
  background: var(--button-bg);
  border: 0;
  border-radius: var(--button-radius);
  -webkit-box-shadow: var(--button-shadow);
          box-shadow: var(--button-shadow);
  color: var(--button-color);
  cursor: pointer;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: var(--button-gap);
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-family: var(--font-family-base);
  font-size: var(--button-font-size);
  font-weight: var(--button-font-weight);
  line-height: 1;
  -webkit-text-decoration: none;
  text-decoration: none;
  text-transform: none;
  white-space: nowrap;
  margin-top: 0;
  padding-top: var(--button-padding-y);
  padding-bottom: var(--button-padding-y);
  padding-left: var(--button-padding-x);
  padding-right: var(--button-padding-x);
  position: relative;
  -webkit-transition: var(--button-transition);
  transition: var(--button-transition);
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  min-width: 0;
  height: var(--button-height);
}

.button .icon {
    margin: 0;
  }

.button:focus-visible {
    -webkit-box-shadow: var(--button-shadow-focus);
            box-shadow: var(--button-shadow-focus);
    outline: none;
  }

.button:disabled {
    cursor: not-allowed;
    opacity: 0.6;
    pointer-events: none;
  }

.button:active {
    scale: 0.95;
  }

@media (any-hover: hover) {
    .button:hover {
      background: var(--button-bg-hover);
      -webkit-filter: var(--button-filter-hover);
              filter: var(--button-filter-hover);
      color: var(--button-color-hover);
      -webkit-text-decoration: none;
      text-decoration: none;
    }
  }

.button-icon {
  --button-padding-x: 0;
  width: var(--button-height);
}

.button-ghost {
  --button-bg: transparent;
}

.site-header-search {
  border-radius: var(--radius-pill);
  -ms-flex-item-align: center;
      align-self: center;
  margin-top: var(--size-1p5);
  margin-left: var(--size-1);
}

:where(body:has(.search-results-form)) .site-header-search {
  background-color: var(--color-border);
  opacity: 0.5;
  pointer-events: none;
}

.search-modal {
  display: none;
  opacity: 0;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  -webkit-transition:
    display var(--duration-300) allow-discrete, opacity var(--duration-300) var(--easing-base), translate var(--duration-300) var(--easing-base);
  transition:
    display var(--duration-300) allow-discrete, opacity var(--duration-300) var(--easing-base), translate var(--duration-300) var(--easing-base);
  translate: 0 -120px;
  z-index: var(--z-modal);
}

@starting-style {

.search-modal {
    opacity: 1;
    translate: 0 0;
}
  }

.search-modal.search-modal-open {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    opacity: 1;
    translate: 0 0;
  }

@starting-style {

.search-modal.search-modal-open {
      opacity: 0;
      translate: 0 -120px;
  }
    }

.search-modal-backdrop {
  background: var(--color-backdrop);
  backdrop-filter: var(--backdrop-glass);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  -webkit-transition: opacity var(--duration-300) var(--easing-base);
  transition: opacity var(--duration-300) var(--easing-base);
  -webkit-transition-delay: var(--duration-200);
          transition-delay: var(--duration-200);
}

.search-modal-open .search-modal-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

@starting-style {

.search-modal-open .search-modal-backdrop {
      opacity: 0;
  }
    }

.search-modal-content {
  background: var(--color-bg-02);
  border-radius: var(--radius-sm);
  -webkit-box-shadow: var(--shadow-z3);
          box-shadow: var(--shadow-z3);
  overflow: hidden;
  position: absolute;
  top: 15vh;
  left: 50%;
  translate: -50% 0;
  width: 100%;
  max-width: var(--width-md);
}

.search-modal-form,
.nav-overlay-form,
.search-results-form {
  position: relative;
}

.nav-overlay-form {
  z-index: 151001;
}

@media only screen and (min-width: 768px) and (min-height: 341px) {

.nav-overlay-form {
    margin-left: 1.875rem;
    margin-right: 1.875rem;
}
  }

.search-results-form {
  margin-left: auto;
  margin-right: auto;
  margin-top: var(--size-2);
  margin-bottom: var(--size-line);
  padding-left: 1.875rem;
  padding-right: 1.875rem;
  width: 100%;
  max-width: var(--width-container);
}

@media only screen and (min-width: 1260px) and (min-height: 341px) {

.search-results-form {
    padding-left: 0;
    padding-right: 0;
}
  }

.search-modal-input,
.nav-overlay-input,
.search-results-input {
  color: var(--color-text);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding-left: var(--size-8);
  padding-right: var(--size-2p5);
  width: 100%;
}

:is(.search-modal-input,.nav-overlay-input,.search-results-input):focus {
    border-color: var(--color-brand);
    outline: none;
  }

.search-modal-input,
.nav-overlay-input {
  border: 0;
  border-radius: 0;
}

.search-modal-input,
.search-results-input {
  background: var(--color-bg);
  font-size: var(--size-3);
  height: var(--size-8);
}

.nav-overlay-input {
  background: var(--color-fill);
  font-size: var(--font-size-h3);
  height: var(--size-7);
}

.search-results-input {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}

.search-modal-submit,
.nav-overlay-submit,
.search-results-submit {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
}

.search-modal-submit,
.nav-overlay-submit {
  left: var(--size-1);
}

.search-results-submit {
  left: calc(var(--size-1) + 30px);
}

@media only screen and (min-width: 1260px) and (min-height: 341px) {

.search-results-submit {
    left: var(--size-1);
}
  }

input[type='search']::-webkit-search-cancel-button {
  -webkit-appearance: none;
          appearance: none;
  background-image: var(--icon-remove);
  background-position: 50% 50%;
  background-repeat: no-repeat;
  border-radius: 50%;
  cursor: pointer;
  width: var(--size-4);
  height: var(--size-4);
}

.search-modal-suggestions {
  list-style: none;
  margin: 0;
  padding: var(--size-2p5) var(--size-1);
}

.search-modal-suggestions li {
    margin: 0;
    padding: 0;
  }

.search-modal-suggestions:is(:empty, :not(:has(li))) {
  display: none;
}

.search-modal-suggestion {
  --button-bg: transparent;
  --button-color: var(--color-text-02);
  --button-font-size: var(--font-size-base);
  --button-bg-hover: var(--color-fill);
  --button-gap: var(--size-3);

  -webkit-box-pack: start;

      -ms-flex-pack: start;

          justify-content: start;
  letter-spacing: 0;
  text-align: left;
  width: 100%;
}

.search-modal-suggestion .icon {
    translate: 0 2px;
  }

.visually-hidden {
  border: 0;
  clip-path: inset(50%);
  height: 1px;
  margin: -0.0625rem;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.skip-link {
  background: var(--color-brand);
  color: #fff;
  display: inline-block;
  padding: var(--size-1) var(--size-2);
  position: absolute;
  left: 1rem;
  -webkit-text-decoration: none;
  text-decoration: none;
  top: -200px;
  -webkit-transition: top var(--duration-200) var(--easing-base);
  transition: top var(--duration-200) var(--easing-base);
  z-index: calc(var(--z-modal) - 1);
}

.skip-link:focus {
    top: var(--size-2);
  }
