/* Website shell only. Pagination and snapping belong to RevealJS. */
body.workshop-player #title-block-header,
body.workshop-player #quarto-appendix,
body.workshop-player #quarto-back-to-top {
  display: none;
}

body.workshop-player #quarto-document-content {
  grid-column: body-start / margin-end;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.workshop-player-layout {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.workshop-player-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid #c8c2b8;
}

.workshop-player-bar h1 {
  margin: 0;
  color: #1e3a5f;
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: 0;
}

.workshop-player-bar nav,
.workshop-player-mobile nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.workshop-player-resource[href=""] {
  display: none;
}

.workshop-player-bar a,
.workshop-player-mobile a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: 0.875rem;
}

#quarto-document-content .workshop-player-hint {
  margin: 0;
  padding: 0.5rem 1.25rem;
  color: #6e6560;
  font-family: inherit;
  font-size: 0.8rem;
  line-height: 1.4;
}

.workshop-deck {
  display: block;
  width: 100%;
  height: 75svh;
  min-height: 0;
  border: 0;
  background: #f5f0e8;
}

.workshop-deck:focus-visible {
  outline: 2px solid #a63d2f;
  outline-offset: -2px;
}

.workshop-player-mobile {
  padding: 2rem 1.25rem;
}

@media (max-width: 991.98px), (max-height: 599px) {
  .workshop-deck,
  .workshop-player-hint {
    display: none;
  }
}

@media (min-width: 992px) and (min-height: 600px) {
  body.workshop-player {
    overflow: hidden;
  }

  body.workshop-player #quarto-content {
    grid-template-rows: [content-top] auto [content-bottom page-bottom];
  }

  body.workshop-player > .footer,
  body.workshop-player #quarto-footer,
  body.workshop-player .nav-footer,
  body.workshop-player .page-navigation {
    display: none;
  }

  .workshop-player-layout {
    height: calc(100dvh - var(--workshop-player-top, 100px));
  }

  .workshop-deck {
    flex: 1;
    height: 0;
  }

  .workshop-player-mobile {
    display: none;
  }
}

@media print {
  body.workshop-player {
    overflow: visible;
  }

  .workshop-player-layout {
    height: auto;
  }

  .workshop-deck,
  .workshop-player-hint {
    display: none;
  }

  .workshop-player-mobile {
    display: block;
  }
}
