.site-header { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; position: relative; z-index: 5; padding: 12px 32px; border-bottom: 1px solid #dbe5e0; }
.site-header .brand { font-size: 19px; }
.site-header .brand small { font-size: 10px; }
.site-header .main-nav { justify-content: center; gap: 24px; }
.main-nav a { position: relative; white-space: nowrap; }
.main-nav a[aria-current="page"] { color: #087767; }
.main-nav a[aria-current="page"]::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: #087767; }
.site-actions { display: flex; gap: 8px; align-items: center; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 40px; width: 40px; height: 44px; padding: 0; border: 1px solid transparent; border-radius: 5px; color: #19483e; background: transparent; }
.icon-button:hover { background: #e9f3ee; border-color: #cedfd5; }
.icon-button svg, .inline-icon { width: 20px; height: 20px; flex: 0 0 20px; }
.icon-button[aria-current="page"] { background: #d9eee4; }
.site-actions .locale-picker { margin-inline-start: 8px; }
.locale-picker select { width: 156px; }
#menu-toggle { display: none; }
.global-footer { display: block; padding-block: 48px 20px; background: #fff; border-top: 1px solid #d9e4de; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.footer-grid h2 { font-size: 12px; text-transform: uppercase; color: #60796b; margin-bottom: 14px; }
.footer-grid nav { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0; max-width: none; }
.footer-grid nav a { min-height: 36px; font-size: 13px; }
.footer-brand p { max-width: 240px; font-size: 13px; line-height: 1.6; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 36px; padding-top: 18px; border-top: 1px solid #dce5df; color: #62776f; font-size: 12px; }
.footer-bottom p { margin: 0; }
.footer-bottom small { font-size: 11px; }
.english-note, #page-runtime-status { margin: 16px auto; padding: 10px 14px; border-inline-start: 3px solid #9d7a2c; background: #f3f0e4; font-size: 13px; color: #4d4731; line-height: 1.5; }
[hidden] { display: none !important; }
.book > span { color: #536d60; }
.locale-picker select { border-color: #6e907d; }
[dir="rtl"] [data-icon="ArrowRight"] { transform: scaleX(-1); }
@media (min-width: 901px) and (max-width: 1100px) { .site-header { gap: 16px; padding-inline: 24px; } .site-header .main-nav { gap: 14px; } .site-header .brand { font-size: 17px; } .site-header .main-nav a { font-size: 12px; } .locale-picker select { width: 128px; } }
@media (max-width: 900px) {
  .site-header { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 44px 44px; gap: 4px 12px; padding: 10px 14px; min-height: 112px; }
  .site-header .brand { grid-column: 1; grid-row: 1; font-size: 15px; }
  .site-header .brand-mark { width: 25px; height: 28px; border-width: 4px; }
  .site-header .brand small { font-size: 10px; }
  .site-actions { display: contents; }
  .site-action-buttons { display: flex; grid-column: 2; grid-row: 1; gap: 4px; }
  .site-actions .locale-picker { grid-column: 2; grid-row: 2; margin: 0; }
  #menu-toggle { display: inline-flex; grid-column: 1; grid-row: 2; width: fit-content; min-width: 44px; gap: 8px; padding-inline: 8px 14px; font-size: 13px; }
  .site-header[data-menu-open] nav.main-nav { display: none; grid-column: 1 / -1; grid-row: 3; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; border-top: 1px solid #d9e4de; padding: 12px 0 6px; }
  .site-header .main-nav a { min-height: 46px; padding-inline: 12px; font-size: 15px; }
  .site-header[data-menu-open="true"] { grid-template-rows: 44px 44px auto; }
  .site-header[data-menu-open="true"] nav.main-nav { display: flex; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 16px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid h2 { font-size: 11px; }
  .footer-grid nav a { font-size: 12px; overflow-wrap: anywhere; }
}
@media (max-width: 360px) { .site-header .brand-mark { display: none; } .site-header .brand { gap: 0; } .locale-picker select { width: 146px; } }
@media (forced-colors: active) { .main-nav a[aria-current="page"]::after { background: Highlight; } .icon-button { border-color: ButtonText; } }
