/* MeridCore site 2.4.0 - scoped editorial layouts, no calculator logic changes. */
.mc-edition-240 .page-hero h1 { overflow-wrap: break-word; text-wrap: balance; }
.mc-edition-240 .page-hero-copy, .mc-edition-240 .page-context-card { min-width: 0; }
.mc-context-check { display: inline-block; margin-right: 10px; color: var(--orange, #e9612c); font-weight: 800; }
.mc-status-section { padding: 0 0 10px; }
.mc-status { padding: 15px 20px; border-left: 3px solid var(--orange, #e9612c); background: rgba(233,97,44,.045); }
.mc-status strong { display: block; font-size: .92rem; color: var(--navy, #0d304b); }
.mc-status p { margin: 5px 0 0; max-width: 108ch; font-size: .9rem; line-height: 1.55; }
.mc-overview { padding: 42px 0 24px; }
.mc-overview-grid, .mc-example-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(24px,4vw,60px); align-items: start; }
.mc-overview h2, .mc-example h2 { margin: 8px 0 0; font-size: clamp(1.55rem,2.2vw,2.05rem); line-height: 1.25; text-wrap: balance; }
.mc-overview p, .mc-example p { margin: 6px 0 0; font-size: 1.03rem; line-height: 1.7; }
.mc-details { padding: 22px 0 38px; scroll-margin-top: 105px; }
.mc-details .page-section-heading { margin-bottom: 20px; }
.mc-details .page-section-heading h2 { font-size: clamp(1.55rem,2.25vw,2.15rem); }
.mc-detail-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.mc-detail-card { min-width: 0; position: relative; padding: 23px 24px; border: 1px solid var(--warm-line, #ded5c9); border-radius: 15px; background: var(--paper, #fffefa); }
.mc-card-number { display: inline-block; margin-bottom: 9px; font-size: .78rem; font-weight: 800; letter-spacing: .08em; color: var(--orange-dark, #b74720); }
.mc-detail-card h3 { margin: 0 0 10px; font-size: 1.18rem; line-height: 1.35; color: var(--navy, #0d304b); text-wrap: balance; }
.mc-detail-card p { margin: 0; font-size: .98rem; line-height: 1.65; color: var(--muted-copy, #536273); overflow-wrap: anywhere; }
.mc-policy .mc-detail-grid { grid-template-columns: minmax(0,1fr); }
.mc-policy .mc-detail-card { padding: 22px 28px; }
.mc-policy .mc-detail-card p { max-width: 115ch; }
.mc-example { padding: 34px 0; background: var(--navy, #0d304b); color: #fff; }
.mc-example h2, .mc-example p { color: #fff; }
.mc-example .section-kicker { color: var(--orange, #ff6b28); font-size: .8rem; }
.mc-scope-section { padding: 34px 0 18px; }
.mc-scope-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; }
.mc-scope-grid > article { min-width: 0; padding: 20px 0; border-top: 2px solid var(--warm-line, #ded5c9); }
.mc-scope-grid h2 { margin: 0 0 10px; font-size: 1.25rem; line-height: 1.3; }
.mc-scope-grid p { margin: 0; font-size: .96rem; line-height: 1.65; overflow-wrap: anywhere; }
.mc-related { padding-top: 22px; }
.mc-related .related-grid { align-items: stretch; }
.mc-related .related-grid > a { min-width: 0; display: flex; flex-direction: column; }
.mc-related .related-grid > a > p { flex: 1; font-size: .93rem; line-height: 1.6; }
.mc-related .related-grid h3 { font-size: 1.16rem; line-height: 1.35; }
.mc-edition-240 .page-final-cta h2 { max-width: 28ch; text-wrap: balance; }
.mc-edition-240 .page-final-cta .demo-button, .mc-edition-240 .contact-form button[type="submit"] { max-width: 100%; height: auto; min-height: 46px; white-space: normal; text-align: center; }
.mc-edition-240 .hero-actions a { height: auto; min-height: 46px; white-space: normal; text-align: center; }
.mc-form-help { padding-top: 9px; font-size: .88rem; line-height: 1.5; }
.mc-edition-240 .form-heading span { max-width: 54ch; line-height: 1.5; }
.mc-edition-240 .form-availability-note { line-height: 1.55; }
.mc-home .hero-copy > .mc-home-status { margin-top: 16px; font-size: .82rem; line-height: 1.5; max-width: 64ch; opacity: .9; }
.mc-illustration-caption { font-size: .78rem; line-height: 1.45; }
.mc-home .command-preview > .mc-illustration-caption { margin: 0; padding: 12px 18px; text-align: center; color: var(--navy, #0d304b); background: #fffaf4; border-top: 1px solid #ded5c9; }
.mc-home .field-visual > .mc-illustration-caption { position: absolute; bottom: -4px; left: 0; right: 0; margin: 0; text-align: center; color: var(--navy, #0d304b); }
.mc-method .page-section-heading > p { max-width: 90ch; }
.mc-formula-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.mc-formula { min-width: 0; padding: 20px; border: 1px solid var(--warm-line, #ded5c9); border-radius: 14px; background: var(--paper, #fffefa); }
.mc-formula:last-child { grid-column: 1 / -1; }
.mc-formula h3, .mc-method-scenarios h3 { margin: 0 0 8px; font-size: 1.12rem; }
.mc-formula p, .mc-method-scenarios p { margin: 0; font-size: .96rem; line-height: 1.65; overflow-wrap: anywhere; }
.mc-method-scenarios { margin: 20px 0; padding: 22px; border-left: 3px solid var(--orange, #e9612c); }
.mc-error-en { display: block; margin-top: 10px; font-size: .62em; }
@media (max-width: 760px) {
  .mc-overview-grid, .mc-example-grid, .mc-scope-grid { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .mc-overview { padding-top: 28px; }
  .mc-details { padding-top: 14px; }
  .mc-example { padding: 28px 0; }
  .mc-scope-grid { gap: 0; }
  .mc-status { padding: 14px 16px; }
}
@media (max-width: 600px) {
  .mc-detail-grid, .mc-formula-grid { grid-template-columns: minmax(0,1fr); }
  .mc-detail-card, .mc-policy .mc-detail-card { padding: 20px; }
  .mc-edition-240 .page-hero h1 { font-size: clamp(1.8rem,8.5vw,2.65rem); }
  .mc-edition-240 .hero-actions { gap: 10px; }
  .mc-home .hero-copy > .mc-home-status { font-size: .82rem; }
  .mc-home .field-visual > .mc-illustration-caption { bottom: -14px; }
}
/* Override the inherited generic section spacing only for the new layouts. */
.mc-edition-240 section.mc-status-section { padding: 20px 0 10px; }
.mc-edition-240 section.mc-overview { padding: 38px 0 24px; }
.mc-edition-240 section.mc-details { padding: 18px 0 36px; }
.mc-edition-240 section.mc-example { padding: 34px 0; }
.mc-edition-240 section.mc-scope-section { padding: 28px 0 16px; }
.mc-edition-240 section.mc-related { padding: 30px 0 40px; }
.mc-edition-240 .mc-details .page-section-heading { margin-bottom: 20px; }
.mc-edition-240 .mc-related .related-grid > a { min-height: 270px; padding: 25px; }
.mc-edition-240 .mc-related .related-grid h3 { margin-top: 24px; }
.mc-edition-240 .page-hero { padding-block: 28px; }
.mc-edition-240 .page-hero-grid { min-height: 440px; padding-block: 32px; gap: clamp(28px,5vw,80px); }
.mc-home .field-visual > .mc-illustration-caption { bottom: 16px; left: 18px; right: 18px; color: #fff; z-index: 2; }
@media (max-width: 760px) {
  .mc-edition-240 .page-hero-grid { min-height: 0; padding-block: 26px; }
  .mc-edition-240 section.mc-overview { padding-top: 26px; }
  .mc-edition-240 .mc-related .related-grid > a { min-height: 240px; }
}
/* White economic-value cards must not inherit white text from the navy band. */
.mc-home .economic-teaser-section .value-driver-grid article { color: var(--navy, #0d304b); }
.mc-home .economic-teaser-section .value-driver-grid h3 { color: var(--navy, #0d304b); }
.mc-home .economic-teaser-section .value-driver-grid p { color: #435766; }
