.elementor-7787 .elementor-element.elementor-element-4453cad{--display:flex;--margin-top:-50px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;overflow:visible;}.elementor-widget .tippy-tooltip .tippy-content{text-align:center;}/* Start custom CSS for html, class: .elementor-element-646706b *//* ============================================
   Base article layout for HELOC article
   (matches global VPCL article styling)
============================================ */

.learn-article {
  font-family: "Open Sans", sans-serif;
  color: #1a1f36;
  line-height: 1.75;
  font-size: clamp(16px, 1.05rem, 17px);
}

/* Headings */

.learn-article h1,
.learn-article h2,
.learn-article h3 {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  color: #141820;
  margin-bottom: 14px;
  scroll-margin-top: 140px;
}

/* Offset anchor scroll for sections used in the TOC */
.learn-article section[id] {
  scroll-margin-top: 140px;  /* adjust this number as needed */
}

.learn-article h1 {
  font-size: clamp(30px, 3vw, 34px);
  margin-top: 0;
}

.learn-article h2 {
  font-size: clamp(22px, 2.2vw, 26px);
  margin-top: 40px;
}

.learn-article h3 {
  font-size: 20px;
  margin-top: 26px;
}

.learn-article p {
  margin-bottom: 18px;
  color: #333;
}

/* ============================================
   Gold bullet lists (content)
============================================ */

.learn-article ul {
  margin: 0 0 18px 0;
  padding-left: 0;
}

.learn-article ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 9px;
}

.learn-article ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background-color: #b0862f;
  border-radius: 50%;
}

/* ============================================
   Table of Contents (In This Article)
   Map .article-outline -> vpcl-toc styling
============================================ */

.article-outline {
  background: #f8f9fb;
  padding: 18px 20px;
  border-radius: 14px;
  margin: 24px 0 32px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
}

/* Remove bullets + make it 2 columns on desktop */
.article-outline ul {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  columns: 2;
  column-gap: 40px;
}

.article-outline li {
  margin: 4px 0;
  break-inside: avoid;
  padding-left: 0;
}

.article-outline li::before {
  display: none;
  content: none;
}

.article-outline h2 {
  font-family: "Raleway", sans-serif;
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 700;
}

.article-outline a {
  color: #b0862f;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.45;
  position: relative;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.article-outline a:hover {
  color: #916e25;
  padding-left: 2px;
  text-decoration: none;
}

/* ============================================
   CTA BLOCKS (map article CTAs -> vpcl-cta-block)
============================================ */

/* All CTA wrappers in this article */
.cta-intro,
.cta-inline,
.cta-main,
.faq-cta {
  background: #ffffff;
  padding: 26px 30px;
  border-radius: 16px;
  margin: 40px 0;
  border: 1px solid #e4e7ec;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
  text-align: left;
  position: relative;
  overflow: hidden;
}

/* Left gold accent bar */
.cta-intro::before,
.cta-inline::before,
.cta-main::before,
.faq-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border-left: 4px solid #b0862f;
  pointer-events: none;
}

/* Alternate background options if you want variation */
.cta-inline {
  background: #f7f9fc;
}

.cta-main {
  background: #f3f5fa;
}

.faq-cta {
  background: #f7f9fc;
}

.vpcl-cta-heading {
  font-family: "Raleway", sans-serif;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 14px;
  padding-bottom: 6px;
  color: #141820;
  line-height: 1.35;
}

.cta-intro p,
.cta-inline p,
.cta-main p,
.faq-cta p {
  margin-bottom: 18px;
  color: #444;
}

/* CTA button row container (already in HTML) */

.cta-button-row,
.vpcl-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
}

/* ============================================
   Buttons (Gold + Navy + Outline)
   Also map .btn-primary / .btn-secondary
============================================ */

.btn-gold,
.btn-navy,
.btn-outline,
.btn-primary,
.btn-secondary {
  padding: 14px 26px;
  border-radius: 999px; /* pill-style */
  font-size: 15px;
  font-weight: 700;
  display: inline-block;
  transition: background-color 0.2s ease, color 0.2s ease,
              box-shadow 0.2s ease, transform 0.1s ease;
  cursor: pointer;
  white-space: nowrap;
  border: none;
}

/* GOLD BUTTON (use for primary CTAs) */
.btn-gold,
.btn-gold:link,
.btn-gold:visited {
  background: #b0862f;
  color: #ffffff !important;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(176, 134, 47, 0.35);
}

/* Map .btn-primary to gold style */
.btn-primary,
.btn-primary:link,
.btn-primary:visited {
  background: #b0862f;
  color: #ffffff !important;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(176, 134, 47, 0.35);
}

.btn-gold:hover,
.btn-gold:active,
.btn-gold:focus,
.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
  background: #946e27;
  color: #ffffff !important;
  text-decoration: none !important;
  box-shadow: 0 6px 16px rgba(148, 110, 39, 0.45);
  transform: translateY(-1px);
}

/* NAVY BUTTON (good secondary CTA) */
.btn-navy,
.btn-navy:link,
.btn-navy:visited {
  background: #1f2a44;
  color: #ffffff !important;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(31, 42, 68, 0.35);
}

/* Map .btn-secondary to navy style */
.btn-secondary,
.btn-secondary:link,
.btn-secondary:visited {
  background: #1f2a44;
  color: #ffffff !important;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(31, 42, 68, 0.35);
}

.btn-navy:hover,
.btn-navy:active,
.btn-navy:focus,
.btn-secondary:hover,
.btn-secondary:active,
.btn-secondary:focus {
  background: #162033;
  color: #ffffff !important;
  text-decoration: none !important;
  box-shadow: 0 6px 16px rgba(22, 32, 51, 0.45);
  transform: translateY(-1px);
}

/* OUTLINE button (if needed) */
.btn-outline,
.btn-outline:link,
.btn-outline:visited {
  background: transparent;
  border: 2px solid #b0862f;
  color: #b0862f !important;
  text-decoration: none !important;
  box-shadow: none;
}

.btn-outline:hover,
.btn-outline:active,
.btn-outline:focus {
  background: #b0862f;
  color: #ffffff !important;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(176, 134, 47, 0.35);
  transform: translateY(-1px);
}

/* Nuclear override: button text MUST be white for gold/navy */
.learn-article .cta-button-row .btn-gold,
.learn-article .cta-button-row .btn-gold:link,
.learn-article .cta-button-row .btn-gold:visited,
.learn-article .cta-button-row .btn-gold:hover,
.learn-article .cta-button-row .btn-gold:active,
.learn-article .cta-button-row .btn-gold:focus,
.learn-article .cta-button-row .btn-navy,
.learn-article .cta-button-row .btn-navy:link,
.learn-article .cta-button-row .btn-navy:visited,
.learn-article .cta-button-row .btn-navy:hover,
.learn-article .cta-button-row .btn-navy:active,
.learn-article .cta-button-row .btn-navy:focus,
.learn-article .cta-button-row .btn-primary,
.learn-article .cta-button-row .btn-secondary {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-decoration: none !important;
}

/* ============================================
   Supporting Image (if you add a figure)
============================================ */

.support-figure {
  text-align: center;
  margin: 40px auto;
}

.support-figure img {
  width: 100%;
  max-width: 760px;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.18);
  display: block;
  margin: 0 auto;
}

.support-figure figcaption {
  margin-top: 12px;
  font-size: 15px;
  color: #666;
  font-style: italic;
}

/* ============================================
   FAQ SECTION STYLING
   Apply vpcl-faq-list styles to this article’s FAQ
============================================ */

.faq-section {
  margin-top: 40px;
}

/* Treat FAQ container like .vpcl-faq-list */
.faq-section h3 {
  font-family: "Raleway", sans-serif;
  font-size: 18px;
  margin: 0 0 8px;
}

/* Divider above each FAQ after the first */
.faq-section h3:not(:first-of-type) {
  padding-top: 18px;
  border-top: 1px solid #e4e7ec;
}

.faq-section p {
  margin: 0 0 16px;
  color: #444;
}

/* ============================================
   Responsive Adjustments
============================================ */

@media (max-width: 768px) {

  .learn-article {
    padding: 20px 14px 44px;
  }

  .learn-article h1 {
    font-size: 26px;
  }

  .learn-article h2 {
    font-size: 21px;
  }

  .article-outline {
    padding: 16px 18px;
    margin: 20px 0 26px;
  }

  .article-outline ul {
    columns: 1;
  }

  .article-outline a {
    font-size: 16px;
  }

  .cta-intro,
  .cta-inline,
  .cta-main,
  .faq-cta {
    padding: 22px 20px;
  }

  .cta-button-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-gold,
  .btn-navy,
  .btn-outline,
  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .cta-button-row a.btn-gold,
  .cta-button-row a.btn-navy,
  .cta-button-row a.btn-primary,
  .cta-button-row a.btn-secondary {
    font-size: 15px;
    padding: 14px 20px;
    white-space: normal;   /* Allow text to wrap */
    line-height: 1.3;      /* Prevent text clipping */
  }
}/* End custom CSS */