/* Debt relief advertorial (seniors)
   Design: our page articles.comparisons.org/2301660.php
   Sizes and density: like the Credible Reviews page (Alex, 3/12) - 632px column, compact boxes and buttons */

*,
*::before,
*::after { box-sizing: border-box; }

html, body {
  margin: 0;
  background: #fff;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  line-height: 1.65;
  color: #000;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; display: block; }

a { color: #069; }

p { margin: 0 0 20px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 16px 24px 48px;
}

/* ---------- Top line ---------- */
.smallText {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.6;
  color: #888;
  text-align: center;
}
.blueText { color: #326b9a; }

/* ---------- Headline ---------- */
h1 {
  margin: 0 0 16px;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.03rem;
  text-align: center;
  text-wrap: balance;
}

.subhead {
  margin: 0 0 18px;
  font-size: 21px;
  line-height: 1.45;
  font-style: italic;
  color: #333;
  text-align: center;
  text-wrap: balance;
}

h2 {
  margin: 38px 0 16px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  text-wrap: balance;
  scroll-margin-top: 16px;
}

/* ---------- Author (2301660) ---------- */
.authorBox {
  display: flex;
  align-items: center;
  margin: 0 0 22px;
  padding: 8px 0;
  border-top: 1px solid #00a5fa;
  border-bottom: 1px solid #00a5fa;
}
.authorImg {
  width: 35px;
  height: 35px;
  border-radius: 100%;
  margin-right: 16px;
  object-fit: cover;
}
.authorBox p { margin: 0; font-size: 14px; }

/* ---------- Hero image ---------- */
.hero-link { display: block; text-decoration: none; }
.hero { width: 100%; height: auto; border-radius: 4px; }

.caption {
  margin: 8px 0 24px;
  font-size: 13px;
  line-height: 1.6;
  font-style: italic;
  color: #666;
  text-wrap: pretty;
}

/* ---------- Buttons (2301660 color, competitor size) ---------- */
.btnWrap { margin: 0 0 28px; text-align: center; }
.greenButton {
  display: inline-block;
  padding: 16px 34px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  color: #fff;
  text-align: center;
  text-decoration: none;
  background: #4c67bd;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,.12);
  cursor: pointer;
}
.greenButton:hover,
.greenButton:focus-visible { background: #3d56a6; color: #fff; }

/* ---------- Boxes: qualify + notes (quoteBox in 2301660) ---------- */
.quoteBox {
  margin: 0 0 28px;
  padding: 24px 26px;
  background: #f2f4f7;
  border-left: 4px solid #069;
  border-radius: 6px;
}
.quoteBox__title {
  display: block;
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}
.checks { margin: 0; padding: 0; list-style: none; }
.checks li {
  position: relative;
  margin: 0 0 12px;
  padding-left: 30px;
  font-size: 17px;
  line-height: 1.45;
  color: #222;
}
.checks li:last-child { margin-bottom: 0; }
.checks li::before {
  content: "\2713";
  position: absolute;
  left: 2px;
  top: 0;
  font-weight: 700;
  color: #069;
}

.note { margin: 30px 0; padding: 22px 24px; }
.note p { margin: 0; font-size: 17px; line-height: 1.65; color: #222; }
.note .quoteBox__title { margin-bottom: 8px; }

/* ---------- Savings estimator (credit-box colors in 2301660, competitor sizes) ---------- */
.estimator {
  margin: 34px 0 14px;
  padding: 30px 28px;
  background: linear-gradient(to bottom, #f4f7fb, #e7f0f7);
  border: 1px solid #e0e8f0;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0,0,0,.08);
  text-align: center;
  scroll-margin-top: 16px;
}
.est__eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .1em;
  color: #326b9a;
}
.estimator h2 {
  margin: 0 0 4px;
  font-size: 24px;
  color: #123b5d;
}
.est__q {
  margin: 0 0 22px;
  padding: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}
.est__balLabel { margin: 0 0 4px; font-size: 14px; line-height: 1.6; color: #555; }
.est__bal {
  margin: 0 0 18px;
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
  color: #123b5d;
}

/* slider */
.est__slider {
  --fill: 24.24%;
  display: block;
  width: 100%;
  height: 8px;
  margin: 0;
  border-radius: 8px;
  background: linear-gradient(to right, #0074c9 0%, #0074c9 var(--fill), #cfdbe7 var(--fill), #cfdbe7 100%);
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  cursor: pointer;
}
.est__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid #0074c9;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.est__slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid #0074c9;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.est__slider:focus-visible { outline: 3px solid #4c67bd; outline-offset: 6px; }
.est__ends {
  display: flex;
  justify-content: space-between;
  margin: 10px 2px 24px;
  font-size: 13px;
  line-height: 1.6;
  color: #555;
}

/* results */
.results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 24px;
}
.results__item {
  padding: 16px 8px;
  background: #fff;
  border-radius: 8px;
}
.results__item--save { background: #0074c9; }
.results__label {
  display: block;
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.4;
  color: #555;
}
.results__value {
  display: block;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.05;
  color: #123b5d;
}
.results__value small { font-size: .6em; }
.results__item--save .results__label { color: #e3f0fb; }
.results__item--save .results__value { color: #fff; }

.est__note {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: #555;
  text-wrap: pretty;
}

/* ---------- Trust row ---------- */
.trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 16px;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  line-height: 1.6;
  color: #555;
}
.trust li::before {
  content: "\2713";
  margin-right: 5px;
  font-weight: 700;
  color: #069;
}

/* ---------- Steps ---------- */
.step { margin: 0 0 12px; font-size: 17px; line-height: 1.65; }

/* ---------- State map (2301660) ---------- */
.mapTitle { margin: 24px 0 0; font-size: 17px; font-weight: 700; }
.usMap {
  display: block;
  width: 100%;
  height: auto;
  margin: 16px 0 24px;
  fill: #fff;
}
.stateImage,
.leave-behind { fill: #3b8546; }
.leave-behind:hover,
.leave-behind:focus-visible { opacity: .8; }

.trust--bottom { margin-top: -14px; }

/* ---------- Footer (2301660) ---------- */
.containerFooter {
  padding: 30px 10px 50px;
  background: #069;
  color: #f4f5e6;
  text-align: center;
}
.footer {
  max-width: 1024px;
  margin: 0 auto;
  font-size: 11.7px;
  line-height: 1.25;
}
.footerLogo {
  width: 150px;
  height: auto;
  margin: 0 auto 30px;
}
.footerNav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
}
.footerNav li { padding: 0 5px; }
.footerNav a {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}
.footerNav a:hover { text-decoration: underline; }

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  .container { padding: 14px 20px 40px; }
  h1 { font-size: 30px; }
  .subhead { font-size: 18px; }
  h2 { font-size: 23px; }
  .quoteBox { padding: 22px 20px; }
  .note { padding: 20px; }
  .estimator { padding: 26px 16px; }
  .results { gap: 8px; }
  .results__item { padding: 14px 4px; }
  .results__label { font-size: 12px; white-space: nowrap; }
  .results__value { font-size: 21px; }
}

@media (max-width: 359px) {
  .container { padding-left: 16px; padding-right: 16px; }
  h1 { font-size: 27px; }
  .estimator { padding: 24px 10px; }
  .est__bal { font-size: 40px; }
  .results { gap: 6px; }
  .results__label { font-size: 11px; }
  .results__value { font-size: 18px; }
  .greenButton { padding: 15px 24px; font-size: 17px; }
}

/* ---------- v2: amount buttons instead of the slider (no JS) ---------- */
.amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  border: 0;
}
.amounts .est__q { margin-bottom: 14px; }
.amounts label {
  display: block;
  padding: 11px 4px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: #0074c9;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 4px rgba(0,0,0,.12);
  cursor: pointer;
}
.amounts label:hover { background: #f5f8ff; }
.amounts input:focus-visible + label { outline: 3px solid #4c67bd; outline-offset: 2px; }
.amounts input:checked + label { color: #fff; background: #0074c9; }

.results__value.amt { display: none; }
.estimator:has(#amt-15:checked) .v15,
.estimator:has(#amt-25:checked) .v25,
.estimator:has(#amt-35:checked) .v35,
.estimator:has(#amt-50:checked) .v50,
.estimator:has(#amt-75:checked) .v75,
.estimator:has(#amt-100:checked) .v100 { display: block; }

@media (max-width: 359px) {
  .amounts { gap: 8px; }
  .amounts label { font-size: 15px; }
}
