.lon-loan-calculator {
  background: #ffffff;
  padding: 58px 0 96px;
}

.lon-loan-calculator__inner {
  box-sizing: border-box;
  margin: 0 auto;
  max-width: 1240px;
}

.lon-loan-calculator__choice-grid {
  column-gap: 86px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 56px;
  row-gap: 28px;
}

.lon-loan-calculator__choice-group {
  border: 0;
  margin: 0;
  min-inline-size: 0;
  padding: 0;
}

.lon-loan-calculator__choice-label {
  color: #000000;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: normal;
  margin-bottom: 16px;
  padding: 0;
}

.lon-loan-calculator__choice-options {
  align-items: center;
  column-gap: 36px;
  display: flex;
  flex-wrap: wrap;
  row-gap: 10px;
}

.lon-loan-calculator__choice-option {
  align-items: center;
  color: #000000;
  cursor: pointer;
  display: inline-flex;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 500;
  gap: 12px;
  line-height: normal;
}

.lon-loan-calculator__choice-option input {
  -webkit-appearance: none;
  appearance: none;
  background: #ffffff;
  border: 1px solid #000000;
  border-radius: 50%;
  display: inline-block;
  height: 20px;
  margin: 0;
  position: relative;
  width: 20px;
}

.lon-loan-calculator__choice-option input::before {
  background: #228176;
  border-radius: 50%;
  content: "";
  height: 10px;
  inset: 4px;
  opacity: 0;
  position: absolute;
  transform: scale(0.85);
  transition: opacity 0.2s ease;
  width: 10px;
}

.lon-loan-calculator__choice-option input:checked {
  border-color: #228176;
}

.lon-loan-calculator__choice-option input:checked::before {
  opacity: 1;
}

.lon-loan-calculator__choice-option input:focus-visible {
  outline: 2px solid #228176;
  outline-offset: 2px;
}

.lon-loan-calculator__choice-option input:checked + span {
  font-weight: 700;
}

.lon-loan-calculator__sliders {
  column-gap: 71px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 52px;
  row-gap: 28px;
}

.lon-loan-calculator__slider-head {
  align-items: baseline;
  column-gap: 16px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 28px;
}

.lon-loan-calculator__slider-label {
  color: #000000;
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 500;
  line-height: normal;
  margin: 0;
}

.lon-loan-calculator__slider-value {
  align-items: baseline;
  color: #000000;
  display: flex;
  flex-shrink: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 700;
  gap: 10px;
  line-height: normal;
  margin: 0;
  white-space: nowrap;
}

.js-lon-loan-primary-value,
.js-lon-loan-term-value {
  display: inline-block;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.js-lon-loan-primary-value {
  min-width: 8ch;
}

.js-lon-loan-term-value {
  min-width: 3ch;
}

.lon-loan-calculator__slider-value span:last-child {
  font-size: 22px;
  font-weight: 500;
}

.lon-loan-calculator__slider {
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(90deg, #d8a84e 0%, #228176 100%) 0 0 / var(--slider-progress, 50%) 100% no-repeat, rgba(211, 211, 209, 0.4);
  border-radius: 100px;
  cursor: pointer;
  height: 10px;
  margin: 0;
  width: 100%;
}

.lon-loan-calculator__slider::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  box-shadow: none;
  height: 10px;
}

.lon-loan-calculator__slider::-moz-range-track {
  background: transparent;
  border: 0;
  height: 10px;
}

.lon-loan-calculator__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  background: #228176;
  border: 3px solid #228176;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(34, 129, 118, 0.18);
  height: 31px;
  margin-top: -10px;
  width: 31px;
}

.lon-loan-calculator__slider::-moz-range-thumb {
  background: #228176;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(34, 129, 118, 0.18);
  height: 31px;
  width: 31px;
}

.lon-loan-calculator__slider:focus-visible {
  outline: 2px solid #228176;
  outline-offset: 6px;
}

.lon-loan-calculator__slider-marks {
  color: #000000;
  display: flex;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 500;
  justify-content: space-between;
  line-height: normal;
  margin-top: 16px;
}

.lon-loan-calculator__slider-help {
  margin: 14px 0 0;
  color: #555;
  font-size: 14px;
  line-height: 1.45;
}

.lon-loan-calculator__slider-marks span {
  min-width: 56px;
}

.lon-loan-calculator__slider-marks span:nth-child(2) {
  text-align: center;
}

.lon-loan-calculator__slider-marks span:nth-child(3) {
  text-align: right;
}

.lon-loan-calculator__calculate-btn {
  background: #ffffff;
  border: 1px solid #000000;
  color: #000000;
  cursor: pointer;
  display: inline-flex;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 600;
  justify-content: center;
  line-height: normal;
  margin-bottom: 36px;
  min-height: 53px;
  min-width: 227px;
  padding: 16px 28px;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.lon-loan-calculator__calculate-btn:hover,
.lon-loan-calculator__calculate-btn:focus-visible {
  background: #228176;
  border-color: #228176;
  color: #ffffff;
}

.lon-loan-calculator__results {
  background: linear-gradient(#ffffff, #ffffff) padding-box, linear-gradient(90deg, #d8a84e 0%, #228176 100%) border-box;
  border: 2px solid transparent;
}

.lon-loan-calculator__result-columns {
  column-gap: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  padding: 38px 22px 0;
}

.lon-loan-calculator__combined-explanation {
  border-top: 1px solid #d9d9d9;
  color: #000000;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
  margin: 28px 22px 0;
  padding: 28px 16px 0 0;
  white-space: pre-line;
}

.lon-loan-calculator__result-title {
  color: #000000;
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: normal;
  margin: 0 0 32px;
}

.lon-loan-calculator__row {
  border-bottom: 1px solid #d9d9d9;
  padding: 0 16px 22px 0;
}

.lon-loan-calculator__row + .lon-loan-calculator__row {
  margin-top: 27px;
}

.lon-loan-calculator__row-label {
  color: #000000;
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
  margin: 0 0 14px;
}

.lon-loan-calculator__row-value {
  align-items: baseline;
  color: #000000;
  display: flex;
  flex-wrap: wrap;
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 500;
  gap: 8px;
  line-height: 1.4;
  margin: 0;
}

.lon-loan-calculator__row-value:not(.lon-loan-calculator__row-value--multiline) span:first-child {
  font-weight: 700;
}

.lon-loan-calculator__row-value--accent {
  color: #228176;
  font-size: 30px;
}

.lon-loan-calculator__row-value--accent span:first-child {
  font-weight: 700;
}

.lon-loan-calculator__row-value--accent span:last-child {
  color: #000000;
  font-size: 20px;
  font-weight: 500;
}

.lon-loan-calculator__row-help {
  color: #000000;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
  margin: 10px 0 0;
}

.lon-loan-calculator__detail-list {
  margin-top: 28px;
}

.lon-loan-calculator__row-value--multiline {
  display: block;
  line-height: 1.5;
}

.lon-loan-calculator__row-value--multiline .lon-loan-calculator__row-value-strong {
  font-weight: 700;
}

.lon-loan-calculator__row-value--accent-strong {
  color: #228176;
  font-size: 30px;
  font-weight: 700;
}

.lon-loan-calculator__row-value--accent-strong span {
  font-weight: 700;
}

.lon-loan-calculator__row-value--accent-strong span:last-child {
  font-size: 30px;
}

.lon-loan-calculator__row--last {
  border-bottom: 0;
}

.lon-loan-calculator__toggle {
  align-items: center;
  background: transparent;
  border: 0;
  border-top: 1px solid #d9d9d9;
  color: #228176;
  cursor: pointer;
  display: flex;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 600;
  gap: 12px;
  justify-content: center;
  line-height: normal;
  min-height: 86px;
  padding: 20px;
  width: 100%;
}

.lon-loan-calculator__toggle-icon {
  display: inline-block;
  height: 16px;
  position: relative;
  width: 16px;
}

.lon-loan-calculator__toggle-icon::before,
.lon-loan-calculator__toggle-icon::after {
  background: #228176;
  content: "";
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.lon-loan-calculator__toggle-icon::before {
  height: 2px;
  width: 16px;
}

.lon-loan-calculator__toggle-icon::after {
  height: 16px;
  transition: opacity 0.2s ease;
  width: 2px;
}

.lon-loan-calculator__results.is-expanded .lon-loan-calculator__toggle-icon::after {
  opacity: 0;
}

.lon-loan-calculator__offer-btn {
  align-items: center;
  background: #228176;
  border: 1px solid #228176;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 600;
  justify-content: center;
  line-height: normal;
  margin-top: 34px;
  min-height: 53px;
  min-width: 227px;
  padding: 16px 28px;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.lon-loan-calculator__offer-btn:hover,
.lon-loan-calculator__offer-btn:focus-visible {
  background: #ffffff;
  border-color: #228176;
  color: #228176;
}

.lon-loan-calculator__disclaimer {
  color: #000000;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.625;
  margin: 26px 0 0;
  max-width: 1192px;
}

.lon-loan-calculator__disclaimer-paragraph {
  margin: 0;
}

.lon-loan-calculator__disclaimer-paragraph + .lon-loan-calculator__disclaimer-paragraph {
  margin-top: 1em;
}

.lon-loan-calculator__disclaimer-html p,
.lon-loan-calculator__disclaimer-html ul,
.lon-loan-calculator__disclaimer-html ol {
  margin: 0;
}

.lon-loan-calculator__disclaimer-html p + p,
.lon-loan-calculator__disclaimer-html ul,
.lon-loan-calculator__disclaimer-html ol {
  margin-top: 1em;
}

.lon-loan-calculator__disclaimer-html ul,
.lon-loan-calculator__disclaimer-html ol {
  padding-left: 1.25em;
}

.lon-loan-calculator__disclaimer-link {
  color: #228176;
  font-weight: 700;
  text-decoration: none;
}

.lon-loan-calculator__disclaimer-link:hover,
.lon-loan-calculator__disclaimer-link:focus-visible {
  text-decoration: underline;
}

@media (max-width: 1439px) {
  .lon-loan-calculator__inner {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 1250px) {
  .lon-loan-calculator__slider-label,
  .lon-loan-calculator__result-title {
    font-size: 22px;
  }

  .lon-loan-calculator__slider-value {
    font-size: 20px;
  }

  .lon-loan-calculator__result-columns {
    column-gap: 24px;
  }
}

@media (max-width: 1024px) {
  .lon-loan-calculator {
    padding: 48px 0 84px;
  }

  .lon-loan-calculator__choice-grid,
  .lon-loan-calculator__sliders {
    grid-template-columns: minmax(0, 1fr);
  }

  .lon-loan-calculator__result-columns {
    grid-template-columns: minmax(0, 1fr);
    padding-bottom: 12px;
    row-gap: 28px;
  }

  .lon-loan-calculator__row,
  .lon-loan-calculator__row--last {
    border-bottom: 1px solid #d9d9d9;
  }

  .lon-loan-calculator__result-col--last-visible .lon-loan-calculator__row--last {
    border-bottom: 0;
  }

  .lon-loan-calculator__combined-explanation {
    margin-left: 14px;
    margin-right: 14px;
    padding-right: 0;
  }
}

@media (max-width: 640px) {
  .lon-loan-calculator {
    padding: 42px 0 68px;
  }

  .lon-loan-calculator__inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .lon-loan-calculator__slider-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .lon-loan-calculator__slider-label,
  .lon-loan-calculator__result-title {
    font-size: 22px;
  }

  .lon-loan-calculator__slider-value {
    font-size: 20px;
    gap: 6px;
  }

  .lon-loan-calculator__slider-value span:last-child {
    font-size: 18px;
  }

  .lon-loan-calculator__calculate-btn,
  .lon-loan-calculator__offer-btn {
    font-size: 18px;
    min-height: 53px;
    padding: 14px 20px;
    width: 100%;
  }

  .lon-loan-calculator__result-columns {
    padding: 24px 14px 0;
  }

  .lon-loan-calculator__row {
    padding-right: 0;
  }

  .lon-loan-calculator__row-label,
  .lon-loan-calculator__row-value {
    font-size: 18px;
  }

  .lon-loan-calculator__row-value--accent,
  .lon-loan-calculator__row-value--accent-strong,
  .lon-loan-calculator__row-value--accent-strong span:last-child {
    font-size: 26px;
  }

  .lon-loan-calculator__disclaimer {
    font-size: 15px;
    line-height: 1.6;
  }
}
