/* The existing feature-page Back link, shared by articles and documents. */
.site-back {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  color: var(--px-blue-dark, #0e57a6);
  font: 700 16px/1.5 "Manrope PalCont", "Segoe UI", Arial, sans-serif;
  text-decoration: none;
}
.site-back:hover { text-decoration: underline; }
.site-back:focus-visible { outline: 2px solid #1672d4; outline-offset: 4px; border-radius: 3px; }
/* Keep the existing Back control available throughout long pages. */
.site-back-bar {
  width: min(calc(100% - 36px), 1180px);
  margin: 0 auto;
  padding-bottom: 8px;
  text-align: start;
}
.site-back-bar .site-back { padding-inline: 4px; }
.palcont-express .site-back-bar { width: min(calc(100% - 64px), 1440px); }
.site-header-landing {
  position: sticky;
  top: 0;
  right: 0;
  left: 0;
  z-index: 40;
  display: flex;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 20px;
  background: #fff;
  border-bottom: 1px solid #e3e9ef;
}
.site-header-landing + .live-shell {
  min-height: calc(100vh - 60px);
  min-height: calc(100dvh - var(--site-header-height, 60px));
  padding-top: 24px;
}
@media (max-width: 1100px) {
  .palcont-express .site-back-bar { width: min(calc(100% - 40px), 920px); }
}
@media (max-width: 560px) {
  .palcont-express .site-back-bar { width: calc(100% - 28px); }
}
.site-back-row { margin-block: 0 12px; text-align: start; }
.site-back-row:last-child { margin-block: 24px 0; }
html[dir="rtl"] .site-back-arrow { transform: rotate(180deg); }
.document { padding-top: 24px; overflow-wrap: anywhere; }
.brand-mark { flex-shrink: 0; }
.footer-inner > * { min-width: 0; overflow-wrap: anywhere; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }

/* Without script, the section menu stays in the normal document flow. */
.feature-switcher { position: static; }
html[style*="--site-header-height"] .feature-switcher {
  position: sticky;
  top: var(--site-header-height);
}
:is(.express-hero, .express-welcome, .express-communications, .express-services,
    .express-technology, .express-platforms, .express-mission, .express-legal,
    .owner-introduction, .document [id], #content) {
  scroll-margin-top: calc(var(--site-header-height, 140px) + 16px) !important;
}
:is(.feature-group, .feature-screen) {
  scroll-margin-top: calc(var(--site-header-height, 140px) + var(--site-switcher-height, 0px) + 16px);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* The navigation menu reuses the language selector's disclosure pattern. */
.site-menu { display: none; }
.site-menu summary { list-style: none; cursor: pointer; }
.site-menu summary::-webkit-details-marker { display: none; }
.site-menu summary svg { width: 24px; height: 24px; }
.site-menu-options { background: #fff; border: 1px solid #dce5ed; border-radius: 12px; box-shadow: 0 12px 32px #173d641f; padding: 8px; z-index: 50; }
.site-menu-options a { display: block; padding: 11px 14px; min-height: 44px; color: #26394a; font-size: 15px; line-height: 1.5; text-decoration: none; }
.site-menu-options a:hover, .site-menu-options a:focus-visible { background: #eef6ff; color: #0e57a6; border-radius: 6px; }
.site-menu summary:focus-visible { outline: 2px solid #1672d4; outline-offset: 2px; }
.site-faq details, .download-help details { border-top: 1px solid #dce5ed; padding: 15px 0; }
.site-faq summary, .download-help summary, .document-toc summary { cursor: pointer; font-weight: 650; line-height: 1.6; }
.site-faq p, .download-help p { margin: 12px 0 0; line-height: 1.75; }
.site-faq { margin: 36px 0; }
.site-faq h2 { margin-bottom: 20px; }
.download-help { margin-top: 28px; max-width: 760px; }
.download-help ol { padding-inline-start: 24px; line-height: 1.8; }
.download-meta { display: block; color: #4d6478; font-size: 14px; margin-top: 6px; }
.document-toc { margin: 24px 0; padding: 16px 0; border-block: 1px solid #dce5ed; }
.document-toc ol { margin: 12px 0 0; line-height: 1.7; }
.document-toc a { text-underline-offset: 3px; }
.site-header .nav { position: relative; }
@media (max-width: 1100px) {
  .site-header .nav, .palcont-express .express-nav { width: calc(100% - 32px) !important; min-height: 68px !important; display: flex !important; flex-wrap: nowrap !important; gap: 10px !important; padding-block: 0 !important; }
  .site-header .nav > .nav-links, .site-header .nav > .nav-download { display: none !important; }
  .site-header .brand { flex: 1 1 auto; min-width: 0; margin: 0; order: 0; }
  .palcont-express .brand { width: auto !important; min-width: 0 !important; font-size: 20px; }
  .palcont-express .brand-icon { width: 44px !important; height: 44px !important; }
  .palcont-express .brand-name { font-size: 20px; }
  .palcont-express .brand-latin { font-size: 11px; }
  .site-menu { display: block; order: 1; flex: 0 0 40px; }
  .site-menu summary { display: flex; align-items: center; justify-content: center; width: 40px; height: 44px; border-radius: 8px; color: #244560; }
  .site-menu-options { position: absolute; top: calc(100% + 4px); inset-inline: 0; max-height: calc(100dvh - 96px); overflow-y: auto; }
  .site-header .site-language { order: 2; margin-left: 0; max-width: 150px; }
  .site-header .site-account { order: 3; flex-shrink: 0; }
  .site-header .site-language summary { min-width: 0; }
  .site-header .site-language summary > span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .site-back-bar { padding-block: 0 !important; }
}
@media (max-width: 560px) {
  .site-header .nav, .palcont-express .express-nav { gap: 4px !important; }
  .palcont-express .brand { gap: 6px; }
  .palcont-express .brand-icon { width: 36px !important; height: 36px !important; }
  .palcont-express .brand-name { font-size: 17px; }
  .palcont-express .brand-latin { font-size: 10px; letter-spacing: 1px; }
  .site-header .site-language { max-width: 92px; font-size: 13px; }
  .site-header .site-language summary { padding-inline: 5px; gap: 5px; max-width: 100%; }
  .site-header .site-account { width: 40px; min-width: 40px; height: 44px; }
  .site-header .site-language-options { right: 0; width: min(218px, calc(100vw - 32px)); }
}
@media (max-width: 360px) {
  .site-header .site-language { max-width: 75px; }
  .site-header .nav { gap: 2px !important; }
}
html[dir="rtl"] .site-menu-options { direction: rtl; text-align: right; }
