@font-face {
  font-family: PeridotWeb;
  src: url("./fonts/peridot.otf") format("opentype");
  font-weight: 100 900;
  font-stretch: 50% 150%;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

*::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

:root {
  --bg-app: #f9f6df;
  --bg-paper: #f9f6df;
  --bg-paper-image: url("./img/bg_paper.webp");
  --app-height: 100vh;
  --text-main: #000;
  --accent-yellow: #ffd400;
  --accent-pink: #c574a1;
  --line-dark: #2f2f2f;
  --muted: #9a9a9a;
  --font-primary: PeridotWeb, sans-serif;
  --font-family: var(--font-primary);
  --shell-frame-inset: 15px;
  --shell-frame-border: 2px;
  --shell-clip-height: calc(
    var(--shell-frame-inset) + var(--shell-frame-border)
  );
  --shell-frame-offset: calc(
    var(--shell-frame-inset) + var(--shell-frame-border)
  );
  --shell-content-inline: clamp(16px, 5vw, 96px);
  --shell-template-max-width: 1536px;
  --shell-template-top: 60px;
  --shell-template-bottom: 60px;
  --home-sidebar-gap: clamp(34px, 4.5vw, 80px);
  --home-sidebar-height: clamp(610px, 52vw, 755px);
}

@supports (height: 100dvh) {
  :root {
    --app-height: 100dvh;
  }
}

html {
  font-family: var(--font-primary);
}

body {
  min-height: var(--app-height);
  background: var(--bg-app);
  color: var(--text-main);
  font-family: var(--font-primary);
  overflow-x: hidden;
}

body.gallery-modal-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button > span {
  font-family: var(--font-primary);
}

.page {
  width: 100%;

  margin: 0 auto;
  background: var(--bg-paper);
}

.page-home {
  position: relative;
}

.page-home .page {
  background: transparent;
}

.container {
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--shell-content-inline);
  box-sizing: border-box;
}

.page-home .container {
  max-width: 1728px;
  display: flex;
  flex-direction: column;
  gap: clamp(54px, 5vw, 90px);
  padding-top: 60px;
  padding-bottom: 0;
}

.page-home-section {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  transition:
    opacity 0.55s ease,
    visibility 0s linear 0.55s;
}

body.templates-active {
  overflow: hidden;
}

html:has(body.templates-active) {
  overflow: hidden;
}

.page-paper,
.stage-front-expanded,
.card-front,
body.templates-active .stage-cards .card-front,
.article-custom-player:fullscreen {
  background-color: var(--bg-paper);
  background-image: var(--bg-paper-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-paper,
.stage-front-expanded,
body.templates-active .stage-cards .card-front,
.article-custom-player:fullscreen {
  background-attachment: fixed;
}

@supports (-webkit-touch-callout: none) and (not (height: 100dvh)) {
  .page-paper,
  .stage-front-expanded,
  body.templates-active .stage-cards .card-front,
  .article-custom-player:fullscreen {
    background-attachment: scroll;
  }

  .page-paper-scroll,
  .stage-front-scroll {
    -webkit-overflow-scrolling: touch;
  }
}

.page-paper {
  position: relative;
  isolation: isolate;
  min-height: var(--app-height);
  overflow: hidden;
}

.page-paper::before {
  content: "";
  position: fixed;
  inset: var(--shell-frame-inset);
  border: 2px solid #efe372;
  pointer-events: none;
  z-index: 3;
}

.page-paper > * {
  position: relative;
  z-index: 1;
}

.page-paper-clip {
  height: var(--app-height);
  min-height: var(--app-height);
  box-sizing: border-box;
  padding-top: var(--shell-frame-offset);
  padding-bottom: var(--shell-frame-offset);
  overflow: hidden;
}

.page-paper-scroll {
  height: calc(var(--app-height) - (2 * var(--shell-frame-offset)));
  overflow-x: hidden;
  overflow-y: auto;
}

.page-quiz .page-paper-scroll {
  background-color: var(--bg-paper);
  background-image: var(--bg-paper-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  overflow-x: hidden;
  overflow-y: auto;
}

.page-quiz .article-page-container.paper-template-unified {
  background-image: none;
}

.stage-front-expanded {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.42s ease;
  overflow-x: hidden;
  overflow-y: hidden;
  overscroll-behavior: contain;
  isolation: isolate;
}

.stage-front-expanded > * {
  position: relative;
  z-index: 1;
}

.stage-front-clip {
  flex: 1 1 auto;
  height: var(--app-height);
  min-height: var(--app-height);
  box-sizing: border-box;
  padding-top: var(--shell-frame-offset);
  padding-bottom: var(--shell-frame-offset);
  overflow: hidden;
}

.stage-front-scroll {
  height: calc(var(--app-height) - (2 * var(--shell-frame-offset)));
  overflow-x: hidden;
  overflow-y: auto;
}

.stage-front-frame {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  min-width: 0;
}

.stage-front-frame::before {
  content: "";
  position: fixed;
  inset: var(--shell-frame-inset);
  border: 2px solid #efe372;
  pointer-events: none;
  z-index: 3;
}

.stage-front-expanded.is-visible {
  opacity: 1;
  pointer-events: all;
}

.paper-screen {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.paper-screen--series {
  --series-shell-start-padding: 192px;
  overflow-x: hidden;
  overflow-y: visible;
  min-width: 0;
}

.paper-screen[hidden] {
  display: none !important;
}

.paper-screen--series
  > .article-page-container.paper-template-unified:last-of-type {
  margin-top: auto;
  padding-top: 0;
}

.series-carousel-strip {
  --carousel-arrow-edge: clamp(16px, 3vw, 48px);
  --carousel-arrow-btn-w: 96px;
  --carousel-arrow-btn-h: 50px;
  --carousel-gap-after-arrow: 48px;
  --carousel-left-padding: 192px;
  --carousel-card-width: 318px;
  --carousel-track-gap: 88px;
  width: 100%;
  max-width: 100%;
  flex: 0 0 auto;
  align-self: stretch;
  min-width: 0;
  min-height: 0;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: visible;
}

.series-carousel-strip .carousel {
  width: 100%;
}

.series-carousel-strip .carousel-arrow {
  width: var(--carousel-arrow-btn-w);
  height: var(--carousel-arrow-btn-h);
  margin-top: 0;
  top: 50%;
  transform: translateY(-50%);
}

.series-carousel-strip .carousel-arrow-icon {
  width: var(--carousel-arrow-btn-w);
  height: var(--carousel-arrow-btn-h);
}

.series-carousel-strip .carousel-track {
  gap: var(--carousel-track-gap);
}

.series-carousel-strip .carousel-viewport {
  overflow: hidden;
}

.series-carousel-strip .series-card {
  width: var(--carousel-card-width);
  flex: 0 0 auto;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.series-carousel-strip .series-thumb {
  width: 100%;
  max-width: var(--carousel-card-width);
  height: auto;
  aspect-ratio: 318 / 424;
}

.series-carousel-strip .series-number {
  font-size: clamp(12px, 2.4vw, 16px);
}

.series-carousel-strip .series-name {
  font-size: clamp(18px, 3.6vw, 32px);
}

:is(.page-article, .page-quiz) .article-page-container {
  width: 100%;
  max-width: var(--shell-template-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-top: var(--shell-template-top);
  padding-bottom: var(--shell-template-bottom);
}

.page-article .article-root,
.page-quiz .quiz-root {
  display: flex;
  flex-direction: column;
  min-height: var(--app-height);
  box-sizing: border-box;
}

.page-quiz .quiz-root {
  --quiz-active-gap: 20px;
  --quiz-hero-width: 480px;
  --quiz-hero-height: 410px;
  --quiz-question-width: 530px;
  --quiz-answers-width: 420px;
  --quiz-answer-offset: 20px;
}

.page-article .article-page-container.paper-template-unified,
.page-quiz .article-page-container.paper-template-unified {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.stage-front-expanded .article-page-container {
  width: 100%;
  max-width: var(--shell-template-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-top: var(--shell-template-top);
  padding-bottom: var(--shell-template-bottom);
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  min-width: 0;
  box-sizing: border-box;
}

.stage-front-expanded .paper-screen--series > .article-page-container {
  flex: 0 0 auto;
}

.stage-front-expanded
  .paper-screen--series
  > .article-page-container.paper-template-unified:first-of-type {
  padding-bottom: 0;
}

.paper-screen--series .series-carousel-strip .carousel {
  margin-bottom: 0;
}

.stage-front-expanded .article-page-container.paper-template-unified,
.page-article .article-page-container.paper-template-unified,
.page-quiz .article-page-container.paper-template-unified {
  --paper-yellow-inset: var(--shell-frame-inset);
  --paper-yellow-border: var(--shell-frame-border);
  --paper-yellow-inner-gap: 28px;
  --paper-edge-inset: max(
    clamp(20px, 4.5vw, 80px),
    calc(
      var(--paper-yellow-inset) + var(--paper-yellow-border) +
        var(--paper-yellow-inner-gap)
    )
  );
  --paper-edge-inset-start: var(--paper-edge-inset);
  --paper-edge-inset-end: var(--paper-edge-inset);
  --paper-space-back-title: 22px;
  --paper-space-title-content: 10px;
  --paper-space-content-footer: clamp(80px, 8vw, 140px);
  padding-inline: var(--paper-edge-inset-end);
  padding-inline-start: var(--paper-edge-inset-start);
  padding-top: var(--shell-template-top);
  padding-bottom: var(--shell-template-bottom);
}

.page-quiz .article-page-container.paper-template-unified {
  --quiz-active-gap: 20px;
  --quiz-hero-width: 480px;
  --quiz-question-width: 530px;
  --quiz-answers-width: 420px;
}

.stage-front-expanded .article-page-container.paper-template-unified,
.page-article .article-page-container.paper-template-unified {
  --paper-space-title-content: 96px;
}

.paper-screen--series > .article-page-container.paper-template-unified {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  --paper-edge-inset-start: max(
    var(--paper-edge-inset),
    var(--series-shell-start-padding)
  );
}

.paper-screen--series
  > .article-page-container.paper-template-unified
  .paper-back,
.paper-screen--series
  > .article-page-container.paper-template-unified
  .paper-title,
.paper-screen--series
  > .article-page-container.paper-template-unified
  .paper-footer {
  max-width: 100%;
}

.stage-front-expanded
  .article-page-container.paper-template-unified
  .paper-back,
.page-article .article-page-container.paper-template-unified .paper-back,
.page-quiz .article-page-container.paper-template-unified .paper-back {
  margin-bottom: var(--paper-space-back-title);
}

.stage-front-expanded
  .article-page-container.paper-template-unified
  .paper-title,
.page-article .article-page-container.paper-template-unified .paper-title,
.page-quiz .article-page-container.paper-template-unified .paper-title {
  margin-bottom: var(--paper-space-title-content);
}

.stage-front-expanded
  .article-page-container.paper-template-unified
  .paper-footer,
.page-article .article-page-container.paper-template-unified .paper-footer,
.page-quiz .article-page-container.paper-template-unified .paper-footer {
  padding-top: var(--paper-space-content-footer);
}

.paper-title {
  font-size: clamp(38px, 2.8vw + 24px, 62px);
  line-height: 1.05;
  margin-bottom: clamp(24px, 5vw, 78px);
  font-weight: 800;
  font-stretch: 60%;
  text-transform: uppercase;
  font-family: var(--font-primary);
}

.paper-back {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-bottom: 22px;
  text-decoration: none;
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  color: inherit;
  transition:
    color 0.25s ease,
    opacity 0.25s ease;
  text-transform: uppercase;
  font-stretch: 60%;
}

button.paper-back {
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

.paper-back img {
  display: block;
  flex-shrink: 0;
  transition: filter 0.25s ease;
}

.paper-back:hover,
.paper-back:focus-visible {
  color: var(--accent-pink);
  opacity: 1;
}

.paper-back:hover img,
.paper-back:focus-visible img {
  filter: brightness(0) saturate(100%) invert(52%) sepia(31%) saturate(850%)
    hue-rotate(277deg) brightness(90%);
}

.paper-footer {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 20px;
  padding-top: 60px;
}

.paper-footer img {
  display: block;
  width: auto;
  max-width: min(204px, 42vw);
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
  position: relative;
  z-index: 0;
}

.paper-footer .footer-email {
  position: relative;
  z-index: 1;
}

.paper-footer .asset-footer-logo {
  width: min(136px, 42vw);
  height: auto;
  aspect-ratio: 136 / 56;
  flex-shrink: 0;
}

.footer {
  --footer-panel-clip: polygon(5% 0%, 95% 40%, 100% 100%, 0% 100%);
  transition:
    opacity 0.55s ease,
    visibility 0s linear 0.55s;
}

.footer-container {
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
}

.footer-panel {
  position: relative;
  width: 100%;
  filter: drop-shadow(-10px 10px 0 var(--accent-pink));
}

.footer-panel-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  -webkit-clip-path: var(--footer-panel-clip);
  clip-path: var(--footer-panel-clip);
  background-color: var(--bg-paper);
  background-image: var(--bg-paper-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.footer-panel-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 20px;
  padding: 0 clamp(16px, 5vw, 100px) clamp(16px, 2.2vw, 40px);
  min-height: 235px;
  height: auto;
}

.footer-panel-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  display: block;
}

.footer-panel-inner > img {
  width: 204px;
  height: auto;
  max-height: 135px;
  object-fit: contain;
  flex-shrink: 0;
  position: relative;
  z-index: 0;
}

.footer-email {
  text-decoration: none;
  font-weight: 800;
  font-size: clamp(15px, 2.8vw, 24px);
  text-transform: uppercase;
  text-align: right;
  color: #000;
  flex: 1 1 auto;
  min-width: 0;
  align-self: flex-end;
  position: relative;
  z-index: 1;
  font-family: var(--font-primary);
  font-stretch: 60%;
  transition:
    color 0.25s ease,
    opacity 0.25s ease;
}

.footer-email:hover,
.footer-email:focus-visible {
  color: var(--accent-pink);
  opacity: 1;
}

.placeholder-media {
  background-image:
    var(--asset-url), linear-gradient(135deg, #f0f0f0 0%, #dddddd 100%);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero {
  display: flex;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  gap: clamp(40px, 6vw, 100px);
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--home-sidebar-gap);
  height: var(--home-sidebar-height);
  justify-content: space-between;
  transition:
    opacity 0.55s ease,
    visibility 0s linear 0.55s;
}

.asset-logo {
  width: 300px;
  height: 255px;
}

.asset-fund {
  padding: 0 0 0 clamp(0px, 1vw, 20px);
  width: 240px;
  height: 50px;
}

.menu-panel-inner {
  display: contents;
}

.menu-panel-bg,
.menu-panel-frame {
  display: none;
}

.menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(8px, 1vw, 20px);
}

.menu-item {
  width: 100%;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7.5px 0px 7.5px;
  cursor: pointer;
  font-weight: 800;
  font-size: 24px;
  font-stretch: 60%;
  text-transform: uppercase;
  color: #000;
  border: none;
  transition:
    color 0.36s ease,
    transform 0.36s ease;
}

.menu-list li {
  white-space: nowrap;
}

.menu-icon {
  width: 35px;
  height: 35px;
  position: relative;
}

.menu-icon img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  transition: opacity 0.32s ease;
}

.icon-hover {
  opacity: 0;
}

.menu-item:focus-visible {
  color: var(--accent-pink);
  outline: none;
}

.menu-item:focus-visible .icon-hover {
  opacity: 1;
}

.menu-item:focus-visible .icon-default {
  opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
  .menu-item:hover {
    color: var(--accent-pink);
    outline: none;
  }

  .menu-item:hover .icon-hover {
    opacity: 1;
  }

  .menu-item:hover .icon-default {
    opacity: 0;
  }
}

.stage {
  --stage-card-clip: polygon(5% 0, 98% 25%, 100% 95%, 0% 100%);
  --stage-media-clip: polygon(2% 10%, 98% 0, 100% 100%, 0 90%);
  --stage-headline-tilt: 10deg;
  position: relative;
  width: min(1216px, 100%);
  height: auto;
  aspect-ratio: 1216 / 800;
  perspective: 1400px;
  overflow: visible;
}

.mobile-menu-stage {
  display: none;
}

body.templates-active .stage {
  perspective: none;
}

body.templates-active .stage-cards {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  box-sizing: border-box;
  min-height: 100vh;
  min-height: 100dvh;
  min-height: -webkit-fill-available;
  transform-origin: 0 0;
  z-index: 99;
  pointer-events: none;
}

@supports (width: 100dvw) {
  body.templates-active .stage-cards {
    width: 100dvw;
    height: 100dvh;
  }
}

body.templates-active .stage-cards-frame .stage-cards-frame-slant {
  display: none;
}

body.templates-active .stage-cards-frame .stage-cards-frame-full {
  display: block;
}

body.templates-active.templates-closing
  .stage-cards-frame
  .stage-cards-frame-slant {
  display: block;
}

body.templates-active.templates-closing
  .stage-cards-frame
  .stage-cards-frame-full {
  display: none;
}

.stage-cards-frame .stage-cards-frame-full {
  display: none;
}

body.templates-active .stage-cards-clip {
  overflow: visible;
  -webkit-clip-path: none;
  clip-path: none;
}

body.templates-active.templates-closing .stage-cards-clip {
  overflow: hidden;
}

body.templates-active .stage-cards-clip .card-front {
  -webkit-clip-path: none;
  clip-path: none;
}

body.templates-active.templates-closing .stage-cards-clip .card-front {
  -webkit-clip-path: var(--stage-card-clip);
  clip-path: var(--stage-card-clip);
}

body.templates-active .card-back,
body.templates-active .card-middle {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.34s ease;
}

body.templates-active .sidebar,
body.templates-active .page-home-section,
body.templates-active .footer {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

html.templates-preload .sidebar,
html.templates-preload .page-home-section,
html.templates-preload .footer,
html.templates-preload .stage {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: none !important;
}

.sidebar,
.page-home-section,
.footer {
  transition:
    opacity 0.52s ease,
    visibility 0s linear 0s;
}

body.templates-active .sidebar,
body.templates-active .page-home-section,
body.templates-active .footer {
  transition:
    opacity 0.52s ease,
    visibility 0s linear 0.52s;
}

body.templates-active.templates-closing .sidebar,
body.templates-active.templates-closing .page-home-section,
body.templates-active.templates-closing .footer {
  opacity: 1;
  visibility: visible;
  pointer-events: none;
  transition-delay: 0s, 0s;
}

.stage-cards {
  position: absolute;
  inset: 0;
  filter: drop-shadow(-8px 10px 0 var(--accent-pink));
  transition: filter 0.9s ease;
}

.stage-cards-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  -webkit-clip-path: var(--stage-card-clip);
  clip-path: var(--stage-card-clip);
}

.stage-cards-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 4;
  display: block;
  overflow: visible;
}

.card {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid;
}

.card-back {
  right: -12px;
  top: -12px;
  width: 1240px;
  height: 778px;
  border-color: var(--accent-pink);
  transform: none;
  -webkit-clip-path: polygon(0 0, 100% 10%, 100% 90%, 0 100%);
  clip-path: polygon(0 0, 100% 10%, 100% 90%, 0 100%);
  z-index: 1;
}

.card-middle {
  right: -4px;
  top: -4px;
  width: 1204px;
  height: 762px;
  border-color: var(--accent-yellow);
  transform: none;
  -webkit-clip-path: polygon(0 0, 100% 10%, 100% 90%, 0 100%);
  clip-path: polygon(0 0, 100% 10%, 100% 90%, 0 100%);
  z-index: 2;
}

.card-front {
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transform: none;
  -webkit-clip-path: var(--stage-card-clip);
  clip-path: var(--stage-card-clip);
  z-index: 3;
}

.stage-headline-clip {
  position: absolute;
  inset: 0;
  z-index: 4;
  -webkit-clip-path: var(--stage-card-clip);
  clip-path: var(--stage-card-clip);
  pointer-events: none;
}

.stage-headline {
  position: absolute;
  rotate: var(--stage-headline-tilt);
  left: 100px;
  top: 100px;
  max-width: 470px;
  font-size: clamp(36px, 3.1vw, 58px);
  line-height: 0.95;
  font-weight: 900;
  font-stretch: 60%;
  opacity: 0;
  transform: translateY(5px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  color: var(--text-main);
}

.stage-headline-graphic {
  width: 100%;
  max-width: 470px;
  height: auto;
  display: none;
  overflow: visible;
  pointer-events: none;
}

.stage-headline-graphic text {
  font-family: var(--font-primary);
  font-weight: 900;
  font-stretch: 60%;
  fill: currentColor;
  font-size: clamp(36px, 3.1vw, 58px);
  text-transform: uppercase;
}

.hero[data-active="series"] .stage-headline-graphic[data-key="series"],
.hero[data-active="quiz"] .stage-headline-graphic[data-key="quiz"],
.hero[data-active="materials"] .stage-headline-graphic[data-key="materials"] {
  display: block;
}

.stage-media {
  position: absolute;
  right: 25px;
  width: 100%;
  height: 100%;
  max-width: none;
  -webkit-clip-path: var(--stage-media-clip);
  clip-path: var(--stage-media-clip);
  object-fit: cover;
  z-index: 0;
}

.stage-media-frame {
  position: absolute;
  right: 25px;
  width: 100%;
  height: 100%;
  max-width: none;
  pointer-events: none;
  z-index: 1;
  display: block;
}

.stage-media-wrapper {
  position: absolute;
  inset: 0;
  z-index: 5;
  filter: drop-shadow(-8px 10px 0 var(--accent-pink));
  transition:
    filter 0.6s ease,
    transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.6s ease,
    visibility 0s linear 0.6s;
  transform-origin: center right;
  transform: translateX(0) rotateY(0deg);
  visibility: visible;
}

body.templates-media-leaving #hero[data-active] .stage-media-wrapper,
body.templates-media-leaving #hero.menu-hovered .stage-media-wrapper,
body.templates-media-leaving .stage-media-wrapper,
body.templates-active .stage-media-wrapper {
  transform: translate3d(calc(100vw + 100%), 0, 0);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  filter: none;
  transition:
    transform 0.98s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.98s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.45s ease,
    visibility 0s linear 0.98s;
}

body.templates-active.templates-closing .stage-media-wrapper {
  transform-origin: center right;
  transform: translate3d(calc(100vw + 100%), 0, 0);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  filter: none;
  transition:
    transform 0.98s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.98s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.45s ease,
    visibility 0s linear 0.98s;
}

body.templates-media-hidden:not(.templates-media-returning)
  .stage-media-wrapper {
  transform-origin: center right;
  transform: translate3d(calc(100vw + 100%), 0, 0);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  filter: none;
  transition: none;
}

body.templates-media-returning .stage-media-wrapper {
  transform-origin: center right;
  transform: translate3d(0, 0, 0) rotateY(0deg);
  opacity: 1;
  visibility: visible;
  pointer-events: none;
  filter: drop-shadow(-8px 10px 0 var(--accent-pink));
  transition:
    transform 0.64s cubic-bezier(0.33, 1, 0.68, 1),
    opacity 0.64s cubic-bezier(0.33, 1, 0.68, 1),
    filter 0.4s ease,
    visibility 0s linear 0s;
}

#expandableCard {
  border: 2px solid #000;
}

.hero[data-active] .stage-headline {
  opacity: 1;
  transform: translateY(0);
}

body:not(.templates-active) .hero.menu-hovered .stage-media-wrapper,
body:not(.templates-active) .hero[data-active] .stage-media-wrapper {
  transform-origin: center right;
  transform: translateX(850px) rotateY(-30deg);
}

.hero[data-active="series"] .menu-item[data-key="series"],
.hero[data-active="quiz"] .menu-item[data-key="quiz"],
.hero[data-active="materials"] .menu-item[data-key="materials"] {
  color: var(--accent-pink);
}

.hero[data-active="series"] .menu-item[data-key="series"] .icon-hover,
.hero[data-active="quiz"] .menu-item[data-key="quiz"] .icon-hover,
.hero[data-active="materials"] .menu-item[data-key="materials"] .icon-hover {
  opacity: 1;
}

.hero[data-active="series"] .menu-item[data-key="series"] .icon-default,
.hero[data-active="quiz"] .menu-item[data-key="quiz"] .icon-default,
.hero[data-active="materials"] .menu-item[data-key="materials"] .icon-default {
  opacity: 0;
}

.partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 48px;
}

.partners-title {
  font-size: 24px;
  font-family: var(--font-primary);
  font-weight: 800;
  font-stretch: 60%;
  margin: 0;
  white-space: nowrap;
  text-transform: uppercase;
}

.partners-list {
  display: contents;
}
.partners-list > a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  max-height: 72px;
  max-width: 260px;
}

.asset-partner {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 72px;
  object-fit: contain;
}

.asset-footer-logo {
  width: 136px;
  height: 56px;
}

.carousel {
  position: relative;
  display: block;
  margin-bottom: 16px;
  width: 100%;
  min-width: 0;
  overflow: visible;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  margin-top: -25px;
  z-index: 4;
  width: 96px;
  height: 50px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-arrow-left {
  left: var(--carousel-arrow-edge);
}

.carousel-arrow-right {
  right: var(--carousel-arrow-edge);
}

.carousel-arrow-icon {
  position: relative;
  width: 96px;
  height: 50px;
}

.carousel-arrow-icon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-arrow-img-pressed {
  opacity: 0;
}

.carousel-arrow:not(:disabled):focus-visible .carousel-arrow-img-pressed {
  opacity: 1;
}

.carousel-arrow:not(:disabled):focus-visible .carousel-arrow-img-default {
  opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
  .carousel-arrow:not(:disabled):hover .carousel-arrow-img-pressed {
    opacity: 1;
  }

  .carousel-arrow:not(:disabled):hover .carousel-arrow-img-default {
    opacity: 0;
  }
}

.carousel-arrow[disabled] {
  opacity: 0.2;
  cursor: default;
}

.carousel-viewport {
  position: relative;
  min-width: 0;
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: 88px;
  width: max-content;
  max-width: none;
  transition: transform 0.38s ease;
  list-style: none;
}

.series-card {
  width: 318px;
  flex: 0 0 318px;
  cursor: pointer;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.series-card > a {
  position: relative;
  display: block;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.series-card > a::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 318 / 424;
  z-index: 1;
  pointer-events: none;
  box-shadow: inset 0 0 0 0 transparent;
  transition: box-shadow 0.54s ease;
}

.series-card:focus-within > a::after {
  box-shadow: inset 0 0 0 6px var(--accent-yellow);
}

@media (hover: hover) and (pointer: fine) {
  .series-card:hover > a::after {
    box-shadow: inset 0 0 0 6px var(--accent-yellow);
  }
}

.series-thumb {
  display: block;
  box-sizing: border-box;
  width: 318px;
  height: 424px;
  border: 2px solid #000;
  margin-bottom: 40px;
  object-fit: cover;
}

.series-number {
  font-size: 16px;
  font-weight: 900;
  font-stretch: condensed;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.series-name {
  font-size: 32px;
  line-height: 1.1;
  font-weight: 800;
  font-stretch: 60%;
  text-transform: uppercase;
  word-break: keep-all;
  word-spacing: 2px;
}

.quiz-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 16px;
}

.quiz-card {
  cursor: pointer;
}

.quiz-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 8px;
}

.quiz-card h3 {
  display: inline-block;
  font-size: 20px;
  font-weight: 800;
  font-stretch: 60%;
  line-height: 1;
  border: 2px solid #000;
  padding: 7px 16px;
  background: var(--accent-yellow);
  box-shadow: -10px 10px 0 var(--accent-pink);
  text-transform: uppercase;
}

.paper-template-unified .quiz-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 44px);
  justify-content: stretch;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.paper-template-unified .quiz-card {
  position: relative;
  width: 100%;
  max-width: 482px;
  height: auto;
  aspect-ratio: 482 / 380;
  justify-self: center;
  box-sizing: border-box;
  border: 2px solid #000;
  overflow: visible;
}

.paper-template-unified .quiz-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  box-shadow: inset 0 0 0 0 transparent;
  transition: box-shadow 0.54s ease;
}

.paper-template-unified .quiz-card:focus-within::after {
  box-shadow: inset 0 0 0 6px var(--accent-yellow);
}

.paper-template-unified .quiz-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  display: block;
}

.paper-template-unified .quiz-card h3 {
  position: absolute;
  bottom: 30px;
  left: -10px;
  z-index: 2;
  margin: 0;
  transition:
    left 0.35s ease,
    box-shadow 0.35s ease;
}

.paper-template-unified .quiz-card:focus-within h3 {
  left: -20px;
  box-shadow: none;
}

@media (hover: hover) and (pointer: fine) {
  .paper-template-unified .quiz-card:hover::after {
    box-shadow: inset 0 0 0 6px var(--accent-yellow);
  }

  .paper-template-unified .quiz-card:hover h3 {
    left: -20px;
    box-shadow: none;
  }
}

.question-progress {
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 800;
  font-stretch: 60%;
  margin-top: 96px;
}

.quiz-carousel-strip {
  --carousel-arrow-edge: clamp(16px, 3vw, 48px);
  --carousel-arrow-btn-w: 96px;
  --carousel-arrow-btn-h: 50px;
  --carousel-gap-after-arrow: 48px;
  --quiz-active-gap: 20px;
  --quiz-hero-width: 480px;
  --quiz-hero-height: 410px;
  --quiz-question-width: 530px;
  --quiz-answers-width: 420px;
  --quiz-answer-offset: 20px;
  --carousel-left-padding: 0px;
  --carousel-card-width: var(--quiz-question-width);
  --carousel-track-gap: 88px;

  width: calc(100vw - var(--paper-edge-inset));
  max-width: none;

  display: flex;
  align-items: flex-start;
  flex: 0 0 auto;
  align-self: stretch;
  min-width: 0;
  min-height: 0;
  box-sizing: border-box;
  overflow: visible;
  overflow-y: visible;
  margin-bottom: 8px;
}

.quiz-page-header {
  max-width: 100%;
}

.quiz-hero-visual {
  flex: 0 0 var(--quiz-hero-width);
  width: var(--quiz-hero-width);
  height: var(--quiz-hero-height);
  border: 2px solid #000;
  background: #fff;
  line-height: 0;
  position: static;
  top: 60px;
  margin-top: 40px;
  align-self: flex-start;
  z-index: 0;
}

.quiz-hero-visual .quiz-slide-img {
  object-position: center center;
}

.quiz-carousel-strip .carousel {
  flex: 0 0 auto;
  min-width: 100vw;
  width: 100vw;
  margin-left: calc(-1 * (var(--paper-edge-inset) + var(--quiz-hero-width)));
  position: relative;
  z-index: 2;
}

.quiz-carousel-strip .carousel-viewport {
  overflow: visible;
}

.quiz-carousel-strip .carousel-track {
  gap: var(--carousel-track-gap);
}

.quiz-carousel-strip .quiz-question-slide,
.quiz-carousel-strip .quiz-result-slide {
  width: var(--carousel-card-width);
  flex: 0 0 auto;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  list-style: none;
}

.quiz-result-slide {
  transition: opacity 0.46s ease;
}

.quiz-slide-card {
  width: 100%;
}

.quiz-slide-img {
  width: 100%;
  height: 100%;
  display: block;
  aspect-ratio: 28 / 41;
  object-fit: cover;
}

.quiz-slide-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  width: var(--quiz-question-width);
  z-index: 3;
  position: relative;
  overflow: visible;
  left: -10px;
}

.quiz-slide-stack--result {
  padding-top: 80px;
}

.quiz-question-slide .question-block {
  width: var(--quiz-question-width);
  border: 2px solid #000;
  border-radius: 3px;
  background: #f5f5dc;
  padding: 22px;
  margin: 0 0 0 -6px;
  max-width: none;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

.quiz-question-slide .question-block .question-text {
  font-family: var(--font-primary);
  font-size: 20px;
  text-transform: none;
  font-weight: 500;
  color: #000;
}

.quiz-question-slide .answer-block {
  width: var(--quiz-answers-width);
  align-self: flex-start;
  border: 0;
  background: none;
  padding: 42px 52px 52px;
  margin-left: var(--quiz-answer-offset);
  margin-top: -10px;
  margin-bottom: 42px;
  position: relative;
  max-width: none;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: visible;
}

.quiz-question-slide .answer-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--bg-paper);
  background-image: var(--bg-paper-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 2px solid #000;
  z-index: 0;
  pointer-events: none;
}

.quiz-question-slide .answer-list-numbered {
  position: relative;
  z-index: 1;
}

.quiz-answer-actions,
.quiz-feedback-actions,
.quiz-result-actions {
  position: absolute;
  right: var(--quiz-action-inline, 14px);
  bottom: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  transform: translateY(92%);
  z-index: -5;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.24s ease,
    visibility 0s linear 0.24s;
}

.quiz-question-slide .answer-list-numbered {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: quiz-answer;
}

.quiz-question-slide .answer-list-numbered li {
  margin: 0;
  padding: 0;
}

.quiz-question-slide .answer-list-numbered li + li {
  margin-top: 4px;
}

.quiz-question-slide .answer-list-numbered li:last-child .answer-option {
  border-bottom: 0;
}

.quiz-question-slide .answer-option {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 45px;
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 2px solid #d6d6d6;
  background: transparent;
  padding: 26px 0px;
  cursor: pointer;
  font-family: var(--font-family);
  font-stretch: 60%;
  color: #000;
  transition:
    border-bottom-color 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease;
}

.quiz-question-slide .answer-option.is-single-line {
  align-items: center;
}

.quiz-question-slide .answer-option:not(.is-selected):focus-visible {
  color: var(--accent-pink);
}

.quiz-question-slide
  .answer-option:not(.is-selected):focus-visible
  .answer-option-num,
.quiz-question-slide
  .answer-option:not(.is-selected):focus-visible
  .answer-option-label {
  color: var(--accent-pink);
}

@media (hover: hover) and (pointer: fine) {
  .quiz-question-slide .answer-option:not(.is-selected):hover {
    color: var(--accent-pink);
  }

  .quiz-question-slide
    .answer-option:not(.is-selected):hover
    .answer-option-num,
  .quiz-question-slide
    .answer-option:not(.is-selected):hover
    .answer-option-label {
    color: var(--accent-pink);
  }
}

.cta-button--graphic,
.quiz-question-slide .cta-button--confirm.cta-button--graphic,
.quiz-feedback-cta.cta-button--graphic,
.quiz-result-actions .cta-button.cta-button--graphic {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  line-height: 0;
}

.cta-button--confirm {
  position: relative;
}

.quiz-cta-svg {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
}

.quiz-cta-svg .quiz-svg-bg {
  fill: #ffd400;
  transition: fill 0.25s ease;
}

.quiz-cta-svg .quiz-svg-text {
  fill: #000;
  transition: fill 0.25s ease;
}

.cta-button--confirm:hover .quiz-cta-svg .quiz-svg-bg,
.cta-button--confirm:focus-visible .quiz-cta-svg .quiz-svg-bg {
  fill: #fff9dc;
}

.cta-button--confirm:hover .quiz-cta-svg .quiz-svg-text,
.cta-button--confirm:focus-visible .quiz-cta-svg .quiz-svg-text {
  fill: #c574a1;
}

.quiz-cta-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.cta-button--graphic:hover .quiz-cta-image,
.cta-button--graphic:focus-visible .quiz-cta-image {
  opacity: 0.85;
  transform: translateY(-1px);
}

.quiz-question-slide .answer-option-num {
  flex: 0 0 auto;
  font-family: var(--font-family);
  font-weight: 800;
  font-stretch: 60%;
  font-size: 36px;
  line-height: 1;
  text-transform: uppercase;
  color: #000;
  min-width: 26px;
  transition: color 0.25s ease;
}

.quiz-question-slide .answer-option-label {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--font-family);
  font-weight: 400;
  font-stretch: normal;
  font-size: 20px;
  line-height: 1.2;
  text-transform: uppercase;
  color: #000;
  transition:
    color 0.25s ease,
    font-weight 0.25s ease;
}

.quiz-question-slide .answer-option.is-selected,
.quiz-question-slide .answer-option.is-selected .answer-option-num,
.quiz-question-slide .answer-option.is-selected .answer-option-label {
  color: #000;
}

.quiz-question-slide .answer-option.is-selected .answer-option-label {
  font-weight: 800;
}

.quiz-question-slide {
  transition: opacity 0.46s ease;
}

.quiz-question-slide .cta-button--confirm {
  cursor: pointer;
}

.quiz-question-slide .cta-button--confirm,
.quiz-question-slide .quiz-feedback-cta {
  position: static !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.quiz-answer-actions .cta-button--confirm,
.quiz-feedback-actions .quiz-feedback-cta,
.quiz-result-actions .cta-button {
  margin: 0;
  align-self: auto;
  flex: 0 0 auto;
}

.quiz-question-slide.is-current.has-selection:not(.is-answered)
  .quiz-answer-actions,
.quiz-question-slide.is-current.is-answered .quiz-feedback-actions,
.quiz-result-slide.is-current .quiz-result-actions {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 0.24s ease,
    visibility 0s linear 0s;
}

.quiz-question-slide.is-answered .answer-list-numbered,
.quiz-question-slide.is-answered .quiz-answer-actions {
  display: none;
}

.quiz-slide-feedback[hidden] {
  display: none !important;
}

.quiz-slide-feedback {
  width: 100%;
  position: static;
}

.quiz-slide-feedback:not([hidden]) .quiz-feedback-card {
  animation: none;
}

.quiz-feedback-card {
  border: 0;
  background: transparent;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}

.quiz-feedback-explanation {
  font-family: var(--font-primary);
  font-size: clamp(14px, 1.3vw + 10px, 20px);
  text-transform: none;
  font-weight: 500;
  font-stretch: 60%;
  color: #000;
  margin: 0;
  order: 2;
}

.quiz-feedback-result {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0;
  border-bottom: 2px solid #00a60b;
  padding-bottom: 10px;
  order: 1;
}

.quiz-feedback-icon {
  flex: 0 0 auto;
  width: 27px;
  height: 29px;
  object-fit: contain;
}

.quiz-feedback-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-stretch: 60%;
  font-size: 20px;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--accent-pink);
}

.quiz-question-slide.quiz-slide-feedback--correct .quiz-feedback-result {
  border-bottom-color: #00a60b;
}

.quiz-question-slide.quiz-slide-feedback--wrong .quiz-feedback-result {
  border-bottom-color: #a60000;
}

.quiz-feedback-cta {
  order: 3;
  cursor: pointer;
}

.quiz-question-slide .answer-block {
  --quiz-action-inline: 14px;
}

.question-layout {
  display: grid;
  grid-template-columns: 240px 1fr 240px;
  gap: 18px;
  align-items: start;
}

.question-layout--feedback {
  grid-template-columns: 240px 1fr;
  max-width: 100%;
}

.question-cover {
  width: 100%;
  aspect-ratio: 16 / 11;
}

.question-card,
.result-card {
  border: 2px solid var(--line-dark);
  background: #f7f7f0;
  padding: 14px;
  max-width: 360px;
}

.question-card-correct .answer-result {
  border-color: #13a53a;
}

.question-card-wrong .answer-result {
  border-color: #cf4f6d;
}

.question-text {
  font-size: 20px;
  line-height: 1.25;
  text-transform: none;
}

.answer-list {
  list-style: none;
  margin-bottom: 10px;
}

.answer-list li + li {
  margin-top: 6px;
}

.answer-option {
  width: 100%;
  text-align: left;
  font-size: 19px;
  font-weight: 700;
  font-stretch: 60%;
  border: 0;
  border-bottom: 2px solid #d6d6d6;
  background: transparent;
  padding: 6px 4px;
  cursor: pointer;
}

.answer-option.is-selected {
  color: var(--accent-pink);
}

.answer-result {
  border-top: 2px solid;
  margin-bottom: 14px;
  padding-top: 10px;
  font-size: 18px;
  font-weight: 700;
  font-stretch: 60%;
}

.cta-button {
  border: 2px solid #000;
  background: var(--accent-yellow);
  padding: 6px 10px;
  font-size: 18px;
  font-weight: 900;
  font-stretch: 60%;
  cursor: pointer;
}

.question-ghost {
  min-height: 260px;
  border: 1px solid #d8d8d8;
  opacity: 0.4;
}

.result-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 18px;
  align-items: center;
}

.result-layout--quiz {
  display: flex;
  align-items: flex-start;
  gap: 0;
  width: max-content;
  max-width: 100%;
}

.result-layout--quiz .quiz-hero-visual {
  position: relative;
  top: auto;
  flex: 0 0 var(--quiz-hero-width);
  width: var(--quiz-hero-width);
  height: var(--quiz-hero-height);
  z-index: 0;
}

.result-card--quiz {
  width: min(
    var(--quiz-question-width),
    calc(100vw - (2 * var(--paper-edge-inset)) - 80px)
  );
  max-width: none;
  min-height: 0;
  margin-left: calc(-1 * var(--quiz-active-gap));
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  box-sizing: border-box;
  margin-bottom: 42px;
  overflow: visible;
  --quiz-action-inline: 14px;
  border: 0;
  background: none;
}

.result-card--quiz::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #f7f7f0;
  border: 2px solid var(--line-dark);
  z-index: 0;
  pointer-events: none;
}

.result-card--quiz .result-title,
.result-card--quiz p {
  margin: 0;
  position: relative;
  z-index: 1;
}

.result-card--quiz .result-title {
  font-family: var(--font-family);
  font-weight: 800;
  font-stretch: 60%;
  font-size: 20px;
  color: #000;
}

.result-card--quiz p:not(.result-title) {
  font-family: var(--font-family);
  font-weight: 500;
  font-stretch: 60%;
  font-size: 20px;
  color: #000;
  text-transform: none;
}

.result-card--quiz .cta-button {
  position: static !important;
  transform: none !important;
}

@keyframes quiz-feedback-appear {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.result-title {
  font-family: var(--font-family);
  font-weight: 800;
  font-stretch: 60%;
  font-size: 20px;
  color: #000;
  margin-bottom: 10px;
}

.article-content {
  width: 100%;
  max-width: 960px;
  min-width: 0;
}

.page-article .article-content {
  flex: 1 0 auto;
}

.article-content h2 {
  font-size: 32px;
  margin: 16px 0 8px;
  font-weight: 800;
  font-stretch: 60%;
  text-transform: uppercase;
}

.article-content p {
  text-transform: none;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 500;
  margin-bottom: 60px;
}

.article-custom-player {
  width: 100%;
  margin: 18px 0 12px;
}

.article-custom-player:fullscreen {
  position: relative;
  display: block;
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
  color: #ffffff;
  background: transparent;
  background-image: none;
}

.article-custom-player:fullscreen::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: min(227px, 35vh);
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(18, 18, 18, 0.85) 0%,
    rgba(18, 18, 18, 0) 59%
  );
}

.article-custom-player:fullscreen::backdrop {
  background: transparent;
}

.article-custom-player:fullscreen .custom-player-controls {
  position: absolute;
  left: max(18px, env(safe-area-inset-left));
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, calc(18px + env(safe-area-inset-bottom)));
  z-index: 2;
  margin-top: 0;
  flex-shrink: 0;
  color: #ffffff;
}

.article-custom-player .article-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 6;
  object-fit: cover;
  background: #e8e8e8;
  border: 2px solid #000;
}

.article-custom-player:fullscreen .article-video {
  object-fit: cover;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  background: transparent;
}

.article-custom-player:fullscreen .custom-player-btn img,
.article-custom-player:fullscreen .custom-player-track,
.article-custom-player:fullscreen .custom-player-track-fill {
  filter: brightness(0) saturate(100%) invert(100%);
}

.article-custom-player:fullscreen .custom-player-track--base {
  opacity: 0.55;
}

.article-custom-player:fullscreen .custom-player-time {
  color: #ffffff;
}

.article-custom-player:fullscreen .custom-player-btn:focus-visible {
  outline-color: #ffffff;
}

.article-custom-player--audio {
  margin: 14px 0 10px;
}

.article-custom-player audio {
  display: none;
}

.custom-player-controls {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 20px;
}

.article-custom-player--audio .custom-player-controls {
  margin: 60px 0px;
}

.custom-player-btn {
  flex-shrink: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  line-height: 0;
}

.custom-player-btn:focus-visible {
  outline: 2px solid var(--accent-pink);
  outline-offset: 2px;
}

.custom-player-btn img {
  display: block;
  width: 60px;
  height: 60px;
}

.custom-player-btn-fullscreen img {
  width: 38px;
  height: 24px;
}

.custom-player-btn img[hidden] {
  display: none !important;
}

.custom-player-progress-wrap {
  flex: 1;
  min-width: 0;
  margin: 0 10px;
}

.custom-player-btn-fullscreen {
  margin-left: 12px;
}

.custom-player-progress {
  --player-pct: 0;
  position: relative;
  width: 100%;
  height: 24px;
  cursor: pointer;
  touch-action: none;
  user-select: none;
}

.custom-player-track-segment {
  position: relative;
  width: 100%;
  height: 24px;
}

.custom-player-track-segment-inner {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

.custom-player-track-layer {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  margin-top: -2px;
  height: 4px;
  pointer-events: none;
  z-index: 0;
}

.svg-player-track-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.custom-player-track {
  display: block;
  width: 100%;
  min-width: 100%;
  height: 4px;
  pointer-events: none;
  overflow: visible;
}

.custom-player-track--base {
  opacity: 0.32;
}

.custom-player-fill {
  position: absolute;
  left: 0;
  top: 50%;
  margin-top: -2px;
  height: 4px;
  width: 0%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
  box-sizing: border-box;
}

.custom-player-track-fill {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  height: 4px;
  pointer-events: none;
  filter: brightness(0) saturate(100%) invert(55%) sepia(35%) saturate(900%)
    hue-rotate(270deg) brightness(0.95) contrast(1.05);
}

.custom-player-point {
  position: absolute;
  left: calc(11px + (100% - 22px) * var(--player-pct));
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  width: 22px;
  height: auto;
  z-index: 2;
}

.custom-player-time {
  flex-shrink: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.article-note {
  font-size: 20px;
  opacity: 0.5;
  font-family: var(--font-family);
  font-weight: 500;
  line-height: 1.4;
  color: #000;
  max-width: 430px;
  width: 100%;
}

.article-gallery {
  display: block;
  margin-top: 60px;
}

.gallery-item {
  border: 0;
  padding: 0;
  background: transparent;
}

.gallery-item--feature {
  position: relative;
  width: 665px;
  height: 370px;
  display: block;
  cursor: zoom-in;
  overflow: visible;
}

.gallery-item-frame {
  position: absolute;
  inset: 20px 36px;
  background: url("./img/gallery_vector.svg") center / 100% 100% no-repeat;
  pointer-events: none;
  z-index: 0;
}

.gallery-item-media-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  overflow: visible;
}

.gallery-item-media-box {
  position: absolute;
  top: 0;
  left: 0;
  line-height: 0;
  max-width: 100%;
  max-height: 100%;
}

.gallery-item-trigger {
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}

.gallery-item-media {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: fill;
  object-position: top left;
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.25);
  opacity: 0;
  transition: opacity 0.34s ease;
  z-index: 2;
  pointer-events: none;
}

.gallery-item-overlay-icon {
  width: 54px;
  height: 54px;
  display: block;
}

.gallery-item-media-box:hover .gallery-item-overlay,
.gallery-item-trigger:focus-visible + .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-trigger:focus-visible {
  outline: 2px solid var(--accent-pink);
  outline-offset: 8px;
}

.gallery-modal[hidden] {
  display: none !important;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.36s ease;
}

.gallery-modal.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.gallery-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(197, 116, 161, 0.5);
  background: color-mix(in srgb, var(--accent-pink) 50%, transparent);
  cursor: zoom-out;
  z-index: 4;
}

.gallery-modal-dialog {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%) scale(0.96);
  transition: transform 0.36s ease;
  z-index: 5;
  overflow: visible;
  filter: drop-shadow(-10px 10px 0 rgba(0, 0, 0, 0.22));
}

.gallery-modal.is-visible .gallery-modal-dialog {
  transform: translate(-50%, -50%) scale(1);
}

.gallery-modal-image {
  display: block;
  max-width: min(1120px, calc(100vw - 180px));
  max-height: calc(100vh - 72px);
  width: auto;
  height: auto;
  object-fit: contain;
  border: 2px solid #000;
  background: #fff;
}

.gallery-modal-close {
  position: absolute;
  top: 08px;
  left: 100%;
  right: auto;
  width: 46px;
  height: 46px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  z-index: 3;
}

.gallery-modal-close img {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

@media (max-width: 1280px) {
  .hero {
    grid-template-columns: 230px 1fr;
    gap: 20px;
  }

  .menu-item {
    font-size: 20px;
  }

  .gallery-item--feature {
    width: min(100%, 665px);
    height: auto;
    aspect-ratio: 665 / 370;
  }
}

@media (max-width: 820px) {
  .gallery-item-frame {
    inset: 12px 18px;
  }

  .gallery-item-media {
    width: 100%;
    height: 100%;
  }

  .article-gallery {
    margin-top: 40px;
  }

  .article-custom-player--audio .custom-player-controls {
    margin: 40px 0px;
  }

  .article-content p {
    margin-bottom: 40px;
  }

  .gallery-modal-dialog {
    width: calc(100vw - 40px);
  }

  .gallery-modal-image {
    width: 100%;
    max-width: none;
    max-height: calc(100vh - 120px);
  }

  .gallery-modal-close {
    top: -40px;
    rotate: -90deg;
    left: auto;
    right: 0;
  }

  .question-progress {
    margin-top: 10px;
  }
}

@media (max-width: 1024px) {
  :root {
    --shell-content-inline: clamp(14px, 4vw, 48px);
    --shell-template-top: 40px;
    --shell-template-bottom: 40px;
    --home-sidebar-gap: clamp(24px, 3.2vw, 52px);
    --home-sidebar-height: clamp(500px, 52vw, 640px);
  }

  .paper-screen--series {
    --series-shell-start-padding: 120px;
  }

  .stage-front-expanded .article-page-container.paper-template-unified,
  .page-article .article-page-container.paper-template-unified,
  .page-quiz .article-page-container.paper-template-unified {
    --paper-yellow-inner-gap: 18px;
    --paper-edge-inset: max(
      clamp(14px, 3.5vw, 48px),
      calc(
        var(--paper-yellow-inset) + var(--paper-yellow-border) +
          var(--paper-yellow-inner-gap)
      )
    );
    --paper-space-back-title: 11px;
    --paper-space-title-content: 10px;
    --paper-space-content-footer: clamp(54px, 8vw, 140px);
  }

  .stage-front-expanded
    .article-page-container.paper-template-unified
    .paper-footer,
  .page-article .article-page-container.paper-template-unified .paper-footer,
  .page-quiz .article-page-container.paper-template-unified .paper-footer {
    padding-bottom: 20px;
  }

  .page-article .paper-title,
  .page-quiz .paper-title {
    font-size: clamp(28px, 2vw + 18px, 48px);
  }

  .page-article .article-content h2 {
    font-size: clamp(22px, 3.8vw, 32px);
    margin: 12px 0 6px;
  }

  .page-article .article-content p {
    font-size: clamp(15px, 2.6vw, 20px);
  }

  .page-article .article-custom-player {
    margin: 14px 0 10px;
  }

  .page-article .article-custom-player .article-video {
    aspect-ratio: 16 / 9;
  }

  .page-article .custom-player-controls {
    flex-wrap: wrap;
    row-gap: 8px;
  }

  .page-article .custom-player-btn img {
    width: 36px;
    height: 36px;
  }

  .page-article .custom-player-btn-fullscreen img {
    width: 34px;
    height: 24px;
  }

  .page-article .custom-player-time {
    font-size: 20px;
    min-width: 6.5em;
  }

  .page-article .article-gallery {
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
  }

  .hero {
    grid-template-columns: 210px 1fr;
    gap: 18px;
  }

  .stage-media,
  .stage-media-frame {
    width: min(560px, 95%);
  }

  .hero[data-active] .stage-media,
  .hero[data-active] .stage-media-frame {
    width: min(340px, 50%);
    height: 212px;
  }

  .question-layout {
    grid-template-columns: 220px 1fr;
  }

  .question-layout--feedback {
    grid-template-columns: 220px 1fr;
  }

  .question-ghost {
    display: none;
  }

  .quiz-carousel-strip {
    --quiz-active-gap: 20px;
    --quiz-hero-width: 280px;
    --quiz-hero-height: 410px;
    --quiz-question-width: 530px;
    --quiz-answers-width: 420px;
    --quiz-answer-offset: 20px;
    --carousel-card-width: var(--quiz-question-width);
    --carousel-track-gap: 88px;
  }

  .series-carousel-strip {
    --carousel-arrow-edge: 28px;
    --carousel-arrow-btn-w: 64px;
    --carousel-arrow-btn-h: 40px;
    --carousel-gap-after-arrow: 28px;
    --carousel-left-padding: 120px;
    --carousel-card-width: min(236px, 56vw);
    --carousel-track-gap: 40px;
  }

  .paper-footer {
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 16px 20px;
    text-align: start;
    margin: 0 auto;
  }

  .paper-footer img {
    margin-left: 16px;
  }

  .paper-footer .footer-email {
    text-align: center;
    flex: 0 1 auto;
    align-self: center;
    max-width: 100%;
  }

  .paper-screen--series
    > .article-page-container.paper-template-unified
    .paper-footer {
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
  }

  .paper-screen--series
    > .article-page-container.paper-template-unified
    .paper-footer
    .footer-email {
    text-align: left;
    align-self: flex-start;
  }

  .stage-front-expanded .paper-template-unified .paper-title {
    font-size: clamp(30px, 2.2vw + 18px, 48px);
  }

  .paper-template-unified .quiz-grid {
    gap: clamp(14px, 2.4vw, 28px);
  }

  .paper-template-unified .quiz-card {
    max-width: min(100%, 400px);
  }

  .paper-template-unified .quiz-card h3 {
    font-size: clamp(15px, 2.3vw, 20px);
    padding: 5px 12px;
    box-shadow: -5px 5px 0 var(--accent-pink);
    left: -6px;
  }

  .paper-template-unified .quiz-card:focus-within h3 {
    left: -10px;
  }

  @media (hover: hover) and (pointer: fine) {
    .paper-template-unified .quiz-card:hover h3 {
      left: -10px;
    }
  }
}

@media (max-width: 1200px) and (min-width: 821px) {
  .paper-template-unified .quiz-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 36px);
  }
}

@media (max-width: 820px) {
  .page-quiz .page-paper::before {
    z-index: 2;
  }

  .page-quiz .article-page-container.paper-template-unified {
    --paper-yellow-inner-gap: 10px;
    --paper-edge-inset-start: clamp(18px, 4vw, 22px);
    --paper-edge-inset-end: clamp(18px, 4vw, 22px);
    --quiz-active-gap: 12px;
    --quiz-hero-width: 0px;
    --quiz-question-width: min(
      320px,
      calc(100vw - var(--paper-edge-inset-start) - var(--paper-edge-inset-end))
    );
    --quiz-answers-width: min(294px, calc(var(--quiz-question-width) - 26px));
  }

  .stage-front-expanded .article-page-container.paper-template-unified,
  .page-article .article-page-container.paper-template-unified {
    --paper-space-title-content: 40px;
  }

  .stage-front-expanded
    .paper-screen:not(.paper-screen--series)
    .article-page-container.paper-template-unified
    .paper-back,
  .stage-front-expanded
    .paper-screen:not(.paper-screen--series)
    .article-page-container.paper-template-unified
    .paper-title {
    margin-left: 5px;
  }

  .article-custom-player:fullscreen {
    background: rgba(0, 0, 0, 0.25);
  }

  .article-custom-player:fullscreen::backdrop {
    background: rgba(0, 0, 0, 0.25);
  }

  .article-custom-player:fullscreen .article-video {
    object-fit: contain;
    background: rgba(0, 0, 0, 0.25);
  }

  :root {
    --shell-content-inline: 14px;
    --shell-frame-inset: 12px;
    --home-sidebar-gap: 40px;
    --home-sidebar-height: auto;
  }

  .quiz-question-slide .answer-option {
    gap: 10px;
    padding: 14px 0px;
  }

  .paper-screen--series {
    --series-shell-start-padding: 0px;
  }

  .series-carousel-strip {
    --carousel-card-width: calc(100vw - 84px);
    --carousel-left-padding: 32px;
    --carousel-track-gap: 24px;
  }

  .series-carousel-strip,
  .series-carousel-strip .carousel {
    overflow-y: hidden;
  }

  .series-carousel-strip .carousel-arrow {
    display: none;
  }

  .series-thumb {
    margin-bottom: 20px;
  }

  .series-carousel-strip .carousel-viewport {
    overflow: hidden;
    overscroll-behavior-y: contain;
  }

  .page-article .article-gallery {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-home .container {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .hero {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .sidebar {
    gap: var(--home-sidebar-gap);
    height: auto;
  }

  .menu-panel {
    --menu-panel-clip: polygon(3% 0%, 97% 8%, 100% 100%, 0% 92%);
    position: relative;
    width: min(100%, 332px);
    margin: 6px auto 0;
    overflow: visible;
    isolation: isolate;
    filter: drop-shadow(-10px 10px 0 var(--accent-pink));
    opacity: 1;
    visibility: visible;
    transition:
      opacity 0.34s ease 0.12s,
      visibility 0s linear 0.12s;
  }

  body.templates-active .menu-panel,
  body.templates-active.templates-closing .menu-panel {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.2s ease 0s,
      visibility 0s linear 0.2s;
  }

  .menu-panel-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    -webkit-clip-path: var(--menu-panel-clip);
    clip-path: var(--menu-panel-clip);
    background-color: var(--bg-paper);
    background-image: var(--bg-paper-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .menu-panel-inner {
    position: relative;
    z-index: 1;
    display: block;
    padding: 26px 22px 24px 20px;
  }

  .menu-panel-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    display: block;
  }

  @supports (-webkit-touch-callout: none) {
    .menu-panel {
      filter: none;
      box-shadow: none;
    }

    .menu-panel::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -1;
      pointer-events: none;
      background: var(--accent-pink);
      -webkit-clip-path: var(--menu-panel-clip);
      clip-path: var(--menu-panel-clip);
      transform: translate(-10px, 10px);
      will-change: transform;
    }

    .menu-panel-bg {
      -webkit-clip-path: var(--menu-panel-clip);
      clip-path: var(--menu-panel-clip);
    }
  }

  .main-nav {
    width: 100%;
  }

  .menu-list {
    gap: 14px;
    padding: 20px 0px;
  }

  .menu-item {
    gap: 12px;
    padding: 4px 0;
    font-size: 15px;
    line-height: 1.1;
  }

  .menu-icon {
    width: 30px;
    height: 30px;
  }

  .partners {
    justify-content: flex-start;
    gap: 40px;
    flex-wrap: wrap;
  }

  .partners-title {
    flex: 0 0 auto;
    margin-bottom: 0;
    text-align: left;
  }

  .partners-list {
    display: contents;
  }

  .asset-partner {
    width: min(100%, 180px);
    height: auto;
    max-height: 120px;
    object-fit: contain;
  }

  .stage {
    display: none;
  }

  .mobile-menu-stage {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 98;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  body.templates-active .mobile-menu-stage {
    opacity: 1;
    visibility: visible;
  }

  .mobile-menu-stage-cards {
    position: absolute;
    inset: 0;
    transform-origin: 0 0;
  }

  .mobile-menu-stage-clip {
    position: absolute;
    inset: 0;
    overflow: visible;
    -webkit-clip-path: none;
    clip-path: none;
  }

  .mobile-menu-stage-front {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-color: var(--bg-paper);
    background-image: var(--bg-paper-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .mobile-menu-stage-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    display: block;
  }

  .mobile-menu-stage-frame .mobile-menu-stage-frame-slant {
    display: block;
    opacity: 1;
    transition: opacity 0.98s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .mobile-menu-stage-frame .mobile-menu-stage-frame-full {
    display: block;
    opacity: 0;
    transition: opacity 0.98s cubic-bezier(0.4, 0, 0.2, 1);
  }

  body.templates-active
    .mobile-menu-stage-frame
    .mobile-menu-stage-frame-slant {
    opacity: 0;
  }

  body.templates-active .mobile-menu-stage-frame .mobile-menu-stage-frame-full {
    opacity: 1;
  }

  body.templates-active.templates-closing
    .mobile-menu-stage-frame
    .mobile-menu-stage-frame-slant {
    opacity: 1;
  }

  body.templates-active.templates-closing
    .mobile-menu-stage-frame
    .mobile-menu-stage-frame-full {
    opacity: 0;
  }

  body.templates-active.templates-closing .mobile-menu-stage-clip {
    overflow: hidden;
  }

  .stage-cards,
  .stage-headline-clip,
  .stage-media-wrapper {
    display: none !important;
  }

  .quiz-grid {
    grid-template-columns: 1fr;
  }

  .paper-template-unified .quiz-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    width: 100%;
  }

  .paper-template-unified .quiz-card {
    width: min(100%, 360px);
    height: auto;
    aspect-ratio: 482 / 380;
  }

  .paper-template-unified .quiz-card h3 {
    left: -4px;
    font-size: clamp(15px, 4vw, 20px);
    padding: 5px 10px;
    box-shadow: -4px 4px 0 var(--accent-pink);
  }

  .paper-template-unified .quiz-card:focus-within h3 {
    left: -7px;
  }

  @media (hover: hover) and (pointer: fine) {
    .paper-template-unified .quiz-card:hover h3 {
      left: -7px;
    }
  }

  .question-layout,
  .result-layout {
    grid-template-columns: 1fr;
  }

  .result-layout--quiz {
    display: block;
    width: var(--quiz-question-width);
    max-width: 100%;
  }

  .question-layout--feedback {
    grid-template-columns: 1fr;
  }

  .quiz-carousel-strip {
    --carousel-arrow-edge: 24px;
    --carousel-arrow-btn-w: 48px;
    --carousel-arrow-btn-h: 34px;
    --carousel-gap-after-arrow: 28px;
    --carousel-left-padding: 0px;
    --quiz-answer-offset: 0px;
    --carousel-card-width: var(--quiz-question-width);
    --carousel-track-gap: 28px;
    width: 100%;
    max-width: none;
    display: block;
  }

  .quiz-hero-visual {
    display: none;
  }

  .quiz-page-header {
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
  }

  .result-layout--quiz .quiz-hero-visual {
    display: none;
  }

  .quiz-carousel-strip .carousel {
    min-width: 0;
    width: 100%;
    margin-left: 0;
  }

  .quiz-carousel-strip .carousel-viewport {
    width: 100%;
  }

  .quiz-slide-card {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .quiz-slide-stack,
  .quiz-question-slide .question-block {
    width: 100%;
    max-width: 320px;
  }

  .quiz-question-slide .answer-block {
    margin-left: 0;
    align-self: center;
    padding: 48px 24px;
    margin-bottom: 46px;
    display: flex;
    flex-direction: column;
    --quiz-action-inline: 24px;
  }

  .quiz-question-slide {
    width: 100%;
    max-width: none;
  }

  .answer-block {
    width: 100% !important;
    max-width: 300px !important;
  }

  .quiz-slide-stack--result {
    width: var(--quiz-question-width);
    padding-top: 18px;
  }

  .quiz-slide-stack {
    left: 0;
  }

  .result-card--quiz {
    width: var(--quiz-question-width);
    margin-left: 0;
    margin-bottom: 46px;
    --quiz-action-inline: 24px;
  }

  .quiz-question-slide .question-block {
    margin-top: 0;
    padding: 22px;
  }

  .quiz-slide-stack,
  .quiz-slide-stack--result {
    align-items: center;
    margin-inline: auto;
  }

  .quiz-question-slide .question-block,
  .quiz-question-slide .answer-block,
  .quiz-feedback-card,
  .result-card--quiz {
    margin-inline: auto;
  }

  .quiz-feedback-card {
    --quiz-action-inline: 24px;
  }

  .quiz-answer-actions,
  .quiz-feedback-actions,
  .quiz-result-actions {
    transform: translateY(98%);
  }

  .quiz-carousel-strip .quiz-question-slide,
  .quiz-carousel-strip .quiz-result-slide {
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }

  .footer-panel-inner {
    height: 260px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 38px clamp(12px, 4vw, 24px) 0px;
  }

  .footer-panel-inner > img {
    object-fit: contain;
  }

  .footer-panel-inner .footer-email {
    flex: none;
    text-align: right;
    align-self: center;
  }
}

@media (max-width: 768px) {
  .partners {
    gap: 40px;
    flex-wrap: wrap;
  }

  .partners-title {
    flex: 0 0 100%;
    margin-right: 0;
    margin-bottom: 0;
    text-align: center;
  }

  .partners-list {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 12px;
    row-gap: 40px;
    justify-items: center;
  }

  .partners-list > a {
    margin-right: 0;
  }

  .series-carousel-strip {
    --carousel-arrow-edge: 24px;
    --carousel-arrow-btn-w: 48px;
    --carousel-arrow-btn-h: 34px;
    --carousel-gap-after-arrow: 28px;
    --carousel-card-width: calc(100vw - 84px);
    --carousel-left-padding: 32px;
    --carousel-track-gap: 24px;
  }

  .paper-screen--series {
    --series-shell-start-padding: 0px;
  }
}

@media (max-width: 480px) {
  .series-carousel-strip {
    --carousel-arrow-edge: 20px;
    --carousel-arrow-btn-w: 44px;
    --carousel-arrow-btn-h: 30px;
    --carousel-gap-after-arrow: 22px;
    --carousel-card-width: calc(100vw - 84px);
    --carousel-left-padding: 32px;
    --carousel-track-gap: 20px;
  }

  .paper-screen--series {
    --series-shell-start-padding: 0px;
  }

  .quiz-carousel-strip {
    --carousel-arrow-edge: 20px;
    --carousel-arrow-btn-w: 44px;
    --carousel-arrow-btn-h: 30px;
    --carousel-gap-after-arrow: 22px;
    --carousel-left-padding: 0px;
    --quiz-question-width: 320px;
    --quiz-answers-width: 294px;
  }

  .paper-template-unified .quiz-card {
    width: min(100%, 300px);
  }

  .footer {
    margin: 0px 0px 54px;
  }
}

@media (max-width: 360px) {
  .series-carousel-strip {
    --carousel-arrow-edge: 16px;
    --carousel-card-width: calc(100vw - 84px);
    --carousel-left-padding: 32px;
  }

  .paper-screen--series {
    --series-shell-start-padding: 0px;
  }

  .quiz-carousel-strip {
    --carousel-arrow-edge: 16px;
    --carousel-left-padding: 0px;
    --quiz-question-width: 320px;
  }
}
