/* Keep the service heroes' content rhythm consistent; abstract illustrations may be compressed. */
@media (min-width: 901px) {
  body.editorial-site[data-page="ma"] main#main .detail-hero-inner,
  body.editorial-site[data-page="ax-cx-support"] main#main .ep-hero-inner,
  body.editorial-site[data-page="bp"] main#main .ep-hero-inner {
    padding-block: 36px 56px;
  }
  body.editorial-site[data-page="ma"] main#main .ma-continuity-art,
  body.editorial-site[data-page="ax-cx-support"] main#main .ep-hero-art > img,
  body.editorial-site[data-page="bp"] main#main .ep-hero-art > img {
    height: 345px;
    object-fit: fill;
  }
}
body.editorial-site .ep-mobile-contact { display: none; }
@media (max-width: 900px) {
  body.editorial-site .ep-header { position: sticky; top: 0; height: 64px; }
  body.editorial-site .ep-header .header-inner { gap: 8px; width: calc(100% - 24px); }
  body.editorial-site .ep-header .brand { gap: 5px; margin-right: auto; }
  body.editorial-site .ep-header .brand-symbol { width: 34px; }
  body.editorial-site .ep-header .brand-name { font-size: 16px; }
  body.editorial-site .ep-header .brand-name span { font-size: 8px; margin-top: 2px; }
  body.editorial-site .ep-mobile-contact { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 11px; border-radius: 24px; background: var(--ep-action); color: #fff; font-size: 13px; font-weight: 700; white-space: nowrap; text-decoration: none; }
  body.editorial-site .ep-menu-toggle { min-width: 0; min-height: 44px; padding: 8px 10px; gap: 5px; font-size: 12px; }
  body.editorial-site .ep-primary-nav { top: 63px; max-height: calc(100dvh - 64px); }
  body.editorial-site main [id] { scroll-margin-top: 76px; }
}
@media (max-width: 760px) {
  body.editorial-site.service-explanation-page main#main .ep-service-chapter { padding-block: 30px; }
  body.editorial-site main#main :is(.ep-ma-perspectives,.ep-ma-stages,.ep-ma-preparation,.ep-ma-handover,.ep-ma-related-grid,.ep-learning-grid,.ep-learning-steps,.ep-cloud-example-flow,.ep-service-product-links,.ma-extra-grid,.edu-practice-grid) { gap: 16px; }
  body.editorial-site main#main :is(.ma-extra-grid article,.edu-practical) { padding: 20px; }
}
@media (max-width: 900px) {
  body.editorial-site .ep-header .ep-menu-toggle { flex: 0 0 auto; white-space: nowrap; }
}
@media (max-width: 360px) {
  body.editorial-site .ep-header .brand-symbol { width: 30px; }
  body.editorial-site .ep-header .brand-name { font-size: 14px; }
  body.editorial-site .ep-header .brand-name span { display: none; }
  body.editorial-site .ep-header .header-inner { gap: 5px; }
  body.editorial-site .ep-mobile-contact { padding-inline: 9px; }
}
