/**
 * Whitepaper Summary Block – layout and styles to match design
 * Two columns: left = title + intro + bullets + CTA, right = cover image + form
 */

/* ---- Section spacing & alignment ---- */
.l-summary-main,
.l-summary-download {
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1200px) {
  .l-summary-main,
  .l-summary-download {
    padding-left: 0;
    padding-right: 0;
  }

  .l-summary-main {
    margin-top: 240px;
    text-align: left;
  }

  .l-summary-main .l-title {
    text-align: left;
  }

  .l-summary-main .l-title .light-blue {
    font-size: clamp(36px, 4vw, 64px);
  }

  .l-summary-download {
    margin-bottom: 80px;
  }

  .l-summary-download-form {
    margin-top: 0;
  }
}

.l-summary-main {
  margin-top: 240px;
  margin-bottom: 90px;
  text-align: center;
}

.l-summary-download {
  margin-top: 0;
  margin-bottom: 60px;
}

/* ---- Two-column grid: same ratio for both sections ---- */
@media (min-width: 1200px) {
  .l-summary-main .wrap {
    display: grid;
    grid-template-columns: 58% 42%;
    gap: 40px;
    align-items: start;
  }

  .l-summary-download .wrap {
    display: block;
  }

  .l-summary-download-container {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 40px;
    align-items: start;
  }
}

/* ---- Left column: Title ---- */
.l-summary-main .l-title {
  font-family: var(--font-family-britanicaSEB);
  font-size: clamp(36px, 4vw, 64px);
  line-height: 1.2;
  color: #0A0B40;
  margin: 0 0 24px 0;
  padding-left: 0;
  text-indent: 0;
}

.l-summary-main .l-title .light-blue {
  color: #5ED7EE;
  display: block;
  margin-top: 0.1em;
  font-size: clamp(36px, 4vw, 64px);
}

/* ---- Right column (row 1): Cover image ---- */
.l-summary-main .wrap img {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  margin: 24px auto 0;
}

@media (min-width: 1200px) {
  .l-summary-main .wrap img {
    margin: 0;
    justify-self: end;
    transform: translate(-50px);
  }
}


/* ---- Left column: Intro & list ---- */
.l-summary-download-text {
  text-align: left;
}

.l-summary-download-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--blue-dark);
  margin: 0 0 16px 0;
}

.l-summary-download-text p strong {
  font-weight: 700;
  color: var(--blue-dark);
}

.l-summary-download-text ul {
  list-style-type: disc;
  list-style-position: outside;
  margin: 0 0 20px 1.2em;
  padding: 0;
}

.l-summary-download-text ul li {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--blue-dark);
  margin-bottom: 10px;
}

.l-summary-download-text ul li:last-child {
  margin-bottom: 0;
}

/* ---- Right column (row 2): Form container ---- */
.l-summary-download-form {
  background-color: rgba(0, 0, 0, 0.04);
  padding: 60px 45px 30px;
  margin-top: 24px;
}

/* HubSpot form wrapper */
.l-summary-download-form .hs-form {
}

.l-summary-download-form .hs-form-field {
  margin-bottom: 20px;
}

.l-summary-download-form .hs-form-field label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #333333;
  margin-bottom: 6px;
}

.l-summary-download-form .hs-form-field input[type="text"],
.l-summary-download-form .hs-form-field input[type="email"] {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 10px 0 10px 0;
  font-size: 1rem;
  color: #333333;
  background: #ffffff;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0;
  outline: none;
}

.l-summary-download-form .hs-form-field input::placeholder {
  color: #999999;
  font-style: italic;
}

.l-summary-download-form .hs-form-field input:focus {
  border-bottom-color: #5ED7EE;
}

/* Checkbox + legal text */
.l-summary-download-form .hs-form-field .hs-form-field__checkbox {
  margin-top: 16px;
  margin-bottom: 20px;
}

.l-summary-download-form .hs-form-field .hs-form-field__checkbox label {
  font-weight: 400;
  font-size: 0.9375rem;
}

.l-summary-download-form .hs-form-field .hs-form-field__checkbox + .hs-form-field__description,
.l-summary-download-form .hs-form-field .hs-field-desc {
  font-size: 0.75rem;
  line-height: 1.5;
  color: #666666;
  margin-top: 8px;
  margin-bottom: 0;
}

.l-summary-download-form .hs-form-field a {
  color: #0A0B40;
  text-decoration: underline;
}

/* Submit button */
.l-summary-download-form .hs-button.primary,
.l-summary-download-form input[type="submit"],
.l-summary-download-form .hs_submit .actions input {
  display: inline-block;
  width: 100%;
  max-width: 100%;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  color: #ffffff;
  background-color: #5ED7EE;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.2s ease;
}

.l-summary-download-form .hs-button.primary:hover,
.l-summary-download-form input[type="submit"]:hover,
.l-summary-download-form .hs_submit .actions input:hover {
  background-color: #4bc4db;
}

