/* Gone Astray — Odyssey page spacing, content from yuki-li.com/gonecase.html */

.gone-page .case-banner {
  height: auto;
  overflow: visible;
  /* Odyssey's hero file includes empty space above the dashboard, so the
     visible image starts lower than the 28px banner padding. */
  padding: calc(28px + (100% - 160px) * 208 / 2880) 0 0;
}

.gone-banner-shot {
  width: min(840px, calc((100% - 160px) * 0.66));
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
}

.gone-banner-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.gone-page .case-banner + .case-column {
  position: relative;
  z-index: 1;
  margin-top: -24px;
}

.gone-page .case-column {
  max-width: none;
  padding-left: 160px;
  padding-right: 160px;
  padding-bottom: 0;
}

.gone-page .case-card {
  max-width: none;
}

.gone-section {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
}

.gone-lead {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.gone-page .gone-lead > .case-card-head {
  margin-bottom: 12px;
}

.gone-page .case-label img {
  width: 8.59085px;
  height: 8.59085px;
}

/* The video sits outside the title block, so the section gap would stack
   on the title's 12px margin. Drop that extra gap. */
#display.gone-section {
  gap: 0;
}

.gone-proto {
  width: 100%;
  box-sizing: border-box;
  border: 3px solid #f3f3f3;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.gone-proto video {
  display: block;
  width: 100%;
  height: auto;
}

.gone-page .gone-element .gone-lead > .case-card-head {
  margin-bottom: 28px;
}

.gone-element h2 {
  margin-top: 0;
}

.gone-element .gone-lead > img,
.gone-element .gone-pair img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.gone-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: start;
  width: 100%;
}

.gone-pair img {
  width: 100%;
  height: auto;
}

.gone-page .gone-close {
  margin-top: 32px;
  padding-bottom: 80px;
}

.gone-takes {
  display: flex;
  gap: 24px;
  width: 100%;
  padding: 8px 0;
}

.gone-take {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 28px;
  border-radius: 20px;
  background: #f6effa;
  text-align: center;
}

.gone-take-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.gone-take img {
  width: 24.4738px;
  height: 24.4738px;
}

.gone-take h3 {
  margin: 0;
  font-weight: 800;
  font-size: 18px;
  line-height: normal;
  color: #7a3e9d;
}

.gone-take p {
  margin: 0;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.45;
  color: #7a3e9d;
}

.gone-page .footer {
  margin-top: 0;
  padding: 24px 0 64px;
  background: #f3f3f3;
}

@media (max-width: 1439px) {
  .gone-page .case-banner {
    height: auto;
    padding-top: calc(24px + (100% - 160px) * 208 / 2880);
  }

  .gone-banner-shot {
    width: min(840px, calc((100% - 160px) * 0.66));
  }
}

@media (max-width: 800px) {
  .gone-page .case-banner {
    height: auto;
    padding-top: calc(20px + (100% - 32px) * 208 / 2880);
  }

  .gone-banner-shot {
    width: calc(100% - 32px);
  }

  .gone-page .case-column {
    padding-left: 16px;
    padding-right: 16px;
  }

  .gone-page .case-banner + .case-column {
    margin-top: -20px;
  }

  .gone-takes {
    flex-direction: column;
  }

  .gone-pair {
    grid-template-columns: 1fr;
  }
}
