/* Shared maritime reading rhythm. Applied to long-form first-party copy only.
   Full justification is restricted to wide Latin-script reading columns:
   W3C warns that forcing it in narrow/mobile columns creates word-space rivers. */
:root{--mb-reading-max:76ch;--mb-reading-ink:#244b5b;--mb-reading-muted:#536f7c}
html{scroll-padding-top:105px}
main :where(p,li){overflow-wrap:break-word}
main :where(article,.mb-article-body,.mb-live-article,.mb-editorial-live,.mb-role-panel,.mb-geo-section,.mb-hiring-method,.mb-educational-scope) :where(p,li){
  line-height:1.76;
}
main :where(.mb-editorial-live,.mb-live-article,.mb-article-body,.article-body,.mb-lesson-body,.mb-manual-body,.mb-chapter-body,.mb-report-body,.mb-editorial-perspective) > p{
  max-width:var(--mb-reading-max);
}
main p.mb-reading-long{
  text-wrap:pretty;
  hyphens:auto;
  -webkit-hyphens:auto;
  overflow-wrap:break-word;
  orphans:2;
  widows:2;
}
@media (min-width:1000px) and (prefers-contrast:no-preference){
  html:is([lang="en"],[lang="es"],[lang="fr"],[lang="de"],[lang="it"],[lang="pt"]) main p.mb-reading-long:not(.mb-reading-exempt){
    text-align:justify;
    text-justify:inter-word;
    hyphenate-limit-chars:7 3 3;
  }
}
@media(max-width:999px),(prefers-contrast:more){
  main p.mb-reading-long{text-align:start;hyphens:manual;-webkit-hyphens:manual}
}
:where(.mb-hiring-method,.mb-role-note,.mb-geo-method,.mb-editorial-perspective,.mb-educational-scope) > p{
  margin-block:0 1.25rem;
}
:where(.mb-role-panel,.mb-geo-section,.mb-hiring-company,.mb-hiring-method,.mb-educational-scope) :where(p,li) a{
  text-decoration-thickness:1px;text-underline-offset:.14em
}
:where(.mb-role-panel,.mb-geo-section,.mb-hiring-company,.mb-hiring-method) :where(a,button,summary,select):focus-visible{
  outline:3px solid #1ca9aa;outline-offset:3px
}
:where(.mb-hiring-method,.mb-role-note,.mb-geo-method) details{
  border:1px solid #dce9e9;border-radius:13px;background:#f7fbfa;margin-top:16px;overflow:hidden
}
:where(.mb-hiring-method,.mb-role-note,.mb-geo-method) summary{
  cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;
  gap:12px;min-height:49px;padding:12px 17px;font-weight:800;color:#143e4e
}
:where(.mb-hiring-method,.mb-role-note,.mb-geo-method) summary::-webkit-details-marker{display:none}
:where(.mb-hiring-method,.mb-role-note,.mb-geo-method) summary:after{
  content:"+";font-size:22px;font-weight:500;line-height:1;color:#0b7d7d
}
:where(.mb-hiring-method,.mb-role-note,.mb-geo-method) details[open] summary:after{content:"−"}
:where(.mb-hiring-method,.mb-role-note,.mb-geo-method) details > :where(p,ul,ol){
  padding-inline:17px;margin:4px 0 18px
}
:where(.mb-hiring-method,.mb-role-note,.mb-geo-method) details[open] summary{
  border-bottom:1px solid #d7e7e8;margin-bottom:12px
}
:where(.mb-hiring-method,.mb-role-note,.mb-geo-method) details summary:hover{background:#e9f5f4}
@media(max-width:690px){
  main :where(p,li){line-height:1.68}
  :where(.mb-hiring-method,.mb-role-note,.mb-geo-method) details{border-radius:11px}
  :where(.mb-hiring-method,.mb-role-note,.mb-geo-method) summary{padding:12px 14px}
}
/* Prevent inadvertent section overlap at 200% zoom and on localized strings. */
:where(.mb-role-columns,.mb-role-category-grid,.mb-geo-directory-grid,.mb-hiring-grid,.mb-sea-list)>*{min-width:0}
:where(.mb-hiring-brand,.mb-role-panel h2,.mb-geo-section h2,.mb-hiring-company h3){overflow-wrap:break-word}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
