.download-detail-page {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  min-height: 0;
  margin-top: 0;
  margin-bottom: 0;
  background-color: #ffffff;
  overflow-x: clip;
}

.download-detail-page__hero {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  height: 300px;
}

.download-detail-page__hero-image {
  width: 100%;
  height: 300px !important;
  object-fit: cover;
}

.download-detail-page__hero-image--mobile {
  display: none;
}

.download-detail-page__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 300px;
  background-color: #000000;
  opacity: 0.51;
}

.download-detail-page__background {
  display: none;
}

.download-detail-page__section-rule {
  display: none;
}

.download-detail-page__title {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  justify-self: center;
  width: min(1050px, calc(100% - 64px));
  margin-top: 0;
  margin-right: 0;
  margin-bottom: -32px;
  margin-left: 0;
  color: #ffffff;
  font-size: 128px;
  font-weight: 400;
  line-height: 156.032px;
  letter-spacing: 0;
  z-index: 2;
}

.download-detail-page__breadcrumb {
  grid-column: 1;
  grid-row: 2;
  justify-self: center;
  width: 100%;
  margin-top: 20px;
}

.download-detail-page__breadcrumb-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  color: #000000;
  font-size: 12px;
  font-weight: 400;
  line-height: 14.628px;
  width: calc(50% - 140px);
  justify-content: center;
}

.download-detail-page__breadcrumb-nav a {
  color: inherit;
  text-decoration: none;
}

.download-detail-content {
  grid-column: 1;
  grid-row: 3;
  display: grid;
  grid-template-columns: 50%; /** minmax(0, 770px) minmax(0, 670px); **/
  width: 100%;
  gap:85px;
  margin-top: 30px;
  margin-bottom: 100px;
  height: auto;
  z-index: 1;
  position: relative;
  margin-right: auto;
  margin-left: auto;
}

.download-detail-content::before {
  content: "";
  height: 10px;
  background-color: #939393;
  position: absolute;
  top:65px;
  left:0;
  width: calc(75% + 125px);
  z-index: 1;
}


.download-detail-content__guide {
  position: relative;
  width: 100%;
  height: auto;
  padding-top: 27px;
  box-sizing: border-box;
}

.download-detail-content__guide-title {
  width: 100%;
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
  color: #000000;
  font-size: 32px;
  font-weight: 700;
  line-height: 39.008px;
  text-align: center;
}

.download-detail-card {
  position: relative;
  width: 100%;
  height: auto;
}

.download-detail-card__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  width:90%;
  margin-right: 0;
  margin-left: auto;
  height: auto;
  margin-top: 54px;
  margin-bottom: 24px;

}

.download-detail-card__top {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
}

.download-detail-card__image {
  width: 100%;
  height: auto;
  aspect-ratio: 593 / 398.837;
  object-fit: cover;
}

.download-detail-card__title {
  width: 100%;
  margin-top: 46px;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
  color: #000000;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
}

.download-detail-card__intro {
  width: 100%;
  margin-top: 46px;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
  color: #000000;
  font-size: 20px;
  font-weight: 400;
  line-height: 24.38px;
}

.download-detail-card__divider {
  width: 100%;
  height: 1px;
  margin-top: 35px;
  background-color: #939393;
}

.download-detail-card__list {
  width: 100%;
  margin-top: 35px;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
  color: #000000;
  font-size: 20px;
  font-weight: 400;
  line-height: 24.38px;
  text-align: left;
  line-break: strict;
  word-break: normal;
  overflow-wrap: anywhere;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.download-detail-form-panel {
  display: none;
}

.download-detail-form-section {
  position: sticky;
  top: 24px;
  align-self: start;
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: fit-content;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background-color: #d9d9d9;
}

.download-detail-form-section__inner {
  position: relative;
  width: 80%;
  height: auto;
  margin-top: 128px;
  margin-right: auto;
  margin-bottom: 48px;
  margin-left: auto;
}

.download-detail-form {
  display: flex;
  flex-direction: column;
  gap: 37px;
  width: 100%;
}

.download-detail-form__row {
  display: flex;
}

.download-detail-form__row--split {
  flex-direction: row;
  gap: 34px;
  width: 100%;
}

.download-detail-form__field {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.download-detail-form__field--half {
  flex: 1 1 0;
  width: auto;
}

.download-detail-form__field--full {
  width: 100%;
}

.download-detail-form__field--mobile-only {
  display: none;
}

.download-detail-form__field span {
  width: 100%;
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 10px;
  margin-left: 0;
  color: #000000;
  font-size: 20px;
  font-weight: 700;
  line-height: 24.38px;
}

.download-detail-form__required {
  color: #E90815 !important;
}

.download-detail-form__field input {
  width: 100%;
  height: 59px;
  padding-top: 0;
  padding-right: 16px;
  padding-bottom: 0;
  padding-left: 16px;
  border-top-width: 0;
  border-right-width: 0;
  border-bottom-width: 0;
  border-left-width: 0;
  border-radius: 10px;
  background-color: #ffffff;
  color: #000000;
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 24.38px;
  box-sizing: border-box;
  outline: none;
}

.download-detail-form-section__privacy-copy {
  width: 100%;
  margin-top: 43px;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
  color: #000000;
  font-size: 20px;
  font-weight: 400;
  line-height: 24.38px;

  & a {
    color: #000000;
  }
}

.download-detail-form-section__privacy-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 7px;
  width: 100%;
  margin-top: 43px;
}

.download-detail-form-section__privacy-check {
  position: relative;
  width: 17px;
  height: 17px;
  margin-top: 3.5px;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;
  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;
  border-top-color: #939393;
  border-right-color: #939393;
  border-bottom-color: #939393;
  border-left-color: #939393;
  appearance: none;
  -webkit-appearance: none;
  background-color: #ffffff;
  cursor: pointer;
}

.download-detail-form-section__privacy-check:checked {
  background-color: #C30D23;
  border-color: #C30D23;
}

.download-detail-form-section__privacy-check:checked::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 5px;
  width: 5px;
  height: 9px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.download-detail-form-section__privacy-row span {
  width: calc(100% - 24px);
  color: #000000;
  font-size: 20px;
  font-weight: 400;
  line-height: 24.38px;
}

.download-detail-form-section__submit {
  /* width: 163px;
  height: 35px; */
  padding:5px 26px;
  margin-top: 44px;
  margin-right: auto;
  margin-bottom: 0;
  margin-left: auto;
  border-top-width: 0;
  border-right-width: 0;
  border-bottom-width: 0;
  border-left-width: 0;
  border-radius: 10px;
  background-color: #e90815;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 29.256px;
  cursor: pointer;
  display: block;
}

.download-detail-form-section__submit:disabled,
.download-detail-form-section__submit.is-loading {
  cursor: not-allowed;
  opacity: 0.6;
}

.download-detail-form-section__trust {
  width: 100%;
  max-width: 480px;
  margin: 16px auto 0;
  color: #555555;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 768px) {
  .download-detail-page {
    max-width: 440px;
    min-height: 0;
  }

  .download-detail-page__hero {
    width: 100%;
    height: 286px;
  }

  .download-detail-page__hero-image--desktop {
    display: none;
  }

  .download-detail-page__hero-image--mobile {
    display: block;
    width: 100%;
    height: 286px !important;
  }

  .download-detail-page__hero-overlay {
    width: 100%;
    height: 286px;
  }

  .download-detail-page__background {
    top: 504px;
    left: 0;
    width: 100%;
    height: 410px;
  }

  .download-detail-page__section-rule {
    display: none;
  }

  .download-detail-page__title {
    align-self: center;
    justify-self: center;
    width: calc(100% - 44px);
    margin-bottom: 0;
    font-size: 60px;
    line-height: 73.14px;
  }

  .download-detail-page__breadcrumb {
    justify-self: start;
    width: calc(100% - 42px);
    margin-top: 18px;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 40px;
  }

  .download-detail-page__breadcrumb-nav {
    margin-left: 0;
    width: 100%;
    justify-content: start;
  }

  .download-detail-content::before {
    top:30px;
    width: min(375px, calc(100% - 30px));
  }

  .download-detail-content {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 30px;
    margin-bottom: 0;
    position: relative;
  }

  .download-detail-content__guide {
    width: 100%;
    height: auto;
    padding-top: 0;
  }

  .download-detail-content__guide-title {
    width: 275px;
    margin-left: 41px;
    font-size: 22px;
    line-height: 26.818px;
    text-align: left;
  }

  .download-detail-card {
    width: 100%;
    height: auto;
  }

  .download-detail-card__inner {
    width: 100%;
    height: auto;
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 0;
  }

  .download-detail-card__top {
    width: 100%;
    height: auto;
  }

  .download-detail-card__image {
    width: min(375px, calc(100% - 64px));
    height: auto;
    aspect-ratio: 375 / 252;
    margin-top: 44px;
    margin-right: auto;
    margin-bottom: 0;
    margin-left: auto;
  }

  .download-detail-card__title {
    width: 300px;
    margin-top: 32px;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 41px;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
  }

  .download-detail-card__intro {
    width: min(375px, calc(100% - 65px));
    margin-top: 32px;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 41px;
    font-size: 16px;
    line-height: 19.504px;
  }

  .download-detail-card__divider {
    width: 375px;
    margin-top: 29px;
    margin-right: auto;
    margin-bottom: 0;
    margin-left: auto;
  }

  .download-detail-card__list {
    width: min(375px, calc(100% - 65px));
    margin-top: 29px;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 41px;
    font-size: 16px;
  }

  .download-detail-form-panel {
    display: none;
  }

  .download-detail-form-section {
    position: static;
    top: auto;
    max-height: none;
    overflow-y: visible;
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    min-height: 0;
    margin-top: 40px;
    padding-top: 40px;
    padding-bottom: 48px;
  }

  .download-detail-form-section__trust {
    width: calc(100% - 86px);
    margin-top: 14px;
    margin-right: auto;
    margin-left: auto;
    font-size: 12px;
  }

  .download-detail-form-section__inner {
    width: 100%;
    max-width: none;
    height: auto;
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 0;
  }

  .download-detail-form {
    gap: 23px;
    width: 100%;
  }

  .download-detail-form__row--split {
    display: none;
  }

  .download-detail-form__field--mobile-only {
    display: flex;
  }

  .download-detail-form__field,
  .download-detail-form__field--full,
  .download-detail-form__field--mobile-only {
    width: 100%;
  }

  .download-detail-form__field span {
    width: 354px;
    margin-right: 0;
    margin-left: 43px;
    font-size: 16px;
    line-height: 19.504px;

    & span {
      margin-left: 0;
    }
  }

  .download-detail-form__field input {
    width: calc(100% - 86px);
    height: 45px;
    margin-right: auto;
    margin-left: auto;
    font-size: 16px;
    line-height: 19.504px;
  }

  .download-detail-form-section__privacy-copy {
    width: 80%;
    margin-top: 27px;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 43px;
    font-size: 14px;
    line-height: 17.066px;
  }

  .download-detail-form-section__privacy-row {
    width: 353px;
    margin-top: 24px;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 43px;
  }

  .download-detail-form-section__privacy-row span {
    width: 329px;
    font-size: 14px;
    line-height: 17.066px;
  }

  .download-detail-form-section__submit {
    /* width: 146px;
    height: 31px; */
    margin-top: 34px;
    margin-right: auto;
    margin-bottom: 0;
    margin-left: auto;
    font-size: 24px;
    line-height: 29.256px;
  }

  .download-detail-form-section__privacy-check {
    margin-top: 0;
  }
}

/* Error banner rendered above the form when ?dl_error=<code> is present. */
.download-detail-form-section__error {
    background: #fbeaea;
    border: 1px solid #e3051b;
    color: #8a1f11;
    padding: 12px 16px;
    border-radius: 4px;
    margin: 0 0 24px;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
}

@media (max-width: 440px) {

  .download-detail-page__title {
    font-size: 50px;
    text-align: center;
  }

  .download-detail-content::before {
    width: min(410px, calc(100% - 30px));
  }
}

/* Default typography for native HTML tags inside post content (single-download). */
.download-detail-card__list h2,
.download-detail-card__list h3,
.download-detail-card__list h4,
.download-detail-card__list h5,
.download-detail-card__list h6,
.download-detail-card__list ul,
.download-detail-card__list ol,
.download-detail-card__list blockquote {
  white-space: normal;
}

.download-detail-card__list h2 {
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 2px solid #e90815;
  color: #000;
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}

.download-detail-card__list h3 {
  margin: 0;
  padding: 4px 0 4px 12px;
  border-left: 4px solid #e90815;
  color: #000;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
}

.download-detail-card__list h4 {
  margin: 0;
  color: #000;
  font-size: 18px;
  font-weight: 700;
  line-height: 26px;
}

.download-detail-card__list h5,
.download-detail-card__list h6 {
  margin: 0;
  color: #000;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

.download-detail-card__list strong,
.download-detail-card__list b {
  color: inherit;
  font-weight: 700;
}

.download-detail-card__list em,
.download-detail-card__list i {
  color: inherit;
  font-style: italic;
}

.download-detail-card__list a {
  color: #e90815;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.download-detail-card__list a:hover {
  opacity: 0.8;
}

.download-detail-card__list ul,
.download-detail-card__list ol {
  margin: 0;
  padding-left: 24px;
  color: #000;
  font-size: 16px;
  line-height: 24px;
}

.download-detail-card__list ul {
  list-style: disc;
}

.download-detail-card__list ol {
  list-style: decimal;
}

.download-detail-card__list li + li {
  margin-top: 4px;
}

.download-detail-card__list blockquote {
  margin: 0;
  padding: 4px 0 4px 16px;
  border-left: 3px solid #e90815;
  color: #555;
  font-style: italic;
}

@media (max-width: 768px) {
  .download-detail-card__list h2 {
    font-size: 20px;
    line-height: 28px;
  }

  .download-detail-card__list h3 {
    font-size: 18px;
    line-height: 26px;
  }

  .download-detail-card__list h4 {
    font-size: 16px;
    line-height: 24px;
  }
}
