/* Credits pages header: description under H1 + "How do we select offers?" link and popup */

.credits-selection__description {
  margin-bottom: 0.75rem;
  line-height: 1.5;
  color: #172A3A;
}

a.credits-selection__link,
a.credits-selection__link:focus,
a.credits-selection__link:active,
a.credits-selection__link:visited {
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.43;
  color: #172A3A;
  text-decoration: underline;
  outline: none;
}

/* orange only on mouse hover */
a.credits-selection__link:hover {
  color: #E84F35;
  text-decoration: underline;
}

/* desktop: link on the right of H1, the title wraps around it */
.credits-selection__link--desktop {
  float: right;
  margin: 0.5rem 0 0 1.5rem;
}

/* popup */
.credits-selection-modal .modal-dialog {
  max-width: 440px;
}

.credits-selection-modal .modal-content {
  border: 0;
  border-radius: 0.5rem;
}

.credits-selection-modal .modal-header {
  position: relative;
  padding: 1.5rem 3.5rem 0 1.5rem;
  border-bottom: 0;
}

.credits-selection-modal .modal-title {
  margin-bottom: 0;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.3;
  color: #172A3A;
}

.credits-selection-modal .close {
  position: absolute;
  top: 1.625rem;
  right: 1.5rem;
  margin: 0;
  padding: 0;
  opacity: 1;
}

.credits-selection-modal .modal-body {
  padding: 1rem 1.5rem 1.5rem;
}

.credits-selection-modal .modal-body p {
  margin-bottom: 1rem;
  font-size: 0.875rem;
  line-height: 1.43;
  color: #172A3A;
}

.credits-selection-modal__btn {
  margin-top: 0.5rem;
  padding-block: 0.75rem;
  font-weight: 700;
}

@media (max-width: 575px) {
  .credits-selection-modal .modal-dialog {
    margin: 1rem;
  }

  .credits-selection-modal .modal-header {
    padding: 1.25rem 3rem 0 1.25rem;
  }

  .credits-selection-modal .modal-title {
    font-size: 1.25rem;
  }

  .credits-selection-modal .close {
    top: 1.375rem;
    right: 1.25rem;
  }

  .credits-selection-modal .modal-body {
    padding: 1rem 1.25rem 1.25rem;
  }
}
