/* Keep the approved desktop detail rail centered through the intermediate range. */
@media (min-width: 640px) and (max-width: 1439px) {
  .detail-page .detail-shell {
    --detail-nav-edge: clamp(24px, 9.72vw, 140px);
    box-sizing: border-box;
    width: min(calc(100% - var(--detail-nav-edge) * 2), 800px);
    margin-left: auto;
    margin-right: auto;
  }

}

@media (min-width: 640px) and (max-width: 949px) {
  .detail-page .detail-heading h1,
  .detail-page .detail-heading strong {
    font-size: 24px;
    line-height: 34px;
  }
}

@media (max-width: 639px) {
  .detail-page {
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .detail-page .detail-shell {
    height: auto;
    min-height: 0;
  }

  .detail-page .detail-shell > .detail-heading {
    width: 100%;
    height: 19px;
    margin: 0;
  }

  .detail-page .detail-shell > .detail-heading > div {
    width: 100%;
    height: 19px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
  }

  .detail-page .detail-shell > .detail-heading h1 {
    width: auto;
    min-width: 0;
    flex: 1 1 auto;
    height: 19px;
    margin: 0;
    overflow: visible;
    color: #12181f;
    font-family: "Noto Sans SC", sans-serif;
    font-size: 16px;
    font-weight: bolder;
    line-height: 19.2px;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .detail-page .detail-shell > .detail-heading strong {
    width: auto;
    height: 19px;
    margin: 0;
    display: block;
    flex: 0 0 auto;
    color: #1873f3;
    font-family: "Noto Sans SC", sans-serif;
    font-size: 16px;
    font-weight: bold;
    line-height: 19.2px;
    letter-spacing: 0;
    text-align: left;
    white-space: nowrap;
  }

  .detail-page .detail-shell > .detail-meta {
    margin-top: 24px;
  }

  .detail-page .detail-block,
  .detail-page .detail-block:first-of-type,
  .detail-page .detail-block:nth-of-type(2) {
    height: auto !important;
    min-height: 0 !important;
  }
}

@media (min-width: 640px) and (max-width: 760px) {
  .detail-page .detail-heading > div {
    width: 100%;
    flex-direction: row;
    align-items: center;
    gap: 24px;
  }

  .detail-page .detail-heading h1 {
    width: auto;
    min-width: 0;
    flex: 1 1 auto;
    text-align: left;
    white-space: nowrap;
  }

  .detail-page .detail-heading strong {
    width: auto;
    flex: 0 0 auto;
    text-align: right;
    white-space: nowrap;
  }
}

@media (min-width: 761px) and (max-width: 819px) {
  .detail-page .detail-heading > div {
    flex-direction: row;
    align-items: center;
    gap: 24px;
  }

  .detail-page .detail-heading h1 {
    min-width: 0;
    flex: 1 1 auto;
    white-space: nowrap;
  }

  .detail-page .detail-heading strong {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

@media (min-width: 820px) and (max-width: 949px) {
  .detail-page .detail-heading > div {
    flex-direction: row;
    align-items: center;
  }

  .detail-page .detail-heading h1 {
    min-width: 0;
    flex: 1 1 auto;
    white-space: nowrap;
  }

  .detail-page .detail-heading strong {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

@media (min-width: 950px) and (max-width: 1439px) {
  .detail-page .detail-heading > div {
    flex-direction: row;
    align-items: center;
  }

  .detail-page .detail-heading h1 {
    min-width: 0;
    flex: 1 1 auto;
    white-space: nowrap;
  }

  .detail-page .detail-heading strong {
    flex: 0 0 auto;
    font-size: 32px;
    line-height: 30px;
    white-space: nowrap;
  }
}

.detail-page .share-dialog-panel {
  border-radius: 10px !important;
}

@media (min-width: 640px) {
  .detail-page .detail-shell {
    margin-top: 80px;
  }
}
