/* Loaded only for the two current prototype service pages. */
/* Scoped first service-page draft. Match the revised service pages' 64 / 40 px rhythm. */
.revision-page.restructuring-page {
  --restructuring-section-gap: 64px;
  padding-bottom: var(--restructuring-section-gap);
}

.restructuring-page .restructuring-section,
.restructuring-page .restructuring-final {
  margin-top: var(--restructuring-section-gap);
}

.restructuring-page .restructuring-hero {
  padding-bottom: 0;
}

.restructuring-page .restructuring-hero h1 {
  max-width: 18ch;
}

.restructuring-hero__ingress {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  font-weight: 700;
  line-height: 1.5;
}

.restructuring-hero .button {
  margin-top: .5rem;
}

.restructuring-introduction {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  align-items: start;
  gap: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: var(--color-green-light);
}

.restructuring-introduction__symbol {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  border: 1px solid #b6d3cb;
  border-radius: var(--radius-md);
  background: #f5faf8;
  color: var(--color-deep-green);
}

.restructuring-introduction__body {
  min-width: 0;
}

.restructuring-question-mark {
  display: block;
  width: 44px;
  height: 44px;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.restructuring-question-mark__arc {
  stroke: #b6d3cb;
  stroke-width: 1.3;
}

.restructuring-question-mark__question {
  stroke: var(--color-deep-green);
  stroke-width: 3;
}

.restructuring-question-mark__dot {
  fill: var(--color-copper);
}

.restructuring-question-mark__answer {
  stroke: var(--color-muted-teal);
  stroke-width: 2;
}

.restructuring-introduction h2 {
  margin-bottom: 1.5rem;
}

.restructuring-introduction__text {
  max-width: 50rem;
}

.restructuring-introduction__text > p:last-child {
  margin-bottom: 0;
}

.restructuring-introduction__link {
  margin-top: 1.5rem;
  gap: .6rem;
}

.restructuring-introduction__link svg {
  flex: none;
}

.restructuring-assistance__heading > p:last-child {
  margin-bottom: 0;
}

.restructuring-page .restructuring-assistance {
  columns: auto;
  max-width: none;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
}

.restructuring-assistance__heading {
  max-width: 48rem;
  margin-bottom: 2rem;
}

.restructuring-assistance__heading h2 {
  margin-bottom: 1rem;
}

.restructuring-assistance__heading > p:not(.eyebrow),
.restructuring-assistance__step > p {
  color: #465250;
}

.restructuring-assistance__step {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) minmax(0, 2fr);
  align-items: start;
  gap: 1.5rem;
  padding-block: 1.75rem;
  border-top: 1px solid #d1ded9;
}

.restructuring-assistance__step:last-child {
  padding-bottom: 0;
}

.restructuring-assistance__step > h3,
.restructuring-assistance__step > p {
  min-width: 0;
  margin: 0;
}

.restructuring-foundation {
  padding-block: var(--restructuring-section-gap);
  background: var(--color-green-light);
}

.restructuring-foundation__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.restructuring-foundation h2 {
  max-width: 24ch;
}

.restructuring-foundation__inner > .revision-graphic {
  width: 100%;
  min-height: 0;
  aspect-ratio: 400 / 345;
}

.restructuring-text-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  margin-top: .5rem;
  color: var(--color-deep-green);
  font-weight: 750;
  text-underline-offset: .2em;
}

.restructuring-text-link svg {
  flex: none;
}

.restructuring-page .restructuring-knowledge {
  padding: 0;
}

.restructuring-page .restructuring-knowledge .article-card {
  min-width: 0;
}

@media (max-width: 900px) {
  .restructuring-assistance__step {
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: .75rem 1rem;
  }

  .restructuring-assistance__step h3 {
    align-self: center;
  }

  .restructuring-assistance__step p {
    grid-column: 2;
  }
}

@media (max-width: 767px) {
  .revision-page.restructuring-page {
    --restructuring-section-gap: 40px;
  }

  .restructuring-page .restructuring-hero h1 {
    max-width: none;
  }

  .restructuring-hero .button {
    width: 100%;
  }

  .restructuring-introduction {
    grid-template-columns: minmax(0, 1fr);
    padding: 1.25rem;
    gap: 1rem;
  }

  .restructuring-introduction__symbol {
    width: 3rem;
    height: 3rem;
  }

  .restructuring-introduction__symbol svg {
    width: 36px;
    height: 36px;
  }

  .restructuring-introduction__link {
    width: 100%;
  }

  .restructuring-foundation__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .restructuring-page .restructuring-assistance {
    padding: 1.25rem;
  }

  .restructuring-assistance__step p {
    grid-column: 1 / -1;
  }

  .restructuring-foundation__inner > .revision-graphic {
    width: min(100%, 22rem);
  }
}

.revision-page.financial-difficulties-page{--financial-section-gap:64px;padding-bottom:var(--financial-section-gap)}
.financial-difficulties-page .financial-difficulties-section,.financial-difficulties-page .financial-difficulties-final{margin-top:var(--financial-section-gap)}
.financial-difficulties-page .financial-difficulties-hero{padding-bottom:0}
.financial-difficulties-hero h1{max-width:18ch}
.financial-difficulties-hero__ingress{font-size:clamp(1.1rem,1.6vw,1.3rem);font-weight:700;line-height:1.5}
.financial-difficulties-hero .button{margin-top:.5rem}
.financial-difficulties-introduction{display:grid;grid-template-columns:4rem minmax(0,1fr);align-items:start;gap:1.5rem;padding:clamp(1.5rem,3vw,2.5rem);border-radius:var(--radius-lg);background:var(--color-green-light)}
.financial-difficulties-introduction__symbol{display:grid;width:4rem;height:4rem;place-items:center;border:1px solid #b6d3cb;border-radius:var(--radius-md);background:#f5faf8;color:var(--color-deep-green)}
.financial-difficulties-introduction h2{margin-bottom:1.5rem}
.financial-difficulties-introduction__text{max-width:50rem}
.financial-difficulties-introduction__text>p:last-child{margin-bottom:0}
.financial-difficulties-introduction__link{gap:.6rem;margin-top:1.5rem}
.financial-difficulties-introduction__link svg{flex:none}
.financial-difficulties-assistance{padding:clamp(1.5rem,3vw,2.5rem);border:var(--border);border-radius:var(--radius-lg);background:#fff}
.financial-difficulties-assistance__heading{max-width:48rem;margin-bottom:2rem}
.financial-difficulties-assistance__heading h2{margin-bottom:1rem}
.financial-difficulties-assistance__heading>p:last-child{margin-bottom:0}
.financial-difficulties-assistance__heading>p:not(.eyebrow){color:#465250}
.financial-difficulties-assistance__rows>article{display:grid;grid-template-columns:3rem minmax(0,1fr) minmax(0,2fr);align-items:start;gap:1.5rem;padding-block:1.75rem;border-top:1px solid #d1ded9}
.financial-difficulties-assistance__rows>article:last-child{padding-bottom:0}
.financial-difficulties-assistance__rows h3,.financial-difficulties-assistance__rows p{min-width:0;margin:0}
.financial-difficulties-assistance__rows p{color:#465250}
.financial-difficulties-foundation{padding-block:var(--financial-section-gap);background:var(--color-green-light)}
.financial-difficulties-foundation h2{max-width:28ch}
.financial-difficulties-foundation p:not(.eyebrow){max-width:50rem}
.financial-difficulties-foundation__links{display:flex;flex-wrap:wrap;gap:.4rem 2rem;margin-top:1.25rem}
.financial-difficulties-foundation__links a{display:inline-flex;align-items:center;gap:.45rem;min-height:44px;color:var(--color-deep-green);font-weight:750;text-underline-offset:.2em}
.financial-difficulties-foundation__links svg{flex:none}
.financial-difficulties-knowledge{padding:0}
.financial-difficulties-knowledge .article-card{min-width:0}
@media(max-width:900px){.financial-difficulties-assistance__rows>article{grid-template-columns:3rem minmax(0,1fr);gap:.75rem 1rem}.financial-difficulties-assistance__rows h3{align-self:center}.financial-difficulties-assistance__rows p{grid-column:2}}
@media(max-width:767px){.revision-page.financial-difficulties-page{--financial-section-gap:40px}.financial-difficulties-hero h1{max-width:none}.financial-difficulties-hero .button,.financial-difficulties-introduction__link{width:100%}.financial-difficulties-introduction{grid-template-columns:minmax(0,1fr);gap:1rem;padding:1.25rem}.financial-difficulties-introduction__symbol{width:3rem;height:3rem}.financial-difficulties-introduction__symbol svg{width:34px;height:34px}.financial-difficulties-assistance{padding:1.25rem}}
@media(max-width:767px){.financial-difficulties-assistance__rows p{grid-column:1/-1}}

.financial-ledger-graphic{border:1px solid #b6d3cb;background:linear-gradient(145deg,#f8faf8,#d9efef)}
.financial-ledger-graphic svg{display:block;width:100%;height:100%}
.financial-ledger-graphic__back{fill:rgba(182,211,203,.43);stroke:#a9cbc1;stroke-width:1}
.financial-ledger-graphic__page{fill:#fbfdfb;stroke:#afcbc3;stroke-width:1}
.financial-ledger-graphic__heading{fill:none;stroke:#83aaa0;stroke-width:4;stroke-linecap:round;opacity:.8}
.financial-ledger-graphic__heading--short{opacity:.45}
.financial-ledger-graphic__row-accent{fill:#e3f1ed}
.financial-ledger-graphic__row{fill:none;stroke:#88aaa1;stroke-width:3;stroke-linecap:round;opacity:.74}
.financial-ledger-graphic__receipt{fill:#def0eb;stroke:#a8cfc4;stroke-width:1}
.financial-ledger-graphic__receipt-heading,.financial-ledger-graphic__receipt-row{fill:none;stroke:#6ca69a;stroke-linecap:round}
.financial-ledger-graphic__receipt-heading{stroke-width:4}
.financial-ledger-graphic__receipt-row{stroke-width:3;opacity:.75}
.financial-ledger-graphic__check-base{fill:var(--color-deep-green)}
.financial-ledger-graphic__check{fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.financial-ledger-graphic__copper{fill:var(--color-copper)}

/* The prototype's later shared knowledge rule wins over the financial page's zero padding. */
.parity-page.financial-difficulties-page .financial-difficulties-knowledge{padding-block:var(--space-lg)}
