@-webkit-keyframes ticker {
  0% {
    -webkit-transform: translateX(0%);
            transform: translateX(0%);
  }
  100% {
    -webkit-transform: translateX(-200%);
            transform: translateX(-200%);
  }
}
@keyframes ticker {
  0% {
    -webkit-transform: translateX(0%);
            transform: translateX(0%);
  }
  100% {
    -webkit-transform: translateX(-200%);
            transform: translateX(-200%);
  }
}
html, body, body div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, menu, nav, section, time, mark, audio, video, details, summary {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font-weight: normal;
  vertical-align: baseline;
  background: transparent;
}

article, aside, figure, footer, header, nav, section, details, summary {
  display: block;
}

html {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

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

img,
object,
embed {
  max-width: 100%;
}

html {
  overflow-y: scroll;
}

ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

del {
  text-decoration: line-through;
}

abbr[title], dfn[title] {
  border-bottom: 1px dotted #000;
  cursor: help;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

th {
  font-weight: bold;
  vertical-align: bottom;
}

td {
  font-weight: normal;
  vertical-align: top;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

input, select {
  vertical-align: middle;
}

pre {
  white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
  word-wrap: break-word; /* IE */
}

input[type=radio] {
  vertical-align: text-bottom;
}

input[type=checkbox] {
  vertical-align: bottom;
}

.ie7 input[type=checkbox] {
  vertical-align: baseline;
}

.ie6 input {
  vertical-align: text-bottom;
}

select, input, textarea {
  font: 99% sans-serif;
}

small {
  font-size: 85%;
}

strong {
  font-weight: bold;
}

td, td img {
  vertical-align: top;
}

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

pre, code, kbd, samp {
  font-family: monospace, sans-serif;
}

.clickable,
label,
input[type=button],
input[type=submit],
input[type=file],
button {
  cursor: pointer;
}

button, input, select, textarea {
  margin: 0;
}

button,
input[type=button] {
  width: auto;
  overflow: visible;
}

.ie7 img {
  -ms-interpolation-mode: bicubic;
}

.clearfix:before, .clearfix:after {
  content: " ";
  display: block;
  height: 0;
  overflow: hidden;
}

.clearfix:after {
  clear: both;
}

.clearfix {
  zoom: 1;
}

/* end style reset */
@font-face {
  font-family: "Fixel Display";
  src: url("../fonts/FixelDisplay-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Fixel Display";
  src: url("../fonts/FixelDisplay-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Kyiv Region";
  src: url("../fonts/KyivRegion-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  min-width: 320px;
  background: #ffffff;
  color: #000000;
  font: 500 16px/1.35 "Fixel Display", Arial, sans-serif;
}
body.lock {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
}

button {
  color: inherit;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

button:disabled {
  cursor: default;
}

a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #eac73b;
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

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

.main {
  width: 100%;
}

.main_container {
  width: 100%;
  max-width: 720px;
  padding: 0 30px;
  margin: 0 auto;
}

h1, h2, h3 {
  font-weight: 500;
}

h1, h2 {
  font-family: "Kyiv Region", sans-serif;
}

h1 {
  font-size: 50px;
  line-height: 1.2;
}

h2, .biography h1 {
  font-size: 40px;
  line-height: 1.2;
  margin-bottom: 20px;
}

p + p {
  margin-top: 20px;
}

strong {
  font-weight: 700;
}

::-moz-selection {
  background: #eac73b;
  color: #000000;
}

::selection {
  background: #eac73b;
  color: #000000;
}

.skip-link {
  position: fixed;
  z-index: 2000;
  left: 15px;
  top: -100px;
  padding: 12px;
  background: #eac73b;
}
.skip-link:focus {
  top: 10px;
}

@media (min-width: 1024px) {
  .main_container {
    max-width: 1100px;
    padding-inline: 48px;
  }
  h1 {
    font-size: 72px;
  }
  h2, .biography h1 {
    font-size: 56px;
  }
}
@media (max-width: 359px) {
  .main_container {
    padding-inline: 20px;
  }
  h1 {
    font-size: 43px;
  }
  h2, .biography h1 {
    font-size: 35px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    -webkit-animation: none !important;
            animation: none !important;
    -webkit-transition: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.button {
  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;
  width: 100%;
  min-height: 40px;
  padding: 10px 20px;
  background: #eac73b;
  color: #33261a;
  font-weight: 500;
  border: 0;
  border-radius: 0;
  text-align: center;
  -webkit-transition: background-color 0.2s;
  transition: background-color 0.2s;
}
.button:hover {
  background: #e1bd31;
}

.header {
  position: fixed;
  top: var(--ed-admin-offset, 0px);
  z-index: 1001;
  width: 100%;
  background: #432a23;
  color: white;
}

.header_inner {
  height: 90px;
  position: relative;
  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;
}

.site-logo {
  display: block;
  width: 94px;
  height: 49px;
}
.site-logo img {
  width: 94px;
  height: 49px;
  -o-object-fit: contain;
     object-fit: contain;
}

.menu-toggle {
  position: absolute;
  left: 24px;
  top: 23px;
  width: 44px;
  height: 44px;
  padding: 10px 8px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 6px;
  border: 0;
  background: transparent;
}
.menu-toggle span {
  height: 2px;
  width: 26px;
  background: currentColor;
  -webkit-transition: opacity 0.2s, -webkit-transform 0.2s;
  transition: opacity 0.2s, -webkit-transform 0.2s;
  transition: transform 0.2s, opacity 0.2s;
  transition: transform 0.2s, opacity 0.2s, -webkit-transform 0.2s;
}
.menu-toggle[aria-expanded=true] span:nth-child(1) {
  -webkit-transform: translateY(8px) rotate(45deg);
          transform: translateY(8px) rotate(45deg);
}
.menu-toggle[aria-expanded=true] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded=true] span:nth-child(3) {
  -webkit-transform: translateY(-8px) rotate(-45deg);
          transform: translateY(-8px) rotate(-45deg);
}

.header_side-menu {
  position: absolute;
  left: max(0px, (100% - 1100px) / 2);
  top: 100%;
  width: min(300px, 100vw - 50px);
  padding: 12px 30px 30px;
  background: #573c34;
  max-height: calc(100dvh - 90px - var(--ed-admin-offset, 0px));
  overflow-y: auto;
}
.header_side-menu .site-contact-widget {
  margin-top: 20px;
}
.header_side-menu .social-links {
  padding-top: 20px;
  border-top: 1px solid #432a23;
  margin-top: 20px;
}

.side-nav li {
  border-bottom: 1px solid #432a23;
}

.side-nav a {
  display: block;
  padding: 20px 0;
  font-weight: 700;
}

.side-nav a:hover,
.menu-contact a:hover {
  color: #eac73b;
}

.side-nav .sub-menu {
  padding-left: 15px;
}

.menu-contact {
  padding: 20px 0;
  border-bottom: 1px solid #432a23;
  margin-bottom: 20px;
  font-weight: 700;
}

.contact-email,
.contact-link,
.contact-phone {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.12);
  border: 0;
  z-index: 1000;
  width: 100%;
}

.social-links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 16px;
}
.social-links > a,
.social-links > span {
  display: -ms-grid;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
}
.social-links img {
  width: 20px;
  height: 20px;
}
.social-links a:hover {
  opacity: 0.75;
}

body {
  padding-top: 90px;
}

body.admin-bar {
  --ed-admin-offset: 32px;
}

@media (max-width: 782px) {
  body.admin-bar {
    --ed-admin-offset: 46px;
  }
}
@media (max-width: 600px) {
  body.admin-bar #wpadminbar {
    position: fixed;
  }
}
html:has(body.admin-bar) {
  scroll-padding-top: 142px;
}

@media (max-width: 782px) {
  html:has(body.admin-bar) {
    scroll-padding-top: 156px;
  }
}
.footer {
  background: #1e1e1e;
  color: white;
  padding: 55px 0;
  text-align: center;
}

.footer_inner {
  max-width: 500px;
}

.footer_logo {
  display: block;
  width: 150px;
  margin: 0 auto 50px;
}
.footer_logo img {
  width: 150px;
  height: 78px;
  -o-object-fit: contain;
     object-fit: contain;
}

.footer_nav {
  display: -ms-grid;
  display: grid;
  gap: 20px;
  font-size: 16px;
}
.footer_nav a:hover {
  color: #eac73b;
}

.footer_contact {
  margin-top: 52px;
  overflow-wrap: anywhere;
}
.footer_contact .social-links {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-top: 24px;
}

.footer_partners {
  margin-top: 65px;
}
.footer_partners > p {
  margin-bottom: 32px;
}

.partner-grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 26px 1fr;
  grid-template-columns: 1fr 1fr;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  justify-items: center;
  gap: 32px 26px;
  margin-bottom: 40px;
}
.partner-grid img {
  width: 135px;
  height: 45px;
  -o-object-fit: contain;
     object-fit: contain;
}

.footer_ukf {
  width: 105px;
  height: 80px;
  -o-object-fit: contain;
     object-fit: contain;
  margin: 0 auto;
}

.footer_contact .contact-title {
  display: none;
}

.site-contact-widget {
  overflow-wrap: anywhere;
}
.site-contact-widget .contact-email,
.site-contact-widget .contact-phone {
  display: block;
  margin-top: 12px;
}
.site-contact-widget .contact-address {
  margin-top: 12px;
}

.footer .site-contact-widget {
  margin-top: 48px;
}

.partner-title {
  margin-bottom: 32px;
}

.partner-grid--single {
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
}
.partner-grid--single img {
  width: 105px;
  height: 80px;
}

.partner-widget:last-child .partner-grid {
  margin-bottom: 0;
}

section.section {
  width: 100%;
  position: relative;
  text-align: center;
}

.hero {
  padding: 30px 0 40px;
}

.hero h1 {
  max-width: 420px;
  margin: 0 auto 14px;
}

.hero_subtitle {
  margin: 0;
}

.hero_collage {
  position: relative;
  aspect-ratio: 342/270;
  width: 100%;
  max-width: 480px;
  margin: 24px auto;
}
.hero_collage img {
  position: absolute;
  height: auto;
}

.collage_portrait {
  width: 66.374%;
  top: 0;
  left: 0;
  z-index: 1;
}

.collage_cartoon {
  width: 58.48%;
  top: 26%;
  right: 0;
  z-index: 2;
}

.collage_mosaic {
  width: 58.48%;
  top: 9%;
  right: 12%;
  z-index: 3;
}

.collage_stamp {
  width: 39.77%;
  top: 51%;
  left: 11%;
  z-index: 4;
}

.hero_intro {
  max-width: 480px;
  margin: auto;
}
.hero_intro p + p {
  margin-top: 12px;
}
.hero_intro .button {
  margin-top: 20px;
}

.about {
  background: #1e1e1e url("../img/image_bg.png") center/cover no-repeat;
  color: white;
  padding: 55px 0 45px;
}

.about > .main_container {
  max-width: 580px;
}

.about h2 {
  font-size: 42px;
}

.about_facts {
  margin-top: 36px;
}
.about_facts > div + div {
  margin-top: 26px;
}
.about_facts h3 {
  font: 500 36px/1.2 "Kyiv Region", sans-serif;
  margin-bottom: 12px;
}

.biography {
  padding: 40px 0 0;
}

.biography > .main_container {
  max-width: 720px;
}

.biography_portrait {
  width: 100%;
  height: auto;
  margin-bottom: 22px;
}

.biography_text {
  margin-bottom: 30px;
}

.gallery {
  margin-top: 28px;
}

.gallery_track {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  overflow-x: auto;
  -ms-scroll-snap-type: x mandatory;
      scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.gallery_track::-webkit-scrollbar {
  display: none;
}

.gallery_slide {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 100%;
          flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.gallery_slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 342/256;
  -o-object-fit: cover;
     object-fit: cover;
}
.gallery_slide figcaption {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.4;
}

.gallery_controls {
  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;
  gap: 18px;
  margin-top: 10px;
}
.gallery_controls > button {
  display: none;
  border: 0;
  background: none;
  min-width: 44px;
  min-height: 44px;
  font-size: 24px;
}

.gallery_dots {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.gallery_dots button {
  width: 32px;
  height: 36px;
  padding: 12px;
  border: 0;
  background: transparent;
}
.gallery_dots button::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c7c7c7;
}
.gallery_dots button[aria-current=true]::before {
  background: #eac73b;
}

.route {
  padding: 40px 0 0;
}

.route > .main_container {
  max-width: 720px;
}

.route h2 {
  font-size: 36px;
}

.route .gallery_slide img {
  -o-object-fit: contain;
     object-fit: contain;
}

.route_steps {
  list-style: none;
  counter-reset: route;
  margin-top: 34px;
  text-align: left;
}

.route_steps li {
  counter-increment: route;
  position: relative;
  padding: 0 0 32px 42px;
  min-height: 105px;
  max-width: 280px;
}
.route_steps li:nth-child(even) {
  margin-left: auto;
}
.route_steps li::before {
  content: "0" counter(route);
  position: absolute;
  top: 0;
  left: 0;
  display: -ms-grid;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  background: #eac73b;
  border-radius: 50%;
  font-size: 12px;
}
.route_steps li h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
}
.route_steps li p {
  font-size: 14px;
}

.route_map {
  min-height: 370px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 24px;
  margin-left: -30px;
  margin-right: -30px;
}
.route_map .button {
  max-width: 342px;
}
@media (min-width: 1024px) {
  .route_map {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 60px 0;
  }
  .hero > .main_container {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 64px 1fr;
    grid-template-columns: 1fr 1fr;
    -webkit-column-gap: 64px;
       -moz-column-gap: 64px;
            column-gap: 64px;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .hero h1 {
    -ms-grid-column: 1;
    grid-column: 1;
  }
  .hero_subtitle,
  .hero_intro {
    -ms-grid-column: 1;
    grid-column: 1;
  }
  .hero_collage {
    -ms-grid-column: 2;
    grid-column: 2;
    -ms-grid-row: 1;
    -ms-grid-row-span: 3;
    grid-row: 1/4;
    max-width: none;
  }
  .hero_intro {
    margin-top: 24px;
  }
  .about {
    padding: 72px 0;
  }
  .about > .main_container {
    max-width: 1100px;
  }
  .about h2 {
    font-size: 56px;
  }
  .about > .main_container > p {
    max-width: 590px;
    margin-inline: auto;
  }
  .about_facts {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 32px 1fr 32px 1fr;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 50px;
  }
  .about_facts > div + div {
    margin-top: 0;
  }
  .biography {
    padding-top: 64px;
  }
  .route {
    padding-top: 64px;
  }
  .route h2 {
    font-size: 48px;
  }
  .gallery_controls > button {
    display: block;
  }
}
.route_map-frame {
  display: block;
  width: 100%;
  height: clamp(360px, 60vh, 520px);
  border: 0;
}

.character-page {
  max-width: 720px;
  margin: 0 auto;
  background: #f3f3f3;
  min-height: calc(100dvh - 90px);
}

.character-page__image {
  background: white;
}
.character-page__image img {
  width: 100%;
  height: auto;
  aspect-ratio: 402/350;
  -o-object-fit: contain;
     object-fit: contain;
}

.character-page__copy {
  padding: 28px 30px;
}
.character-page__copy h1 {
  font-size: 28px;
  line-height: 1.2;
  margin: 8px 0 16px;
}
.character-page__copy p + p {
  margin-top: 12px;
}

.character-page__eyebrow {
  color: #8d7100;
  font-size: 14px;
}

.character-page__instructions {
  margin-top: 16px;
}

.character-actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  padding: 24px 30px;
  background: #432a23;
}
.character-actions .button {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  min-height: 44px;
  padding: 12px 8px;
  text-align: center;
  font-size: 14px;
}
.character-actions noscript {
  color: white;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.character-button--white {
  background: white !important;
  color: #000 !important;
}

.character-start-error {
  color: #9b2424;
  padding: 16px 30px;
  background: #fff0ee;
}

body.quiz-open {
  overflow: hidden;
}

.quiz {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #f3f3f3;
  color: #000;
  overflow-y: auto;
  -ms-scroll-chaining: none;
      overscroll-behavior: contain;
}

.quiz::-ms-backdrop {
  background: #432a23;
}

.quiz::backdrop {
  background: #432a23;
}

.quiz-question-view {
  max-width: 720px;
  margin: 0 auto;
  min-height: 100%;
}

.quiz-header {
  position: sticky;
  top: 0;
  z-index: 2;
  color: white;
  background: #432a23;
}

.quiz-logo {
  display: block;
  width: 94px;
  height: 49px;
  margin: 0 auto;
}
.quiz-logo img, .quiz-logo svg {
  width: 94px;
  height: 49px;
  -o-object-fit: contain;
     object-fit: contain;
}

.quiz-header .quiz-logo {
  padding-top: 20px;
  height: 69px;
}

.quiz-header__nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 8px 20px 6px;
  font-size: 14px;
}
.quiz-header__nav button {
  min-height: 36px;
  padding: 8px 0;
  border: 0;
  background: none;
  color: white;
  cursor: pointer;
}

.quiz-progress {
  display: block;
  width: 100%;
  height: 5px;
  border: 0;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background: #d9d9d9;
}
.quiz-progress::-webkit-progress-bar {
  background: #d9d9d9;
}
.quiz-progress::-webkit-progress-value {
  background: #eac73b;
}
.quiz-progress::-moz-progress-bar {
  background: #eac73b;
}

.quiz-picture {
  position: relative;
  margin: 0;
}
.quiz-picture img {
  width: 100%;
  aspect-ratio: 402/330;
  -o-object-fit: cover;
     object-fit: cover;
}
.quiz-picture figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 7px 12px;
  font-size: 12px;
  background: rgba(0, 0, 0, 0.55);
  color: white;
}

.quiz-form {
  padding: 26px 30px 34px;
}
.quiz-form fieldset {
  min-width: 0;
  border: 0;
  margin: 0;
  padding: 0;
}
.quiz-form legend {
  padding: 0;
  font-weight: 700;
  margin-bottom: 16px;
}
.quiz-form legend span {
  display: block;
}
.quiz-form fieldset > p {
  margin-bottom: 12px;
}

.quiz-options {
  display: -ms-grid;
  display: grid;
  gap: 10px;
}

.quiz-option {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
  min-height: 60px;
  background: white;
  padding: 16px 20px;
  cursor: pointer;
  border: 2px solid transparent;
  font-size: 16px;
}
.quiz-option input {
  -webkit-appearance: auto;
     -moz-appearance: auto;
          appearance: auto;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 20px;
          flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: #645000;
}
.quiz-option:has(input:checked) {
  border-color: #eac73b;
  background: #fff7d7;
}
.quiz-option:has(input:focus-visible) {
  outline: 2px solid #432a23;
  outline-offset: 2px;
}
.quiz-option.is-correct {
  border-color: #689f4d;
  background: #edf6e8;
}
.quiz-option.is-wrong {
  border-color: #b83c37;
  background: #fceceb;
}

.quiz-submit, .quiz-form > .button {
  width: 100%;
  margin-top: 12px;
  min-height: 50px;
}

.quiz-submit:disabled {
  opacity: 0.5;
}

.quiz-error {
  padding: 14px 0;
  color: #912621;
}

.quiz-feedback {
  width: min(342px, 100vw - 48px);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  border: 0;
  border-radius: 20px;
  padding: 24px 20px 20px;
  text-align: center;
  color: #000;
  background: white;
  margin: auto;
}
.quiz-feedback h2 {
  font-family: "Fixel Display", sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin: 20px 0;
}
.quiz-feedback p {
  margin: 12px 0 0;
  font-size: 16px;
}
.quiz-feedback .button {
  margin-top: 24px;
  width: 100%;
}

.quiz-feedback::-ms-backdrop {
  background: rgba(0, 0, 0, 0.4);
}

.quiz-feedback::backdrop {
  background: rgba(0, 0, 0, 0.4);
}

.quiz-feedback__icon {
  display: -ms-grid;
  display: grid;
  place-items: center;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  margin: 0 auto;
  background: #689f4d;
  color: white;
  font: 700 40px/1 Arial, sans-serif;
}

.quiz-feedback.is-wrong .quiz-feedback__icon {
  background: #b83c37;
}

.quiz--result {
  background: #432a23;
  color: white;
}

.quiz-result {
  max-width: 460px;
  margin: 0 auto;
  padding: 24px 30px 40px;
  text-align: center;
}
.quiz-result .quiz-logo {
  margin-bottom: 100px;
}
.quiz-result h2 {
  font-size: 38px;
  line-height: 1.2;
  margin-bottom: 18px;
}
.quiz-result > .dakhno-mark {
  margin: 36px auto 28px;
}
.quiz-result > p {
  font-size: 16px;
}
.quiz-result > p + p {
  margin-top: 12px;
}
.quiz-result > .button {
  width: 100%;
  min-height: 50px;
  margin-top: 12px;
}
.quiz-result .quiz-result__prophecy {
  margin-bottom: 24px;
}

.quiz-result__next {
  margin-top: 28px;
  font-size: 15px;
}
.quiz-result__next a {
  display: inline-block;
  padding: 12px;
  text-decoration: underline;
  color: #eac73b;
}

.quiz-result__close {
  margin-top: 14px;
  padding: 12px;
  color: white;
  background: none;
  border: 0;
  text-decoration: underline;
  cursor: pointer;
}

.dakhno-mark {
  display: block;
  width: 132px;
  height: 82px;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  background: url("../img/dakhno-mark.svg") center/contain no-repeat;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 100000;
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  border: 0;
  padding: 24px;
  background: #1e1e1e;
  color: white;
}

.site-loader__logo {
  width: 94px;
  margin: 0 auto;
}
.site-loader__logo img, .site-loader__logo svg {
  width: 94px;
  height: 49px;
  -o-object-fit: contain;
     object-fit: contain;
}

.site-loader > .dakhno-mark {
  position: absolute;
  left: calc(50% - 66px);
  top: calc(50% - 41px);
  -webkit-animation: ed-loader-pulse 1.2s ease-in-out infinite alternate;
          animation: ed-loader-pulse 1.2s ease-in-out infinite alternate;
}

.site-loader__place {
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 14px;
}

@-webkit-keyframes ed-loader-pulse {
  from {
    opacity: 0.55;
    -webkit-transform: scale(0.97);
            transform: scale(0.97);
  }
  to {
    opacity: 1;
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}

@keyframes ed-loader-pulse {
  from {
    opacity: 0.55;
    -webkit-transform: scale(0.97);
            transform: scale(0.97);
  }
  to {
    opacity: 1;
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
@media (min-width: 1024px) {
  .character-page {
    padding-top: 24px;
  }
  .character-page__image img {
    max-height: 460px;
  }
  .quiz-picture img {
    max-height: 380px;
    -o-object-fit: contain;
       object-fit: contain;
    background: white;
  }
}
@media (max-height: 720px) {
  .quiz-result .quiz-logo {
    margin-bottom: 48px;
  }
}
.site-loader .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.quiz-feedback[open] {
  -webkit-animation: ed-feedback-in 0.2s ease-out;
          animation: ed-feedback-in 0.2s ease-out;
}

.quiz-feedback::-ms-backdrop {
  animation: ed-backdrop-in 0.2s ease-out;
}

.quiz-feedback::backdrop {
  -webkit-animation: ed-backdrop-in 0.2s ease-out;
          animation: ed-backdrop-in 0.2s ease-out;
}

.quiz-progress {
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}

.character-actions .button, .quiz .button, .quiz-option span {
  -webkit-transition: background-color 0.2s ease, color 0.2s ease, -webkit-transform 0.2s ease;
  transition: background-color 0.2s ease, color 0.2s ease, -webkit-transform 0.2s ease;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, -webkit-transform 0.2s ease;
}

.character-actions .button:active, .quiz .button:active {
  -webkit-transform: scale(0.98);
          transform: scale(0.98);
}

.page-template-author .biography {
  padding-bottom: 48px;
}

@-webkit-keyframes ed-feedback-in {
  from {
    opacity: 0;
    -webkit-transform: translateY(16px) scale(0.97);
            transform: translateY(16px) scale(0.97);
  }
  to {
    opacity: 1;
    -webkit-transform: none;
            transform: none;
  }
}

@keyframes ed-feedback-in {
  from {
    opacity: 0;
    -webkit-transform: translateY(16px) scale(0.97);
            transform: translateY(16px) scale(0.97);
  }
  to {
    opacity: 1;
    -webkit-transform: none;
            transform: none;
  }
}
@-webkit-keyframes ed-backdrop-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes ed-backdrop-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@view-transition {
  navigation: auto;
}
::view-transition-old(root) {
  -webkit-animation: ed-page-out 0.3s ease both;
          animation: ed-page-out 0.3s ease both;
}

::view-transition-new(root) {
  -webkit-animation: ed-page-in 0.5s ease-in-out both;
          animation: ed-page-in 0.5s ease-in-out both;
}

@-webkit-keyframes ed-page-out {
  to {
    opacity: 0;
    -webkit-transform: translateX(-24px);
            transform: translateX(-24px);
  }
}

@keyframes ed-page-out {
  to {
    opacity: 0;
    -webkit-transform: translateX(-24px);
            transform: translateX(-24px);
  }
}
@-webkit-keyframes ed-page-in {
  from {
    opacity: 0;
    -webkit-transform: translateX(24px);
            transform: translateX(24px);
  }
}
@keyframes ed-page-in {
  from {
    opacity: 0;
    -webkit-transform: translateX(24px);
            transform: translateX(24px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .quiz-feedback::-ms-backdrop {
    animation: none;
  }
  .quiz-feedback[open], .quiz-feedback::backdrop, ::view-transition-old(root), ::view-transition-new(root) {
    -webkit-animation: none;
            animation: none;
  }
  .character-actions .button, .quiz .button, .quiz-option span {
    -webkit-transition: none;
    transition: none;
  }
}
.quiz [data-quiz-question]:focus, .quiz #quiz-result-title:focus {
  outline: none;
}

.quiz:not(.quiz-keyboard) :focus, .quiz-feedback:not(.quiz-keyboard) :focus {
  outline: none;
}

.quiz:not(.quiz-keyboard) .quiz-option:has(input:focus-visible) {
  outline: none;
}