/*
 * Global decorative-line cleanup.
 * Removes ornamental accent strokes and coloured edge strips while retaining
 * structural dividers, buttons, tables, process connectors and form controls.
 */

/* Short ornamental strokes generated with pseudo-elements. */
.eyebrow::before,
.proof-grid div::before,
.ambition-card > span::before,
.ambition-card::after,
.feature-card::before,
.why-grid article::after,
.why-page .reason-card::before,
.work-page .reason-card::before,
.insight-category-page .insight-card::before,
.secondary-page .decision-list article::before,
.market-kicker::before,
.market-page .market-route-step::before,
.market-page--singapore :is(.singapore-platform-head, .singapore-fit-head) > p::before,
.section-title::after,
.service-label::before,
.tree-branches article::before,
.approval-gates article::after,
.gb-service-toc a::before,
.country-guide-toc a::before,
.jurisdiction-reading-toc a::before,
.service-tabs button::after,
.page-index a::after {
  display: none !important;
  content: none !important;
}

/* Sequence labels that had been converted into short gold bars. */
.secondary-page :is(
  .arrival-runway,
  .critical-path,
  .insight-lenses,
  .priority-board,
  .deliverables-ledger,
  .application-pipeline,
  .sponsor-flow,
  .workforce-lifecycle,
  .property-pipeline,
  .pet-journey,
  .dependency-chain,
  .decision-gates,
  .evidence-stack,
  .first-week,
  .checkpoint-line
) article > :is(small, b, span),
.secondary-page .business-readiness-list > div > b,
.identity-detail .renewal-actions b {
  display: none !important;
}

.business-readiness-list > div {
  grid-template-columns: minmax(0, 1fr) auto !important;
}

.priority-board article,
.deliverables-ledger article,
.evidence-stack article {
  grid-template-columns: 1fr !important;
}

/* Gold top edges attached to images, visual panels and calls to action. */
.business-readiness,
.formation-hero-media,
.formation-destination,
.formation-documents-media,
.jurisdiction-evidence-media,
.insight-feature,
.page-cta-inner,
.contact-inner,
.market-page .market-page-cta .page-cta-inner,
.secondary-page .contact-brief-visual,
.relocation-country-card,
.country-tax-calendar,
.secondary-page.insight-article-page .article-callout,
.insight-category-page .insight-news-hero-side,
.enquiry-dialog,
.error-panel {
  border-top: 0 !important;
}

/* Card and reading-panel top accents become a quiet structural border. */
.why-page .about-proof article,
.work-page .reason-card,
.insight-category-page .insight-lenses article,
.country-service-card,
.business-detail :is(.decision-gates, .data-pipeline, .approval-gates, .application-pipeline, .workforce-lifecycle) article,
.business-detail .renewal-loop article,
.business-detail .reporting-dashboard,
.business-detail .employment-choice article,
.country-formation-facts-grid,
.country-formation-toc,
.country-formation-panel,
.country-guide-sidebar,
.gb-service-sidebar,
.gb-country-card,
.identity-evidence-grid article,
.identity-directory-page .related-grid > a,
.identity-detail :is(.sponsor-flow, .checkpoint-line, .permanent-bridge, .status-roadmap, .critical-path) article,
.insight-article-page .article-aside,
.secondary-page.insight-article-page .article-body,
.secondary-page.insight-article-page .article-body .article-note,
.secondary-page.insight-article-page .related-grid a,
.jurisdiction-brief-grid,
.jurisdiction-reading-sidebar,
.legal-index,
.relocation-country-page .country-guide-sidebar,
.relocation-detail-panel,
.relocation-detail :is(.dependency-chain, .arrival-runway, .property-pipeline, .school-calendar, .vehicle-lifecycle, .pet-journey) article,
.relocation-detail .mobility-choice article,
.destination-guide-links {
  border-top: 1px solid #d5e0e8 !important;
}

/* Multi-colour card strips are also flattened so no gold strip remains. */
.business-detail .branch-permission article,
.identity-detail :is(.family-sequence, .objective-lanes, .change-audit) article,
.relocation-detail :is(.briefing-tabs, .coverage-layers, .support-rhythm) article {
  border-top: 1px solid #d5e0e8 !important;
}

/* Coloured vertical card strips become neutral structural edges. */
.business-detail .workforce-scenarios article,
.identity-detail :is(.founder-evidence, .settlement-proof, .scenario-branches) article,
.relocation-detail :is(.care-plan, .account-access) article {
  border-left: 1px solid #d5e0e8 !important;
}

/* Standalone vertical accent rules. */
.work-hero-side,
.business-case blockquote,
.household-map-intro,
.country-formation-heading--split > p:last-child,
.country-tax-heading > p:last-child,
.insight-hero-side,
.insight-news-hero-side,
.news-list-heading > p,
.insight-category-gallery-head > p,
.secondary-page .decision-aside > p:not(.eyebrow) {
  padding-left: 0 !important;
  border-left: 0 !important;
}

.country-formation-heading--split > p:last-child,
.country-tax-heading > p:last-child,
.country-guide-article .country-formation-heading--split > p:last-child,
.country-guide-article .country-tax-heading > p:last-child,
.jurisdiction-reading-body :is(.jurisdiction-heading, .jurisdiction-market-head) > p {
  border-top: 0 !important;
}

.service-note,
.service-panel-intro,
.country-formation-callout,
.gb-service-note,
.identity-country-note,
.article-callout,
.country-insight-article .article-note,
.legal-copy .legal-date,
.relocation-lead-note,
.mega-group a.is-current {
  border-left: 0 !important;
}
