/* Generated demo-index styles. Shared lab identity stays in ../css/styles.css. */
.demo-hero {
  text-align: center;
  padding-bottom: 1rem;
}

.demo-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  white-space: normal;
}

.demo-section {
  border-top: 1px solid #eee;
  padding-top: 1.75rem;
}

.demo-entry {
  align-items: flex-start;
}

.demo-thumbnail {
  aspect-ratio: 16 / 10;
  height: auto;
  width: 12rem;
  object-fit: cover;
  background: #fff;
}

.demo-details {
  align-self: flex-start;
}

.demo-title {
  display: inline-block;
  font-size: 1.1rem;
  line-height: 1.3;
  margin-bottom: 0.35rem;
}

.demo-details p {
  color: #555;
  margin-bottom: 0.55rem;
}

@media screen and (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .content.demo-content {
    box-sizing: border-box;
    max-width: 100vw !important;
    overflow-x: hidden;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    width: 100vw !important;
  }

  .demo-hero h1 {
    font-size: 1.5rem !important;
    line-height: 1.25 !important;
    max-width: 92vw;
    width: min(15rem, 92vw);
    margin-left: auto;
    margin-right: auto;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }

  .demo-entry {
    align-items: stretch;
    flex-direction: column;
    max-width: 100%;
    min-width: 0;
  }

  .demo-entry .thumbnail-container {
    display: block;
    max-width: 100%;
    width: 100%;
  }

  .demo-section,
  .demo-list,
  .demo-details,
  .demo-details p {
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .demo-section {
    box-sizing: border-box;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100%;
  }

  .demo-details {
    display: block;
    width: 100%;
  }

  .demo-thumbnail {
    box-sizing: border-box;
    margin-top: 0;
    max-height: none;
    max-width: 100%;
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
}

@media screen and (max-width: 600px) {
  .content.demo-content {
    margin-left: 0;
    margin-right: 0;
    max-width: 390px !important;
    width: 100% !important;
  }
}
