/* ==========================================================================
   RHER INHERITANCE TAX PLANNING & LIFETIME MORTGAGES PAGE
   Editorial, strategic, warm, trustworthy - designed for older UK audiences
   Mobile-first responsive design. All classes prefixed `iht-`.
   ========================================================================== */


/* Draft Notice - identical to other RHER pages */
.adv-draft-notice {
  background: #FFF3E0;
  border-bottom: 1px solid rgba(230, 81, 0, 0.2);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-primary);
  text-align: center;
}


/* ==========================================================================
   SHARED SECTION STYLES
   ========================================================================== */

.iht-section {
  padding: var(--space-16) 0;
}

@media (min-width: 768px) {
  .iht-section {
    padding: var(--space-20) 0;
  }
}

@media (min-width: 1200px) {
  .iht-section {
    padding: var(--space-24) 0;
  }
}

.iht-section-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-4);
  text-align: center;
  line-height: 1.2;
  text-wrap: balance;
}

.iht-section-intro {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  text-align: center;
  max-width: 64ch;
  margin: 0 auto var(--space-10);
  line-height: 1.65;
}

.iht-body-text {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.7;
}

.iht-body-text p + p {
  margin-top: var(--space-4);
}


/* ==========================================================================
   BUTTON VARIANTS FOR CTA SECTIONS
   ========================================================================== */

/* White-background button (for use on coloured section backgrounds) */
.iht-btn-white {
  background: #FFFFFF;
  color: var(--color-primary);
  font-weight: 600;
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  min-height: 52px;
  border-radius: var(--radius-md);
}

.iht-btn-white:hover {
  background: #F5F5F5;
  color: var(--color-primary-hover);
}

/* Ghost button (transparent, white border - for coloured section backgrounds) */
.iht-btn-white-ghost {
  background: transparent;
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  font-weight: 600;
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  min-height: 52px;
  border-radius: var(--radius-md);
}

.iht-btn-white-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.8);
}


/* ==========================================================================
   SECTION 1: HERO (.iht-hero)
   Full-width background image, navy overlay, centred white text, single CTA
   ========================================================================== */

.iht-hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
}

@media (min-width: 768px) {
  .iht-hero {
    min-height: 620px;
  }
}

@media (min-width: 1200px) {
  .iht-hero {
    min-height: 680px;
  }
}

.iht-hero-bg {
  position: absolute;
  inset: 0;
}

.iht-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

/* Warm-tinted navy overlay */
.iht-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    170deg,
    rgba(30, 42, 74, 0.85) 0%,
    rgba(30, 42, 74, 0.68) 45%,
    rgba(30, 42, 74, 0.87) 100%
  );
}

.iht-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-10) var(--space-6);
  text-align: center;
  box-sizing: border-box;
  width: 100%;
}

@media (min-width: 480px) {
  .iht-hero-content {
    padding: var(--space-12) var(--space-8);
  }
}

@media (min-width: 768px) {
  .iht-hero-content {
    padding: var(--space-16) var(--space-8);
  }
}

.iht-hero-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-4);
}

.iht-hero-headline {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 1.1rem + 2.4vw, 2.9rem);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.12;
  margin-bottom: var(--space-5);
  text-wrap: balance;
}

/* Subtle warm highlight for key phrase */
.iht-hero-headline em {
  font-style: normal;
  color: #FFB380;
}

.iht-hero-subhead {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
  margin-bottom: var(--space-8);
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

@media (min-width: 480px) {
  .iht-hero-subhead {
    font-size: var(--text-base);
  }
}

.iht-hero-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: center;
  margin-bottom: var(--space-5);
}

.iht-hero-actions .btn {
  width: 100%;
  max-width: 420px;
  font-size: var(--text-sm);
  text-align: center;
  justify-content: center;
}

@media (min-width: 640px) {
  .iht-hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-4);
    justify-content: center;
  }
  .iht-hero-actions .btn {
    width: auto;
    max-width: none;
    font-size: var(--text-base);
  }
}

.iht-hero-trust {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.58);
  max-width: 54ch;
  margin: 0 auto;
  line-height: 1.5;
}


/* ==========================================================================
   SECTION 2: WHY THIS ISSUE ARISES (.iht-intro)
   White bg, centred text, editorial feel
   ========================================================================== */

.iht-intro {
  background: var(--color-bg);
}

.iht-intro-body {
  max-width: 68ch;
  margin: 0 auto;
}

.iht-intro-body p {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.7;
}

.iht-intro-body p + p {
  margin-top: var(--space-4);
}

.iht-intro-note {
  margin-top: var(--space-6);
  padding: var(--space-5) var(--space-6);
  background: var(--color-bg-warm);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}


/* ==========================================================================
   SECTION 3: HOW THE STRATEGY MAY WORK (.iht-strategy)
   Alt bg, strategy flow graphic built as HTML/CSS
   ========================================================================== */

.iht-strategy {
  background: var(--color-bg-alt);
}

.iht-strategy-body {
  max-width: 68ch;
  margin: 0 auto var(--space-10);
}

.iht-strategy-body p {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.7;
}

.iht-strategy-body p + p {
  margin-top: var(--space-4);
}

/* Strategy flow diagram */
.iht-flow {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.iht-flow-step {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  width: 100%;
  max-width: 520px;
}

.iht-flow-step-number {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  flex-shrink: 0;
}

.iht-flow-step-number--navy {
  background: var(--color-navy);
  color: #FFFFFF;
}

.iht-flow-step-number--orange {
  background: var(--color-primary);
  color: #FFFFFF;
}

.iht-flow-step-number--teal {
  background: #0D9488;
  color: #FFFFFF;
}

.iht-flow-step-content {
  flex: 1;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow-sm);
}

.iht-flow-step-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.3;
  margin-bottom: var(--space-1);
}

.iht-flow-step-desc {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Connector arrow between steps */
.iht-flow-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  width: 48px;
  align-self: flex-start;
  margin-left: 0;
}

.iht-flow-connector svg {
  width: 20px;
  height: 20px;
  color: rgba(30, 42, 74, 0.3);
}

.iht-flow-note {
  margin-top: var(--space-6);
  text-align: center;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-style: italic;
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}


/* ==========================================================================
   SECTION 4: WORKED EXAMPLE (.iht-example)
   White bg, case-study panel with structured data
   ========================================================================== */

.iht-example {
  background: var(--color-bg);
}

.iht-example-panel {
  max-width: 780px;
  margin: 0 auto;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.iht-example-header {
  background: var(--color-navy);
  padding: var(--space-5) var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.iht-example-header-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.iht-example-header-icon svg {
  width: 22px;
  height: 22px;
  color: #FFB380;
}

.iht-example-header-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
}

.iht-example-body {
  padding: var(--space-6);
}

@media (min-width: 640px) {
  .iht-example-body {
    padding: var(--space-8);
  }
}

.iht-example-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-border);
}

@media (min-width: 640px) {
  .iht-example-details {
    grid-template-columns: repeat(4, 1fr);
  }
}

.iht-example-detail {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.iht-example-detail-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.iht-example-detail-value {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.2;
}

.iht-example-explanation {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.7;
}

.iht-example-explanation p + p {
  margin-top: var(--space-4);
}

.iht-example-disclaimer {
  margin-top: var(--space-5);
  padding: var(--space-4) var(--space-5);
  background: var(--color-bg-warm);
  border-left: 3px solid #F59E0B;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.6;
}


/* ==========================================================================
   SECTION 5: IMPACT ON ESTATE (.iht-impact)
   Alt bg, before/after estate illustration as HTML/CSS
   ========================================================================== */

.iht-impact {
  background: var(--color-bg-alt);
}

.iht-impact-body {
  max-width: 68ch;
  margin: 0 auto var(--space-10);
}

.iht-impact-body p {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.7;
}

.iht-impact-body p + p {
  margin-top: var(--space-4);
}

/* Before/After estate illustration */
.iht-estate-comparison {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  max-width: 820px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .iht-estate-comparison {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}

.iht-estate-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.iht-estate-card-header {
  padding: var(--space-4) var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.iht-estate-card-header--before {
  background: rgba(30, 42, 74, 0.06);
  border-bottom: 2px solid var(--color-navy);
}

.iht-estate-card-header--after {
  background: rgba(13, 148, 136, 0.06);
  border-bottom: 2px solid #0D9488;
}

.iht-estate-card-header-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.iht-estate-card-header--before .iht-estate-card-header-icon {
  background: rgba(30, 42, 74, 0.1);
}

.iht-estate-card-header--after .iht-estate-card-header-icon {
  background: rgba(13, 148, 136, 0.1);
}

.iht-estate-card-header-icon svg {
  width: 17px;
  height: 17px;
}

.iht-estate-card-header--before .iht-estate-card-header-icon svg {
  color: var(--color-navy);
}

.iht-estate-card-header--after .iht-estate-card-header-icon svg {
  color: #0D9488;
}

.iht-estate-card-label {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1.3;
}

.iht-estate-card-header--before .iht-estate-card-label {
  color: var(--color-navy);
}

.iht-estate-card-header--after .iht-estate-card-label {
  color: #0D7A6E;
}

.iht-estate-card-rows {
  padding: var(--space-4) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.iht-estate-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-divider);
}

.iht-estate-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.iht-estate-row-label {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.4;
}

.iht-estate-row-value {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.3;
  white-space: nowrap;
}

.iht-estate-row--total {
  padding-top: var(--space-3);
  border-top: 2px solid var(--color-border-strong);
  margin-top: var(--space-1);
}

.iht-estate-row--total .iht-estate-row-label {
  font-weight: 700;
  color: var(--color-navy);
}

.iht-estate-row--total .iht-estate-row-value {
  font-size: var(--text-base);
}

.iht-estate-row--highlight .iht-estate-row-value {
  color: #0D7A6E;
}

.iht-estate-row--reduction .iht-estate-row-value {
  color: var(--color-primary);
}

.iht-estate-disclaimer {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 760px;
  margin: var(--space-4) auto 0;
  text-align: center;
  font-style: italic;
}

.iht-estate-disclaimer + .iht-estate-disclaimer {
  margin-top: var(--space-2);
  font-weight: 600;
  color: var(--color-text);
}


/* ==========================================================================
   SECTION 6: IMPORTANT CONSIDERATIONS (.iht-considerations)
   Amber-tinted background, warning bullet list
   ========================================================================== */

.iht-considerations {
  background: var(--color-bg-warm);
  border-top: 1px solid rgba(230, 81, 0, 0.12);
  border-bottom: 1px solid rgba(230, 81, 0, 0.12);
}

.iht-considerations-body {
  max-width: 68ch;
  margin: 0 auto var(--space-8);
}

.iht-considerations-body p {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.7;
}

.iht-considerations-body p + p {
  margin-top: var(--space-4);
}

.iht-considerations-list {
  list-style: none;
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.iht-considerations-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.6;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(230, 81, 0, 0.12);
  border-left: 4px solid #F59E0B;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: var(--space-4) var(--space-5);
}

.iht-considerations-list li .iht-warning-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.iht-considerations-list li .iht-warning-icon svg {
  width: 15px;
  height: 15px;
  color: #B45309;
}


/* ==========================================================================
   SECTION 7: WHY ADVICE MATTERS (.iht-advice)
   Navy background, white text, centred. Clean and authoritative.
   ========================================================================== */

.iht-advice {
  background: var(--color-navy);
  padding: var(--space-16) 0;
  text-align: center;
}

@media (min-width: 768px) {
  .iht-advice {
    padding: var(--space-20) 0;
  }
}

.iht-advice .iht-section-title {
  color: #FFFFFF;
}

.iht-advice-body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  max-width: 68ch;
  margin: 0 auto var(--space-10);
}

.iht-advice-body p + p {
  margin-top: var(--space-4);
}


/* ==========================================================================
   SECTION 8: WHO THIS MAY SUIT (.iht-suitability)
   White bg, centred heading, bullet checklist
   ========================================================================== */

.iht-suitability {
  background: var(--color-bg);
}

/* Orange checkmark bullet list */
.iht-suitability-list {
  list-style: none;
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.iht-suitability-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.6;
}

/* Orange checkmark icon circle */
.iht-check-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.iht-check-icon svg {
  width: 15px;
  height: 15px;
  color: #FFFFFF;
}


/* ==========================================================================
   SECTION 9: FINAL CTA (.iht-final-cta)
   Orange background, white text, centred. Single white CTA button.
   ========================================================================== */

.iht-final-cta {
  background: var(--color-primary);
  text-align: center;
  padding: var(--space-16) 0;
}

@media (min-width: 768px) {
  .iht-final-cta {
    padding: var(--space-20) 0;
  }
}

.iht-final-cta h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: var(--space-4);
  line-height: 1.15;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}

.iht-final-cta-lead {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.9);
  max-width: 60ch;
  margin: 0 auto var(--space-8);
  line-height: 1.65;
}

.iht-final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
  margin-bottom: var(--space-5);
}

.iht-final-cta-actions .btn {
  max-width: 100%;
  box-sizing: border-box;
}

/* White button for orange bg */
.iht-final-cta-actions .iht-btn-white {
  background: #FFFFFF;
  color: var(--color-primary);
}

.iht-final-cta-actions .iht-btn-white:hover {
  background: #F5F5F5;
}

.iht-final-cta-supporting {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.68);
  max-width: 52ch;
  margin: 0 auto;
  line-height: 1.5;
}


/* ==========================================================================
   SECTION 10: FAQs (.iht-faq)
   White bg, accordion-style expandable questions
   ========================================================================== */

.iht-faq {
  background: var(--color-bg);
}

.iht-faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.iht-faq-item {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition-interactive), border-color var(--transition-interactive);
}

.iht-faq-item:hover {
  border-color: rgba(230, 81, 0, 0.2);
}

.iht-faq-item.is-open {
  box-shadow: var(--shadow-md);
  border-color: rgba(230, 81, 0, 0.25);
}

.iht-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.3;
}

.iht-faq-question:hover {
  color: var(--color-primary);
}

.iht-faq-question-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-interactive), background var(--transition-interactive);
}

.iht-faq-item.is-open .iht-faq-question-icon {
  transform: rotate(180deg);
  background: var(--color-primary);
}

.iht-faq-question-icon svg {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
  transition: color var(--transition-interactive);
}

.iht-faq-item.is-open .iht-faq-question-icon svg {
  color: #FFFFFF;
}

.iht-faq-answer {
  display: none;
  padding: 0 var(--space-6) var(--space-6);
}

.iht-faq-item.is-open .iht-faq-answer {
  display: block;
}

.iht-faq-answer p {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
}


/* ==========================================================================
   RISK DISCLAIMER (.iht-risk)
   Warm bg, small regulatory text
   ========================================================================== */

.iht-risk {
  background: var(--color-bg-warm);
  border-top: 1px solid rgba(230, 81, 0, 0.1);
  padding: var(--space-10) 0;
}

.iht-risk-inner {
  max-width: 820px;
  margin: 0 auto;
}

.iht-risk-inner p {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.75;
  max-width: 100%;
}

.iht-risk-inner p + p {
  margin-top: var(--space-3);
}


/* ==========================================================================
   FOOTER MARGIN OVERRIDE
   Remove default footer top margin - page ends with the CTA strip.
   ========================================================================== */

body:has(.iht-final-cta) .site-footer {
  margin-top: 0;
}


/* ==========================================================================
   RESPONSIVE REFINEMENTS
   Fine-tuned adjustments for mid-range viewports
   ========================================================================== */

/* Large screens: extra vertical breathing room */
@media (min-width: 1200px) {
  .iht-estate-comparison {
    gap: var(--space-10);
  }

  .iht-considerations-list {
    gap: var(--space-5);
  }
}

/* Tablet: bump example panel padding */
@media (min-width: 640px) and (max-width: 899px) {
  .iht-example-body {
    padding: var(--space-6) var(--space-6);
  }
}
