/* Information and behavior are checked separately before a CMS migration. */
body:has(> .emdash-migration) { padding-top: var(--header-h); }
.emdash-migration .rn-page-header { margin-top: 0; padding: 64px 0; }
.emdash-migration .rn-page-title { font-size: clamp(28px, 3vw, 42px); line-height: 1.5; }
.emdash-migration .rn-page-lead { font-size: 16px; max-width: none; }
.emdash-migration .rn-page-lead + .rn-page-lead { margin-top: 12px; }
.emdash-migration a:focus-visible { outline: 3px solid #0066cc; outline-offset: 5px; }
.emdash-migration [id] { scroll-margin-top: 108px; }
.em-hero { display: grid; grid-template-columns: 1.08fr 1fr; gap: 48px; align-items: center; }
.em-action { margin-top: 28px !important; }
.em-map { border: 1px solid #d9e1e9; background: #fff; }
.em-map-source { padding: 24px; background: #004d99; color: #fff; }
.em-map-source strong { display: block; font-size: 22px; margin-bottom: 6px; }
.em-map-source span { font-size: 14px; }
.em-map-branches { display: grid; grid-template-columns: 1fr 1fr; padding: 24px; gap: 24px; }
.em-map-branches > div + div { border-left: 1px solid #d9e1e9; padding-left: 24px; }
.em-map h2 { font-size: 18px; margin: 0 0 12px; }
.em-map p { font-size: 15px; line-height: 1.8; margin: 0; }
.em-map-branches span { display: block; margin-top: 12px; font-size: 13px; color: #004d99; }
.em-map-result { padding: 24px; background: #e9f2fb; }
.em-map-result strong { display: block; margin-bottom: 6px; }
.em-nav { display: flex; gap: 12px 28px; flex-wrap: wrap; padding-top: 24px; font-size: 14px; }
.em-section { padding: 72px 0; }
.em-alt { background: var(--c-bg-alt); }
.em-section h2 { font-size: clamp(23px, 2.6vw, 32px); line-height: 1.55; margin: 0 0 24px; text-wrap: balance; }
.em-section h3 { font-size: 19px; line-height: 1.6; margin: 0 0 12px; }
.em-section p { margin: 12px 0; }
.em-section ul { padding-left: 1.3em; }
.em-section li { margin: 8px 0; }
.em-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.em-three article { border-top: 3px solid #0066cc; padding-top: 20px; }
.em-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px; }
.em-inset { background: #e9f2fb; padding: 28px; }
.em-lead { color: var(--c-text-sub); margin-bottom: 32px !important; max-width: 900px; }
.em-note { font-size: 14px; color: var(--c-text-sub); }
.em-solutions { margin: 0; }
.em-solutions > div { display: grid; grid-template-columns: 280px 1fr; gap: 40px; border-top: 1px solid #d9e1e9; padding: 28px 0; }
.em-solutions dt { font-size: 18px; font-weight: 700; }
.em-solutions dd { margin: 0; }
.em-result { color: #004d99; font-weight: 700; }
.em-comparison { width: 100%; border-collapse: collapse; margin: 36px 0 24px; }
.em-comparison caption { text-align: left; font-weight: 700; font-size: 20px; margin-bottom: 16px; }
.em-comparison th, .em-comparison td { padding: 20px; text-align: left; vertical-align: top; border-bottom: 1px solid #d9e1e9; }
.em-comparison thead { background: #004d99; color: white; }
.em-comparison tbody th { width: 18%; background: #e9f2fb; }
.em-comparison td { width: 41%; }
.em-seo-list { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; }
.em-seo-list li { border-top: 2px solid #0066cc; padding-top: 20px; }
.em-process { counter-reset: stage; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; padding: 0; gap: 28px; }
.em-process li { counter-increment: stage; border-top: 2px solid #0066cc; padding-top: 16px; }
.em-process li::before { content: counter(stage); display: block; color: #0066cc; font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.em-process strong { display: block; font-size: 14px; color: #004d99; }
.em-cost-example { margin-top: 32px; padding-top: 24px; border-top: 1px solid #d9e1e9; }
@media (max-width: 1000px) { .em-hero { grid-template-columns: 1fr; gap: 32px; } .em-process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) {
  .emdash-migration .rn-page-header { padding: 40px 0; }
  .em-section { padding: 48px 0; }
  .em-three, .em-two, .em-seo-list, .em-process { grid-template-columns: 1fr; gap: 24px; }
  .em-solutions > div { grid-template-columns: 1fr; gap: 14px; }
  .em-map-branches { padding: 20px; gap: 16px; }
  .em-map-branches > div + div { padding-left: 16px; }
  .em-map h2 { font-size: 16px; }
  .em-map-source, .em-map-result, .em-inset { padding: 20px; }
  .em-comparison thead { display: none; }
  .em-comparison tr, .em-comparison tbody th, .em-comparison td { display: block; width: 100%; }
  .em-comparison td::before { content: attr(data-label); display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; color: #004d99; }
  .emdash-migration .rn-btn { max-width: 100%; white-space: normal; text-align: left; }
}
