/* #Page Banner */

.page-banner {
  background-color: #f8f8f8;
  position: relative;
}

.page-banner__inner {
  min-height: 300px;
  padding-top: 64px;
  padding-bottom: 64px;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
}

@media screen and (min-width: 1200px) {
  .page-banner__inner {
    padding-right: 360px;
  }
}

@media screen and (min-width: 768px) {
  .page-banner__inner {
    padding-bottom: 140px;
  }
}

.page-banner h1 {
  font-size: clamp(32px, 4vw + 10px, 56px);
  letter-spacing: -0.05ch;
  color: #282828;
  font-weight: bold;
  margin-bottom: 0;
  line-height: 1;
}

.page-banner__breadcrumbs {
  font-size: 14px;
  margin-bottom: 8px;
}

.page-banner__breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.page-banner__breadcrumbs ol {
  padding: 0;
  margin: 0;
  list-style: none;
  user-select: none;
}

.page-banner__breadcrumbs ol i {
  display: inline-block;
  margin-inline: 0.5em;
  font-size: 0.75em;
  opacity: 0.5;
}

.page-banner__breadcrumbs li {
  display: inline;
  font-family: "Roboto Condensed", sans-serif;
}

.page-banner__breadcrumbs a[aria-current] {
  color: #03823D;
  font-weight: bold;
}

.page-banner__breadcrumbs a:not([aria-current]) {
  color: #667475;
}

.page-banner__author {
  background-color: white;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, .1);
  display: grid;
  grid-template-columns: auto 1fr;
  margin-top: 20px;
  box-shadow: 0px 0.2px 0.7px rgba(0, 0, 0, 0.009), 0px 0.7px 1.7px rgba(0, 0, 0, 0.013), 0px 1.7px 3.5px rgba(0, 0, 0, 0.017), 0px 4.2px 7.3px rgba(0, 0, 0, 0.021), 0px 16px 20px rgba(0, 0, 0, 0.03);
}

@media screen and (min-width: 768px) {
  .page-banner__author {
    padding-inline: 20px;
    position: absolute;
    box-shadow: none;
    border: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    bottom: 0;
    margin-top: 0;
  }
}

@media screen and (max-width: 399px) {
  .page-banner__author {
    width: 100%;
    padding: 12px;
  }
}

.page-banner__author__avi {
  width: auto;
  aspect-ratio: 1;
  height: 100%;
  background-color: #f7f7f7;
  padding: 16%;
  border-radius: 100vw;
  border: 1px solid rgba(0, 0, 0, .1);
  overflow: hidden;
  grid-row: 1/3;
  margin-inline-end: 12px;
}

.page-banner__author__name {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 14px;
  margin-bottom: 4px;
  line-height: 1.5;
}

.page-banner__author__name span {
  font-weight: bold;
  color: #282828;
}

@media screen and (max-width: 399px) {
  .page-banner__author__reviews {
    white-space: nowrap;
  }

  .page-banner__author__avi {
    width: auto;
    height: 56px;
    align-self: center;
    margin-inline-end: 8px;
  }
}

.page-banner__author__rating {
  font-size: 16px;
  font-family: 'Roboto Condensed';
}

.page-banner__author__rating span {
  font-weight: bold;
}

.page-banner__author__rating img {
  width: 4.5em;
  margin-inline-start: .2em;
  vertical-align: text-top;
}

.page-banner__author__review-count {
  font-size: 12px;
  line-height: 1.5;
  font-family: 'Roboto Condensed', sans-serif;
}

.page-banner__author__stars {
  display: inline-block;
  position: relative;
}

.page-banner__author__stars [data-background] {
  color: #ddd;
}

.page-banner__author__stars [data-foreground] {
  position: absolute;
  inset: 0;
  color: #006aff;
  mask-image: linear-gradient(to right, black var(--stars-cutoff, 100%), transparent var(--stars-cutoff, 100%));
  -webkit-mask-image: linear-gradient(to right, black var(--stars-cutoff, 100%), transparent var(--stars-cutoff, 100%));
}

.program-wrapper {
  background-color: white;
}

.program-wrapper__inner {
  display: grid;
  grid-template-columns: 200px 1fr 300px;
  column-gap: 64px;
  padding-top: 64px;
  padding-bottom: 64px;
  align-items: start;
  position: relative;
}

/* #Rich Text Content */

.program-content {
  font-size: 16px;
  line-height: 1.65;
  width: 100%;
  overflow: hidden;
}

.program-content [data-content]>section,
.program-content [data-content]>section>div,
.program-content [data-content]>section>div>div {
  background-image: none !important;
  background-color: transparent !important;
  padding: 0;
  margin-inline: 0 !important;
}

.program-content [data-content] div[class*="col-"] {
  padding: 0 !important;
  width: 100% !important;
}

.program-content [data-content] div.row {
  margin: 0 !important;
}

.program-content [data-content]>section>div>div {
  width: 100% !important;
}

/* .program-content [data-content] > section > div > div + div[class^="col"] {
  margin-top: 32px;
} */

.program-content *:is(h1, h2, h3, h4, h5, p, ul li) {
  color: #282828 !important;
}

.program-content *:is(th, td) {
  color: #282828 !important;
  border-color: #b8c2c4 !important;
  font-size: 14px !important;
}

.program-content td {
  background-color: white !important;
}

.program-content th {
  background-color: #f3f3f3 !important;
}

/* .program-content table {
  margin-top: 32px;
} */

.program-content div:has(> hr:only-child),
.program-content div.clear,
.program-content .conappy-btn,
.program-content hr {
  display: none !important;
}

.program-content a:not(.btn) {
  color: #008540 !important;
}

.program-content h2 {
  font-size: 32px;
}

.program-content h3 {
  font-size: 24px;
}

.program-content *:is(h4, h5, h6) {
  font-size: 20px;
}

.program-content *:is(h1, h2, h3, h4, h5, h6) {
  margin-bottom: 0.5em;
  font-weight: bold;
  letter-spacing: -0.05ch;
  font-family: "Roboto Condensed", sans-serif;
  text-align: left;
}

.program-content li {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHdpZHRoPSI1MTIiIGhlaWdodD0iNTEyIiB4PSIwIiB5PSIwIiB2aWV3Qm94PSIwIDAgNzc5LjY1MiA3NzkuNjUyIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1MTIgNTEyIiB4bWw6c3BhY2U9InByZXNlcnZlIiBjbGFzcz0iIj48Zz48cGF0aCBkPSJNNjc5LjUwMyAzNDkuNzI4IDE1MS4wOSA5LjE4MUMxMTkuNzQyLTcuNzAzIDgzLjgzMi01Ljk1MSA4My44MzIgNTQuNjg4djY3MC41OGMwIDU1LjQwOCAzOC41MjUgNjQuMTcgNjcuMjU4IDQ1LjUwNmw1MjguNDQyLTM0MC41NDdjMjEuNzIzLTIyLjI1MiAyMS43MjMtNTguMjc0LS4wMjktODAuNDk5eiIgZmlsbD0iIzAwOTU0NiIgb3BhY2l0eT0iMSIgZGF0YS1vcmlnaW5hbD0iIzAwMDAwMCIgY2xhc3M9IiI+PC9wYXRoPjwvZz48L3N2Zz4=");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: 0 8px;
  padding-left: 24px;
}

.program-content p {
  margin-bottom: 0;
  text-align: left;
}

.program-content section>div>div>div>div+div,
.program-content section>div>div>div+div,
.program-content ul,
.program-content img,
.program-content table {
  margin-top: 32px;
}

.program-content section>div>div>div+div>*:first-child {
  margin-top: 0 !important;
}

.program-content section>div>div>*:is(h1, h2, h3, h4, h5, h6):not(:first-child),
.program-content section>div>div>*:is(h1, h2, h3, h4, h5, h6)+*,
.program-content section>div>div>p+p {
  margin-top: 16px;
}

.program-content img {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 16px;
  width: 100%;
}

.program-content section+section {
  margin-top: 48px;
  padding-top: 48px !important;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.program-content section.cta-section {
  display: none !important;
}

/* .program-content img {
  margin-top: 32px;
} */

.program-content .btn {
  transition: background-color .25s ease !important;
}

.program-content .btn-primary {
  background-color: #008540;
  color: #fff;
}

.program-content .btn-primary:hover,
.program-content .btn-primary:focus {
  background-color: #008540 !important;
  color: white;
}

.program-content .calculators {
  margin-top: 48px;
  padding-top: 48px !important;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.program-content .calculators__icons {
  display: flex;
  margin-top: 32px;
}

.program-content .calculators .calc-iconouter a {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.25;
}

.program-content .calculators .calc-iconouter {
  width: 33.3333% !important;
  text-align: center;
}

.program-content .calculators .icontxt {
  color: #333333;
  font-family: "Roboto Condensed";
  font-size: 16px;
  font-weight: 400;
}

.program-content .calculators .iconbox {
  border: 1px solid #e8e8e8;
  background-position: center center;
  background-repeat: no-repeat;
  border-radius: 50%;
  display: inline-block;
  height: 115px;
  margin: 0 0 15px;
  transition: all 0.3s linear 0s;
  width: 115px;
}

.program-content .calculators .icon-calc-patment {
  background-image: url(../../images/icons/icon-calc-patment.png);
}

.program-content .calculators .icon-calc-affordability {
  background-image: url(../../images/icons/icon-calc-affordability.png);
}

.program-content .calculators .icon-calc-refinance {
  background-image: url(../../images/icons/icon-calc-refinance.png);
}

.program-content .calculators .iconbox:hover {
  border-color: #d3d3d3;
  background-color: #f5f5f5;
}

@media screen and (max-width: 599px) {
  .program-content .calculators__icons {
    flex-wrap: wrap;
  }

  .program-content .calculators .iconbox {
    height: 96px;
    width: 96px;
    background-size: 40px;
  }
}

.program-content .ctacall {
  display: flex;
  gap: 4px;
}

.program-content .ctacall .btn {
  flex-grow: 1;
}

@media screen and (max-width: 767px) {
  .program-content .ctacall {
    flex-direction: column;
    line-height: 0;
  }
}

/* #Sidebar */

.program-sidebar {
  position: sticky;
  top: 168px;
  left: 0;
  height: calc(100vh - 208px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;

}

.program-sidebar h2 {
  font-size: 16px;
  color: #282828;
}

.program-sidebar__toc h2 {
  padding-bottom: 12px;
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: bold;
  border-bottom: 1px solid #b8c2c4;
}

.program-sidebar__toc ol {
  list-style: none;
  margin: 0;
  margin-top: -6px;
}

.program-sidebar__toc a {
  display: block;
  color: #282828;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 16px;
  padding: 6px 0;
  padding-left: 0;
  padding-right: 12px;
  position: relative;
  transition: color 0.25s ease, padding-left 0.25s ease, padding-right 0.25s ease;
  line-height: 1.2;
}

.program-sidebar__toc a::after {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 0;
  height: calc(100% - 12px);
  width: 2px;
  background-color: transparent;
  transition: background-color 0.25s ease;
}

.program-sidebar__toc a[aria-current] {
  color: #008540;
  padding-left: 12px;
  padding-right: 0;
}

.program-sidebar__toc a[aria-current]::after {
  background-color: #008540;
}

/* #Form Container */

.program-form {
  height: 100%;
  position: relative;
}

.program-form__wrapper {
  --img-height: 120px;
  --top-basis: 150px;
  background-color: white;
  border: 1px solid #bdc5c7;
  border-top-color: #008540;
  border-top-width: 10px;
  border-radius: 10px;
  width: 100%;
  position: sticky;
  top: calc(var(--top-basis) + var(--img-height));
  left: 0;
  margin-top: -120px;
  /* margin-top: -225px; */
  isolation: isolate;
  box-shadow: 0px 0.2px 0.7px rgba(0, 0, 0, 0.009), 0px 0.7px 1.7px rgba(0, 0, 0, 0.013),
    0px 1.7px 3.5px rgba(0, 0, 0, 0.017), 0px 4.2px 7.3px rgba(0, 0, 0, 0.021), 0px 16px 20px rgba(0, 0, 0, 0.03);
}

.program-form__wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  width: calc(100% - 48px);
  height: 24px;
  background: linear-gradient(to bottom, white, transparent);
  z-index: 1;
}

.program-form__wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 24px;
  right: 24px;
  width: calc(100% - 48px);
  height: 24px;
  background: linear-gradient(to top, white, transparent);
  z-index: 1;
}

.program-form__wrapper-inner {
  min-height: unset;
  height: auto;
  border-radius: inherit;
  overflow: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  z-index: 0;
}

.program-form .wizard-form {
  min-height: unset;
}

.program-form .wizard-form .wizard-section {
  min-height: unset;
}

.program-form__wrapper-inner::-webkit-scrollbar {
  display: none;
}

.program-form__wrapper>img {
  position: absolute;
  top: calc((var(--img-height) - (var(--img-height) * 0.075)) * -1);
  left: 50%;
  transform: translateX(-50%);
  height: var(--img-height);
  width: auto;
  z-index: 2;
}

/* #Share Links */

share-links {
  display: flex;
  gap: 4px;
  margin-top: 16px;
}

share-links button {
  display: block;
  width: 32px;
  height: 32px;
  background: transparent;
  border: 2px solid currentColor;
  border-radius: 100vw;
  font-size: 16px;
  color: #008540;
  transition: color 0.25s ease;
}

share-links button:hover {
  color: #008540;
}

.program-content__share {
  display: none;
}

@media screen and (max-width: 1199px) {
  .program-wrapper__inner {
    grid-template-columns: 200px 1fr;
    max-width: 900px;
    column-gap: 32px;
    margin-inline: auto;
    grid-template-rows: auto auto;
  }

  .page-banner__inner {
    max-width: 900px;
    margin-inline: auto;
  }

  .program-form {
    grid-column-start: 2;
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .program-form__wrapper {
    top: unset;
    margin-top: 150px;
    width: 100%;
  }

  .program-sidebar {
    grid-row: span 2;
    top: 150px;
    height: calc(100vh - 180px);
  }

  .program-form__wrapper-inner {
    height: auto;
    overflow-y: unset;
    overscroll-behavior: initial;
  }
}

@media screen and (max-width: 767px) {
  .page-banner__inner {
    min-height: unset;
  }

  .program-wrapper__inner {
    grid-template-columns: 150px 1fr;
  }

  .page-banner__breadcrumbs {
    font-size: 12px;
  }

  .program-content h2 {
    font-size: 24px;
  }

  .program-content h3 {
    font-size: 20px;
  }

  .program-content *:is(h4, h5, h6) {
    font-size: 18px;
  }

  .program-content section>div>div>*+* {
    margin-top: 24px;
  }

  .program-content .table-responsive {
    overflow-x: auto;
  }

  .program-content table:has(th:nth-of-type(2):last-of-type) {
    table-layout: fixed;
  }

  .program-content table:has(th:nth-of-type(2):last-of-type) *:is(th, td) {
    white-space: normal;
  }

  .program-content *:is(th, td) {
    white-space: normal !important;
  }

  .program-content th {
    min-width: 20ch;
  }
}

@media screen and (max-width: 599px) {
  .program-wrapper__inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .program-sidebar {
    display: none;
  }

  share-links {
    margin-top: 8px;
  }

  .program-content__share {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }

  .program-content__share h2 {
    font-weight: normal;
    font-size: 20px;
  }

  .program-form {
    grid-column-start: 1;
  }

  .program-content section+section {
    margin-top: 48px;
  }

  .program-content {
    font-size: 14px;
  }
}