/* Career page-only styles. Shared layout, typography, buttons, navigation,
   footer, contact actions and payment components come from ../css/global.css. */

.wealth-page { color: var(--ink); }
.wealth-page > section {
  margin: 4px 8px;
  overflow: hidden;
  border: 1px solid rgba(36, 55, 59, .14);
  border-radius: 9px;
}

/* Hero */
.wealth-hero {
  padding: 64px clamp(22px, 5vw, 68px) clamp(42px, 6vw, 82px);
  background: var(--teal);
}

.wealth-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  max-width: 1200px;
  margin: 0 auto;
}
.wealth-hero-copy { min-width: 0; }
.wealth-hero .eyebrow,
.wealth-section-heading .eyebrow,
.wealth-remedy-copy .eyebrow {
  margin: 0 0 22px;
  padding-bottom: 10px;
  border-bottom: 1px solid #70452E;

  color: #70452E;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.8;
}
.wealth-hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--deep-teal);
  font: 400 clamp(42px, 5.2vw, 70px)/1.02 Georgia, "Times New Roman", serif;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.wealth-hero h1 span {
  display: block;
  margin-top: 10px;
  color: var(--slate);
}
.wealth-lead {
  max-width: 500px;
  margin: 22px 0 26px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.005em;
  color: #75432F;
}

/* ICAS membership credential in the Career hero */
.wealth-icas-credential {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 12px 18px;
  background-color: #DCE9DD;
  color: #1C505C;
  border: 1px solid rgba(28, 80, 92, 0.12);
  border-radius: 16px;
  max-width: 100%;
  box-sizing: border-box;
  text-align: left;
}

.wealth-icas-credential .icas-credential-icon {
  font-size: 25px;
  line-height: 1;
  flex-shrink: 0;
}

.wealth-icas-credential .icas-credential-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.wealth-icas-credential .icas-credential-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: #1C505C;
}

.wealth-icas-credential .icas-credential-description {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  color: #405D58;
}

/* Mobile sizing */
@media (max-width: 600px) {
  .wealth-icas-credential {
    margin-top: 16px;
    padding: 10px 13px;
    gap: 9px;
    border-radius: 14px;
  }

  .wealth-icas-credential .icas-credential-icon {
    font-size: 22px;
  }

  .wealth-icas-credential .icas-credential-title {
    font-size: 16px;
  }

  .wealth-icas-credential .icas-credential-description {
    font-size: 14px;
    line-height: 1.45;
  }
}

.wealth-hero .button { gap: 10px; }
.wealth-scroll-note {
  margin: 17px 0 0;
  color: #70452E;
  font-size: 13px;
  line-height: 1.5;
}


/* Wealth question-bubbles artwork in the teal hero */
.wealth-hero-visual {
  display: block;
  min-width: 0;
  width: 100%;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 26px;
  box-shadow: none;
  line-height: 0;
}

.wealth-question-bubbles {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 26px;
}

/* Section headings */
.wealth-section-heading { max-width: 780px; margin: 0 auto 34px; text-align: center; }
.wealth-section-heading h2,
.wealth-remedy-copy h2 {
  margin: 0 0 16px;
  color: var(--deep-teal);
  font: 500 clamp(34px, 4.5vw, 56px)/1.08 Georgia, "Times New Roman", serif;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.wealth-section-heading > p:last-child {
  max-width: 680px;
  margin: 0 auto;
  color: #405653;
  font-size: 17px;
  line-height: 1.7;
}

/* Wealth questions image placeholder — artwork will be added later */
.wealth-story-section { padding: clamp(42px, 6vw, 78px) clamp(18px, 4vw, 52px); background: #D5E9E6; }
.wealth-questions-art {
  width: min(100%, 1000px);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 16px;
}
.wealth-questions-art img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
  object-position: center;
}

/* Practical remedies feature */
.wealth-remedy-section { padding: clamp(44px, 6vw, 82px) clamp(20px, 5vw, 68px); background: var(--ivory); }
.wealth-remedy-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(28px, 5vw, 70px); max-width: 1160px; margin: 0 auto; }
.wealth-remedy-art { min-width: 0; height: auto; min-height: 0; aspect-ratio: auto; overflow: hidden; border-radius: 16px; background: transparent; line-height: 0; }
.wealth-remedy-art img { display: block; width: 100%; height: auto !important; min-height: 0 !important; max-height: none; aspect-ratio: auto; object-fit: contain; object-position: center; vertical-align: top; }
.wealth-remedy-copy > p:not(.eyebrow) { color: #405653; font-size: 16px; line-height: 1.75; }
.wealth-remedy-copy h2 { margin-bottom: 20px; }
.wealth-highlight { margin: 22px 0 14px; padding: 20px 22px; border-left: 4px solid #B46B5F; border-radius: 0 16px 16px 0; background: #F3D8CF; color: #49353D; font-size: 16px; line-height: 1.65; }
.wealth-disclaimer { font-size: 12px !important; opacity: .8; }
.wealth-remedy-copy .button { margin-top: 8px; }

/* Payment styling is shared; only Career-specific details remain here. */
.wealth-pricing .mb-payment-container > h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
.wealth-pricing .mb-fee-card { text-align: center; }
.wealth-pricing .mb-payment-methods > h3 { margin: 26px 0 12px; color: var(--deep-teal); font-size: 20px; }
.wealth-cta { margin-bottom: 4px; }

@media (max-width: 900px) {
  .wealth-hero-inner, .wealth-remedy-layout { grid-template-columns: minmax(0, 1fr); }
  .wealth-hero-inner, .wealth-remedy-layout { max-width: 760px; }
}

@media (max-width: 600px) {
  .wealth-page > section { margin: 4px 6px; }

  /* Match the home page's mobile hero spacing */
  .wealth-hero {
    padding: 32px 20px 28px;
  }

  .wealth-hero h1 {
    font-size: clamp(38px, 10vw, 48px);
    line-height: 1.04;
  }

  .wealth-lead {
    margin: 18px 0 22px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.005em;
    color: #75432F;
  }

  .wealth-hero-visual {
    width: 100%;
    min-height: 0;
    padding: 0;
    border-radius: 20px;
  }

  .wealth-question-bubbles {
    width: 100%;
    height: auto;
    border-radius: 20px;
  }

  .wealth-story-section { padding: 36px 14px 30px; }
  .wealth-section-heading { margin-bottom: 24px; text-align: left; }
  .wealth-section-heading h2,
  .wealth-remedy-copy h2 { font-size: clamp(31px, 8vw, 40px); }
  .wealth-section-heading > p:last-child { font-size: 15px; line-height: 1.65; }
  .wealth-remedy-section { padding: 34px 18px; }
  .wealth-remedy-art { height: auto; min-height: 0; aspect-ratio: auto; }
  .wealth-remedy-art img { height: auto !important; min-height: 0 !important; }
  .wealth-highlight { padding: 16px; }
}

/* Connect the header ribbon to the teal hero */
.site-header {
  margin-bottom: 0;
  border-bottom: 0;
  border-radius: 9px 9px 0 0;
}

.wealth-page > #wealthHero {
  margin: 0 8px;
  border-top: 0;
  border-radius: 0 0 9px 9px;
}

/* Match the connected layout on mobile */
@media (max-width: 600px) {
  .site-header {
    margin-bottom: 0;
    border-radius: 9px 9px 0 0;
  }

  .wealth-page > #wealthHero {
    margin: 0 6px;
    border-radius: 0 0 9px 9px;
  }
}

/* Reviews: restore the rounded section styling */
.wealth-page > .review-section {
  margin: 4px 8px;
  padding: 32px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #B9D5C0;
  border: 1px solid rgba(28, 80, 92, 0.12);
  border-radius: 12px;
  box-shadow: none;
  overflow: hidden;
}

.wealth-page > .review-section .review-panel {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: 16px;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

@media (max-width: 600px) {
  .wealth-page > .review-section {
    padding: 24px 18px;
  }

  .wealth-page > .review-section .review-panel {
    flex-direction: column;
    gap: 12px;
  }
}




/* Keep a reserved space for the separate questions-section artwork. */
.wealth-questions-art {
  width: min(100%, 1000px);
  min-height: 0;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 16px;
  background: transparent;
  border: 0;
}
@media (max-width: 900px) {
  .wealth-hero-inner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .wealth-hero-visual,
  .wealth-question-bubbles { border-radius: 20px; }
  .wealth-questions-art { min-height: 250px; }
}
