/*
  Menu base styles for Guidebook, Split, Filmstrip, and Coverflow.
  Plain CSS, flat selectors, no Sass nesting.
  Wrapped in a layer so normal rules lose to the structure CSS, the legacy
  file, and the theme CSS while those files are still deployed. The flex,
  grid, and logo-size rules are copied without !important on purpose. An
  !important inside this layer would beat a theme (Aspen portrait sets the
  panel to display:grid). The legacy file still carries those flags.
  Alignment and the Split image fit keep !important because they replace
  style strings that used to be injected for Guidebook and Split. Filmstrip
  and Coverflow alignment stays in the legacy file for the same reason.
*/

@layer sc-menu-base {
  /* Scene */
  .sc-menu--guidebook {
    padding: 0;
  }

  .sc-menu--split {
    padding: 0;
    overflow: hidden;
    height: 100%;
    max-height: 100%;
  }

  .sc-menu--split .sc-menu__ground,
  .sc-menu--split .sc-menu__page-scrim {
    display: none;
  }

  /* copies the structure flex mixins, without !important (see the file note). */
  .sc-menu--split .sc-menu__split {
    display: flex;
    flex-flow: row nowrap;
    align-items: stretch;
    position: relative;
    width: 100%;
    height: 100%;
    max-height: 100%;
    overflow: hidden;
    z-index: 100;
  }

  .sc-menu--split.left .sc-menu__split {
    flex-flow: row-reverse nowrap;
  }

  /* Panel (content container) */
  .sc-menu--guidebook .sc-menu__container {
    display: flex;
    flex: unset;
    flex-flow: column;
    justify-content: center;
    position: relative;
    height: auto;
    min-height: 100%;
    width: 45%;
    left: 10%;
    right: 45%;
    padding: 5%;
    max-width: unset;
    z-index: 100;
  }

  .sc-menu--guidebook.left .sc-menu__container {
    left: 10%;
    right: 45%;
  }

  .sc-menu--guidebook.center .sc-menu__container {
    left: 27.5%;
    right: 27.5%;
  }

  .sc-menu--guidebook.right .sc-menu__container {
    left: 45%;
    right: 10%;
  }

  .sc-menu--split .sc-menu__container {
    display: flex;
    flex-flow: column;
    justify-content: flex-start;
    position: relative;
    flex: 0 0 50%;
    width: 50%;
    height: 100%;
    max-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 5%;
    max-width: unset;
    z-index: 100;
    box-sizing: border-box;
  }

  .sc-menu--panel-bg.sc-menu--split .sc-menu__container {
    background-color: var(--sc-menu-panel-bg);
  }

  .sc-menu--split .sc-menu__container::before,
  .sc-menu--split .sc-menu__container::after {
    content: "";
    flex: 1 1 0;
    pointer-events: none;
  }

  .sc-menu--panel-bg.sc-menu--guidebook .sc-menu__ground::before {
    background-color: var(--sc-menu-ground-color);
  }

  /* Featured image */
  .sc-menu--split .sc-menu__asset {
    position: relative;
    flex: 0 0 50%;
    width: 50%;
    height: 100%;
    overflow: hidden;
    z-index: 50;
  }

  .sc-menu--split .sc-menu__asset img,
  .sc-menu--split .sc-menu__asset video,
  .sc-menu--split .sc-menu__asset figure {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
  }

  /* !important matches the injected rule this replaces. */
  .sc-menu--asset-fit .sc-menu__asset img,
  .sc-menu--asset-fit .sc-menu__asset video {
    object-fit: var(--sc-menu-asset-fit) !important;
    object-position: var(--sc-menu-asset-position) !important;
  }

  /* Logo. Margin and image fit are the module. */
  .sc-menu--guidebook .sc-menu__module--logo,
  .sc-menu--split .sc-menu__module--logo {
    margin: 0 0 10% 0;
    display: block;
  }

  .sc-menu--guidebook .sc-menu__module--logo:last-child,
  .sc-menu--split .sc-menu__module--logo:last-child {
    margin-bottom: 0;
  }

  .sc-menu--guidebook .sc-menu__logo figure,
  .sc-menu--split .sc-menu__logo figure {
    display: flex;
    flex: unset;
    flex-flow: column;
    align-items: center;
  }

  .sc-menu--guidebook .sc-menu__logo img,
  .sc-menu--split .sc-menu__logo img {
    max-width: 75%;
    position: relative;
    object-fit: contain;
    width: auto;
    height: auto;
  }

  .sc-menu--guidebook .sc-menu__logo.left figure,
  .sc-menu--split .sc-menu__logo.left figure {
    align-items: flex-start;
  }

  .sc-menu--guidebook .sc-menu__logo.right figure,
  .sc-menu--split .sc-menu__logo.right figure {
    align-items: flex-end;
  }

  .sc-menu--guidebook .sc-menu__logo.small img,
  .sc-menu--split .sc-menu__logo.small img {
    max-width: 60%;
  }

  .sc-menu--guidebook .sc-menu__logo.large img,
  .sc-menu--split .sc-menu__logo.large img {
    max-width: 90%;
  }

  /* copies the logo size steps (10% through 100%). */
  .menu-logo-width-1 .sc-menu__logo img { max-width: 10%; }
  .menu-logo-width-2 .sc-menu__logo img { max-width: 20%; }
  .menu-logo-width-3 .sc-menu__logo img { max-width: 30%; }
  .menu-logo-width-4 .sc-menu__logo img { max-width: 40%; }
  .menu-logo-width-5 .sc-menu__logo img { max-width: 50%; }
  .menu-logo-width-6 .sc-menu__logo img { max-width: 60%; }
  .menu-logo-width-7 .sc-menu__logo img { max-width: 70%; }
  .menu-logo-width-8 .sc-menu__logo img { max-width: 80%; }
  .menu-logo-width-9 .sc-menu__logo img { max-width: 90%; }
  .menu-logo-width-10 .sc-menu__logo img { max-width: 100%; }

  /* Intro and cards share one element today.
     Padding is the area. The list layout and the spacing under it are the module. */
  .sc-menu--guidebook .sc-menu__module--intro,
  .sc-menu--guidebook .sc-menu__module--cards,
  .sc-menu--guidebook .sc-menu__module--credit,
  .sc-menu--split .sc-menu__module--intro,
  .sc-menu--split .sc-menu__module--cards,
  .sc-menu--split .sc-menu__module--credit {
    margin: 0 0 5% 0;
  }

  .sc-menu--guidebook .sc-menu__module--intro:last-child,
  .sc-menu--guidebook .sc-menu__module--cards:last-child,
  .sc-menu--guidebook .sc-menu__module--credit:last-child,
  .sc-menu--split .sc-menu__module--intro:last-child,
  .sc-menu--split .sc-menu__module--cards:last-child,
  .sc-menu--split .sc-menu__module--credit:last-child {
    margin-bottom: 0;
  }

  .sc-menu--guidebook .sc-menu__area--cards,
  .sc-menu--split .sc-menu__area--cards {
    padding-inline-start: 0;
  }

  .sc-menu--guidebook .sc-menu__intro-title,
  .sc-menu--guidebook .sc-menu__intro-subtitle,
  .sc-menu--split .sc-menu__intro-title,
  .sc-menu--split .sc-menu__intro-subtitle {
    display: flex;
    flex-flow: column;
    align-items: center;
  }

  /* The base does not paint these colors today. inherit leaves that alone when a theme sets no token. */
  .sc-menu--guidebook .sc-menu__intro-title,
  .sc-menu--split .sc-menu__intro-title {
    color: var(--sc-menu-title-color, inherit);
  }

  .sc-menu--guidebook .sc-menu__intro-subtitle,
  .sc-menu--split .sc-menu__intro-subtitle {
    color: var(--sc-menu-subtitle-color, inherit);
  }

  .sc-menu--guidebook .sc-menu__intro-title *,
  .sc-menu--guidebook .sc-menu__intro-subtitle *,
  .sc-menu--split .sc-menu__intro-title *,
  .sc-menu--split .sc-menu__intro-subtitle * {
    max-width: 30em;
  }

  .sc-menu--guidebook .sc-menu__intro-description,
  .sc-menu--split .sc-menu__intro-description {
    display: flex;
    flex-flow: column;
    align-items: center;
    max-width: 40rem;
    color: var(--sc-menu-description-color, inherit);
  }

  .sc-menu--guidebook .sc-menu__intro-description *,
  .sc-menu--split .sc-menu__intro-description * {
    max-width: 40rem;
  }

  .sc-menu--guidebook .sc-menu__module--credit,
  .sc-menu--split .sc-menu__module--credit {
    display: flex;
    flex-flow: column;
    align-items: center;
    max-width: 100%;
    color: var(--sc-menu-credit-color, inherit);
  }

  .sc-menu--guidebook .sc-menu__module--credit *,
  .sc-menu--split .sc-menu__module--credit * {
    max-width: 30em;
  }

  /* Guidebook card list */
  .sc-menu--guidebook .sc-menu__module--cards {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
  }

  .sc-menu--guidebook .sc-menu-card {
    position: relative;
    margin: 0 2% 2% 0;
    cursor: pointer;
    box-shadow: none;
    height: 10vmax;
    min-height: 10vmax;
    max-height: unset;
    width: 32%;
    max-width: 32%;
    overflow: hidden;
    border: 0 solid transparent;
  }

  .sc-menu--guidebook .sc-menu-card:nth-child(3n) {
    margin-right: 0;
  }

  /* Split card list. display:grid is not !important here; the structure file still forces it. */
  .sc-menu--split .sc-menu__module--cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 12px;
    row-gap: 12px;
    align-content: start;
    height: fit-content;
    flex: 0 0 auto;
    width: 100%;
    margin-block-start: 0;
    margin-block-end: 0;
    list-style: none;
    box-sizing: border-box;
  }

  .sc-menu--split .sc-menu-card {
    position: relative;
    margin: 0;
    cursor: pointer;
    box-shadow: none;
    height: 10vmax;
    min-height: 10vmax;
    max-height: unset;
    width: 100%;
    max-width: none;
    overflow: hidden;
    border: 0 solid transparent;
    align-self: start;
  }

  /* Card body and image. Shared by both layouts.
     The outer image box is AssetContainer's .asset wrapper. */
  .sc-menu--guidebook .sc-menu-card__body,
  .sc-menu--split .sc-menu-card__body {
    display: flex;
    flex-flow: column;
    align-items: flex-start;
    justify-content: center;
    margin: 0;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    text-align: center;
    z-index: 110;
    padding: 7%;
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
  }

  .sc-menu--guidebook .sc-menu-card > .asset {
    width: 100%;
    height: 100%;
    padding-bottom: 100%;
    overflow: visible;
    display: inherit;
    position: absolute;
    max-width: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    align-items: center;
  }

  .sc-menu--split .sc-menu-card > .asset {
    width: 100%;
    height: 100%;
    overflow: visible;
    display: inherit;
    position: absolute;
    max-width: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    align-items: center;
  }

  .sc-menu--guidebook .sc-menu-card__media,
  .sc-menu--split .sc-menu-card__media {
    z-index: 1;
    width: 100%;
    height: 100%;
    max-width: 100%;
    overflow: hidden;
    display: inherit;
    align-items: center;
    position: absolute;
    margin: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }

  /* The figure also has the class "asset", so Guidebook's square padding lands on it too. */
  .sc-menu--guidebook .sc-menu-card__media {
    padding-bottom: 100%;
  }

  .sc-menu--guidebook .sc-menu-card__media img,
  .sc-menu--split .sc-menu-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    transition: all 0.2s ease-in-out;
  }

  .sc-menu--guidebook .sc-menu-card::marker,
  .sc-menu--split .sc-menu-card::marker {
    color: transparent;
  }

  .sc-menu--guidebook .sc-menu-card__title,
  .sc-menu--guidebook .sc-menu-card__subtitle,
  .sc-menu--guidebook .sc-menu-card__callout,
  .sc-menu--split .sc-menu-card__title,
  .sc-menu--split .sc-menu-card__subtitle,
  .sc-menu--split .sc-menu-card__callout {
    width: 100%;
    text-align: center;
    margin-bottom: 5%;
    /* Today's card text is white, with this shadow. A theme token replaces either one. */
    text-shadow: var(--sc-menu-card-text-shadow, 0.05vmax 0.05vmax 0.2vmax rgba(0, 0, 0, 0.8));
  }

  .sc-menu--guidebook .sc-menu-card__title,
  .sc-menu--split .sc-menu-card__title {
    color: var(--sc-menu-card-title-color, white);
  }

  .sc-menu--guidebook .sc-menu-card__subtitle,
  .sc-menu--split .sc-menu-card__subtitle {
    color: var(--sc-menu-card-subtitle-color, white);
  }

  .sc-menu--guidebook .sc-menu-card__callout,
  .sc-menu--split .sc-menu-card__callout {
    color: var(--sc-menu-card-callout-color, white);
  }

  .sc-menu--guidebook .sc-menu-card__title:last-child,
  .sc-menu--guidebook .sc-menu-card__subtitle:last-child,
  .sc-menu--guidebook .sc-menu-card__callout:last-child,
  .sc-menu--split .sc-menu-card__title:last-child,
  .sc-menu--split .sc-menu-card__subtitle:last-child,
  .sc-menu--split .sc-menu-card__callout:last-child {
    margin-bottom: 0;
  }

  .sc-menu--guidebook .sc-menu-card:hover,
  .sc-menu--split .sc-menu-card:hover {
    outline: 0.1vmax white solid;
  }

  /* !important matches the alignment string this replaces. */
  :where(.sc-menu--guidebook, .sc-menu--split) .sc-menu-card__body.story-links-x-left,
  :where(.sc-menu--guidebook, .sc-menu--split) .sc-menu-card__body.story-links-x-left > * {
    text-align: left !important;
  }

  :where(.sc-menu--guidebook, .sc-menu--split) .sc-menu-card__body.story-links-x-center,
  :where(.sc-menu--guidebook, .sc-menu--split) .sc-menu-card__body.story-links-x-center > * {
    text-align: center !important;
  }

  :where(.sc-menu--guidebook, .sc-menu--split) .sc-menu-card__body.story-links-x-right,
  :where(.sc-menu--guidebook, .sc-menu--split) .sc-menu-card__body.story-links-x-right > * {
    text-align: right !important;
  }

  :where(.sc-menu--guidebook, .sc-menu--split) .sc-menu-card__body.story-links-x-left > * {
    align-self: flex-start !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }

  :where(.sc-menu--guidebook, .sc-menu--split) .sc-menu-card__body.story-links-x-center > * {
    align-self: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  :where(.sc-menu--guidebook, .sc-menu--split) .sc-menu-card__body.story-links-x-right > * {
    align-self: flex-end !important;
    margin-left: auto !important;
    margin-right: 0 !important;
  }

  :where(.sc-menu--guidebook, .sc-menu--split) .sc-menu-card__body.story-links-y-top {
    justify-content: flex-start !important;
  }

  :where(.sc-menu--guidebook, .sc-menu--split) .sc-menu-card__body.story-links-y-center {
    justify-content: center !important;
  }

  :where(.sc-menu--guidebook, .sc-menu--split) .sc-menu-card__body.story-links-y-bottom {
    justify-content: flex-end !important;
  }

  @media screen and (max-width: 950px), (orientation: portrait) {
    .sc-menu--guidebook.left .sc-menu__container,
    .sc-menu--guidebook.center .sc-menu__container,
    .sc-menu--guidebook.right .sc-menu__container,
    .sc-menu--guidebook .sc-menu__container {
      width: 100%;
      left: 0;
      right: 0;
      padding-top: 10%;
      padding-bottom: 10%;
    }

    .sc-menu--split {
      overflow-x: hidden;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
    }

    .sc-menu--split .sc-menu__split,
    .sc-menu--split.left .sc-menu__split,
    .sc-menu--split.right .sc-menu__split {
      flex-flow: column nowrap;
      height: auto;
      min-height: 100%;
      max-height: none;
      overflow: visible;
    }

    .sc-menu--split .sc-menu__asset {
      position: sticky;
      top: 0;
      align-self: stretch;
      width: 100%;
      flex: 0 0 auto;
      aspect-ratio: 7 / 5;
      height: auto;
      min-height: 33vh;
      max-height: none;
      z-index: 50;
    }

    .sc-menu--split .sc-menu__container {
      position: relative;
      flex: none;
      width: 100%;
      height: auto;
      min-height: calc(100% - max(33vh, 100vw * 5 / 7));
      max-height: none;
      overflow: visible;
      padding-top: 8%;
      padding-bottom: 8%;
      z-index: 100;
    }

    .sc-menu--split .sc-menu__module--cards {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sc-menu--split .sc-menu-card {
      height: 22vmax;
      min-height: 22vmax;
    }
  }

  @media screen and (max-width: 950px) and (min-width: 700px),
    (orientation: portrait) and (min-width: 700px) {
    .sc-menu--split .sc-menu__module--cards {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sc-menu--split .sc-menu-card {
      height: 15vmax;
      min-height: 15vmax;
    }
  }

  @media screen and (max-width: 950px) {
    .sc-menu--guidebook .sc-menu-card {
      width: 49%;
      max-width: 49%;
      height: 22vmax;
      min-height: 22vmax;
    }

    .sc-menu--guidebook .sc-menu-card:nth-child(3n) {
      margin-right: 2%;
    }

    .sc-menu--guidebook .sc-menu-card:nth-child(2n) {
      margin-right: 0;
    }
  }

  @media screen and (orientation: portrait) and (min-width: 950px) {
    .sc-menu--guidebook .sc-menu-card {
      height: 15vmax;
      min-height: 15vmax;
      max-height: unset;
      width: 32%;
      max-width: 32%;
    }
  }

  @media screen and (max-width: 1599px) {
    .sc-menu--split .sc-menu__module--cards {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sc-menu--split .sc-menu-card {
      height: 18vmax;
      min-height: 18vmax;
    }
  }

  /*
    Filmstrip and Coverflow. Same layout as the structure rules, written
    against the sc-menu classes. No !important here: a flag in this layer
    would beat the theme. The legacy file still carries those flags.
    Saved alignment and link order stay in the legacy file too.
    Coverflow's title and callout are white in the structure CSS, so those
    two read the card color tokens, with white as the fallback. Filmstrip
    does not paint a card text color, so this file does not either.
  */

  .sc-menu--filmstrip {
    padding: 0;
    flex-flow: unset;
    flex: unset;
    overflow: hidden;
    margin: 0;
    position: fixed;
    display: block;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
  }

  .sc-menu--filmstrip .sc-menu__container {
    position: relative;
    flex: unset;
    display: flex;
    flex-flow: column nowrap;
    align-content: center;
    align-items: flex-start;
    padding: 0;
    margin: 0;
    height: 100%;
    overflow: auto;
    z-index: 5;
    justify-content: flex-start;
  }

  .sc-menu--filmstrip .sc-menu__cards {
    position: relative;
    flex: unset;
    display: flex;
    justify-content: flex-start;
    flex-flow: row nowrap;
    align-content: center;
    align-items: flex-end;
    align-self: flex-start;
    overflow: visible;
    height: 100%;
  }

  .sc-menu--filmstrip .sc-menu-card {
    height: 100%;
    margin: 0;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    max-height: 100%;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    z-index: 2;
    min-width: 50vw;
    max-width: 50vw;
  }

  .sc-menu--filmstrip .sc-menu-card__media {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    margin: 0;
  }

  .sc-menu--filmstrip .sc-menu-card__media:before {
    position: absolute;
    z-index: 1;
    content: "";
    width: 100%;
    height: 50%;
    bottom: 0;
    background: rgb(0, 0, 0);
    background: -moz-linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 100%);
    background: -webkit-linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 100%);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 100%);
  }

  @media screen and (orientation: landscape) {
    .sc-menu--filmstrip .sc-menu-card {
      min-width: 50vw;
      max-width: 50vw;
    }
  }

  @media screen and (orientation: landscape) and (min-width: 768px) {
    .sc-menu--filmstrip .sc-menu-card {
      min-width: 45VW;
      max-width: 45VW;
    }
  }

  @media screen and (orientation: landscape) and (min-width: 1200px) {
    .sc-menu--filmstrip .sc-menu-card {
      min-width: 40vw;
      max-width: 40vw;
    }
  }

  @media screen and (orientation: landscape) and (min-width: 1800px) {
    .sc-menu--filmstrip .sc-menu-card {
      min-width: 32vw;
      max-width: 32vw;
    }
  }

  @media screen and (orientation: portrait) {
    .sc-menu--filmstrip .sc-menu__cards {
      flex-flow: column nowrap;
      width: 100%;
      height: fit-content;
      min-height: 100%;
      min-width: 100%;
      overflow: visible;
    }

    .sc-menu--filmstrip .sc-menu-card {
      min-width: 100%;
      max-width: 100%;
      height: fit-content;
      min-height: 30%;
      max-height: unset;
    }

    .sc-menu--filmstrip .sc-menu-card__media:before {
      height: 75%;
    }
  }

  .sc-menu--filmstrip .sc-menu-card__body {
    flex: unset;
    display: flex;
    justify-content: flex-end;
    flex-flow: column nowrap;
    align-items: center;
    height: 100%;
    z-index: 15;
    position: absolute;
    width: 100%;
    padding: calc(var(--dp) * 10);
  }

  .sc-menu--filmstrip .sc-menu-card__body header {
    order: 2;
    align-self: flex-start;
  }

  .sc-menu--filmstrip .sc-menu-card__callout {
    flex: unset;
    order: 1;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: 2%;
    padding: calc(var(--dp) * 5);
    margin-right: auto;
    margin-left: 0;
    width: fit-content;
    display: block;
    position: relative;
    z-index: 5;
  }

  .sc-menu--filmstrip .sc-menu-card__callout .ground-shape {
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: flex-start;
    width: fit-content;
    height: auto;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 0;
  }

  .sc-menu--coverflow {
    padding: 0;
  }

  .sc-menu--coverflow .sc-menu__container,
  .sc-menu--coverflow .sc-menu__cards {
    position: relative;
    flex: unset;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: flex-start;
    align-content: center;
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
    overflow: auto;
    z-index: 5;
    background-color: unset;
  }

  .sc-menu--coverflow .background-container {
    z-index: -1;
  }

  .sc-menu--coverflow .sc-swipeable-menu-root {
    position: relative;
    flex: unset;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: flex-start;
    align-content: center;
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
    overflow: auto;
    z-index: 5;
  }

  .sc-menu--coverflow .scene-counter {
    padding-bottom: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    position: fixed;
    bottom: calc(var(--footer-height) + 4%);
  }

  .sc-menu--coverflow .scene-counter .dot {
    margin: 0;
    margin-left: 0.75vmax;
    width: 1vmax;
    height: 1vmax;
    min-height: 15px;
    min-width: 15px;
    border-style: none;
    border-radius: 2vmax;
  }

  .sc-menu--coverflow .scene-counter .visited,
  .sc-menu--coverflow .scene-counter .unvisited {
    background: rgba(255, 255, 255, 0.3);
  }

  .sc-menu--coverflow .sc-stories {
    height: 100%;
    width: 100%;
    padding: 5% 10%;
  }

  .sc-menu--coverflow .sc-story-slide {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    transition-duration: 0.5s;
  }

  .sc-menu--coverflow .sc-story-slide[aria-hidden="true"] {
    transform: scale(0.9);
    filter: brightness(0.5);
  }

  .sc-menu--coverflow .sc-story-slide[aria-hidden="false"] {
    transform: scale(1);
    filter: brightness(1);
  }

  .sc-menu--coverflow .sc-menu-card {
    flex: unset;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    z-index: 15;
    position: absolute;
    width: 98%;
    margin-bottom: 0;
    padding: calc(var(--dp) * 20) calc(var(--dp) * 30);
  }

  .sc-menu--coverflow .sc-menu-card__media {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    margin: 0;
  }

  .sc-menu--coverflow .sc-menu-card__media figure.image-container {
    object-position: center;
    overflow: hidden;
    height: 100%;
    position: absolute;
    min-height: unset;
    max-width: 100%;
    width: 100%;
  }

  .sc-menu--coverflow .sc-menu-card__body {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
  }

  .sc-menu--coverflow .sc-menu-card__title {
    font-size: 3rem;
    color: var(--sc-menu-card-title-color, white);
  }

  .sc-menu--coverflow .sc-menu-card__callout {
    color: var(--sc-menu-card-callout-color, white);
  }
}
