:root {
  --primary-blue: #1b4662;
  --dark-blue: #123c55;
  --light-blue: #e8f6ff;
  --text-color: #10283d;
  --blue: #1b4662;
  --blue-dark: #123c55;
  --navy: #10283d;
  --green: #5A8D51;
  --nav-active: #ffe57a;
  --soft-blue: #e8f6ff;
  --text: #10283d;
  --muted: #626d75;
  --white: #fff;
  --shadow: 0 22px 52px rgba(0, 39, 83, .12);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Instrument Sans", Arial, sans-serif;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}
body,
button,
input,
select,
textarea {
  font-family: "Instrument Sans", Arial, sans-serif;
}
a { text-decoration: none; transition: .25s ease; }
img { max-width: 100%; display: block; }
main { overflow: hidden; }

.container {
  max-width: 1720px;
  padding-left: 20px;
  padding-right: 20px;
}

.site-header {
  padding-top: 20px;
  background: transparent;
  transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}
.site-header.scrolled,
.site-header.menu-open {
  padding-top: 0;
  background: rgba(65,142,236,.95);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
}
.navbar { padding: 0; }
.site-header .container { max-width: 1720px; }
.navbar-brand {
  flex: 0 0 auto;
  padding: 0;
  margin-right: 48px;
}
.navbar-brand img {
  width: 340px;
  /* height: 258px; */
  object-fit: contain;
  object-position: top center;
  margin-top: -8px;
}
.navbar-nav { gap: 42px; }
.nav-link {
  position: relative;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  padding: 0 !important;
  white-space: nowrap;
}
.nav-link:hover,
.nav-link:focus,
.nav-link.active,
.current-menu-item > .nav-link,
.current-menu-parent > .nav-link,
.current-menu-ancestor > .nav-link {
  color: var(--nav-active);
  opacity: 1;
}
.nav-link:hover,
.nav-link:focus {
  color: var(--nav-active);
}
.nav-link i { font-size: 9px; margin-left: 5px; }

.btn {
  border: 0;
  border-radius: 999px;
  min-height: 58px;
  padding: 19px 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: .9px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: .25s ease;
  text-align: center;
}
.nav-cta {
  min-width: 194px;
  min-height: 60px;
  margin-left: 38px;
  color: #1A4561;
  background: #fff;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 2px;
}
.nav-cta:hover,
.nav-cta:focus {
  color: #1A4561;
}

.company-dropdown { position: relative; }
.company-menu {
  width: 324px;
  padding: 10px;
  border: 0;
  border-radius: 14px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 20px 40px rgba(0,0,0,.12);
}
.company-menu .dropdown-item {
  padding: 12px 16px;
  border-radius: 8px;
  color: #17384b;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  white-space: normal;
}
.company-menu .dropdown-item.active,
.company-menu .current-menu-item > .dropdown-item,
.company-menu .dropdown-item:hover {
  color: var(--green);
  background: #eef7ec;
}
.btn-primary-blue { color: #fff; background: var(--blue); }
.btn-primary-blue:hover { color: #fff; background: #12364d; transform: translateY(-2px); }
.btn-white { color: var(--text); background: #fff; }
.btn-white:hover { color: var(--text); background: #f3f7f8; transform: translateY(-2px); }
.btn-green { color: #fff; background: var(--green); }
.btn-green:hover { color: #fff; background: #4c7b45; transform: translateY(-2px); }
.btn-outline-green {
  min-height: 54px;
  padding-inline: 25px;
  color: var(--green);
  border: 1.5px solid var(--green);
  background: transparent;
}
.btn-outline-green:hover { color: #fff; background: var(--green); }

.hero {
  position: relative;
  min-height: 960px;
  background: linear-gradient(90deg, rgba(82, 151, 237, .18) 0%, rgba(82,151,237,.08) 38%, rgba(82,151,237,0) 72%), url("../images/Frame-2085663006.png") center top/cover no-repeat;
  overflow: hidden;
}
.hero-inner {
  min-height: 960px;
  display: flex;
  align-items: center;
}
.hero-copy {
  max-width: 650px;
  color: #fff;
  padding-top: 245px;
}
.hero h1 {
  margin: 0 0 24px;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(255, 255, 255, .78);
  color: #fff;
  font-size: clamp(48px, 5vw, 75px);
  line-height: .98;
  font-weight: 500;
  letter-spacing: 0;
  overflow-wrap: normal;
}
.hero p {
  max-width: 610px;
  margin: 0 0 34px;
  font-size: 20px;
  line-height: 1.55;
  font-weight: 600;
  color: #fff;
}
.hero-callout {
  max-width: 640px;
  margin: 0 0 30px;
  padding: 20px 24px;
  border: 1px solid rgba(255,255,255,.4);
  border-left: 5px solid var(--green);
  border-radius: 12px;
  background: rgba(10, 47, 76, .72);
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
  backdrop-filter: blur(4px);
}
.hero-callout strong,
.hero-callout span {
  display: block;
}
.hero-callout strong {
  margin-bottom: 8px;
  color: #fff;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.35;
}
.hero-callout span {
  color: #eef7ff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
}
.hero-callout a {
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.hero-actions { display: flex; gap: 24px; flex-wrap: wrap; }
.hero .hero-actions .btn,
.cta-banner .btn {
  font-size: 16px !important;
  font-weight: 500 !important;
}
.phone-tab {
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 1030;
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
  height: 330px;
  min-width: 60px;
  border-radius: 18px 0 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  background: #123f5c;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
}

.social-strip {
  min-height: 190px;
  background: #1a4c68;
  display: flex;
  align-items: center;
  justify-content: center;
}
.social-box {
  width: min(840px, calc(100% - 32px));
  min-height: 128px;
  padding: 16px 28px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  color: #fff;
  background: rgba(66, 112, 143, .58);
  font-size: 40px;
  font-weight: 500;
}
.social-box > span:first-child {
  max-width: 100%;
  overflow-wrap: anywhere;
}
.facebook-mark {
  width: 86px;
  height: 86px;
  flex: 0 0 86px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1877f2;
  background: #fff;
  font-size: 66px;
}
.social-box img { width: 82px; height: 82px; object-fit: cover; }

.section { padding: 100px 0; }
.section-blue { background: var(--soft-blue); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--green);
  background: #f4f6f4;
  font-size: 18px;
  line-height: 1;
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}
.eyebrow.light { background: #fff; }
h2 {
  margin: 18px 0 24px;
  color: var(--blue);
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: 0;
}
p { color: var(--muted); }

.about { padding: 100px 0 96px; }
.about-portrait {
  width: 682px;
  height: 810px;
  border-radius: 20px;
  object-fit: cover;
  object-position: 50% 22%;
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 48px;
  align-items: start;
}
.about-grid h2 {
  color: #1A4561;
  font-size: 60px;
  font-weight: 500;
}
.about-grid > div > p {
  color: #5C5C5C;
  font-size: 18px;
  font-weight: 400;
}
.about p { font-size: 16px; line-height: 1.62; }
.home .about p {
  color: #5C5C5C;
  font-size: 18px;
  font-weight: 400;
}
.about-house {
  width: 290px;
  height: 280px;
  border-radius: 16px;
  object-fit: cover;
}
.mission-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
  margin: 32px 0 38px;
}
.mission-row article { padding: 30px 32px 26px 0; }
.mission-row article + article { border-left: 1px solid #e8e8e8; padding-left: 34px; }
.mission-row h3 { margin: 0 0 14px; color: #1F3044; font-size: 24px; font-weight: 500; }
.mission-row p { margin: 0; }
.about .btn-green {
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 500;
}

.section-heading {
  max-width: 1010px;
  margin: 0 auto 42px;
  text-align: center;
}
.services .section-heading .eyebrow {
  color: #5A8D51;
  font-size: 18px;
  font-weight: 600;
}
.services .section-heading h2 {
  color: #1A4561;
  font-size: 60px;
  font-weight: 500;
}
.section-heading p {
  max-width: 720px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.65;
  font-weight: 400;
}
.feature-grid {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.feature-card {
  min-width: 0;
  min-height: 246px;
  padding: 28px 30px 26px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  color: #10283d;
  background: #fff;
  box-shadow: 0 9px 18px rgba(0,44,82,.09);
}
.feature-card.active {
  color: #fff;
  background: var(--green);
}
.feature-card i {
  margin-bottom: 18px;
  color: var(--green);
  font-size: 46px;
}
.feature-card .ccmg-service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  display: inline-flex;
  color: var(--green);
  background: transparent;
}
.feature-card .ccmg-service-icon svg {
  width: 48px;
  height: 48px;
}
.feature-card.active > i,
.feature-card.active > .ccmg-service-icon,
.feature-card.active h3,
.feature-card.active p,
.feature-card.active a {
  color: #fff;
}
.feature-card h3 { margin: 0 0 14px; color: #0F223A; font-size: 28px; font-weight: 500; }
.feature-card.active h3 { color: #FFFFFF; }
.feature-card p { margin: 0 0 22px; color: #5c5c5c; font-size: 18px; line-height: 1.48; overflow-wrap: anywhere; }
.feature-card a {
  margin-top: auto;
  color: var(--green);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.feature-card a .ccmg-arrow-up-right,
.loan-service-card a .ccmg-arrow-up-right {
  margin-left: 6px;
  vertical-align: -1px;
}
.services-image {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border-radius: 18px;
  object-fit: cover;
}

.consultation {
  min-height: 860px;
  padding: 120px 0;
  background: linear-gradient(90deg, rgba(9, 40, 60, .06), rgba(9, 40, 60, .72)), url("../images/quick-qoute.png") center/cover no-repeat;
}
.consult-card {
  max-width: 730px;
  padding: 44px;
  border-radius: 24px;
  background: rgba(255,255,255,.95);
  box-shadow: var(--shadow);
}
.consult-card h2 {
  margin-top: 0;
  color: #1A4561;
  font-size: 60px;
  font-weight: 500;
}
.consult-card label {
  margin-bottom: 8px;
  display: block;
  color: #464646;
  font-size: 18px;
  font-weight: 400;
}
.form-control,
.form-select {
  min-height: 54px;
  border: 1px solid #dbe4e9;
  border-radius: 999px;
  padding: 13px 18px;
  color: var(--muted);
  box-shadow: none !important;
}
textarea.form-control { border-radius: 20px; }

.ccmg-gform-wrap .gform_wrapper .gform_fields {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.ccmg-gform-wrap .gform_wrapper,
.ccmg-gform-wrap .gform_wrapper form,
.ccmg-gform-wrap .gform_wrapper .gform_body {
  margin: 0;
  padding: 0;
}
.ccmg-gform-wrap .gform_wrapper .gfield {
  grid-column: span 12;
}
.ccmg-gform-wrap .gform_wrapper .gfield--width-half {
  grid-column: span 6;
}
.ccmg-gform-wrap .gform_wrapper .gfield--width-third {
  grid-column: span 4;
}
.ccmg-gform-wrap .gform_wrapper .ccmg-quick-quote-full-name {
  grid-column: span 12;
}
.ccmg-gform-wrap .gform_wrapper .gfield_label,
.ccmg-gform-wrap .gform_wrapper legend.gfield_label {
  margin: 0 0 8px;
  color: #464646;
  font-size: 18px;
  font-weight: 400;
}
.ccmg-gform-wrap .gform_wrapper .ginput_complex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.ccmg-gform-wrap .gform_wrapper .ginput_complex span {
  margin: 0;
  padding: 0;
}
.ccmg-gform-wrap .gform_wrapper .ginput_complex label {
  display: none;
}
.ccmg-gform-wrap .gform_wrapper input[type="text"],
.ccmg-gform-wrap .gform_wrapper input[type="email"],
.ccmg-gform-wrap .gform_wrapper input[type="tel"],
.ccmg-gform-wrap .gform_wrapper input[type="url"],
.ccmg-gform-wrap .gform_wrapper input[type="number"],
.ccmg-gform-wrap .gform_wrapper select,
.ccmg-gform-wrap .gform_wrapper textarea {
  width: 100%;
  min-height: 54px;
  padding: 16px 18px;
  color: var(--muted);
  border: 1px solid #dbe4e9;
  border-radius: 999px;
  background-color: #fff;
  box-shadow: none;
  font: inherit;
}
.ccmg-gform-wrap .gform_wrapper textarea {
  min-height: 132px;
  border-radius: 20px;
  resize: vertical;
}
.ccmg-gform-wrap .gform_wrapper input:focus,
.ccmg-gform-wrap .gform_wrapper select:focus,
.ccmg-gform-wrap .gform_wrapper textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(90, 141, 81, .14);
}
.ccmg-gform-wrap .gform_wrapper .gform_footer {
  margin: 16px 0 0;
  padding: 0;
  width: 100%;
  display: block;
}
.ccmg-gform-wrap .gform_wrapper .gform-footer {
  width: 100% !important;
  display: block !important;
  inline-size: 100% !important;
}
.ccmg-gform-wrap .gform_wrapper .gform_button,
.ccmg-gform-wrap .gform_wrapper input[type="submit"].gform_button,
.ccmg-gform-wrap .gform_wrapper .gform-footer input[type="submit"],
.ccmg-gform-wrap .gform_wrapper .gform-theme-button {
  display: block !important;
  width: 100% !important;
  max-width: 730px !important;
  inline-size: 100% !important;
  min-height: 60px;
  height: 60px;
  border: 0 !important;
  border-radius: 100px !important;
  padding: 16px 30px !important;
  color: #fff !important;
  background: #5A8D51 !important;
  background-color: #5A8D51 !important;
  font-size: 28px !important;
  font-weight: 500;
  box-sizing: border-box;
  box-shadow: none !important;
}
.ccmg-gform-wrap .gform_wrapper .ccmg-gform-submit {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.ccmg-gform-wrap .gform_wrapper .ccmg-gform-submit .ccmg-arrow-up-right {
  flex: 0 0 13px;
  width: 13px;
  height: 13px;
}

.home .consultation .ccmg-gform-wrap .gform_wrapper .gform_button,
.home .consultation .ccmg-gform-wrap .gform_wrapper input[type="submit"].gform_button,
.home .consultation .ccmg-gform-wrap .gform_wrapper .gform-footer input[type="submit"],
.home .consultation .ccmg-gform-wrap .gform_wrapper .gform-theme-button {
  font-size: 16px !important;
  font-weight: 500;
}
.ccmg-gform-wrap .gform_wrapper .gform_button:hover,
.ccmg-gform-wrap .gform_wrapper input[type="submit"].gform_button:hover,
.ccmg-gform-wrap .gform_wrapper .gform-footer input[type="submit"]:hover,
.ccmg-gform-wrap .gform_wrapper .gform-theme-button:hover {
  color: #fff !important;
  background: #5A8D51 !important;
  background-color: #5A8D51 !important;
}
.ccmg-gform-wrap .gform_wrapper .gfield_required,
.ccmg-gform-wrap .gform_wrapper .gform_validation_errors {
  display: none;
}
.ccmg-gform-wrap .gform_wrapper .validation_message {
  margin-top: 6px;
  padding: 0;
  color: #b42318;
  background: transparent;
  border: 0;
  font-size: 13px;
}
.ccmg-gform-wrap .gform_confirmation_message {
  padding: 18px;
  border-radius: 14px;
  color: #17445f;
  background: #eaf6ee;
  font-weight: 700;
}

.testimonials { overflow: hidden; }
.testimonials .section-heading h2 {
  color: #1A4561;
  font-size: 60px;
  font-weight: 500;
}
.review-marquee { padding: 10px 0 18px; }
.review-card {
  height: auto;
  min-height: 250px;
  padding: 28px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 15px 36px rgba(0, 35, 70, .09);
}
.google { display: block; margin-bottom: 15px; color: #4285f4; font-size: 18px; }
.review-card p { min-height: 86px; margin-bottom: 20px; line-height: 1.62; }
.review-card div { display: grid; grid-template-columns: 52px 1fr; column-gap: 12px; align-items: center; }
.review-card img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; grid-row: span 2; }
.review-card strong { color: var(--text); }
.review-card span { color: #ffb400; letter-spacing: 1px; }

.listing-top {
  margin-bottom: 42px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.listing-top h2 {
  max-width: none;
  color: #1A4561;
  font-family: "Instrument Sans", Arial, sans-serif;
  font-size: 60px;
  font-weight: 500;
  white-space: nowrap;
}
.property-swiper { overflow: hidden; padding-bottom: 8px; }
.property-card {
  --property-card-image-height: 250px;
  position: relative;
  height: 100%;
  padding: 18px 18px 26px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: 0 18px 40px rgba(0, 44, 82, .1);
}
.property-card img {
  width: 100%;
  height: var(--property-card-image-height);
  border-radius: 16px;
  object-fit: cover;
  margin-bottom: 18px;
}
.tag {
  position: absolute;
  top: 32px;
  left: 32px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #fff;
  background: #122E3A;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
}
.price {
  position: absolute;
  left: 32px;
  top: calc(18px + var(--property-card-image-height) - 60px);
  min-height: 46px;
  margin: 0;
  padding: 12px 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: var(--green);
  background: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
}
.meta { display: flex; flex-wrap: wrap; gap: 14px; color: #222222; font-size: 16px; margin-bottom: 14px; }
.property-card h3 { margin: 0 0 10px; color: #0F223A; font-size: 28px; font-weight: 600; }
.property-card p {
  color: #5C5C5C;
  font-size: 18px;
  line-height: 1.58;
}
.property-card address { color: var(--muted); font-style: normal; line-height: 1.5; }
.property-card .btn { margin-top: auto; align-self: flex-start; }
.slider-line {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1fr 54px 54px;
  gap: 14px;
  align-items: center;
}
.property-progress {
  position: relative;
  height: 4px;
  background: rgba(27,70,98,.15);
}
.property-progress .swiper-pagination-progressbar-fill { background: var(--green); }
.property-prev,
.property-next {
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  color: var(--blue);
  background: #fff;
  box-shadow: var(--shadow);
}
.property-next.active,
.property-prev:hover,
.property-next:hover { color: #fff; background: var(--green); }

.calculator-card {
  position: relative;
  min-height: 430px;
  padding: 0;
  border-radius: 20px;
  display: block;
  overflow: hidden;
  color: #fff;
  background: #0e3448;
  box-shadow: var(--shadow);
}
.calculator-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,40,61,0) 45%, rgba(7,38,51,.86) 100%);
  pointer-events: none;
}
.calculator-card img { width: 100%; height: 100%; min-height: 430px; border-radius: 0; object-fit: cover; }
.calculator-card span {
  position: absolute;
  left: 40px;
  bottom: 40px;
  z-index: 2;
  max-width: 70%;
  font-size: 40px;
  line-height: 1.08;
  color: #FFFFFF;
  font-weight: 500;
}
.calculator-card i {
  position: absolute;
  right: 38px;
  bottom: 38px;
  z-index: 2;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.faq .accordion-item {
  margin-bottom: 18px;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0,44,82,.08);
}
.faq .accordion-button {
  padding: 22px 24px;
  color: var(--text);
  background: #fff;
  font-size: 24px;
  font-weight: 500;
  box-shadow: none;
}
.faq .accordion-button:not(.collapsed) { color: #FFFFFF; background: var(--green); }
.faq .accordion-body { padding: 22px 24px; color: var(--muted); line-height: 1.65; }

.blog-featured,
.blog-side {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
}
.blog-featured-image {
  display: block;
  line-height: 0;
}
.blog-featured img { width: 100%; height: 430px; object-fit: cover; }
.blog-featured div { padding: 38px 30px 30px; }
.blog-featured time {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 30px 0 0;
  color: #5C5C5C;
  font-size: 18px;
  font-weight: 400;
}
.blog-featured h3 {
  margin: 16px 0 0;
  color: #0F223A;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 500;
}
.blog-featured h3 a {
  color: inherit;
}
.blog-featured p {
  margin: 16px 0 30px;
  color: #5C5C5C;
  font-size: 18px;
  line-height: 1.65;
}
.blog-side {
  display: grid;
  grid-template-columns: 165px 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px;
  margin-bottom: 24px;
  color: inherit;
}
.blog-side img { width: 165px; height: 130px; border-radius: 14px; object-fit: cover; }
.blog-side h3 {
  margin: 0;
  color: #0F223A;
  font-size: 24px;
  line-height: 1.28;
  font-weight: 500;
}
.blog-featured h3 a:hover,
.blog-side:hover h3 {
  color: var(--green);
}
.blogs .btn {
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 500;
}

.cta-banner {
  position: relative;
  overflow: hidden;
  padding: 110px 0;
  background:
    linear-gradient(90deg, rgba(90,141,81,.95) 0%, rgba(90,141,81,.95) 50%, rgba(255,255,255,0) 50%),
    var(--cta-image, url("../images/image-7937-Photoroom-1.png")) right center/50% auto no-repeat;
}
.cta-banner::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 50%;
  pointer-events: none;
  background: url("../images/cta-pattern.svg") left center / auto 100% repeat-x;
}
.cta-banner .container {
  position: relative;
  z-index: 1;
}
.cta-content {
  max-width: 760px;
  color: #fff;
}
.cta-content h2 { color: #fff; }

.footer {
  position: relative;
  overflow: hidden;
  padding: 90px 0 34px;
  color: #59646d;
  background: #fff;
}
.footer-logo {
  width: 250px;
  height: 170px;
  object-fit: contain;
  object-position: left top;
  margin-bottom: 18px;
}
.footer .footer-logo-link {
  display: inline-block;
  margin: 0;
}
.footer-desc { color: var(--blue); font-size: 22px; font-weight: 600; }
.footer-house { color: #111; font-size: 58px; }
.footer h3 { margin: 0 0 22px; color: #0F223A; font-size: 24px; font-weight: 700; }
.footer a { display: block; color: #5C5C5C; margin-bottom: 12px; font-size: 18px; }
.footer a:hover { color: var(--blue); }
.footer-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-menu li {
  margin: 0;
  padding: 0;
}
.footer-bottom {
  position: relative;
  z-index: 2;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-bottom p { margin: 0; color: #464646; }
.footer-legal-nav,
.footer-menu-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.footer-menu-legal li + li::before {
  content: "|";
  margin-right: 10px;
  color: #59646d;
}
.footer-bottom a,
.footer-bottom span {
  display: inline-flex;
  align-items: center;
  margin: 0;
  line-height: 1;
}
.footer-watermark {
  display: block;
  margin-top: 30px;
  color: rgba(16,40,61,.045);
  font-size: clamp(48px, 5.2vw, 90px);
  line-height: 1;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: clip;
}

@media (min-width: 1400px) {
  .container { max-width: 1720px; }
}

@media (min-width: 1200px) {
  .home .navbar > .container,
  .inner-page .navbar > .container {
    align-items: flex-start;
  }
  .home .navbar-collapse,
  .inner-page .navbar-collapse {
    padding-top: 28px;
  }
  .home .nav-cta,
  .inner-page .nav-cta {
    margin-top: 0;
  }
  .company-dropdown .company-menu {
    top: 58px;
    right: 0;
    left: auto;
  }
  .company-dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    height: 22px;
  }
  .company-dropdown:hover > .company-menu {
    display: block;
  }
}

@media (max-width: 1699.98px) and (min-width: 1200px) {
  .container,
  .site-header .container {
    max-width: 1440px;
  }
  .navbar-brand { margin-right: 28px; }
  .navbar-brand img { width: 210px; height: 185px; }
  .navbar-nav { gap: 20px; }
  .nav-link { font-size: 13px; letter-spacing: 1.4px; }
  .nav-cta {
    min-width: 168px;
    margin-left: 24px;
    padding-right: 24px;
    padding-left: 24px;
    font-size: 14px;
    letter-spacing: 1.4px;
  }
  .hero h1 {
    font-size: 60px;
  }
  .hero p,
  .inner-hero p,
  .section-heading p,
  .loan-options-section .section-heading p,
  .error-content-card p {
    font-size: 16px;
  }
  h2,
  .real-listings .listing-top h2,
  .real-explore-section .section-heading h2,
  .loan-options-section .section-heading h2,
  .recommended-featured .listing-top h2,
  .recommended-cta .cta-content h2 {
    font-size: 48px;
  }
  .inner-hero h1,
  .apply-page .inner-hero h1,
  .recommended-page .inner-hero h1,
  .loan-detail-page .inner-hero h1 {
    font-size: 62px;
  }
  .consult-card h2,
  .apply-quote .loan-quote-card h2,
  .recommended-quote .loan-quote-card h2,
  .real-quote-card h2,
  .loan-quote-card h2,
  .loan-detail-quote .loan-quote-card h2 {
    font-size: 46px;
  }
  .feature-card h3,
  .property-card h3,
  .recommended-featured .real-property-card h3,
  .pro-card h3,
  .loan-service-card h3 {
    font-size: 22px;
  }
  .real-property-card h3 {
    font-size: 24px;
  }
  .blog-featured h3 {
    font-size: 28px;
  }
  .calculator-card span {
    font-size: 32px;
  }
  .real-property-card p,
  .real-property-card .meta,
  .real-property-card address,
  .loan-service-card p,
  .loan-detail-content p,
  .documents-needed li,
  .apply-intro,
  .preapproval-form label,
  .preapproval-form .form-control {
    font-size: 16px;
  }
  .preapproval-head h2,
  .preapproval-head p {
    font-size: 26px;
  }
  .footer {
    padding-top: 72px;
  }
  .footer-logo,
  .about-footer .footer-logo {
    width: 220px;
    height: 148px;
    object-position: center top;
  }
  .footer .footer-logo-link,
  .about-footer .footer-logo-link {
    display: block;
    width: max-content;
    max-width: 100%;
    margin: 0 auto;
  }
  .footer-desc,
  .about-footer .footer-desc {
    font-size: 18px;
    line-height: 1.45;
  }
  .footer-house {
    font-size: 48px;
  }
  .footer h3,
  .about-footer h3 {
    margin-bottom: 18px;
    font-size: 16px;
  }
  .footer a,
  .about-footer a {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.45;
  }
  .footer-bottom {
    margin-top: 48px;
    padding-top: 20px;
  }
  .footer-bottom p,
  .footer-bottom a,
  .footer-bottom span,
  .about-footer .footer-bottom p,
  .about-footer .footer-bottom a,
  .about-footer .footer-bottom span {
    font-size: 14px;
  }
  .footer-watermark,
  .about-footer .footer-watermark {
    margin-top: 24px;
    font-size: 72px;
  }
}

@media (max-width: 1399.98px) {
  .navbar-brand { margin-right: 20px; }
  .navbar-brand img { width: 170px; height: 150px; }
  .navbar-nav { gap: 16px; }
  .nav-link { font-size: 12px; letter-spacing: 1.1px; }
  .nav-cta {
    min-width: 150px;
    margin-left: 18px;
    padding-right: 20px;
    padding-left: 20px;
    font-size: 13px;
    letter-spacing: 1.1px;
  }
}

@media (max-width: 1199.98px) {
  .navbar-brand img { width: 150px; height: 104px; margin: 0; }
  .site-header { padding: 10px 0; background: rgba(65,142,236,.95); }
  .navbar-toggler { border-color: rgba(255,255,255,.5); box-shadow: none !important; }
  .navbar-toggler-icon { filter: invert(1) brightness(4); }
  .navbar-collapse {
    margin-top: 14px;
    padding: 20px;
    border-radius: 18px;
    background: rgba(18,60,85,.98);
    max-height: calc(100vh - 130px);
    overflow-y: auto;
  }
  .navbar-nav { gap: 0; margin-bottom: 18px; }
  .nav-link { padding: 11px 0 !important; }
  .nav-cta { width: 100%; margin-left: 0; }
  .company-menu {
    width: 100%;
    margin-top: 8px;
    box-shadow: none;
  }
  .hero,
  .hero-inner { min-height: 780px; }
  .phone-tab { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-house { width: 100%; height: 260px; }
  .cta-banner {
    min-height: 360px;
    padding: 86px 0;
    background:
      linear-gradient(90deg, rgba(90,141,81,.97) 0%, rgba(90,141,81,.94) 58%, rgba(90,141,81,.30) 100%),
      var(--cta-image, url("../images/image-7937-Photoroom-1.png")) right center/46% auto no-repeat;
  }
  .cta-banner::before {
    width: 58%;
  }
  .cta-content {
    max-width: 440px;
    margin: 0;
    text-align: left;
  }
  .cta-content h2 {
    max-width: 440px;
    margin-right: 0;
    margin-left: 0;
    font-size: clamp(34px, 4.8vw, 44px);
    line-height: 1.12;
    overflow-wrap: anywhere;
  }
  .cta-content .btn {
    width: auto;
    max-width: 100%;
    white-space: normal;
    line-height: 1.2;
  }
}

@media (max-width: 991.98px) {
  .section { padding: 78px 0; }
  .hero,
  .hero-inner { min-height: 700px; }
  .about-portrait { height: 620px; }
  .feature-grid { margin-bottom: 28px; }
  .consultation { padding: 90px 0; }
  .listing-top { align-items: flex-start; flex-direction: column; }
  .listing-top h2 {
    white-space: normal;
  }
  .calculator-card {
    min-height: clamp(300px, 44vw, 360px);
  }
  .calculator-card img {
    width: 100%;
    height: clamp(300px, 44vw, 360px);
    min-height: 0;
    object-position: center;
  }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-bottom div { flex-wrap: wrap; }
}

@media (max-width: 991.98px) and (min-width: 768px) {
  .hero,
  .hero-inner {
    min-height: 780px;
  }
  .hero-copy {
    padding-top: 190px;
    padding-bottom: 56px;
  }
}

@media (max-width: 767.98px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .hero {
    min-height: auto;
    padding: 168px 0 64px;
    background-position: 58% top;
  }
  .hero-inner {
    display: block;
    min-height: auto;
  }
  .hero-copy {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding-top: 0;
  }
  .hero h1 {
    max-width: min(100%, 420px);
    margin-bottom: 18px;
    padding-bottom: 16px;
    font-size: clamp(30px, 7.2vw, 36px);
    line-height: 1.12;
    overflow-wrap: normal;
    text-wrap: balance;
    word-break: normal;
  }
  .hero p {
    width: 100%;
    max-width: 100%;
    margin-bottom: 22px;
    font-size: 16px;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }
  .hero-callout {
    width: 100%;
    max-width: 100%;
    margin-bottom: 22px;
    padding: 18px 20px;
    overflow: visible;
  }
  .hero-callout strong {
    font-size: 18px;
    overflow-wrap: anywhere;
  }
  .hero-callout span {
    font-size: 16px;
    overflow-wrap: anywhere;
  }
  .inner-hero h1 {
    max-width: 100%;
    font-size: clamp(38px, 10vw, 52px);
    line-height: 1.05;
    overflow-wrap: anywhere;
  }
  .inner-hero p {
    max-width: 100%;
    font-size: clamp(16px, 4.8vw, 18px);
    line-height: 1.55;
    overflow-wrap: anywhere;
  }
  .hero-actions {
    width: 100%;
    max-width: 100%;
    gap: 14px;
  }
  .hero-actions .btn { width: 100%; }
  .social-box {
    flex-direction: column;
    text-align: center;
    gap: 18px;
    padding-inline: 16px;
    font-size: clamp(20px, 5.4vw, 24px);
  }
  .about-portrait { height: 500px; }
  .mission-row,
  .feature-grid,
  .calculator-card { grid-template-columns: 1fr; }
  .mission-row article + article { border-left: 0; border-top: 1px solid #e8e8e8; padding-left: 0; }
  .services-image { height: 360px; min-height: 360px; }
  .consult-card { padding: 28px; }
  .property-card {
    --property-card-image-height: 230px;
  }
  .calculator-card { min-height: 260px; }
  .calculator-card img { width: 100%; height: 260px; min-height: 0; }
  .blog-featured img { height: 290px; }
  .blog-side { grid-template-columns: 1fr; }
  .blog-side img { width: 100%; height: 210px; }
  .cta-banner {
    min-height: 320px;
    padding: 72px 0;
    background:
      linear-gradient(180deg, rgba(90,141,81,.90), rgba(90,141,81,.92)),
      var(--cta-image, url("../images/image-7937-Photoroom-1.png")) center/cover no-repeat;
  }
  .cta-banner::before {
    width: 100%;
  }
  .cta-content {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
  }
  .cta-content .eyebrow {
    margin-right: auto;
    margin-left: auto;
  }
  .cta-content h2 {
    max-width: 560px;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(30px, 8.6vw, 42px);
  }
  .footer-watermark {
    display: block;
    font-size: clamp(20px, 7.6vw, 44px);
  }
}

@media (max-width: 424.98px) {
  .btn { width: 100%; min-height: 54px; padding-inline: 18px; white-space: normal; line-height: 1.25; }
  .hero {
    padding-top: 154px;
    padding-bottom: 54px;
  }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 15px; }
  .hero-callout {
    padding: 16px 18px;
  }
  .hero-callout strong,
  .hero-callout span {
    font-size: 15px;
  }
  h2 { font-size: 32px; }
  .about-portrait { height: 420px; }
  .feature-card { padding: 24px; }
  .services-image { height: 300px; min-height: 300px; }
  .consult-card { padding: 22px; }
  .footer-logo { width: 210px; height: 140px; }
}

@media (max-width: 359.98px) {
  .hero h1 { font-size: 26px; }
  h2 { font-size: 29px; }
  .social-box { font-size: 22px; }
}

.inner-hero {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(83,153,241,.78), rgba(31,101,183,.82)),
    url("../images/image-7972.png") center/cover no-repeat;
}

.inner-hero .container {
  position: relative;
  z-index: 2;
  padding-top: 116px;
  text-align: center;
}

.inner-hero h1 {
  margin: 0;
  color: #fff;
  font-family: "Instrument Sans", Arial, sans-serif;
  font-size: 80px;
  line-height: 1;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.inner-hero h1::after {
  content: "";
  display: block;
  width: min(356px, 76vw);
  height: 2px;
  margin: 22px auto 0;
  background: rgba(255,255,255,.9);
}

.inner-hero p {
  max-width: 760px;
  margin: 24px auto 0;
  color: #fff;
  font-size: 20px;
  line-height: 1.55;
}

.hero-contact { background-image: linear-gradient(180deg, rgba(83,153,241,.78), rgba(31,101,183,.82)), url("../images/image-7970.png"); }
.hero-rates { background-image: linear-gradient(180deg, rgba(83,153,241,.78), rgba(31,101,183,.82)), url("../images/image-7947.png"); }
.hero-real-estate { background-image: linear-gradient(180deg, rgba(83,153,241,.78), rgba(31,101,183,.82)), url("../images/image-7946.png"); }
.hero-calculator { background-image: linear-gradient(180deg, rgba(83,153,241,.78), rgba(31,101,183,.82)), url("../images/purchase-calculator.png"); }
.hero-loans { background-image: linear-gradient(180deg, rgba(83,153,241,.72), rgba(31,101,183,.82)), url("../images/image-7972.png"); }
.hero-professionals { background-image: linear-gradient(180deg, rgba(83,153,241,.78), rgba(31,101,183,.82)), url("../images/image-7975.png"); }
.hero-apply { background-image: linear-gradient(180deg, rgba(83,153,241,.78), rgba(31,101,183,.82)), url("../images/image-7976.png"); }

.hero-404 {
  background-image: linear-gradient(180deg, rgba(83,153,241,.78), rgba(31,101,183,.82)), url("../images/about-hero-house.png");
}
.hero-404 .error-code {
  display: block;
  margin: 0 0 14px;
  color: rgba(255,255,255,.92);
  font-size: clamp(74px, 8vw, 132px);
  line-height: .9;
  font-weight: 700;
  letter-spacing: 0;
}
.hero-404 h1::after {
  margin-top: 18px;
}
.error-content-section {
  background: #f6f9fb;
}
.error-content-card {
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(32px, 4vw, 62px);
  border-radius: 20px;
  text-align: center;
  background: #fff;
  box-shadow: 0 24px 60px rgba(16, 40, 61, .08);
}
.error-content-card h2 {
  margin-bottom: 16px;
}
.error-content-card p {
  max-width: 720px;
  margin: 0 auto 30px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}
.error-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.error-actions .btn {
  min-width: 210px;
}

.page-section { padding: 100px 0; }
.page-section-blue { background: var(--soft-blue); }

/* Apply Now page */
.apply-page .inner-hero {
  background-position: center 48%;
}
.apply-page .inner-hero .container {
  padding-top: 118px;
}
.apply-page .inner-hero h1 {
  font-size: 80px;
  line-height: 1;
}
.apply-page .inner-hero h1::after {
  width: min(390px, 76vw);
  margin-top: 18px;
}
.apply-info-section {
  padding: 101px 0 116px;
  background: #e8f6ff;
}
.apply-info-card {
  min-height: 1128px;
  padding: 58px 50px 64px;
  border-radius: 22px;
  background: #fff;
  color: #444;
}
.apply-intro {
  margin: 0 0 40px;
  color: #414141;
  font-size: 18px;
  line-height: 1.45;
}
.apply-options {
  margin: 0;
  padding-left: 30px;
  color: #10283d;
  font-size: 26px;
  line-height: 1.22;
  font-weight: 600;
}
.apply-options li {
  margin-bottom: 37px;
  padding-left: 6px;
}
.apply-options li::marker {
  color: #10283d;
}
.apply-options li:first-child::marker {
  color: var(--green);
}
.apply-options a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}
.apply-options span {
  display: block;
  position: relative;
  margin-top: 9px;
  padding-left: 18px;
  color: #4c4c4c;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 400;
}
.apply-options span::before,
.documents-needed li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
}
.apply-options span a {
  font-size: inherit;
}
.apply-info-card hr {
  margin: 49px 0 51px;
  border: 0;
  border-top: 1px solid #bdbdbd;
  opacity: 1;
}
.documents-needed h2 {
  margin: 0 0 29px;
  color: #10283d;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 600;
}
.documents-needed ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.documents-needed li {
  position: relative;
  margin-bottom: 18px;
  padding-left: 19px;
  color: #4c4c4c;
  font-size: 18px;
  line-height: 1.35;
}
.apply-quote .loan-quote-panel {
  background:
    linear-gradient(90deg, rgba(4,34,45,.14), rgba(4,48,60,.88)),
    url("../images/quick-qoute.png") center/cover no-repeat;
}
.apply-quote .loan-quote-card {
  width: min(820px, calc(100% - 96px));
  padding: 40px 40px 38px;
}
.apply-quote .loan-quote-card h2 {
  font-size: clamp(48px, 4vw, 64px);
}
.preapproval-modal {
  --bs-modal-width: 1330px;
  --bs-modal-margin: 24px;
}
.modal-backdrop.show {
  opacity: .72;
  background: #071d32;
}
.preapproval-modal .modal-dialog {
  max-width: min(1330px, calc(100vw - 48px));
}
.preapproval-modal .modal-content {
  position: relative;
  padding: 54px 50px 44px;
  border: 0;
  border-radius: 20px;
  background: #fff;
  box-shadow: none;
}
.preapproval-close {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #10283d;
  background: transparent;
  font-size: 22px;
  opacity: .58;
}
.preapproval-close:hover {
  opacity: 1;
}
.preapproval-head {
  margin-bottom: 32px;
  text-align: center;
}
.preapproval-head img {
  display: block;
  width: 300px;
  max-width: 44vw;
  height: auto;
  margin: 0 auto 22px;
}
.preapproval-head h2 {
  margin: 0 0 5px;
  color: #10283d;
  font-size: 30px;
  line-height: 1.18;
  font-weight: 600;
}
.preapproval-head p {
  margin: 0;
  color: #10283d;
  font-size: 30px;
  line-height: 1.18;
  font-weight: 600;
}
.preapproval-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.preapproval-form .form-grid {
  display: grid;
  gap: 20px;
}
.preapproval-form .form-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.preapproval-form .form-grid.one {
  grid-template-columns: 1fr;
}
.preapproval-form label {
  margin: 0 0 8px;
  color: #3f3f3f;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 400;
}
.preapproval-form .form-control {
  min-height: 54px;
  border: 1px solid #dedede;
  border-radius: 999px;
  padding: 14px 25px;
  color: #10283d;
  background: #f7f7f7;
  font-size: 18px;
  box-shadow: none;
}
.preapproval-form .form-control::placeholder {
  color: #b7b7b7;
}
.preapproval-submit {
  width: 264px;
  min-height: 58px;
  margin: 4px auto 0;
  padding: 18px 34px;
  background: #5a8d51;
  font-size: 16px;
  letter-spacing: 1.6px;
}
.preapproval-form .ccmg-gform-wrap .gform_wrapper .gform_footer,
.preapproval-form .ccmg-gform-wrap .gform_wrapper .gform-footer {
  display: flex !important;
  justify-content: center;
  width: 100% !important;
  inline-size: 100% !important;
}
.preapproval-form .ccmg-gform-wrap .gform_wrapper .gform_button,
.preapproval-form .ccmg-gform-wrap .gform_wrapper input[type="submit"].gform_button,
.preapproval-form .ccmg-gform-wrap .gform_wrapper .gform-footer input[type="submit"],
.preapproval-form .ccmg-gform-wrap .gform_wrapper .gform-theme-button {
  width: 264px !important;
  max-width: 100% !important;
  inline-size: 264px !important;
  min-height: 58px;
  margin: 4px auto 0 !important;
  padding-right: 34px;
  padding-left: 34px;
}

/* Recommended professionals page */
.recommended-page .inner-hero {
  min-height: 648px;
  background-position: center 42%;
}
.recommended-page .phone-tab {
  top: 50%;
}
.recommended-page .inner-hero .container {
  padding-top: 92px;
}
.recommended-page .inner-hero h1 {
  font-size: 80px;
  line-height: 1.08;
}
.recommended-page .inner-hero h1::after {
  width: min(350px, 72vw);
  margin-top: 18px;
}
.pro-section {
  padding: 100px 0 105px;
  background: #fff;
}
.pro-section-bordered {
  border-top: 1px solid #d8d8d8;
}
.pro-heading {
  margin-bottom: 38px;
  text-align: center;
}
.pro-heading .eyebrow {
  min-height: 30px;
  padding: 8px 14px;
  background: #f4f4f4;
  font-size: 13px;
}
.pro-heading h2 {
  margin: 30px 0 0;
  color: var(--blue);
  font-size: clamp(40px, 3.9vw, 56px);
  line-height: 1.08;
  font-weight: 500;
}
.pro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}
.pro-card {
  min-width: 0;
  padding: 20px 20px 28px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 48px rgba(0, 44, 82, .08);
}
.pro-card img {
  width: 100%;
  height: 330px;
  border-radius: 12px;
  object-fit: cover;
  object-position: center;
  margin-bottom: 18px;
}
.pro-card h3 {
  margin: 0 8px 8px;
  color: #10283d;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 600;
}
.pro-card p {
  min-height: 48px;
  margin: 0 8px 12px;
  color: #5d5d5d;
  font-size: 14px;
  line-height: 1.45;
}
.pro-card a {
  width: fit-content;
  max-width: calc(100% - 16px);
  margin: 0 8px 8px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #424242;
  font-size: 14px;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.pro-card a i {
  color: var(--green);
}
.recommended-quote .loan-quote-panel {
  min-height: 792px;
  background:
    linear-gradient(90deg, rgba(4,34,45,.14), rgba(4,48,60,.88)),
    url("../images/quick-qoute.png") center/cover no-repeat;
}
.recommended-quote .loan-quote-photo {
  min-height: 792px;
}
.recommended-quote .loan-quote-card {
  width: min(812px, calc(100% - 96px));
  padding: 36px 40px 34px;
}
.recommended-quote .loan-quote-card h2 {
  font-size: clamp(48px, 4vw, 64px);
  line-height: 1.06;
}
.quote-help {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.quote-help > span {
  width: 54px;
  height: 54px;
  border: 8px solid #e6edf3;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #10283d;
}
.quote-help strong,
.quote-help a {
  display: block;
}
.quote-help strong {
  color: #10283d;
  font-size: 20px;
}
.quote-help a {
  color: #5d5d5d;
  font-size: 15px;
}
.recommended-featured {
  padding: 82px 0 88px;
  background: #e8f6ff;
}
.recommended-featured .listing-top {
  margin-bottom: 28px;
}
.recommended-featured .listing-top h2 {
  max-width: none;
  margin-top: 16px;
}
.recommended-featured .real-property-card {
  padding: 14px 14px 22px;
  border-radius: 18px;
  box-shadow: none;
}
.recommended-featured .property-image-wrap {
  margin-bottom: 22px;
}
.recommended-featured .property-image-wrap img {
  height: 242px;
  border-radius: 12px;
}
.recommended-featured .real-property-card .tag {
  padding: 9px 15px;
  font-size: 14px;
}
.recommended-featured .real-property-card .meta {
  gap: 22px;
  margin-bottom: 14px;
  font-size: 13px;
  letter-spacing: 1.2px;
}
.recommended-featured .real-property-card .meta i,
.recommended-featured .real-property-card address i {
  margin-right: 8px;
  font-size: 17px;
}
.recommended-featured .real-property-card h3 {
  margin-bottom: 8px;
  font-size: 22px;
}
.recommended-featured .real-property-card p {
  min-height: 46px;
  margin-bottom: 14px;
  font-size: 14px;
}
.recommended-featured .real-property-card address {
  margin-bottom: 22px;
  font-size: 13px;
  letter-spacing: 1.15px;
}
.recommended-featured .real-property-card .btn {
  min-width: 162px;
  min-height: 48px;
  padding: 12px 19px;
  font-size: 13px;
  letter-spacing: 1.3px;
}
.recommended-featured .property-progress span {
  display: block;
  width: 28%;
  height: 100%;
  background: var(--green);
}
.recommended-cta {
  min-height: 386px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(90,141,81,.95) 0%, rgba(90,141,81,.95) 50%, rgba(255,255,255,0) 50%),
    url("../images/image-7937-Photoroom-1.png") right center/50% auto no-repeat;
}
.recommended-cta .cta-content h2 {
  max-width: 620px;
  font-size: clamp(42px, 4vw, 58px);
  line-height: 1.16;
}

/* Real Estate listing page */
.real-listings {
  padding: 98px 0 82px;
}
.real-listings .listing-top {
  margin-bottom: 20px;
}
.real-listings .listing-top h2,
.real-explore-section .section-heading h2 {
  color: var(--blue);
  font-size: 60px;
  line-height: 1.06;
  font-weight: 500;
}
.real-listings .eyebrow,
.real-explore-section .eyebrow {
  min-height: 34px;
  padding: 9px 16px;
  background: #F2F2F2;
  color: #5A8D51;
  font-family: "Instrument Sans", Arial, sans-serif;
  font-size: 18px;
  font-weight: 600;
}
.real-property-card {
  padding: 18px 18px 30px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 20px 46px rgba(27, 70, 98, .08);
}
.property-image-wrap {
  position: relative;
  margin-bottom: 24px;
}
.property-image-wrap img,
.real-property-card > img {
  width: 100%;
  height: 330px;
  margin: 0;
  border-radius: 14px;
  object-fit: cover;
  background: #eef4f8;
}
.real-property-card .tag {
  top: 12px;
  left: 12px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #0f3f56;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  text-transform: none;
}
.real-property-card .price {
  position: absolute;
  left: 14px;
  top: auto;
  bottom: 14px;
}
.real-property-card .meta {
  gap: 38px;
  margin-bottom: 16px;
  color: #20252d;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}
.real-property-card .meta i,
.real-property-card address i {
  color: var(--green);
  font-size: 21px;
  margin-right: 12px;
}
.real-property-card h3 {
  margin-bottom: 10px;
  color: #10283d;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 500;
}
.real-property-card p {
  min-height: 58px;
  margin-bottom: 16px;
  color: #5c5c5c;
  font-size: 18px;
  line-height: 1.48;
}
.real-property-card address {
  margin-bottom: 28px;
  color: #1d2228;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}
.real-property-card .btn {
  min-width: 184px;
  min-height: 56px;
  padding: 16px 24px;
  align-self: center;
  border-width: 2px;
  color: var(--green);
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 1.6px;
}
.real-property-card .btn:hover,
.real-property-card .btn:focus-visible {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}
.real-property-card .btn i {
  color: inherit;
}
.real-listings .slider-line {
  margin-top: 52px;
  grid-template-columns: 1fr 54px 54px;
  column-gap: 20px;
  display: grid !important;
  align-items: center;
  min-height: 54px;
  position: relative;
  z-index: 5;
}
.real-listings .slider-line::before {
  content: "";
  grid-column: 1;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green) 0 var(--slider-progress, 28%), rgba(65,142,236,.24) var(--slider-progress, 28%) 100%);
}
.real-listings .property-progress {
  display: none !important;
}
.real-listings .property-progress.swiper-pagination-progressbar,
.real-listings .swiper-horizontal > .swiper-pagination-progressbar.property-progress {
  position: relative;
  left: auto;
  top: auto;
  bottom: auto;
  width: 100%;
}
.real-listings .property-prev,
.real-listings .property-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 1 !important;
  visibility: visible !important;
}
.real-quick-quote {
  padding: 0;
  background: #073342;
}
.quick-quote-panel {
  min-height: 690px;
  margin-left: calc((100vw - 100%) / -2);
  margin-right: calc((100vw - 100%) / -2);
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(4,34,45,.14), rgba(4,48,60,.88)),
    url("../images/quick-qoute.png") center/cover no-repeat;
}
.quote-photo { min-height: 690px; }
.real-quote-card {
  width: min(820px, calc(100% - 96px));
  margin: 48px 98px 48px auto;
  padding: 40px;
  border-radius: 18px;
  box-shadow: none;
}
.real-quote-card h2 {
  margin: 0 0 20px;
  color: var(--blue);
  font-size: clamp(42px, 3.9vw, 64px);
  font-weight: 500;
}
.real-quote-card label {
  margin-bottom: 6px;
  color: #333;
  font-size: 16px;
  font-weight: 400;
}
.real-quote-card .form-control,
.real-quote-card .form-select {
  min-height: 54px;
  border-color: #e1e1e1;
  background-color: #f7f7f7;
  font-size: 16px;
}
.quote-phone {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}
.quote-phone span {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 0 0 10px #e7edf1;
}
.quote-phone strong {
  display: block;
  color: #10283d;
  font-size: 25px;
  font-weight: 500;
}
.quote-phone a {
  display: inline-block;
  margin: 6px 0 0;
  color: #5c5c5c;
  font-size: 18px;
}

.real-explore-section {
  padding: 120px 0 126px;
  background: #fff;
}
.real-explore-section .section-heading {
  margin-bottom: 38px;
}
.real-tabs {
  gap: 0;
  margin: 0 auto 58px;
  border-bottom: 0;
}
.real-tabs button,
.real-tabs a {
  min-height: 48px;
  border-radius: 0;
  padding: 0 28px 15px;
  color: #13243b;
  background: transparent;
  box-shadow: none;
  font-size: 24px;
  font-weight: 500;
  text-decoration: none;
}
.real-tabs button.active,
.real-tabs a.active {
  color: var(--green);
  background: transparent;
  border-bottom: 2px solid var(--green);
}
.real-grid {
  row-gap: 52px;
}
.real-pagination {
  gap: 18px;
  margin-top: 70px;
  align-items: center;
}
.real-pagination a {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: var(--green);
  background: #f7f7f7;
  box-shadow: none;
  border: 1px solid #e3e3e3;
  font-size: 18px;
  font-weight: 600;
}
.real-pagination a.muted {
  width: auto;
  min-width: 0;
  height: auto;
  padding: 0 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #8b9aa2;
  box-shadow: none;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.real-pagination a.active {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}
.real-pagination a.muted:hover {
  color: var(--green);
  background: transparent;
}

/* Loan Programs page */
.loan-services-section {
  padding: 96px 0 104px;
  background: linear-gradient(180deg, #f3fbff 0%, #fff 100%);
}
.loan-services-section .section-heading {
  max-width: 1040px;
  margin: 0 auto 46px;
}
.loan-services-section .section-heading h2 {
  color: var(--blue);
  font-size: 60px;
  line-height: 1.14;
  font-weight: 500;
}
.loan-services-layout {
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  gap: 28px;
  align-items: stretch;
  min-width: 0;
}
.loan-service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  min-width: 0;
}
.loan-service-card {
  min-width: 0;
  min-height: 246px;
  padding: 28px 30px 26px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  color: #10283d;
  background: #fff;
  box-shadow: 0 9px 18px rgba(0,44,82,.09);
}
.loan-service-card.active {
  color: #fff;
  background: var(--green);
}
.loan-service-card > i {
  margin-bottom: 18px;
  color: var(--green);
  font-size: 46px;
}
.loan-service-card > .ccmg-service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  display: inline-flex;
  color: var(--green);
}
.loan-service-card > .ccmg-service-icon svg {
  width: 48px;
  height: 48px;
}
.loan-service-card.active > i,
.loan-service-card.active > .ccmg-service-icon,
.loan-service-card.active h3,
.loan-service-card.active p,
.loan-service-card.active a {
  color: #fff;
}
.loan-service-card h3 {
  margin: 0 0 14px;
  color: #10283d;
  font-size: 28px;
  font-weight: 500;
}
.loan-service-card p {
  margin: 0 0 22px;
  color: #5c5c5c;
  font-size: 18px;
  line-height: 1.48;
  overflow-wrap: anywhere;
  font-weight: 400;
}
.loan-service-card a {
  margin-top: auto;
  color: var(--green);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.loan-service-card a i {
  margin-left: 6px;
  font-size: 15px;
}
.loan-service-card a .ccmg-arrow-up-right {
  width: 13px;
  height: 13px;
}
.loan-services-image {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border-radius: 18px;
  background: url("../images/consulting-keys.png") center/cover no-repeat;
}
.loan-options-section {
  padding: 110px 0 118px;
  background: #eaf8ff;
}
.loan-options-section .section-heading {
  max-width: 1020px;
  margin: 0 auto 58px;
}
.loan-options-section .section-heading h2,
.loan-list-title {
  color: var(--blue);
  font-size: 60px;
  line-height: 1.08;
  font-weight: 500;
  text-align: center;
}
.loan-options-section .section-heading p {
  max-width: 900px;
  margin: 18px auto 0;
  color: #5c5c5c;
  font-size: 18px;
  line-height: 1.55;
  text-align: center;
  font-weight: 400;
}
.loan-option-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  min-width: 0;
}
.loan-option {
  min-width: 0;
  min-height: 72px;
  padding: 0 24px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #10283d;
  background: #fff;
  box-shadow: 0 10px 22px rgba(0,44,82,.04);
  font-size: 18px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.loan-option i {
  flex: 0 0 auto;
  color: #10283d;
  font-size: 22px;
  transition: .25s ease;
}
.loan-option.active,
.loan-option:hover {
  color: #fff;
  background: var(--green);
}
.loan-option.active i,
.loan-option:hover i {
  color: #fff;
  transform: translateX(4px);
}
.loan-list-title {
  margin: 104px 0 46px;
}
.refinance-title {
  margin-top: 118px;
}
.loan-quick-quote {
  padding: 0;
  background: #073342;
}
.loan-quote-panel {
  min-height: 684px;
  margin-left: calc((100vw - 100%) / -2);
  margin-right: calc((100vw - 100%) / -2);
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(4,34,45,.14), rgba(4,48,60,.88)),
    url("../images/quick-qoute.png") center/cover no-repeat;
}
.loan-quote-photo {
  min-height: 684px;
}
.loan-quote-card {
  width: min(820px, calc(100% - 96px));
  margin: 48px 98px 48px auto;
  padding: 40px;
  border-radius: 18px;
  box-shadow: none;
}
.loan-quote-card h2 {
  margin: 0 0 20px;
  color: var(--blue);
  font-size: 60px;
  font-weight: 500;
}
.loan-quote-card label {
  margin-bottom: 6px;
  color: #333;
  font-size: 16px;
  font-weight: 400;
}
.loan-quote-card .form-control,
.loan-quote-card .form-select {
  min-height: 54px;
  border-color: #e1e1e1;
  background-color: #f7f7f7;
  font-size: 16px;
}
.loan-featured {
  padding-top: 116px;
}
.loan-featured .listing-top {
  margin-bottom: 38px;
}
.loan-featured .listing-top h2 {
  max-width: 720px;
}

/* Loan Programs detail page */
.hero-loan-detail {
  background-image:
    linear-gradient(180deg, rgba(83,153,241,.72), rgba(31,101,183,.82)),
    url("../images/image-7931.png");
  background-position: center 43%;
}
.loan-detail-page .inner-hero h1 {
  margin-right: auto;
  margin-left: auto;
  max-width: min(1560px, calc(100vw - 40px));
  font-size: 80px;
  line-height: 1.06;
  text-align: center;
  overflow-wrap: normal;
  word-break: normal;
}
.loan-detail-intro {
  padding: 96px 0 104px;
  background:
    linear-gradient(180deg, #f7fbff 0, #fff 32%),
    #fff;
}
.loan-detail-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(42px, 5vw, 88px);
  align-items: start;
  max-width: 1520px;
  margin: 0 auto;
}
.loan-detail-image {
  width: 100%;
  height: clamp(420px, 43vw, 620px);
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 24px 58px rgba(16, 40, 61, .16);
}
.loan-detail-content {
  max-width: 100%;
  min-width: 0;
  padding-top: 8px;
}
.loan-detail-content h2 {
  max-width: 100%;
  margin: 18px 0 22px;
  color: var(--blue);
  font-size: clamp(30px, 2.6vw, 46px);
  line-height: 1.12;
  font-weight: 600;
  overflow-wrap: anywhere;
  text-wrap: pretty;
  white-space: normal;
  word-break: normal;
}
.loan-detail-content h2 span {
  overflow-wrap: anywhere;
  white-space: normal;
  word-break: normal;
}
.loan-detail-content h3 {
  margin: 38px 0 18px;
  color: var(--navy);
  font-size: clamp(26px, 2.1vw, 36px);
  line-height: 1.18;
  font-weight: 600;
}
.loan-detail-content p,
.loan-detail-content li {
  color: #52616c;
  font-size: 18px;
  line-height: 1.72;
}
.loan-detail-content p {
  max-width: 780px;
  margin: 0 0 24px;
}
.loan-detail-content ul,
.loan-detail-content ol {
  display: grid;
  gap: 14px;
  max-width: 780px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}
.loan-detail-content li {
  position: relative;
  padding-left: 34px;
}
.loan-detail-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
}
.loan-benefit-table h3 {
  margin: 38px 0 22px;
  color: #10283d;
  font-size: clamp(28px, 2.3vw, 38px);
  line-height: 1.18;
  font-weight: 600;
}
.loan-benefit-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  border: 0;
}
.loan-benefit-columns > div {
  padding: 26px;
  border: 1px solid #dbe5ed;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 40, 61, .08);
}
.loan-benefit-columns > div + div {
  padding-left: 26px;
  border-left: 1px solid #dbe5ed;
}
.loan-benefit-columns h4 {
  margin: 0 0 20px;
  color: #10283d;
  font-size: 22px;
  font-weight: 600;
}
.loan-benefit-columns ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.loan-benefit-columns li {
  position: relative;
  min-height: 30px;
  margin-bottom: 16px;
  padding-left: 38px;
  color: #5c5c5c;
  font-size: 16px;
  line-height: 1.55;
}
.loan-benefit-columns li::before {
  content: "\f00c";
  position: absolute;
  left: 0;
  top: -1px;
  width: 26px;
  height: 26px;
  border: 2px solid var(--green);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-family: "Font Awesome 6 Free";
  font-size: 15px;
  font-weight: 900;
}
.loan-detail-quote .loan-quote-card h2 {
  max-width: 560px;
  margin-bottom: 18px;
  font-size: clamp(34px, 3.1vw, 52px);
  line-height: 1.12;
  font-weight: 600;
  text-wrap: balance;
}
.loan-detail-quote .loan-quote-card {
  width: min(760px, calc(100% - 96px));
  border-radius: 8px;
  box-shadow: 0 24px 58px rgba(0, 0, 0, .18);
}
.section-title-row {
  margin-bottom: 42px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.section-title-row h2 { margin-bottom: 0; }

.content-card,
.form-card,
.info-card,
.list-card,
.result-card,
.professional-card {
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(0, 44, 82, .1);
}

.content-card { padding: clamp(28px, 4vw, 56px); }
.form-card { padding: clamp(26px, 3vw, 44px); }
.info-card { padding: 28px; }
.list-card { padding: 28px; height: 100%; }

.icon-bullet {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
}
.icon-bullet i {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--green);
}
.icon-bullet h3,
.list-card h3,
.professional-card h3 {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 24px;
  font-weight: 600;
}
.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.check-list li {
  position: relative;
  margin-bottom: 14px;
  padding-left: 30px;
  color: #4f5e68;
  line-height: 1.55;
}
.check-list li::before {
  content: "\f00c";
  position: absolute;
  left: 0;
  top: 1px;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--green);
}

.quick-quote {
  background:
    linear-gradient(90deg, rgba(8,45,63,.05), rgba(8,45,63,.82)),
    url("../images/quick-qoute.png") center/cover no-repeat;
}
.quick-quote .quote-image {
  width: 100%;
  min-height: 620px;
  border-radius: 20px;
  object-fit: cover;
}
.quick-quote .form-card h2 { margin-top: 0; font-size: clamp(34px, 3.5vw, 56px); }
.form-card label {
  margin-bottom: 8px;
  color: var(--text);
  font-weight: 700;
}

.contact-image,
.detail-image {
  width: 100%;
  height: 720px;
  border-radius: 20px;
  object-fit: cover;
}
.contact-info-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.blog-card {
  height: 100%;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
}
.blog-card img { width: 100%; height: 260px; object-fit: cover; }
.blog-card div { padding: 32px 24px 24px; }
.blog-card time { color: var(--green); font-weight: 700; }
.blog-card h3 { margin: 14px 0 12px; color: var(--blue); font-size: 25px; line-height: 1.2; }
.sidebar-box {
  padding: 26px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
.sidebar-box h3 { margin: 0 0 18px; color: var(--blue); font-size: 24px; }
.category-list a {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid #edf0f2;
  color: var(--muted);
}

.monthly-newsletter-page {
  background: #fff;
  overflow-x: hidden;
}

.monthly-newsletter-page .newsletter-hero {
  min-height: 650px;
}

.newsletter-listing {
  padding: 100px 0 120px;
  background: #fff;
}

.newsletter-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 450px;
  gap: 40px;
  align-items: start;
}

.newsletter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 64px 30px;
}

.newsletter-card {
  min-width: 0;
}

.newsletter-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.5 / 1;
  object-fit: cover;
  border-radius: 22px;
}

.newsletter-card .newsletter-image-link {
  display: block;
  border-bottom: 0;
  line-height: 0;
  letter-spacing: 0;
}

.newsletter-date {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  color: #5f6265;
  font-size: 18px;
  line-height: 1;
}

.newsletter-date i {
  color: var(--green);
  font-size: 15px;
}

.newsletter-card h2 {
  min-height: 96px;
  margin: 18px 0 22px;
  color: #10283d;
  font-size: clamp(22px, 1.45vw, 27px);
  line-height: 1.28;
  font-weight: 600;
  overflow-wrap: break-word;
}

.newsletter-card a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  border-bottom: 1px solid rgba(91,145,82,.55);
  font-size: 17px;
  line-height: 1;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.newsletter-card a:hover {
  color: #2f6f2b;
}

.newsletter-card a .ccmg-arrow-up-right {
  width: 13px;
  height: 13px;
}

.newsletter-sidebar {
  position: sticky;
  top: 130px;
  padding: 22px 20px 20px;
  border-radius: 18px;
  background: #eaf8ff;
  box-shadow: 0 22px 46px rgba(16,40,61,.14);
}

.newsletter-search {
  position: relative;
  margin-bottom: 20px;
}

.newsletter-search input {
  width: 100%;
  height: 58px;
  padding: 0 76px 0 30px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #10283d;
  font-size: 18px;
  outline: none;
}

.newsletter-search input::placeholder {
  color: #666;
}

.newsletter-search button {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
}

.newsletter-categories {
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}

.newsletter-categories h2 {
  margin: 0;
  padding: 24px 30px;
  color: #fff;
  background: #164b67;
  font-size: 28px;
  line-height: 1;
  font-weight: 500;
}

.newsletter-categories a {
  display: block;
  padding: 25px 30px;
  border-bottom: 1px solid #d9d9d9;
  color: #10283d;
  font-size: 24px;
  font-weight: 600;
}

.newsletter-categories a.active,
.newsletter-categories a:hover {
  color: var(--green);
}

.newsletter-categories a:last-child {
  border-bottom: 0;
}

.newsletter-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 108px;
}

.newsletter-pagination a,
.newsletter-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 17px;
  letter-spacing: 1.9px;
  text-transform: uppercase;
}

.newsletter-pagination a:not(.muted):not(.next):not(.prev),
.newsletter-pagination .page-numbers:not(.prev):not(.next) {
  width: 58px;
  height: 58px;
  border: 1px solid #e5e5e5;
  border-radius: 50%;
  background: #f8f8f8;
  letter-spacing: 0;
  text-transform: none;
}

.newsletter-pagination a.active,
.newsletter-pagination .current {
  color: #fff;
  border-color: var(--green);
  background: var(--green);
}

.newsletter-pagination .muted,
.newsletter-pagination .prev {
  color: #9aa7ad;
}

.newsletter-pagination .next {
  color: #164b67;
}

.newsletter-empty-message {
  grid-column: 1 / -1;
  margin: 0;
  color: #10283d;
  font-size: 22px;
  line-height: 1.4;
}

.newsletter-detail-page {
  background: #fff;
}

.newsletter-detail-hero h1 {
  max-width: 980px;
  margin-inline: auto;
  color: #FFFFFF;
  font-family: "Instrument Sans", Arial, sans-serif;
  font-size: 80px;
  font-weight: 500;
}

.single-post-kicker {
  display: inline-flex;
  min-height: 38px;
  margin-bottom: 22px;
  padding: 10px 18px;
  border-radius: 999px;
  color: #fff;
  background: rgba(90, 141, 81, .95);
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.newsletter-detail-hero p {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.single-newsletter-section {
  padding: 100px 0 110px;
  background: #fff;
}

.single-newsletter-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 48px;
  align-items: start;
}

.single-newsletter-article {
  min-width: 0;
}

.single-newsletter-image {
  display: block;
  width: 100%;
  max-height: 620px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 24px 54px rgba(16, 40, 61, .14);
}

.single-newsletter-content {
  max-width: 920px;
  margin-top: 42px;
  color: #434343;
  font-size: 19px;
  line-height: 1.78;
}

.single-newsletter-content > *:first-child {
  margin-top: 0;
}

.single-newsletter-content p,
.single-newsletter-content ul,
.single-newsletter-content ol {
  margin: 0 0 24px;
}

.single-newsletter-content h2,
.single-newsletter-content h3,
.single-newsletter-content h4 {
  margin: 42px 0 18px;
  color: #10283d;
  line-height: 1.18;
  font-weight: 600;
}

.single-newsletter-content h2 {
  font-size: clamp(32px, 2.8vw, 46px);
}

.single-newsletter-content h3 {
  font-size: 30px;
}

.single-newsletter-content a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.single-newsletter-footer {
  margin-top: 48px;
}

.single-newsletter-footer .btn,
.single-sidebar-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.single-newsletter-footer .ccmg-arrow-up-right,
.single-sidebar-cta .ccmg-arrow-up-right {
  width: 13px;
  height: 13px;
}

.single-newsletter-sidebar {
  position: sticky;
  top: 130px;
  display: grid;
  gap: 24px;
}

.single-sidebar-card {
  overflow: hidden;
  border-radius: 18px;
  background: #eaf8ff;
  box-shadow: 0 22px 46px rgba(16,40,61,.12);
}

.single-sidebar-card h2 {
  margin: 0;
  padding: 24px 28px;
  color: #fff;
  background: #164b67;
  font-size: 27px;
  line-height: 1.1;
  font-weight: 500;
}

.single-sidebar-card > a:not(.btn) {
  display: block;
  padding: 20px 28px;
  border-bottom: 1px solid rgba(16, 40, 61, .12);
  color: #10283d;
  background: #fff;
  font-size: 20px;
  font-weight: 600;
}

.single-sidebar-card > a:not(.btn):hover {
  color: var(--green);
}

.single-sidebar-cta {
  padding: 28px;
  background: #10283d;
  color: #fff;
}

.single-sidebar-cta h2 {
  padding: 0;
  margin: 10px 0 24px;
  background: transparent;
  color: #fff;
}

.single-related-newsletters {
  padding: 100px 0;
  background: #e8f6ff;
}

.single-related-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.newsletter-qualify {
  min-height: 810px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 90px 100px;
  background:
    linear-gradient(90deg, rgba(0,39,51,.14), rgba(0,75,90,.86)),
    url("../images/quick-qoute.png") center/cover no-repeat;
}

.qualify-panel {
  width: min(812px, 100%);
  padding: 40px;
  border-radius: 20px;
  background: #fff;
}

.qualify-panel h2 {
  max-width: 620px;
  margin: 0 0 30px;
  color: #164b67;
  font-size: clamp(42px, 3.4vw, 62px);
  line-height: 1.08;
  font-weight: 400;
}

.qualify-panel form {
  display: grid;
  gap: 18px;
}

.qualify-panel .form-row {
  display: grid;
  gap: 20px;
}

.qualify-panel .thirds {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.qualify-panel .halves {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.qualify-panel label {
  display: grid;
  gap: 10px;
  color: #3f3f3f;
  font-size: 18px;
  line-height: 1.15;
}

.qualify-panel input,
.qualify-panel select {
  width: 100%;
  height: 56px;
  padding: 0 22px;
  border: 1px solid #dfdfdf;
  border-radius: 999px;
  color: #8a8a8a;
  background: #f8f8f8;
  font-size: 16px;
  outline: none;
}

.qualify-panel button {
  height: 62px;
  margin-top: 4px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  font-size: 18px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.qualify-panel button i {
  margin-left: 10px;
}

@media (max-width: 1399.98px) {
  .single-newsletter-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
  }
  .newsletter-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
  }
  .newsletter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .newsletter-card h2 {
    min-height: 86px;
  }
  .newsletter-qualify {
    padding: 70px 50px;
  }
}

@media (max-width: 1199.98px) {
  .single-newsletter-section,
  .single-related-newsletters {
    padding: 76px 0 90px;
  }
  .single-newsletter-layout {
    grid-template-columns: 1fr;
  }
  .single-newsletter-sidebar {
    position: static;
    max-width: 620px;
    width: 100%;
  }
  .single-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .newsletter-listing {
    padding: 76px 0 90px;
  }
  .newsletter-layout {
    grid-template-columns: 1fr;
  }
  .newsletter-grid {
    gap: 44px 24px;
  }
  .newsletter-sidebar {
    position: static;
    max-width: 620px;
    width: 100%;
  }
  .newsletter-qualify {
    justify-content: center;
    min-height: auto;
    padding: 70px 24px;
  }
  .qualify-panel .thirds,
  .qualify-panel .halves {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .newsletter-detail-hero h1 {
    font-size: 38px;
    line-height: 1.08;
  }
  .single-post-kicker {
    min-height: 34px;
    margin-bottom: 18px;
    padding: 9px 15px;
  }
  .single-newsletter-section,
  .single-related-newsletters {
    padding: 56px 0 70px;
  }
  .single-newsletter-layout,
  .single-newsletter-article,
  .single-newsletter-sidebar {
    width: 100%;
    min-width: 0;
    max-width: calc(100vw - 32px);
  }
  .single-newsletter-image {
    max-height: 360px;
    border-radius: 18px;
  }
  .single-newsletter-content {
    margin-top: 32px;
    font-size: 17px;
  }
  .single-sidebar-card h2,
  .single-sidebar-card > a:not(.btn) {
    padding-left: 22px;
    padding-right: 22px;
  }
  .single-related-grid {
    grid-template-columns: 1fr;
  }
  .monthly-newsletter-page .inner-hero h1 {
    max-width: 340px;
    margin-inline: auto;
    font-size: 40px;
    line-height: 1.08;
  }
  .newsletter-layout,
  .newsletter-grid,
  .newsletter-card,
  .newsletter-sidebar {
    width: 100%;
    min-width: 0;
    max-width: calc(100vw - 32px);
  }
  .newsletter-listing {
    padding: 56px 0 70px;
  }
  .newsletter-grid {
    grid-template-columns: 1fr;
  }
  .newsletter-card h2 {
    min-height: 0;
  }
  .newsletter-sidebar {
    padding: 16px;
  }
  .newsletter-categories h2,
  .newsletter-categories a {
    padding-left: 22px;
    padding-right: 22px;
  }
  .newsletter-categories a {
    font-size: 20px;
  }
  .newsletter-pagination {
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 70px;
  }
  .newsletter-qualify {
    padding: 56px 14px;
  }
  .qualify-panel {
    padding: 28px 18px;
  }
  .qualify-panel h2 {
    font-size: 38px;
  }
}

@media (max-width: 480px) {
  .newsletter-layout,
  .newsletter-grid,
  .newsletter-card,
  .newsletter-sidebar {
    width: 358px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 359.98px) {
  .monthly-newsletter-page,
  .monthly-newsletter-page main {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }
  .monthly-newsletter-page .container {
    width: 100%;
    max-width: 100%;
    padding-right: 10px;
    padding-left: 10px;
  }
  .monthly-newsletter-page .newsletter-hero {
    min-height: 360px;
    background-position: center;
  }
  .monthly-newsletter-page .inner-hero .container {
    padding-top: 72px;
    padding-right: 18px;
    padding-left: 18px;
  }
  .monthly-newsletter-page .inner-hero h1 {
    max-width: 270px;
    font-size: 34px;
    line-height: 1.08;
    text-align: center;
  }
  .newsletter-listing {
    padding: 42px 0 56px;
  }
  .newsletter-layout,
  .newsletter-grid,
  .newsletter-card,
  .newsletter-sidebar {
    width: 100%;
    max-width: calc(100vw - 20px);
    margin-right: auto;
    margin-left: auto;
    overflow: hidden;
  }
  .newsletter-grid {
    gap: 34px;
  }
  .newsletter-card img {
    border-radius: 16px;
  }
  .newsletter-date {
    gap: 8px;
    margin-top: 18px;
    font-size: 12px;
  }
  .newsletter-card h2 {
    margin: 10px 0 14px;
    font-size: 18px;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }
  .newsletter-card a {
    gap: 7px;
    font-size: 11px;
    letter-spacing: 1px;
  }
  .newsletter-card a .ccmg-arrow-up-right {
    width: 10px;
    height: 10px;
  }
  .newsletter-sidebar {
    padding: 12px;
    border-radius: 14px;
  }
  .newsletter-search input {
    height: 48px;
    padding: 0 58px 0 18px;
    font-size: 14px;
  }
  .newsletter-search button {
    top: 5px;
    right: 5px;
    width: 38px;
    height: 38px;
  }
  .newsletter-categories h2 {
    padding: 16px 18px;
    font-size: 20px;
  }
  .newsletter-categories a {
    padding: 16px 18px;
    font-size: 14px;
    line-height: 1.25;
  }
  .newsletter-qualify {
    padding: 44px 12px;
  }
  .qualify-panel {
    width: 100%;
    max-width: calc(100vw - 24px);
    padding: 22px 14px;
    border-radius: 16px;
    overflow: hidden;
  }
  .qualify-panel h2 {
    max-width: 100%;
    margin-bottom: 20px;
    font-size: 28px;
    line-height: 1.12;
    overflow-wrap: anywhere;
  }
  .qualify-panel .ccmg-gform-wrap .gform_wrapper .gform_fields {
    gap: 12px;
  }
  .qualify-panel .ccmg-gform-wrap .gform_wrapper .gfield_label,
  .qualify-panel .ccmg-gform-wrap .gform_wrapper legend.gfield_label {
    font-size: 11px;
  }
  .qualify-panel .ccmg-gform-wrap .gform_wrapper input[type="text"],
  .qualify-panel .ccmg-gform-wrap .gform_wrapper input[type="email"],
  .qualify-panel .ccmg-gform-wrap .gform_wrapper input[type="tel"],
  .qualify-panel .ccmg-gform-wrap .gform_wrapper input[type="url"],
  .qualify-panel .ccmg-gform-wrap .gform_wrapper input[type="number"],
  .qualify-panel .ccmg-gform-wrap .gform_wrapper select,
  .qualify-panel .ccmg-gform-wrap .gform_wrapper textarea {
    min-height: 46px;
    padding: 11px 14px;
    font-size: 12px;
  }
  .qualify-panel .ccmg-gform-wrap .gform_wrapper textarea {
    min-height: 92px;
    border-radius: 16px;
  }
  .qualify-panel .ccmg-gform-wrap .gform_wrapper .gform_button,
  .qualify-panel .ccmg-gform-wrap .gform_wrapper input[type="submit"].gform_button,
  .qualify-panel .ccmg-gform-wrap .gform_wrapper .gform-footer input[type="submit"],
  .qualify-panel .ccmg-gform-wrap .gform_wrapper .gform-theme-button {
    height: 48px;
    min-height: 48px;
    padding: 12px 18px !important;
    font-size: 11px;
  }
}

.pagination-clean {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 44px;
}
.pagination-clean a,
.pagination-clean .page-numbers {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  background: #fff;
  box-shadow: 0 8px 22px rgba(0,44,82,.08);
  font-weight: 700;
}
.pagination-clean a.active,
.pagination-clean .current,
.pagination-clean a:hover { color: #fff; background: var(--green); }

.rates-section {
  padding: 100px 0 166px;
}
.rates-card {
  position: relative;
  z-index: 3;
  max-width: 1428px;
  min-height: 862px;
  margin: 0 auto;
  padding: 54px 50px 50px;
  border-radius: 22px;
  background: #fff;
  box-shadow: none;
}
.rates-card-head {
  padding: 0 30px 38px;
  border-bottom: 1px dashed #d7d7d7;
}
.rates-card h2 {
  margin: 0 0 44px;
  color: var(--blue);
  font-size: clamp(42px, 4vw, 62px);
  font-weight: 500;
  line-height: 1.08;
  text-align: center;
}
.progress-steps {
  position: relative;
  height: 9px;
  margin: 0 auto 48px;
  overflow: visible;
  border-radius: 999px;
  background: #eef4ef;
}
.progress-steps::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
}
.progress-steps span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
}
.progress-steps strong {
  position: absolute;
  left: -30px;
  top: 16px;
  min-width: 70px;
  min-height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--blue);
  font-size: 20px;
  font-weight: 600;
}
.rates-card-body {
  max-width: 610px;
  margin: 40px auto 0;
  text-align: center;
}
.rates-card-body h3 {
  margin: 0 0 34px;
  color: #13243b;
  font-size: clamp(28px, 2.2vw, 34px);
  font-weight: 500;
  line-height: 1.22;
}
.rates-choice-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 280px));
  justify-content: center;
  gap: 20px;
}
.choice-card {
  min-height: 206px;
  padding: 26px 24px 28px;
  border: 0;
  border-radius: 23px;
  text-align: center;
  cursor: pointer;
  background: #f7f7f7;
  height: 100%;
}
.choice-card.active {
  color: #fff;
  background: var(--green);
}
.choice-icon {
  width: 104px;
  height: 104px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.choice-card i {
  margin: 0;
  color: var(--blue);
  font-size: 38px;
}
.choice-card h4 {
  margin: 0;
  color: #13243b;
  font-size: 28px;
  font-weight: 500;
}
.choice-card.active h4 { color: #fff; }
.security-note {
  width: fit-content;
  max-width: 100%;
  margin: 40px auto 0;
  padding: 9px 18px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #13243b;
  background: #e8edf0;
  font-size: 18px;
  line-height: 1.25;
}
.security-note i {
  color: var(--blue);
  font-size: 20px;
}
.rates-next {
  position: absolute;
  right: 50px;
  bottom: 50px;
  min-width: 166px;
  min-height: 61px;
  padding-inline: 36px;
  font-size: 18px;
  font-weight: 500;
}

.calc-shell {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 30px;
}
.result-card { padding: 34px; }
.payment-number {
  color: var(--green);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 700;
  line-height: 1;
}
.donut {
  width: 260px;
  height: 260px;
  margin: 28px auto;
  border-radius: 50%;
  background: conic-gradient(var(--green) 0 64%, #1b4662 64% 82%, #c5dffb 82% 100%);
  position: relative;
}
.donut::after {
  content: "";
  position: absolute;
  inset: 54px;
  border-radius: 50%;
  background: #fff;
}
.details-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid #edf0f2;
  color: #4f5e68;
}
.details-row strong,
.details-row span { overflow-wrap: anywhere; }

/* Calculator page */
.calculator-page .hero-calculator {
  background-position: center 46%;
}
.calculator-section {
  padding: 100px 0 112px;
  background: #e8f6ff;
}
.calculator-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(420px, 1fr);
  gap: 30px;
  align-items: stretch;
  min-width: 0;
}
.calculator-form-card,
.calculator-result-card,
.calc-detail-card,
.biweekly-card {
  min-width: 0;
  border-radius: 22px;
  background: #fff;
  box-shadow: none;
}
.calculator-form-card {
  padding: 30px 30px 38px;
}
.calculator-form-card form {
  display: grid;
  gap: 13px;
}
.calc-row {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  min-width: 0;
}
.calc-row > * {
  min-width: 0;
}
.calc-row label {
  margin: 0;
  color: #444;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 400;
}
.calc-input {
  width: 100%;
  min-width: 0;
  min-height: 56px;
  border: 1px solid #dfdfdf;
  border-radius: 999px;
  display: grid;
  overflow: hidden;
  background: #f7f7f7;
}
.calc-input input,
.calc-input select {
  width: 100%;
  min-width: 0;
  border: 0;
  padding: 0 20px;
  color: #444;
  background: transparent;
  font: inherit;
  font-size: 18px;
  outline: 0;
}
.calc-input span {
  min-width: 50px;
  border-color: #dedede;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #444;
  font-size: 18px;
}
.calc-input.has-prefix {
  grid-template-columns: 50px 1fr;
}
.calc-input.has-prefix span {
  border-right: 1px solid #dedede;
}
.calc-input.has-suffix {
  grid-template-columns: 1fr 98px;
}
.calc-input.has-suffix span {
  border-left: 1px solid #dedede;
}
.calc-split {
  grid-template-columns: 50px minmax(120px, 1.35fr) minmax(96px, .55fr) 50px;
}
.calc-split span {
  border-right: 1px solid #dedede;
}
.calc-split span:last-child {
  border-right: 0;
  border-left: 1px solid #dedede;
}
.calc-split input + input {
  border-left: 1px solid #dedede;
}
.calc-date {
  grid-template-columns: 1fr 130px;
}
.calc-date input {
  border-left: 1px solid #dedede;
}
.calc-date select {
  appearance: none;
  background: linear-gradient(45deg, transparent 50%, #a8a8a8 50%) calc(100% - 25px) 26px/8px 8px no-repeat,
    linear-gradient(135deg, #a8a8a8 50%, transparent 50%) calc(100% - 19px) 26px/8px 8px no-repeat;
}
.calc-range {
  position: relative;
  height: 18px;
  margin-top: 8px;
  border-radius: 999px;
  background: linear-gradient(#edf4ed, #edf4ed) center/100% 4px no-repeat;
}
.calc-range input[type="range"] {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 18px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.calc-range span {
  position: absolute;
  left: 0;
  top: 7px;
  height: 4px;
  border-radius: 999px;
  background: var(--green);
}
.calc-range span::after {
  content: "";
  position: absolute;
  right: -7px;
  top: -6px;
  width: 16px;
  height: 16px;
  border: 2px solid #dbe8dc;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 2px 4px rgba(0,0,0,.2);
}
.calculator-result-card {
  padding: 0 30px 30px;
}
.calc-result-head {
  min-height: 160px;
  margin: 0 -30px 24px;
  padding: 30px;
  border-radius: 22px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  background: #1b4d68;
}
.calc-result-head strong {
  color: #fff;
  font-size: clamp(48px, 4vw, 64px);
  line-height: 1;
  font-weight: 500;
}
.calc-result-head span {
  margin-top: 8px;
  color: #fff;
  font-size: 18px;
}
.calc-cost-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 12px;
  color: #4b4b4b;
  font-size: 18px;
}
.calc-cost-row strong {
  color: #424242;
}
.calc-divider {
  height: 1px;
  margin: 26px 0 26px;
  background: #ddd;
}
.calculator-result-card h3 {
  margin: 0 0 24px;
  color: #424242;
  font-size: 18px;
  font-weight: 700;
}
.breakdown-graphic {
  position: relative;
  height: 365px;
  margin-top: 8px;
}
.calc-donut {
  position: absolute;
  left: 50%;
  top: 118px;
  width: 186px;
  height: 186px;
  margin: 0;
  transform: translateX(-50%);
  background: conic-gradient(#053354 0 24%, #0074a9 24% 50%, #0759a5 50% 76%, #061c3d 76% 100%);
}
.calc-donut::after {
  inset: 56px;
}
.break-label {
  position: absolute;
  color: #4b4b4b;
  font-size: 18px;
  line-height: 1.2;
}
.label-hoa { left: 72px; top: 10px; }
.label-principal { right: 120px; top: 12px; }
.label-tax { left: 72px; top: 220px; }
.label-interest { right: 120px; top: 234px; }
.breakdown-graphic .line {
  position: absolute;
  display: block;
  height: 1px;
  background: #444;
}
.line-hoa {
  left: 150px;
  top: 70px;
  width: 118px;
}
.line-hoa::before,
.line-principal::after,
.line-tax::before,
.line-interest::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 30px;
  background: #444;
}
.line-hoa::before,
.line-tax::before {
  left: 0;
  bottom: 0;
}
.line-principal {
  right: 166px;
  top: 70px;
  width: 118px;
}
.line-principal::after,
.line-interest::after {
  right: 0;
  bottom: 0;
}
.line-tax {
  left: 150px;
  top: 250px;
  width: 118px;
}
.line-tax::before,
.line-interest::after {
  top: 0;
  bottom: auto;
}
.line-interest {
  right: 166px;
  top: 250px;
  width: 118px;
}
.calculator-result-card .breakdown-graphic {
  height: auto;
  min-height: 0;
  margin-top: 0;
  display: grid;
  grid-template-columns: minmax(160px, 210px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}
.calculator-result-card .calc-donut {
  position: relative;
  left: auto;
  top: auto;
  width: clamp(170px, 16vw, 210px);
  height: clamp(170px, 16vw, 210px);
  margin: 0 auto;
  transform: none;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(16, 40, 61, .08), 0 18px 34px rgba(16, 40, 61, .12);
}
.calculator-result-card .calc-donut::after {
  inset: 58px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(16, 40, 61, .08);
}
.calculator-result-card .break-label,
.calculator-result-card .line {
  display: none;
}
.breakdown-legend {
  display: grid;
  gap: 10px;
  min-width: 0;
}
.breakdown-item {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid #e5ebef;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(16, 40, 61, .05);
}
.break-swatch {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: block;
}
.breakdown-principal .break-swatch { background: #1b4d68; }
.breakdown-interest .break-swatch { background: #2f7db7; }
.breakdown-tax .break-swatch { background: #73a942; }
.breakdown-insurance .break-swatch { background: #f6b44b; }
.breakdown-downpayment .break-swatch { background: #9ebbd8; }
.breakdown-item strong,
.breakdown-item em,
.breakdown-item b {
  display: block;
  color: #27384a;
  font-style: normal;
  line-height: 1.2;
}
.breakdown-item strong {
  margin-bottom: 3px;
  font-size: 13px;
  font-weight: 700;
}
.breakdown-item em {
  color: #6a7885;
  font-size: 13px;
}
.breakdown-item b {
  color: #10283d;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.amortization-btn {
  min-width: 376px;
  min-height: 58px;
  margin: 22px auto 0;
  display: flex;
  width: fit-content;
  font-size: 16px;
  letter-spacing: 1.8px;
}
.calculator-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(420px, 1fr);
  gap: 30px;
  margin-top: 30px;
  min-width: 0;
}
.calc-detail-card,
.biweekly-card {
  padding: 32px 30px 40px;
}
.calc-detail-card h2,
.biweekly-card h2 {
  margin: 0 0 24px;
  color: #10283d;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 500;
}
.detail-metric {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 190px 90px 90px;
  gap: 30px;
  align-items: center;
  min-height: 38px;
  color: #444;
  font-size: 18px;
}
.detail-metric strong {
  text-align: right;
}
.detail-metric i {
  width: 102px;
  height: 30px;
  border-radius: 5px;
  display: block;
  background: linear-gradient(90deg, var(--green) var(--bar), transparent var(--bar));
}
.detail-metric em {
  font-style: normal;
}
.calc-detail-separator {
  height: 1px;
  margin: 26px 0 28px;
  background: #ddd;
}
.detail-total {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 190px 180px;
  min-height: 42px;
  align-items: center;
  color: #444;
  font-size: 18px;
}
.detail-total strong {
  text-align: right;
}
.biweekly-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 52px;
  margin-top: 32px;
}
.biweekly-grid strong {
  display: block;
  color: var(--blue);
  font-size: clamp(34px, 3vw, 44px);
  line-height: 1.1;
  font-weight: 500;
  white-space: nowrap;
}
.biweekly-grid span {
  color: #4f4f4f;
  font-size: 18px;
}
.biweekly-card p {
  margin: 46px 0 0;
  color: #424242;
  font-size: 25px;
  line-height: 1.25;
  font-weight: 700;
  text-align: center;
}
.calculator-quote .loan-quote-card {
  width: min(815px, calc(100% - 96px));
}
.calculator-quote .loan-quote-panel {
  min-height: 810px;
  background:
    linear-gradient(90deg, rgba(4,34,45,.14), rgba(4,48,60,.88)),
    url("../images/quick-qoute.png") center/cover no-repeat;
}
.calculator-quote .loan-quote-photo {
  background: transparent;
}
.calculator-quote .loan-quote-card h2 {
  font-size: clamp(44px, 4vw, 68px);
  line-height: 1.08;
}

/* Refinance calculator */
.refinance-page-content { overflow: hidden; }
.refinance-calculator-section {
  padding: 92px 0 108px;
  background: #e8f6ff;
}
.refinance-calculator__header {
  max-width: 820px;
  margin: 0 0 34px;
}
.refinance-calculator__header h2 {
  margin: 8px 0 14px;
  color: #10283d;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.05;
  font-weight: 500;
}
.refinance-calculator__header p {
  max-width: 720px;
  margin: 0;
  color: #4f5e68;
  font-size: 18px;
  line-height: 1.6;
}
.refinance-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.refinance-tabs button {
  min-width: 132px;
  min-height: 48px;
  border: 1px solid #cbdde8;
  border-radius: 999px;
  padding: 10px 24px;
  color: #1b4d68;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.refinance-tabs button.active {
  border-color: #1b4d68;
  color: #fff;
  background: #1b4d68;
}
.refinance-calculator__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(380px, .75fr);
  gap: 30px;
  align-items: start;
}
.refinance-form-card,
.refinance-results-card {
  min-width: 0;
  border-radius: 22px;
  background: #fff;
}
.refinance-form-card {
  display: grid;
  gap: 28px;
  padding: 30px;
}
.refi-fieldset h3 {
  margin: 0 0 18px;
  color: #10283d;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 600;
}
.refi-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.refi-field-grid label {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: #464646;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.35;
}
.refi-field-grid .refi-checkbox-label {
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  align-self: end;
  min-height: 54px;
  border: 1px solid #dfdfdf;
  border-radius: 999px;
  padding: 0 18px;
  background: #f7f7f7;
  cursor: pointer;
}
.refi-checkbox-label input {
  width: 18px;
  height: 18px;
  accent-color: #1b4d68;
}
.refi-checkbox-label span {
  color: #27384a;
  font-size: 15px;
  font-weight: 600;
}
.refi-input {
  min-width: 0;
  min-height: 54px;
  border: 1px solid #dfdfdf;
  border-radius: 999px;
  display: grid;
  overflow: hidden;
  background: #f7f7f7;
}
.refi-input.has-prefix { grid-template-columns: 48px 1fr; }
.refi-input.has-suffix { grid-template-columns: 1fr 52px; }
.refi-input i {
  border-color: #dedede;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #444;
  font-style: normal;
}
.refi-input.has-prefix i { border-right: 1px solid #dedede; }
.refi-input.has-suffix i { border-left: 1px solid #dedede; }
.refi-input input {
  width: 100%;
  min-width: 0;
  border: 0;
  padding: 0 18px;
  color: #27384a;
  background: transparent;
  font: inherit;
  font-size: 17px;
  outline: 0;
}
.refi-input.readonly { background: #eef6f1; }
.refinance-results-card {
  position: sticky;
  top: 112px;
  padding: 0 28px 30px;
}
.refi-panel { display: none; }
.refi-panel.active { display: block; }
.refi-result-hero {
  min-height: 150px;
  margin: 0 -28px 24px;
  padding: 30px 28px;
  border-radius: 22px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  background: #1b4d68;
}
.refi-result-hero span {
  color: #dcebf2;
  font-size: 16px;
}
.refi-result-hero strong {
  margin-top: 8px;
  color: #fff;
  font-size: clamp(40px, 4vw, 58px);
  line-height: 1;
  font-weight: 600;
}
.refi-savings-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}
.refi-savings-summary div {
  min-width: 0;
  padding: 16px;
  border: 1px solid #e5ebef;
  border-radius: 14px;
  background: #f8fbfd;
}
.refi-savings-summary p {
  margin: 0;
  color: #4f5e68;
  font-size: 14px;
  line-height: 1.35;
}
.refi-savings-summary strong {
  display: block;
  margin: 5px 0;
  color: #4f7082;
  font-size: clamp(28px, 2.4vw, 38px);
  line-height: 1;
  font-weight: 700;
}
.refi-chart-card {
  margin-bottom: 20px;
  padding: 18px 16px;
  border: 1px solid #e5ebef;
  border-radius: 16px;
  background: #fff;
}
.refi-chart {
  display: grid;
  gap: 14px;
}
.refi-chart-row {
  display: grid;
  grid-template-columns: 78px minmax(120px, 1fr) 112px;
  gap: 12px;
  align-items: center;
  color: #4f5e68;
  font-size: 14px;
}
.refi-chart-row > span {
  font-weight: 700;
}
.refi-chart-row strong {
  color: #10283d;
  font-size: 14px;
  text-align: right;
  white-space: nowrap;
}
.refi-chart-track {
  height: 22px;
  border-radius: 999px;
  overflow: hidden;
  background: #e8eef4;
}
.refi-chart-track i {
  width: var(--bar);
  height: 100%;
  border-radius: inherit;
  display: block;
  background: #7b98a7;
  transition: width .2s ease;
}
.refi-chart-row:nth-child(2) .refi-chart-track i {
  background: #4f7082;
}
.refi-chart-row.savings .refi-chart-track i {
  background: #5a8d51;
}
.refi-metric-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid #e5ebef;
  color: #4f5e68;
  font-size: 16px;
}
.refi-metric-row strong,
.refi-breakdown strong {
  color: #10283d;
  white-space: nowrap;
}
.refi-breakdown {
  display: grid;
  gap: 12px;
}
.refi-breakdown div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid #e5ebef;
  border-radius: 12px;
  background: #fff;
}
.refi-breakdown span {
  color: #4f5e68;
  font-size: 15px;
}
.refi-amortization-groups {
  display: grid;
  gap: 14px;
}
.refi-download-csv {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  margin: 0 0 18px;
  padding: 10px 20px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  background: #1b4d68;
  font-size: 14px;
  font-weight: 700;
}
.refi-download-csv:hover,
.refi-download-csv:focus {
  background: #12384d;
}
.refi-year-group {
  border: 1px solid #e5ebef;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.refi-year-toggle {
  width: 100%;
  border: 0;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: minmax(90px, .7fr) repeat(3, minmax(0, 1fr)) 22px;
  gap: 12px;
  align-items: center;
  color: #10283d;
  background: #e4e4e4;
  font-size: 14px;
  text-align: left;
}
.refi-year-toggle::after {
  content: "-";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #4f7082;
  background: #fff;
  font-size: 18px;
  line-height: 1;
}
.refi-year-toggle.collapsed {
  color: #6d7a83;
  background: #f4f4f4;
}
.refi-year-toggle.collapsed::after {
  content: "+";
}
.refi-year-toggle span {
  color: #138990;
  font-size: 18px;
  font-weight: 700;
}
.refi-year-toggle em,
.refi-year-toggle strong {
  min-width: 0;
  font-style: normal;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.refi-month-table-wrap {
  display: none;
  overflow-x: auto;
}
.refi-month-table-wrap.active {
  display: block;
}
.refi-amortization-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  color: #27384a;
  font-size: 14px;
}
.refi-amortization-table th,
.refi-amortization-table td {
  padding: 13px 14px;
  border-bottom: 1px solid #e5ebef;
  text-align: right;
}
.refi-amortization-table th:first-child,
.refi-amortization-table td:first-child { text-align: left; }
.refi-amortization-table th {
  position: sticky;
  top: 0;
  color: #10283d;
  background: #f4f9fc;
  font-weight: 700;
}
.refi-disclaimer {
  max-width: 760px;
  margin: 22px 0 0;
  color: #5d6b76;
  font-size: 14px;
  line-height: 1.5;
}

.tab-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 36px;
}
.tab-pills button,
.tab-pills a {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  background: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0,44,82,.08);
}
.tab-pills button.active,
.tab-pills a.active { color: #fff; background: var(--green); }

.loan-link-grid,
.loan-list-grid,
.professional-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.loan-link {
  min-height: 112px;
  padding: 26px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--blue);
  background: #fff;
  box-shadow: var(--shadow);
  font-size: 22px;
  font-weight: 600;
}
.loan-link i { color: var(--green); }
.benefit-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.professional-card {
  padding: 22px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.professional-card img {
  width: 100%;
  height: 220px;
  border-radius: 16px;
  object-fit: cover;
  margin-bottom: 20px;
}
.professional-card span { display: block; color: var(--green); font-weight: 700; margin-bottom: 8px; }
.professional-card p { margin-bottom: 18px; }
.professional-card .btn { margin-top: auto; align-self: flex-start; }

.legal-card {
  max-width: 1080px;
  margin: 0 auto;
}
.legal-card h3 {
  margin: 30px 0 12px;
  color: var(--blue);
  font-size: 26px;
  font-weight: 600;
}
.legal-card p {
  font-size: 18px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.legal-card a {
  color: var(--green);
  font-weight: 700;
  overflow-wrap: anywhere;
}

@media (max-width: 1199.98px) {
  .inner-page .site-header { background: rgba(65,142,236,.95); }
  .inner-hero { min-height: 520px; }
  .loan-services-layout,
  .loan-detail-layout,
  .loan-quote-panel {
    grid-template-columns: 1fr;
  }
  .loan-services-image {
    min-height: 420px;
  }
  .loan-detail-intro {
    padding: 82px 0 92px;
  }
  .loan-detail-layout {
    max-width: 920px;
    gap: 34px;
  }
  .loan-detail-image {
    height: 460px;
  }
  .loan-detail-content {
    max-width: 100%;
  }
  .loan-option-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .loan-quote-panel {
    min-height: 0;
    background: #073342;
  }
  .loan-quote-photo {
    min-height: 390px;
    background:
      linear-gradient(90deg, rgba(4,34,45,.16), rgba(4,48,60,.72)),
      url("../images/quick-qoute.png") center/cover no-repeat;
  }
  .loan-quote-card {
    width: calc(100% - 40px);
    margin: -58px auto 56px;
  }
  .real-listings,
  .real-explore-section { padding: 76px 0; }
  .property-image-wrap img { height: 280px; }
  .quick-quote-panel {
    min-height: 0;
    grid-template-columns: 1fr;
    background: #073342;
  }
  .quote-photo {
    min-height: 390px;
    background:
      linear-gradient(90deg, rgba(4,34,45,.16), rgba(4,48,60,.72)),
      url("../images/quick-qoute.png") center/cover no-repeat;
  }
  .real-quote-card {
    width: calc(100% - 40px);
    margin: -58px auto 56px;
  }
  .rates-section { padding: 72px 0 110px; }
  .rates-card {
    min-height: 760px;
    padding: 42px 32px;
  }
  .apply-info-section {
    padding: 78px 0 88px;
  }
  .apply-info-card {
    min-height: 0;
    padding: 44px 36px 50px;
  }
  .calculator-grid,
  .calculator-bottom-grid {
    grid-template-columns: 1fr;
  }
  .recommended-page .inner-hero {
    min-height: 488px;
  }
  .pro-grid {
    gap: 24px;
  }
  .pro-card img {
    height: 210px;
  }
  .calculator-result-card {
    min-height: 720px;
  }
  .breakdown-graphic {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
  }
  .loan-link-grid,
  .loan-list-grid,
  .professional-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991.98px) {
  .page-section { padding: 78px 0; }
  .contact-image,
  .detail-image,
  .quick-quote .quote-image { height: 460px; min-height: 0; }
  .calc-shell,
  .benefit-columns { grid-template-columns: 1fr; }
  .pro-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .recommended-quote .loan-quote-card {
    width: calc(100% - 40px);
  }
  .apply-quote .loan-quote-photo {
    background:
      linear-gradient(90deg, rgba(4,34,45,.16), rgba(4,48,60,.72)),
      url("../images/quick-qoute.png") center/cover no-repeat;
  }
  .apply-quote .loan-quote-card {
    width: calc(100% - 40px);
  }
  .recommended-quote .loan-quote-photo {
    background:
      linear-gradient(90deg, rgba(4,34,45,.16), rgba(4,48,60,.72)),
      url("../images/quick-qoute.png") center/cover no-repeat;
  }
  .calc-row {
    grid-template-columns: 180px minmax(0, 1fr);
  }
  .detail-metric {
    grid-template-columns: minmax(180px, 1fr) 170px 90px 80px;
    gap: 18px;
  }
  .contact-info-row { grid-template-columns: 1fr; }
  .property-card .btn,
  .professional-card .btn { align-self: stretch; }
}

@media (max-width: 767.98px) {
  .inner-hero { min-height: 440px; }
  .inner-hero .container { padding-top: 90px; }
  .recommended-page .inner-hero h1 {
    font-size: 38px;
  }
  .recommended-page .inner-hero {
    min-height: 410px;
  }
  .recommended-page .inner-hero .container {
    padding-top: 78px;
  }
  .apply-page .inner-hero {
    min-height: 410px;
    background-position: 58% center;
  }
  .apply-page .inner-hero .container {
    padding-top: 78px;
  }
  .apply-page .inner-hero h1 {
    font-size: 42px;
  }
  .apply-info-section {
    padding: 58px 0 66px;
  }
  .apply-info-card {
    padding: 30px 20px 36px;
    border-radius: 18px;
  }
  .apply-intro {
    margin-bottom: 30px;
    font-size: 15px;
  }
  .apply-options {
    padding-left: 24px;
    font-size: 22px;
  }
  .apply-options li {
    margin-bottom: 28px;
  }
  .apply-options span,
  .documents-needed li {
    font-size: 15px;
  }
  .apply-info-card hr {
    margin: 36px 0 38px;
  }
  .documents-needed h2 {
    font-size: 23px;
  }
  .apply-quote .loan-quote-card {
    width: calc(100% - 24px);
    max-width: calc(100vw - 24px);
    padding: 28px 18px;
  }
  .apply-quote .loan-quote-card h2 {
    font-size: 38px;
  }
  .preapproval-modal {
    --bs-modal-margin: 12px;
  }
  .preapproval-modal .modal-dialog {
    max-width: calc(100vw - 24px);
    align-items: flex-start;
    margin-top: 16px;
    margin-bottom: 16px;
  }
  .preapproval-modal .modal-content {
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    padding: 30px 18px 28px;
    border-radius: 18px;
  }
  .preapproval-close {
    top: 10px;
    right: 10px;
  }
  .preapproval-head {
    margin-bottom: 26px;
  }
  .preapproval-head img {
    width: 190px;
    max-width: 66vw;
    margin-bottom: 16px;
  }
  .preapproval-head h2,
  .preapproval-head p {
    font-size: 22px;
  }
  .preapproval-form {
    gap: 13px;
  }
  .preapproval-form .form-grid.two,
  .preapproval-form .form-grid.one {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .preapproval-form label {
    font-size: 15px;
  }
  .preapproval-form .form-control {
    min-height: 52px;
    padding: 13px 20px;
    font-size: 15px;
  }
  .preapproval-submit {
    width: 100%;
    margin-top: 6px;
  }
  .pro-section {
    padding: 58px 0;
  }
  .pro-heading {
    margin-bottom: 30px;
  }
  .pro-heading h2 {
    max-width: 100%;
    font-size: clamp(28px, 8.2vw, 34px);
    line-height: 1.15;
    overflow-wrap: anywhere;
  }
  .pro-grid {
    grid-template-columns: 1fr;
  }
  .pro-card {
    padding: 12px 12px 20px;
    overflow: hidden;
  }
  .pro-card img {
    height: 230px;
  }
  .pro-card p,
  .pro-card a {
    font-size: 13px;
    overflow-wrap: anywhere;
  }
  .recommended-quote .loan-quote-card {
    width: calc(100% - 24px);
    max-width: calc(100vw - 24px);
    padding: 28px 18px;
  }
  .recommended-quote .loan-quote-card h2 {
    font-size: 38px;
  }
  .quote-help {
    align-items: flex-start;
    justify-content: flex-start;
  }
  .recommended-featured {
    padding: 58px 0 68px;
  }
  .recommended-cta {
    min-height: 0;
    padding: 74px 0;
    background:
      linear-gradient(90deg, rgba(90,141,81,.95), rgba(90,141,81,.88)),
      url("../images/image-7937-Photoroom-1.png") center/cover no-repeat;
  }
  .recommended-cta .cta-content h2 {
    font-size: 38px;
  }
  .calculator-section {
    padding: 58px 0 70px;
  }
  .calculator-section .container {
    padding-left: 16px;
    padding-right: 16px;
    overflow: hidden;
  }
  .calculator-form-card,
  .calculator-result-card,
  .calc-detail-card,
  .biweekly-card {
    border-radius: 18px;
  }
  .calculator-form-card,
  .calculator-result-card,
  .calc-detail-card,
  .biweekly-card {
    padding: 24px 16px;
    width: 100%;
    max-width: calc(100vw - 32px);
  }
  .calculator-result-card {
    min-height: 0;
  }
  .calc-row {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .calc-row label {
    font-size: 16px;
  }
  .calc-input {
    min-height: 54px;
  }
  .calc-input input,
  .calc-input select,
  .calc-input span {
    font-size: 16px;
  }
  .calc-input.has-prefix {
    grid-template-columns: 48px 1fr;
  }
  .calc-input.has-suffix {
    grid-template-columns: 1fr 84px;
  }
  .calc-split {
    grid-template-columns: 48px minmax(0, 1fr) minmax(72px, .55fr) 48px;
  }
  .calc-date {
    grid-template-columns: minmax(0, 1fr) 104px;
  }
  .calc-result-head {
    min-height: 140px;
    margin: -24px -16px 22px;
    padding: 24px;
  }
  .calc-result-head strong {
    font-size: 46px;
  }
  .calc-cost-row {
    font-size: 16px;
  }
  .breakdown-graphic {
    height: 300px;
    margin-top: 0;
    overflow: hidden;
  }
  .calc-donut {
    top: 94px;
    width: 156px;
    height: 156px;
  }
  .calc-donut::after {
    inset: 46px;
  }
  .break-label {
    font-size: 14px;
  }
  .label-hoa { left: 12px; top: 6px; max-width: 116px; }
  .label-principal { right: 10px; top: 6px; max-width: 86px; text-align: right; }
  .label-tax { left: 14px; top: 205px; }
  .label-interest { right: 12px; top: 218px; text-align: right; }
  .line-hoa,
  .line-tax {
    left: 76px;
    width: 76px;
  }
  .line-principal,
  .line-interest {
    right: 76px;
    width: 76px;
  }
  .line-hoa,
  .line-principal { top: 56px; }
  .line-tax,
  .line-interest { top: 226px; }
  .amortization-btn {
    width: 100%;
    min-width: 0;
    font-size: 14px;
    letter-spacing: 1px;
  }
  .calculator-bottom-grid {
    margin-top: 24px;
  }
  .calc-detail-card h2,
  .biweekly-card h2 {
    font-size: 27px;
  }
  .detail-metric {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 8px 0;
    border-bottom: 1px solid #edf0f2;
    font-size: 16px;
  }
  .detail-metric strong {
    text-align: left;
  }
  .detail-metric i {
    width: 100%;
    height: 12px;
  }
  .detail-total {
    grid-template-columns: 1fr;
    gap: 4px;
    font-size: 16px;
  }
  .detail-total strong {
    text-align: left;
  }
  .biweekly-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .biweekly-grid strong {
    white-space: normal;
  }
  .biweekly-card p {
    margin-top: 34px;
    font-size: 21px;
  }
  .calculator-quote .loan-quote-card {
    width: calc(100% - 24px);
    max-width: calc(100vw - 24px);
  }
  .calculator-quote .loan-quote-card h2 {
    font-size: 34px;
  }
  .loan-services-section {
    padding: 58px 0;
  }
  .loan-services-section .section-heading h2,
  .loan-options-section .section-heading h2,
  .loan-list-title {
    max-width: 100%;
    font-size: 36px;
    line-height: 1.14;
    overflow-wrap: anywhere;
  }
  .loan-programs-page .inner-hero h1 {
    font-size: 40px;
  }
  .loan-detail-page .inner-hero h1 {
    font-size: 34px;
  }
  .loan-detail-intro {
    padding: 54px 0 62px;
  }
  .loan-detail-layout {
    gap: 28px;
  }
  .loan-detail-image {
    height: 300px;
  }
  .loan-detail-content h2 {
    max-width: 100%;
    margin-bottom: 18px;
    font-size: clamp(24px, 6vw, 30px);
    overflow-wrap: anywhere;
    text-wrap: pretty;
    white-space: normal;
    word-break: normal;
  }
  .loan-detail-content h3 {
    margin-top: 30px;
    font-size: 26px;
  }
  .loan-detail-content p,
  .loan-detail-content li {
    font-size: 16px;
    line-height: 1.66;
  }
  .loan-detail-content p {
    margin-bottom: 20px;
  }
  .loan-detail-content ul,
  .loan-detail-content ol {
    gap: 12px;
    margin-bottom: 24px;
  }
  .loan-detail-content li {
    padding-left: 28px;
  }
  .loan-benefit-table h3 {
    margin-top: 30px;
    font-size: 28px;
  }
  .loan-benefit-columns {
    grid-template-columns: 1fr;
  }
  .loan-benefit-columns > div {
    padding: 22px 20px;
  }
  .loan-benefit-columns > div + div {
    padding-left: 20px;
    border-top: 1px solid #dbe5ed;
    border-left: 1px solid #dbe5ed;
  }
  .loan-benefit-columns h4 {
    font-size: 22px;
  }
  .loan-benefit-columns li {
    padding-left: 36px;
    font-size: 16px;
  }
  .loan-service-grid,
  .loan-option-grid {
    grid-template-columns: 1fr;
  }
  .loan-service-card {
    min-height: 0;
    padding: 26px 22px;
  }
  .loan-services-image {
    min-height: 300px;
  }
  .loan-options-section {
    padding: 64px 0 72px;
  }
  .loan-options-section .section-heading {
    margin-bottom: 38px;
  }
  .loan-option {
    min-height: 66px;
    padding: 0 18px;
    font-size: 16px;
  }
  .loan-list-title {
    margin: 68px 0 34px;
  }
  .refinance-title {
    margin-top: 78px;
  }
  .loan-quote-photo {
    min-height: 310px;
  }
  .loan-quote-card {
    width: calc(100% - 24px);
    max-width: calc(100vw - 24px);
    margin: -44px auto 42px;
    padding: 28px 18px;
  }
  .loan-quote-card h2 {
    font-size: 38px;
  }
  .loan-detail-quote .loan-quote-card h2 {
    font-size: 34px;
  }
  .loan-detail-quote .loan-quote-card {
    width: calc(100% - 24px);
    max-width: calc(100vw - 24px);
  }
  .loan-featured {
    padding-top: 58px;
  }
  .real-listings,
  .real-explore-section { padding: 58px 0; }
  .real-listings .listing-top h2,
  .real-explore-section .section-heading h2 {
    max-width: 100%;
    font-size: 34px;
    line-height: 1.12;
  }
  .property-image-wrap img { height: 235px; }
  .real-listings .swiper-slide {
    width: calc(100vw - 48px) !important;
    max-width: calc(100vw - 48px);
  }
  .real-listings .real-property-card {
    width: calc(100vw - 48px);
    max-width: calc(100vw - 48px);
    margin: 0 auto;
  }
  .real-property-card {
    min-width: 0;
    padding: 12px 12px 24px;
  }
  .real-property-card .btn {
    width: fit-content;
    min-width: 0;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding: 16px 24px;
    line-height: 1.2;
  }
  .real-property-card .meta {
    gap: 16px;
    font-size: 13px;
    letter-spacing: 1px;
  }
  .real-property-card h3 { font-size: 26px; }
  .real-property-card p {
    min-height: 0;
    font-size: 16px;
    overflow-wrap: anywhere;
  }
  .real-property-card address {
    font-size: 14px;
    letter-spacing: 1px;
    overflow-wrap: anywhere;
  }
  .real-listings .slider-line {
    margin-top: 34px;
    grid-template-columns: 1fr 44px 44px;
    column-gap: 8px;
  }
  .real-listings .property-prev,
  .real-listings .property-next {
    width: 44px;
    height: 44px;
  }
  .quote-photo { min-height: 310px; }
  .real-quote-card {
    width: calc(100% - 24px);
    max-width: calc(100vw - 24px);
    margin: -44px auto 42px;
    padding: 28px 18px;
  }
  .real-quote-card h2 { font-size: 38px; }
  .quote-phone {
    align-items: flex-start;
    justify-content: flex-start;
  }
  .real-tabs {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-bottom: 36px;
  }
  .real-tabs button,
  .real-tabs a {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 11px 18px;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1.2;
    white-space: nowrap;
  }
  .real-pagination {
    gap: 12px;
    flex-wrap: wrap;
  }
  .section-title-row { align-items: flex-start; flex-direction: column; }
  .loan-link-grid,
  .loan-list-grid,
  .professional-grid { grid-template-columns: 1fr; }
  .rates-section { padding: 46px 0 72px; }
  .rates-section .container {
    padding-left: 16px;
    padding-right: 16px;
    overflow: hidden;
  }
  .rates-card {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
    min-height: 0;
    margin-left: auto;
    margin-right: auto;
    padding: 32px 16px;
    overflow: hidden;
  }
  .rates-card h2 {
    max-width: 270px;
    margin-left: auto;
    margin-right: auto;
    font-size: 30px;
    white-space: normal !important;
    overflow-wrap: normal;
  }
  .rates-card-head {
    padding: 0 0 34px;
  }
  .progress-steps {
    margin-bottom: 54px;
  }
  .progress-steps strong {
    left: 0;
    transform: translateX(-24%);
  }
  .rates-card-body {
    margin-top: 34px;
    max-width: 100%;
  }
  .rates-card-body h3 {
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
    font-size: 24px;
    white-space: normal !important;
    overflow-wrap: normal;
  }
  .rates-choice-row {
    width: 100%;
    grid-template-columns: 1fr;
  }
  .choice-card {
    width: 100%;
    max-width: 100%;
    min-height: 178px;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }
  .security-note {
    max-width: 280px;
    align-items: flex-start;
    text-align: left;
    font-size: 15px;
  }
  .rates-next {
    position: static;
    width: 100%;
    margin-top: 42px;
  }
  .donut { width: 220px; height: 220px; }
  .tab-pills button { flex: 1 1 calc(50% - 14px); }
}

/* About page: matched to pages/COMPANY - About.jpg */

@media (min-width: 1200px) {
  .about-page .company-dropdown:hover > .company-menu {
    display: block;
  }
}

.about-page .about-hero {
  min-height: 650px;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(83,153,241,.76), rgba(36,102,190,.78)),
    url("../images/about-us-banner-cover.png") center 42%/cover no-repeat;
}

.about-page .about-hero::before {
  display: none;
}

.about-page .about-hero-title {
  padding-top: 110px;
  text-align: center;
}

.about-page .about-hero h1 {
  margin: 0 auto;
  color: #fff;
  font-family: "Instrument Sans", Arial, sans-serif;
  font-size: 80px;
  font-weight: 500;
  line-height: 1;
}

.about-page .about-hero h1::after {
  content: "";
  display: block;
  width: 356px;
  height: 2px;
  margin: 22px auto 0;
  background: rgba(255,255,255,.92);
}

.about-profile {
  padding: 100px 0 110px;
  background: #fff;
}

.profile-photo {
  width: 100%;
  height: 966px;
  border-radius: 18px;
  object-fit: cover;
  object-position: center top;
}

.profile-content {
  padding-left: 4px;
}

.profile-content .eyebrow {
  margin-bottom: 14px;
  padding: 9px 18px;
  color: #5A8D51;
  font-size: 18px;
  font-weight: 600;
  background: #f4f4f4;
}

.profile-content h2 {
  margin: 0 0 30px;
  max-width: 900px;
  color: #1A4561;
  font-size: 60px;
  font-weight: 500;
  line-height: 1.05;
}

.profile-content p {
  margin: 0 0 30px;
  max-width: 900px;
  color: #4d4d4d;
  font-size: 20px;
  line-height: 1.55;
}

.about-highlights {
  margin: 0 0 38px;
  padding: 30px 32px;
  border: 1px solid rgba(20, 101, 182, .14);
  border-left: 5px solid var(--primary-blue);
  border-radius: 12px;
  background: #f4f9ff;
  box-shadow: 0 18px 38px rgba(16, 40, 61, .08);
}

.about-highlights h3 {
  margin: 0 0 18px;
  color: #10283d;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
}

.about-highlights ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-highlights li {
  position: relative;
  padding-left: 34px;
  color: #3f4d5a;
  font-size: 18px;
  line-height: 1.5;
}

.about-highlights li::before {
  position: absolute;
  top: 2px;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  content: "\f00c";
  color: #fff;
  background: var(--primary-blue);
  font-family: "Font Awesome 6 Free";
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.desktop-title-line,
.profile-content h2 span:last-child {
  display: block;
}

.mobile-title-line {
  display: none;
}

.broker-row {
  display: grid;
  grid-template-columns: 1fr 230px;
  gap: 30px;
  align-items: end;
  margin: 0 0 28px;
}

.broker-row h3 {
  margin: 0 0 10px;
  color: #10283d;
  font-size: 42px;
  font-weight: 600;
  line-height: 1.1;
}

.broker-row p {
  margin: 0;
  color: #555;
  font-size: 20px;
}

.state-mark {
  display: flex;
  align-items: center;
  justify-content: center;
}

.state-mark img {
  width: 215px;
  height: auto;
  object-fit: contain;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 2.35fr;
  border-top: 1px solid #dddddd;
  border-bottom: 1px solid #dddddd;
  margin-bottom: 40px;
}

.info-grid div {
  min-height: 132px;
  padding: 28px 30px;
  border-right: 1px solid #dddddd;
}

.info-grid div:last-child {
  border-right: 0;
}

.info-grid strong,
.info-grid span {
  display: block;
}

.info-grid strong {
  margin-bottom: 18px;
  color: #10283d;
  font-size: 26px;
  font-weight: 500;
}

.info-grid span {
  color: #4f4f4f;
  font-size: 18px;
  overflow-wrap: anywhere;
}

.about-facebook {
  min-height: 130px;
  padding: 10px 18px 10px 32px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: #e8f6ff;
  box-shadow: 0 15px 35px rgba(27,70,98,.1);
}

.about-facebook > span {
  color: var(--primary-blue);
  font-size: 40px;
  line-height: 1.1;
  font-weight: 500;
}

.about-facebook > div {
  min-width: 220px;
  padding: 10px 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: #fff;
}

.about-fb-mark {
  width: 82px;
  height: 82px;
  flex: 0 0 82px;
  font-size: 72px;
  background: transparent;
}

.about-facebook img {
  width: 82px;
  height: 82px;
  object-fit: cover;
}

.qualify-section {
  min-height: 845px;
  padding: 120px 0;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(10,45,61,.08), rgba(0,73,84,.9)),
    url("../images/quick-qoute.png") center/cover no-repeat;
}

.qualify-section::before {
  display: none;
}

.qualify-card {
  max-width: 815px;
  padding: 58px 42px 38px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(0,0,0,.14);
}

.qualify-card h2 {
  margin: 0 0 36px;
  max-width: 560px;
  color: var(--primary-blue);
  font-size: 64px;
  font-weight: 500;
  line-height: 1.05;
}

.qualify-card label {
  margin-bottom: 12px;
  color: #333;
  font-size: 18px;
}

.qualify-card .form-control,
.qualify-card .form-select {
  min-height: 58px;
  border: 1px solid #e1e1e1;
  border-radius: 999px;
  padding: 14px 22px;
  color: #9a9a9a;
  background-color: #f7f7f7;
  font-size: 18px;
  box-shadow: none;
}

.qualify-card .btn {
  min-height: 62px;
  margin-top: 12px;
  background: var(--green);
  font-size: 18px;
  letter-spacing: 1.8px;
}

.about-footer.footer {
  padding: 74px 0 34px;
  color: #4c4c4c;
  background: #fff;
}

.about-footer .footer-logo {
  width: 310px;
  height: auto;
  margin: 0 auto 10px 0;
}

.equal-housing {
  display: block;
  color: #000;
  font-size: 0;
  text-align: center;
  width: 310px;
  max-width: 100%;
}

.equal-housing i,
.equal-housing-icon {
  display: block;
  width: 76px;
  height: 76px;
  font-size: 58px;
  line-height: 76px;
  margin-bottom: 4px;
  margin-left: auto;
  margin-right: auto;
}

.equal-housing-image {
  display: block;
  width: 150px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.equal-housing span {
  display: block;
  color: #000;
  font-size: 13px;
  line-height: 1.05;
  font-weight: 800;
  text-transform: uppercase;
}

.expert-guide-hero {
  background-position: center;
}

.expert-guide-section {
  position: relative;
}

.expert-guide-heading .eyebrow {
  color: var(--green);
  font-size: 18px;
  font-weight: 600;
}

.expert-guide-heading h2 {
  color: var(--blue);
  font-size: 60px;
  line-height: 1.08;
  font-weight: 500;
}

.expert-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.expert-guide-card {
  min-width: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.expert-guide-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.85 / 1;
  background: #dcecf6;
}

.expert-guide-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.expert-guide-card-image span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--green);
  box-shadow: 0 12px 24px rgba(0, 0, 0, .16);
  font-size: 18px;
  font-weight: 800;
}

.expert-guide-card-body {
  padding: 28px 30px 32px;
}

.expert-guide-card h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 24px;
  line-height: 1.25;
  font-weight: 700;
}

.expert-guide-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.expert-guide-cta {
  --cta-image: url("../images/consulting-keys.png");
}

@media (max-width: 1199.98px) {
  .expert-guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .expert-guide-heading h2 {
    font-size: 42px;
  }

  .expert-guide-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .expert-guide-card-body {
    padding: 24px 22px 28px;
  }
}

@media (max-width: 575.98px) {
  .expert-guide-heading h2 {
    font-size: 34px;
  }

  .expert-guide-card h3 {
    font-size: 22px;
  }

  .expert-guide-card p {
    font-size: 15px;
  }
}

.about-footer .footer-desc {
  display: none;
}

.about-footer h3 {
  margin-bottom: 26px;
  color: #0F223A;
  font-size: 24px;
  font-weight: 500;
}

.about-footer a {
  margin-bottom: 17px;
  color: #4f4f4f;
  font-size: 20px;
}

.about-footer .footer-bottom {
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid #e4e4e4;
  color: #4f4f4f;
}

.about-footer .footer-bottom p,
.about-footer .footer-bottom a,
.about-footer .footer-bottom span {
  color: #464646;
  font-size: 18px;
  line-height: 1;
}
.about-footer a {
  color: #5C5C5C;
  font-size: 18px;
}

.about-footer .footer-bottom a,
.about-footer .footer-bottom span {
  display: inline-flex;
  align-items: center;
  margin: 0;
}

.about-footer .footer-watermark {
  position: static;
  display: block;
  margin-top: 30px;
  color: rgba(16,40,61,.045);
  font-size: clamp(42px, 5.3vw, 120px);
  font-weight: 500;
}

@media (max-width: 1399.98px) {
  .profile-content h2 { font-size: 50px; }
  .about-facebook > span { font-size: 32px; }
}

@media (max-width: 1199.98px) {
  .about-page .company-dropdown .company-menu {
    display: none;
  }
  .about-page .company-dropdown .company-menu.show {
    display: block;
  }
  .profile-photo {
    height: 760px;
  }
  .profile-content h2 {
    font-size: 46px;
  }
  .broker-row {
    grid-template-columns: 1fr;
  }
  .state-mark {
    justify-content: flex-start;
  }
  .info-grid {
    grid-template-columns: 1fr;
  }
  .info-grid div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid #ddd;
  }
  .info-grid div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 991.98px) {
  .about-page .about-hero {
    min-height: 520px;
  }
  .about-profile {
    padding: 80px 0;
  }
  .profile-photo {
    height: 680px;
  }
  .qualify-card {
    margin: 0 auto;
  }
  .about-footer .row > div {
    margin-bottom: 20px;
  }
}

@media (max-width: 767.98px) {
  .about-page .about-hero h1 {
    font-size: 52px;
  }
  .about-page .about-hero h1::after {
    width: 240px;
  }
  .profile-photo {
    height: 540px;
  }
  .profile-content h2 {
    font-size: 38px;
  }
  .about-highlights {
    padding: 26px 24px;
  }
  .about-highlights h3 {
    font-size: 24px;
  }
  .about-highlights li {
    font-size: 17px;
  }
  .desktop-title-line {
    display: none;
  }
  .mobile-title-line {
    display: block;
  }
  .about-facebook {
    align-items: flex-start;
    flex-direction: column;
  }
  .about-facebook > span {
    font-size: 28px;
  }
  .about-facebook > div {
    width: 100%;
  }
  .qualify-section {
    padding: 80px 0;
  }
  .qualify-card {
    padding: 34px 24px;
  }
  .qualify-card h2 {
    font-size: 42px;
  }
  .about-footer .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
  .about-footer .footer-watermark {
    display: block;
  }
}

@media (max-width: 424.98px) {
  .about-page .about-hero {
    min-height: 430px;
  }
  .about-page .about-hero h1 {
    font-size: 42px;
  }
  .profile-photo {
    height: 440px;
  }
  .profile-content p,
  .about-highlights li,
  .broker-row p,
  .info-grid span,
  .about-footer a {
    font-size: 16px;
  }
  .about-highlights {
    padding: 24px 20px;
  }
  .broker-row h3 {
    font-size: 32px;
  }
  .info-grid strong,
  .about-footer h3 {
    font-size: 22px;
  }
  .qualify-card h2 {
    font-size: 34px;
  }
}

@media (max-width: 1199.98px) {
  .calculator-result-card .breakdown-graphic {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .refinance-calculator__grid {
    grid-template-columns: 1fr;
  }
  .refinance-results-card {
    position: static;
  }
}

@media (max-width: 575.98px) {
  .hero-copy {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
  .hero h1 {
    max-width: min(100%, 360px);
    font-size: 29px;
    line-height: 1.12;
    overflow-wrap: normal;
    text-wrap: balance;
    word-break: normal;
  }
  .hero p {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.55;
    overflow-wrap: anywhere;
  }
  .inner-hero h1,
  .recommended-page .inner-hero h1,
  .monthly-newsletter-page .inner-hero h1 {
    font-size: clamp(32px, 9vw, 38px);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }
  .loan-detail-page .inner-hero h1 {
    font-size: clamp(28px, 7vw, 38px);
    line-height: 1.08;
    overflow-wrap: normal;
    text-wrap: balance;
    white-space: normal;
    word-break: normal;
  }
  .inner-hero p {
    max-width: 300px;
    font-size: 15px;
    line-height: 1.55;
    overflow-wrap: anywhere;
  }
  .social-box {
    width: calc(100% - 32px);
    min-width: 0;
    padding: 18px 14px;
    font-size: 21px;
    margin: 10px 10px 10px 10px;
  }
  .social-box > span:first-child {
    min-width: 0;
    max-width: 290px;
  }
  .pro-heading h2 {
    font-size: 30px;
    line-height: 1.16;
  }
  .pro-card p {
    min-height: 0;
    font-size: 12.5px;
  }
  .monthly-newsletter-page,
  .monthly-newsletter-page main {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }
  .monthly-newsletter-page .container {
    max-width: 100%;
  }
  .monthly-newsletter-page .newsletter-hero {
    min-height: 360px;
    background-position: center;
  }
  .monthly-newsletter-page .inner-hero .container {
    padding-top: 72px;
  }
  .monthly-newsletter-page .inner-hero h1 {
    max-width: 280px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }
  .newsletter-listing {
    padding: 42px 0 56px;
  }
  .newsletter-layout,
  .newsletter-grid,
  .newsletter-card,
  .newsletter-sidebar {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
  }
  .newsletter-card h2,
  .qualify-panel h2 {
    overflow-wrap: anywhere;
  }
  .newsletter-search input {
    padding-right: 58px;
    padding-left: 18px;
    font-size: 14px;
  }
  .newsletter-categories h2 {
    font-size: 20px;
  }
  .newsletter-categories a {
    font-size: 14px;
    line-height: 1.25;
  }
  .newsletter-qualify {
    padding-right: 12px;
    padding-left: 12px;
  }
  .qualify-panel {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .monthly-newsletter-page .footer .row > [class*="col-"] {
    width: 100%;
    flex: 0 0 100%;
  }
  .ccmg-gform-wrap .gform_wrapper .gform_fields,
  .ccmg-gform-wrap .gform_wrapper .ginput_complex {
    grid-template-columns: 1fr;
  }
  .ccmg-gform-wrap .gform_wrapper .gfield--width-half,
  .ccmg-gform-wrap .gform_wrapper .gfield--width-third {
    grid-column: span 12;
  }
  .calculator-result-card .breakdown-graphic {
    height: auto;
    min-height: 0;
    overflow: visible;
  }
  .calculator-result-card .calc-donut {
    top: auto;
    width: 172px;
    height: 172px;
  }
  .calculator-result-card .calc-donut::after {
    inset: 50px;
  }
  .breakdown-item {
    grid-template-columns: 12px minmax(0, 1fr);
  }
  .breakdown-item b {
    grid-column: 2;
  }
  .refinance-calculator-section {
    padding: 58px 0 72px;
    overflow: hidden;
  }
  .refinance-page-content,
  .refinance-calculator,
  .refinance-calculator__grid,
  .refinance-form-card,
  .refinance-results-card,
  .refi-fieldset,
  .refi-field-grid,
  .refi-input,
  .refi-checkbox-label {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
  .refinance-calculator-section .container {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
    padding-left: 0;
    padding-right: 0;
    overflow: hidden;
  }
  .refinance-calculator__header {
    width: 100%;
    max-width: 100%;
  }
  .refinance-calculator__header h2 {
    width: 100%;
    max-width: 100%;
    font-size: 30px;
    line-height: 1.08;
    overflow-wrap: break-word;
    word-break: normal;
  }
  .refinance-calculator__header p {
    width: 100%;
    max-width: 100%;
  }
  .refinance-tabs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .refinance-tabs button {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding-right: 14px;
    padding-left: 14px;
    font-size: 12px;
    letter-spacing: .02em;
  }
  .refinance-form-card,
  .refinance-results-card {
    border-radius: 18px;
  }
  .refinance-form-card {
    padding: 22px 16px;
  }
  .refi-field-grid {
    grid-template-columns: 1fr;
  }
  .refi-input.has-prefix {
    grid-template-columns: 48px minmax(0, 1fr);
  }
  .refi-input.has-suffix {
    grid-template-columns: minmax(0, 1fr) 52px;
  }
  .refi-input input {
    padding-right: 14px;
    padding-left: 14px;
  }
  .refi-field-grid .refi-checkbox-label {
    border-radius: 18px;
    padding: 12px 14px;
  }
  .refinance-results-card {
    padding: 0 18px 22px;
  }
  .refi-result-hero {
    margin-right: -18px;
    margin-left: -18px;
    border-radius: 18px;
  }
  .refi-metric-row {
    flex-direction: column;
    gap: 5px;
  }
  .refi-savings-summary {
    grid-template-columns: 1fr;
  }
  .refi-chart-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .refi-chart-row strong {
    text-align: left;
  }
  .refi-year-toggle {
    grid-template-columns: 1fr 22px;
  }
  .refi-year-toggle em,
  .refi-year-toggle strong {
    grid-column: 1 / -1;
  }
  .refi-year-toggle::after {
    grid-column: 2;
    grid-row: 1;
  }
  .refi-breakdown div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

@media (max-width: 820px) {
  .footer.about-footer .row > div:first-child {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    text-align: center;
  }

  .footer.about-footer .footer-logo-link {
    flex: 0 1 auto;
    margin: 0;
  }

  .footer.about-footer .footer-logo {
    display: block;
    width: 326px;
    height: auto;
    margin: 0;
    object-position: center top;
  }

  .footer.about-footer .equal-housing {
    flex: 0 0 auto;
    width: auto;
    margin: 0;
  }
}

@media (max-width: 575.98px) {
  .hero-copy,
  .hero p,
  .hero-callout,
  .hero-actions {
    width: min(100%, 340px);
    max-width: calc(100vw - 64px);
  }
}

@media (max-width: 424.98px) {
  .footer.about-footer .row > div:first-child {
    gap: 12px;
  }

  .footer.about-footer .footer-logo {
    width: 170px;
  }

  .footer.about-footer .equal-housing {
    max-width: 100px;
  }

  .footer.about-footer .equal-housing-image {
    width: 88px;
  }

  .footer.about-footer .equal-housing span {
    font-size: 10px;
  }

  .hero {
    padding-top: 154px;
  }
  .hero-copy,
  .hero p,
  .hero-callout,
  .hero-actions {
    width: min(100%, 340px);
    max-width: calc(100vw - 64px);
  }
  .hero h1 {
    max-width: 320px;
    font-size: 28px;
    line-height: 1.14;
    letter-spacing: 0;
  }
}

@media (max-width: 359.98px) {
  .hero-copy,
  .hero p,
  .hero-callout,
  .hero-actions {
    width: min(100%, 300px);
    max-width: calc(100vw - 48px);
  }
  .hero h1 {
    max-width: 290px;
    font-size: 26px;
  }
}

@media (max-width: 767.98px) {
  .home .about-grid h2,
  .home .services .section-heading h2,
  .home .consult-card h2,
  .home .testimonials .section-heading h2,
  .home .listing-top h2 {
    font-size: 36px;
    line-height: 1.12;
  }

  .home .feature-card h3 {
    font-size: 24px;
    line-height: 1.18;
  }

  .home .calculator-card span {
    font-size: 28px;
    line-height: 1.12;
  }

  .rates-page .inner-hero h1 {
    font-size: 40px;
    line-height: 1.08;
  }

  .rates-page .inner-hero p {
    font-size: 16px;
    line-height: 1.5;
  }

  .rates-page .rates-card h2 {
    font-size: 36px;
    line-height: 1.12;
  }

  .rates-page .rates-card-body h3 {
    font-size: 26px;
    line-height: 1.2;
  }

  .rates-page .choice-card h4 {
    font-size: 24px;
  }
}

@media (max-width: 575.98px) {
  .home .about-grid h2,
  .home .services .section-heading h2,
  .home .consult-card h2,
  .home .testimonials .section-heading h2,
  .home .listing-top h2 {
    font-size: 32px;
  }

  .rates-page .inner-hero h1 {
    font-size: 34px;
  }

  .rates-page .rates-card h2 {
    font-size: 30px;
  }

  .rates-page .rates-card-body h3 {
    font-size: 24px;
  }
}

@media (max-width: 424.98px) {
  .home .about-grid h2,
  .home .services .section-heading h2,
  .home .consult-card h2,
  .home .testimonials .section-heading h2,
  .home .listing-top h2 {
    font-size: 30px;
  }

  .home .feature-card h3 {
    font-size: 22px;
  }

  .home .calculator-card span {
    font-size: 24px;
  }

  .rates-page .inner-hero h1 {
    max-width: 100%;
    font-size: clamp(28px, 7.2vw, 30px);
    overflow-wrap: normal;
    text-wrap: balance;
    word-break: normal;
  }

  .rates-page .inner-hero p {
    font-size: 15px;
  }
}

@media (max-width: 767.98px) {
  .btn,
  .nav-cta,
  .preapproval-submit,
  .rates-next,
  .amortization-btn,
  .tab-pills button,
  .tab-pills a,
  .single-newsletter-footer .btn,
  .single-sidebar-cta .btn,
  .qualify-panel button,
  .ccmg-gform-wrap .gform_wrapper .gform_button,
  .ccmg-gform-wrap .gform_wrapper input[type="submit"].gform_button,
  .ccmg-gform-wrap .gform_wrapper .gform-footer input[type="submit"],
  .ccmg-gform-wrap .gform_wrapper .gform-theme-button {
    max-width: 100% !important;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
    line-height: 1.2;
  }

  .btn {
    min-height: 54px;
    padding: 15px 22px;
    font-size: 14px;
    letter-spacing: .8px;
  }

  .ccmg-gform-wrap .gform_wrapper .gform_button,
  .ccmg-gform-wrap .gform_wrapper input[type="submit"].gform_button,
  .ccmg-gform-wrap .gform_wrapper .gform-footer input[type="submit"],
  .ccmg-gform-wrap .gform_wrapper .gform-theme-button {
    height: auto;
    min-height: 56px;
    padding: 14px 20px !important;
    font-size: 20px !important;
  }

  .preapproval-form .ccmg-gform-wrap .gform_wrapper .gform_button,
  .preapproval-form .ccmg-gform-wrap .gform_wrapper input[type="submit"].gform_button,
  .preapproval-form .ccmg-gform-wrap .gform_wrapper .gform-footer input[type="submit"],
  .preapproval-form .ccmg-gform-wrap .gform_wrapper .gform-theme-button {
    width: 100% !important;
    inline-size: 100% !important;
  }

  .tab-pills button,
  .tab-pills a {
    min-width: 0;
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (max-width: 575.98px) {
  .btn,
  .property-card .btn,
  .real-property-card .btn,
  .professional-card .btn,
  .single-newsletter-footer .btn,
  .single-sidebar-cta .btn,
  .qualify-panel button,
  .preapproval-submit,
  .rates-next,
  .amortization-btn {
    width: 100%;
    min-width: 0;
  }

  .ccmg-gform-wrap .gform_wrapper .gform_button,
  .ccmg-gform-wrap .gform_wrapper input[type="submit"].gform_button,
  .ccmg-gform-wrap .gform_wrapper .gform-footer input[type="submit"],
  .ccmg-gform-wrap .gform_wrapper .gform-theme-button {
    font-size: 18px !important;
  }

  .real-explore-section .real-property-card .btn,
  .real-listings .real-property-card .btn {
    width: fit-content;
    min-width: 184px;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding: 16px 24px;
  }

  .tab-pills button,
  .tab-pills a {
    flex: 1 1 100%;
  }

  .real-tabs button,
  .real-tabs a {
    flex: 0 0 auto;
    width: auto;
    min-width: max-content;
  }
}

@media (max-width: 1199.98px) {
  .loan-quick-quote .container,
  .real-quick-quote .container {
    max-width: 100%;
    padding-right: 0;
    padding-left: 0;
  }

  .loan-quote-panel,
  .quick-quote-panel {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
    align-items: stretch;
    background: #073342;
  }

  .loan-quote-photo,
  .quote-photo {
    min-height: clamp(320px, 45vw, 440px);
    background:
      linear-gradient(90deg, rgba(4,34,45,.10), rgba(4,48,60,.44)),
      url("../images/quick-qoute.png") center top / cover no-repeat !important;
  }

  .loan-quote-card,
  .real-quote-card,
  .apply-quote .loan-quote-card,
  .recommended-quote .loan-quote-card,
  .calculator-quote .loan-quote-card,
  .loan-detail-quote .loan-quote-card {
    width: min(760px, calc(100% - 40px));
    max-width: calc(100vw - 40px);
    margin: 32px auto 56px;
    padding: 36px 32px;
  }
}

@media (max-width: 1199.98px) {
  .home .consultation {
    min-height: 0;
    padding: 0 0 72px;
    background: #073342;
  }

  .home .consultation::before {
    content: "";
    display: block;
    min-height: clamp(320px, 45vw, 440px);
    background:
      linear-gradient(90deg, rgba(4,34,45,.10), rgba(4,48,60,.44)),
      url("../images/quick-qoute.png") center top / cover no-repeat;
  }

  .home .consult-card {
    width: min(730px, calc(100% - 40px));
    max-width: calc(100vw - 40px);
    margin-top: 40px;
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 767.98px) {
  .loan-quote-photo,
  .quote-photo {
    min-height: clamp(230px, 56vw, 320px);
  }

  .loan-quote-card,
  .real-quote-card,
  .apply-quote .loan-quote-card,
  .recommended-quote .loan-quote-card,
  .calculator-quote .loan-quote-card,
  .loan-detail-quote .loan-quote-card {
    width: calc(100% - 24px);
    max-width: calc(100vw - 24px);
    margin: 24px auto 42px;
    padding: 28px 18px;
  }

  .home .consultation {
    padding: 0 0 42px;
  }

  .home .consultation::before {
    min-height: clamp(230px, 56vw, 320px);
  }

  .home .consult-card {
    width: calc(100% - 24px);
    max-width: calc(100vw - 24px);
    margin-top: 24px;
    padding: 28px 18px;
  }
}

@media (max-width: 1199.98px) {
  .about-page .qualify-section {
    min-height: 0;
    padding: 0 0 72px;
    display: block;
    background: #073342;
  }

  .about-page .qualify-section::before {
    content: "";
    display: block;
    min-height: clamp(320px, 45vw, 440px);
    background:
      linear-gradient(90deg, rgba(4,34,45,.10), rgba(4,48,60,.44)),
      url("../images/quick-qoute.png") center top / cover no-repeat;
  }

  .about-page .qualify-card {
    width: min(815px, calc(100% - 40px));
    max-width: calc(100vw - 40px);
    margin: 40px auto 0;
    padding: 40px;
  }
}

@media (max-width: 767.98px) {
  .about-page .qualify-section {
    padding: 0 0 42px;
  }

  .about-page .qualify-section::before {
    min-height: clamp(230px, 56vw, 320px);
  }

  .about-page .qualify-card {
    width: calc(100% - 24px);
    max-width: calc(100vw - 24px);
    margin-top: 24px;
    padding: 28px 18px;
  }
}

@media (max-width: 1199.98px) {
  .monthly-newsletter-page .newsletter-qualify {
    min-height: 0;
    display: block;
    padding: 0 0 72px;
    background: #073342;
  }

  .monthly-newsletter-page .newsletter-qualify::before {
    content: "";
    display: block;
    min-height: clamp(320px, 45vw, 440px);
    background:
      linear-gradient(90deg, rgba(4,34,45,.10), rgba(4,48,60,.44)),
      url("../images/quick-qoute.png") center top / cover no-repeat;
  }

  .monthly-newsletter-page .qualify-panel {
    width: min(812px, calc(100% - 40px));
    max-width: calc(100vw - 40px);
    margin: 40px auto 0;
    padding: 40px;
  }
}

@media (max-width: 767.98px) {
  .monthly-newsletter-page .newsletter-qualify {
    padding: 0 0 42px;
  }

  .monthly-newsletter-page .newsletter-qualify::before {
    min-height: clamp(230px, 56vw, 320px);
  }

  .monthly-newsletter-page .qualify-panel {
    width: calc(100% - 24px);
    max-width: calc(100vw - 24px);
    margin-top: 24px;
    padding: 28px 18px;
  }
}

@media (max-width: 1199.98px) {
  .loan-programs-page .loan-quick-quote .container {
    max-width: 100%;
    padding-right: 0;
    padding-left: 0;
  }

  .loan-programs-page .loan-quote-panel {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
    align-items: stretch;
    background: #073342;
  }

  .loan-programs-page .loan-quote-photo {
    min-height: clamp(320px, 45vw, 440px);
    background:
      linear-gradient(90deg, rgba(4,34,45,.10), rgba(4,48,60,.44)),
      url("../images/quick-qoute.png") center top / cover no-repeat !important;
  }

  .loan-programs-page .loan-quote-card {
    width: min(760px, calc(100% - 40px));
    max-width: calc(100vw - 40px);
    margin: 32px auto 56px;
    padding: 36px 32px;
  }
}

@media (max-width: 767.98px) {
  .loan-programs-page .loan-quote-photo {
    min-height: clamp(230px, 56vw, 320px);
  }

  .loan-programs-page .loan-quote-card {
    width: calc(100% - 24px);
    max-width: calc(100vw - 24px);
    margin: 24px auto 42px;
    padding: 28px 18px;
  }
}

@media (max-width: 1199.98px) {
  .real-estate-page .real-quick-quote .container {
    max-width: 100%;
    padding-right: 0;
    padding-left: 0;
  }

  .real-estate-page .quick-quote-panel {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
    align-items: stretch;
    background: #073342;
  }

  .real-estate-page .quote-photo {
    min-height: clamp(320px, 45vw, 440px);
    background:
      linear-gradient(90deg, rgba(4,34,45,.10), rgba(4,48,60,.44)),
      url("../images/quick-qoute.png") center top / cover no-repeat !important;
  }

  .real-estate-page .real-quote-card {
    width: min(760px, calc(100% - 40px));
    max-width: calc(100vw - 40px);
    margin: 32px auto 56px;
    padding: 36px 32px;
  }
}

@media (max-width: 767.98px) {
  .real-estate-page .quote-photo {
    min-height: clamp(230px, 56vw, 320px);
  }

  .real-estate-page .real-quote-card {
    width: calc(100% - 24px);
    max-width: calc(100vw - 24px);
    margin: 24px auto 42px;
    padding: 28px 18px;
  }
}

@media (max-width: 1199.98px) {
  .recommended-page .recommended-quote .container {
    max-width: 100%;
    padding-right: 0;
    padding-left: 0;
  }

  .recommended-page .recommended-quote .loan-quote-panel {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
    align-items: stretch;
    background: #073342;
  }

  .recommended-page .recommended-quote .loan-quote-photo {
    min-height: clamp(320px, 45vw, 440px);
    background:
      linear-gradient(90deg, rgba(4,34,45,.10), rgba(4,48,60,.44)),
      url("../images/quick-qoute.png") center top / cover no-repeat !important;
  }

  .recommended-page .recommended-quote .loan-quote-card {
    width: min(760px, calc(100% - 40px));
    max-width: calc(100vw - 40px);
    margin: 32px auto 56px;
    padding: 36px 32px;
  }
}

@media (max-width: 767.98px) {
  .recommended-page .recommended-quote .loan-quote-photo {
    min-height: clamp(230px, 56vw, 320px);
  }

  .recommended-page .recommended-quote .loan-quote-card {
    width: calc(100% - 24px);
    max-width: calc(100vw - 24px);
    margin: 24px auto 42px;
    padding: 28px 18px;
  }
}

@media (max-width: 1199.98px) {
  .refinance-page .loan-detail-quote .container {
    max-width: 100%;
    padding-right: 0;
    padding-left: 0;
  }

  .refinance-page .loan-detail-quote .loan-quote-panel {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
    align-items: stretch;
    background: #073342;
  }

  .refinance-page .loan-detail-quote .loan-quote-photo {
    min-height: clamp(320px, 45vw, 440px);
    background:
      linear-gradient(90deg, rgba(4,34,45,.10), rgba(4,48,60,.44)),
      url("../images/quick-qoute.png") center top / cover no-repeat !important;
  }

  .refinance-page .loan-detail-quote .loan-quote-card {
    width: min(760px, calc(100% - 40px));
    max-width: calc(100vw - 40px);
    margin: 32px auto 56px;
    padding: 36px 32px;
  }
}

@media (max-width: 767.98px) {
  .refinance-page .loan-detail-quote .loan-quote-photo {
    min-height: clamp(230px, 56vw, 320px);
  }

  .refinance-page .loan-detail-quote .loan-quote-card {
    width: calc(100% - 24px);
    max-width: calc(100vw - 24px);
    margin: 24px auto 42px;
    padding: 28px 18px;
  }
}

@media (max-width: 1199.98px) {
  .about-page .qualify-section::before {
    min-height: clamp(280px, 38vw, 380px);
  }

  .about-page .qualify-card {
    width: min(700px, calc(100% - 40px));
    padding: 32px 28px;
  }

  .about-page .qualify-card h2 {
    max-width: 520px;
    margin-bottom: 24px;
    font-size: clamp(38px, 5vw, 52px);
    line-height: 1.08;
  }

  .about-page .qualify-card .ccmg-gform-wrap .gform_wrapper input[type="text"],
  .about-page .qualify-card .ccmg-gform-wrap .gform_wrapper input[type="email"],
  .about-page .qualify-card .ccmg-gform-wrap .gform_wrapper input[type="tel"],
  .about-page .qualify-card .ccmg-gform-wrap .gform_wrapper input[type="url"],
  .about-page .qualify-card .ccmg-gform-wrap .gform_wrapper input[type="number"],
  .about-page .qualify-card .ccmg-gform-wrap .gform_wrapper select,
  .about-page .qualify-card .ccmg-gform-wrap .gform_wrapper textarea {
    min-height: 50px;
    padding: 13px 16px;
  }
}

@media (max-width: 767.98px) {
  .about-page .qualify-section::before {
    min-height: clamp(200px, 48vw, 270px);
  }

  .about-page .qualify-card {
    padding: 24px 16px;
  }

  .about-page .qualify-card h2 {
    margin-bottom: 20px;
    font-size: 32px;
  }
}

@media (max-width: 1199.98px) {
  .about-page .about-hero {
    min-height: 520px;
  }

  .about-page .about-hero-title {
    padding-top: 76px;
  }

  .about-page .about-hero h1 {
    font-size: 64px;
  }

  .about-page .about-profile {
    padding: 76px 0;
  }

  .about-page .profile-photo {
    height: clamp(520px, 62vw, 680px);
    border-radius: 16px;
  }

  .about-page .profile-content h2 {
    font-size: clamp(40px, 5vw, 52px);
  }

  .about-page .profile-content p {
    font-size: 18px;
  }

  .about-page .about-highlights {
    margin-bottom: 30px;
  }

  .about-page .broker-row {
    gap: 22px;
  }

  .about-page .state-mark img {
    width: 170px;
  }

  .about-page .info-grid div {
    padding: 22px 24px;
  }

  .about-page .about-facebook {
    min-height: 112px;
    padding: 18px 20px;
  }

  .about-page .about-facebook > span {
    font-size: clamp(26px, 3.8vw, 32px);
  }
}

@media (max-width: 767.98px) {
  .about-page .about-hero {
    min-height: 420px;
  }

  .about-page .about-hero-title {
    padding-top: 60px;
  }

  .about-page .about-hero h1 {
    font-size: 42px;
  }

  .about-page .about-hero h1::after {
    width: 180px;
    margin-top: 16px;
  }

  .about-page .about-profile {
    padding: 52px 0 58px;
  }

  .about-page .profile-photo {
    height: clamp(340px, 105vw, 500px);
  }

  .about-page .profile-content .eyebrow {
    margin-top: 8px;
  }

  .about-page .profile-content h2 {
    margin-bottom: 20px;
    font-size: 32px;
    line-height: 1.12;
  }

  .about-page .profile-content p {
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.55;
  }

  .about-page .about-highlights {
    padding: 22px 18px;
  }

  .about-page .about-highlights h3 {
    font-size: 22px;
  }

  .about-page .about-highlights li {
    padding-left: 30px;
    font-size: 15px;
  }

  .about-page .about-highlights li::before {
    width: 20px;
    height: 20px;
  }

  .about-page .broker-row h3 {
    font-size: 30px;
  }

  .about-page .state-mark img {
    width: 140px;
  }

  .about-page .info-grid {
    margin-bottom: 28px;
  }

  .about-page .info-grid div {
    padding: 18px 16px;
  }

  .about-page .info-grid strong {
    margin-bottom: 8px;
    font-size: 20px;
  }

  .about-page .info-grid span {
    font-size: 15px;
    line-height: 1.35;
  }

  .about-page .about-facebook {
    gap: 18px;
    padding: 18px 16px;
  }

  .about-page .about-facebook > span {
    font-size: 24px;
  }

  .about-page .about-facebook > div {
    min-width: 0;
    gap: 12px;
    padding: 10px 12px;
  }

  .about-page .about-fb-mark,
  .about-page .about-facebook img {
    width: 64px;
    height: 64px;
  }

  .about-page .about-fb-mark {
    flex-basis: 64px;
    font-size: 56px;
  }

  .about-page .about-footer.footer {
    padding-top: 52px;
  }
}

@media (max-width: 424.98px) {
  .about-page .about-hero {
    min-height: 380px;
  }

  .about-page .profile-photo {
    height: 360px;
  }

  .about-page .about-facebook > span {
    font-size: 22px;
  }
}
